0ad/source/lib/res/file
janwas bc07b9ff0a file code v2 is now feature complete and works.
- adts: add basic benchmark to self-test; use fminf instead of MIN; fix
overly pessimistic invalidation in Landlord_Cached
- allocators: no longer complain if DynArray is full
- lib: warn if rand() min=max
- archive: bugfixes: plug leak, correctly handle 0-length files, carry
over flags when reading uncompressed file from archive
- file: expose file_get_sorted_dirents and implement file_enum in terms
of that
- file_cache: many bugfixes (especially related to CacheAllocator
freelist)
- vfs_optimizer: finish implementation of archive builder
- zip: correctly handle 0-length files
- tex: add tex_is_known_extension
- sysdep: add efficient fminf implementation (assumes P6+)

- config: update archive builder call site
- gamesetup: add call for delayed self tests
- entity: return JSVAL_VOID as per philip's suggestion

This was SVN commit r3553.
2006-02-23 07:55:32 +00:00
..
archive.cpp file code v2 is now feature complete and works. 2006-02-23 07:55:32 +00:00
archive.h adts: add LL_OPT_* defines that enable optimizations (some only make sense if there are tons of files, and need to be able to disable them for thesis). realized this would be perfect application of policy template classes, which will replace this. 2006-02-11 22:49:09 +00:00
compression.cpp adts: add LL_OPT_* defines that enable optimizations (some only make sense if there are tons of files, and need to be able to disable them for thesis). realized this would be perfect application of policy template classes, which will replace this. 2006-02-11 22:49:09 +00:00
compression.h adts: add LL_OPT_* defines that enable optimizations (some only make sense if there are tons of files, and need to be able to disable them for thesis). realized this would be perfect application of policy template classes, which will replace this. 2006-02-11 22:49:09 +00:00
file_cache.cpp file code v2 is now feature complete and works. 2006-02-23 07:55:32 +00:00
file_cache.h adts: remove_least_valuable safely handles empty cache 2006-02-09 05:59:33 +00:00
file_internal.h Cache: implement meat of landlord algorithm and add remove() 2006-01-28 22:19:42 +00:00
file_io.cpp adts: add RingBuf self-test. RingBuf: make entry#0 the 'head' and pop_front a no-op if empty. 2006-02-03 04:02:53 +00:00
file_io.h Cache: implement meat of landlord algorithm and add remove() 2006-01-28 22:19:42 +00:00
file_stats.cpp file_cache: add refcounting to ExtantBufMgr (required for correctness) 2006-02-04 23:32:01 +00:00
file_stats.h file_cache: add refcounting to ExtantBufMgr (required for correctness) 2006-02-04 23:32:01 +00:00
file.cpp file code v2 is now feature complete and works. 2006-02-23 07:55:32 +00:00
file.h file code v2 is now feature complete and works. 2006-02-23 07:55:32 +00:00
vfs_mount.cpp adts: remove_least_valuable safely handles empty cache 2006-02-09 05:59:33 +00:00
vfs_mount.h v2 of file/res code for thesis: 2006-01-23 20:05:09 +00:00
vfs_optimizer.cpp file code v2 is now feature complete and works. 2006-02-23 07:55:32 +00:00
vfs_optimizer.h file code v2 is now feature complete and works. 2006-02-23 07:55:32 +00:00
vfs_path.cpp allocators: bugfix (wasn't setting freelist to 0) 2006-01-31 03:47:52 +00:00
vfs_path.h allocators: bugfix (wasn't setting freelist to 0) 2006-01-31 03:47:52 +00:00
vfs_tree.cpp fix crash that happened after editing file while game is running. vfs_tree's tree_root object was being destroyed but not recreated when rebuilding the VFs tree. fixed that as well as correctly freeing all TNode memory upon rebuild. 2006-02-02 05:20:33 +00:00
vfs_tree.h allocators: bugfix (wasn't setting freelist to 0) 2006-01-31 03:47:52 +00:00
vfs.cpp file code v2 is now feature complete and works. 2006-02-23 07:55:32 +00:00
vfs.h - vfs_load now returns error code and takes FileIOBuf; that must be freed via file_buf_free. if Handle is needed, use mem_wrap. 2006-01-24 08:16:29 +00:00
zip.cpp file code v2 is now feature complete and works. 2006-02-23 07:55:32 +00:00
zip.h debug: remove old prototype 2006-02-15 03:03:17 +00:00