Andrew McCreight
dbe5cdd3b0
Backed out changeset 365053e73efa for build bustage on this CLOSED TREE.
2013-08-27 09:54:01 -07:00
Andrew McCreight
a93fe393a9
Bug 904826 - Remove some unneeded nsLayoutStatics calls. r=smaug
2013-08-20 14:19:33 -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
fae00b9013
Bug 903212 - Remove ScriptEvaluated, and simplify callers. r=mrbkap
2013-08-14 14:00:03 -07:00
Nikhil Marathe
2d2795aab4
Bug 887116 - Don't hold a reference to nsLayoutStatics in WebIDL CallbackObject. r=khuey
2013-08-13 14:20:01 -07:00
Jon Coppeard
7345e3e7f2
Bug 891966 - 2 - Comment calls to Handle::fromMarkedLocation r=bz
2013-07-23 10:58:28 +01:00
Jon Coppeard
b216cf9603
Bug 891966 - 1 - Don't allow construction of Handle<T> from Heap<T> r=bz
2013-07-23 10:58:27 +01:00
Bobby Holley
3b1ff95f0f
Bug 883450 - Re-order stuff in CallSetup so that we construct the RootedObject after the Push. r=bz
2013-06-20 11:05:34 -07:00
Jon Coppeard
c43484e0e2
Bug 877762 - GC: Post-barrier cycle collector participants - 7 Convert most JSObect to use Heap<T> (ex. XBL) r=bz
2013-06-18 11:00:38 +01:00
Bobby Holley
1b2f22fe61
Bug 868130 - Remove the lion's share of JSAutoRequests in gecko. r=gabor
...
There are still a handful that either are used with other runtimes, or that
happen very early/late in cx the lifetime of various things where it doesn't
necessarily make sense to have a cx on the stack. This should definitely ensure
that we're not doing double-duty with the nsCxPusher change, though.
2013-05-22 10:05:28 -06:00
Bobby Holley
2b2cd4e0b7
Bug 868130 - Remove the dependencies of the nsCxPusher machinery on nsContentUtils, use nsCxPusher in xpcshell, and privatize APIs. r=gabor
...
No more xpc::danger, for now. ;-)
2013-05-22 10:05:26 -06:00
Bobby Holley
ba05c93769
Bug 868130 - Include nsCxPusher.h everywhere we need it, and stop including it from nsContentUtils.h. r=gabor
2013-05-22 10:05:26 -06:00
Boris Zbarsky
92fcdb83bf
Bug 874105. Make CallSetup hold a Rooted to the object it's constructed with so we don't have to worry about it going gray while things like argument conversion for the call are in progress. r=mccr8
2013-05-21 14:15:29 -04:00
Bobby Holley
0bda6fb49c
Bug 841312 - Remove the termination function API. r=bz
...
\o/
2013-05-21 11:45:56 -06: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
Sankha Narayan Guria
6349c5c599
Bug 867414 - Rename SafeAutoJSContext to AutoSafeJSContext. r=bholley
2013-05-06 09:04:17 -04:00
Boris Zbarsky
05def15f98
Bug 865969 part 8. Fix rooting hazards in CallbackObject. r=ms2ger
2013-05-03 19:29:09 -04:00
Aryeh Gregor
93b152012b
Bug 859817 - Introduce already_AddRefed.downcast(); r=ehsan
2013-04-21 14:56:06 +03:00
Boris Zbarsky
2c5ce6945c
Bug 864727 part 2. Pass a handle for the scope object to union conversions. r=ms2ger,terrence
2013-04-25 12:29:52 -04:00
Boris Zbarsky
5e7cf4462d
Bug 862629 part 1. Stop playing compartment games with WebIDL callbacks and just use the given object as-is. r=peterv
2013-04-24 14:59:15 -04:00
Boris Zbarsky
aa1e53124f
Bug 835643 part 2. Store an EventListenerHolder, not an nsIDOMEventListener, in nsListenerStruct. r=smaug
2013-04-16 17:15:57 -04:00
Boris Zbarsky
158b424c02
Bug 835643 part 1. Give CallbackObject an IID so that random things don't QI to it. r=smaug
...
Right now it thinks its IID is the nsISupports IID!
2013-04-16 17:14:30 -04:00
Joshua Cranmer
292c1594b0
Bug 856108 - Port static analyses to clang, part 2b: use MOZ_STACK_CLASS in dom. r=Ms2ger
2013-04-11 22:20:18 -05:00
Jacek Szpot
8123bfdfc5
Bug 854503 - Rename JS unwrapping functions. r=bholley
2013-04-11 11:50:18 -07:00
Ryan VanderMeulen
9420af6638
Backed out changeset a85d21e394c0 (bug 854503) for bustage.
2013-04-06 14:37:33 -04:00
Jacek Szpot
ccadc1da47
Bug 854503 - Rename JS unwrapping functions. r=bholley
2013-04-04 12:14:32 +02:00
Boris Zbarsky
94af964935
Bug 852219 part 2. Add an infallible constructor for CallbackObjects which are already in the right compartment and use this to simplify construction of the autogenerated implementation of a JS-implemented WebIDL binding. r=mccr8
2013-04-03 22:22:15 -04:00
Ms2ger
cf9a7a5ddd
Bug 845374 - Part n: Stop including nsINode.h and nsIDOMNode.h in nsContentUtils.h; r=khuey
2013-03-17 08:55:15 +01:00
Boris Zbarsky
ec134a3b8c
Bug 838686 part 2. Use NodeFilterHolder in treewalker and nodeiterator and start using WebIDL codegen for NodeFilter. r=peterv
2013-02-26 15:10:15 -05:00
Boris Zbarsky
f81f8c911f
Bug 838686 part 1. Add a helper class that can store a WebIDL callback or an XPCOM interface. r=peterv
2013-02-26 15:10:15 -05:00
Boris Zbarsky
41cfacaaa1
Back out changeset a4763990a983 (bug 838686) because gcc doesn't like it and we get a CLOSED TREE.
2013-02-26 15:35:13 -05:00
Boris Zbarsky
f9e332a488
Bug 838686 part 1. Add a helper class that can store a WebIDL callback or an XPCOM interface. r=peterv
2013-02-26 15:10:15 -05:00
Boris Zbarsky
c1a79f1556
Bug 839088 part 2. Add way to indicate to a CallSetup that it should propagate any exceptions thrown during the call out to the ErrorResult for the call. r=peterv
2013-02-19 11:54:40 -05:00
Boris Zbarsky
c71174d98b
Bug 822470 part 1. Factor out the code that callback functions and callback interfaces will be able to share into a CallbackObject class. r=peterv
...
--HG--
rename : dom/bindings/CallbackFunction.cpp => dom/bindings/CallbackObject.cpp
rename : dom/bindings/CallbackFunction.h => dom/bindings/CallbackObject.h
2013-01-28 08:34:29 -05:00