1
0
forked from 0ad/0ad
0ad/source
janwas 1227cb2f6d adts: add RingBuf self-test. RingBuf: make entry#0 the 'head' and pop_front a no-op if empty.
allocators: allow pool_create at NLSO ctor time
lib: add rand() function based on libc rand and self-test. (this allows
easily returning a random number within a range, and avoids a number of
pitfalls - the naive rand()%range approach is baaad)
precompiled: add self_test.h, so that self tests won't be accidentally
disabled by forgetting to include the header

file_cache: add self-test; fixed 2 bugs that exposed (was incorrectly
splitting large blocks and not setting class_size bit properly). fix
weird corner case in BlockMgr (attempting to free LRU block but it is
locked).

file_io, wdbg_sym: tiny fixes

This was SVN commit r3461.
2006-02-03 04:02:53 +00:00
..
graphics allocators: bugfix (wasn't setting freelist to 0) 2006-01-31 03:47:52 +00:00
gui minor warning fixes: struct vs. class forward decl; size_t vs uint 2006-01-29 18:38:40 +00:00
i18n Linux compat changes, fix for (really old) bug in VertexBufferManager shutdown, GUI header reorganization for gcc 4.0 2006-01-29 18:23:47 +00:00
lib 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
maths -CinemaTrack-refined 2006-01-29 23:25:04 +00:00
ps adts: optimize landlord algorithm at advisor's request (only relevant if we have tons of files in cache) 2006-02-02 04:11:07 +00:00
renderer minor warning fixes: struct vs. class forward decl; size_t vs uint 2006-01-29 18:38:40 +00:00
scripting Linux compat changes, fix for (really old) bug in VertexBufferManager shutdown, GUI header reorganization for gcc 4.0 2006-01-29 18:23:47 +00:00
simulation ConfigDB.cpp: fix vfs_load return value check 2006-01-28 22:21:54 +00:00
sound - 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
tools Preliminary version of player selection for Atlas. You can press any key 0-8 while the place object tool is active to place an object for that player, though the preview object will always be shown in white (Gaia) until I can figure out how to cleanly update its colour. 2006-01-29 23:38:19 +00:00
main.cpp - 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
ProgrammingSchedule.xls gave it a once-over, marked 1 as complete 2005-05-09 16:30:01 +00:00