Commit Graph

143 Commits

Author SHA1 Message Date
Bobby Holley
91448a9dac Bug 868130 - Remove the lion's share of JSAutoRequests in gecko. r=gabor
There are still a handful that either are used with other runtimes, or that
happen very early/late in cx the lifetime of various things where it doesn't
necessarily make sense to have a cx on the stack. This should definitely ensure
that we're not doing double-duty with the nsCxPusher change, though.
2013-05-22 10:05:28 -06:00
David Zbarsky
f6efab93ab Bug 866450 Part 6: Fix rooting hazards under content/ and dom/ r=bz 2013-05-02 05:12:47 -04:00
Ed Morley
ca271dcaf0 Backed out changeset 7c0ace2560c4 (bug 866450) 2013-05-02 11:57:01 +01:00
David Zbarsky
c16b833cb2 Bug 866450 Part 6: Fix rooting hazards under content/ and dom/ r=bz 2013-05-02 05:12:47 -04:00
Ben Turner
0514a30d13 Bug 861287 - 'Integrate IndexedDB into the gecko profiler'. r=khuey. 2013-03-15 23:58:50 -07:00
Ben Turner
d2d94d205c Backout bug 861287 for gcc build failures. 2013-04-25 08:30:28 -04:00
Ben Turner
19f1c29c69 Bug 861287 - 'Integrate IndexedDB into the gecko profiler'. r=khuey. 2013-03-15 23:58:50 -07:00
Bobby Holley
629d0d4121 Bug 860438 - Straightforward cases. r=gabor 2013-04-18 11:36:03 -04:00
Trevor Saunders
b2b4f6a9c0 bug 856700 - don't check the result of infalible nsTArray::SwapElements() in dom/ r=khuey 2013-04-01 13:35:13 -04:00
Vendelin Ruzicka
fce0eb3816 Bug 835767: AsyncConnectionHelper::ConvertCloneReadInfosToArray callers don't need to clear structured clone buffers. r=bent 2013-02-01 20:41:11 +01:00
Trevor Saunders
9f0ad48b28 bug 822289 - remove NS_IMPL_CYCLE_COLLECTION_CLASS and friends r=mccr8 2013-01-12 07:40:33 -05:00
Justin Lebar
177343bcf8 Bug 819791 - Part 6: Remove unnecessary TArray copies in dom/indexedDB. r=bent 2012-12-18 20:16:06 -05: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
Ben Turner
9572705866 Bug 808743 - ' Better protection for PBrowser shutdown and database invalidation in multiprocess scenarios'. r=khuey+cjones.
--HG--
extra : transplant_source : %BD%E4%ADA%09%CE%D9%BE%1C%7C%7B%1A%FC%86%5C%13%24%29%B4%16
2012-11-09 19:29:07 -08:00
Kyle Huey
4bf336005a Bug 797889: Make sure IndexedDB does not send messages to thechild after it has begun shutting down. r=bent 2012-10-05 12:09:33 -07:00
Kyle Huey
b2feb19cf4 Bug 780778: Make sure we already release stuff on the right thread. r=bent
--HG--
extra : rebase_source : 554edc65d83af084a26679d046a90d38f499e142
2012-10-03 12:05:20 -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
Isaac Aggrey
997db4d142 Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan 2012-09-28 01:57:33 -05:00
Ms2ger
8976774677 Bug 787933 - Stop using stdin types in IPC code; r=bsmedberg+cjones sr=cjones 2012-09-17 10:37:20 +02:00
Randell Jesup
eedf93a21d Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04: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
Eric Faust
012112cde8 Bug 752223 - Implement JS_NumberValue(), replacing JS_NewNumberValue(). (r=luke) 2012-08-01 17:59:47 -07:00
Aryeh Gregor
e806eeab4f Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Ehsan Akhgari
84bc5927cc Correct the initialization order in the IDBIndex constructor (no bug; DONTBUILD) 2012-07-11 00:25:47 -04:00
Daniel Holbert
b24e6c3b97 Bug 770287: Reorder IDBIndex constructor init list to fix build warning. r=khuey 2012-07-03 14:09:35 -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
Kyle Huey
3d72da04f0 Bug 767186: Cache the keyPath for objectStores and indexes. r=bent 2012-06-22 14:00:53 -07: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
Ms2ger
0170d19adc Bug 761635 - Fix build in MSVC 8; r=khuey 2012-06-10 19:19:12 +02:00
Jan Varga
6e3e5ab48b Bug 726593 - Implement FileHandle. r=bent 2012-06-03 18:33:52 +02: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
Jonas Sicking
39ecbe97e4 Bug 735094: Implement new string values (rather than numeric constants) for IndexedDB. r=bent 2012-03-12 21:44:45 -07:00
David Mandelin
68c407c176 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
5e02d0630c Bug 733260: remove typedef jsuint, r=luke
--HG--
extra : rebase_source : e8f576e1b5b189b47807c613c0cff79f5c8038e7
2012-03-05 18:43:45 -08:00
David Mandelin
59dcf8cdf7 Bug 725550: remove obsolete typedef jsdouble, r=jwalden 2012-02-24 14:19:52 -08:00
Marco Bonardo
74afb56c79 Backout 4fc2f49371a8 (bug 725550) for build failures 2012-02-25 00:16:47 +01:00
David Mandelin
ad7cda83f5 Bug 725550: remove obsolete typedef jsdouble, r=jwalden
--HG--
extra : rebase_source : 772c2982184d7b3d1680737323395365e6b218da
2012-02-24 14:19:52 -08:00
Ms2ger
94747a42f3 Bug 726961 - Remove unused variable database from IDBIndex::Create; r=khuey 2012-02-21 10:34:01 +01:00
Kyle Huey
090e99a445 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
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
Ms2ger
99e36e1123 Bug 711240 - Part b: Expose xpc_qsStringToJsval publicly; r=bholley 2011-12-24 09:27:04 +01: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
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
Jan Varga
8702627c09 Bug 661877 - Enable storing files in IndexedDB. r=bent 2011-12-16 08:34:24 +01:00
Jonas Sicking
cd4051ca12 Bug 692630: Support multi-entry indexes. r=bent 2011-12-04 09:39:01 -08: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
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
Jonas Sicking
ef00405547 Bug 692659: Fix sort order for PREV cursors on indexes. r=bent 2011-11-07 23:34:59 -08:00
Ben Turner
d2fe7043a2 Bug 692628 - 'IndexedDB: Support IDBCursor.advance'. r=sicking. 2011-11-07 15:37:19 -08: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
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
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
Jeff Walden
1ae34fd49a Bug 676738 - Change the index argument to JS_SetElement from jsint to uint32. r=dmandelin 2011-08-04 19:39:13 -07:00
Luke Wagner
1f831c5948 Bug 668915 - JSAutoStructuredCloneBuffer shouldn't require a 'cx' (r=bent,jorendorff)
--HG--
extra : rebase_source : f2fe9ab1e25188223f75e8d2ddcbdf977e62782b
2011-07-12 10:42:24 -07:00
Luke Wagner
640dd6a5c2 Backout 2e0fea2cbd9b for windows linker lameness 2011-07-28 14:35:38 -07:00
Luke Wagner
c0bacd6aa9 Bug 668915 - JSAutoStructuredCloneBuffer shouldn't require a 'cx' (r=bent,jorendorff) 2011-07-12 10:42:24 -07:00
Kyle Huey
5e38617c17 Bug 662930: Consolidate IDB structured clone serializations/deserializations. r=bent 2011-06-08 19:21:53 -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
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
2fe29b705a Bug 618140 - 'IndexedDB: Don't fire success event callbacks once a transaction has been aborted'. r=sicking, a=blocking. 2010-12-15 13:21:17 -08:00
Ben Turner
6344037c8a Bug 618717 - 'IndexedDB: Fix error codes to match spec changes'. r=sicking, a=blocking. 2010-12-15 13:21:14 -08:00
Ben Turner
5fc5e7f7f8 Bug 618143 - 'IndexedDB: Don't accept null as a valid key'. r=sicking, a=blocking. 2010-12-15 13:21:07 -08:00
Ben Turner
72466ecb2a Bug 618134 - 'IndexedDB: Rename cursor types to comply with spec changes'. r=sicking, a=blocking. 2010-12-15 13:21:02 -08:00
Ben Turner
e44932bf78 Bug 615269 - 'IndexedDB: Cursors should not copy all results before iterating'. r=sicking, a=blocking+. 2010-12-09 18:15:00 -08:00
Ben Turner
ddffd8ae43 Bug 608195 - 'IndexedDB: Expose more breadcrumbs on IDB objects'. r=sicking, a=blocking+. 2010-12-09 18:14:09 -08: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
b7dbcc7acd Bug 606703 - 'IndexedDB: Remove preloaded cursors'. r=sicking, a=blocking+ 2010-11-10 15:25:53 -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
21827132d6 Bug 592801. a=crashfix 2010-09-09 21:54:25 -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
5c5c6402b3 Bug 579882 - 'IndexedDB: Investigate/review IndexedDB event handling'. r=smaug+sicking. 2010-08-26 13:57:25 -07:00
Ben Turner
b49ee09c3f Bug 577704 - 'IndexedDB: OpenObjectCursor broken for autoIncremented indexes'. r=sdwilsh 2010-08-04 14:44:30 -07:00
Ben Turner
1d8ac7be25 Bug 575399 - 'IndexedDB: Remove XPConnect slow paths from some IndexedDB methods'. r=sdwilsh 2010-06-28 15:22:41 -07:00
Shawn Wilsher
57685bdd35 Bug 574811 - Rename IDBCursorRequest to IDBCursor
Updating interface names per recent specification changes.
r=bent

--HG--
rename : dom/indexedDB/IDBCursorRequest.cpp => dom/indexedDB/IDBCursor.cpp
rename : dom/indexedDB/IDBCursorRequest.h => dom/indexedDB/IDBCursor.h
2010-06-28 11:51:06 -07:00
Shawn Wilsher
aff7e85a3b Bug 574811 - Rename IDBIndexRequest to IDBIndex
Updating interface names per recent specification changes.
r=bent

--HG--
rename : dom/indexedDB/IDBIndexRequest.cpp => dom/indexedDB/IDBIndex.cpp
rename : dom/indexedDB/IDBIndexRequest.h => dom/indexedDB/IDBIndex.h
2010-06-28 11:51:06 -07:00