Bobby Holley
9b45a35973
Bug 920553 - Introduce Cu.importGlobalProperties API. r=gabor
2013-09-27 18:34:25 +02:00
Ryan VanderMeulen
b2d6edce8e
Merge fx-team to m-c.
2013-09-11 21:48:20 -04:00
Bobby Holley
1ee49a7ca0
Bug 856437 - Remove lookupMethod API. r=gabor
2013-09-11 11:28:20 -07:00
Mike Hordecki
e88ff437a4
Bug 898559 - Add metadata API for add-on globals. r=bholley
2013-09-11 09:50:15 -04:00
Ehsan Akhgari
70bb3246bd
Bug 913851 - Minimize the #includes in js/xpconnect; r=bholley
...
X-Git-Commit-ID: 78e6843063b303780a7dd2695dd2824a0a9c9a3c
--HG--
extra : rebase_source : 1dfcc228f43c68efbbc74f639570c227c26ef025
2013-09-09 23:14:10 +02:00
Ehsan Akhgari
192f3ab926
Bug 913830 - Remove more unneeded #includes from the xpconnect IDL files; r=bholley
2013-09-09 22:37:37 +02:00
Kyle Huey
6a6c67829f
Bug 911258: Part 4 - Refactor exception implementations. r=bz
2013-09-08 20:28:50 -07:00
Ehsan Akhgari
3956f8e1f5
Bug 913531 - Remove the unnecessary #includes from nsIXPConnect.idl; r=bholley
2013-09-06 13:50:24 -04:00
Bobby Holley
4f7b2fec7f
Bug 899367 - Stop storing the window proxy on the JSContext. r=mccr8
...
We need to simultaneously report the new Heap Pointer to the cycle collector,
and remove the old machinery for cycle-collecting the default object via the
JSContext.
2013-09-04 14:06:56 -07:00
Nicholas Nethercote
d74157039d
Bug 911020 - Introduce js/TypeDecls.h, which holds very commonly used type declarations from the JS engine. r=luke.
...
--HG--
extra : rebase_source : 008ef689989f93b46627b8be8608bdbc544ca3a2
2013-08-27 19:59:14 -07:00
Nicholas Nethercote
b89a8ac1c0
Bug 905017 (part 1) - Minimize inclusions of JS engine headers in .h and .idl files. r=billm.
...
--HG--
extra : rebase_source : 984c61ab12f46be0509b1ce0d458d9a6e5841c64
2013-08-17 15:50:18 -07:00
Bobby Holley
6c4c0caf35
Bug 903212 - Remove nsIXPCScriptNotify machinery. r=mrbkap
2013-08-14 14:00:03 -07:00
Nicholas Nethercote
aa5919539d
Bug 902332 - Replace JS_{FALSE,TRUE} with {false,true} almost everywhere. r=luke,bz.
...
--HG--
extra : rebase_source : 25f4de1bfae830b0af6407d260a70b787ab1dc9b
2013-08-06 23:59:54 -07:00
Kyle Huey
147c3dee65
Bug 845545: Part 2 - Refactor context creation callbacks. r=bholley,mccr8
2013-08-03 16:55:39 -07:00
Ms2ger
f8a25b94f5
Bug 897945 - Use an XPCOM string for nsContentUtils::ReportToConsole's category argument; r=bholley
2013-08-02 09:09:11 +02:00
Bobby Holley
93442ca1ad
Bug 870043 - Add a script-accessible statistics for various watchdog events. r=mrbkap
...
We need this even for testing wakeups, because we can't be certain that any
given operation callback was necessarily triggered from the watchdog thread
(since it's triggered from within the JS engine in various cases as well).
2013-07-24 15:33:31 -07:00
Bill McCloskey
c1cd226370
Bug 895340 - Fix error reporting of JS exceptions from C++ (r=bholley)
2013-07-23 08:32:36 -07:00
Bobby Holley
b755828946
Bug 889911 - Replace mozJSLoaderErrorReporter with SystemErrorReporter and remove the former. r=mrbkap
2013-07-16 20:38:44 -07:00
Kyle Huey
afae5b1108
Bug 885866: Separate deferred finalization from XPConnect so we can use it off the main thread. r=mccr8, peterv, bsmedberg, jorendorff
2013-07-09 07:28:15 -07:00
Bobby Holley
dc6e1fc657
Bug 860085 - Remove nsIXPConnect::ReleaseJSContext. r=gabor
2013-07-03 11:05:19 -06:00
Bobby Holley
49f8ff5f9d
Bug 880917 - Generalize JS_NewGlobalObject API to take CompartmentOptions. r=luke
...
This will be useful for versioning, as well as JIT options and all the other
stuff that eventually needs to move out of the JSContext.
2013-06-29 09:11:17 -06:00
Bobby Holley
b214e9065e
Bug 884245 - Simplify nsContentUtils::GetDocumentFromCaller. r=bz
...
The first three lines of this function are an obvious bug. But the behavior in
general is also worrisome, because it's using antiquated XPConnect machinery
that will be less and less correct as we move to the new DOM bindings. Let's
just infer our global from the active compartment.
2013-06-20 11:05:32 -07:00
Kyle Huey
d91ec7682b
Bug 877584: Route JS holding through the cycle collection runtime so it can do different things on different threads. r=mccr8
2013-06-18 12:01:26 -07:00
Ed Morley
71b7df3bfd
Backed out changeset 2864e2610800 (bug 877584) for causing bug 881266
2013-06-11 16:11:14 +01:00
Kyle Huey
756f02ce3d
Bug 877584: Route JS holding through the cycle collection runtime so it can do different things on different threads. r=mccr8
2013-06-09 16:02:02 -07:00
Arnaud Sourioux
a5d79837b1
Bug 880089 - Remove unused parameter 'flags' from nsIXPConnect.idl's in setDefaultSecurityManager() methods correctly. r=bholley
2013-06-07 08:40:56 -04:00
Kyle Huey
86d6d2b6ae
Back out bug 877584 on this CLOSED TREE.
2013-06-06 10:49:09 -07:00
Kyle Huey
0c7597e1cb
Bug 877584: Route JS holding through the cycle collection runtime so it can do different things on different threads. r=mccr8
2013-06-06 10:23:45 -07:00
Bobby Holley
6592cd4cc4
Bug 877478 - Remove SetSecurityManagerForJSContext and related APIs. r=mrbkap
...
The only consumers here were the shells, which we've now fixed.
2013-06-04 19:56:43 -07:00
Trevor Saunders
76cd3878e0
bug 873622 - remove nsIXPConnectWrappedNative::GetXPConnect() r=bholley
2013-05-17 14:31:02 -04:00
Mihai Sucan
4e10acc040
Bug 859756 - [browserconsole] Add timestamp to nsIConsoleMessages; r=bz
2013-05-24 21:36:56 +03:00
Jan de Mooij
2c2722d303
Bug 857845 part 3 - Remove JM JSAPI flags, memory reporters and browser prefs. r=djvj
...
--HG--
extra : rebase_source : 8b2ed85801fcd8c8fd0fc16a89b1a275add1a310
2013-05-22 14:50:45 +02:00
Boris Zbarsky
b0c5538087
Bug 874612. Make some nsIXPConnectWrappedNative methods take a Handle<jsid> instead of a jsid. r=bholley
2013-05-21 22:59:17 -04:00
Boris Zbarsky
810766595d
Bug 873735 part 2. Change nsIXPConnectJSObjectHolder::GetJSObject to return a JSObject*. r=bholley
2013-05-20 08:44:18 -04:00
Gregory Szorc
c1b865f669
Bug 873629 - Remove 129 empty Makefile.in files; r=ted
2013-05-17 16:20:11 -07:00
Ryan VanderMeulen
1732f4e103
Backed out changesets 073791f33ab7 and 7ac5779a426c (bug 859756) for causing intermittent Windows build failures.
...
CLOSED TREE
2013-05-17 17:30:20 -04:00
Mihai Sucan
7c419043ce
Bug 859756 - [browserconsole] Add timestamp, category and window IDs to nsIConsoleMessages; r=bz
2013-05-16 20:23:46 +03:00
Bobby Holley
b9ee7a89bb
Bug 868675 - Introduce a Cu API for waiving/unwaiving. r=gabor,sr=mrbkap
...
This should be the API we promote going forward.
2013-05-07 10:09:02 -07:00
Tom Schuster
cbcd967826
Bug 865410 - Use CallArgs for XPConnect Call and Construct hooks. r=bholley.
2013-05-04 19:25:15 +02:00
Bobby Holley
c44c1b9af8
Bug 865729 - Remove nsIJSContextStack. r=gabor
...
\o/
2013-04-29 11:16:24 -07:00
Bobby Holley
1a9f081f4b
Bug 865729 - Remove Context stack iterators. r=gabor
2013-04-29 11:16:23 -07:00
Bobby Holley
b9009e00fc
Bug 865729 - Remove Push/Pop from public API. r=gabor
2013-04-29 11:16:22 -07:00
Bobby Holley
d7dbc59a66
Bug 865729 - Make nsIXPConnect inherit nsIThreadJSContextStack. r=gabor
...
Right now, the concrete nsXPConnect implements nsIXPConnect and
nsIThreadJSContextStack separately. I want to migrate the API from the latter
interface to the former, but I can't right now because it means we'd end up
with a duplicated method (getSafeJSContext). Since there's only one concrete
class that implements nsXPConnect, let's just use interface inheritance, which
simplifies the migration.
2013-04-29 11:16:20 -07:00
Bobby Holley
0f42b12cb0
Bug 862918 - Add a utility method on Cu to get the class name of an object. r=bz
...
instanceof is behaving sketchily on modal window, and I want this test to be robust.
2013-04-19 09:49:57 -04:00
Jeff Walden
6539207aee
Bug 858677 - Fix up code not built by SpiderMonkey to use the newly-changed deletion signatures. r=bholley, r=billm
2013-04-05 21:22:55 -07:00
Gabor Krizsanits
c28fd8fdb2
Bug 820170 - Turning BackstagePass into non-singleton. r=bholley
2013-04-04 11:27:38 +02:00
Bobby Holley
d9e8801803
Bug 856257 - Clean up nsXPConnect sandbox API a bit. r=mrbkap
2013-04-02 09:45:01 -07:00
Kyle Machulis
f5e3aadf0b
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
2013-04-01 11:36:59 -07:00
Kyle Machulis
d2b6e6e01a
Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot
2013-03-29 15:12:58 -07:00
Kyle Machulis
5663b98bc5
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
...
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00