Nicholas Nethercote
049829fa60
Bug 952650 (part 14) - Remove JSVAL_IS_GCTHING. r=till.
...
--HG--
extra : rebase_source : 469430d481f5fdb14d49609d8460f9fcbc90927f
2014-04-28 16:01:30 -07:00
Birunthan Mohanathas
5f1fde8824
Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj
2014-04-27 03:06:00 -04:00
Jon Coppeard
173bd25321
Bug 993413 - Remove use of JS_Add/Remove*Root in favour of JS::PersistentRooted where possible r=terrence r=bz r=bholley
2014-04-16 09:47:53 +01:00
Boris Zbarsky
79dab91ff6
Bug 991742 part 8. Remove the "aScope" argument of WebIDL/nsWrapperCache WrapObject() methods. r=bholley
...
This patch was mostly generated with the following command:
find . -name "*.h" -o -name "*.cpp" | xargs sed -e '/WrapObject(JSContext/ {; N; s/\(WrapObject(JSContext *\* *a\{0,1\}[Cc]x\),\n\{0,1\} *JS::Handle<JSObject\*> a\{0,1\}[sS]cope/\1/ ; }' -i ""
and then reverting the changes that made to
dom/bindings/BindingUtils.h, since those WrapObject methods are not
the ones we're trying to change here, plus a bunch of manual fixups
for cases that this command did not catch (including all the callsites
of WrapObject()).
2014-04-08 18:27:18 -04:00
Boris Zbarsky
d4bd64ee2c
Bug 991742 part 6. Remove the "aScope" argument of binding Wrap() methods. r=bholley
...
This patch was mostly generated with this command:
find . -name "*.h" -o -name "*.cpp" | xargs sed -e 's/Binding::Wrap(aCx, aScope, this/Binding::Wrap(aCx, this/' -e 's/Binding_workers::Wrap(aCx, aScope, this/Binding_workers::Wrap(aCx, this/' -e 's/Binding::Wrap(cx, scope, this/Binding::Wrap(cx, this/' -i ""
plus a few manual fixes to dom/bindings/Codegen.py, js/xpconnect/src/event_impl_gen.py, and a few C++ files that were not caught in the search-and-replace above.
2014-04-08 18:27:17 -04:00
Masayuki Nakano
930436ef24
Bug 984269 Rename nsDOMEventTargetHelper to mozilla::DOMEventTargetHelper r=smaug
...
--HG--
rename : dom/events/nsDOMEventTargetHelper.cpp => dom/events/DOMEventTargetHelper.cpp
rename : dom/events/nsDOMEventTargetHelper.h => dom/events/DOMEventTargetHelper.h
2014-04-01 15:13:50 +09:00
Tom Schuster
f39e81815a
Bug 939294 - Change xpidl jsval to handles. r=gabor,bz,khuey,bsmedberg,terrence
2014-01-09 18:39:36 +01:00
Boris Zbarsky
2d26bed9c3
Bug 950188. DOMRequest should only have a constructor taking a Window. r=khuey
2014-01-06 21:53:23 -05:00
Kyle Huey
800f836ccb
Bug 934563: Use the safe JSContext since it will always exist. r=bholley
...
--HG--
extra : rebase_source : 828e6c0c3f9bbc689a791839545cb403a0d2e03d
2013-12-04 11:53:50 -05:00
Masayuki Nakano
015140fe0d
Bug 912956 part.15 mozilla/TextEvents.h should be included directly r=roc
2013-09-25 20:21:19 +09:00
Andrew McCreight
01af9297c7
Bug 883920 - use templates for {Hold,Drop}JSObjects. r=peterv
2013-08-16 13:10:17 -07:00
Andrew McCreight
bfd6bdbcf8
Bug 889193 - Remove DOMRequest::mRooted. r=smaug
2013-08-14 11:29:20 -07:00
Ehsan Akhgari
99058b577c
Bug 905353 - Minimize the #includes in dom/base; r=jst
...
--HG--
extra : rebase_source : e7a1d2262bf6d8c9b78057b8eb6cdbfd98262f68
2013-08-15 14:17:48 -04:00
Mike Hommey
2e729aa83d
Bug 881323 - Re-implement CycleCollectorParticipant with actual vtables, with constexpr to avoid static initializers. r=mccr8
2013-08-02 10:29:05 +09:00
Justin Lebar
051c5b560a
Bug 802686 - s/MOZ_NOT_REACHED/MOZ_CRASH/ in Gecko. r=(see below)
...
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else
This is a mechanical change made with sed. Later patches in this queue
clean up the whitespace errors and so on.
2013-06-28 18:38:30 -07:00
Fernando Jiménez
2001687ad7
Bug 885701 - [DOMRequest] Implement DOMRequestService.fireDetailedError. r,sr=sicking
2013-06-28 10:53:44 +08:00
Bobby Holley
f2943090bd
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
cdde50556c
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
Andrea Marchesini
0bb228f8cc
Bug 870856 - Convert DOMError to WebIDL. r=Ms2ger, r=bz
2013-05-18 13:52:06 -04:00
Boris Zbarsky
43f774459d
Bug 868312 finale: finish rooting dom/ code. r=smaug
2013-05-17 21:48:25 -04:00
Nathan Froyd
19a6f21e0b
Bug 869073 - make WebIDL enums enum classes instead of plain enums; r=bz
2013-05-06 15:28:13 -04:00
Boris Zbarsky
b834439797
Bug 864727 part 5. Make all the WrapObject methods take a handle for the scope object. r=ms2ger
2013-04-25 12:29:54 -04:00
Kyle Machulis
0a8e5cb559
Bug 855062 - Add initialization function for DOMRequest FireSuccessAsync; r=mrbkap
2013-04-16 14:54:00 -07:00
Jose Cortes
1068414e39
Bug 842186 - Replace use of jsval with JS::Value in dom/base. r=jwalden
...
From 1a684ed61615d32965201e55335478d5f403ac4a Mon Sep 17 00:00:00 2001
cpp files in the dom/base/ directory. r=jwalden
---
dom/base/Crypto.cpp | 3 +-
dom/base/DOMRequest.cpp | 12 +++---
dom/base/DOMRequest.h | 4 +-
dom/base/Navigator.cpp | 10 ++---
dom/base/nsDOMJSUtils.h | 6 +--
dom/base/nsDOMWindowUtils.cpp | 20 ++++-----
dom/base/nsGlobalWindow.cpp | 24 +++++------
dom/base/nsIJSNativeInitializer.h | 4 +-
dom/base/nsJSEnvironment.cpp | 73 +++++++++++++++++----------------
dom/base/nsJSEnvironment.h | 8 ++--
dom/base/nsJSTimeoutHandler.cpp | 4 +-
dom/base/nsJSUtils.h | 2 +-
dom/base/nsStructuredCloneContainer.cpp | 10 ++---
13 files changed, 91 insertions(+), 89 deletions(-)
--HG--
extra : rebase_source : af1420550a745aba9fd6c20297ac3cd0075f5ead
2013-04-11 18:52:10 -04:00
Ms2ger
230059c152
Bug 861098 - Remove more classinfo; r=bz
2013-04-13 09:08:49 +02:00
Ms2ger
1dad3019dc
Bug 824986 - Move DOMRequest and subclasses to Paris bindings; r=khuey
2013-03-17 09:51:36 +01:00
Olli Pettay
eaf67cc919
Bug 822399 - Make Event to use Paris bindings, r=peterv
2013-03-09 13:34:29 +02:00
Bobby Holley
7b9176007d
Bug 834732 - Audit callers of GetNativeContext and use AutoPushJSContext where appropriate. r=mrbkap
2013-02-26 11:04:13 -08:00
Reuben Morais
e1c1f6ec07
Bug 837917 - Implement DOMCursor and DOMRequestService::fireDone(). r=sicking
2013-02-08 12:25:37 -08:00
Phil Ringnalda
bd5839db74
Back out 8db40a38aeb1 (bug 837917) for test_interfaces.html failures
...
CLOSED TREE
2013-02-14 21:37:37 -08:00
Reuben Morais
e5e32cdece
Bug 837917 - Implement DOMCursor and DOMRequestService::fireDone(). r=sicking
...
--HG--
extra : rebase_source : 8ccb520402c53950d1c0149a0f5a3188fe838667
2013-02-08 12:25:37 -08:00
Trevor Saunders
83bcbe0d6b
bug 822289 - remove NS_IMPL_CYCLE_COLLECTION_CLASS and friends r=mccr8
2013-01-12 07:40:33 -05:00
Ms2ger
f96f32cdf5
Bug 823107 - Make nsIDOMEvent::SetTrusted return void; r=smaug
2012-12-22 09:18:08 +01:00
Olli Pettay
c806b877ae
Bug 811206, Fix JSHolder drop handling, part 3 (fixes), r=mccr8,khuey
...
--HG--
extra : rebase_source : 7b2726d2aa7f5764a3c4cb750e5a735728069687
2012-11-28 03:37:57 +02:00
Benoit Jacob
986ee1a065
Bug 807437 - Eliminate redundant Traverse/Unlink CC macros - part 1: automatic changes - r=mccr8
2012-11-15 02:32:40 -05:00
Kyle Machulis
c3fae50403
Bug 797569 - Added AutoREquest for success value rooting in DOMRequest; r=mrbkap
...
--HG--
extra : rebase_source : e8a93c5e95bc3a18f891035886a19a387c12bf4d
2012-10-05 16:08:42 -07:00
Kyle Machulis
fd4e1bacaf
Bug 783426 - Async firing for FireSuccess/Error on DOMRequest; r=jonas r=khuey
2012-09-04 13:19:22 -07:00
Kyle Huey
3b42fbfcd1
Bug 687332: Part 2 - Move event handlers off of DOM objects and keep track of them solely in the event listener manager. r=smaug,bz
2012-08-30 20:45:16 -07:00
Andrea Marchesini
34c7f9dc7b
Bug 784190 - Fix Cycle collection casting in DOMRequest, r=mccr8
2012-08-27 09:44:25 -07:00
Kyle Machulis
8a2e15d8be
Backout of f98bea38e654 due to mochi bustage
2012-08-23 12:01:27 -07:00
Kyle Machulis
76c7b95997
Backout of c129811b87ef due to mochi bustage
2012-08-23 12:00:51 -07:00
Kyle Machulis
a33056cfaf
Bug 783426: Patch 2 - Async DOMRequest Firing Tests; r=sicking
2012-08-23 09:52:54 -07:00
Kyle Machulis
1a157c8765
Bug 783426: Patch 1 - Async DOMRequest Firing; r=sicking
2012-08-23 09:52:29 -07:00
Kyle Machulis
76388120fe
Backout 81fc1a3fc920 due to bustage
2012-08-22 18:11:24 -07:00
Kyle Machulis
79dc311d5f
Bug 783426: Patch 1 - Async DOMRequest Firing; r=sicking
2012-08-22 18:03:43 -07:00
Kyle Machulis
287a39048a
Backing out df43ad6d04c1 due to incorrect commit messages
2012-08-22 18:02:36 -07:00
Kyle Machulis
bc347bb5c8
Bug 783426: Patch 1 - Async DOMRequest Firing
2012-08-22 17:57:50 -07:00
Wes Johnston
e6e173db29
backout c030a8af8abd and dd0c287660e9 CLOSED TREE
2012-08-08 14:07:39 -07:00
Wes Johnston
2ca14e2ea1
Bug 780718 - Return false from DOMRequestService is preventDefault was called on events. r=sicking
2012-08-08 12:35:15 -07:00
Wes Johnston
f73e753770
Backout 81a090e983d2, 8236b3579bf3,
2012-08-07 10:08:41 -07:00