1
0
forked from 0ad/0ad
0ad/source/gui
wraitii d07f271d60 [SM60 2/2] Update to Spidermonkey 60 APIs
Two noteworthy changes:
- Proxies are update to the SM60 API, having an explicit reserved slot
and a private slot, in which the 'proxy data' and the C++ object are
stored. This fixes a debug assertion failure of SM52 (See bugs 1237504
and 1339411)
- The GC callback behaviour has changed slightly, and we should now only
look for GC_SLICE_BEGIN and GC_SLICE_END calls (Bug 1364547)

Other updates are minor:
- Bug 1339036: JSTYPE_VOID beomes JSTYPE_UNDEFINED
- Bug 1308236 - avoid ambiguous comparison by changing NULL to nullptr
- Bug 1421358, GC::reason::REFRESH_FRAME was removed. API is indicated
in jsapi.h so use that.
- Compartment behaviours update
- ClassOps changes (Bug 1389510 removed the getter/setter - 7c04ea0211 -
and bug 1370608 added one more before that so net minus one)
- Minor tests touchups again.

Tested by: SubitaNeo, Stan
Thanks to bellaz89 for the Shared Array fix

Closes #5859

Differential Revision: https://code.wildfiregames.com/D3116
This was SVN commit r24243.
2020-11-24 15:47:03 +00:00
..
ObjectBases [SM60 2/2] Update to Spidermonkey 60 APIs 2020-11-24 15:47:03 +00:00
ObjectTypes [SM60 2/2] Update to Spidermonkey 60 APIs 2020-11-24 15:47:03 +00:00
Scripting [SM60 2/2] Update to Spidermonkey 60 APIs 2020-11-24 15:47:03 +00:00
SettingTypes Clean up header includes, add new forward declarations. 2020-11-21 11:20:29 +00:00
tests Let players remap hotkeys in-game, fix default hotkeys being qwerty-specific. 2020-11-19 09:27:26 +00:00
CGUI.cpp Make JS GUI Objects Proxy objects. 2020-11-21 17:49:06 +00:00
CGUI.h [SM60 2/2] Update to Spidermonkey 60 APIs 2020-11-24 15:47:03 +00:00
CGUIScrollBarVertical.cpp Cleanup GUI includes, whitespace, map iterators, nullptr. 2019-09-22 23:28:25 +00:00
CGUIScrollBarVertical.h Delete GUI.h umbrella include following 8d0cb1b954. 2019-09-20 13:11:18 +00:00
CGUISetting.cpp Fix building without precompiled headers. 2020-11-18 11:35:36 +00:00
CGUISetting.h Improve JS Exception handling. 2020-11-15 18:29:17 +00:00
CGUISprite.cpp Use CGUI& instead of CGUI* so that the 50+ users stop wondering whether or not that is null and can't even be mistaken to add redundant null checks preemptively. 2019-08-21 10:12:33 +00:00
CGUISprite.h Clean up header includes, add new forward declarations. 2020-11-21 11:20:29 +00:00
CGUIText.cpp Sort GUI Object types, GUI Object bases and GUI Setting value types into three new folders. 2019-10-02 09:44:00 +00:00
CGUIText.h Sort GUI Object types, GUI Object bases and GUI Setting value types into three new folders. 2019-10-02 09:44:00 +00:00
GUIManager.cpp [SM52 2/2] Update to Spidermonkey 52 APIs. 2020-11-18 14:39:04 +00:00
GUIManager.h [SM52 2/2] Update to Spidermonkey 52 APIs. 2020-11-18 14:39:04 +00:00
GUIMatrix.cpp Move GetDefaultGuiMatrix to a separate file. 2019-08-04 03:52:00 +00:00
GUIMatrix.h Move GetDefaultGuiMatrix to a separate file. 2019-08-04 03:52:00 +00:00
GUIObjectTypes.cpp Make JS GUI Objects Proxy objects. 2020-11-21 17:49:06 +00:00
GUIRenderer.cpp Uses fixed-function pipeline functions only in FFP mode. 2020-02-05 14:00:52 +00:00
GUIRenderer.h Clean up header includes, add new forward declarations. 2020-11-21 11:20:29 +00:00
GUISettingTypes.h Sort GUI Object types, GUI Object bases and GUI Setting value types into three new folders. 2019-10-02 09:44:00 +00:00
GUIStringConversions.cpp Sort GUI Object types, GUI Object bases and GUI Setting value types into three new folders. 2019-10-02 09:44:00 +00:00
GUITooltip.cpp Sort GUI Object types, GUI Object bases and GUI Setting value types into three new folders. 2019-10-02 09:44:00 +00:00
GUITooltip.h Use CGUI& instead of CGUI* so that the 50+ users stop wondering whether or not that is null and can't even be mistaken to add redundant null checks preemptively. 2019-08-21 10:12:33 +00:00
IGUIScrollBar.cpp Sort GUI Object types, GUI Object bases and GUI Setting value types into three new folders. 2019-10-02 09:44:00 +00:00
IGUIScrollBar.h Clean up header includes, add new forward declarations. 2020-11-21 11:20:29 +00:00
SGUIIcon.h Move GUIbase structs and enums to separate files. 2019-10-01 12:46:55 +00:00
SGUIMessage.h Allow right-click on disabled buttons. 2020-11-14 18:16:24 +00:00
SGUIStyle.h Move GUIbase structs and enums to separate files. 2019-10-01 12:46:55 +00:00