Birunthan Mohanathas
47ed3a3675
Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
...
The bulk of this commit was generated by running:
run-clang-tidy.py \
-checks='-*,llvm-namespace-comment' \
-header-filter=^/.../mozilla-central/.* \
-fix
2015-07-13 08:25:42 -07:00
Ben Turner
081a9e4d1f
Bug 1171578 - Avoid crashing if indexedDB is used at a particular point in the worker shutdown sequence, r=baku.
2015-06-22 12:13:38 -07:00
Jan Varga
117b9c1c24
Bug 1161063; r=bent
2015-06-11 22:34:30 +02:00
Andrew McCreight
c979f253c0
Bug 1152551, part 2 - Fix mode lines in dom/. r=jst
2015-05-03 15:32:37 -04:00
Ehsan Akhgari
5cccea6f0f
Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
...
This patch was automatically generated using the following script:
function convert() {
echo "Converting $1 to $2..."
find . \
! -wholename "*/.git*" \
! -wholename "obj-ff-dbg*" \
-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 MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Ben Turner
ebdf9e0404
Bug 1142210, r=khuey.
2015-03-19 21:42:37 -07:00
Boris Zbarsky
988b8e01be
Bug 1117172 part 3. Change the wrappercached WrapObject methods to allow passing in aGivenProto. r=peterv
...
The only manual changes here are to BindingUtils.h, BindingUtils.cpp,
Codegen.py, Element.cpp, IDBFileRequest.cpp, IDBObjectStore.cpp,
dom/workers/Navigator.cpp, WorkerPrivate.cpp, DeviceStorageRequestChild.cpp,
Notification.cpp, nsGlobalWindow.cpp, MessagePort.cpp, nsJSEnvironment.cpp,
Sandbox.cpp, XPCConvert.cpp, ExportHelpers.cpp, and DataStoreService.cpp. The
rest of this diff was generated by running the following commands:
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObject\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(Binding(?:_workers)?::Wrap\((?:aCx|cx|aContext|aCtx|js), [^,)]+)\)/\1, aGivenProto)/g'
2015-03-19 10:13:33 -04:00
Bobby Holley
a52a6b138c
Bug 1117851 - Make GetCallingLocation take an nsA{,C}String. r=smaug
2015-01-05 13:53:27 -08:00
Ben Turner
64376d8607
Bug 701634 - Support IndexedDB in Workers, r=khuey+baku.
2014-12-16 22:26:15 -08:00
Ben Turner
ea0ab881c3
Bug 1092311 - Fix IndexedDB profiler markers and logging, r=khuey.
2014-10-15 21:56:52 -07:00
Ben Turner
da7a498543
Bug 1083285 - Fix noisy IndexedDB error, replace with better warning. r=khuey.
2014-11-13 18:20:38 -08:00
Wes Kocher
b9e9211cc1
Backed out changeset f5ed560d297f (bug 1083285) for build bustage
2014-11-18 15:47:57 -08:00
Ben Turner
dad2b46632
Bug 1083285 - Fix noisy IndexedDB error, replace with better warning. r=khuey.
2014-11-13 18:20:38 -08:00
Peter Van der Beken
7ced30305e
Bug 1068740 - Consider putting union types in the binding files where they're used. r=bz.
...
--HG--
extra : rebase_source : 7e0b1e2f60757b7758704dab3672ee829f3e4085
2014-10-01 20:43:26 +02:00
Andrea Marchesini
57fa89d6de
Bug 1047483 - patch 1 - Porting DOMFile/DOMBlob to WebIDL, r=bz, r=bkelly, r=bholley
2014-10-08 17:15:22 +01:00
Ryan VanderMeulen
566e49b6ff
Backed out 7 changesets (bug 1047483, bug 1079301, bug 1079335) for webplatform test failures.
...
Backed out changeset 7d06b68c44d0 (bug 1079335)
Backed out changeset 92030169528e (bug 1079301)
Backed out changeset c09d7f95554a (bug 1047483)
Backed out changeset c199f1057d7e (bug 1047483)
Backed out changeset 18830d07884c (bug 1047483)
Backed out changeset e087289ccfbb (bug 1047483)
Backed out changeset 6238ff5d3ed0 (bug 1047483)
CLOSED TREE
--HG--
rename : content/base/public/File.h => content/base/public/nsDOMFile.h
rename : content/base/src/MultipartFileImpl.cpp => content/base/src/nsDOMBlobBuilder.cpp
rename : content/base/src/MultipartFileImpl.h => content/base/src/nsDOMBlobBuilder.h
rename : content/base/src/File.cpp => content/base/src/nsDOMFile.cpp
2014-10-07 13:16:11 -04:00
Andrea Marchesini
570a9abfb8
Bug 1047483 - patch 1 - Porting DOMFile/DOMBlob to WebIDL, r=bz, r=bkelly, r=bholley
2014-10-07 15:20:52 +01:00
Ben Turner
b5f643fa70
Bug 994190 - 'Modify main-thread IndexedDB to use PBackground', r=khuey.
2014-09-26 16:21:57 -07:00
Ben Turner
68190e91be
Backout bug 994190 and merge over some stuff that landed afterwards on a CLOSED TREE.
2014-09-17 19:36:01 -04:00
Ben Turner
c6ede83e24
Bug 994190 - 'Modify main-thread IndexedDB to use PBackground', r=khuey.
...
--HG--
rename : dom/indexedDB/ipc/SerializationHelpers.h => dom/indexedDB/SerializationHelpers.h
rename : dom/indexedDB/ipc/unit/head.js => dom/indexedDB/test/unit/xpcshell-head-child-process.js
rename : dom/indexedDB/test/unit/head.js => dom/indexedDB/test/unit/xpcshell-head-parent-process.js
rename : dom/ipc/Blob.h => dom/ipc/BlobParent.h
rename : dom/ipc/FileDescriptorSetChild.cpp => ipc/glue/FileDescriptorSetChild.cpp
rename : dom/ipc/FileDescriptorSetChild.h => ipc/glue/FileDescriptorSetChild.h
rename : dom/ipc/FileDescriptorSetParent.cpp => ipc/glue/FileDescriptorSetParent.cpp
rename : dom/ipc/FileDescriptorSetParent.h => ipc/glue/FileDescriptorSetParent.h
rename : dom/ipc/PFileDescriptorSet.ipdl => ipc/glue/PFileDescriptorSet.ipdl
2014-09-13 12:12:19 -04:00
Bobby Holley
30602c16ab
Bug 1052052 - Hoist Auto*JSContext into nsContentUtils and kill nsCxPusher.{cpp,h}. r=gabor
2014-08-14 18:47:15 -07:00
Ryan VanderMeulen
8c15c6ab96
Backed out changesets 5b1a3161f614, 17a9673ed782, and a9b8c346d295 (bug 1052052) for B2G non-unified bustage.
2014-08-14 17:23:10 -04:00
Bobby Holley
b6d099f558
Bug 1052052 - Hoist Auto*JSContext into nsContentUtils and kill nsCxPusher.{cpp,h}. r=gabor
2014-08-14 12:54:34 -07:00
Seth Fowler
9df3dafe56
Bug 913586 (Part 4) - Update Maybe users in dom. r=bz
...
--HG--
extra : rebase_source : 7b6159b00b3bf4f919b30f1bccc8939cc04fe526
2014-08-13 15:39:41 -07:00
Bob Owen
36cf6c034b
Bug 1029494 Part 1: Replace AutoPushJSContext in IDBRequest::NotifyHelperCompleted. r=bholley
2014-07-01 10:09:46 +01:00
Boris Zbarsky
1284410aa0
Bug 1009675 part 2. Return WebIDL 'any' values as handles. r=peterv
2014-06-11 16:26:52 -04:00
Andrea Marchesini
b52b984135
Bug 957086 - patch 2 - DataStoreService in C++, r=ehsan, r=bz, r=janv
2014-06-03 15:36:46 +01:00
Ehsan Akhgari
abc36676df
Backed out 3 changesets (bug 957086) for causing bug 1018406
...
Backed out changeset f8b6dab2f985 (bug 957086)
Backed out changeset b69bcaa24ab5 (bug 957086)
Backed out changeset 3b45335d4694 (bug 957086)
--HG--
rename : dom/datastore/DataStoreImpl.js => dom/datastore/DataStoreImpl.jsm
2014-06-02 10:19:19 -04:00
Andrea Marchesini
2e1fb387b3
Bug 957086 - patch 2 - DataStoreService in C++, r=ehsan, r=bz, r=janv
2014-05-30 07:59:27 +01:00
Ryan VanderMeulen
b2635781f4
Backed out changesets 083b9fb75e9a, 4cbc8cf0b619, and ef379607cff7 (bug 957086) for Win7/Win8 debug mochitest crashes.
...
--HG--
rename : dom/datastore/DataStoreImpl.js => dom/datastore/DataStoreImpl.jsm
2014-05-29 13:22:57 -04:00
Andrea Marchesini
88158335c2
Bug 957086 - patch 2 - DataStoreService in C++, r=ehsan, r=bz, r=janv
2014-05-29 16:34:43 +01:00
Rodrigo Rodriguez Jr.
e1c05e08db
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
fdbb455d4f
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
3f26a82832
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
b185105992
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
b7a8d4a392
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
6e0a5b3333
Bug 983049 part.3 Rename nsEventChainPostVisitor to mozilla::EventChainPostVisitor r=smaug
2014-03-18 13:48:20 +09:00
Masayuki Nakano
84f7d80b11
Bug 983049 part.2 Rename nsEventChainPreVisitor to mozilla::EventChainPreVisitor r=smaug
2014-03-18 13:48:19 +09:00
Boris Zbarsky
8e173d33eb
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
b1e9ad7075
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
6f115ef0b9
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
a3034e13a5
Bug 947737 - Build dom/indexedDB in unified mode; r=bent
2013-12-09 00:31:48 -05:00
Andrea Marchesini
f573fb6a31
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
116092759a
Backed out changeset cb123997572c (bug 937006) for Desktop B2G mochitest orange.
2013-11-21 12:40:42 -05:00
Andrea Marchesini
6effcf04f1
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
5dfe234eb4
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
d6963ba8d1
Bug 920377 part.12 Get rid of nsScriptErrorEvent r=roc
2013-09-27 15:20:56 +09:00
Masayuki Nakano
2f532b885b
Bug 912956 part.17 mozilla/ContentEvents.h should be included directly r=roc
2013-09-25 20:21:20 +09:00
Ehsan Akhgari
dee6c12c6f
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
9cc662a2d6
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