Commit Graph

56 Commits

Author SHA1 Message Date
Boris Zbarsky
8c10199577 Bug 1019194 part 2. Get rid of the XPCOM contract way of creating an IndexedDatabaseManager. r=khuey 2014-06-17 15:01:47 -04:00
Boris Zbarsky
fd7e32dab4 Bug 1019194 part 1. Get rid of nsIIndexedDatabaseManager. r=paul,khuey,mossop 2014-06-17 15:01:47 -04:00
Masayuki Nakano
db6b33d414 Bug 983049 part.3 Rename nsEventChainPostVisitor to mozilla::EventChainPostVisitor r=smaug 2014-03-18 13:48:20 +09:00
Jeff Walden
f356b9014d Bug 969165 - Convert Atomic<T> where T != bool but is used as a bool over to Atomic<bool>, now that it's supported, in dom/. r=bent
--HG--
extra : rebase_source : 7cf60c3e3091328ab8590dde4432fa566c303232
2014-02-06 22:17:07 -08:00
Andrea Marchesini
787cb94c32 Bug 932119 - convert nsIAtom to nsString in QuotaManager and IndexedDB, r=janv 2013-11-25 16:53:48 +00:00
Jan Varga
4752b723fe Bug 921478 - Remove BackstagePass IDB constructor resolve hook and use Cu.importGlobalProperties. r=bholley,bent
--HG--
rename : dom/indexedDB/test/test_globalObjects.xul => dom/indexedDB/test/test_globalObjects_chrome.xul
rename : dom/indexedDB/test/test_globalObjects.html => dom/indexedDB/test/test_globalObjects_content.html
rename : dom/indexedDB/test/unit/test_globalObjects.js => dom/indexedDB/test/unit/test_globalObjects_xpc.js
2013-11-19 08:36:12 +01:00
Carsten "Tomcat" Book
381f762d9f Backed out changeset 5cda44ae1ba0 (bug 921478) for perma-orange on Mochitest-1 on B2G Linux Opt on a CLOSED TREE
--HG--
rename : dom/indexedDB/test/test_globalObjects_content.html => dom/indexedDB/test/test_globalObjects.html
rename : dom/indexedDB/test/test_globalObjects_chrome.xul => dom/indexedDB/test/test_globalObjects.xul
rename : dom/indexedDB/test/unit/test_globalObjects_xpc.js => dom/indexedDB/test/unit/test_globalObjects.js
2013-11-19 11:41:52 +01:00
Jan Varga
a1c86d73e5 Bug 921478 - Remove BackstagePass IDB constructor resolve hook and use Cu.importGlobalProperties. r=bholley,bent
--HG--
rename : dom/indexedDB/test/test_globalObjects.xul => dom/indexedDB/test/test_globalObjects_chrome.xul
rename : dom/indexedDB/test/test_globalObjects.html => dom/indexedDB/test/test_globalObjects_content.html
rename : dom/indexedDB/test/unit/test_globalObjects.js => dom/indexedDB/test/unit/test_globalObjects_xpc.js
2013-11-19 08:36:12 +01:00
Ms2ger
5e1bd894df No bug - Fix some style issues in DOM code. 2013-11-11 09:04:41 +01:00
Jan Varga
8d28f23732 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
Ben Turner
e91315c9b2 Bug 920179 - 'Add resolve hook for IndexedDB constructors on non-window globals'. r=bholley.
--HG--
extra : transplant_source : %05%A0%9Av%A5%14%09%B1%3B%9E2%0B%80%CD%EA%F8%A8%D6%A4t
2013-09-25 16:10:57 -07:00
Ryan VanderMeulen
f802474a49 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
c72a9507ac Bug 920179 - 'Add resolve hook for IndexedDB constructors on non-window globals'. r=bholley.
--HG--
extra : transplant_source : 77%C6F%3FlL%0F%C2%DE36.%5DA%0D%F6H%0B%24
2013-09-25 16:10:57 -07:00
Jan Varga
c5d294a60c 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
Trevor Saunders
bddf017039 bug 905410 - remove most remaining usage of nspr atomics outside of xpcom/ r=ehsan 2013-08-12 05:51:49 -04:00
Jan Varga
8e2e62ac1d Bug 878703 - Cleanup usage of IO thread only objects. r=bent 2013-06-05 10:11:23 +02:00
Ben Turner
6e9d63ab9b Bug 861903 - Hook IndexedDB up to low disk space notifications. r=janv. 2013-05-10 14:22:01 -07:00
Jan Varga
8ed93ed02a Bug 767944 - Implement a manager for centralized quota and storage handling. r=bent 2013-03-26 12:13:17 +01:00
Jan Varga
79c731a093 Bug 820715 - Move quota related pieces from IndexedDatabaseManager to QuotaManager. r=bent
--HG--
rename : dom/indexedDB/CheckQuotaHelper.cpp => dom/quota/CheckQuotaHelper.cpp
rename : dom/indexedDB/CheckQuotaHelper.h => dom/quota/CheckQuotaHelper.h
2012-12-19 18:45:57 +01:00
Jan Varga
812af47d24 Bug 787804 - Rewrite quota handling (eliminate test_quota.c). r=bent,asuth,vladan 2012-12-17 20:25:10 +01:00
Justin Lebar
f105087e13 Bug 802366 - Use TabContext to make IDB handling more correct in TabParent. r=bent 2012-11-10 10:32:37 -08:00
Ryan VanderMeulen
f774dcd8ba Backed out 12 changesets (bug 806127, bug 802366, bug 806168) for Windows build bustage.
--HG--
rename : dom/indexedDB/test/webapp_clearBrowserData.js => dom/indexedDB/test/test_webapp_clearBrowserData.html
2012-11-09 20:14:40 -05:00
Justin Lebar
f72344a7a4 Bug 802366 - Use TabContext to make IDB handling more correct in TabParent. r=bent 2012-11-09 16:37:40 -08:00
Ben Turner
1493ea2ca6 Bug 786295 - 'Delete IndexedDB related to an app when uninstalled'. r=bz+khuey+sicking. 2012-10-23 09:31:19 -07:00
Jan Varga
e29317c8d8 Bug 763854 - Check file references (cleanup stored files) only when needed. r=bent 2012-08-24 11:51:33 -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
Kyle Huey
c44a5bd7c8 Bug 781700: Don't hold strong references to databases from the synchronization queue, so that GCing a database will unblock waiting operations. r=bent
--HG--
extra : rebase_source : 2f1b2405ffc91831d33eb91e4b2d61c2b1ac872b
2012-08-10 09:15:02 -07:00
Kyle Huey
5b1d66a0b0 Bug 754142: Don't install quota handlers on chrome databases. r=bent 2012-08-01 14:09:23 -07:00
Aryeh Gregor
e806eeab4f Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Kyle Huey
dac92e82a6 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
Kyle Huey
69770d80a2 Bug 767493: Make AsyncUsageRunnable participate in the WaitForOpenAllowed synchronization mechanism. r=bent 2012-06-22 11:47:05 -07:00
Ben Turner
401cf770e8 Bug 765839 - 'Enable IndexedDB OOP test suite'. r=khuey.
--HG--
extra : transplant_source : %3Bb4%A4%99fC%9Cg%86%9B%1F3%C6%0F%01T%1C%3C%AE
2012-06-19 18:50:39 -07:00
Jan Varga
6e3e5ab48b Bug 726593 - Implement FileHandle. r=bent 2012-06-03 18:33:52 +02:00
Ben Turner
b072e01d8f Bug 666693 - 'Remote IndexedDB for multiple IndexedDB-using processes'. r=cjones+sicking. 2012-06-01 10:21:12 -07:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Kyle Huey
d74460ce0a Back out bug 754142 due to bustage. 2012-05-16 15:21:58 -07:00
Kyle Huey
5bd25a91df Bug 754142: Don't install quota handlers on chrome databases. r=bent 2012-05-16 15:08:18 -07:00
Jeff Muizelaar
cc532c2ac2 Bug 755172. Add MOZ_FINAL to a bunch of idb classes. r=khuey 2012-05-15 00:50:29 -04:00
Ben Turner
8c2baff1b1 Bug 747581. r=khuey. 2012-04-30 16:52:27 -07:00
Gabor Krizsanits
de7d7003d2 Bug 587797 - IndexedDB: Make it possible to access IndexedDB APIs from chrome. r=khuey,bent 2012-01-03 10:27:39 -05:00
Jan Varga
3975331303 Bug 711727 - Followup cleanup for files in IndexedDB. r=sicking/bent 2011-12-20 12:23:27 +01:00
Jan Varga
8702627c09 Bug 661877 - Enable storing files in IndexedDB. r=bent 2011-12-16 08:34:24 +01:00
Kyle Huey
215879a985 Bug 704464: Part 2 - Make Database creation hook into the quota system. r=bent 2011-12-03 12:18:38 -05:00
Kyle Huey
be6d4f9248 Bug 704464: Part 1 - Rework quota handling to use Windows insteead of Databases. r=bent 2011-12-03 12:10:21 -05:00
Kyle Huey
92be2b261d Bug 697247: Part 2 - Rework IDB synchronization mechanisms. r=bent 2011-11-02 08:53:12 -04:00
Kyle Huey
e0d8626ffd Bug 692991: Refactor some VERSION_CHANGE transaction locking stuff and disallow transaction creation before databases are completely open. r=bent 2011-10-25 08:49:31 -04:00
Ed Morley
ada43c2d75 Backout 26ac81280f33 (bug 692911) for Moth orange on all platforms & M2 orange on win opt 2011-10-24 23:49:59 +01:00
Kyle Huey
7ec5127798 Bug 692911: Refactor some VERSION_CHANGE transaction locking stuff and disallow transaction creation before databases are completely open. r=bent 2011-10-24 16:01:11 -04:00
Kyle Huey
0d874b65fa 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
Ben Turner
47b4c0a8d0 Bug 681930, r=sicking. 2011-08-26 01:21:35 -07:00