Commit Graph

195 Commits

Author SHA1 Message Date
Kyle Huey
ac4b213c51 Bug 706090: Make sure OpenDatabaseHelper releases atoms on the right thread. r=bent 2011-11-29 13:24:28 -05:00
Kyle Huey
c54e849e3b Bug 692635: Transaction abort events should bubble. r=sicking 2011-11-23 09:15:15 -05:00
Kyle Huey
7a3cbb76a9 Bug 702809: Allow creating indexes with empty keyPaths. r=sicking 2011-11-23 09:15:15 -05:00
Ed Morley
3cb05bb8cc Backout 7634808d94af (bug 703660) for Linux64 PGO build failures; a=khuey 2011-11-22 11:54:50 +00:00
Ben Turner
07b4d70b2e 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
8985c6047c Bug 702889 - IndexedDB: Change SQL schema and some cursor queries for faster performance. r=sicking.
--HG--
extra : transplant_source : %14T5%5BR%94%8Dn%95%B5%2CMD%E9%EB%F4%EE9%DB5
2011-11-21 20:18:25 -08:00
Ben Turner
cc1df4e7cb Bug 692652 - IndexedDB: Index updating is broken. r=sicking.
--HG--
extra : transplant_source : %92%5BBT%93%BA%3DO%D7%03v%B7%88%01%3AjZ%D0%81%AA
2011-11-21 20:18:19 -08:00
Kyle Huey
dfec011cec Bug 692627: Support complex keyPaths in IndexedDB. r=bent,jorendorff 2011-11-21 09:56:24 -05:00
Kyle Huey
2e5f4b01a2 Bug 700544: Transactions should be ordered based on creation, not on the first request. r=bent 2011-11-18 10:21:04 -05:00
Marco Bonardo
01f25559b7 Merge mozilla-central to mozilla-inbound 2011-11-08 23:58:10 +01:00
Kyle Huey
9c016a6b7b Bug 700685: DeleteDatabaseHelper releases objects on the wrong thread. r=bent 2011-11-08 12:51:37 -05:00
Jonas Sicking
ef00405547 Bug 692659: Fix sort order for PREV cursors on indexes. r=bent 2011-11-07 23:34:59 -08:00
Jonas Sicking
a8f35226a8 Bug 692674: Set the errorCode to "ABORT_ERR" for all pending requests when a transaction is aborted, even ones that failed for other reasons. r=bent 2011-11-07 22:27:03 -08:00
Jonas Sicking
eec1ee6dc1 Bug 694135: Don't throw if there are unknown properties in the options objects to createObjectStore/createIndex. r=bent 2011-11-07 22:25:51 -08:00
Ben Turner
a32db4372c Bug 696914 - 'IndexedDB: IDBObjectStore.delete and IDBCursor.delete should return undefined'. r=sicking. 2011-11-07 18:08:02 -08:00
Kyle Huey
2212aeceae Bug 625071: Implement deleteDatabase. r=bent 2011-11-07 19:15:45 -05:00
Kyle Huey
02524a04aa Bug 699468: Part 6 - Make some DatabaseInfo stuff private. r=bent 2011-11-07 19:15:45 -05:00
Kyle Huey
6ecd76ea59 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
2ff0266dc0 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
7e4f1cdc66 Bug 699468: Part 3 - Always go through the Database to get the DatabaseInfo. r=bent 2011-11-07 19:06:13 -05:00
Kyle Huey
33baa041a2 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
625868f68e Bug 699468: Part 1 - Move ObjectStoreInfoHash onto DatabaseInfo. r=bent 2011-11-07 18:20:20 -05:00
Ben Turner
d2fe7043a2 Bug 692628 - 'IndexedDB: Support IDBCursor.advance'. r=sicking. 2011-11-07 15:37:19 -08:00
Ben Turner
d159d4ae55 Bug 692632 - 'IndexedDB: support empty objectstore/index names'. r=sicking. 2011-11-07 15:37:16 -08:00
Ed Morley
6a998be2c5 Backout 4997c6f8b24d (bug 616542) for causing locally run mochitest-browser-chrome test runs to fail 2011-11-05 18:35:59 +00:00
Rail Aliiev
364e83c545 Bug 616542 - Shorten file path length of mochitest; r=ted 2011-11-04 21:13:42 +00:00
Olli Pettay
e36091a737 Bug 698929 - Implement event.stopImmediatePropagation, r=jst
--HG--
extra : rebase_source : 76d19175a58a4ac8113b144a19f9d7679ad54dd0
2011-11-04 19:17:19 +02:00
Ben Turner
8802ea7670 Bug 694145 - 'IndexedDB: various methods should accept both keys and KeyRanges'. r=sicking.
--HG--
extra : transplant_source : R%0C%DA%D7%EF%8D3U%7DQ%1A%05%1A3%94%1E%F8%B0%A3k
2011-11-03 08:59:17 -07:00
Ben Turner
a9d4865e7b Bug 692629 - 'IndexedDB: Support IDBObjectStore/IDBIndex.count'. r=sicking.
--HG--
extra : transplant_source : %87%F7%A6%8Cc%15%C7%C4%19%5D%14%CB%98%9BF%A4%5C/%5B%FF
2011-11-03 08:57:42 -07:00
Ben Turner
d1ccef79ea 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
b08ad8e6dc 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
97502813a0 Bug 692669 - 'IndexedDB: remove nsIVariant from IDB* interfaces'. Fix up linux build issue. 2011-11-02 18:27:52 -07:00
Ben Turner
fa4097234f Bug 692629 - 'IndexedDB: Support IDBObjectStore/IDBIndex.count'. r=sicking.
--HG--
extra : transplant_source : %CC%FEE%A0%E0%FD%AC%23%E8%BB%8BrV%95%A5%1B4If7
2011-11-02 18:03:47 -07:00
Ben Turner
8ec37931d5 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
c6a3d6dc7f Bug 698440: Implement IndexedDB optional version syntax. r=bent 2011-11-02 08:53:12 -04:00
Kyle Huey
92be2b261d Bug 697247: Part 2 - Rework IDB synchronization mechanisms. r=bent 2011-11-02 08:53:12 -04:00
Kyle Huey
4ba69f30ba Bug 697247: Part 1 - Use atoms instead of hashes for database IDs. r=bent 2011-11-02 08:53:12 -04:00
Ms2ger
9ce40d6af3 Bug 694759 - Make nsIScriptContext::GetNativeGlobal return JSObject; r=jst 2011-10-29 22:06:17 +02:00
Ben Turner
27203a7bfd Bug 692642: IndexedDB: support indexedDB.cmp. r=sicking. 2011-11-08 11:03:18 -08:00
Ben Turner
594a9b2961 Bug 692671: IndexedDB: remove timeout in database operations. r=sicking. 2011-11-08 09:43:00 -08:00
Kyle Huey
d4ebda4714 Bug 697177: Disable test that's triggering some known bugs. 2011-10-26 14:59:09 -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
Ed Morley
b9de22e5ea Merge mozilla-inbound to mozilla-central 2011-10-22 13:58:26 +01:00
Kyle Huey
38e8ee61fe Bug 696362: OpenDatabaseHelper can release objects on the wrong thread. r=bent 2011-10-22 07:56:19 -04:00
Marco Bonardo
a72c49ddb7 Backout cb50e96dbee0 (Bug 677079) for Win PGO mochitests failures. 2011-10-22 11:03:26 +02:00
Bill McCloskey
0d988f23d3 Bug 677079 - Remove jscntxt.h from INSTALLED_HEADERS (r=Waldo) 2011-10-20 10:14:24 -07: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
Justin Lebar
fbe51410e2 Bug 683777 - In an attempt to fix a crash in nsDocShell::InternalLoad, re-land bug 646641 with an extra null-check. r=smaug 2011-10-21 11:26:34 -04:00