Igor Bukanov
45a458920c
bug 736978 - remove JS_FinalizeStub. r=:billm
...
Currently the GC finalizes on the background thread only objects with null
JSClass::finalize. However, this implies that any object that uses
JS_FinalizeStub for the finalizer would be prevented from the background
finalization.
To fix this the patch removes JS_FinalizeStub replacing it with NULL in all
cases when the class has no custom finalizer. For style consistency the patch
also removed the usage of JSCLASS_NO_OPTIONAL_MEMBERS in the static
declarations as the compiler fills the missing fields with null in any cases.
2012-03-19 15:27:58 +01:00
Jonas Sicking
a2be3ad884
Bug 735094: Implement new string values (rather than numeric constants) for IndexedDB. r=bent
2012-03-12 21:44:45 -07:00
David Mandelin
0822e24e67
Bug 733260 followup: use uint32_t for array and string lengths, r=luke
...
--HG--
extra : rebase_source : 1729b4b927fde0678872b9de62a7466381aa07c3
2012-03-06 15:52:55 -08:00
David Mandelin
fb07fe8847
Bug 733260: remove typedef jsuint, r=luke
...
--HG--
extra : rebase_source : e8f576e1b5b189b47807c613c0cff79f5c8038e7
2012-03-05 18:43:45 -08:00
David Mandelin
ec012300ff
Bug 725550: remove obsolete typedef jsdouble, r=jwalden
2012-02-24 14:19:52 -08:00
Marco Bonardo
f35da5b2e3
Backout 4fc2f49371a8 (bug 725550) for build failures
2012-02-25 00:16:47 +01:00
David Mandelin
80fdf887df
Bug 725550: remove obsolete typedef jsdouble, r=jwalden
...
--HG--
extra : rebase_source : 772c2982184d7b3d1680737323395365e6b218da
2012-02-24 14:19:52 -08:00
Kyle Huey
f20ce02de5
Bug 725418: IndexedDB - GetAll[Keys] with an explicit 0, null, or undefined for the maximum number of records should return all records. r=bent
...
--HG--
extra : rebase_source : d4ebec7bb33e581bf9e709440a20117e245d1fcd
2012-02-09 20:56:48 -08:00
Igor Bukanov
17db9a067b
bug 723517 - Drop cx argumrent from JS_GetClass(cx, obj). r=luke
2012-02-04 01:54:57 +01: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
Ms2ger
d69f8b329c
Bug 677079 - Part f: Expose structuredCloneCallbacks in jsfriendapi.h; r=jorendorff
2012-01-15 09:13:08 +01:00
Ms2ger
dc4d4e78ee
Bug 677079 - Part e: Move js_GetSCOffset to jsfriendapi.h; r=luke
2012-01-15 09:13:08 +01:00
Olli Pettay
794647f539
Bug 710380 - IndexedDB could use the dictionary reader, r=khuey
2011-12-27 20:01:28 +02:00
Ms2ger
e927de0840
Bug 711240 - Part b: Expose xpc_qsStringToJsval publicly; r=bholley
2011-12-24 09:27:04 +01:00
Jan Varga
731558a2e2
Bug 711727 - Followup cleanup for files in IndexedDB. r=sicking/bent
2011-12-20 12:23:27 +01: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
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
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
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
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
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
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
Ben Turner
7787ca113d
Bug 692628 - 'IndexedDB: Support IDBCursor.advance'. r=sicking.
2011-11-07 15:37:19 -08:00