1
0
forked from 0ad/0ad
Commit Graph

5094 Commits

Author SHA1 Message Date
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
46fdb5bc79 This was SVN commit r5949. 2008-05-13 02:13:16 +00:00
65b9a4b6b4 This was SVN commit r5948. 2008-05-13 01:51:46 +00:00
885d58126a This was SVN commit r5947. 2008-05-13 01:47:12 +00:00
b429c492ff (hopefully correctly) port the new os_cpu functions to Linux and OSX
the OSX port lacks thread affinity (too complex, can't test), but a link
to the API documentation is included.

This was SVN commit r5946.
2008-05-12 18:38:48 +00:00
ffdff6888d add NUMA and shared-L2-cache detect code (required at work)
enable most of IA-32 specific code to be used in amd64 (resides in
directory lib/sysdep/x86_x64)

bits: add IsBitSet
remove mem_PageSize (use os_cpu_PageSize instead)
cpuid: change interface to allow gracefully supporting later
subfunctions that require input parameters
amd64_asm.asm: add amd64 implementation of cpuid
cpu: move functions provided by OS to sysdep/os_cpu.cpp
cpu topology: avoid trouble when process affinity is set by remapping
processor numbers to 0..PopulationCount(processAffinity)
topology.cpp: move ex-ia32 topology code here.

This was SVN commit r5945.
2008-05-12 18:15:08 +00:00
7152e4a3e6 This was SVN commit r5944. 2008-05-12 05:20:45 +00:00
f201dc0c30 This was SVN commit r5943. 2008-05-11 18:56:16 +00:00
c0ed950657 had to remove uint and ulong from lib/types.h due to conflict with other library.
this snowballed into a massive search+destroy of the hodgepodge of
mostly equivalent types we had in use (int, uint, unsigned, unsigned
int, i32, u32, ulong, uintN).

it is more efficient to use 64-bit types in 64-bit mode, so the
preferred default is size_t (for anything remotely resembling a size or
index). tile coordinates are ssize_t to allow more efficient conversion
to/from floating point. flags are int because we almost never need more
than 15 distinct bits, bit test/set is not slower and int is fastest to
type. finally, some data that is pretty much directly passed to OpenGL
is now typed accordingly.

after several hours, the code now requires fewer casts and less
guesswork.

other changes:
- unit and player IDs now have an "invalid id" constant in the
respective class to avoid casting and -1
- fix some endian/64-bit bugs in the map (un)packing. added a
convenience function to write/read a size_t.
- ia32: change CPUID interface to allow passing in ecx (required for
cache topology detection, which I need at work). remove some unneeded
functions from asm, replace with intrinsics where possible.

This was SVN commit r5942.
2008-05-11 18:48:32 +00:00
9951af47c7 This was SVN commit r5939. 2008-05-09 23:31:31 +00:00
xrenmilay
07cacef845 This was SVN commit r5937. 2008-05-09 17:20:27 +00:00
a164dfa14c This was SVN commit r5927. 2008-05-08 20:20:09 +00:00
6d28f12c25 This was SVN commit r5924. 2008-05-08 04:45:14 +00:00
66dbb059ea This was SVN commit r5923. 2008-05-08 04:13:49 +00:00
690d33d5e8 This was SVN commit r5922. 2008-05-08 00:42:18 +00:00
191c05864e This was SVN commit r5921. 2008-05-08 00:30:04 +00:00
8b572bca35 This was SVN commit r5920. 2008-05-08 00:11:31 +00:00
5a0403b083 Fixed waterfall_31.ogg loop, and adjusted overall levels of water sounds to be clear and consistant with eachother
This was SVN commit r5919.
2008-05-07 23:14:20 +00:00
500e22ab6f Updated svn:ignore for some auto-generated files
This was SVN commit r5917.
2008-05-07 23:04:46 +00:00
547c9d4017 This was SVN commit r5916. 2008-05-07 23:00:39 +00:00
489f5bf3ed This was SVN commit r5915. 2008-05-07 22:53:30 +00:00