Commit Graph

4600 Commits

Author SHA1 Message Date
Mythos_Ruler 7dab976e34 This was SVN commit r5385. 2007-10-03 08:28:48 +00:00
Mythos_Ruler 2fdb618256 This was SVN commit r5384. 2007-10-03 00:26:53 +00:00
Mythos_Ruler 40bbcb4f13 This was SVN commit r5383. 2007-10-03 00:26:20 +00:00
Mythos_Ruler be83accf0c This was SVN commit r5382. 2007-10-02 23:58:54 +00:00
janwas 8a92304b25 better ARRAY_SIZE macro that refuses to compile when passed a pointer.
this prevents bugs along the lines of the recently reported
StringStripper issue.

This was SVN commit r5381.
2007-10-01 19:12:59 +00:00
olsner 89bf2e609a Fix crash bug in CPU detection (used sizeof pointer instead of strlen)
This was SVN commit r5380.
2007-09-29 17:09:13 +00:00
Mythos_Ruler 041af89ea2 This was SVN commit r5379. 2007-09-27 01:37:02 +00:00
Mythos_Ruler f74f2b360c This was SVN commit r5378. 2007-09-27 00:24:15 +00:00
Mythos_Ruler eeddee966e This was SVN commit r5377. 2007-09-26 22:48:12 +00:00
olsner ea65a2ad8e Picking up the pieces (part 1)
This was SVN commit r5376.
2007-09-26 05:30:57 +00:00
Mythos_Ruler a8066fe5e2 This was SVN commit r5375. 2007-09-26 05:14:52 +00:00
Mythos_Ruler 2f0e6fa521 This was SVN commit r5374. 2007-09-26 00:21:24 +00:00
Mythos_Ruler 00b444a7f6 This was SVN commit r5373. 2007-09-25 21:35:01 +00:00
janwas 82ef7fe089 cleanup
- malloc+error checking -> new
- better callback parameter name consistency (ctx -> cbData)

file_io: replace another manual malloc+free with shared_ptr
wclipboard: robustify _get as well

This was SVN commit r5372.
2007-09-25 10:43:11 +00:00
janwas f997c03028 add cppdoc documentation for compression
ucsize -> usize etc.

This was SVN commit r5371.
2007-09-25 10:06:02 +00:00
janwas f4adce44bf cleanup:
- callbacks now have a uintptr_t "cbData" parameter (instead of
haphazard void*/uintptr_t, cb/ctx/data)
- resource loading code now more uniformly deals with u8* pointers
instead of void*

allocators: add support for page_aligned_alloc via boost::shared_ptr.
add evil hack to avoid the need for default ctor and ensure alignment in
SingleAllocator
archive: improve Decompressor
compression:
. near complete rewrite (previous code was a poorly factored mess)
. fix bug related to buffer allocation
. no longer provide get_output API (prone to abuse)
. add call to get max. size of output buffer (for preallocation)

