Commit Graph

1476 Commits

Author SHA1 Message Date
Ykkrosh 373ed7fcb4 Avoid spurious Valgrind uninitialised-value warnings
This was SVN commit r7070.
2009-08-03 20:56:00 +00:00
Ykkrosh c93db6d057 Fix some GCC warnings
This was SVN commit r7067.
2009-08-02 19:52:31 +00:00
janwas ebac85ee81 # hopefully support non-admin accounts and unwritable directories by moving output folders to home/appdata
the old behavior (using directories under binaries/) can be kept by
passing -writableRoot on the command line.
the first game load will be slower than usual due to re-creation of
cached XMBs.

This was SVN commit r7065.
2009-08-02 11:07:42 +00:00
janwas 38737202cb wseh: write the minidump as soon as possible (inspired by http://www.wildfiregames.com/forum/index.php?showtopic=12533)
GameSetup: fix fs::path append (previous code compiled with VC2005 but
is apparently invalid)

This was SVN commit r7064.
2009-08-01 22:01:01 +00:00
janwas c8cfd8b40b # groundwork for separated data/cache etc. directories (XDG)
remove path.cpp (it was based on the premise that all data files lie
below binaries/data)

This was SVN commit r7063.
2009-08-01 19:37:38 +00:00
Ykkrosh c67e2429b0 Fix reported build error
This was SVN commit r7061.
2009-08-01 15:34:18 +00:00
janwas 46c437ad50 add missing vswprintf_s for non-Windows platforms
This was SVN commit r7060.
2009-08-01 12:14:39 +00:00
janwas 4d1ad62e81 # improvements to HPET driver
(experimental, use -wNoMahaf command line argument if this causes
breakage)
see #280

This was SVN commit r7058.
2009-08-01 11:22:29 +00:00
janwas 74d37b17f0 # (hopefully) correctly create missing directories, e.g. data/cache/
refs #279

This was SVN commit r7057.
2009-07-31 21:31:04 +00:00
janwas 9ca097da58 # add error checking for VFS directory creation
refs #279

This was SVN commit r7056.
2009-07-31 21:16:09 +00:00
janwas acb9658f81 philip correctly points out that local static init from constants isn't thread-safe, and we shouldn't rely on the compiler moving variables to BSS if their constant initializer is 0.
This was SVN commit r7055.
2009-07-31 17:48:45 +00:00
janwas 468a67d18c # miscellaneous improvements
- increase io depth and block size to better utilize FusionIO's crazy
bandwidth
- add OS error number to crashlog (error message may be localized and
illegible)

This was SVN commit r7054.
2009-07-31 16:42:39 +00:00
janwas f626396cad # fix infinite recursion (reporting errors in error reporting)
fixes #282
+ some refactoring

This was SVN commit r7053.
2009-07-31 16:39:54 +00:00
janwas 36549a61b1 # fix error code collision
fixes #283

This was SVN commit r7052.
2009-07-30 18:09:35 +00:00
Ykkrosh 6714d80fba Fix memory leak, Valgrind warnings
This was SVN commit r7051.
2009-07-28 20:13:26 +00:00
Ykkrosh 7d21402d0f Windows test fix
This was SVN commit r7050.
2009-07-28 18:49:22 +00:00
Ykkrosh 008d894dd7 Fix some GCC warnings
This was SVN commit r7048.
2009-07-28 16:59:19 +00:00
Ykkrosh 4ee7e26776 Add failing test for TraceEntry. Fix TraceEntry.
This was SVN commit r7046.
2009-07-28 10:24:42 +00:00
Ykkrosh f5f1d47aed Fix some GCC -Wextra warnings
This was SVN commit r7043.
2009-07-27 18:32:59 +00:00
Ykkrosh afcbbc94a7 Fix GCC type warnings
This was SVN commit r7042.
2009-07-27 18:30:22 +00:00
Ykkrosh cd0554c6bc Fix Linux build warnings
This was SVN commit r7034.
2009-07-25 20:35:48 +00:00
janwas 05d73edd2f # hopefully fix sound error when exiting
as per http://www.wildfiregames.com/forum/index.php?showtopic=12483
thanks to Ykkrosh and oliver!

This was SVN commit r7029.
2009-07-21 18:13:01 +00:00
olsner a866ade2d7 OS X compile fixes
This was SVN commit r7015.
2009-07-18 01:58:16 +00:00
olsner 032a41add6 Fix timer configuration: clock_gettime uses timespec, gettimeofday uses timeval.
This was SVN commit r7014.
2009-07-18 01:55:26 +00:00
olsner ae58c456e5 Fix detection of OpenAL string type (closes #268)
This was SVN commit r7013.
2009-07-18 00:30:27 +00:00
janwas 78c34c6753 update test to reflect new HeaderlessAllocator min. allocation size
This was SVN commit r7007.
2009-07-17 07:51:14 +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 df36e937f0 Patch from #258: [FreeBSD compat] add some missing includes
This was SVN commit r7001.
2009-07-16 16:53:55 +00:00
janwas 663fcfeb9a # macosx compile fix
(OpenAL ALC string definition differs on Windows vs OSX)

This was SVN commit r7000.
2009-07-16 16:48:06 +00:00
Ykkrosh a389dd3afa Fix buffer overflow on Linux
This was SVN commit r6996.
2009-07-16 12:35:23 +00:00
Ykkrosh ac38db53dd Try again to fix the GL 2.0 function names
This was SVN commit r6987.
2009-07-14 14:06:59 +00:00
Ykkrosh e9d99a7eea Fix glCreateShader too
This was SVN commit r6986.
2009-07-14 13:54:57 +00:00
Ykkrosh e33f3f5e64 Use the correct names for core shader functions in GL 2.0 implementations
This was SVN commit r6985.
2009-07-14 13:34:31 +00:00
Ykkrosh ed0e3097d4 # Fixed build on Linux
This was SVN commit r6921.
2009-06-23 19:46:52 +00:00
Ykkrosh c81ec63dee # Fixed Release build on Windows.
This was SVN commit r6920.
2009-06-23 19:46:03 +00:00
janwas d9bb1a7447 remove dbghelp and directx libraries (not redistributable)
move dbghelp and powrprof-specific stuff into external_libraries
dbghelp: dynamically import functions to avoid needing the .lib

This was SVN commit r6912.
2009-06-20 17:50:43 +00:00
janwas 9842b8df98 32/64-bit warning drudgery
also ensure off_t is always 64-bit (required at work)

This was SVN commit r6858.
2009-05-05 20:24:06 +00:00
janwas c27365045d 64-bit / big-endian fix (sscanf requires pointer to int)
This was SVN commit r6852.
2009-05-03 11:53:05 +00:00
janwas c4ae6001f9 fix relics of GPL comment insertion (removing empty description comments and in some cases adding new file descriptions)
test_XeroXMB.h: fix warning

This was SVN commit r6851.
2009-05-03 11:47:38 +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
Ykkrosh 7a4dd7b473 Set svn:eol-style=native
This was SVN commit r6828.
2009-04-18 16:14:48 +00:00
janwas 60f48f558d # infrastructure improvements
make off_t pointer-sized (required for >4gb files at work)
add shared_ptr deleter for free(), add ASSUME_ALIGNED, warning fixes

This was SVN commit r6826.
2009-04-18 08:41:10 +00:00
Ykkrosh 228859da99 # Fix water-related crash on some video drivers
Detect some errors loading fancy-water fragment shader, and disable
fancy water.
Fixes crash with Mesa on 945GM (which doesn't support fragment shaders,
though it advertises the extensions).

This was SVN commit r6773.
2009-03-24 21:00:41 +00:00
Ykkrosh 0f3e9cfa72 Avoid load-time dependency on Vista-only API
This was SVN commit r6754.
2009-03-19 23:37:18 +00:00
travis 602e90096b Fixed issue in VerifyPages that was preventing me from compiling on Vista.
#Vista compile fix

This was SVN commit r6650.
2009-01-31 23:30:24 +00:00
janwas d43636f8ae work-related additions:
x86_x64.cpp: detect TLBs (a major undertaking :/)
mem_util: export functions
win.h: hopefully avoid warnings from either vc2008 and vc2005 about
already defined win32 version macros
wnuma: revise large page heuristic (cause of slowdown is now known)

This was SVN commit r6600.
2009-01-06 20:17:06 +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
Ykkrosh 5228800b73 # Fixed Linux build
Use noncopyable instead of boost::noncopyable. (But maybe this should be
changed to the NONCOPYABLE macro instead?)
Use boost::filesystem::wpath::file_string instead of
external_file_string, since the latter varies between std::string on
Linux and std::wstring on Windows.
Use wcstombs instead of wcstombs_s.
Use rtl_AllocateAligned instead of _mm_malloc.

This was SVN commit r6574.
2009-01-02 21:19:41 +00:00