1
0
forked from 0ad/0ad
Commit Graph

4964 Commits

Author SHA1 Message Date
6324deb7d0 fix to prevent further issues due to invalid XMB files (c.f. matt's "crash upon combat" bug report, http://www.wildfiregames.com/forum/index.php?showtopic=11703). as per philip's excellent suggestion, they are now only tagged with a header iff the file contents are valid.
details:
- add a new magic string "XMBu" to indicate an unfinished XMB file;
- header magic fields are now exclusively strings to avoid type punning;
- XMBFile::Initialize now has a return value which is checked by
ReadXMBFile;
- the XML loader re-creates the XMB if that fails.

This was SVN commit r6016.
2008-06-15 17:24:32 +00:00
34fec9cb85 preemptive fix: prevent CRT error messages generated after PostQuitMessage from vanishing
This was SVN commit r6005.
2008-06-01 10:19:17 +00:00
5d80d2ee5d fixes+improvements from work:
- add AlignedAllocator - an STL allocator that returns
cache-line-aligned objects (required to avoid RFOs when threads write to
various independent items in a container)
- bits: bit_mask can now be used for N=0..numBits (works around
full-word-shifts-are-undefined issue)
- precompiled.h: remove scoped_ptr, add function-related stuff from TR1
- numa:
  . add numa_IsMemoryInterleaved
  . numa_Allocate is now able to allocate large pages as well (reduces
TLB misses)
- os_cpu: interface change to support 32-bit apps running on WoW64
systems with > 4 GB of memory
- topology: use new x86_x64_EnumerateCaches API; fix detection of cache
ID
- x86_x64: provide the means of enumerating all caches returned by CPUID
and detect L1 cache size

This was SVN commit r6004.
2008-06-01 08:25:12 +00:00
0118bfd634 This was SVN commit r6003. 2008-06-01 02:21:31 +00:00
eaa68be2c0 This was SVN commit r6002. 2008-05-31 22:30:17 +00:00
9003c8002e This was SVN commit r6001. 2008-05-31 22:29:57 +00:00
446b857559 This was SVN commit r5999. 2008-05-31 21:32:05 +00:00
a845570fef add enet to external library definitions and add it as a dependency of the network and engine subsystems.
(required for dacian's new netcode)
warning: enet isn't yet compiled on OS X and linux

This was SVN commit r5997.
2008-05-31 20:00:37 +00:00
aa185909f4 This was SVN commit r5995. 2008-05-31 19:09:29 +00:00
9f3c3df49c fixed logic error in VFS choose-loose-or-archive-file decision (was causing the archive file to be used regardless of whether the loose one was newer or not)
This was SVN commit r5994.
2008-05-31 18:50:39 +00:00
3d6d8c1efc This was SVN commit r5993. 2008-05-28 03:19:28 +00:00
9b716a3583 This was SVN commit r5992. 2008-05-27 17:56:46 +00:00
8142b37fe8 This was SVN commit r5991. 2008-05-25 23:33:07 +00:00
3ec40c595a This was SVN commit r5990. 2008-05-25 23:32:37 +00:00
ef6f0041a4 This was SVN commit r5989. 2008-05-25 23:01:36 +00:00
80c3ac4f59 This was SVN commit r5988. 2008-05-25 23:01:17 +00:00
1f0ccac6f8 This was SVN commit r5987. 2008-05-25 22:00:24 +00:00
bb0251e161 This was SVN commit r5986. 2008-05-25 18:50:09 +00:00
eca0d1980a This was SVN commit r5985. 2008-05-25 18:45:14 +00:00
2f27f66b0a This was SVN commit r5984. 2008-05-25 18:41:16 +00:00
2002fd8036 This was SVN commit r5983. 2008-05-25 18:40:50 +00:00
Aeros
8754f3c43e added date palms - bobby
This was SVN commit r5981.
2008-05-25 09:39:23 +00:00
89bee4bf89 This was SVN commit r5980. 2008-05-25 02:45:38 +00:00
7031a718ea This was SVN commit r5979. 2008-05-24 23:44:28 +00:00
bafa9f4631 This was SVN commit r5978. 2008-05-24 22:20:55 +00:00
634f646d7f This was SVN commit r5977. 2008-05-23 23:26:32 +00:00
ad37239b33 This was SVN commit r5976. 2008-05-23 22:58:55 +00:00
29a7197e19 This was SVN commit r5974. 2008-05-23 19:28:55 +00:00
1f5d2ea1da This was SVN commit r5973. 2008-05-19 02:55:42 +00:00
576f25279a This was SVN commit r5972. 2008-05-19 02:22:29 +00:00
9df8993b93 This was SVN commit r5971. 2008-05-19 01:35:59 +00:00
9d41c74e53 This was SVN commit r5970. 2008-05-18 22:31:33 +00:00
d9f9b494bb This was SVN commit r5969. 2008-05-18 19:38:53 +00:00
926e769ea6 This was SVN commit r5968. 2008-05-18 19:28:38 +00:00
3f9aaa96aa This was SVN commit r5967. 2008-05-18 19:03:41 +00:00
0ad2f73af6 This was SVN commit r5966. 2008-05-18 03:21:02 +00:00
1702ef7bc4 Adjusted file naming
This was SVN commit r5965.
2008-05-18 00:24:38 +00:00
2665e1f354 This was SVN commit r5964. 2008-05-18 00:16:45 +00:00
75dc2f4fea This was SVN commit r5963. 2008-05-18 00:09:07 +00:00
77b78c9507 This was SVN commit r5962. 2008-05-17 23:39:30 +00:00
c62aedcf31 This was SVN commit r5961. 2008-05-17 23:36:31 +00:00
e727f7aac6 This was SVN commit r5960. 2008-05-17 20:20:09 +00:00
7d9818c431 This was SVN commit r5959. 2008-05-17 19:56:05 +00:00
cbcc136dc5 This was SVN commit r5958. 2008-05-17 02:46:33 +00:00
56fa688bdd This was SVN commit r5957. 2008-05-14 16:23:59 +00:00
2480adb4d0 This was SVN commit r5955. 2008-05-13 20:16:33 +00:00
04127c7af3 fixes/improvements to lib code from work
- topology.cpp: modify interface due to thread-safety issue. caller is
now responsible for ensuring the first _Detect call isn't reentered;
everything else is safe.
- fix thread-safety issue in wnuma; use winit mechanism to ensure it's
ready before use
- VFS now takes a cacheSize parameter (required for being able to
disable read-only file caches for the image loader at work)
- allow dynarray that isn't actually holding memory
- debug_stl: VC9 fix (disable this code except on the exact STL version
on which it was tested)
- zlib, lib_api: changes to macro used to toggle between static and
dynamic linking
- add boost filesystem header in external_libraries
- amd64: cpu_ topology functions are now provided by x86_x64
- cpu: remove cpu_ClockFrequency (dangerous, may be tempting to use
during WHRT init which would cause a crash). use x86_x64_ClockFrequency
or os_cpu_ClockFrequency instead.
- werrno: cope with newer boost versions
- wmman: follow SUSv3 in rejecting zero-length mappings

This was SVN commit r5954.
2008-05-13 19:43:02 +00:00
bafc8d0cfa lib code requires a macro to be set, otherwise it thinks it's being used in a DLL (rebuild workspace required)
This was SVN commit r5953.
2008-05-13 19:34:16 +00:00
d1a9348b91 major refactor of topology.cpp: each piece of information is detected separately on-demand (reduces coupling and static data)
fix documentation of ceil_log2 relating to input=0
remove os_cpu_SetThreadAffinity (redundant)
wcpu: make max # processors available via os_cpu.h; remove warning if
process affinity is restricted

This was SVN commit r5951.
2008-05-13 05:51:25 +00:00
6e46b897c9 add new source directory to premake list (-> update_workspace required)
This was SVN commit r5950.
2008-05-13 05:44:23 +00:00