This was SVN commit r5370.
2007-09-25 09:39:20 +00:00
Mythos_Ruler 11eafe2401 #Elite Persian Asabari
This was SVN commit r5369.
2007-09-25 06:29:21 +00:00
Mythos_Ruler 3289d83f51 This was SVN commit r5368. 2007-09-25 04:12:12 +00:00
janwas 3f9b020169 hopefully bring linux and MacOS X into line with the newly refactored sysdep interface.
This was SVN commit r5367.
2007-09-23 16:15:46 +00:00
janwas ea791fc6ef add new sysdep linux dir to build (requires rebuilding the workspace)
This was SVN commit r5366.
2007-09-23 16:14:49 +00:00
janwas 7a5655edde # major refactoring of system-dependent code (simplifies build system)
cpu.cpp: avoided the need for wrapper functions by calling the
OS-specific function directly (declared in central header, implemented
in the platform's cpp file)

avoid the need for init in cpu and ia32 via if(!init) Init() pattern.

optimized memcpy now requires SSE support

remove error-prone CAS macro; replace with cpu_CAS
config: no longer require inline asm for float->int conversions
lib_error: remove special-case in CHECK_ERR for windows (no longer
needed)

This was SVN commit r5365.
2007-09-23 15:36:29 +00:00
janwas 56bd5b59b4 sysdep cleanup:
- factor cursor and clipboard out of sysdep.h
- remove empty sysdep.cpp
- wcpu: remove profiler code (it's in wprofiler.cpp if we ever need it)
- robustify clipboard code
- wsysdep: move code to determine app window into wutil; it's now used
by the clipboard code

This was SVN commit r5364.
2007-09-23 10:15:28 +00:00
janwas b776e58c67 use (newly added) cpu_PageSize instead of sysconf (avoids a critical order dependency on windows)
refactored sysdep code:
- avoid many #if OS_xxx.
- remove bsd.cpp, merge its contents with osx
- move linux-specific parts of unix/ into linux/

This was SVN commit r5363.
2007-09-23 08:05:38 +00:00
Mythos_Ruler 56662c817e This was SVN commit r5362. 2007-09-23 04:13:24 +00:00
Mythos_Ruler 9e6551a591 This was SVN commit r5361. 2007-09-23 04:13:15 +00:00
Mythos_Ruler 74dca35608 This was SVN commit r5360. 2007-09-23 04:12:57 +00:00
Mythos_Ruler caed8b9974 This was SVN commit r5359. 2007-09-19 06:45:13 +00:00
Mythos_Ruler 7e62d22d2f This was SVN commit r5358. 2007-09-19 06:44:33 +00:00
Mythos_Ruler ae7d0feea9 This was SVN commit r5357. 2007-09-19 06:34:38 +00:00
Mythos_Ruler dfec68cf4d This was SVN commit r5356. 2007-09-17 05:40:40 +00:00
Mythos_Ruler 99108990eb This was SVN commit r5355. 2007-09-17 04:11:11 +00:00
Mythos_Ruler ccf060c22f This was SVN commit r5354. 2007-09-17 00:54:43 +00:00
Mythos_Ruler bce08cb154 This was SVN commit r5353. 2007-09-17 00:36:54 +00:00
Mythos_Ruler b37842b9f0 This was SVN commit r5352. 2007-09-16 20:39:22 +00:00
Mythos_Ruler a1b2d7bbcd This was SVN commit r5350. 2007-09-16 20:26:34 +00:00
Mythos_Ruler 4db553f9e3 This was SVN commit r5349. 2007-09-16 20:24:39 +00:00
Matei ea878fddc6 Field footprint size reduced.
This was SVN commit r5348.
2007-09-16 20:03:37 +00:00
Matei 576a0aa421 # Made units that build a field start auto-gathering it. Also updated field foundation.
This was SVN commit r5347.
2007-09-16 20:01:57 +00:00
Alexander 8bc57c24ba Field size
This was SVN commit r5346.
2007-09-16 19:58:52 +00:00
Mythos_Ruler 21444c9b49 This was SVN commit r5345. 2007-09-16 19:50:16 +00:00
Matei 25e55c1657 # Fixed XML bug in field entity.
This was SVN commit r5344.
2007-09-16 19:15:16 +00:00
Mythos_Ruler ef8a16a150 This was SVN commit r5343. 2007-09-16 18:58:55 +00:00
Matei e732631a68 # Fixed a bug with hitpoints remaining at 0 while a building was built, and an initialization issue that prevented fields from being gatherable.
This was SVN commit r5342.
2007-09-16 17:43:38 +00:00
Mythos_Ruler 4e298e47cc This was SVN commit r5341. 2007-09-15 05:53:33 +00:00
Mythos_Ruler 97db341a96 This was SVN commit r5340. 2007-09-15 04:56:53 +00:00
Mythos_Ruler 69eb23d133 This was SVN commit r5339. 2007-09-15 04:56:26 +00:00
janwas a2c607d2d4 updated version with fixed bibliography
This was SVN commit r5338.
2007-09-08 16:05:52 +00:00
janwas 3f58951808 arg parsing code: wasn't properly handling "
This was SVN commit r5337.
2007-09-08 08:37:30 +00:00
janwas 5383eff15c implement the previously mentioned cmdline params
qpc: refactor IsSafe

This was SVN commit r5336.
2007-09-08 08:09:32 +00:00
janwas 87b0d08c0e new command line parameters:
- disable mahaf and thus all physical memory mapping or direct port IO
- promise that TSC-based QPC is safe on this system

This was SVN commit r5335.
2007-09-08 08:07:43 +00:00