759e452e0b
Fix warning
...
This was SVN commit r7810.
2010-07-25 18:19:30 +00:00
f6a1501410
Set svn:eol-style native
...
This was SVN commit r7809.
2010-07-25 18:08:35 +00:00
f79056efbd
fix CPU topology problem under VMs reported by Philip (update workspaces required)
...
also moved lib.h's code generation macros into a separate file to break
a circular dependency with lib.h's use of debug_assert, and added a stub
implementation of sysdep/numa.h
This was SVN commit r7808.
2010-07-25 17:10:57 +00:00
8d7011998e
Fix typo
...
This was SVN commit r7804.
2010-07-25 11:24:44 +00:00
3bccfc295f
Fix the GL extension fallback functions so they actually get used
...
This was SVN commit r7803.
2010-07-25 11:03:45 +00:00
4cd88d8aa9
Remove an assertion which I hope wasn't important
...
This was SVN commit r7801.
2010-07-24 21:54:54 +00:00
bfcb278bf0
swscanf is an insane mess of bugs and incompatibilities, so stop using it for fancy parsing
...
This was SVN commit r7800.
2010-07-24 20:48:18 +00:00
93802f257a
Avoid crash caused by glibc <=2.7 bug
...
This was SVN commit r7798.
2010-07-24 20:03:15 +00:00
fea6745ec9
fix incorrect screening of APIC IDs (now handle OS X's lack of thread affinity and/or running under a VM without complaint)
...
This was SVN commit r7797.
2010-07-24 18:48:25 +00:00
523a6a5819
Fix tests to be more tolerant of odd environments
...
This was SVN commit r7796.
2010-07-24 15:49:40 +00:00
9f6eb626b4
Fix reported build errors
...
This was SVN commit r7792.
2010-07-23 19:11:02 +00:00
a3f37209a5
Warning fix
...
This was SVN commit r7787.
2010-07-22 19:01:25 +00:00
8ab70776a5
fix: cpu_CAS64 should use i64 for compatibility with 64-bit CAS
...
This was SVN commit r7786.
2010-07-22 18:57:36 +00:00
aa44bac652
from work: add thread-safe timer; add CAS64 (required for thread-safe timer); remove topology init requirements, no longer cache results (simplifies GroupPolicy_PerCache); add scoped affinitizer; whrt: fix race condition reported by parallel inspector. also refactor cache and TLB detection.
...
This was SVN commit r7785.
2010-07-22 16:17:33 +00:00
41e1652e10
Using .png for session cursors
...
Added .png version of cursors
Added gather treasure cursor
This was SVN commit r7779.
2010-07-21 20:35:26 +00:00
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
c634a62f4c
from work: cpu_AtomicAdd - return previous value (required for atomic test&set)
...
numa: move allocator into higher-level VirtualMemory module, since
VirtualAllocExNuma requires Server 2008 and the workaround doesn't
require numa support
This was SVN commit r7753.
2010-07-14 08:52:20 +00:00
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
0833d6a950
Improve OpenGL 1.1 support
...
This was SVN commit r7747.
2010-07-13 20:37:44 +00:00
45016e3980
numa: fix: nodeNumber isn't guaranteed to be contiguous; fix race conditions during init; add support for ACPI SRAT; pin NUMA alloc thread to NUMA node; major refactor
...
also removed two critical sections (no longer needed due to thread-safe
init)
This was SVN commit r7745.
2010-07-13 12:45:27 +00:00
a440569970
Fix warning
...
This was SVN commit r7744.
2010-07-12 22:17:05 +00:00
ee72115b7a
Fix Linux compile error
...
This was SVN commit r7743.
2010-07-12 22:14:28 +00:00
9f66c86d64
fix ACPI table validation after encountering signatures containing ! and _ (invalid)
...
This was SVN commit r7742.
2010-07-12 13:01:12 +00:00
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
8c1deecdbe
C++0x compatibility (fix narrowing conversions in initialisers; avoid ambiguity with std::next)
...
This was SVN commit r7739.
2010-07-11 22:40:17 +00:00
e6dec4b4b4
(vc2010) warning fixes
...
This was SVN commit r7733.
2010-07-10 18:24:02 +00:00
5030706314
more ACPI fixes (acpi_Init removed => callers must be prepared for acpi_GetTable to return 0)
...
This was SVN commit r7731.
2010-07-10 17:42:54 +00:00
c538d483bc
fix overzealous assert (if windows doesn't provide the ACPI routines, the returned list of tables will of course be empty)
...
see
http://www.wildfiregames.com/forum/index.php?showtopic=12669&st=250&p=207927&#
This was SVN commit r7728.
2010-07-10 16:44:34 +00:00
fad4383a23
fix: wasn't checking function pointers => crash on older windows versions
...
This was SVN commit r7724.
2010-07-08 21:07:46 +00:00
a761cbdb6e
Fix URL opener on OS X
...
This was SVN commit r7720.
2010-07-08 18:35:02 +00:00
fdf92bee98
warning fixes
...
This was SVN commit r7719.
2010-07-08 10:58:24 +00:00
b2c4a8597e
enable use of ACPI without the mahaf driver (required for NUMA SRAT access at work). also use new DLL import macros.
...
This was SVN commit r7718.
2010-07-08 10:33:38 +00:00
8c1bd05ab9
fixes+improvements from work (overhaul wutil, add convenience macros for DLL imports)
...
This was SVN commit r7717.
2010-07-08 10:18:42 +00:00
88f25849b3
Windows fixes
...
This was SVN commit r7715.
2010-07-07 22:23:18 +00:00
4b06ebd52d
Add basic help page into the main menu.
...
Add buttons to open the web site and IRC.
Tentatively allow Atlas to be launched from the menu.
Add some shutdown functions to support relaunching into Atlas without
having to restart the whole process.
This was SVN commit r7714.
2010-07-07 21:47:31 +00:00
8d9fa66b67
Fix warning
...
This was SVN commit r7710.
2010-07-07 10:39:12 +00:00
b5c5467c88
Fix errors when compiling with _GLIBCXX_PROFILE
...
This was SVN commit r7699.
2010-07-05 19:13:22 +00:00
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
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
3ff0ccc1fa
we noticed that vcbuild somehow excludes winit function pointers from components that don't contain externals referenced by the main EXE (i.e. wposix, wnuma, wsock). the solution will include calling enet_initialize (to replace or coexist with wsock), removing wposix (see below) and ignoring wnuma (because apps that use it will need to call its functions).
...
wposix's sysconf is no longer used because OS X doesn't support some of
the POSIX names, so we had to add os_cpu routines that supplant the use
of sysconf. am now removing the no-longer needed sysconf emulation,
which also gets rid of wposix_Init.
This was SVN commit r7680.
2010-07-03 19:08:18 +00:00
5fec6c40dd
Set svn:eol-style native
...
This was SVN commit r7655.
2010-07-01 16:58:44 +00:00
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
545979040b
Expose the user's login name.
...
This was SVN commit r7648.
2010-06-30 21:18:29 +00:00
103b60daa9
Fix use of deprecated libpng feature.
...
This was SVN commit r7647.
2010-06-30 21:17:39 +00:00
dba377532e
# low-level fixes and improvements
...
dbghelp: ensure the DLL from our executable directory is loaded (avoids
breakage related to search-path and Dropbox)
wmi: use single-thread apartment COM model because multithreaded breaks
SHGetFolderPathW
wsysdep: sys_pick_directory: allow user-specified initial path; fix
previous non-unicode initial path; avoid reporting error if user cancels
wutil: add function to query executable directory at any time
This was SVN commit r7633.
2010-06-23 16:17:25 +00:00
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
f066daf21d
update zlib, libpng; rebuild libjpg (avoids dependency on msvcr71)
...
update-workspaces required.
This was SVN commit r7630.
2010-06-21 11:54:15 +00:00
eb5f0ce639
fix logic error for CPUs lacking xAPIC (thanks to Brian for reporting this)
...
This was SVN commit r7628.
2010-06-19 18:22:47 +00:00
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
4fa5f1892b
# fix CPU detection issue
...
i3 CPUs report a *maximum* of 8 cores/package, which caused the number
of processors to be misreported as 0 (but only because the APIC IDs were
skipped because the CPU generation was deemed to low, which was due to
failing to consider extended family/model)
thanks to titanforever for reporting this.
This was SVN commit r7626.
2010-06-12 20:21:28 +00:00