leper
36c6b50944
Revert emplace for associative containers. Fixes #3366 .
...
GCC < 4.8.0 does not support emplace for those.
See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44436 .
This was SVN commit r16922.
2015-08-19 03:32:47 +00:00
leper
217a500d60
Add missing license headers. Fixes #3357 .
...
This was SVN commit r16903.
2015-07-31 11:28:14 +00:00
leper
8bfe16cac8
Use in-place construction.
...
This was SVN commit r16894.
2015-07-29 23:44:17 +00:00
historic_bruno
e5727980da
Adds debug output to display return code of failing SHGetFolderPathW, refs #3267
...
This was SVN commit r16688.
2015-05-27 02:02:32 +00:00
historic_bruno
b1c4e29ac8
Fixes inconsistencies in spelling of colour/color by preferring "color" (only wxWidgets remains with some API that requires "colour"), fixes #1029 .
...
NOTE: requires update-workspaces and may require correction of some
modded actors/scenarios
This was SVN commit r16438.
2015-03-15 23:59:48 +00:00
historic_bruno
e48e330db7
Sets SDL2 as default and only build option on Windows.
...
Removes remnants of WSDL. Refs #2041
This was SVN commit r16357.
2015-02-20 05:52:18 +00:00
Ykkrosh
49222a4c6a
Fix Windows build
...
This was SVN commit r16334.
2015-02-14 02:22:22 +00:00
Ykkrosh
e06a7b37d8
Convert debug_printf to take UTF-8 strings instead of wchar_t.
...
This fixes the problem where passing a non-ASCII string to
debug_printf(L"%hs", s) caused vswprintf_s to fail on Linux (because it
doesn't know what encoding the char* is meant to have). Now debug
messages will remain as UTF-8 until they reach the OS.
Fixes #3021 .
This was SVN commit r16332.
2015-02-14 01:45:13 +00:00
leper
fc902df07c
Remove checks for unsupported GCC versions (<4.6).
...
This was SVN commit r16224.
2015-01-24 20:37:07 +00:00
historic_bruno
65cc47f6c0
Deletes unused bundled MSVC runtime libs for old 2005 and 2008 versions.
...
Removes VC80 manifest info.
This was SVN commit r16199.
2015-01-23 03:21:48 +00:00
Ykkrosh
ef2a358f87
Remove sys_vswprintf.
...
The implementation on Windows was gross. The only user was CLogger,
which no longer uses it.
Also fix vswprintf_s to handle truncated output correctly (by returning
"") on Linux, now that CLogger is no longer relying on the buggy
behaviour.
This was SVN commit r16190.
2015-01-22 20:39:28 +00:00
Ykkrosh
49e2ecea63
Automatically convert all CLogger format strings from wchar_t* to char*.
...
Done with:
ag -ls 'LOG(MESSAGE|MESSAGERENDER|WARNING|ERROR)' source | xargs sed
-i 's/LOG\(MESSAGE\|MESSAGERENDER\|WARNING\|ERROR\)(L/LOG\1(/g'
This was SVN commit r16183.
2015-01-22 20:31:30 +00:00
leper
7e0e566346
Fix typo in include. Refs #2086 .
...
This was SVN commit r16018.
2014-12-03 16:43:51 +00:00
leper
504e23acb8
Make some things static.
...
This was SVN commit r15997.
2014-11-20 22:19:33 +00:00
leper
335ac3d0cb
Query /proc for the executable path on Linux. Patch by starslayer. Refs #2086 .
...
Factor out unix_ExecutablePathname() which is used by BSDs and Linux (as
a fallback).
This was SVN commit r15996.
2014-11-20 22:19:21 +00:00
leper
f4b5054815
Fix valgrind warning about uninitialized variable. Patch by Echelon9. Fixes #2878 .
...
This was SVN commit r15936.
2014-11-08 00:37:42 +00:00
historic_bruno
227d828b67
Updates Windows version strings for 8.1 and 10 (technical preview)
...
This was SVN commit r15869.
2014-10-14 21:37:19 +00:00
historic_bruno
0f0f4f7b03
Fixes crash on OS X if dir_watch_Poll is called during init before dir_watch_Add, refs #2427 , #2650
...
This was SVN commit r15748.
2014-09-14 00:27:38 +00:00
leper
343066040f
Remove inconsistent checks for pSimulation2 when saving maps and ensure that it is set.
...
Remove commented out code writing triggers that has nothing to do with
the actual triggers implementation.
Free memory that was allocated for error reporting when when fork()
fails.
Remove dead initialization.
This was SVN commit r15477.
2014-07-01 19:00:41 +00:00
historic_bruno
035078c317
Disables checks in os_cpu_LargePageSize Windows implementation, since they failed on Vista SP2 with old Xeon CPU, fixes #2346
...
This was SVN commit r14731.
2014-02-04 22:30:29 +00:00
historic_bruno
0406c89908
Implements GetMonitorSize for OS X, patch by Echelon9, fixes #2390
...
This was SVN commit r14690.
2014-01-26 23:03:45 +00:00
sanderd17
9dcc3ee89e
fix always picking the same processor core on some systems. Based on code hits by Philip
...
This was SVN commit r14391.
2013-12-26 10:05:44 +00:00
historic_bruno
8db3ada87f
Improves debugging output to help troubleshoot some WSDL bugs, refs #2146 , #1733
...
This was SVN commit r14325.
2013-12-10 18:54:18 +00:00
historic_bruno
b1c081e36d
Set svn:eol-style=native, fix some inconsistent line endings
...
This was SVN commit r14299.
2013-12-06 00:42:50 +00:00
historic_bruno
45a7f577d3
A bunch of OS X SDK-related fixes.
...
Adds runtime support for 10.5 APIs: display modes, bundle paths, system
paths, pasteboards. Previously this was compile-time support only, which
prevented building on later SDKs while targeting earlier APIs.
Adds hardcoded version for pre-10.6 builds, to avoid messing with
deprecated Gestalt or having to add a 10.5 non-dispatch singleton (Grand
Central Dispatch didn't exist in 10.5)
This was SVN commit r14140.
2013-11-11 00:11:25 +00:00
historic_bruno
011cbb5725
Fixes OS X STL incompatibilities when building against later SDKs and targeting 10.5 (fixes stringstream build errors in these conditions)
...
This was SVN commit r14139.
2013-11-11 00:09:16 +00:00
Ykkrosh
d178f32698
Fix Unicode in JS print() on Linux
...
This was SVN commit r14129.
2013-11-10 16:13:40 +00:00
Ykkrosh
29e4b1a17c
Update Android support
...
This was SVN commit r14068.
2013-11-02 23:05:38 +00:00
Ykkrosh
a4cd90ddfc
Avoid non-ASCII characters in source code, since tools don't decode them consistently.
...
Fixes #2198 .
This was SVN commit r14035.
2013-10-20 09:27:44 +00:00
stwf
b1bd61938e
add file notification to Mac ticket 514, also change name of class FileInfo to CFileInfo to ease Mac development
...
This was SVN commit r13821.
2013-09-10 14:17:04 +00:00
historic_bruno
f947fa6afe
Fixes stack overflow in stack dump logic, by special-casing boost::unordered types, fixes #1813 .
...
Adds INIT_HAVE_DISPLAY_ERROR init flag to correctly override
ah_display_error in Atlas (InitVfs was overriding it again), but don't
use it because it's ugly and broken, refs #1729
This was SVN commit r13724.
2013-08-20 21:07:42 +00:00
historic_bruno
02b98f3acd
Fixes build with x11 and SDL2
...
This was SVN commit r13485.
2013-06-17 01:43:57 +00:00
historic_bruno
d2b0d25457
Fixes macro redefinition of FACILITY_VISUALCPP in VC2012 (it's defined in winerror.h).
...
Removes obsolete hack for old Boost and VC2005 (broke VC2005 build with
modern Boost).
This was SVN commit r13433.
2013-05-28 01:14:41 +00:00
Ykkrosh
c037e3f78e
Add detection of Win8 in wversion, to help stats collection
...
This was SVN commit r13100.
2013-01-21 20:32:07 +00:00
janwas
308db6627a
fix synchronization of TimerState (refs #1729 )
...
This was SVN commit r12908.
2012-12-01 06:33:30 +00:00
janwas
9001cba02c
fix: remove unnecessary failure check concerning window class atom. fixes #1729
...
This was SVN commit r12906.
2012-12-01 02:34:19 +00:00
historic_bruno
5cff74f4e7
Replaces FAM file monitoring with inotify on Linux, based on patch by noKid. Fixes #1316 , refs #1687 .
...
Removes FAM dependency.
This was SVN commit r12726.
2012-10-02 00:03:14 +00:00
historic_bruno
e485fb9e2c
Implements copy/paste for OS X using NSPasteboard including pre-10.6 API support. Fixes #1326
...
This was SVN commit r12464.
2012-08-18 19:47:55 +00:00
leper
637c09b204
Add support for OpenBSD. Fixes #1463 .
...
Backport os_getversion from premake4.4-beta4 and extend it to support
POSIX-compilant systems.
Add some missing newlines at the end of file as these cause warnings on
OpenBSD.
Update the config paths.
This was SVN commit r11970.
2012-06-13 20:43:56 +00:00
historic_bruno
ffc89ee1af
Adds some OS X availability macros to support 10.5 SDK. Not foolproof but good enough for now.
...
This was SVN commit r11757.
2012-05-05 03:18:22 +00:00
historic_bruno
b101f5ad01
Adds hardware cursors for Linux and OS X. Requires libxcursor on Linux. Fixes #748 .
...
Adds explicit links to frameworks we need on OS X.
This was SVN commit r11596.
2012-04-21 07:53:53 +00:00
historic_bruno
0fda0019d1
Updates data paths on OS X and Windows. On OS X only write to locations inside ~/Library. On Windows make the distinction between local and roaming appdata, and use folder inside My Documents for user-created data. Fixes #1145 .
...
Adds proper OS X app bundle support.
Updates Windows installer script.
This was SVN commit r11389.
2012-03-22 00:23:31 +00:00
Ykkrosh
8c6231f940
Fix black-square cursor on 16bpp Windows
...
This was SVN commit r11371.
2012-03-19 20:46:12 +00:00
Ykkrosh
20d23eb340
Sysdep code for Android/ARM
...
This was SVN commit r11075.
2012-02-15 15:40:31 +00:00
Ykkrosh
f4625e69af
Partial Android compatibility.
...
Remove unnecessary VM allocation (which seemingly causes problems on
Android due to mmap during static initialization).
Allow building without NVTT.
This was SVN commit r11074.
2012-02-15 13:58:58 +00:00
Ykkrosh
3fab2729b5
Partial SDL2 compatibility
...
This was SVN commit r11033.
2012-02-06 22:47:35 +00:00
historic_bruno
41e3bad341
More build fixes for FreeBSD.
...
Adds BSD sysdep.
Adds support for MAKE variable, overriding make command in our build
scripts.
Fixes more files not ending with newline.
This was SVN commit r10994.
2012-01-31 00:06:56 +00:00
historic_bruno
fc27a5c0ea
More FreeBSD build fixes.
...
Fixes some warnings about files that don't end with newline.
This was SVN commit r10991.
2012-01-30 06:21:11 +00:00
Ykkrosh
63e151fbd5
Slightly more Android compatibility
...
This was SVN commit r10975.
2012-01-28 16:38:21 +00:00
historic_bruno
95e6673ed4
Fixes include in wsdl.
...
This was SVN commit r10932.
2012-01-18 22:51:49 +00:00