0ad/source/simulation2/components
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
..
tests SpiderMonkey 31 upgrade 2015-01-24 14:46:52 +00:00
CCmpAIManager.cpp SpiderMonkey 31 upgrade 2015-01-24 14:46:52 +00:00
CCmpCommandQueue.cpp SpiderMonkey 31 upgrade 2015-01-24 14:46:52 +00:00
CCmpDecay.cpp Improve template code style for the Decay component. 2015-01-21 21:45:05 +00:00
CCmpFootprint.cpp add more flexibility to eject units when garrisonHolder is destroyed, fixes #2242 2014-01-08 18:27:58 +00:00
CCmpMinimap.cpp Removes pointless minimap state change during attack notification, it broke synchronized simulation state and caused some OOS errors. Fixes #2525. Refs #1719, #2526. 2014-05-19 01:35:14 +00:00
CCmpMotionBall.cpp Avoid slightly-expensive QueryInterface() calls 2013-09-11 20:41:53 +00:00
CCmpObstruction.cpp Automatically convert all CLogger format strings from wchar_t* to char*. 2015-01-22 20:31:30 +00:00
CCmpObstructionManager.cpp Revert RedFox's changes to Spatial subdivisions in the simplest possible way (hopefully won't cause OOS, but at least we'll get reports). Fixes #2573, Refs #2430 . There probably are opportunities to remove more things. 2014-08-06 09:21:00 +00:00
CCmpOverlayRenderer.cpp Dynamic message subscriptions. 2014-06-19 23:20:12 +00:00
CCmpOwnership.cpp Added a 'quiet' version of SetOwner() that doesn't send a message, to allow faux-atomic batch ownership changes. 2012-08-08 05:18:20 +00:00
CCmpParticleManager.cpp Set svn:eol-style=native, fix some inconsistent line endings 2013-12-06 00:42:50 +00:00
CCmpPathfinder.cpp Automatically replace %hs/%ls with %s in CLogger format strings. 2015-01-22 20:36:24 +00:00
CCmpPathfinder_Common.h Fix units falling off the edge of the world. 2014-06-03 22:35:40 +00:00
CCmpPathfinder_Tile.cpp Implemented nested territory boundaries. Fixes #918. 2012-01-18 21:22:58 +00:00
CCmpPathfinder_Vertex.cpp Avoid slightly-expensive QueryInterface() calls 2013-09-11 20:41:53 +00:00
CCmpPosition.cpp Automatically convert all CLogger format strings from wchar_t* to char*. 2015-01-22 20:31:30 +00:00
CCmpProjectileManager.cpp Convert wchar_t*/wstring arguments to UTF-8 strings in CLogger messages. 2015-01-22 20:37:38 +00:00
CCmpRallyPointRenderer.cpp Automatically convert all CLogger format strings from wchar_t* to char*. 2015-01-22 20:31:30 +00:00
CCmpRangeManager.cpp Automatically replace %hs/%ls with %s in CLogger format strings. 2015-01-22 20:36:24 +00:00
CCmpSelectable.cpp Dynamic message subscriptions. 2014-06-19 23:20:12 +00:00
CCmpSoundManager.cpp Stop music when resetting the simulation test mode in Atlas. 2014-09-12 21:38:10 +00:00
CCmpTemplateManager.cpp Automatically replace %hs/%ls with %s in CLogger format strings. 2015-01-22 20:36:24 +00:00
CCmpTerrain.cpp Commit coastal waves when activating fancy effects, and incidentally completely change how this effect work. Refs #48. 2014-07-28 10:14:00 +00:00
CCmpTerritoryInfluence.cpp Remove inconsistent checks for pSimulation2 when saving maps and ensure that it is set. 2014-07-01 19:00:41 +00:00
CCmpTerritoryManager.cpp Fix pathfinding and territories not being recomputed when water height changes. 2014-05-26 13:45:10 +00:00
CCmpTest.cpp Simplify component interface: remove explicit context parameter, use GetSimContext() instead. 2011-01-16 14:08:38 +00:00
CCmpUnitMotion.cpp Automatically convert all CLogger format strings from wchar_t* to char*. 2015-01-22 20:31:30 +00:00
CCmpUnitRenderer.cpp Improve PickEntitiesAtPoint 2015-01-01 23:05:26 +00:00
CCmpVision.cpp Fix performance problem with unnecessary global message subscription 2014-12-21 01:44:00 +00:00
CCmpVisualActor.cpp Automatically convert all CLogger format strings from wchar_t* to char*. 2015-01-22 20:31:30 +00:00
CCmpWaterManager.cpp Commit coastal waves when activating fancy effects, and incidentally completely change how this effect work. Refs #48. 2014-07-28 10:14:00 +00:00
ICmpAIInterface.cpp SpiderMonkey 31 upgrade 2015-01-24 14:46:52 +00:00
ICmpAIInterface.h SpiderMonkey 31 upgrade 2015-01-24 14:46:52 +00:00
ICmpAIManager.cpp SpiderMonkey 31 upgrade 2015-01-24 14:46:52 +00:00
ICmpAIManager.h SpiderMonkey 31 upgrade 2015-01-24 14:46:52 +00:00
ICmpCommandQueue.cpp SpiderMonkey 31 upgrade 2015-01-24 14:46:52 +00:00
ICmpCommandQueue.h SpiderMonkey 31 upgrade 2015-01-24 14:46:52 +00:00
ICmpDecay.cpp # Add corpse decay and building collapse. 2010-08-01 17:38:01 +00:00
ICmpDecay.h # Add corpse decay and building collapse. 2010-08-01 17:38:01 +00:00
ICmpFogging.cpp Explore the map inside a player's territory border at the beginning of a game. 2014-08-26 10:01:04 +00:00
ICmpFogging.h Explore the map inside a player's territory border at the beginning of a game. 2014-08-26 10:01:04 +00:00
ICmpFootprint.cpp SpiderMonkey 31 upgrade 2015-01-24 14:46:52 +00:00
ICmpFootprint.h SpiderMonkey 31 upgrade 2015-01-24 14:46:52 +00:00
ICmpGuiInterface.cpp SpiderMonkey 31 upgrade 2015-01-24 14:46:52 +00:00
ICmpGuiInterface.h SpiderMonkey 31 upgrade 2015-01-24 14:46:52 +00:00
ICmpIdentity.cpp Missing files 2011-05-05 20:07:51 +00:00
ICmpIdentity.h Missing files 2011-05-05 20:07:51 +00:00
ICmpMinimap.cpp # Display units on the minimap 2010-04-23 18:36:48 +00:00
ICmpMinimap.h Implements attack notifications based on patch by madmax and zoot, fixes #1719 2013-10-06 04:49:38 +00:00
ICmpMirage.cpp Hide changes to buildings in the fog-of-war. 2014-08-04 22:49:19 +00:00
ICmpMirage.h Hide changes to buildings in the fog-of-war. 2014-08-04 22:49:19 +00:00
ICmpMotion.cpp # Rewrite of the game's simulation system 2010-01-09 19:20:14 +00:00
ICmpMotion.h # Rewrite of the game's simulation system 2010-01-09 19:20:14 +00:00
ICmpObstruction.cpp Allow building walls along the shore. Patch by sanderd17. Fix #1610. 2013-07-07 22:44:47 +00:00
ICmpObstruction.h Fix units chasing each other. Fixes #1537 2013-12-30 16:07:19 +00:00
ICmpObstructionManager.cpp Stop units walking outside the edges of circular maps. 2010-10-30 18:25:34 +00:00
ICmpObstructionManager.h Fix some Clang warnings about unused private members 2013-10-19 00:53:58 +00:00
ICmpOverlayRenderer.cpp refactor path interface: 2011-03-23 13:36:20 +00:00
ICmpOverlayRenderer.h Use path types and conversions more consistently. 2011-03-21 22:59:00 +00:00
ICmpOwnership.cpp Added a 'quiet' version of SetOwner() that doesn't send a message, to allow faux-atomic batch ownership changes. 2012-08-08 05:18:20 +00:00
ICmpOwnership.h Added a 'quiet' version of SetOwner() that doesn't send a message, to allow faux-atomic batch ownership changes. 2012-08-08 05:18:20 +00:00
ICmpParticleManager.cpp Set svn:eol-style=native, fix some inconsistent line endings 2013-12-06 00:42:50 +00:00
ICmpParticleManager.h Set svn:eol-style=native, fix some inconsistent line endings 2013-12-06 00:42:50 +00:00
ICmpPathfinder.cpp Add obstruction debug mode, with GUI toggle. 2010-03-20 19:18:01 +00:00
ICmpPathfinder.h Allow building walls along the shore. Patch by sanderd17. Fix #1610. 2013-07-07 22:44:47 +00:00
ICmpPlayer.cpp Remove some unused component setters 2012-04-21 13:12:36 +00:00
ICmpPlayer.h Remove some unused component setters 2012-04-21 13:12:36 +00:00
ICmpPlayerManager.cpp # Add new renderer mode based on GL_ARB_fragment_program. 2011-03-26 20:17:21 +00:00
ICmpPlayerManager.h # Add new renderer mode based on GL_ARB_fragment_program. 2011-03-26 20:17:21 +00:00
ICmpPosition.cpp New unit renderer. 2014-06-01 18:24:50 +00:00
ICmpPosition.h Fix non-PCH build. 2014-06-02 20:06:27 +00:00
ICmpProjectileManager.cpp Added randomized arrow positions with hit detection when the missile lands and splash damage. Fixes #18. 2012-05-19 23:07:41 +00:00
ICmpProjectileManager.h Added randomized arrow positions with hit detection when the missile lands and splash damage. Fixes #18. 2012-05-19 23:07:41 +00:00
ICmpRallyPointRenderer.cpp Recompute rally point lines when the rally point is set on a moving unit. 2014-06-04 22:07:58 +00:00
ICmpRallyPointRenderer.h Recompute rally point lines when the rally point is set on a moving unit. 2014-06-04 22:07:58 +00:00
ICmpRangeManager.cpp Compute the actual percentage of map explored by the team in the summary screen. 2014-12-26 19:13:40 +00:00
ICmpRangeManager.h Compute the actual percentage of map explored by the team in the summary screen. 2014-12-26 19:13:40 +00:00
ICmpSelectable.cpp Implements always visible hero selection rings, based on patch by Deiz/F00. Fixes #1365 2012-07-19 04:45:01 +00:00
ICmpSelectable.h Slightly speed up actor rendering; have selectables properly handle fog of war, etc. Refs #1365. 2012-07-30 21:06:54 +00:00
ICmpSettlement.cpp # Initial support for territories 2011-07-20 19:48:06 +00:00
ICmpSettlement.h # Initial support for territories 2011-07-20 19:48:06 +00:00
ICmpSoundManager.cpp Stop music when resetting the simulation test mode in Atlas. 2014-09-12 21:38:10 +00:00
ICmpSoundManager.h Stop music when resetting the simulation test mode in Atlas. 2014-09-12 21:38:10 +00:00
ICmpTechnologyTemplateManager.cpp SpiderMonkey 31 upgrade 2015-01-24 14:46:52 +00:00
ICmpTechnologyTemplateManager.h SpiderMonkey 31 upgrade 2015-01-24 14:46:52 +00:00
ICmpTemplateManager.cpp Clean up LoadPlayerSettings. 2015-01-01 23:10:24 +00:00
ICmpTemplateManager.h Clean up LoadPlayerSettings. 2015-01-01 23:10:24 +00:00
ICmpTerrain.cpp Summon planes back from the emptyness 2013-11-26 15:12:16 +00:00
ICmpTerrain.h Fix an issue with corruption of water data when the actor editor opened in Atlas. 2014-02-25 06:27:15 +00:00
ICmpTerritoryInfluence.cpp # Initial support for territories 2011-07-20 19:48:06 +00:00
ICmpTerritoryInfluence.h # Health decay for buildings not in a civ center's territory. 2011-08-18 20:28:53 +00:00
ICmpTerritoryManager.cpp # Health decay for buildings not in a civ center's territory. 2011-08-18 20:28:53 +00:00
ICmpTerritoryManager.h Implemented nested territory boundaries. Fixes #918. 2012-01-18 21:22:58 +00:00
ICmpTest.cpp # Rewrite of the game's simulation system 2010-01-09 19:20:14 +00:00
ICmpTest.h # Rewrite of the game's simulation system 2010-01-09 19:20:14 +00:00
ICmpUnitMotion.cpp Improve navigation for ship formations by setting the formation controller to the right passability class 2014-05-18 07:59:43 +00:00
ICmpUnitMotion.h Improve navigation for ship formations by setting the formation controller to the right passability class 2014-05-18 07:59:43 +00:00
ICmpUnitRenderer.cpp New unit renderer. 2014-06-01 18:24:50 +00:00
ICmpUnitRenderer.h Improve PickEntitiesAtPoint 2015-01-01 23:05:26 +00:00
ICmpUnknownScript.cpp # Added initial support for players and population counters in new simulation system, plus various infrastructure improvements. 2010-01-22 20:03:14 +00:00
ICmpUnknownScript.h # Added initial support for players and population counters in new simulation system, plus various infrastructure improvements. 2010-01-22 20:03:14 +00:00
ICmpValueModificationManager.cpp Make the actor tech-modifiable. Fixes #2243 2014-04-14 15:00:49 +00:00
ICmpValueModificationManager.h Make the actor tech-modifiable. Fixes #2243 2014-04-14 15:00:49 +00:00
ICmpVisibility.cpp Automatically convert all CLogger format strings from wchar_t* to char*. 2015-01-22 20:31:30 +00:00
ICmpVisibility.h Fixes some inconsistent line endings and EOL-related SVN properties. 2014-12-06 12:11:42 +00:00
ICmpVision.cpp Move template items GetRetainInFog and AlwaysVisible from Vision to Visibility. 2014-12-05 18:33:59 +00:00
ICmpVision.h Move template items GetRetainInFog and AlwaysVisible from Vision to Visibility. 2014-12-05 18:33:59 +00:00
ICmpVisual.cpp New unit renderer. 2014-06-01 18:24:50 +00:00
ICmpVisual.h New unit renderer. 2014-06-01 18:24:50 +00:00
ICmpWaterManager.cpp Substantial speed-up of the foam generation code. 2014-01-05 16:15:20 +00:00
ICmpWaterManager.h Substantial speed-up of the foam generation code. 2014-01-05 16:15:20 +00:00