c4bf180bfc
add support for displaying values in stl containers; also moved stl_simplify_name here.
...
win.cpp: fix WinXP dependency
This was SVN commit r2438.
2005-06-25 07:54:15 +00:00
5c4d41fd0f
Initial parts of Atlas integration
...
This was SVN commit r2435.
2005-06-25 02:21:26 +00:00
634b09dec7
debug, wdbg: fix skip accounting for debug_dump_stack if context was passed
...
win: fix typo causing pre_main functions not to be called
This was SVN commit r2430.
2005-06-22 23:38:04 +00:00
8f9a3fc38f
- config.h: massive improvements, much clearer.
...
- tentatively activate PCH if gcc > 3.4. remove XP_ defines (which were
undocumented; now in scripting/spidermonkey.h)
- rename some config defines
- move sysdep/debug.h to lib/debug.h (it's portable; was wrong all
along)
- grouped all debug heap related stuff to debug.h:debug_heap_*
- sysdep: fix circular include issue with debug.h
This was SVN commit r2427.
2005-06-22 03:23:22 +00:00
28e50ab752
- sysdep: moved posix versions of display_msg etc. to new unix.cpp
...
- add new portable display_error (and convenience macro DISPLAY_ERROR,
if advanced params aren't needed; don't want to break C compat). this is
the old assert dialog and more; allows ErrorReaction (see sysdep.h) to
be carried out according to users wishes.
- add win_is_locked for deadlock avoidance
This was SVN commit r2420.
2005-06-21 16:44:12 +00:00
7c099ce3cf
further improvements to stack trace for invalid string pointers, floats, arrays and std::string.
...
asserts now correctly retrieve thread context in release mode (worked
around VC problem with __asm in macros)
added sample code to enable SE_DEBUG_NAME (pending)
This was SVN commit r2361.
2005-05-31 19:00:49 +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
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
d1a66c93b0
fix bug: was calling HeapSetInformation directly, not through function pointer
...
This was SVN commit r2250.
2005-05-06 20:14:40 +00:00
468657479c
philip points out precompiled.h -> string_s.h includes posix.h - too heavy for the PCH
...
replaced that with posix_types.h, which now defines size_t.
this change exposed a lot of code that relied on posix.h being included
implicitly; fixed those as well.
This was SVN commit r2015.
2005-03-18 22:44:55 +00:00
12232b03d2
win_internal: winnt version=0x0501 for HeapSetInformation (to enable LFH)
...
win.cpp: enable low-fragmentation heap (if available)
This was SVN commit r1888.
2005-02-02 03:26:38 +00:00
6d807d1c9f
add win_alloc, used by wpthread to allocate memory for critical sections (safe allocator that may be called at any time, even before _cinit and during static dtors)
...
This was SVN commit r1882.
2005-01-30 17:40:24 +00:00
41e2f48daf
add reference to required .lib files to fix linker errors reported by stu
...
This was SVN commit r1860.
2005-01-29 16:43:46 +00:00
f25f6a2d70
wdbg: fix crash when exiting abnormally (alt+f4) - was erasing elements from container while iterating through it
...
win internal files: slight changes while looking through
This was SVN commit r1850.
2005-01-28 18:16:51 +00:00
38d6f81d71
add/update win-specific code+header file comment
...
This was SVN commit r1841.
2005-01-27 16:18:22 +00:00
f55107c114
sysdep: inline vsprintf2 definition (no need for printf.h)
...
win.cpp: remove hWnd (not needed for clipboard code) and TSC reference
(a temporary hack)
This was SVN commit r1840.
2005-01-27 15:50:11 +00:00
9e3ae3bdf2
further lint fixes
...
new init seg, group "C" called before libc init
better critsec impl, doesn't break if called after shutdown
This was SVN commit r1779.
2005-01-23 18:04:34 +00:00
090ea2301a
wdbg: temporarily removed LOCALIZED_TEXT so this works in another project. must find long-term solution: lib/ must not be dependent on ps/!
...
sysdep.h: add pick_dir
sysdep/win/win.cpp: .. and its win32 implementation
This was SVN commit r1655.
2005-01-07 00:59:52 +00:00
05c4ec0365
Alterations to ScEd, so that it almost works (except for saving/loading maps). Change the bottom of premake.lua if you want to build it.
...
This was SVN commit r1580.
2004-12-27 23:27:26 +00:00
3b5ab280d4
add win_exe_dir (application's start directory)
...
This was SVN commit r1377.
2004-11-22 07:40:32 +00:00
2f9a735232
add win_sys_dir for win-specific code
...
This was SVN commit r1360.
2004-11-19 22:41:37 +00:00
a0f0215c15
fixed debug_check_heap definition
...
This was SVN commit r1167.
2004-09-19 18:45:04 +00:00
71b62dc484
more explanation of auto-init system
...
This was SVN commit r1097.
2004-09-02 02:46:50 +00:00
db344d5f51
add get_executable_path (used by file_rel_chdir)
...
This was SVN commit r920.
2004-08-05 19:21:35 +00:00
MarkT
2b396ccb57
Minor improvements to some simulation code.
...
This was SVN commit r887.
2004-08-02 23:14:54 +00:00
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
f31bc328f2
Moved all cursor code into cursor.cpp
...
This was SVN commit r844.
2004-07-29 16:14:22 +00:00
4a71c89dcd
no change
...
This was SVN commit r837.
2004-07-28 18:01:23 +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
5ea728fd28
Don't bother looking for memory leaks in 'testing' builds
...
This was SVN commit r803.
2004-07-22 13:25:01 +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
b284b47a06
add crash log (call stack and minidump)
...
This was SVN commit r757.
2004-07-15 02:39:25 +00:00
25a24729ac
add win32 clipboard implementation (wchar_t)
...
This was SVN commit r741.
2004-07-13 21:17:59 +00:00
7a199f8f16
add debug_break impl
...
This was SVN commit r728.
2004-07-12 16:40:57 +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
f761c91c73
no change
...
This was SVN commit r552.
2004-06-19 14:31:43 +00:00
0d7f2501f9
Enable memory leak detection
...
This was SVN commit r517.
2004-06-15 21:08:51 +00:00
475d4ed509
snazzy new module init/shutdown hook mechanism
...
This was SVN commit r490.
2004-06-13 16:06:23 +00:00
0409f4d9d3
support for delay loading
...
This was SVN commit r455.
2004-06-09 15:45:47 +00:00
921463e55a
added timestamp to measure startup time
...
This was SVN commit r430.
2004-06-08 20:36:17 +00:00
0dc6007fbd
(re)added headers so it'll work without HAVE_PCH
...
This was SVN commit r396.
2004-06-04 12:41:53 +00:00
4daa183dd3
stripped some headers from deprecated prometheus.h => huge rearrange
...
This was SVN commit r378.
2004-06-03 01:43:33 +00:00
672c25084b
fixed log location; win code modules now register init/shutdown (=> less dependencies, more control over init order)
...
This was SVN commit r277.
2004-05-27 17:30:06 +00:00
9aacf9b4bf
no message
...
This was SVN commit r275.
2004-05-27 00:29:54 +00:00
fbba2e463d
merged in rich's demo
...
This was SVN commit r236.
2004-05-16 03:31:29 +00:00
f383cfd4a8
fix for vc7 (incomplete type in container). also some updates to vfs
...
This was SVN commit r221.
2004-05-08 01:11:51 +00:00
5b5726ed4d
merge of (work in progress) VFS code with new dir layout
...
This was SVN commit r216.
2004-05-06 17:14:30 +00:00
9c2a8a5658
fixed little gremlin due to i64 handle change (implicit conversion in overloaded function)
...
This was SVN commit r163.
2004-03-03 00:37:41 +00:00
89c5b0d88c
the big merge (tm). see forum post for changes made.
...
This was SVN commit r158.
2004-03-02 23:56:51 +00:00