gecko-dev/js/xpconnect/src
Jan de Mooij f480e9ecdf Bug 1237504 - Refactor proxy slot layout to allow proxies to have more than 2 slots. r=bz,jonco
The patch makes the following proxy changes:

* The number of slots in ProxyValueArray is now dynamic and depends on the number of reserved slots we get from the Class.
* "Extra slots" was renamed to "Reserved slots" to make this clearer.
* All proxy Classes now have 2 reserved slots, but it should be easy to change that for proxy Classes that need more than 2 slots.
* Proxies now store a pointer to these slots and this means GetReservedSlot and SetReservedSlot can be used on proxies as well. We no longer need GetReservedOrProxyPrivateSlot and SetReservedOrProxyPrivateSlot.

And some changes to make DOM Proxies work with this:

* We now store the C++ object in the first reserved slot (DOM_OBJECT_SLOT) instead of in the proxy's private slot. This is pretty nice because it matches what we do for non-proxy DOM objects.
* We now store the expando in the proxy's private slot so I removed GetDOMProxyExpandoSlot and changed the IC code to get the expando from the private slot instead.
2017-04-28 14:12:28 +02:00
..
BackstagePass.h
ExportHelpers.cpp Bug 1324002 - Mark atoms separately in each zone, r=jonco,mccr8,peterv. 2017-01-30 06:31:47 -07:00
README
Sandbox.cpp Bug 1237504 - Refactor proxy slot layout to allow proxies to have more than 2 slots. r=bz,jonco 2017-04-28 14:12:28 +02:00
SandboxPrivate.h Bug 1352430 - Add barrier to wrapper cache to clear dying objects that have not yet been finalized r=bz r=sfink 2017-04-26 11:18:39 +01:00
XPCCallContext.cpp Bug 1329846 (part 1) - Remove XPCNativeScriptableInfo. r=mccr8. 2017-01-10 12:47:57 +11:00
XPCComponents.cpp Bug 1359245 - Eliminate nsXPConnect::GetContextInstance() (r=mccr8) 2017-04-27 15:34:46 -07:00
XPCConvert.cpp Bug 1332245 - Move nsScriptError from js/xpconnect to dom/bindings. r=bz 2017-01-28 00:42:47 +09:00
XPCDebug.cpp Bug 1334278 - have FormatStackDump return UniqueChars; r=froydnj 2017-04-21 12:47:06 -06:00
XPCException.cpp
XPCForwards.h Bug 1343396 - Split CycledCollectedJSContext and XPCJSContext into separate context and runtime classes (r=mccr8) 2017-04-18 17:01:04 -07:00
XPCInlines.h Bug 1359245 - Eliminate some XPCJSContext::Get() usage (r=mccr8) 2017-04-27 15:34:46 -07:00
XPCJSContext.cpp Bug 1359245 - Initial support for cooperative contexts (r=mccr8) 2017-04-27 15:34:46 -07:00
XPCJSID.cpp Bug 1359245 - Eliminate nsXPConnect::GetContextInstance() (r=mccr8) 2017-04-27 15:34:46 -07:00
XPCJSMemoryReporter.h Bug 1297658 - Avoid unnecessary checking in memory reporters. r=erahm. 2016-08-24 15:23:45 +10:00
XPCJSRuntime.cpp Bug 1359245 - Remove some tracing callbacks at shutdown (r=mccr8) 2017-04-27 15:34:46 -07:00
XPCJSWeakReference.cpp Bug 1281276 part 5. Get rid of the LangType argument of the XPCCallContext constructor and the now-dead language type enums. r=bholley 2016-06-23 00:22:29 -04:00
XPCJSWeakReference.h
XPCLocale.cpp Bug 1358543 - Only set new locale callbacks in xpc_LocalizeContext if they're not set. r=smaug 2017-04-21 09:49:42 -07:00
XPCLog.cpp Bug 1060419 - make XPC_Log_print use VsprintfLiteral, r=froydnj 2016-12-09 10:18:04 -10:00
XPCLog.h Bug 1060419 - make XPC_Log_print use VsprintfLiteral, r=froydnj 2016-12-09 10:18:04 -10:00
XPCMaps.cpp Bug 1343396 - Split CycledCollectedJSContext and XPCJSContext into separate context and runtime classes (r=mccr8) 2017-04-18 17:01:04 -07:00
XPCMaps.h Bug 1352430 - Update XPConnect sweeping to handle incrementally finalized objects r=mccr8 r=sfink 2017-04-26 11:18:13 +01:00
XPCModule.cpp
XPCModule.h Bug 1332245 - Move nsScriptError from js/xpconnect to dom/bindings. r=bz 2017-01-28 00:42:47 +09:00
XPCRuntimeService.cpp Bug 1332172 - Remove XPC_MAP_WANT_*. r=mccr8. 2017-01-23 13:33:58 +11:00
XPCShellImpl.cpp Bug 1351831 - Build more xpconnect code in unified sources. r=bholley 2017-03-31 15:21:27 -07:00
XPCString.cpp Bug 1353758 - Move the external string cache into the JS engine and improve it. r=arai,bz 2017-04-07 10:40:29 +02:00
XPCThrower.cpp Bug 1334278 - change JS_smprintf to return UniqueChars; r=froydnj 2017-03-03 15:10:11 -07:00
XPCVariant.cpp Bug 1342439 part 1 - Replace macros to check for overrecursion with functions. r=luke 2017-02-25 16:07:56 +01:00
XPCWrappedJS.cpp Bug 1359245 - Get rid of CycleCollectedJSRuntime::MainContext (r=mccr8) 2017-04-27 15:34:46 -07:00
XPCWrappedJSClass.cpp Bug 1359245 - Eliminate some XPCJSContext::Get() usage (r=mccr8) 2017-04-27 15:34:46 -07:00
XPCWrappedNative.cpp Bug 1359245 - Eliminate some XPCJSContext::Get() usage (r=mccr8) 2017-04-27 15:34:46 -07:00
XPCWrappedNativeInfo.cpp Bug 1343396 - Split CycledCollectedJSContext and XPCJSContext into separate context and runtime classes (r=mccr8) 2017-04-18 17:01:04 -07:00
XPCWrappedNativeJSOps.cpp Bug 1356843 - Fix -Wcomma warnings in js/. r=jorendorff 2017-04-09 21:15:01 -07:00
XPCWrappedNativeProto.cpp Bug 1352430 - Update XPConnect sweeping to handle incrementally finalized objects r=mccr8 r=sfink 2017-04-26 11:18:13 +01:00
XPCWrappedNativeScope.cpp Bug 1352430 - Update XPConnect sweeping to handle incrementally finalized objects r=mccr8 r=sfink 2017-04-26 11:18:13 +01:00
XPCWrapper.cpp
XPCWrapper.h Bug 1329846 (part 2) - Remove NATIVE_HAS_FLAG. r=mccr8. 2017-01-11 07:40:19 +11:00
jsshell.msg Bug 1274922 part 5 - Remove JSEXN_NONE and add JSEXN_WARN. r=jorendorff 2016-05-31 08:07:00 +02:00
moz.build Bug 1343396 - Split CycledCollectedJSContext and XPCJSContext into separate context and runtime classes (r=mccr8) 2017-04-18 17:01:04 -07:00
nsXPConnect.cpp Bug 1359245 - Initial support for cooperative contexts (r=mccr8) 2017-04-27 15:34:46 -07:00
qsObjectHelper.h Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky 2016-06-07 21:10:18 +01:00
xpc.msg Bug 1318768 - Part 2: Make nsIURIClassifier::Classify() available in the content process; r=gcp,baku 2016-11-22 08:17:26 -05:00
xpcObjectHelper.h Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky 2016-06-07 21:10:18 +01:00
xpcprivate.h Bug 1359245 - Keep a linked list of CycleCollectedJSContexts in the runtime (r=mccr8) 2017-04-27 15:34:46 -07:00
xpcpublic.h Bug 1359245 - Initial support for cooperative contexts (r=mccr8) 2017-04-27 15:34:46 -07:00

README

see http://www.mozilla.org/scriptable