Commit Graph

187 Commits

Author SHA1 Message Date
Ryan VanderMeulen
1c1c169d75 Backout 4bb90f8c6909 (bug 756645) due to Android opt M3 orange on a CLOSED TREE. 2012-08-23 22:54:15 -04:00
Luke Wagner
ad90af9ca5 Bug 625199 - s/JSAutoEnterCompartment/JSAutoCompartment/ and make it infallible (r=bholley)
--HG--
extra : rebase_source : 12acf2288285f5caefd7fecea8207de3a47eab5b
2012-08-21 18:42:53 -07:00
Mounir Lamouri
cdb3f274d1 Bug 756645 - Implement IndexedDB apps isolation. r=bent 2012-08-23 11:45:01 -07:00
Ehsan Akhgari
e368dc9c85 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
Ben Turner
4893263a15 Bug 759427 - 'Multiprocess blob support for MessageManager and IndexedDB'. r=smaug+janv+khuey (rs=sicking for nsBlobURI changes).
--HG--
extra : transplant_source : %95%B5y%11%C5%AB%D9%CF%FF%7C%5E%BB%E5%DA%F5j%83o%29%EB
2012-08-01 23:02:29 -07:00
Kyle Huey
f71fef8c9e Bug 754142: Don't install quota handlers on chrome databases. r=bent 2012-08-01 14:09:23 -07:00
Aryeh Gregor
d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Mounir Lamouri
fe6907f48c Bug 769597 - IndexedDB should use nsIPermissionManager with principals. r=sicking 2012-07-15 18:35:47 -07:00
Ben Turner
77ec1d2ca4 Bug 772700 - 'IndexedDB - OOP from a JS component or JSM doesn't work'. r=khuey+mrbkap.
--HG--
rename : dom/indexedDB/test/unit/head_idb.js => dom/indexedDB/test/unit/head.js
extra : transplant_source : %5D1%15%CC%90%E0%F5%0D%0B%FDi%0B%B9YA%D4c%24%D42
2012-07-14 07:24:20 -04:00
Ms2ger
dc5ed62122 Backout changeset 592bfc94e628 for X orange. 2012-07-14 11:23:52 +02:00
Ben Turner
9550ca6ef8 Bug 772700 - 'IndexedDB - OOP from a JS component or JSM doesn't work'. r=khuey+mrbkap.
--HG--
rename : dom/indexedDB/test/unit/head_idb.js => dom/indexedDB/test/unit/head.js
extra : transplant_source : %217%FC%0D%A3%82%DB%F2DB%F1%5Dc%99%B9%C6j%E1U%A2
2012-07-13 23:05:58 -04:00
Kyle Huey
13d799f93d Bug 765936. r=bent,peterv 2012-07-06 10:28:51 -07:00
Kyle Huey
0dc01d3feb 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
Jan Varga
6565546c36 Bug 767193 - FileHandles do not get GCed/removed when overwritten in indexeddb. r=bent 2012-06-27 05:14:53 +02:00
Kyle Huey
d0a8b8c3ae Bug 765834: Rework and unify keyPath handling. r=bent 2012-06-21 15:27:13 -07:00
Ryan VanderMeulen
5f2a19ee6e Revert c39d36167b99 due to a horribly munged backout. 2012-06-10 19:44:50 -04:00
Ryan VanderMeulen
6d6c4efbab Backout the bug 754202 backout due to orange. 2012-06-10 19:37:47 -04:00
Andrew McCreight
aa90a88409 Bug 754478 - clean up cycle collector JS tracing callbacks. r=bent 2012-05-15 09:56:39 -07:00
Geoff Lankow
5cefea8480 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Ben Turner
3fdf917cd6 Bug 666693 - 'Remote IndexedDB for multiple IndexedDB-using processes'. r=cjones+sicking. 2012-06-01 10:21:12 -07:00
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Kyle Huey
32b77ac8c5 Back out bug 754142 due to bustage. 2012-05-16 15:21:58 -07:00
Kyle Huey
929cffd17f Bug 754142: Don't install quota handlers on chrome databases. r=bent 2012-05-16 15:08:18 -07:00
Ben Turner
e8e0f22c6e Bug 747581. r=khuey. 2012-04-30 16:52:27 -07:00
Phil Ringnalda
3ea4cf1424 Back out 28cfc474ab58 (bug 742626) for xpcshell bustage 2012-04-30 11:38:09 -07:00
Fabrice Desré
993fcccb96 Bug 742626 - Allow indexedDB parent directory to not be the default profile directory [r=bent] 2012-04-30 10:27:57 -07:00
Masatoshi Kimura
7706cbe7a8 Bug 730161 - Replace IDBDatabaseException and FileException with DOMException. r=sicking 2012-04-11 17:55:21 -04:00
Olli Pettay
b063392a27 Bug 734057 - Make nsDOMEventTargetHelper to not have strong pointer to window, r=jst,bent 2012-03-13 02:56:07 +02: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
Kyle Huey
46c19a64e1 Bug 715162: Move LazyIdleThread to xpcom/. r=bent
--HG--
rename : dom/indexedDB/LazyIdleThread.cpp => xpcom/threads/LazyIdleThread.cpp
rename : dom/indexedDB/LazyIdleThread.h => xpcom/threads/LazyIdleThread.h
2012-01-05 08:42:47 -05:00
Gabor Krizsanits
7a56561bbe Bug 587797 - IndexedDB: Make it possible to access IndexedDB APIs from chrome. r=khuey,bent 2012-01-03 10:27:39 -05: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
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
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
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
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
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
72707bb457 Bug 692642: IndexedDB: support indexedDB.cmp. r=sicking. 2011-11-08 11:03:18 -08:00
Kyle Huey
6bf243becc Bug 625071: Implement deleteDatabase. 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
Ben Turner
8370e356ef Bug 692632 - 'IndexedDB: support empty objectstore/index names'. r=sicking. 2011-11-07 15:37:16 -08:00
Kyle Huey
2c7a2e1bea Bug 698440: Implement IndexedDB optional version syntax. r=bent 2011-11-02 08:53:12 -04:00
Kyle Huey
3140fc9fd4 Bug 697247: Part 2 - Rework IDB synchronization mechanisms. r=bent 2011-11-02 08:53:12 -04:00
Kyle Huey
9951eda078 Bug 697247: Part 1 - Use atoms instead of hashes for database IDs. r=bent 2011-11-02 08:53:12 -04:00
Kyle Huey
bee1f84b2f 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
Ehsan Akhgari
92064e6d3f Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Peter Van der Beken
ea0499b427 Bug 648801 (new DOM list bindings) - Set up prototypes and constructors. r=bz/jst/mrbkap.
--HG--
extra : rebase_source : acf503d1c93a333ba8ef14d0c25160adabbccd4a
2011-06-14 10:41:15 +02:00
Peter Van der Beken
9fe2ac6cc5 Stop including nsDOMClassInfo.h all over the place.
--HG--
extra : rebase_source : 24bd6a84238834f8ca50990a91849dff2c5040ba
2011-10-03 21:11:31 +02:00
Michael Wu
d2b70213ac Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Marco Bonardo
2e6a5d289e Bug 666580 - Use a transaction for indexedDB schema creation.
r=bent
2011-09-28 12:04:21 +02:00
Ben Turner
08fad93399 Bug 681930, r=sicking. 2011-08-26 01:21:35 -07:00
Jonas Sicking
07c1f0b90f Bug 658714 Part 5: Search'n'replace nsPIDOMEventTarget to nsIDOMEventTarget. r=smaug 2011-06-23 19:18:00 -07:00
Dominic Fandrey
968bf5196a Bug 645398 - Substitute PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc 2011-06-02 14:56:50 +02:00
Masayuki Nakano
4a5030c91a Bug 660121 Remove all pref related methods from nsContentUtils r=roc 2011-05-29 08:42:57 +09:00
Alon Zakai
0c39bea133 Bug 619494 - Make IndexedDB work in IPC Fennec. r=bent,mfinkle 2011-04-29 16:46:20 -07:00
Ben Turner
1734f9abbc Bug 628071 - 'Crash inspecting IDBRequest(mozIndexedDB.open)'. r=sicking, a=blocking. 2011-01-26 17:53:02 -08:00
Ben Turner
9b0dc88cb6 Bug 622042 - 'IndexedDB: Rework events and requests'. r=sicking, a=sicking. 2011-01-06 22:21:36 -08:00
Ben Turner
63d4f951ac Bug 595307 - 'IndexedDB: third-party checks'. r=sicking+dwitte, a=blocking. 2011-01-06 22:21:33 -08:00
Ben Turner
06b9c71a4a Bug 613083 - 'IndexedDB: Switch serialization format from JSON to structured clone bytestream'. r=sicking, a=blocking. 2010-12-21 11:02:04 -05:00
Ben Turner
5583c79faf 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
d891e8880c Bug 607122 - 'IndexedDB: IDBKeyRange cleanup'. r=sicking, a=blocking+ 2010-11-10 15:26:00 -08:00
Ben Turner
c713335336 Bug 606700 - 'IndexedDB: Remove IDBDatabase.description'. r=sicking, a=blocking+ 2010-11-10 15:25:48 -08:00
Ben Turner
b682a58ad1 Bug 601774 - 'IndexedDB: Audit exceptions thrown from indexedDB methods'. r=sicking, a=blocking+ 2010-11-10 15:25:44 -08:00
Ben Turner
027592ef2a 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
88b443f419 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
Ben Turner
53e5ee9ab3 Bug 596377 - 'IndexedDB: Move usage and clearing IO off the main thread'. r=sicking. 2010-10-19 10:58:33 -07:00
Ben Turner
c9978327b5 Bug 594583 - 'IndexedDB: Add some UI to clear IndexedDB databases'. r=sicking+gavin. a=beta6blocking. 2010-09-10 12:12:11 -07:00
Ben Turner
a66adcb5f5 Bug 591516 - 'IndexedDB: Add some UI to prompt for IndexedDB permissions'. Tests. 2010-09-09 15:15:44 -07:00
Ben Turner
b88dc31fa2 Bug 591516 - 'IndexedDB: Add some UI to prompt for IndexedDB permissions'. r=sicking+gavin. 2010-09-09 15:15:40 -07:00
Ben Turner
5158899107 Bug 592801 - 'IndexedDB: IDBRequest rework, make everything an event target'. r=sicking. 2010-09-09 15:15:38 -07:00
Ben Turner
4e765058fe Bug 589355 - 'IndexedDB: Add IDBObjectStore::Clear'. r=sicking 2010-08-26 13:57:30 -07:00
Ben Turner
f267817a9c Bug 579882 - 'IndexedDB: Investigate/review IndexedDB event handling'. r=smaug+sicking. 2010-08-26 13:57:25 -07:00
Ben Turner
20fdbdcaa8 Bug 576406 - 'IndexedDB: Calling AddOrModify inserts duplicates into the database'. r=sdwilsh 2010-08-04 14:44:26 -07:00
Shawn Wilsher
a2baef3136 Bug 574811 - Rename IDBDatabaseRequest to IDBDatabase
Updating interface names per recent specification changes.
r=bent

--HG--
rename : dom/indexedDB/IDBDatabaseRequest.cpp => dom/indexedDB/IDBDatabase.cpp
rename : dom/indexedDB/IDBDatabaseRequest.h => dom/indexedDB/IDBDatabase.h
2010-06-28 09:46:49 -07:00
Shawn Wilsher
3405a47131 Bug 574740 - Rename nsIIndexedDatabaseRequest to nsIIDBFactory
Update interface names per specification.
r=bent

--HG--
rename : dom/indexedDB/IndexedDatabaseRequest.cpp => dom/indexedDB/IDBFactory.cpp
rename : dom/indexedDB/IndexedDatabaseRequest.h => dom/indexedDB/IDBFactory.h
rename : dom/indexedDB/nsIIndexedDatabaseRequest.idl => dom/indexedDB/nsIIDBFactory.idl
2010-06-28 09:44:30 -07:00