0ad/source/ps
Yves c02a7e1a7b SpiderMonkey 31 upgrade
This upgrade also introduces exact stack rooting (see to the wiki:
JSRootingGuide) and fixes problems with moving GC. This allows us to
enable generational garbage collection (GGC).
Measurements a few months ago have shown a performance improvement of a
non-visual replay of around 13.5%. This probably varies quite a bit, but
it should be somewhere between 5-20%. Memory usage has also been
improved. Check the forum thread for details.

Thanks to everyone from the team who helped with this directly or
indirectly (review, finding and fixing issues, the required C++11
upgrade, the new autobuilder etc.)! Also thanks to the SpiderMonkey
developers who helped on the #jsapi channel or elsewhere!

Fixes #2462, #2415, #2428, #2684, #1374
Refs #2973, #2669

This was SVN commit r16214.
2015-01-24 14:46:52 +00:00
..
GameSetup SpiderMonkey 31 upgrade 2015-01-24 14:46:52 +00:00
scripting SpiderMonkey 31 upgrade 2015-01-24 14:46:52 +00:00
tests Fix tests on 32-bit builds. 2015-01-22 21:13:09 +00:00
XML Avoid misaligned pointer dereferences, which can fail on ARM. 2015-01-23 20:39:40 +00:00
ArchiveBuilder.cpp Disable "assignment operator could not be generated" warning globally on Windows, since it's never useful. 2015-01-22 21:09:33 +00:00
ArchiveBuilder.h Handle mods specified on the command line when using the archive builder. 2014-06-15 16:43:08 +00:00
CacheLoader.cpp add file notification to Mac ticket 514, also change name of class FileInfo to CFileInfo to ease Mac development 2013-09-10 14:17:04 +00:00
CacheLoader.h Improves CColladaManager caching behavior: skeletons.xml changes now invalidate cached .pmd/psa files, CCacheLoader is used for consistency, adds support for archived files. Fixes #1167. 2012-02-19 03:30:59 +00:00
CConsole.cpp Fixes some bugs related to IME text input in SDL2, including a possible crash, refs #2041. Behavior seems reasonably consistent now on Windows and OS X 2014-10-03 23:33:41 +00:00
CConsole.h Remove length limits on script output in console. 2014-05-26 13:39:45 +00:00
CLogger.cpp Disable "assignment operator could not be generated" warning globally on Windows, since it's never useful. 2015-01-22 21:09:33 +00:00
CLogger.h CLogger: Use cppformat instead of sys_vswprintf. 2015-01-22 20:30:05 +00:00
Compress.cpp More build fixes for FreeBSD. 2012-01-31 00:06:56 +00:00
Compress.h More FreeBSD build fixes. 2012-01-30 06:21:11 +00:00
ConfigDB.cpp Convert wchar_t*/wstring arguments to UTF-8 strings in CLogger messages. 2015-01-22 20:37:38 +00:00
ConfigDB.h Remove useless parameter from CFG_GET_VALUE. 2014-11-17 23:29:49 +00:00
CStr.cpp Remove duplicated layers of unescaping which required multiple escapes in some places. 2014-12-13 01:08:29 +00:00
CStr.h Remove duplicated layers of unescaping which required multiple escapes in some places. 2014-12-13 01:08:29 +00:00
CStrIntern.cpp Automatically replace %hs/%ls with %s in CLogger format strings. 2015-01-22 20:36:24 +00:00
CStrIntern.h Set svn:eol-style=native, fix some inconsistent line endings 2013-12-06 00:42:50 +00:00
CStrInternStatic.h GLES compatibility for particle shader 2015-01-19 21:44:53 +00:00
DllLoader.cpp Automatically replace %hs/%ls with %s in CLogger format strings. 2015-01-22 20:36:24 +00:00
DllLoader.h Add the ability to specify a log level when using dlopen and change it to normal for Atlas. 2014-06-05 17:07:04 +00:00
Errors.cpp # Rewrite of the game's simulation system 2010-01-09 19:20:14 +00:00
Errors.h Catch exceptions by reference (by convention), based on patch from Markus, refs #1852 2013-05-22 22:27:53 +00:00
FileIo.cpp Automatically replace %hs/%ls with %s in CLogger format strings. 2015-01-22 20:36:24 +00:00
FileIo.h Simplify the overly-complex CppDoc-breaking file headers 2009-04-18 17:51:05 +00:00
Filesystem.cpp Automatically replace %hs/%ls with %s in CLogger format strings. 2015-01-22 20:36:24 +00:00
Filesystem.h Add engine support to load mods from config and restart into mods. 2014-08-25 16:02:40 +00:00
Game.cpp SpiderMonkey 31 upgrade 2015-01-24 14:46:52 +00:00
Game.h SpiderMonkey 31 upgrade 2015-01-24 14:46:52 +00:00
Globals.cpp Fixes blank window after maximizing, minimizing, then restoring the game on Windows. In SDL2, this is an SDL_WINDOWEVENT_EXPOSED event, which we must handle to reset the game's minimized state. Refs #2041 2014-10-04 00:46:53 +00:00
Globals.h Fixes no PCH build. Fixes #1113. 2012-01-15 21:48:41 +00:00
GUID.cpp Multiplayer lobby based on the XmPP protocol. Special thanks to Philip, alpha123, scythetwirler, and anyone else who has helped build, debug or test the lobby. 2013-11-07 20:07:24 +00:00
GUID.h Multiplayer lobby based on the XmPP protocol. Special thanks to Philip, alpha123, scythetwirler, and anyone else who has helped build, debug or test the lobby. 2013-11-07 20:07:24 +00:00
Hotkey.cpp Automatically replace %hs/%ls with %s in CLogger format strings. 2015-01-22 20:36:24 +00:00
Hotkey.h Unload hotkeys on shutdown. 2014-09-15 01:27:06 +00:00
Joystick.cpp Automatically replace %hs/%ls with %s in CLogger format strings. 2015-01-22 20:36:24 +00:00
Joystick.h Renames our sdl.h to libsdl.h, to avoid case sensitivity errors when it includes SDL.h. 2012-01-12 23:32:27 +00:00
KeyName.cpp Support more mouse buttons. Fixes #195. Patch by 01d55 with some minor cleanup. 2014-08-04 01:06:36 +00:00
KeyName.h Improves SDL2 support, includes patch by yashi and fabio, refs #2041: 2014-09-20 12:12:35 +00:00
Loader.cpp # Partial support for saved games with AI. 2011-12-22 14:04:32 +00:00
Loader.h cleanup (requires update-workspaces) 2011-05-03 12:38:42 +00:00
LoaderThunks.h warning fixes: mostly size_t vs. specialized API type and other type conversion. 2010-09-05 09:38:30 +00:00
Mod.cpp Add engine support to load mods from config and restart into mods. 2014-08-25 16:02:40 +00:00
Mod.h Add engine support to load mods from config and restart into mods. 2014-08-25 16:02:40 +00:00
Overlay.cpp Automatically replace %hs/%ls with %s in CLogger format strings. 2015-01-22 20:36:24 +00:00
Overlay.h Replace usage of CParser for CColor. 2014-06-04 00:58:05 +00:00
Preprocessor.cpp Preprocessor: Avoid using "%.*hs" in log format string, since cppformat doesn't support it. 2015-01-22 20:38:16 +00:00
Preprocessor.h Fix CPreprocessor uninitialised data causing error messages on "#endif" followed by EOF with no newline. Warn about unrecognised "#elif". 2012-04-02 16:12:46 +00:00
PreprocessorWrapper.cpp Automatically replace %hs/%ls with %s in CLogger format strings. 2015-01-22 20:36:24 +00:00
PreprocessorWrapper.h Set svn:eol-style=native, fix some inconsistent line endings 2013-12-06 00:42:50 +00:00
Profile.cpp Works around infinite recursion problem. 2014-03-28 11:33:37 +00:00
Profile.h SpiderMonkey 31 upgrade 2015-01-24 14:46:52 +00:00
Profiler2.cpp Automatically replace %hs/%ls with %s in CLogger format strings. 2015-01-22 20:36:24 +00:00
Profiler2.h Some tweaks to profiler2: 2014-09-09 18:17:08 +00:00
Profiler2GPU.cpp Remove useless parameter from CFG_GET_VALUE. 2014-11-17 23:29:49 +00:00
Profiler2GPU.h Fix line endings 2011-11-29 21:04:38 +00:00
ProfileViewer.cpp SpiderMonkey 31 upgrade 2015-01-24 14:46:52 +00:00
ProfileViewer.h SpiderMonkey 31 upgrade 2015-01-24 14:46:52 +00:00
Pyrogenesis.cpp refactor headers: path_util -> path, native_path -> os_path, remove where unnecessary 2011-03-23 14:43:35 +00:00
Pyrogenesis.h refactor headers: path_util -> path, native_path -> os_path, remove where unnecessary 2011-03-23 14:43:35 +00:00
Replay.cpp SpiderMonkey 31 upgrade 2015-01-24 14:46:52 +00:00
Replay.h SpiderMonkey 31 upgrade 2015-01-24 14:46:52 +00:00
SavedGame.cpp SpiderMonkey 31 upgrade 2015-01-24 14:46:52 +00:00
SavedGame.h SpiderMonkey 31 upgrade 2015-01-24 14:46:52 +00:00
Singleton.h split debug_assert into ENSURE and ASSERT as discussed in a previous meeting. 2011-04-30 13:01:45 +00:00
TemplateLoader.cpp SpiderMonkey 31 upgrade 2015-01-24 14:46:52 +00:00
TemplateLoader.h Clean up LoadPlayerSettings. 2015-01-01 23:10:24 +00:00
ThreadUtil.cpp Add a list of statically-constructed CStrIntern strings 2013-09-29 13:19:52 +00:00
ThreadUtil.h Add initial code annotations for the new profiling tool 2011-11-04 01:35:50 +00:00
TouchInput.cpp Use correct format specifiers. Patch by bog_dan_ro. 2015-01-13 18:37:50 +00:00
TouchInput.h Set svn:eol-style=native, fix some inconsistent line endings 2013-12-06 00:42:50 +00:00
UniDoubler.h per discussion with Philip, remove STL_HASH_MAP etc. because they're ugly, rarely used and superseded by boost::unordered* 2011-03-23 16:56:27 +00:00
UserReport.cpp Remove useless parameter from CFG_GET_VALUE. 2014-11-17 23:29:49 +00:00
UserReport.h # Add opt-in automatic feedback system. 2011-02-16 20:40:15 +00:00
utf16string.h Fix -Wconversion warnings in simulation code. 2011-08-16 11:18:32 +00:00
Util.cpp Automatically replace %hs/%ls with %s in CLogger format strings. 2015-01-22 20:36:24 +00:00
Util.h cleanup (requires update-workspaces) 2011-05-03 12:38:42 +00:00
VideoMode.cpp SDL_SetWindowGammaRamp fails on Android, so don't bother using it. 2015-01-23 20:39:02 +00:00
VideoMode.h Fixes some issues when toggling fullscreen mode with SDL2, refs #2041: 2014-09-28 22:10:09 +00:00
World.cpp SpiderMonkey 31 upgrade 2015-01-24 14:46:52 +00:00
World.h SpiderMonkey 31 upgrade 2015-01-24 14:46:52 +00:00