1
1
forked from 0ad/0ad
0ad/source
wraitii fd8f5abd2e [SM52 2/2] Update to Spidermonkey 52 APIs.
No particularly noteworthy changes, as most complex API changes were
already supported in SM45 and done.
The addition of JSStructuredCloneData allows to remove our custom class.

Changes:
- InformalValueTypeName is back in the API, so remove our
implementation.
- Stop using JSRuntime entirely in favour of JSContext*
- JSPropertyDescriptor is renamed.
- CompartmentOptions are tweaked slightly (no functional changes)
- JS::Construct - API update.
- JSClass split - API update.
- A js.msg error message was removed, so we had to use a different one.
- Tests fix: fix comparison of union instances
- Disable warning in spidermonkey Vector.h
- Update error reporting to SM52 (minor API updates)
- Ignore warnings about unused return values (would come from OOM, which
isn't recoverable)

Most of the patching was done by Itms.

Tested by: Stan, Freagarach
Fixes #4893

Differential Revision: https://code.wildfiregames.com/D3095
This was SVN commit r24203.
2020-11-18 14:39:04 +00:00
..
collada Fix compiler warnings on VS 2015, refs #3439, refs #5069. 2018-03-10 09:58:53 +00:00
graphics [SM52 2/2] Update to Spidermonkey 52 APIs. 2020-11-18 14:39:04 +00:00
gui [SM52 2/2] Update to Spidermonkey 52 APIs. 2020-11-18 14:39:04 +00:00
i18n Mass rename CxPrivate to CmptPrivate. 2020-11-13 16:44:15 +00:00
lib Adds MSAA to anti-aliasing techniques. 2020-11-15 20:07:48 +00:00
lobby [SM52 2/2] Update to Spidermonkey 52 APIs. 2020-11-18 14:39:04 +00:00
maths Avoid overflow in UnitMotion. 2020-11-09 13:25:50 +00:00
mocks More FreeBSD build fixes. 2012-01-30 06:21:11 +00:00
network [SM52 2/2] Update to Spidermonkey 52 APIs. 2020-11-18 14:39:04 +00:00
pch Precompiled logic update [Windows build] 2019-12-31 13:58:48 +00:00
ps [SM52 2/2] Update to Spidermonkey 52 APIs. 2020-11-18 14:39:04 +00:00
renderer Adds MSAA to anti-aliasing techniques. 2020-11-15 20:07:48 +00:00
rlinterface Improve JS Exception handling. 2020-11-15 18:29:17 +00:00
scriptinterface [SM52 2/2] Update to Spidermonkey 52 APIs. 2020-11-18 14:39:04 +00:00
simulation2 [SM52 2/2] Update to Spidermonkey 52 APIs. 2020-11-18 14:39:04 +00:00
soundmanager Mass rename CxPrivate to CmptPrivate. 2020-11-13 16:44:15 +00:00
third_party Fix gcc warning reported by Imarok after 204e17206b 2020-05-23 12:21:49 +00:00
tools [SM52 1/2] Upgrade Spidermonkey build system and binaries to 52.9.1 2020-11-18 14:34:17 +00:00
main.cpp Improve JS Exception handling. 2020-11-15 18:29:17 +00:00
test_setup.cpp Fix building without precompiled headers. 2020-11-18 11:35:36 +00:00