Bobby Holley
997dcc7d65
Bug 834732 - Get rid of footgun bool param for nsCxPusher and use an explicit enum. r=mrbkap
...
The goal here is to get rid of this crap entirely, and make nsCxPusher always
push. But that's a scary change, so we do it in chunks. This patch, in particular,
should have zero behavioral change. This means preserving some very wrong behavior.
For instance, currently SafeAutoJSContext never pushes a damn thing, because the
safe JSContext doesn't have an associated nsIScriptContext. We preserve this
behavior, and in fact convert various similarly-buggy consumers to
SafeAutoJSContext, so that we can hoist the behavioral change into a subsequent
patch.
2013-02-26 11:04:09 -08:00
Trevor Saunders
9f0ad48b28
bug 822289 - remove NS_IMPL_CYCLE_COLLECTION_CLASS and friends r=mccr8
2013-01-12 07:40:33 -05:00
Mats Palmgren
6c53161814
Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan
2013-01-15 13:22:03 +01:00
Jan Varga
812af47d24
Bug 787804 - Rewrite quota handling (eliminate test_quota.c). r=bent,asuth,vladan
2012-12-17 20:25:10 +01:00
Olli Pettay
1e72329799
Bug 811206, Fix JSHolder drop handling, part 3 (fixes), r=mccr8,khuey
...
--HG--
extra : rebase_source : 7b2726d2aa7f5764a3c4cb750e5a735728069687
2012-11-28 03:37:57 +02:00
Benoit Jacob
a1d7e0f511
Bug 807437 - Eliminate redundant Traverse/Unlink CC macros - part 1: automatic changes - r=mccr8
2012-11-15 02:32:40 -05:00
Jan Varga
52c04ab469
Bug 786688 - Part 2: Code cleanup. r=sicking
2012-10-30 07:11:58 +01:00
Jonas Sicking
534f67d717
Bug 786688 - Part 1: Add chrome only openForPrincipal() and deleteForPrincipal(). r=bent
2012-10-30 07:07:09 +01:00
Ben Turner
1493ea2ca6
Bug 786295 - 'Delete IndexedDB related to an app when uninstalled'. r=bz+khuey+sicking.
2012-10-23 09:31:19 -07:00
Isaac Aggrey
e496b51126
Bug 795351: Replace LL_MAXINT, LL_MININT, LL_MAXUINT with stdint versions; r=ehsan
2012-09-28 14:55:23 -05:00
Ben Turner
0abf68c99f
Bug 786771 - Fix for 'ASSERTION: Must have an actor here'. r=mrbkap.
...
--HG--
extra : transplant_source : %9D%D0o%D2%C7%9F%22%5E%21%91%B4%A0ly%60%FE%CA%17%FAP
2012-08-29 17:50:28 -07:00
Mounir Lamouri
62167af904
Bug 756645 - Implement IndexedDB apps isolation. r=bent
2012-08-28 09:46:46 -03:00
Ryan VanderMeulen
a590c02f1f
Backout 4bb90f8c6909 (bug 756645) due to Android opt M3 orange on a CLOSED TREE.
2012-08-23 22:54:15 -04:00
Luke Wagner
94264a0bc8
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
62228626d9
Bug 756645 - Implement IndexedDB apps isolation. r=bent
2012-08-23 11:45:01 -07:00
Ehsan Akhgari
0fd9123eac
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
0010e82b08
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
5b1d66a0b0
Bug 754142: Don't install quota handlers on chrome databases. r=bent
2012-08-01 14:09:23 -07:00
Aryeh Gregor
e806eeab4f
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Mounir Lamouri
7ed8cc60d3
Bug 769597 - IndexedDB should use nsIPermissionManager with principals. r=sicking
2012-07-15 18:35:47 -07:00
Ben Turner
ffa4f808f2
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
ee938e4233
Backout changeset 592bfc94e628 for X orange.
2012-07-14 11:23:52 +02:00
Ben Turner
e738469ac9
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
fc74c5d76f
Bug 765936. r=bent,peterv
2012-07-06 10:28:51 -07:00
Kyle Huey
dac92e82a6
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
1fddd6b475
Bug 767193 - FileHandles do not get GCed/removed when overwritten in indexeddb. r=bent
2012-06-27 05:14:53 +02:00
Kyle Huey
9b2a38f11f
Bug 765834: Rework and unify keyPath handling. r=bent
2012-06-21 15:27:13 -07:00
Ryan VanderMeulen
891e38e528
Revert c39d36167b99 due to a horribly munged backout.
2012-06-10 19:44:50 -04:00
Ryan VanderMeulen
f497d31a0a
Backout the bug 754202 backout due to orange.
2012-06-10 19:37:47 -04:00
Andrew McCreight
f4f0e1a935
Bug 754478 - clean up cycle collector JS tracing callbacks. r=bent
2012-05-15 09:56:39 -07:00
Geoff Lankow
00f3a215c9
Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg
2012-06-06 14:08:30 +12:00
Ben Turner
b072e01d8f
Bug 666693 - 'Remote IndexedDB for multiple IndexedDB-using processes'. r=cjones+sicking.
2012-06-01 10:21:12 -07:00
Gervase Markham
ca171eec44
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Kyle Huey
d74460ce0a
Back out bug 754142 due to bustage.
2012-05-16 15:21:58 -07:00
Kyle Huey
5bd25a91df
Bug 754142: Don't install quota handlers on chrome databases. r=bent
2012-05-16 15:08:18 -07:00
Ben Turner
8c2baff1b1
Bug 747581. r=khuey.
2012-04-30 16:52:27 -07:00
Phil Ringnalda
9021503717
Back out 28cfc474ab58 (bug 742626) for xpcshell bustage
2012-04-30 11:38:09 -07:00
Fabrice Desré
17bb6e693e
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
23049011a9
Bug 730161 - Replace IDBDatabaseException and FileException with DOMException. r=sicking
2012-04-11 17:55:21 -04:00
Olli Pettay
339e88ba7e
Bug 734057 - Make nsDOMEventTargetHelper to not have strong pointer to window, r=jst,bent
2012-03-13 02:56:07 +02:00
Ben Turner
565ac90471
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
25bb1feaa8
Backout 8886b027527a (bug 718132) for xpcshell failures
2012-01-23 16:18:14 +00:00
Ben Turner
a83f777b58
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
e96acf96ec
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
de7d7003d2
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
abe11e8c63
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
fcaa811a2a
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
8b7b6f44b3
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
6787a7998e
Back out fb4d12d2a2da, bug 701772, due to leaks.
2011-12-16 13:09:42 -08:00
Jonas Sicking
6df231f9b2
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
6e5ac8e11d
Bug 703660 - IndexedDB: Compress structured clone data with Snappy. r=sicking+khuey.
2011-12-07 15:24:20 -08:00
Phil Ringnalda
26f6d8a9de
Back out 8941e2b7a0bf (bug 703660) for Windows PGO build failures
2011-12-07 08:41:02 -08:00
Ben Turner
e7415db369
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
cd4051ca12
Bug 692630: Support multi-entry indexes. r=bent
2011-12-04 09:39:01 -08:00
Jonas Sicking
aeb8da00ba
Bug 706659 part 2: Support empty keypaths on objectStores. r=bent
2011-12-04 09:39:01 -08:00
Kyle Huey
be6d4f9248
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
8d116d7109
Back out patches due to test failures. rev 1b9ca56d4aab and a few more.
2011-12-02 19:46:25 -08:00
Jonas Sicking
a4afec4d29
Bug 692630: Support multi-entry indexes. r=bent
2011-12-02 18:32:46 -08:00
Jonas Sicking
d13f23d073
Bug 706659 part 2: Support empty keypaths on objectStores. r=bent
2011-12-02 18:32:46 -08: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
27203a7bfd
Bug 692642: IndexedDB: support indexedDB.cmp. r=sicking.
2011-11-08 11:03:18 -08:00
Kyle Huey
2212aeceae
Bug 625071: Implement deleteDatabase. 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
Ben Turner
d159d4ae55
Bug 692632 - 'IndexedDB: support empty objectstore/index names'. r=sicking.
2011-11-07 15:37:16 -08: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
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
Ehsan Akhgari
2a602a5685
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
0c13640aed
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
c119510fb8
Stop including nsDOMClassInfo.h all over the place.
...
--HG--
extra : rebase_source : 24bd6a84238834f8ca50990a91849dff2c5040ba
2011-10-03 21:11:31 +02:00
Michael Wu
d8e503c38b
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
44b2bb6041
Bug 666580 - Use a transaction for indexedDB schema creation.
...
r=bent
2011-09-28 12:04:21 +02:00
Ben Turner
47b4c0a8d0
Bug 681930, r=sicking.
2011-08-26 01:21:35 -07:00
Jonas Sicking
e3f6b769a1
Bug 658714 Part 5: Search'n'replace nsPIDOMEventTarget to nsIDOMEventTarget. r=smaug
2011-06-23 19:18:00 -07:00
Dominic Fandrey
0ab2f46136
Bug 645398 - Substitute PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc
2011-06-02 14:56:50 +02:00
Masayuki Nakano
85c451e309
Bug 660121 Remove all pref related methods from nsContentUtils r=roc
2011-05-29 08:42:57 +09:00
Alon Zakai
b8874744ed
Bug 619494 - Make IndexedDB work in IPC Fennec. r=bent,mfinkle
2011-04-29 16:46:20 -07:00
Ben Turner
c96b568869
Bug 628071 - 'Crash inspecting IDBRequest(mozIndexedDB.open)'. r=sicking, a=blocking.
2011-01-26 17:53:02 -08:00
Ben Turner
cde3f1127c
Bug 622042 - 'IndexedDB: Rework events and requests'. r=sicking, a=sicking.
2011-01-06 22:21:36 -08:00
Ben Turner
c35f5a040d
Bug 595307 - 'IndexedDB: third-party checks'. r=sicking+dwitte, a=blocking.
2011-01-06 22:21:33 -08:00
Ben Turner
bb620ec2bf
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
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
719ea5cedf
Bug 607122 - 'IndexedDB: IDBKeyRange cleanup'. r=sicking, a=blocking+
2010-11-10 15:26:00 -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
52bc9dcc50
Bug 601774 - 'IndexedDB: Audit exceptions thrown from indexedDB methods'. r=sicking, a=blocking+
2010-11-10 15:25:44 -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
Ben Turner
9576024ca0
Bug 596377 - 'IndexedDB: Move usage and clearing IO off the main thread'. r=sicking.
2010-10-19 10:58:33 -07:00
Ben Turner
9d64943303
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
c769e22813
Bug 591516 - 'IndexedDB: Add some UI to prompt for IndexedDB permissions'. Tests.
2010-09-09 15:15:44 -07:00
Ben Turner
cf28451779
Bug 591516 - 'IndexedDB: Add some UI to prompt for IndexedDB permissions'. r=sicking+gavin.
2010-09-09 15:15:40 -07:00
Ben Turner
59b3600f55
Bug 592801 - 'IndexedDB: IDBRequest rework, make everything an event target'. r=sicking.
2010-09-09 15:15:38 -07:00
Ben Turner
8cb3801142
Bug 589355 - 'IndexedDB: Add IDBObjectStore::Clear'. r=sicking
2010-08-26 13:57:30 -07:00
Ben Turner
5c5c6402b3
Bug 579882 - 'IndexedDB: Investigate/review IndexedDB event handling'. r=smaug+sicking.
2010-08-26 13:57:25 -07:00
Ben Turner
182f339089
Bug 576406 - 'IndexedDB: Calling AddOrModify inserts duplicates into the database'. r=sdwilsh
2010-08-04 14:44:26 -07:00
Shawn Wilsher
1dd26b5f02
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
8f3f92a5f4
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