janwas
12568b0229
further fixes from work (where i've finally managed to (temporarily) sign the Aken driver)
...
in particular, remove two hindrances to displaying the error dialog
during early init.
This was SVN commit r7754.
2010-07-14 12:23:53 +00:00
janwas
17469a93a1
fix: don't complain if redirecting stdout fails (when running as non-admin from "program files")
...
see http://www.wildfiregames.com/forum/index.php?showtopic=12949&hl=
also remove extern "C" to allow C++ implementation functions
This was SVN commit r7750.
2010-07-14 07:29:35 +00:00
janwas
98770fa4cc
# fix race conditions in ModuleInit and related cleanup.
...
CAS: uintptr_t->intptr_t to allow use of both cpu_CAS and cpu_AtomicAdd
topology: remove non-thread safe caching, expose ApicIds, use ModuleInit
x86_x64: use ModuleInit instead of unsafe static flags; zero-init regs
instead of just setting ecx
ModuleInitState now holds the LibError returned by the init callback (so
that the second init doesn't appear to succeed despite the first
failing)
wnuma: cleanup, add ACPI SLIT relative distance detection
This was SVN commit r7741.
2010-07-12 12:57:58 +00:00
Ykkrosh
88f25849b3
Windows fixes
...
This was SVN commit r7715.
2010-07-07 22:23:18 +00:00
janwas
6d3930ace7
fix: don't generate spurious resize events in fullscreen mode when interacting with another topmost window
...
fix: don't store a PIVFS reference in HDATA, because those aren't freed
due to caching (fixes memory leak)
This was SVN commit r7687.
2010-07-04 11:12:50 +00:00
janwas
d2cf6ceb88
less global variables: make most uses of g_VFS explicit (required for another app that has two VFSes), g_yres is no longer required by cursor module
...
This was SVN commit r7686.
2010-07-04 10:15:53 +00:00
Ykkrosh
20c50d32d4
Windows fixes.
...
Avoid Boost.Random since it adds a dependency on a new library.
This was SVN commit r7654.
2010-06-30 23:40:51 +00:00
janwas
1fc3076820
fix handling of window resizing (more closely match what SDL does, allow calling SDL_SetVideoMode without triggering a resize event); add support for video expose events
...
This was SVN commit r7632.
2010-06-21 20:22:26 +00:00
janwas
85bfdf0983
sync with work (add IO callbacks, export wsdl functions, avoid error in ReadVersionString)
...
This was SVN commit r7627.
2010-06-14 12:09:49 +00:00
janwas
045ac1c197
# cleanup
...
mem_util: inline freelist functions to avoid needing an additional if()
in pool.cpp
pool: add comments clarifying the roles of PoolAllocator vs
RawPoolAllocator
wsdl: refactor (naming convention, determination of window style, reduce
forward decls)
This was SVN commit r7610.
2010-06-05 18:52:39 +00:00
Ykkrosh
a18aa24fe3
Windows support for window resizing and fullscreen toggling.
...
Windows build fixes.
This was SVN commit r7607.
2010-06-03 21:15:45 +00:00
Ykkrosh
27556f4b21
Fix window title only displaying the first character
...
This was SVN commit r7440.
2010-04-06 12:32:17 +00:00
janwas
6fb5c1b307
lib/ changes required at work:
...
- allow building regardless of UNICODE setting (e.g. use LoadLibraryW
instead of LoadLibrary)
- export dlopen etc.
- more robust redirection of stdout
This was SVN commit r7427.
2010-04-03 10:46:28 +00:00
janwas
870fe8bfe5
fix nvidia multimon gamma issue ("if at first you fail, try again..")
...
refs #480
This was SVN commit r7421.
2010-03-31 22:26:08 +00:00
Ykkrosh
13302cc133
Disable visible warnings when gamma-setting fails. Fixes #480 .
...
This was SVN commit r7410.
2010-03-28 18:33:35 +00:00
janwas
1861448e6c
needed to split lib into separate headers and source files, which requires lots of drudgery to specify paths for each include filename (no longer relying on same-directory lookups)
...
also rename wchar -> utf8 to avoid conflict with <wchar.h> (requires
rebuild of workspace)
(unfortunately copying history fails to "502 bad gateway"; had to delete
old + add new independently)
This was SVN commit r7340.
2010-03-01 14:52:58 +00:00
janwas
c2fd939898
license change to the more permissible Expat/MIT license for lib/ (see forum thread)
...
This was SVN commit r7316.
2010-02-08 16:23:39 +00:00
janwas
03726c0b54
ICC build fixes
...
warning fixes
get rid of SAFE_WCSCPY and SAFE_STRCPY
This was SVN commit r7239.
2010-01-01 15:33:07 +00:00
janwas
8a52113e60
huge cleanup and conversion of most string handling (especially paths) to unicode
...
please note: format strings must be %hs for char* arguments and %ls for
wchar_t*
This was SVN commit r7161.
2009-11-03 21:46:35 +00:00
janwas
3726a7c9b1
# safely and silently handle disabled WMI service
...
(see http://www.wildfiregames.com/forum/index.php?showtopic=12548&hl= )
This was SVN commit r7071.
2009-08-03 21:24:00 +00:00
janwas
2a0025bc28
# fix warnings and 64-bit bugs in headerless.cpp (workspace update required)
...
(hopefully fixes often-reported crashes on 64-bit Linux)
remove lib/precompiled.cpp to simplify PCH handling in build system
This was SVN commit r7006.
2009-07-16 23:53:46 +00:00
Ykkrosh
1743645fd3
Simplify the overly-complex CppDoc-breaking file headers
...
This was SVN commit r6832.
2009-04-18 17:51:05 +00:00
Ykkrosh
214b0e6683
Removed outdated licensing information
...
This was SVN commit r6831.
2009-04-18 17:17:34 +00:00
Ykkrosh
c9fa7f13d9
Add GPL header
...
This was SVN commit r6830.
2009-04-18 17:00:33 +00:00
janwas
220b05ba08
fix: ignore GetCursorPos failure, which happens when switching desktop (e.g. after pressing ctrl+alt+del)
...
This was SVN commit r6590.
2009-01-03 18:40:48 +00:00
janwas
16ccae10cd
# fix warnings
...
more icc11 fixes - mostly type conversion and noncopyable (now made a
macro)
This was SVN commit r6536.
2008-12-17 16:32:46 +00:00
janwas
14ec3a3026
minor fixes:
...
whrt: output timer implementation info, fix assert ( 1/(x-epsilon) < 1/x
+ epsilon )
wsdl: fix slightly incorrect gamma values (first and last are now
exactly 0 and 1)
This was SVN commit r6321.
2008-08-10 11:02:25 +00:00
janwas
a3696c0b91
premake: detect processor architecture from script
...
lib/sysdep: clean up by moving OS and cpu-arch folders into "os" and
"arch" folders
This was SVN commit r6162.
2008-06-30 17:34:18 +00:00