Birunthan Mohanathas
a29151dc87
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
4d2270d352
Bug 1149815 - Guard against using deleted IDBObjectStore and IDBIndex objects, r=janv.
2015-06-20 09:08:23 -07:00
Andrew McCreight
92010d3e4c
Bug 1152551, part 2 - Fix mode lines in dom/. r=jst
2015-05-03 15:32:37 -04:00
Boris Zbarsky
3a822d99b4
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
Ben Turner
252480014d
Bug 1143885 - Fix transaction handling when requests are killed prematurely, r=khuey.
2015-03-18 14:20:59 -07:00
Ms2ger
2c36b38c93
Bug 914067 - Remove JSVAL_VOID from dom/; r=jst
2015-01-14 08:59:06 +01:00
Ben Turner
2b90bf55ad
Bug 1092311 - Fix IndexedDB profiler markers and logging, r=khuey.
2014-10-15 21:56:52 -07:00
Peter Van der Beken
3467274091
Bug 1078744 - Replace SetIsDOMBinding with SetIsNonDOMBinding, remove nsWrapperCache::SetIsDOMBinding. r=bz.
2014-10-07 11:44:49 +02:00
Ben Turner
e30152a851
Bug 994190 - 'Modify main-thread IndexedDB to use PBackground', r=khuey.
2014-09-26 16:21:57 -07:00
Ben Turner
4937da099f
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
aede706b17
Bug 994190 - 'Modify main-thread IndexedDB to use PBackground', r=khuey.
2014-09-13 12:12:19 -04:00
Boris Zbarsky
f4496f1213
Bug 1009675 part 2. Return WebIDL 'any' values as handles. r=peterv
2014-06-11 16:26:52 -04:00
"Kan-Ru Chen (陳侃如)"
21e1ce8dee
Bug 879475 - Part 003. Use nsIContentParent in indexeddb r=bent
...
Based on original patch by David Zbarsky <dzbarsky@gmail.com >
2014-06-11 13:44:08 +08:00
Victor Porof
298ca2ed1b
Bug 1007203 - Always add categories when pushing to the pseudostack, r=djvj
2014-05-23 17:12:29 -04:00
Nicholas Nethercote
9da212679f
Bug 952650 (part 14) - Remove JSVAL_IS_GCTHING. r=till.
2014-04-28 16:01:30 -07:00
Rodrigo Rodriguez Jr.
ddb500cb53
Bug 952650 (part 2) - Remove JSVAL_IS_VOID. r=evilpies.
2014-04-27 19:32:05 -07:00
Boris Zbarsky
b95c359828
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
ae0180ee85
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
2eb2bd8616
Bug 983049 part.5 Rename nsEventDispatcher to mozilla::EventDispatcher r=smaug
2014-03-18 13:48:21 +09:00
Boris Zbarsky
cffedad1d1
Bug 970764. Remove support for non-optional "any" arguments values, since "any" needs to be able to include undefined anyway. Have "any" arguments and dictionary entries default to undefined unless the IDL explicitly says "= null". r=khuey
2014-02-19 10:13:38 -05:00
Jon Coppeard
0df72e25fb
Bug 969812 - Convert JS_NewArrayObject to use HandleValueArray r=terrence r=bz
2014-02-12 10:50:46 +00:00
Kyle Huey
37bc369f92
Bug 961286 - Use move semantics for JSAutoStructuredCloneBuffer and wrappers. r=jorendorff, r=bent
2014-01-31 21:50:07 -05:00
Ted Clancy
4e30323e98
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
Jon Coppeard
db296e2bf4
Bug 963167 - Convert JS_SetElement() to take HandleValue rather than MutableHandleValue r=sfink r=bz
2014-01-25 09:31:17 +00:00
Birunthan Mohanathas
20ec48dbba
Bug 784739 - Switch from NULL to nullptr in dom/indexedDB/; r=ehsan
2013-11-25 14:01:59 -05:00
Ben Turner
ddcbae7472
Bug 920800 - 'Add openKeyCursor() to IDBObjectStore'. r=janv.
2013-09-25 16:11:47 -07:00
Jan Varga
86fb699d45
Bug 832883 - Move IDBKeyRange to WebIDL and define indexedDB/IDBKeyRange in all the spots. r=khuey,bent (initial work done by Ms2ger)
2013-09-28 13:25:46 +02:00
Wes Kocher
4880dc8542
Backed out changeset 87a72129c007 (bug 920800) for indexedDB failures
2013-09-26 16:54:01 -07:00
Ben Turner
49307c063a
Bug 920800 - 'Add openKeyCursor() to IDBObjectStore'. r=janv.
2013-09-25 16:11:47 -07:00
Ben Turner
2b92695a0a
Bug 920633 - 'Add getAllKeys() to IDBObjectStore'. r=janv.
2013-09-24 10:14:16 -07:00
Ryan VanderMeulen
6056d6afe3
Backed out 3 changesets (bug 920179, bug 920633, bug 920800) for Windows |make package| crashes on a CLOSED TREE.
...
Backed out changeset bb0041643a0f (bug 920800)
Backed out changeset 24818d9b7470 (bug 920633)
Backed out changeset d49b0f47b05a (bug 920179)
2013-09-26 14:22:43 -04:00
Ben Turner
6e26a8d93d
Bug 920800 - 'Add openKeyCursor() to IDBObjectStore'. r=janv.
2013-09-25 16:11:47 -07:00
Ben Turner
7c681053b3
Bug 920633 - 'Add getAllKeys() to IDBObjectStore'. r=janv.
2013-09-24 10:14:16 -07:00
Andrew McCreight
cee0d6bfae
Bug 883920 - use templates for {Hold,Drop}JSObjects. r=peterv
2013-08-16 13:10:17 -07:00
Ms2ger
5a51413d49
Bug 901323 - Don't include nsContentUtils.h unnecessarily; r=jlebar
2013-08-14 08:56:21 +02:00
David Zbarsky
123df96995
Bug 889734 - Clean up indexedDB ipdl files r=bent
2013-08-06 08:44:01 -04:00
Jon Coppeard
3d1569a54e
Bug 900986 - Convert JS_*Element API to use MutableHandleValue for out params r=terrence r=bholley r=smaug
2013-08-05 14:02:47 +01:00
Ms2ger
d1f4da99bb
Merge m-c to inbound.
2013-08-02 11:40:30 +02:00
Ms2ger
1cda0a7776
Backout changeset 531f544bc9ce for breaking B2G tests.
2013-08-02 11:38:49 +02:00
Ms2ger
29d6d162dc
Merge m-c to inbound.
2013-08-02 11:07:57 +02:00
Ms2ger
d852dc8b47
Bug 832883 - Move IDBKeyRange to WebIDL; r=khuey
2013-08-02 09:09:15 +02:00
Mike Hommey
0dc9c0ef85
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
6ef2ad79ab
Bug 892065 - Move IDBIndex to WebIDL, r=janv
2013-07-31 17:48:40 +02:00
Andrea Marchesini
b7828b2762
Bug 888597 - Move IDBObjectStore to WebIDL, r=janv
2013-07-31 17:48:36 +02:00
Jon Coppeard
b04be8e4e7
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
4327361969
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
5ebd30bc01
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
Bobby Holley
c9c266aea9
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
David Zbarsky
a1a46c18a3
Bug 866450 Part 6: Fix rooting hazards under content/ and dom/ r=bz
2013-05-02 05:12:47 -04:00
Ed Morley
60a28cdef5
Backed out changeset 7c0ace2560c4 (bug 866450)
2013-05-02 11:57:01 +01:00