bdf84e769c
WIP. significant improvements+cleanup. work continues on stack trace - still fails under some conditions in release builds.
...
This was SVN commit r2358.
2005-05-30 06:11:10 +00:00
e2552b8341
debug.cpp: bugfix in cat_atow
...
lib: add EXTERN_C
win: move get_module_filename here, add to sysdep
wdll: use EXTERN_C
This was SVN commit r2356.
2005-05-30 04:51:47 +00:00
f0cbe8e440
fix several shortcomings noted in the stack trace code. now handles pointers much better; all-round better parsing+formatting and more robust.
...
also moved some utility functions to lib.cpp
This was SVN commit r2352.
2005-05-27 04:40:29 +00:00
7179bd893e
debug: fix crashlog output (now platform-independent newlines; BOM written correctly)
...
wdbg: major improvements to exception handler. now catches and displays
C++ exceptions (no small feat). also fixed a few bugs in stack trace;
minor improvements elsewhere.
This was SVN commit r2346.
2005-05-24 07:11:17 +00:00
641806cc22
zip, lockfree: minor comments
...
debug.*: move crashlog write code here
wdbg: improvements to breakpoint code. major cleanup in exception
handler; de-hackified. mostly done, not yet stress-tested when not
running in debugger
This was SVN commit r2333.
2005-05-22 22:32:58 +00:00
d0f7cb015c
- Linux/GCC (as usual :P)
...
- Ported lockless code to gcc inline assembly
- A few new net messages (gather, attack, add waypoint)
- Support for new messages in network->entity order converter
- Implemented rudimentary JS interface for Interaction
- issueCommand JS API, connected to the network
- Removed Interaction stuff now replaced by JS
- And something in there should probably break VS builds :P
This was SVN commit r2316.
2005-05-18 05:32:09 +00:00
e4d1454fd8
slight revisions to comments.
...
breakpoint code looks to work, but self-test isn't yet complete.
This was SVN commit r2290.
2005-05-12 02:58:40 +00:00
add0a0aa94
give symbolic names to assert return val
...
wdbg: breakpoint code now compiles, untested
This was SVN commit r2288.
2005-05-11 22:49:01 +00:00
f911bdc4b1
move debug_microlog to debug.cpp, call it debug_wprintf_mem. move MICROLOG define to pyrogenesis.h.
...
major cleanup+documenting in debug.h; added breakpoint interface.
sysdep: moved debug_out definition to udbg.cpp
This was SVN commit r2287.
2005-05-11 22:44:20 +00:00
758251edfd
further debug_out -> debug_printf; (comment) cleanup
...
ogl_tex: minor formatting improvements
This was SVN commit r2286.
2005-05-11 22:40:19 +00:00
fd4eb91e93
debug_out -> debug_printf; MICROLOG moved to ps/Pyrogenesis.h
...
This was SVN commit r2285.
2005-05-11 18:56:30 +00:00
5821ebb629
Tidied up a bit more
...
This was SVN commit r2283.
2005-05-11 05:26:24 +00:00
6034821b4a
Slightly more readable enum naming in mipmap code
...
This was SVN commit r2282.
2005-05-11 04:56:05 +00:00
0e4624397a
breakpoint WIP
...
This was SVN commit r2280.
2005-05-11 04:37:05 +00:00
b8532df921
wcpu: improve comments and fix CONTEXT bug in profiler
...
win_internal(+wtime): better names for critical sections (now name of
file)
This was SVN commit r2279.
2005-05-11 04:35:21 +00:00
1436e919c1
Support reading DDS files with mipmaps
...
This was SVN commit r2273.
2005-05-10 18:29:18 +00:00
34352b77af
EntityManager.cpp: safety improvements
...
mmgr: consistent prefix naming
lockfree: split out lock free allocator
This was SVN commit r2260.
2005-05-09 04:41:35 +00:00
d1a66c93b0
fix bug: was calling HeapSetInformation directly, not through function pointer
...
This was SVN commit r2250.
2005-05-06 20:14:40 +00:00
216eb8d2fe
fix rare corner case where filter would be reset to GL_LINEAR. thanks, Philip!
...
This was SVN commit r2240.
2005-05-04 22:03:00 +00:00
bb01b7733c
disable self test for now, since Wijit's dual CPU box is having problems (bug #59 )
...
This was SVN commit r2227.
2005-05-03 16:12:04 +00:00
1b202fb0ea
lockfree: very rough beginnings of lockfree allocator
...
wpthread: no longer include lockfree.h (required functions are now in
sysdep/cpu.h)
This was SVN commit r2223.
2005-05-12 17:18:32 +00:00
c65d966112
moved lock-free primitive (CAS) here; add support functions (memory barrier and instruction serialization)
...
lib: speed up round_up by requiring alignment to be a power of 2
This was SVN commit r2221.
2005-05-03 05:05:16 +00:00
MarkT
db168702df
Jason's animation events. Also reworked entity-types system.
...
This was SVN commit r2209.
2005-05-01 19:09:13 +00:00
4566893042
add include guards; reflect lockfree.h rename
...
This was SVN commit r2184.
2005-04-27 16:16:52 +00:00
0a462622a6
rename to lockfree.*
...
This was SVN commit r2183.
2005-04-27 16:16:18 +00:00
d91d5a2180
add high level dox
...
This was SVN commit r2182.
2005-04-27 16:06:05 +00:00
d8f05aee4b
implement hash table object; expand test to include that; change all "key"s to uintptr_t
...
This was SVN commit r2177.
2005-04-26 20:51:43 +00:00
ad6c6c5ca3
major improvements -> LFlist is now production quality. exposed lfl interface.
...
added multithreaded torture test. revamped shutdown.
This was SVN commit r2173.
2005-04-26 16:51:42 +00:00
7e23a43249
improved self-test as in lockless.cpp
...
This was SVN commit r2172.
2005-04-26 16:49:45 +00:00
c5af0c43d9
wposix_types: better standards conformance
...
wpthread: fix bugs in tls_call_dtors and pthread_create; minor
improvements
This was SVN commit r2171.
2005-04-26 16:49:09 +00:00
1f237be66b
add rand_up_to
...
This was SVN commit r2170.
2005-04-26 16:47:48 +00:00
08921f56b4
Moved icon, so that compilation doesn't depend on anything in 'binaries'
...
This was SVN commit r2155.
2005-04-20 20:18:20 +00:00
550bbec3d0
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.
...
This was SVN commit r2151.
2005-04-19 17:07:05 +00:00
c5bb56507e
disable (failing) test
...
This was SVN commit r2128.
2005-04-13 04:55:42 +00:00
5d541e664a
WIP; fixed compile error; armor-plated and started documenting list functions
...
This was SVN commit r2127.
2005-04-13 04:41:33 +00:00
82d2b7e49f
initial lockless data structures - incomplete and not fully tested
...
This was SVN commit r2126.
2005-04-12 01:08:39 +00:00
c179210519
pthread: add pthread_once and thread-local storage
...
This was SVN commit r2123.
2005-04-09 22:26:48 +00:00
9fd08fb044
vfs_tree: revise hash table implementation to make it reusable (not yet finished)
...
This was SVN commit r2122.
2005-04-09 22:25:23 +00:00
479f59e386
adts, lib: add some minor comments
...
This was SVN commit r2121.
2005-04-09 22:24:08 +00:00
6a0b5fa0ab
ScEd: Added unit deletion. Made zoom less frustrating. Let >2 players work.
...
Fixed random actor props.
This was SVN commit r2109.
2005-04-03 05:02:00 +00:00
9d139926c9
file: provide FILE_TEXT flag that enables newline translation - useful when outputting XML files, so notepad doesn't see "\n" (which it can't handle)
...
vfs: no longer watch dirs when mounting - need to pass flag. allows
turning this off for screenshots dir (where hotloading doesn't make
sense)
vfs_tree: expand hash table when 3/4 full; 1/2 was quite wasteful.
main: do CPU init early, so timing during init can use TSCmain: do CPU
init early, so timing during init can use TSC
This was SVN commit r2098.
2005-04-29 13:17:17 +00:00
dfb576c563
wposix: seriously speed up mounting by removing hand-brake (i.e. checking file system name in every stat() ) call. thanks to philip for reporting the problem!
...
This was SVN commit r2097.
2005-03-30 23:49:50 +00:00
e86001f45e
- file bugfix: truncate when opening for writing (problem reported by philip)
...
- file: now return size at close() time for use with VFS
- zip: tested open speed, added [exec time] notes
This was SVN commit r2075.
2005-03-29 06:27:35 +00:00
fd14510005
minor improvements: squelch warnings when dumping; debug_out an indication that is_string_ptr raised an exception
...
This was SVN commit r2070.
2005-03-27 18:17:03 +00:00
36cd555ba7
slight change to error paths for convenience (RETURN_ERR)
...
This was SVN commit r2068.
2005-03-27 17:40:40 +00:00
2fa430a4e6
- fix bug (wasn't setting mount_point of dir being mounted => crash while writing screenshot)
...
- add check for changing filters while enumerating dirents
- add path_component_valid
- change iterator to only return valid entries (removing that burden
from user code)
This was SVN commit r2067.
2005-03-27 17:27:49 +00:00
f777979cc8
detect: add posix.h so _SC_* defines are visible (enables mem detect)
...
in several files, expand one-line function bodies (hard to debug)
This was SVN commit r2066.
2005-03-27 17:24:57 +00:00
bfe7c1b491
Made icon implementation less bad, so that it doesn't conflict with ScEd
...
This was SVN commit r2065.
2005-03-27 14:03:30 +00:00
6bf2600808
huge change:
...
- replace std::map with custom filename lookup container (more
efficient)
- split into 3 parts (was too big)
also added struct stat-like fields to vfsDirEnt
still under heavy development.
This was SVN commit r2058.
2005-03-27 01:46:54 +00:00
ba636ca96c
wposix: fix for USE_MMGR: undef getcwd
...
singleton: switch to assert2
loader: simpler HaveTimeForNextTask check
This was SVN commit r2056.
2005-03-27 01:37:10 +00:00