Martin Thomson
3f054841ce
Bug 1176434 - Enabling indexedDB for content JS sandboxes, r=bent
...
--HG--
extra : commitid : DYgglyPMmSl
2015-07-02 13:30:15 -07:00
Ben Turner
a0940b9a26
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
Fernando Jimenez
dbb95a17ef
Bug 1137245 - ServiceWorkerManager should set WorkerPrivate::LoadInfo::mIndexedDBAllowed correctly. r=bent, bkelly
2015-06-11 15:32:54 +02:00
Andrew McCreight
9e8f4b219e
Bug 1152551, part 2 - Fix mode lines in dom/. r=jst
2015-05-03 15:32:37 -04:00
Ben Turner
8f3a68440b
Bug 1151646 - Cleanup, r=khuey.
2015-04-08 15:21:26 -07:00
Ehsan Akhgari
883849ee32
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
Boris Zbarsky
dc24477d79
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
Gijs Kruitbosch
69488b712d
Bug 1079355 - indexedDB pref should only apply for content pages, not chrome ones, r=bent
2015-01-05 23:08:12 +00:00
Ben Turner
2be368dceb
Bug 701634 - Support IndexedDB in Workers, r=khuey+baku.
2014-12-16 22:26:15 -08:00
Ben Turner
9a1f2f231f
Bug 1092311 - Fix IndexedDB profiler markers and logging, r=khuey.
2014-10-15 21:56:52 -07:00
Jan Varga
7a79af88ee
Bug 771288 - Multiprocess FileHandle support (FileHandle on PBackground); Part 1 - Remove unused stuff; r=bent
2014-12-06 07:31:53 -08:00
Jan Varga
3528192339
Bug 1083927 - IndexedDB: Subdomain Quota Management; r=bent,ehsan
...
--HG--
rename : dom/indexedDB/test/unit/bug1056939.zip => dom/indexedDB/test/unit/bug1056939_profile.zip
2014-11-28 09:44:12 +01:00
Ben Turner
64e5bce38a
Bug 1083285 - Fix noisy IndexedDB error, replace with better warning. r=khuey.
2014-11-13 18:20:38 -08:00
Wes Kocher
a7a427d424
Backed out changeset f5ed560d297f (bug 1083285) for build bustage
2014-11-18 15:47:57 -08:00
Ben Turner
5b41e9bc9e
Bug 1083285 - Fix noisy IndexedDB error, replace with better warning. r=khuey.
2014-11-13 18:20:38 -08:00
Jon Coppeard
7b007a7874
Bug 877924 - Always trace IDBFactory owner pointer r=mccr8
...
--HG--
extra : rebase_source : 626301faca90a21a03a9f983f7afe88dbdd9e6e7
2014-11-05 08:44:26 +00:00
Jan Varga
b89edf2131
Bug 1089764 - Treat persistent storage as temporary storage; r=bent
2014-11-04 21:44:56 +01:00
Jan Varga
a3073b1b35
Backed out changeset 45dad11b6580 (bug 1089764) for causing bug 1093067 and bug 1093223.
2014-11-03 21:00:52 +01:00
Jan Varga
49c83c236c
Bug 1089764 - Treat persistent storage as temporary storage; r=bent
2014-11-01 02:21:25 +01:00
Peter Van der Beken
dcda2ba9bb
Bug 1078744 - Replace SetIsDOMBinding with SetIsNonDOMBinding, remove nsWrapperCache::SetIsDOMBinding. r=bz.
...
--HG--
extra : rebase_source : 89c476cd9436530b2df5acc903909e34188417a0
2014-10-07 11:44:49 +02:00
Ben Turner
d081140cb0
Bug 994190 - 'Modify main-thread IndexedDB to use PBackground', r=khuey.
2014-09-26 16:21:57 -07:00
Ben Turner
46d101f40c
Backout bug 994190 and merge over some stuff that landed afterwards on a CLOSED TREE.
2014-09-17 19:36:01 -04:00
Ehsan Akhgari
8908aea348
Bug 1068020 - Fix more bad implicit constructors in DOM; r=baku
2014-09-17 17:53:42 -04:00
Ben Turner
1a91d40956
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
e70ddb7476
Bug 1052052 - Hoist Auto*JSContext into nsContentUtils and kill nsCxPusher.{cpp,h}. r=gabor
2014-08-14 18:47:15 -07:00
Ryan VanderMeulen
30ae466592
Backed out changesets 5b1a3161f614, 17a9673ed782, and a9b8c346d295 (bug 1052052) for B2G non-unified bustage.
2014-08-14 17:23:10 -04:00
Bobby Holley
3e4d70a655
Bug 1052052 - Hoist Auto*JSContext into nsContentUtils and kill nsCxPusher.{cpp,h}. r=gabor
2014-08-14 12:54:34 -07:00
"Kan-Ru Chen (陳侃如)"
f65f1a6f6c
Bug 879475 - Part 004. Fix IndexedDBObjectStore to not assume that PContent connects the same processes as PBrowser r=bent
...
Based on original patch by David Zbarsky <dzbarsky@gmail.com>
2014-06-11 13:44:11 +08:00
"Kan-Ru Chen (陳侃如)"
1fe49dfe46
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
Andrea Marchesini
095068b4df
Bug 957086 - patch 2 - DataStoreService in C++, r=ehsan, r=bz, r=janv
2014-06-03 15:36:46 +01:00
Ehsan Akhgari
4b8e9c1f5c
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
21d0e1aef4
Bug 957086 - patch 2 - DataStoreService in C++, r=ehsan, r=bz, r=janv
2014-05-30 07:59:27 +01:00
Ryan VanderMeulen
f97a6f77b4
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
28ba788770
Bug 957086 - patch 2 - DataStoreService in C++, r=ehsan, r=bz, r=janv
2014-05-29 16:34:43 +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
Ted Clancy
9598f225ae
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
Olli Pettay
a3e8cf65fd
Bug 958867, consistent OwningObject handling in IDBFactory::Create methods, r=bent
2014-01-12 04:45:15 +02:00
Ehsan Akhgari
1b83407ce9
Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
...
This patch was automatically generated by the following script:
#!/bin/bash
# Command to convert PRUnichar to char16_t
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*modules/libmar*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name prtypes.h \
! -name Char16.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 PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Luke Wagner
5ed834b091
Bug 929236 - Cache asm.js compiled code in Gecko (r=janv)
...
--HG--
extra : rebase_source : 1c97962da0044858c583fc45e69dd22e519b8066
2013-11-18 15:49:53 -06:00
Andrea Marchesini
928c2809d6
Bug 932119 - convert nsIAtom to nsString in QuotaManager and IndexedDB, r=janv
2013-11-25 16:53:48 +00:00
Jan Varga
01428648b0
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
Ehsan Akhgari
8c43a4f37f
Bug 919505 - Minimize the #includes in dom/ipc; r=jst
2013-09-23 17:30:40 -04:00
Andrea Marchesini
ee8268ad59
Bug 916094 - Assertions removed from IDBFactory::Create() when it's used in JS from chrome in IPC. r=bent
2013-09-19 14:45:25 +02:00
Ehsan Akhgari
c88ae238ac
Bug 917299 - Remove some dead code in content/ and dom/; r=bzbarsky
2013-09-17 12:49:07 -04:00
Jan Varga
561b789fb3
Bug 915629 - Chrome doesn't need to check the indexedDB permission. r=bent
2013-09-13 13:19:25 +02:00
Tom Schuster
3d2fa7cabf
Bug 915822 - Make GetTabChildFrom a class method on TabChild. r=smaug
2013-09-12 15:24:11 -04:00
Jan Varga
e9492bcd36
Bug 785884 - Implement support for temporary storage (aka shared pool). r=ehsan, r=bent
...
--HG--
rename : caps/tests/mochitest/test_principal_extendedorigin_appid_appstatus.html => caps/tests/mochitest/test_principal_jarprefix_origin_appid_appstatus.html
rename : dom/quota/UsageRunnable.h => dom/quota/UsageInfo.h
2013-09-11 06:18:36 +02:00
Ms2ger
963ae85194
Bug 909003 - Part f: Remove some includes from IDBFactory.h; r=bz
2013-09-06 08:43:23 +02:00
Andrew McCreight
01af9297c7
Bug 883920 - use templates for {Hold,Drop}JSObjects. r=peterv
2013-08-16 13:10:17 -07: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
Andrea Marchesini
8f98621998
Bug 887524 - Move IDBRequest to WebIDL, r=janv
2013-08-01 00:28:15 +02:00
Boris Zbarsky
0314f249cd
Bug 895009. Don't pass in NonNull/OwningNonNull arguments to WebIDL binding consumers. r=peterv
2013-07-22 08:15:43 -04:00
Ryan VanderMeulen
7c21303600
Backed out changesets 0a196c0e9f96 (bug 895974) and 0d8aa14f5ed3 (bug 895009) for causing intermittent Linux32 mochitest-1 asserts on a CLOSED TREE.
2013-07-22 18:18:17 -04:00
Boris Zbarsky
cebee2f230
Bug 895009. Don't pass in NonNull/OwningNonNull arguments to WebIDL binding consumers. r=peterv
2013-07-22 08:15:43 -04:00
Bobby Holley
5c6400b122
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
Jan Varga
74516b1e86
Bug 878703 - Cleanup usage of IO thread only objects. r=bent
2013-06-05 10:11:23 +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
Boris Zbarsky
dbe1f3da32
Bug 873735 part 2. Change nsIXPConnectJSObjectHolder::GetJSObject to return a JSObject*. r=bholley
2013-05-20 08:44:18 -04:00
David Zbarsky
e35c65d6d0
Bug 868312 - Some more rooting fixes for dom r=bz
2013-05-10 22:39:45 -04:00
Sankha Narayan Guria
754efdf384
Bug 867414 - Rename SafeAutoJSContext to AutoSafeJSContext. r=bholley
2013-05-06 09:04:17 -04:00
David Zbarsky
c8d1774909
Bug 866450 Part 6: Fix rooting hazards under content/ and dom/ r=bz
2013-05-02 05:12:47 -04:00
Ed Morley
55c0577379
Backed out changeset 7c0ace2560c4 (bug 866450)
2013-05-02 11:57:01 +01:00
David Zbarsky
7594190029
Bug 866450 Part 6: Fix rooting hazards under content/ and dom/ r=bz
2013-05-02 05:12:47 -04:00
Andrew McCreight
32f5a1eec5
Bug 867204 - Don't use jsdbgapi.h in IDBFactory. r=bholley
2013-05-01 09:19:18 -07: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
Ben Turner
6f8e994c82
Bug 861287 - 'Integrate IndexedDB into the gecko profiler'. r=khuey.
2013-03-15 23:58:50 -07:00
Ben Turner
5164c7bb1b
Backout bug 861287 for gcc build failures.
2013-04-25 08:30:28 -04:00
Ben Turner
89f06e32e7
Bug 861287 - 'Integrate IndexedDB into the gecko profiler'. r=khuey.
2013-03-15 23:58:50 -07:00
Ben Turner
a1f112bec1
Remove bad line endings from IDBFactory, no bug.
2013-04-25 07:06:54 -04:00
Bobby Holley
cfe137c733
Bug 860438 - Straightforward cases. r=gabor
2013-04-18 11:36:03 -04:00
Ben Turner
ecabec9183
Bug 858674 - 'Tweak SQLite pragmas on mobile devices for space savings'. r=khuey.
2013-04-08 12:47:13 -07:00
Ryan VanderMeulen
72442a07e5
Backed out changeset 1e01b8a81990 (bug 858674) for Windows bustage on a CLOSED TREE.
2013-04-08 16:39:59 -04:00
Ben Turner
761766761b
Bug 858674 - 'Tweak SQLite pragmas on mobile devices for space savings'. r=khuey.
2013-04-08 12:47:13 -07:00
Jan Varga
f6d1ba4c72
Bug 854323 - Move IDBFactory to Paris bindings. r=khuey
2013-03-31 10:18:30 +02:00
Jan Varga
8b28e5b8f1
Bug 767944 - Implement a manager for centralized quota and storage handling. r=bent
2013-03-26 12:13:17 +01:00
Bobby Holley
03f7f4b219
Bug 834732 - Get rid of footgun bool param for nsCxPusher and use an explicit enum. r=mrbkap
...
The goal here is to get rid of this crap entirely, and make nsCxPusher always
push. But that's a scary change, so we do it in chunks. This patch, in particular,
should have zero behavioral change. This means preserving some very wrong behavior.
For instance, currently SafeAutoJSContext never pushes a damn thing, because the
safe JSContext doesn't have an associated nsIScriptContext. We preserve this
behavior, and in fact convert various similarly-buggy consumers to
SafeAutoJSContext, so that we can hoist the behavioral change into a subsequent
patch.
2013-02-26 11:04:09 -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
Mats Palmgren
b7ae90666d
Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan
2013-01-15 13:22:03 +01:00
Jan Varga
6554fc16b9
Bug 787804 - Rewrite quota handling (eliminate test_quota.c). r=bent,asuth,vladan
2012-12-17 20:25:10 +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
Jan Varga
3557fae1a7
Bug 786688 - Part 2: Code cleanup. r=sicking
2012-10-30 07:11:58 +01:00
Jonas Sicking
d508822340
Bug 786688 - Part 1: Add chrome only openForPrincipal() and deleteForPrincipal(). r=bent
2012-10-30 07:07:09 +01:00
Ben Turner
5e8d8d57f2
Bug 786295 - 'Delete IndexedDB related to an app when uninstalled'. r=bz+khuey+sicking.
2012-10-23 09:31:19 -07:00
Isaac Aggrey
b95ab79e45
Bug 795351: Replace LL_MAXINT, LL_MININT, LL_MAXUINT with stdint versions; r=ehsan
2012-09-28 14:55:23 -05:00
Ben Turner
7a7df6c675
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
Mounir Lamouri
ff3a89b7f3
Bug 756645 - Implement IndexedDB apps isolation. r=bent
2012-08-28 09:46:46 -03:00
Ryan VanderMeulen
1c1c169d75
Backout 4bb90f8c6909 (bug 756645) due to Android opt M3 orange on a CLOSED TREE.
2012-08-23 22:54:15 -04: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
Mounir Lamouri
cdb3f274d1
Bug 756645 - Implement IndexedDB apps isolation. r=bent
2012-08-23 11:45:01 -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
Ben Turner
4893263a15
Bug 759427 - 'Multiprocess blob support for MessageManager and IndexedDB'. r=smaug+janv+khuey (rs=sicking for nsBlobURI changes).
...
--HG--
extra : transplant_source : %95%B5y%11%C5%AB%D9%CF%FF%7C%5E%BB%E5%DA%F5j%83o%29%EB
2012-08-01 23:02:29 -07:00
Kyle Huey
f71fef8c9e
Bug 754142: Don't install quota handlers on chrome databases. r=bent
2012-08-01 14:09:23 -07:00
Aryeh Gregor
d0ad5a7d0c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Mounir Lamouri
fe6907f48c
Bug 769597 - IndexedDB should use nsIPermissionManager with principals. r=sicking
2012-07-15 18:35:47 -07:00
Ben Turner
77ec1d2ca4
Bug 772700 - 'IndexedDB - OOP from a JS component or JSM doesn't work'. r=khuey+mrbkap.
...
--HG--
rename : dom/indexedDB/test/unit/head_idb.js => dom/indexedDB/test/unit/head.js
extra : transplant_source : %5D1%15%CC%90%E0%F5%0D%0B%FDi%0B%B9YA%D4c%24%D42
2012-07-14 07:24:20 -04:00
Ms2ger
dc5ed62122
Backout changeset 592bfc94e628 for X orange.
2012-07-14 11:23:52 +02:00
Ben Turner
9550ca6ef8
Bug 772700 - 'IndexedDB - OOP from a JS component or JSM doesn't work'. r=khuey+mrbkap.
...
--HG--
rename : dom/indexedDB/test/unit/head_idb.js => dom/indexedDB/test/unit/head.js
extra : transplant_source : %217%FC%0D%A3%82%DB%F2DB%F1%5Dc%99%B9%C6j%E1U%A2
2012-07-13 23:05:58 -04:00
Kyle Huey
13d799f93d
Bug 765936. r=bent,peterv
2012-07-06 10:28:51 -07:00
Kyle Huey
0dc01d3feb
Bug 762206: Fire an nsScriptErrorEvent at the window to get the proper window.onerror behavior. r=sicking
2012-06-29 09:48:34 -07:00
Jan Varga
6565546c36
Bug 767193 - FileHandles do not get GCed/removed when overwritten in indexeddb. r=bent
2012-06-27 05:14:53 +02:00
Kyle Huey
d0a8b8c3ae
Bug 765834: Rework and unify keyPath handling. r=bent
2012-06-21 15:27:13 -07: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
Andrew McCreight
aa90a88409
Bug 754478 - clean up cycle collector JS tracing callbacks. r=bent
2012-05-15 09:56:39 -07:00
Geoff Lankow
5cefea8480
Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg
2012-06-06 14:08:30 +12:00
Ben Turner
3fdf917cd6
Bug 666693 - 'Remote IndexedDB for multiple IndexedDB-using processes'. r=cjones+sicking.
2012-06-01 10:21:12 -07:00
Gervase Markham
82ff7027aa
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Kyle Huey
32b77ac8c5
Back out bug 754142 due to bustage.
2012-05-16 15:21:58 -07:00
Kyle Huey
929cffd17f
Bug 754142: Don't install quota handlers on chrome databases. r=bent
2012-05-16 15:08:18 -07:00
Ben Turner
e8e0f22c6e
Bug 747581. r=khuey.
2012-04-30 16:52:27 -07:00
Phil Ringnalda
3ea4cf1424
Back out 28cfc474ab58 (bug 742626) for xpcshell bustage
2012-04-30 11:38:09 -07:00
Fabrice Desré
993fcccb96
Bug 742626 - Allow indexedDB parent directory to not be the default profile directory [r=bent]
2012-04-30 10:27:57 -07:00
Masatoshi Kimura
7706cbe7a8
Bug 730161 - Replace IDBDatabaseException and FileException with DOMException. r=sicking
2012-04-11 17:55:21 -04:00
Olli Pettay
b063392a27
Bug 734057 - Make nsDOMEventTargetHelper to not have strong pointer to window, r=jst,bent
2012-03-13 02:56:07 +02:00
Ben Turner
182ee449ce
Bug 718132 - IndexedDB: Intermittent Failing to get JS wrapper in IDBRequest::NotifyHelperCompleted. r=khuey.
...
--HG--
extra : transplant_source : kT-%8B%9A%00%D5%230%EC%11%00%1A%B1%A2%1EFSd%2A
2012-01-24 02:03:37 -08:00
Ed Morley
b39bbb8f95
Backout 8886b027527a (bug 718132) for xpcshell failures
2012-01-23 16:18:14 +00:00
Ben Turner
c597ebf39d
Bug 718132 - IndexedDB: Intermittent Failing to get JS wrapper in IDBRequest::NotifyHelperCompleted. r=khuey.
...
--HG--
extra : transplant_source : 1j%98%F9%1D%7F%C8%13%8E%9D%B0%05%05%93%D4%60%89%3D%06%19
2012-01-23 06:03:41 -08:00
Kyle Huey
46c19a64e1
Bug 715162: Move LazyIdleThread to xpcom/. r=bent
...
--HG--
rename : dom/indexedDB/LazyIdleThread.cpp => xpcom/threads/LazyIdleThread.cpp
rename : dom/indexedDB/LazyIdleThread.h => xpcom/threads/LazyIdleThread.h
2012-01-05 08:42:47 -05:00
Gabor Krizsanits
7a56561bbe
Bug 587797 - IndexedDB: Make it possible to access IndexedDB APIs from chrome. r=khuey,bent
2012-01-03 10:27:39 -05:00
Jonas Sicking
882414b8f2
Bug 694138: Support an array of strings as keyPath on objectStores and indexes. r=janv/bent
2011-12-20 02:59:07 -08:00
Jonas Sicking
09d6e71f40
Bug 692614: Support all spec'ed key-types, including Arrays. Patch by Jan Varga and me. r=janv/bent/me
2011-12-20 02:58:44 -08:00
Jonas Sicking
0173a656f9
Bug 701772: Manage autoIncrement for objectStores ourselves in order to simplify the code, make ai-keys unique per objectStore and not per database, and allow ai-objectStores to contain non-integer keys. r=bent
2011-12-16 16:40:47 -08:00
Jonas Sicking
488e12717c
Back out fb4d12d2a2da, bug 701772, due to leaks.
2011-12-16 13:09:42 -08:00
Jonas Sicking
c2a8c167f7
Bug 701772: Manage autoIncrement for objectStores ourselves in order to simplify the code, make ai-keys unique per objectStore and not per database, and allow ai-objectStores to contain non-integer keys. r=bent
2011-12-16 12:29:15 -08:00
Ben Turner
bddb2824ad
Bug 703660 - IndexedDB: Compress structured clone data with Snappy. r=sicking+khuey.
2011-12-07 15:24:20 -08:00
Phil Ringnalda
ca22b9cadc
Back out 8941e2b7a0bf (bug 703660) for Windows PGO build failures
2011-12-07 08:41:02 -08:00
Ben Turner
4850cef1dd
Bug 703660 - IndexedDB: Compress structured clone data with Snappy. r=sicking+khuey.
...
--HG--
extra : transplant_source : 55%9D%86m%D8%18%87J%5C%E1%E3%93P%AF.%B7%D0%8EQ
2011-12-07 00:10:13 -08:00
Jonas Sicking
9a4a46521c
Bug 692630: Support multi-entry indexes. r=bent
2011-12-04 09:39:01 -08:00
Jonas Sicking
f8d6fe9362
Bug 706659 part 2: Support empty keypaths on objectStores. r=bent
2011-12-04 09:39:01 -08:00
Kyle Huey
bb3fafa5d3
Bug 704464: Part 1 - Rework quota handling to use Windows insteead of Databases. r=bent
2011-12-03 12:10:21 -05:00
Jonas Sicking
0c4f021c94
Back out patches due to test failures. rev 1b9ca56d4aab and a few more.
2011-12-02 19:46:25 -08:00
Jonas Sicking
1a70eb48f4
Bug 692630: Support multi-entry indexes. r=bent
2011-12-02 18:32:46 -08:00
Jonas Sicking
2039746e15
Bug 706659 part 2: Support empty keypaths on objectStores. r=bent
2011-12-02 18:32:46 -08:00
Ed Morley
4a9415481d
Backout 7634808d94af (bug 703660) for Linux64 PGO build failures; a=khuey
2011-11-22 11:54:50 +00:00
Ben Turner
e5e9301fef
Bug 703660 - IndexedDB: Compress structured clone data with Snappy. r=sicking+khuey.
...
--HG--
extra : transplant_source : /%A2p%D8.%08%B3%FC%B3%1E%1B%90e%F3%D1%804.8%8C
2011-11-21 20:18:29 -08:00
Ben Turner
72707bb457
Bug 692642: IndexedDB: support indexedDB.cmp. r=sicking.
2011-11-08 11:03:18 -08:00
Kyle Huey
6bf243becc
Bug 625071: Implement deleteDatabase. r=bent
2011-11-07 19:15:45 -05:00
Kyle Huey
0094d832a1
Bug 699468: Part 4 - Always go through the DatabaseInfo to get the ObjectStoreInfo. r=bent
2011-11-07 19:15:43 -05:00
Ben Turner
8370e356ef
Bug 692632 - 'IndexedDB: support empty objectstore/index names'. r=sicking.
2011-11-07 15:37:16 -08:00
Kyle Huey
2c7a2e1bea
Bug 698440: Implement IndexedDB optional version syntax. r=bent
2011-11-02 08:53:12 -04:00
Kyle Huey
3140fc9fd4
Bug 697247: Part 2 - Rework IDB synchronization mechanisms. r=bent
2011-11-02 08:53:12 -04:00
Kyle Huey
9951eda078
Bug 697247: Part 1 - Use atoms instead of hashes for database IDs. r=bent
2011-11-02 08:53:12 -04:00
Kyle Huey
bee1f84b2f
Bug 687361: Implement the new IndexedDB setVersion API. r=bent
...
--HG--
rename : dom/indexedDB/nsIIDBVersionChangeRequest.idl => dom/indexedDB/nsIIDBOpenDBRequest.idl
2011-10-20 12:10:56 -04:00
Ehsan Akhgari
92064e6d3f
Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
...
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Peter Van der Beken
ea0499b427
Bug 648801 (new DOM list bindings) - Set up prototypes and constructors. r=bz/jst/mrbkap.
...
--HG--
extra : rebase_source : acf503d1c93a333ba8ef14d0c25160adabbccd4a
2011-06-14 10:41:15 +02:00
Peter Van der Beken
9fe2ac6cc5
Stop including nsDOMClassInfo.h all over the place.
...
--HG--
extra : rebase_source : 24bd6a84238834f8ca50990a91849dff2c5040ba
2011-10-03 21:11:31 +02:00
Michael Wu
d2b70213ac
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
...
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00