e31ca32479
fixing throwing exception
...
This was SVN commit r7146.
2009-09-26 19:18:15 +00:00
90f6641c1d
Removing PS_RESULT errors from GUI, return values still need work
...
Affects Ticket #128
This was SVN commit r7145.
2009-09-23 21:16:55 +00:00
fc0ad44125
Removing CGUIList.cpp to repair compilation warning
...
Affects Ticket #128
This was SVN commit r7143.
2009-09-13 20:36:34 +00:00
724418b1d6
Use extended regexps instead of advanced, for portability
...
This was SVN commit r7140.
2009-09-11 16:41:18 +00:00
b5c7e3edac
fix: output distance information in case of error to aid in diagnosis
...
This was SVN commit r7133.
2009-09-07 21:06:44 +00:00
93ab45e434
simplify file implementation (remove unnecessary layer of abstraction)
...
ensure struct stat has 64-bit fields on windows
also fixed some warnings
This was SVN commit r7120.
2009-08-24 21:04:01 +00:00
cd6a926c14
Fix #293 (Lots of printf format string errors), based on patch from Cygal
...
This was SVN commit r7113.
2009-08-14 18:42:39 +00:00
92786e368b
use a simple linear distance model for attenuation
...
This was SVN commit r7112.
2009-08-12 21:28:10 +00:00
4c4fec0644
# fix sound error on Linux
...
Linux OpenALsoft implementations weren't resetting source state
correctly when stopping/clearing buffer queue, leading to errors when
the source was reused. workaround: use 'rewind' to ensure the buffer
state is updated.
closes #297 (please reopen if the problem persists)
This was SVN commit r7111.
2009-08-12 20:27:37 +00:00
cb19c159a2
Add list of code contributors
...
This was SVN commit r7110.
2009-08-12 15:53:02 +00:00
f4cdd7098c
Fix #251 (Config parser doesn't ignore comments), based on patch from Cygal
...
This was SVN commit r7109.
2009-08-12 15:17:35 +00:00
119eb08b47
fix potential bug when reusing OpenAL sources (rollover wasn't always set)
...
This was SVN commit r7108.
2009-08-11 20:26:50 +00:00
43950c2fde
Simplify sys_get_executable_name by using realpath
...
This was SVN commit r7104.
2009-08-09 20:28:46 +00:00
2114bf6795
Fix secure_crt to match MSVC and pass tests
...
This was SVN commit r7102.
2009-08-09 19:11:14 +00:00
4cebd021b0
fix insidious 32-bit bug that was causing invalid struct stat offsets
...
This was SVN commit r7100.
2009-08-09 17:04:17 +00:00
369820c315
fix self-test problems exposed by more complete coverage (thanks, Philip!)
...
refs #294
This was SVN commit r7099.
2009-08-09 09:42:23 +00:00
bd9bc6db78
Enable invalid parameter tests for VC's Secure CRT
...
This was SVN commit r7097.
2009-08-08 19:18:16 +00:00
f4fbe9dc1a
Extend the sprintf_s tests
...
This was SVN commit r7096.
2009-08-08 19:07:03 +00:00
7bbb4d4777
add more detailed OpenAL error reporting (the line number of AL_CHECK invocation, to allow exact determination of the faulting function)
...
This was SVN commit r7094.
2009-08-08 16:12:02 +00:00
2001557224
Make jsval typedef match the bundled spidermonkey headers
...
This was SVN commit r7093.
2009-08-08 13:25:23 +00:00
0ef5f357be
fix behavior of *sprintf_s
...
add philip's test_printf
also add note to archive_builder
This was SVN commit r7089.
2009-08-08 11:13:05 +00:00
10cc678ffb
move Paths into separate file (requires update-workspaces)
...
This was SVN commit r7088.
2009-08-08 11:11:26 +00:00
62122370b5
# fix self-test
...
(needed to replace the functionality formerly provided by path_SetRoot)
This was SVN commit r7087.
2009-08-08 11:10:56 +00:00
6b619cfb38
remove obsolete NO_GUI that's just cluttering up the code
...
This was SVN commit r7086.
2009-08-08 10:04:43 +00:00
5c8861adf4
Remove redundant -L linker arguments on non-Windows.
...
Fix some compiler warnings.
Fix missing non-PCH headers.
This was SVN commit r7083.
2009-08-07 17:22:05 +00:00
6374080b60
# Fixed Linux execution problem. Extended unit-test system.
...
Fix sys_get_executable_name.
Add mock object support.
Add CxxTest wrapper to support "-test TestSuitename" and "-test
TestSuitename::test_case_name" command-line arguments for running
individual tests.
This was SVN commit r7081.
2009-08-07 15:21:39 +00:00
58ee7038db
Fix CLogger tests
...
This was SVN commit r7080.
2009-08-07 14:25:14 +00:00
5b302658a3
# fix permissions of created directories
...
also took the opportunity to move file_system_posix to file_system since
a further FS abstraction layer = YAGNI. also namespaced
file_system_util.
This was SVN commit r7074.
2009-08-04 19:57:53 +00:00
4a4269824b
Add more vararg error-checking annotation
...
This was SVN commit r7073.
2009-08-04 16:08:41 +00:00
d83945e1e7
Annotate functions that have printf-style format strings, for compile-time type checking (see #293 )
...
This was SVN commit r7072.
2009-08-04 13:31:41 +00:00
3726a7c9b1
# safely and silently handle disabled WMI service
...
(see http://www.wildfiregames.com/forum/index.php?showtopic=12548&hl= )
This was SVN commit r7071.
2009-08-03 21:24:00 +00:00
373ed7fcb4
Avoid spurious Valgrind uninitialised-value warnings
...
This was SVN commit r7070.
2009-08-03 20:56:00 +00:00
bcd47ddcbb
Change default (when no config file is loaded) from fullscreen to windowed
...
This was SVN commit r7069.
2009-08-03 20:22:04 +00:00
5294821694
Attempt to fix type ambiguity ( http://www.wildfiregames.com/forum/index.php?showtopic=12546 )
...
This was SVN commit r7068.
2009-08-03 09:50:23 +00:00
c93db6d057
Fix some GCC warnings
...
This was SVN commit r7067.
2009-08-02 19:52:31 +00:00
36e534fc22
compile fix for non-windows platforms
...
This was SVN commit r7066.
2009-08-02 15:04:52 +00:00
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
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
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
7976d84a3d
Remove external resources and make log files standalone, to simplify installation
...
This was SVN commit r7062.
2009-08-01 18:16:12 +00:00
c67e2429b0
Fix reported build error
...
This was SVN commit r7061.
2009-08-01 15:34:18 +00:00
46c437ad50
add missing vswprintf_s for non-Windows platforms
...
This was SVN commit r7060.
2009-08-01 12:14:39 +00:00
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
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
9ca097da58
# add error checking for VFS directory creation
...
refs #279
This was SVN commit r7056.
2009-07-31 21:16:09 +00:00
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
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
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
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
cdfb58a62f
Fix some more GCC warnings
...
This was SVN commit r7045.
2009-07-28 09:27:56 +00:00
38782c4606
Fix infinite loop on writing maps with cinematics (reported by GCC -Wextra)
...
This was SVN commit r7044.
2009-07-27 18:33:56 +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
14cd4ed7a7
Fix signed/unsigned warning
...
This was SVN commit r7037.
2009-07-26 10:36:32 +00:00
f1b6b40adf
# Fix build issues by removing FCollada's bundled libxml2
...
On Windows, dynamically link to our standard libraries/libxml2/...
implementation.
This was SVN commit r7035.
2009-07-26 09:48:10 +00:00
cd0554c6bc
Fix Linux build warnings
...
This was SVN commit r7034.
2009-07-25 20:35:48 +00:00
4409f18f59
Revert 649ff371b4
since it breaks 64-bit Linux, and the real problem is in the OS X build.
...
This was SVN commit r7032.
2009-07-25 14:22:21 +00:00
649ff371b4
# 64-bit compile fix
...
(see http://www.wildfiregames.com/forum/index.php?showtopic=12448 )
This was SVN commit r7031.
2009-07-25 12:03:16 +00:00
21b3d13c64
Avoid calling unnecessary inline functions, to work around GCC visibility issues (see #281 )
...
This was SVN commit r7030.
2009-07-22 16:37:40 +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
7a942d29e7
Only try to use valgrind stuff if --with-valgrind is given to update-workspaces.sh
...
This was SVN commit r7018.
2009-07-18 02:06:42 +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
6525cfd39e
Patch from #259 : [FreeBSD compat] portability fixes
...
This was SVN commit r7002.
2009-07-16 16:57:59 +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
fcf9db0d53
Decode invalid utf-8 more gracefully (invalid bytes becomes U+FFFD)
...
This was SVN commit r6999.
2009-07-16 15:52:18 +00:00
271823cf7e
Decode input as utf-8 in JSI_VFS::ReadFile, JSI_VFS::ReadFileLines
...
This was SVN commit r6998.
2009-07-16 15:51:35 +00:00
a389dd3afa
Fix buffer overflow on Linux
...
This was SVN commit r6996.
2009-07-16 12:35:23 +00:00
af7f2a2300
Add includes of ScriptableComplex.inl to fix link errors in release config
...
This was SVN commit r6988.
2009-07-14 15:11:05 +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
9e3b4276f9
Fixed build on Windows
...
This was SVN commit r6938.
2009-07-02 14:04:59 +00:00
98fe150d1e
Atlas C++/JS editing tool bridge
...
This was SVN commit r6937.
2009-07-02 13:41:41 +00:00
4d4dc98bb5
# Integrated Actor Viewer tool into the Scenario Editor
...
and rewrote its UI in JS, but lost a few features (which could be added
back later)
This was SVN commit r6936.
2009-07-02 12:58:51 +00:00
cc572d26c7
Fixed wxJS GetKeyState. Fixed crash when manipulating a destroyed button.
...
This was SVN commit r6935.
2009-07-02 11:47:32 +00:00
de78e22094
Fixed memory leak
...
This was SVN commit r6934.
2009-06-27 10:53:19 +00:00
34d0f012e8
# Converted Atlas's object-settings UI into JavaScript.
...
(Note: This breaks the Actor Viewer, hopefully temporarily.)
This was SVN commit r6932.
2009-06-26 22:43:49 +00:00
9a977c9962
Fixed Linux build issue
...
This was SVN commit r6931.
2009-06-26 21:49:46 +00:00
b7802901c5
Added wxSizer::clear to wxJS
...
This was SVN commit r6930.
2009-06-26 21:45:37 +00:00
0e9169a158
Avoid boolean ambiguity
...
This was SVN commit r6929.
2009-06-26 21:44:54 +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
ea29b5fac2
# Simplified local configuration changes.
...
default.cfg shouldn't be edited by normal users; local.cfg can be used
for any local tweaks.
Removed old profile files, since they add clutter and aren't useful yet.
This was SVN commit r6919.
2009-06-23 17:48:34 +00:00
cf17fe13ce
# Added test for old Collada import error.
...
This was SVN commit r6918.
2009-06-23 17:47:37 +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
a56bd4b2c1
Add GPL header to Atlas code
...
This was SVN commit r6910.
2009-06-20 16:13:29 +00:00
43ba574b85
Set svn:eol-style=native
...
This was SVN commit r6909.
2009-06-20 16:11:53 +00:00
bc78e877be
Add a script that I forgot to commit earlier
...
This was SVN commit r6908.
2009-06-20 14:57:02 +00:00
37dbdf4969
Expose wxGetKeyState via wxJS
...
This was SVN commit r6907.
2009-06-20 14:53:38 +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