Commit Graph

222 Commits

Author SHA1 Message Date
Nathan Froyd
749ca58a65 Bug 709205 - use GetObserverService in dom,docshell; r=bz 2011-12-09 14:35:37 -05: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
Jeff Walden
cc3da2cd2c Bug 708735 - Update IDBObjectStore to use the <stdint.h> types for its JSAPI interactions. r=bustage in a CLOSED TREE :-\ 2011-12-16 09:42:09 -05:00
Jan Varga
78980f36af Bug 661877 - Enable storing files in IndexedDB. r=bent 2011-12-16 08:34:24 +01:00
Jonas Sicking
4b2598e457 Tests for Bug 706088. r=khuey. Also removes a now-obsolete test. r=bent. a=khuey 2011-12-13 11:46:19 -08:00
Ed Morley
531f0b5462 Backout e479e03eaa71 (bug 706088) for mochitest-2 permaorange 2011-12-08 13:46:16 +00:00
Jonas Sicking
bfb3d969f3 Bug 706088 part 2: Add tests for all combinations of add/put/keypath/autoincrement/explicit keys etc. r=khuey 2011-12-08 03:03:51 -08:00
Mounir Lamouri
8829baa8cc Bug 707870 - Disconnect mListenerManager in nsDOMEventTargetHelper instead of expecting inheriting classes to do it. r=smaug 2011-12-08 16:31:14 +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
Kyle Huey
e6b29675f2 Bug 706088 Make .put allow no key being provided if it's an autoIncrement object store. r=bent 2011-12-06 02:45:46 -08:00
Jonas Sicking
5ed415d612 Bug 706068: Make complex keys work on auto-increment object stores. Patch by khuey and sicking. r=sicking on parts by khuey and r=bent on parts by sicking. 2011-12-04 09:39:02 -08:00
Jonas Sicking
4d2f4d4ad2 Bug 706762: Ensure that object stores and indexes are removed from caches when they are deleted. r=bent 2011-12-04 09:39:01 -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
Jonas Sicking
1722d8497f Bug 706659 part 1: Make complex keypaths ignore index rather than throwing in all situations if it can't get key for index. r=bent 2011-12-04 09:39:01 -08:00
Kyle Huey
5c29212946 Bug 704464: Part 2 - Make Database creation hook into the quota system. r=bent 2011-12-03 12:18:38 -05: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
23850d13e4 Bug 706068: Make complex keys work on auto-increment object stores. Patch by khuey and sicking. r=sicking on parts by khuey and r=bent on parts by sicking. 2011-12-02 18:32:46 -08:00
Jonas Sicking
a962083027 Bug 706762: Ensure that object stores and indexes are removed from caches when they are deleted. r=bent 2011-12-02 18:32:46 -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
Jonas Sicking
1e7ba51d6d Bug 706659 part 1: Make complex keypaths ignore index rather than throwing in all situations if it can't get key for index. r=bent 2011-12-02 18:32:46 -08:00
Kyle Huey
5f4555d0e4 Bug 706090: Make sure OpenDatabaseHelper releases atoms on the right thread. r=bent 2011-11-29 13:24:28 -05:00
Kyle Huey
c03fa0a540 Bug 692635: Transaction abort events should bubble. r=sicking 2011-11-23 09:15:15 -05:00
Kyle Huey
1d1f1cf7eb Bug 702809: Allow creating indexes with empty keyPaths. r=sicking 2011-11-23 09:15:15 -05: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
9620d104ce 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
7cf0b507f9 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
71bcade4d6 Bug 692627: Support complex keyPaths in IndexedDB. r=bent,jorendorff 2011-11-21 09:56:24 -05:00
Kyle Huey
841d7c3da9 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
6225eff2b8 Merge mozilla-central to mozilla-inbound 2011-11-08 23:58:10 +01:00
Kyle Huey
6effc2655d Bug 700685: DeleteDatabaseHelper releases objects on the wrong thread. r=bent 2011-11-08 12:51:37 -05:00
Jonas Sicking
48197e4006 Bug 692659: Fix sort order for PREV cursors on indexes. r=bent 2011-11-07 23:34:59 -08:00
Jonas Sicking
a8f25dc24a 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
4567555571 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
73e8273a53 Bug 696914 - 'IndexedDB: IDBObjectStore.delete and IDBCursor.delete should return undefined'. r=sicking. 2011-11-07 18:08:02 -08:00
Kyle Huey
6bf243becc Bug 625071: Implement deleteDatabase. r=bent 2011-11-07 19:15:45 -05:00
Kyle Huey
dbf41560bd Bug 699468: Part 6 - Make some DatabaseInfo stuff private. r=bent 2011-11-07 19:15:45 -05:00
Kyle Huey
9592f59533 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
0094d832a1 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
f3dbd37149 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
7d1be4b693 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
a8a7ce1d32 Bug 699468: Part 1 - Move ObjectStoreInfoHash onto DatabaseInfo. r=bent 2011-11-07 18:20:20 -05:00
Ben Turner
7787ca113d Bug 692628 - 'IndexedDB: Support IDBCursor.advance'. r=sicking. 2011-11-07 15:37:19 -08:00