1
0
forked from mirrors/0ad

Commit Graph

  • c9a6af2134 Add tests for fpclassify functions (currently failing on Windows) Ykkrosh 2010-01-05 20:29:58 +00:00
  • aafe575445 Fix buffer overflow in logger. Add tests for it. Make this kind of error harder to miss. Ykkrosh 2010-01-05 19:55:09 +00:00
  • 97db62c944 fix handling of non-CP1252 characters in paths (added wide-character versions of posix opendir etc. - on Windows, we must not convert to UTF8) janwas 2010-01-05 19:44:30 +00:00
  • 33ab686128 Fix scanf buffer size Ykkrosh 2010-01-04 19:15:24 +00:00
  • b0dcf49893 fix a hack that broke after switching to _wsopen_s (which ensures the pmode parameter only has read/write bits set) (see http://www.wildfiregames.com/forum/index.php?showtopic=12560&hl=) janwas 2010-01-03 15:58:06 +00:00
  • 936be062ac non-VC compile fix: map scanf_s to scanf etc. janwas 2010-01-01 23:38:07 +00:00
  • 03726c0b54 ICC build fixes warning fixes get rid of SAFE_WCSCPY and SAFE_STRCPY janwas 2010-01-01 15:33:07 +00:00
  • 5a53b3183a Remove old debug statement Ykkrosh 2009-12-31 16:47:02 +00:00
  • 5e0ae351db fix further 64-bit trouble janwas 2009-12-30 20:47:55 +00:00
  • b443627571 64-bit build fix janwas 2009-12-30 20:38:40 +00:00
  • c0662bcfd0 fix: OpenAL source suballocator wasn't thread-safe nor capable of detecting double-frees (see http://www.wildfiregames.com/forum/index.php?showtopic=12774&hl=) janwas 2009-12-30 16:42:47 +00:00
  • 5f56ec86e9 fix waio error handling and update comments janwas 2009-12-30 14:28:24 +00:00
  • 8d94e1f0e3 Fix (but not perfectly) the functions for entity scripts to display messages in the GUI Ykkrosh 2009-12-30 12:53:59 +00:00
  • 3d2b3b44ec wildebeest Mythos_Ruler 2009-12-30 07:08:26 +00:00
  • fe92d524d6 Fix JS_THREADSAFE redefinitions (it's defined by the build system now) Ykkrosh 2009-12-28 17:07:29 +00:00
  • 00409b9583 # Support latest version of SpiderMonkey Add --with-spidermonkey-tip option to Premake Ykkrosh 2009-12-28 16:45:42 +00:00
  • 0765207641 Fix ScriptingHost with threadsafe debug JS builds Ykkrosh 2009-12-28 14:50:20 +00:00
  • b3d2f665d3 Fix ConfigDB storing invalid values (with LSB set) in JS privates Ykkrosh 2009-12-28 14:49:31 +00:00
  • 6cb4b61a39 This was SVN commit r7226. Mythos_Ruler 2009-12-24 05:37:42 +00:00
  • ceb8cb2738 This was SVN commit r7225. Mythos_Ruler 2009-12-24 05:32:44 +00:00
  • a39cb0c83e Fix --without-pch build Ykkrosh 2009-12-23 01:46:44 +00:00
  • 1bba0fe8e3 This was SVN commit r7223. Mythos_Ruler 2009-12-15 00:35:31 +00:00
  • 6fbc524e65 # Terrain-related bug fixes Fix several off-by-one errors Reorder some loops to be theoretically more efficient Other minor cleanups Ykkrosh 2009-12-12 17:52:38 +00:00
  • f60a92ed2f This was SVN commit r7220. Mythos_Ruler 2009-12-07 13:34:33 +00:00
  • 7db690be96 This was SVN commit r7219. Mythos_Ruler 2009-12-07 12:46:12 +00:00
  • 503341ae4c Stop Premake's Makefile calling Premake to remake its Makefile, before making Premake Ykkrosh 2009-12-05 23:57:58 +00:00
  • 72ce122146 # Fix OS X build error Fixes #414 (wcscasecmp does not exist on OS X), based on patch from wacko Ykkrosh 2009-12-03 22:55:33 +00:00
  • 9709e80936 Fix MSVC warning Ykkrosh 2009-12-03 21:13:27 +00:00
  • f0d9806b3f # Restructured GUI implementation CGUI now represents a single 'page'. CGUIManager maintains multiple pages and switches between them. Split the XML files into pregame, loading, session and messagebox pages. Added hotloading of GUI pages. Minor GUI cleanups. (Merge from hg 81862d33780c) Ykkrosh 2009-12-03 20:17:22 +00:00
  • f85f0c0c2e (Dummy change to help hgsvn) Ykkrosh 2009-12-03 20:10:22 +00:00
  • 455137afed Fix broken tests Ykkrosh 2009-11-24 15:36:08 +00:00
  • ab14b71a76 List Lars Kemmann (Caius), for patch in 181a3529de Ykkrosh 2009-11-24 13:34:38 +00:00
  • 88ad49bfc2 OS X build fix Ykkrosh 2009-11-23 13:02:07 +00:00
  • 835c0d05b0 Disable -fomit-frame-pointers in optimised builds, so that oprofile callgraph works Ykkrosh 2009-11-20 12:56:11 +00:00
  • 181a3529de Fix #402 (Clean up GUItypes.h), based on patch from Caius Ykkrosh 2009-11-19 21:44:19 +00:00
  • 74df8c7105 * Modification to deer_mesh.dae Wijitmaker 2009-11-18 00:57:41 +00:00
  • 7738eecbb0 icc build fix janwas 2009-11-16 23:45:56 +00:00
  • f7e16d9f3e Code coverage measurement support (with lcov) Ykkrosh 2009-11-16 21:23:43 +00:00
  • 22ac887785 fix: don't raise warnings when overwriting previous realDirectory (e.g. in the case of multiple mods mounting into the same directory) causes previous directory watches to be canceled janwas 2009-11-16 21:01:36 +00:00
  • 781538313c use lib/wchar.h for UTF8 conversion (avoid duplication, more aware of wchar_t differences and surrogate pairs) fixes #400 janwas 2009-11-16 20:05:03 +00:00
  • b51a0187bf Fix potential unfreed memory on shutdown Ykkrosh 2009-11-14 19:12:09 +00:00
  • 78bc63d92c VC fix: mustn't use filename/parent_path instead of leaf/branch_path because those aren't yet available in the version of boost we're currently using. janwas 2009-11-14 18:32:27 +00:00
  • a444e6febc Don't use wide print functions on typically-byte-oriented streams Ykkrosh 2009-11-14 11:03:43 +00:00
  • c377a69823 # Fix startup problem on Linux Fix CreateDirectories when paths end in '/' Use boost::filesystem parent_path in it, instead of deprecated branch_path Ykkrosh 2009-11-14 10:57:08 +00:00
  • 51f16c30d1 Fix recently-introduced bug Ykkrosh 2009-11-14 00:08:16 +00:00
  • af8d7ce98d Fix tests on Linux Ykkrosh 2009-11-13 20:51:04 +00:00
  • 6c8c99a107 # Greatly improve startup time on Linux, and avoid deadlocks Handle FAM events in a background thread, instead of reading synchronously Ykkrosh 2009-11-13 20:26:20 +00:00
  • beb3417b03 Build and link with the more correct -pthread option on Linux, instead of -lpthread Ykkrosh 2009-11-13 20:24:21 +00:00
  • 5174a0a1ce Fix GCC warnings Ykkrosh 2009-11-13 00:49:58 +00:00
  • 44066f5ae4 GCC build fix Ykkrosh 2009-11-12 19:35:28 +00:00
  • 345395375a wchar: only raise warning dialog if caller doesn't ask for a return code update test_wchar accordingly. app_hooks: update documentation janwas 2009-11-10 21:07:18 +00:00
  • 7a6109f474 debug_SkipNextError changed to debug_SkipErrors (allow skipping multiple instances of the same error code until the next debug_StopSkippingErrors, which returns the number that were skipped) also: - add listing of error codes to avoid collisions - cpu: add cpu_MemoryBarrier - wchar: warn whenever a character is replaced/invalid bytes are encountered janwas 2009-11-10 15:48:41 +00:00
  • 6ee9dd8afe GCC build fixes Ykkrosh 2009-11-09 21:40:24 +00:00
  • ff15c522fe implement changes suggested by Philip: janwas 2009-11-09 20:53:48 +00:00
  • 593bf6a571 GCC build fixes Ykkrosh 2009-11-09 17:36:39 +00:00
  • 450da0aaf7 rename [w]string_to_[w]string UTF8 add safer/more portable/less dependent on locale implementation of wchar_t <-> UTF8 janwas 2009-11-09 14:52:51 +00:00
  • 33ec9060dd gcc compile fix (thanks to Heron for reporting the problem) janwas 2009-11-08 18:58:14 +00:00
  • 6cc0b1649a robustified GetPatch / GetTile: janwas 2009-11-08 16:49:52 +00:00
  • 259f3990df Fix inconsistency in Dehydra script Ykkrosh 2009-11-07 13:38:31 +00:00
  • 934bc31246 Fix GCC build error Ykkrosh 2009-11-07 13:34:11 +00:00
  • 43e26aa3f6 2 more dehydra fixes janwas 2009-11-07 12:31:18 +00:00
  • 2ef4e7353e self-test and x64 fixes: janwas 2009-11-07 12:26:40 +00:00
  • 7cf2888323 fix to sys_vswprintf's buffer termination (caught by self-test) janwas 2009-11-07 09:42:25 +00:00
  • f432d9d18b fix dehydra warnings (some of which were dangerous pass-user-string-as-format-string vulnerabilities) janwas 2009-11-07 09:32:19 +00:00
  • 378bd89c1d Annotate some more printf-style functions, for type checking Ykkrosh 2009-11-06 23:06:50 +00:00
  • d7a057143d An initial Dehydra-based static analysis script for type-checking printf-style functions Ykkrosh 2009-11-06 22:48:11 +00:00
  • 3334c83ce0 Fix build and tests on Linux Ykkrosh 2009-11-06 18:35:32 +00:00
  • 048d4c41c8 fix: unix doesn't have a standard wopen(). we'd like to use wchar_t _wopen on Windows, and convert to UTF8+open() on unix, which calls for adding a new sys_wopen() interface to sysdep. janwas 2009-11-06 16:46:08 +00:00
  • 607ea6f8b4 chip away at gcc errors/warnings janwas 2009-11-06 16:15:09 +00:00
  • 6ec9128e78 refactor: move reload functionality into ps/Filesystem to allow reloading non-resource files (e.g. scripts); VFS is now responsible for returning VirtualPath and invalidating the changed file/directory janwas 2009-11-06 11:50:04 +00:00
  • 9662666403 more string drudgery - sprintf, snprintf -> sprintf_s (ensures 0-termination of result) - use %s instead of %hs with sprintf_s to avoid GCC warnings - convert h_mgr's to_string to unicode janwas 2009-11-06 10:59:10 +00:00
  • 25717ef768 add VirtualPath API to VFS in preparation for moving hotload logic out of library code and into the game. also rename GetRealPath -> RealPath + some cleanup/documentation janwas 2009-11-06 01:30:16 +00:00
  • 8fefedb5ae fix: native and vfs directory paths should end with '/' (more code cares about this now) refactor: simplify dir_watch_Poll interface (returns vector) wdir_watch: major refactor: use shared_ptr for reference-counting shared watch state remove no longer needed path_util functions janwas 2009-11-05 20:46:15 +00:00
  • 5ba40becc5 avoid unspecified behavior due to definition of __WFILE__ (now use WIDEN(__FILE__) instead) fix inadvertent breakage of gfx_detect's SHORTEN janwas 2009-11-04 23:00:53 +00:00
  • 4c44602ea0 add support for hotloading (i.e. reacting to directory change notifications and reloading the affected files) also clean up VFS a bit. ogl_tex now tolerates deleting/renaming texture files that are in use (except for a warning message which can be 'continue'd) janwas 2009-11-04 22:35:54 +00:00
  • b48e877f5b VFS fixes+refactoring - fix: archive_zip: avoid crash if zip file contains empty filenames - real_directory: enable dir watch - refactor vfs_tree interface (move recursive calls into VFS) - VFS: return text representation instead of only printing it janwas 2009-11-04 17:26:54 +00:00
  • 77d2c67ada misc. string fixes janwas 2009-11-04 15:29:28 +00:00
  • e29d5a779f fix: wprintf: buffer mustn't be unicode (caught by self-test) test_wdbg_sym - reenable, add test for basic stack walking ia32_GetCallTarget - move frequent cases to front, add support for ILT function trampolines wdbg_sym: fix: ia32_walk_stack wasn't setting AddrStack; fix string output janwas 2009-11-04 14:24:54 +00:00
  • da3030cfe6 more unicode/string cleanup: janwas 2009-11-03 22:27:25 +00:00
  • 8a52113e60 huge cleanup and conversion of most string handling (especially paths) to unicode please note: format strings must be %hs for char* arguments and %ls for wchar_t* janwas 2009-11-03 21:46:35 +00:00
  • a46f3432f3 harmless changes in preparation for moving to unicode ia32: fix: ia32_GetCallTarget wasn't always initializing target x86_x64: use macro implementation for rdtsc to reduce timing overhead janwas 2009-11-03 16:30:21 +00:00
  • e6f9d25925 Exclude system headers from dependency generation. (Speeds up 'make' with no file changes by ~80%) Ykkrosh 2009-10-29 16:45:34 +00:00
  • f1e3468f10 Fix paths in makefile dependency generation Ykkrosh 2009-10-23 21:41:23 +00:00
  • d63acc604f Apparently GUI should be able to try and set a setting, without it actually being defined, see comments in IGUIObject::LoadStyle. sluzky 2009-10-13 22:59:21 +00:00
  • 85179afa0d This was SVN commit r7154. Mythos_Ruler 2009-10-12 11:40:36 +00:00
  • b343249fcc add missing terrains.xml avoid data-dependent bug (null pointer when no terrain properties loaded) fixes #307 thanks go to BadassTester and Heron! janwas 2009-10-11 21:27:35 +00:00
  • e257bef5da Fix even more 64-bit warnings Ykkrosh 2009-10-05 16:15:51 +00:00
  • 6f9eaf769c Fix some more 64-bit warnings Ykkrosh 2009-10-05 15:33:38 +00:00
  • f76dc5a062 by request of sluzky: add JS files to VS workspace to allow find-in-files and open-file-in-workspace janwas 2009-10-04 11:49:07 +00:00
  • ea4abb8f3c Fix a 64-bit warning Ykkrosh 2009-10-03 09:31:51 +00:00
  • a8f33553e8 cxxtestgen: More informative errors when failing to open files Ykkrosh 2009-09-30 09:29:14 +00:00
  • 92637c1041 refactoring all PS_RESULT in GUI to PSRETURN/PSERROR closes #128 sluzky 2009-09-27 15:04:46 +00:00
  • e31ca32479 fixing throwing exception sluzky 2009-09-26 19:18:15 +00:00
  • 90f6641c1d Removing PS_RESULT errors from GUI, return values still need work Affects Ticket #128 sluzky 2009-09-23 21:16:55 +00:00
  • f118acf979 #(Internal) New helmet for Indibil. Mythos_Ruler 2009-09-19 03:05:15 +00:00
  • fc0ad44125 Removing CGUIList.cpp to repair compilation warning Affects Ticket #128 sluzky 2009-09-13 20:36:34 +00:00
  • 610842c9dd #New Celt House. Mythos_Ruler 2009-09-11 21:19:38 +00:00
  • 0e4f91fab9 Detect arch from gcc, not from uname, to cope with 32-bit userspace on 64-bit kernel Ykkrosh 2009-09-11 16:43:07 +00:00
  • 724418b1d6 Use extended regexps instead of advanced, for portability Ykkrosh 2009-09-11 16:41:18 +00:00
  • b0ba529cee This was SVN commit r7139. Mythos_Ruler 2009-09-09 21:09:38 +00:00