Commit Graph

36 Commits

Author SHA1 Message Date
Andrea Marchesini
d6c4daa5e7 Bug 932119 - convert nsIAtom to nsString in QuotaManager and IndexedDB, r=janv 2013-11-25 16:53:48 +00:00
Jan Varga
67195df918 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
Ben Turner
f28b7974ea Bug 786295 - 'Delete IndexedDB related to an app when uninstalled'. r=bz+khuey+sicking. 2012-10-23 09:31:19 -07:00
Isaac Aggrey
a53c93b026 Bug 795351: Replace LL_MAXINT, LL_MININT, LL_MAXUINT with stdint versions; r=ehsan 2012-09-28 14:55:23 -05:00
Ehsan Akhgari
8c296bbcd4 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
e7ad7d9314 Bug 755507: Sort objectStoreNames/indexNames. r=sicking 2012-06-29 09:48:34 -07:00
Kyle Huey
33a29ea230 Bug 765834: Rework and unify keyPath handling. r=bent 2012-06-21 15:27:13 -07:00
Ben Turner
bfa7cae37b 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
Ben Turner
785be4974a Bug 666693 - 'Remote IndexedDB for multiple IndexedDB-using processes'. r=cjones+sicking. 2012-06-01 10:21:12 -07:00
Gervase Markham
87620f5676 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Jonas Sicking
67b1faba15 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
5bcb4de7dd 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
ed70a01420 Back out fb4d12d2a2da, bug 701772, due to leaks. 2011-12-16 13:09:42 -08:00
Jonas Sicking
3555280633 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
Jonas Sicking
9059d7db0e Bug 692630: Support multi-entry indexes. r=bent 2011-12-04 09:39:01 -08:00
Jonas Sicking
7404adaebb Back out patches due to test failures. rev 1b9ca56d4aab and a few more. 2011-12-02 19:46:25 -08:00
Jonas Sicking
692b293ecf Bug 692630: Support multi-entry indexes. r=bent 2011-12-02 18:32:46 -08:00
Kyle Huey
1128861dbd Bug 699468: Part 6 - Make some DatabaseInfo stuff private. r=bent 2011-11-07 19:15:45 -05:00
Kyle Huey
2c9936445b Bug 699468: Part 5 - Clone the canonical DatabaseInfo when a Database is closed. r=bent 2011-11-07 19:15:45 -05:00
Kyle Huey
2400ecefe8 Bug 699468: Part 4 - Always go through the DatabaseInfo to get the ObjectStoreInfo. r=bent 2011-11-07 19:15:43 -05:00
Kyle Huey
a306354f5d Bug 699468: Part 2 - Give DatabaseInfo an AddRef/Release instead of twiddling a refcount manually. r=bent 2011-11-07 19:06:13 -05:00
Kyle Huey
c5f4c34b0a Bug 699468: Part 1 - Move ObjectStoreInfoHash onto DatabaseInfo. r=bent 2011-11-07 18:20:20 -05:00
Ben Turner
3e1f223457 Bug 692669 - 'IndexedDB: remove nsIVariant from IDB* interfaces'. r=sicking.
--HG--
extra : transplant_source : %84%E3%96%9F%C5%BA%D56%A4%94%83%9F%C3%F5%2B%01%7B%87%FB9
2011-11-03 08:57:30 -07:00
Ed Morley
a77ac11344 Backout eb32aca6d54d, b5c0bfd03fcf and 5675bf2c7930 (bug 692669 and bug 692669) for failing to build on all platforms 2011-11-03 01:57:48 +00:00
Ben Turner
8eacae1c32 Bug 692669 - 'IndexedDB: remove nsIVariant from IDB* interfaces'. r=sicking.
--HG--
extra : transplant_source : E%E9%F9%B5%FB%88%1E%FA%C1%BE%04%1F%1E%3D%5E%EB%3C%D2%D2c
2011-11-02 18:03:15 -07:00
Kyle Huey
a651fc2aac Bug 697247: Part 1 - Use atoms instead of hashes for database IDs. r=bent 2011-11-02 08:53:12 -04:00
Kyle Huey
05bf1acd1d 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
403890d9ff 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
43f3440672 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
72ac2e4c02 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
758b991dab Bug 607729 - 'IndexedDB: Allow IndexedDB events to propagate, and error events to hit window.error'. r=sicking, a=blocking+ 2010-11-10 15:26:03 -08:00
Ben Turner
3204b48b89 Bug 606700 - 'IndexedDB: Remove IDBDatabase.description'. r=sicking, a=blocking+ 2010-11-10 15:25:48 -08:00
Ben Turner
07830b6931 Bug 603811 - 'IndexedDB: Implement setVersion changes to the spec'. r=sicking, a=blocking2.0-betaN+ 2010-10-19 10:58:52 -07:00
Ben Turner
2e9eb2abd5 Bug 584319 - 'IndexedDB: Out of Memory error and crash when calling moz_indexedDB.open a lot'. r=sicking 2010-10-19 10:58:42 -07:00
Shawn Wilsher
ad8dc5eaf7 Bug 574811 - Rename IDBObjectStoreRequest to IDBObjectStore
Updating interface names per recent specification changes.
r=bent

--HG--
rename : dom/indexedDB/IDBObjectStoreRequest.cpp => dom/indexedDB/IDBObjectStore.cpp
rename : dom/indexedDB/IDBObjectStoreRequest.h => dom/indexedDB/IDBObjectStore.h
2010-06-28 11:51:06 -07:00
Ben Turner
a283994c5f Bug 553413 - 'Implement Asynchronous parts of the Indexed Database API.' p=sdwilsh+bent, r=jst. 2010-06-23 12:46:08 -07:00