Rodrigo Rodriguez Jr.
ce08f289ef
Bug 952650 (part 2) - Remove JSVAL_IS_VOID. r=evilpies.
...
--HG--
extra : rebase_source : 0ae81cd69dc13d944927de906abc656536b4d425
2014-04-27 19:32:05 -07:00
Boris Zbarsky
35fca5eeeb
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
56f44fdf10
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
54d409dfca
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
Masayuki Nakano
abfbab58dd
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
db6b33d414
Bug 983049 part.3 Rename nsEventChainPostVisitor to mozilla::EventChainPostVisitor r=smaug
2014-03-18 13:48:20 +09:00
Masayuki Nakano
ef5a7c0e92
Bug 983049 part.2 Rename nsEventChainPreVisitor to mozilla::EventChainPreVisitor r=smaug
2014-03-18 13:48:19 +09:00
Boris Zbarsky
d6d5a58892
Bug 972312 part 2. Get rid of InternalScriptErrorEvent and just use mozilla::dom::ErrorEvent for the cases that used to use it. r=smaug,khuey
2014-02-23 00:01:12 -05:00
Ted Clancy
64a7be3a28
Bug 958359 - IndexedDB should log a message to the console when it returns NS_ERROR_DOM_INDEXEDDB_UNKNOWN_ERR. r=bent
2014-01-27 19:37:05 -05:00
Boris Zbarsky
253d12be56
Bug 950315 part 2. Convert some idb classes to passing a Window or nsDOMEventTargetHelper directly to the constructor of their ancestor nsDOMEventTargetHelper. r=khuey
2014-01-07 00:32:20 -05:00
Ehsan Akhgari
41191030e3
Bug 947737 - Build dom/indexedDB in unified mode; r=bent
2013-12-09 00:31:48 -05:00
Andrea Marchesini
b3f965ca71
Bug 937006 - No crash when IDRequest fails to get filename and line number, r=bholley
2013-11-23 19:25:18 +00:00
Ryan VanderMeulen
c141917f09
Backed out changeset cb123997572c (bug 937006) for Desktop B2G mochitest orange.
2013-11-21 12:40:42 -05:00
Andrea Marchesini
8c05a458b2
Bug 937006 - No crash when IDRequest fails to get filename and line number. r=bholley
2013-11-21 10:35:46 -05:00
Andrea Marchesini
3b65e5052b
Bug 933351 - IDBRequest should not write warning messages about callee when created by IPC IDB, r=janv, f=bholley
2013-11-04 12:57:53 +00:00
Masayuki Nakano
c9a07e240e
Bug 920377 part.12 Get rid of nsScriptErrorEvent r=roc
2013-09-27 15:20:56 +09:00
Masayuki Nakano
ad647cc182
Bug 912956 part.17 mozilla/ContentEvents.h should be included directly r=roc
2013-09-25 20:21:20 +09:00
Ehsan Akhgari
b4cc06df88
Bug 918923 - Part 2: Switch to #including nsString.h in code using the internal strings API; r=bsmedberg
2013-09-23 13:25:00 -04:00
Boris Zbarsky
ef66ca3e72
Bug 915971. Rename FooReturnValue unions to OwningFoo, because we use them for more than just return values. r=dzbarsky
2013-09-17 11:16:02 -04:00
Kyle Huey
51464638d6
Bug 906812: Remove nsISupports usage from IndexedDB WebIDL. r=sicking
2013-08-22 22:17:10 -07:00
Mike Hommey
d01b5df996
Bug 881323 - Re-implement CycleCollectorParticipant with actual vtables, with constexpr to avoid static initializers. r=mccr8
2013-08-02 10:29:05 +09:00
Andrea Marchesini
413ce8df28
Bug 887524 - Move IDBRequest to WebIDL, r=janv
2013-08-01 00:28:15 +02:00
Andrea Marchesini
59c5192f42
Bug 888598 - Move IDBTransaction to WebIDL, r=janv
2013-07-29 19:12:21 +02:00
Jon Coppeard
a89a393bba
Bug 884384 - Use JS::MutableHandle<JS::Value> instead of jsval* for out parameters r=smaug
2013-06-21 14:12:46 +01:00
Bobby Holley
a46a847021
Bug 884362 - Make IDBRequest::CaptureCaller use the cx stack and decxify a bunch of IDB. r=bent
2013-06-20 11:05:33 -07:00
Jon Coppeard
59d5490ab4
Bug 877762 - GC: Post-barrier cycle collector participants - 5 Convert JS::Value to use Heap<T> r=smaug
2013-06-18 11:00:37 +01:00
Andrea Marchesini
8bd1d9af1d
Bug 874252 - Leak with expando on a DOMError, r=khuey
2013-05-27 16:43:09 -04:00
Bobby Holley
91448a9dac
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
54ef3d2952
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
38fc5d8909
Bug 870856 - Convert DOMError to WebIDL. r=Ms2ger, r=bz
2013-05-18 13:52:06 -04:00
David Zbarsky
1e6ff1698e
Bug 868312 - Some more rooting fixes for dom r=bz
2013-05-10 22:39:45 -04:00
David Zbarsky
f6efab93ab
Bug 866450 Part 6: Fix rooting hazards under content/ and dom/ r=bz
2013-05-02 05:12:47 -04:00
Ed Morley
ca271dcaf0
Backed out changeset 7c0ace2560c4 (bug 866450)
2013-05-02 11:57:01 +01:00
David Zbarsky
c16b833cb2
Bug 866450 Part 6: Fix rooting hazards under content/ and dom/ r=bz
2013-05-02 05:12:47 -04:00
Ben Turner
0514a30d13
Bug 861287 - 'Integrate IndexedDB into the gecko profiler'. r=khuey.
2013-03-15 23:58:50 -07:00
Ben Turner
d2d94d205c
Backout bug 861287 for gcc build failures.
2013-04-25 08:30:28 -04:00
Ben Turner
19f1c29c69
Bug 861287 - 'Integrate IndexedDB into the gecko profiler'. r=khuey.
2013-03-15 23:58:50 -07:00
Bobby Holley
629d0d4121
Bug 860438 - Straightforward cases. r=gabor
2013-04-18 11:36:03 -04:00
Bobby Holley
d1a3436036
Bug 834732 - Audit callers of GetNativeContext and use AutoPushJSContext where appropriate. r=mrbkap
2013-02-26 11:04:13 -08:00
Trevor Saunders
9f0ad48b28
bug 822289 - remove NS_IMPL_CYCLE_COLLECTION_CLASS and friends r=mccr8
2013-01-12 07:40:33 -05:00
Andrew McCreight
d61e01cdfc
bug 804220 - Make IDBWrapperCache::SetScriptOwner infallible. r=khuey
2012-11-29 14:54:14 -08:00
Olli Pettay
1e72329799
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
a1d7e0f511
Bug 807437 - Eliminate redundant Traverse/Unlink CC macros - part 1: automatic changes - r=mccr8
2012-11-15 02:32:40 -05:00
Ben Turner
9572705866
Bug 808743 - ' Better protection for PBrowser shutdown and database invalidation in multiprocess scenarios'. r=khuey+cjones.
...
--HG--
extra : transplant_source : %BD%E4%ADA%09%CE%D9%BE%1C%7C%7B%1A%FC%86%5C%13%24%29%B4%16
2012-11-09 19:29:07 -08:00
Ben Turner
da36cf378c
Bug 792834 - 'Make sure to always set errors on failed requests'. r=khuey.
2012-09-20 11:20:15 -07:00
Kyle Huey
c25f8e64ef
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
Ben Turner
0abf68c99f
Bug 786771 - Fix for 'ASSERTION: Must have an actor here'. r=mrbkap.
...
--HG--
extra : transplant_source : %9D%D0o%D2%C7%9F%22%5E%21%91%B4%A0ly%60%FE%CA%17%FAP
2012-08-29 17:50:28 -07:00
Luke Wagner
94264a0bc8
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
0fd9123eac
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
e806eeab4f
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00