1
0
forked from 0ad/0ad
0ad/source/lib
janwas 36cbf23c8e v2 of file/res code for thesis:
previous zip.* split up into archive, zip and compression. add O(1)
lookup via memento. add support for writing Zip archive. simplify IO by
having compression module allow queuing input buffers.

file: split up into file, file_Io, file_cache. add atom_fn that enables
string comparison via pointer compare. (stores all filenames/paths in
one place). add statistics gathering.
file_cache: landlord algorithm for caching files as well as LRU block
cache.
file_io: aio code that splits transfers into blocks revamped and made
into class.

vfs: filelist/trace code moved into new vfs_optimizer. add caching logic
to vfs_load.
vfs_optimizer: will generate zip archive (to replace current archive
builder script). not yet done
vfs_tree: major cleanup - now has nice base class rather than union
hackery.

This was SVN commit r3420.
2006-01-23 20:05:09 +00:00
..
res v2 of file/res code for thesis: 2006-01-23 20:05:09 +00:00
sysdep wdbg: fix FOURCC usage (fixes exception locus reporting) 2006-01-23 08:02:08 +00:00
adts.cpp adts.cpp: remove DynArray, which was an array of pages. (obsoleted by DynArray/Pool allocators) 2006-01-23 07:59:20 +00:00
adts.h Fixed a compile error (on gcc-3.3 at least): the code in adts.h used 2006-01-23 10:35:24 +00:00
allocators.cpp adts.cpp: remove DynArray, which was an array of pages. (obsoleted by DynArray/Pool allocators) 2006-01-23 07:59:20 +00:00
allocators.h adts.cpp: remove DynArray, which was an array of pages. (obsoleted by DynArray/Pool allocators) 2006-01-23 07:59:20 +00:00
app_hooks.cpp app_hooks.cpp: Remove "inline" from ah_xyz functions (gcc doesn't export 2005-10-24 01:43:37 +00:00
app_hooks.h - massive overhaul of lib error code returning. int -> LibError everywhere. 2005-12-11 22:23:55 +00:00
byte_order.cpp Lots of gcc -Wall fixes. The common ones: 2005-10-07 15:24:29 +00:00
byte_order.h allocator: add single_calloc (generalization of code previously in wposix for WDIR); add da_reserve; expand pool allocator to allow variable size entries 2005-12-28 20:29:22 +00:00
config.h adts.cpp: remove DynArray, which was an array of pages. (obsoleted by DynArray/Pool allocators) 2006-01-23 07:59:20 +00:00
debug_stl.cpp - massive overhaul of lib error code returning. int -> LibError everywhere. 2005-12-11 22:23:55 +00:00
debug_stl.h - massive overhaul of lib error code returning. int -> LibError everywhere. 2005-12-11 22:23:55 +00:00
debug.cpp - display_msg and display_error -> debug prefix since in debug header 2005-12-12 19:19:30 +00:00
debug.h Lots of fixes for the Linux build: 2005-12-17 22:00:54 +00:00
detect.cpp - massive overhaul of lib error code returning. int -> LibError everywhere. 2005-12-11 22:23:55 +00:00
detect.h hopefully fixed bug #57 (limit on version info length was too low). while at it, made cpu_type's length externally visible; split sound stuff into sysdep/snd.h (as with gfx, cpu, mem) and in general cleaned up a bit. 2005-04-19 17:07:05 +00:00
glext_funcs.h All pglXYZ functions should be available everywhere (independent of system 2005-12-18 02:04:24 +00:00
input.cpp - massive overhaul of lib error code returning. int -> LibError everywhere. 2005-12-11 22:23:55 +00:00
input.h - massive overhaul of lib error code returning. int -> LibError everywhere. 2005-12-11 22:23:55 +00:00
lf_alloc.cpp - config: all macros are defined as 1 / 0. testing with #if allows compiler warnings (testing undefined macro) to spot misspelled macros 2005-08-09 16:23:19 +00:00
lib_errors.cpp - display_msg and display_error -> debug prefix since in debug header 2005-12-12 19:19:30 +00:00
lib_errors.h adts.cpp: remove DynArray, which was an array of pages. (obsoleted by DynArray/Pool allocators) 2006-01-23 07:59:20 +00:00
lib.cpp adts.cpp: remove DynArray, which was an array of pages. (obsoleted by DynArray/Pool allocators) 2006-01-23 07:59:20 +00:00
lib.h adts.cpp: remove DynArray, which was an array of pages. (obsoleted by DynArray/Pool allocators) 2006-01-23 07:59:20 +00:00
lockfree.cpp - massive overhaul of lib error code returning. int -> LibError everywhere. 2005-12-11 22:23:55 +00:00
lockfree.h - massive overhaul of lib error code returning. int -> LibError everywhere. 2005-12-11 22:23:55 +00:00
mmgr.cpp - massive overhaul of lib error code returning. int -> LibError everywhere. 2005-12-11 22:23:55 +00:00
mmgr.h remove key- and mouse-state-clear code (previously called after alt+tab out). wsdl now takes care of this: by maintaining its own key array+sending up events for all currently down keys; and by capturing the mouse on each click. 2005-10-31 01:15:49 +00:00
nommgr.h - split up lib/res into file, graphics and sound. 2005-08-12 17:06:53 +00:00
ogl.cpp Some Linux compile fixes over the place. 2006-01-07 01:04:26 +00:00
ogl.h - massive overhaul of lib error code returning. int -> LibError everywhere. 2005-12-11 22:23:55 +00:00
posix_types.h - config: all macros are defined as 1 / 0. testing with #if allows compiler warnings (testing undefined macro) to spot misspelled macros 2005-08-09 16:23:19 +00:00
posix.h Linux/GCC Compat, added some includes, ported inline assembly stuff to gnu syntax (and misc. cleanup in ia32.cpp) 2005-09-12 23:37:52 +00:00
precompiled.cpp Linux/GCC compat, a few newlines at end of file, minor changes 2004-06-02 15:31:55 +00:00
precompiled.h Linux/GCC Compat, added some includes, ported inline assembly stuff to gnu syntax (and misc. cleanup in ia32.cpp) 2005-09-12 23:37:52 +00:00
sdl.h sdl: remove complicated mouse button check/workaround; that's now done in Interact.cpp (which makes the assumptions being tested) 2005-10-24 00:06:08 +00:00
self_test.cpp - massive overhaul of lib error code returning. int -> LibError everywhere. 2005-12-11 22:23:55 +00:00
self_test.h - self test: rename stuff to SELF_TEST*; add provision for delayed all-at-once self tests (allows for init before the test and makes measuring elapsed time easier) 2005-12-07 03:38:39 +00:00
string_s.cpp - self test: rename stuff to SELF_TEST*; add provision for delayed all-at-once self tests (allows for init before the test and makes measuring elapsed time easier) 2005-12-07 03:38:39 +00:00
string_s.h comments/cosmetics; 2005-09-27 15:20:56 +00:00
timer.cpp snd: support for fading (variable initial/final values and lengths; can choose linear,exponential or S-curve). also minor improvements. 2005-12-13 23:17:50 +00:00
timer.h snd: support for fading (variable initial/final values and lengths; can choose linear,exponential or S-curve). also minor improvements. 2005-12-13 23:17:50 +00:00
types.h adts.cpp: remove DynArray, which was an array of pages. (obsoleted by DynArray/Pool allocators) 2006-01-23 07:59:20 +00:00
wstring_s.cpp implementation of secure CRT string functions 2005-02-28 15:27:04 +00:00