Commit Graph

1463 Commits

Author SHA1 Message Date
36549a61b1 # fix error code collision
fixes #283

This was SVN commit r7052.
2009-07-30 18:09:35 +00:00
6714d80fba Fix memory leak, Valgrind warnings
This was SVN commit r7051.
2009-07-28 20:13:26 +00:00
7d21402d0f Windows test fix
This was SVN commit r7050.
2009-07-28 18:49:22 +00:00
008d894dd7 Fix some GCC warnings
This was SVN commit r7048.
2009-07-28 16:59:19 +00:00
4ee7e26776 Add failing test for TraceEntry. Fix TraceEntry.
This was SVN commit r7046.
2009-07-28 10:24:42 +00:00
f5f1d47aed Fix some GCC -Wextra warnings
This was SVN commit r7043.
2009-07-27 18:32:59 +00:00
afcbbc94a7 Fix GCC type warnings
This was SVN commit r7042.
2009-07-27 18:30:22 +00:00
cd0554c6bc Fix Linux build warnings
This was SVN commit r7034.
2009-07-25 20:35:48 +00:00
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
a866ade2d7 OS X compile fixes
This was SVN commit r7015.
2009-07-18 01:58:16 +00:00
032a41add6 Fix timer configuration: clock_gettime uses timespec, gettimeofday uses timeval.
This was SVN commit r7014.
2009-07-18 01:55:26 +00:00
ae58c456e5 Fix detection of OpenAL string type (closes #268)
This was SVN commit r7013.
2009-07-18 00:30:27 +00:00
78c34c6753 update test to reflect new HeaderlessAllocator min. allocation size
This was SVN commit r7007.
2009-07-17 07:51:14 +00:00
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
df36e937f0 Patch from #258: [FreeBSD compat] add some missing includes
This was SVN commit r7001.
2009-07-16 16:53:55 +00:00
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
a389dd3afa Fix buffer overflow on Linux
This was SVN commit r6996.
2009-07-16 12:35:23 +00:00
ac38db53dd Try again to fix the GL 2.0 function names
This was SVN commit r6987.
2009-07-14 14:06:59 +00:00
e9d99a7eea Fix glCreateShader too
This was SVN commit r6986.
2009-07-14 13:54:57 +00:00
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
ed0e3097d4 # Fixed build on Linux
This was SVN commit r6921.
2009-06-23 19:46:52 +00:00
c81ec63dee # Fixed Release build on Windows.
This was SVN commit r6920.
2009-06-23 19:46:03 +00:00
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
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
c27365045d 64-bit / big-endian fix (sscanf requires pointer to int)
This was SVN commit r6852.
2009-05-03 11:53:05 +00:00
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
1743645fd3 Simplify the overly-complex CppDoc-breaking file headers
This was SVN commit r6832.
2009-04-18 17:51:05 +00:00
214b0e6683 Removed outdated licensing information
This was SVN commit r6831.
2009-04-18 17:17:34 +00:00
c9fa7f13d9 Add GPL header
This was SVN commit r6830.
2009-04-18 17:00:33 +00:00
7a4dd7b473 Set svn:eol-style=native
This was SVN commit r6828.
2009-04-18 16:14:48 +00:00
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
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
0f3e9cfa72 Avoid load-time dependency on Vista-only API
This was SVN commit r6754.
2009-03-19 23:37:18 +00:00
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
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
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
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
16ccae10cd # fix warnings
more icc11 fixes - mostly type conversion and noncopyable (now made a
macro)

This was SVN commit r6536.
2008-12-17 16:32:46 +00:00
387722d41e # code cleanup/fixes
improvements from work:
- no longer export classes; instead inline functions where it makes
sense (e.g. the scope timers) or export the member functions directly
- fix icc11 warnings
- add some comments

This was SVN commit r6531.
2008-12-16 21:13:04 +00:00
3da952a036 add missing DLL
move svn_revision stuff to build/svn_revision

This was SVN commit r6529.
2008-12-08 07:34:20 +00:00
12e59fd850 # groundwork for embedding svn revision number into the EXE for debugging
add svnversion from official svn cmdline client distro and its
dependencies
add a horrible batch file that reads its output and writes it to a text
file as a quoted string
(see http://www.wildfiregames.com/forum/index.php?showtopic=12104&hl=)

This was SVN commit r6528.
2008-12-07 22:21:10 +00:00
f7d5711623 additions from work:
add shared_ptr wrapper for numa_allocator and page_aligned_alloc
(removing previous code from shared_ptr.cpp)
pch: add TR1 array
wposix: add setenv
wtime: add strptime

This was SVN commit r6486.
2008-11-20 16:35:30 +00:00
1f065ffb02 fix gcc compile error
This was SVN commit r6461.
2008-11-03 07:46:30 +00:00
c0a5dde4bf jan's modifications
This was SVN commit r6431.
2008-10-18 18:42:23 +00:00
841293ee0a minor improvements from work
This was SVN commit r6419.
2008-10-13 15:08:30 +00:00
34b418e0c1 slight improvement, use ARCH_X86_X64 instead of ARCH_IA32||ARCH_AMD64
This was SVN commit r6411.
2008-09-27 10:23:05 +00:00
aea2368300 fixes to stack trace code under x64 (from work):
- displaying symbol values requires stack pointer, not frame pointer
- update debug_IsPointerBogus
- skip-n-frames code changed to skip-all-frames-up-to-func (more
reliable in the face of inlining)

debug.cpp: cleanup

This was SVN commit r6410.
2008-09-27 10:05:11 +00:00
164f250e5b This was SVN commit r6406. 2008-09-20 18:37:22 +00:00
0f559024db file: for unicode Open function, convert input to UTF8 and delegate to char* version (avoids hacky assignment to m_pathname, and also necessary because _wfopen isn't portable)
secure_crt.cpp: provide implementation of _wfopen_s

SoundGroup: fix: all attributes now have default values in case the XML
file leaves out some fields

This was SVN commit r6405.
2008-09-20 17:42:43 +00:00
c3a42633fa fix stupidly incorrect calculation of smoothed frequency and timer resolution (fixes observed dependence of sim rate on framerate, see http://www.wildfiregames.com/forum/index.php?showtopic=1671)
also improved filtering of the frame delta times.
while at it, improved interface of whrt backends to avoid leaking
implementation details.

This was SVN commit r6401.
2008-09-19 17:56:05 +00:00