e632c0ff1d
zip: fix overrun when reading uncompressed data: truncate to output buffer size
...
vfs: fix archive file add routine: wasn't starting at mount point,
didn't handle files in archive root dir correctly
tex: add tex_is_known_fmt
lib: add ERR_TIMED_OUT
This was SVN commit r1693.
2005-01-10 13:42:10 +00:00
46f5c61179
Linux/GCC/glibc Compat
...
This was SVN commit r1532.
2004-12-18 23:30:28 +00:00
bb2de67c31
fixed incorrect handling of extra fields
...
(zip archives with extended file attributes failed to load)
improved z_extract_cdfh/z_enum_files.
This was SVN commit r1527.
2004-12-18 14:45:04 +00:00
d8ae8a524c
Fixed something that looked like a potential bug
...
This was SVN commit r1515.
2004-12-16 15:15:24 +00:00
9d317d8164
1) removed scaffolding from file
...
2) VFS: add path_copy convenience routine
3) various lib code: removed unnecessary const cluttering things (like
const char* _const_ name in param list)
This was SVN commit r1483.
2004-12-09 23:12:02 +00:00
e15562b7ae
1) file: clean up path conversion call sites (was using private routine)
...
2) all: change file_enum and cohorts to pass struct stat instead of just
size
3) minor cleanup
This was SVN commit r1465.
2004-12-07 01:19:10 +00:00
f1dac9c626
better error handling: lots of little changes.
...
added some error codes, tried to eliminate unspecific return -1 where
it made sense.
This was SVN commit r1436.
2004-12-01 21:37:01 +00:00
b2ba38e7a4
define ZLIB_DLL before zlib.h
...
This was SVN commit r1374.
2004-11-22 00:17:37 +00:00
f66de9d098
log when files are opened (used to arrange files in zip archive)
...
also added mtime to *_stat calls for XMB (check date instead of
checksum)
This was SVN commit r1288.
2004-11-07 23:00:32 +00:00
df1b502bbd
Linux Compat and some updated PARANOIA code
...
This was SVN commit r1189.
2004-09-22 15:20:58 +00:00
5db49638cf
worked on partial zip reads. also changed to bring in line with file/vfs for slightly changed streaming interface
...
This was SVN commit r1160.
2004-09-19 15:49:46 +00:00
1aae7dcead
more dox!
...
also found problem with partial reads from zip; not important since all
files are currently loaded in one go, but will attack tomorrow.
This was SVN commit r1065.
2004-08-27 00:33:20 +00:00
13e5f5dc11
underwent review, armor-plating and documentation. "finished" (i hope) except for one last outstanding issue:
...
special-casing uncompressed files in archive. the impl is hackish ATM,
and requires further work on the file_io cache.
This was SVN commit r1050.
2004-08-24 17:29:54 +00:00
59fd28fc93
GCC fixes: made zip_archive_open/close not inline
...
This was SVN commit r1033.
2004-08-21 12:54:25 +00:00
e2970992fd
fix FileIO type; also new transfer mode for uncompressed files that allows using the file cache (HACK!)
...
This was SVN commit r1016.
2004-08-18 02:11:50 +00:00
8e823492b5
better names for inf_* routines
...
This was SVN commit r1003.
2004-08-16 13:20:53 +00:00
5ff6c98c95
bugfix in IO callback (was incorrectly reporting # bytes read); async routines now fill a control block, instead of returning a handle (that's now done by VFS)
...
This was SVN commit r997.
2004-08-15 21:47:32 +00:00
0b452320ef
add callback for sync I/O (useful for reporting progress)
...
This was SVN commit r978.
2004-08-12 15:51:31 +00:00
c5701c8299
add higher-level dox, fix some bugs, made case-insensitive
...
This was SVN commit r973.
2004-08-11 20:21:42 +00:00
59231be9a7
massive cleanup, commenting, hardening, bugfixes => mostly works :)
...
This was SVN commit r955.
2004-08-10 15:56:04 +00:00
0b3361b6f5
several bugfixes for loading from Zip (currently broken)
...
This was SVN commit r950.
2004-08-09 16:46:57 +00:00
abfe9faadc
New zlib/libpng libraries
...
This was SVN commit r942.
2004-08-08 18:50:44 +00:00
30553628ab
remove dead code
...
This was SVN commit r875.
2004-08-01 20:23:11 +00:00
a060a65a95
attempt to get Zip archives working (problem with directory traverse in VFS). not quite there yet
...
This was SVN commit r867.
2004-07-31 19:36:06 +00:00
2c23606c31
hook up aio; cleanup; commenting
...
This was SVN commit r850.
2004-07-31 11:03:17 +00:00
306053c994
bring read interface into line with vfs_io (value-return buffer param)
...
This was SVN commit r670.
2004-07-09 02:14:21 +00:00
ddd7821425
res reload callback interface change: now also receives handle of object being reloaded. simplifies tex reload code
...
This was SVN commit r602.
2004-06-25 22:19:19 +00:00
15ca5cbf21
newline stomper and fixed warnings
...
This was SVN commit r473.
2004-06-11 02:14:18 +00:00
2dcb0d8056
more header fixes
...
This was SVN commit r401.
2004-06-04 17:47:12 +00:00
0dc6007fbd
(re)added headers so it'll work without HAVE_PCH
...
This was SVN commit r396.
2004-06-04 12:41:53 +00:00
0b3d0c9e5c
small interface changes to bring in line with vfs and file
...
This was SVN commit r386.
2004-06-03 13:57:36 +00:00
2d51e32878
some bulletproofing; completed+documented mmap
...
This was SVN commit r373.
2004-06-03 00:17:24 +00:00
af3949ab7a
updated file mapping (was partially unimplemented)
...
This was SVN commit r371.
2004-06-02 20:41:05 +00:00
9aacf9b4bf
no message
...
This was SVN commit r275.
2004-05-27 00:29:54 +00:00
0c8ea18853
upgrade to new libpng and zlib (see announcements thread)
...
This was SVN commit r270.
2004-05-26 19:28:42 +00:00
34c3c12934
fixes for VC6 build problems reported by Stu.
...
This was SVN commit r239.
2004-05-18 00:38:39 +00:00
d1036b9a18
VFS updates; texture reloading now works, tex.cpp is WIP
...
This was SVN commit r223.
2004-05-13 13:52:48 +00:00
f383cfd4a8
fix for vc7 (incomplete type in container). also some updates to vfs
...
This was SVN commit r221.
2004-05-08 01:11:51 +00:00
5b5726ed4d
merge of (work in progress) VFS code with new dir layout
...
This was SVN commit r216.
2004-05-06 17:14:30 +00:00
5aa404a8f2
no message
...
This was SVN commit r174.
2004-03-05 16:23:31 +00:00
a470253b0b
big merge goes linux! ; )
...
This was SVN commit r171.
2004-03-04 20:36:31 +00:00
a8d448ad19
no message
...
This was SVN commit r167.
2004-03-03 15:16:20 +00:00
89c5b0d88c
the big merge (tm). see forum post for changes made.
...
This was SVN commit r158.
2004-03-02 23:56:51 +00:00