Commit Graph

39 Commits

Author SHA1 Message Date
Masayuki Nakano
3234ceea19 Bug 983049 part.5 Rename nsEventDispatcher to mozilla::EventDispatcher r=smaug
--HG--
rename : dom/events/nsEventDispatcher.cpp => dom/events/EventDispatcher.cpp
rename : dom/events/nsEventDispatcher.h => dom/events/EventDispatcher.h
2014-03-18 13:48:21 +09:00
Masayuki Nakano
a8aba2b26c Bug 983049 part.2 Rename nsEventChainPreVisitor to mozilla::EventChainPreVisitor r=smaug 2014-03-18 13:48:19 +09:00
Jan Varga
46850236f7 Bug 980275 - Merge DOMFileRequest and FileRequest. r=bent 2014-03-16 17:53:44 +01:00
Jan Varga
cbf55c77bc Bug 953425 - Part d: Add DOMFileRequest::Create(); r=Ms2ger 2014-02-09 09:04:37 +01:00
Tom Schuster
42902d0e42 Bug 961490 - More exact rooting and MOZ_OVERRIDEs in dom/file. r=janv,mccr8 2014-01-23 20:49:40 +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
Bobby Holley
83c76ab760 Bug 899367 - Make GetNativeGlobal consumers call GetWindowProxy and rm the former. r=mccr8
Some of the uses of this are a bit nonsensical now, but that's a problem for
another day.
2013-09-04 14:06:57 -07:00
Ms2ger
1a5ae526d9 Bug 901323 - Don't include nsContentUtils.h unnecessarily; r=jlebar 2013-08-14 08:56:21 +02: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
David Zbarsky
b7033dea1a Bug 868312: Various dom rooting fixes r=bz 2013-05-04 03:52:57 -04:00
Bobby Holley
7e45dcce35 Bug 865729 - Remove nsIJSContextStack from dom/foo. r=gabor 2013-04-29 11:16:18 -07:00
Jose Cortes
0281a0b5d4 Bug 842186 - Replace use of jsval with JS::Value in h and cpp files in the dom/system/ and dom/file/ directories. r=jwalden
--HG--
extra : rebase_source : 02747f384514c16bdfba7319e569b6554d7b28bd
2013-04-02 16:14:00 -07: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
Ms2ger
282ef81ff8 Bug 814898 - Part a: Cleanup CC goop in dom/file; r=mccr8 2012-12-02 09:53:35 +01: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
Nathan Froyd
a30e1929a4 Bug 720768 - add nsDOMEventTargetHelper::DispatchTrustedEvent; r=mounir, sr=smaug 2012-09-27 16:11:31 -04:00
Ms2ger
36d93492da Bug 782040 - Move ProgressEvent to event impl codegen; r=smaug 2012-09-06 09:14:49 +02: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
Luke Wagner
ad90af9ca5 Bug 625199 - s/JSAutoEnterCompartment/JSAutoCompartment/ and make it infallible (r=bholley)
--HG--
extra : rebase_source : 12acf2288285f5caefd7fecea8207de3a47eab5b
2012-08-21 18:42:53 -07:00
Ehsan Akhgari
e368dc9c85 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Aryeh Gregor
4e199a1679 Bug 780618 - Move all error codes to nsError.h; r=ehsan 2012-07-27 17:03:27 +03: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
Wes Johnston
c702f4b45a Bug 780718 - Return false from DOMRequestService is preventDefault was called on events. r=sicking 2012-08-06 15:26:02 -07:00
Ms2ger
94bf1722ed Bug 743573 - Fix a number of build warnings in dom/; r=mounir 2012-08-07 09:06:29 +02:00
Aryeh Gregor
2fbc523d8e Bug 780469 - Reduce unnecessary includes in some content/ header files; r=bz 2012-08-06 15:02:08 +03:00
Aryeh Gregor
d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Olli Pettay
aa64d464e5 Bug 765163 - Implement code generator for simple DOM events, r=jst,khuey 2012-07-20 19:42:08 +03:00
Jan Varga
29df615c5e Bug 771498 - FileHandle: getFile() should return a DOMRequest (instead of a FileRequest). r=sicking 2012-07-10 07:07:01 +02:00
Ryan VanderMeulen
5f2a19ee6e Revert c39d36167b99 due to a horribly munged backout. 2012-06-10 19:44:50 -04:00
Ryan VanderMeulen
6d6c4efbab Backout the bug 754202 backout due to orange. 2012-06-10 19:37:47 -04:00
Olli Pettay
e160cfea86 Bug 761613 - Merge nsIPrivateDOMEvent to nsIDOMEvent, r=jst 2012-06-10 21:14:30 +03:00
Landry Breuil
d59f5e278e Bug 761123 - Remove extra semicolon at end of NS_IMPL_EVENT_HANDLER() decl. r=janv 2012-06-04 16:57:25 +02:00
Jan Varga
513c660911 Bug 726593 - Implement FileHandle. r=bent 2012-06-03 18:33:52 +02:00