Commit Graph

199 Commits

Author SHA1 Message Date
85b1f26f65 inline in the hopes the compiler will leave out the call (so call stack isn't polluted)
This was SVN commit r879.
2004-08-02 13:38:05 +00:00
fc77eadd9e re-enable HRTs (had disabled for testing). oops
This was SVN commit r878.
2004-08-02 13:35:45 +00:00
18e55bba4f no message
This was SVN commit r874.
2004-08-01 20:14:14 +00:00
44a4262ab8 bugfix: correct path now returned.
This was SVN commit r873.
2004-08-01 01:08:54 +00:00
358cf63bf3 no message
This was SVN commit r872.
2004-07-31 19:55:36 +00:00
4577ad00dc fix include path
This was SVN commit r870.
2004-07-31 19:47:40 +00:00
1739f66428 no longer emulate FAM, due to a stupid design flaw. instead, implement sysdep/dir_watch interface
This was SVN commit r862.
2004-07-31 15:50:30 +00:00
d5142ff7f8 move from lib/ to lib/sysdep
This was SVN commit r859.
2004-07-31 14:10:06 +00:00
034230a847 aiocb buf field is now volatile void* to bring in line with linux
This was SVN commit r846.
2004-07-31 01:50:54 +00:00
f31bc328f2 Moved all cursor code into cursor.cpp
This was SVN commit r844.
2004-07-29 16:14:22 +00:00
aeb2433acd Don't get confused by messages sent when enabling NVIDIA's QuickZoom
This was SVN commit r840.
2004-07-29 16:02:11 +00:00
ec506d0099 Made the pre-main() exception handler's stack trace use the right context
This was SVN commit r838.
2004-07-28 18:20:32 +00:00
4a71c89dcd no change
This was SVN commit r837.
2004-07-28 18:01:23 +00:00
9aed44a91f more+nicer comments + some cleanup
This was SVN commit r824.
2004-07-28 08:31:13 +00:00
d6a68ad232 Fixed headers for non-PCH, again
This was SVN commit r818.
2004-07-25 11:30:05 +00:00
c8514b7d28 OpenGL cursor (for non-Windows)
This was SVN commit r817.
2004-07-24 19:38:12 +00:00
fe1bee706b Fixed loads of /W4 warnings, because it's easier than doing anything useful. Added some asserts to check potentially dangerous assumptions, implemented a few missing bits of code, adjusted some comments, etc.
This was SVN commit r814.
2004-07-24 14:04:40 +00:00
3f7797b762 Prototype support for using 32-bit textures as cursors on Windows
This was SVN commit r813.
2004-07-23 19:07:18 +00:00
MarkT
6d8b9e33ef Minor additions: Added hotkeys to GUI buttons, camera bookmarking (not sure if this system will stay), shoring up some JS error checking, moved a bunch of constants into the config file and added a new rotation mode.
This was SVN commit r804.
2004-07-22 16:18:12 +00:00
5ea728fd28 Don't bother looking for memory leaks in 'testing' builds
This was SVN commit r803.
2004-07-22 13:25:01 +00:00
MarkT
f02eab8aba Added configurable hotkey-cooker
This was SVN commit r795.
2004-07-21 16:34:07 +00:00
1343de75d8 Added a function to enable excessively slow memory debugging, for detecting heap corruption close to where it happens.
This was SVN commit r792.
2004-07-21 12:28:23 +00:00
1f942c2784 VC2005 fix
This was SVN commit r780.
2004-07-20 17:19:30 +00:00
b61b1e805c Better error handling! Wow!
This was SVN commit r778.
2004-07-19 19:05:34 +00:00
1e40ed1543 More attempted error handling
This was SVN commit r769.
2004-07-17 17:09:33 +00:00
8684287360 Linux fixes
This was SVN commit r763.
2004-07-15 19:59:27 +00:00
82de48832e MICROLOG function for high-speed logging of everything that happened just before a crash
This was SVN commit r761.
2004-07-15 19:29:56 +00:00
af9cf31691 Working crash log
This was SVN commit r760.
2004-07-15 19:12:54 +00:00
3da6540b49 Output BOM and correct line endings in crashlog.txt
This was SVN commit r758.
2004-07-15 09:52:59 +00:00
b284b47a06 add crash log (call stack and minidump)
This was SVN commit r757.
2004-07-15 02:39:25 +00:00
114b4242d9 UNIX: X Clipboard handling and a Text-Mode assertion dialog (with debugger launcher)
This was SVN commit r754.
2004-07-14 12:24:18 +00:00
a3926fb382 renamed assert function to debug_assert_failed (now portable, in sysdep)
This was SVN commit r750.
2004-07-14 03:05:26 +00:00
1a1cce9b18 better handling of complex types, but still buggy.
safer output and some cleanup

This was SVN commit r742.
2004-07-13 21:22:53 +00:00
25a24729ac add win32 clipboard implementation (wchar_t)
This was SVN commit r741.
2004-07-13 21:17:59 +00:00
81b1c6a5ea add portable clipboard routines (wchar_t)
This was SVN commit r740.
2004-07-13 21:17:26 +00:00
aa9c6e7d30 Created a Unix sysdep/ folder, and implemented a unix debug_break function
This was SVN commit r735.
2004-07-12 22:05:49 +00:00
89d47437b4 add debug_break and assert2
This was SVN commit r729.
2004-07-12 16:48:10 +00:00
7a199f8f16 add debug_break impl
This was SVN commit r728.
2004-07-12 16:40:57 +00:00
af58165890 hooked up exception handler; a bit of cleanup
This was SVN commit r727.
2004-07-12 16:38:48 +00:00
bed0e644c4 now mostly last-error-neutral (helps spot warnings+errors)
This was SVN commit r721.
2004-07-12 14:25:39 +00:00
ac997087ea manually import getaddrinfo et al by "hooking" those calls
This was SVN commit r720.
2004-07-12 14:24:26 +00:00
afd7f721d4 no change
This was SVN commit r718.
2004-07-12 14:21:13 +00:00
8364a7fffe Non-gcc fixes
This was SVN commit r698.
2004-07-10 22:05:33 +00:00
901d44d2a6 More SDL_ACTIVEEVENT
This was SVN commit r697.
2004-07-10 21:50:35 +00:00
1001aeacf5 Linux/GCC compat, headers and such
This was SVN commit r695.
2004-07-10 21:25:35 +00:00
bad0b0629d add lseek (needed for uncached_io)
This was SVN commit r667.
2004-07-09 00:17:55 +00:00
92f14cd90a move hInst = GetModuleHandle to wsdl_init, to make sure it's done before anything else
This was SVN commit r664.
2004-07-08 15:16:31 +00:00
c33bcfd03d add keyboard hook to intercept printscreen and windows keys
This was SVN commit r662.
2004-07-08 15:11:42 +00:00
3d7b76c140 add read/write prototypes (file.cpp wasn't including a windows header that defined them elsewhere)
This was SVN commit r653.
2004-07-08 14:24:17 +00:00
b07360ccf7 reqnum uint->int, to allow error return
This was SVN commit r652.
2004-07-08 14:22:10 +00:00
5c96e991eb cleanup; more last-error neutral; fix start_io for file writes
This was SVN commit r651.
2004-07-08 14:21:14 +00:00
66e202afa5 S_* flags in sys/stat are wrong! spent quite a while searching for this problem. disassembly reports S_IWRITE is 0x80, header says 0x100.
fixes aio_open warning tossed when file was created by file_open

This was SVN commit r629.
2004-07-05 02:29:21 +00:00
1f9ac488cd open wrapper: fixes file sharing bug, now passes in O_CREAT mode
This was SVN commit r628.
2004-07-05 02:27:51 +00:00
e22f6b120a revised aio_open (now: aio_reopen) interface; now closer to open(), so that pmode can be passed
This was SVN commit r627.
2004-07-05 02:26:55 +00:00
85b0e120af fixed file sharing + open mode bug
This was SVN commit r626.
2004-07-05 02:26:04 +00:00
d467b1a944 fixed resolution calculation for GetTickCount (previously assumed uniform updates)
This was SVN commit r617.
2004-07-01 13:28:07 +00:00
6a85b4a331 some more comments and cleanup
This was SVN commit r612.
2004-06-30 14:31:19 +00:00
12170cabeb Headers for non-PCH
This was SVN commit r611.
2004-06-28 15:34:10 +00:00
02f509feb7 fixed timer jump issue when timer implementation changes at runtime; now calculates time more accurately
This was SVN commit r609.
2004-06-27 01:45:47 +00:00
bbad6a4d6a fix order of detect calls (TSC wasn't getting selected in wtime due to not-yet-set cpu_smp)
This was SVN commit r608.
2004-06-27 01:42:55 +00:00
ce8f5d3520 described a way to make the TSC work on SMP systems, but not gonna tackle it for now (too little benefit).
also added a bugfix from someone whom i sent the source (hrt_origin now
correct after switching timer)

This was SVN commit r596.
2004-06-24 14:04:30 +00:00
ca4558d48d fix hExitEvent double-free
This was SVN commit r592.
2004-06-23 14:49:14 +00:00
da7d60e3ec fixed HT detect (thanks to philip for testing)
This was SVN commit r590.
2004-06-23 13:45:50 +00:00
d633fd201d add code to check if system is SMP (needed for wtime; not trivial, since hyperthreading may be in play)
This was SVN commit r588.
2004-06-22 17:20:38 +00:00
fd701dc5d9 more L4 warnings stomped
This was SVN commit r585.
2004-06-22 13:22:46 +00:00
fc476e04f6 stomped on numerous warnings
This was SVN commit r584.
2004-06-21 16:29:47 +00:00
fa0741c5f6 increase buffer size; cleaned up basic type lookup routine
This was SVN commit r583.
2004-06-21 14:23:36 +00:00
0d4f9b8a00 add on_each_cpu comments
This was SVN commit r582.
2004-06-21 14:22:33 +00:00
55f7411ba9 improved thread start code
This was SVN commit r581.
2004-06-21 14:22:07 +00:00
d231baccef use ia32_cap() instead of direct access to cap var
This was SVN commit r580.
2004-06-21 14:19:43 +00:00
8c8a692025 added feature bit for SpeedStep; intel added another reg to the CPUID definition, so changed the feature flag ("cap") interface - no more direct access
This was SVN commit r579.
2004-06-21 14:17:48 +00:00
9d13d607ab SDL_Delay, SDL_APPACTIVE event
This was SVN commit r576.
2004-06-21 13:59:58 +00:00
6891ca6e1f improve timer detection logic and document time-source disable macros
This was SVN commit r571.
2004-06-19 22:53:14 +00:00
62f3945116 use EnumDisplaySettingsA instead of unicode version, which seems to cause a memory overrun
This was SVN commit r570.
2004-06-19 22:51:54 +00:00
ccd32180ec fixed header name
This was SVN commit r562.
2004-06-19 14:57:29 +00:00
ed17ed9fb4 debug functions (superassert with stack trace)
This was SVN commit r561.
2004-06-19 14:54:25 +00:00
a9864a5e66 add some code for detecting hyperthread systems (needed for timer). incomplete
This was SVN commit r559.
2004-06-19 14:46:44 +00:00
a27224db69 split out of wdetect; added some code for hyperthreading support (incomplete)
This was SVN commit r553.
2004-06-19 14:36:59 +00:00
f761c91c73 no change
This was SVN commit r552.
2004-06-19 14:31:43 +00:00
3c11f6e5d6 split into os, cpu, and gfx parts
This was SVN commit r551.
2004-06-19 14:30:55 +00:00
fa7d4991d6 move SDL headers to sysdep/win (only used by wsdl)
This was SVN commit r550.
2004-06-19 14:29:40 +00:00
5da9ecd1b0 move SDL headers to sysdep/win (only used by wsdl)
This was SVN commit r546.
2004-06-19 12:21:05 +00:00
32b6627645 Miscellaneous gcc fixes
This was SVN commit r541.
2004-06-18 18:56:10 +00:00
a2fdd3e190 renamed some vars for clarity
This was SVN commit r533.
2004-06-18 13:34:37 +00:00
0d7f2501f9 Enable memory leak detection
This was SVN commit r517.
2004-06-15 21:08:51 +00:00
ea68626ec1 Remove new new (Xerces doesn't like it)
This was SVN commit r516.
2004-06-15 21:08:05 +00:00
e61f416e0d Changes to make the numpad minus (and other keys) be recognised in KEYDOWN correctly
This was SVN commit r502.
2004-06-13 19:42:48 +00:00
ade1ee19cc re-enable exceptions (wasn't necessary to strip them)
This was SVN commit r501.
2004-06-13 19:41:42 +00:00
0fb2ec31fc fix LONG_PTR VC6 error reported by stuart
This was SVN commit r499.
2004-06-13 19:23:37 +00:00
475d4ed509 snazzy new module init/shutdown hook mechanism
This was SVN commit r490.
2004-06-13 16:06:23 +00:00
0cce0ea5bc handles details of delay loading and implements the helper function (=> extra lib no longer needed)
This was SVN commit r489.
2004-06-13 16:05:38 +00:00
7975657f0b variable name change for clarity
This was SVN commit r488.
2004-06-13 16:04:11 +00:00
f9625ecd00 make possible DLL CRT (declare CRT funcs as _CRTIMP)
This was SVN commit r481.
2004-06-11 17:55:24 +00:00
15ca5cbf21 newline stomper and fixed warnings
This was SVN commit r473.
2004-06-11 02:14:18 +00:00
a06bff04b6 Added VK_CONTROL/_ALT/_MENU mappings onto SDLK_LCTRL/etc (I can't find an non-positional SDL CTRL key)
This was SVN commit r467.
2004-06-10 09:57:03 +00:00
a0a9276b21 not freeing dll after manual import; allows delay load
This was SVN commit r458.
2004-06-09 15:52:15 +00:00
f197601cbb clean up test delayload hook. very tricky - automagically calls WSAStartup on first sockets call
This was SVN commit r457.
2004-06-09 15:50:38 +00:00
1c5c3da703 some fixes to coexist with windows.h, if included from win-specific code (i.e. wsdl)
This was SVN commit r456.
2004-06-09 15:48:47 +00:00
0409f4d9d3 support for delay loading
This was SVN commit r455.
2004-06-09 15:45:47 +00:00
40b2cbcba3 fix bc warnings (RDC params)
This was SVN commit r454.
2004-06-09 15:45:15 +00:00