Commit Graph

44 Commits

Author SHA1 Message Date
Andrea Marchesini
928c2809d6 Bug 932119 - convert nsIAtom to nsString in QuotaManager and IndexedDB, r=janv 2013-11-25 16:53:48 +00:00
Robert O'Callahan
03e7828db2 Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg
--HG--
extra : rebase_source : 0787130b1814c74bfb38dc178de94022f0b2e64e
2013-09-02 20:41:57 +12:00
Andrea Marchesini
9609933949 Bug 888598 - Move IDBTransaction to WebIDL, r=janv 2013-07-29 19:12:21 +02:00
Joshua Cranmer
36673bcae2 Bug 884061 - Part 3f: Use NS_DECL_THREADSAFE_ISUPPORTS in dom/, r=smaug,dhylands.
--HG--
extra : rebase_source : b8eaae07c54c94c8c46c7ed4c0e226eb74584652
2013-07-18 21:21:20 -05:00
Julian Seward
eb8e819973 Bug 872496 - Allow early registration of stack tops, to improve native unwind quality. r=bgirard. 2013-05-28 14:03:38 +02:00
Jan Varga
5154c8f6f1 Bug 855331. r=bent 2013-05-06 23:21:03 +02:00
Ben Turner
8fddc0ee35 Bug 861287, fix clang bustage. 2013-04-25 11:26:58 -04:00
Ben Turner
6f8e994c82 Bug 861287 - 'Integrate IndexedDB into the gecko profiler'. r=khuey. 2013-03-15 23:58:50 -07:00
Ben Turner
5164c7bb1b Backout bug 861287 for gcc build failures. 2013-04-25 08:30:28 -04:00
Ben Turner
89f06e32e7 Bug 861287 - 'Integrate IndexedDB into the gecko profiler'. r=khuey. 2013-03-15 23:58:50 -07:00
Kyle Huey
d293f8f75c Bug 855276: Diagnostic patch. r=bent 2013-04-16 09:09:11 -07:00
Joshua Cranmer
9b438430fc Bug 856108 - Port static analyses to clang, part 2b: use MOZ_STACK_CLASS in dom. r=Ms2ger 2013-04-11 22:20:18 -05:00
Ben Turner
ebc89f5e51 Bug 859591 - 'Aborted transactions sometimes block all remaining transactions forever'. r=khuey. 2013-04-10 09:27:00 -07:00
Ryan VanderMeulen
ff7f6e9086 Backed out changeset 366758c34e31 (bug 859591) for xpcshell failures. 2013-04-10 14:45:40 -04:00
Ben Turner
828298982c Bug 859591 - 'Aborted transactions sometimes block all remaining transactions forever'. r=khuey. 2013-04-10 09:27:00 -07:00
Kyle Huey
59dacf84af Bug 855276: Moar diagnostics. 2013-04-09 15:08:28 -07:00
Ryan VanderMeulen
f59afec3a1 Backed out changeset 4081996a7420 (bug 855276) for mochitest-other orange on a CLOSED TREE. 2013-04-04 12:35:35 -04:00
Kyle Huey
859ed9e9ba Bug 855276: Add assertions to catch the cause. r=bent 2013-04-04 08:09:16 -07:00
Jan Varga
8b28e5b8f1 Bug 767944 - Implement a manager for centralized quota and storage handling. r=bent 2013-03-26 12:13:17 +01:00
Kyle Huey
7a5a1afb60 Bug 776800: Keep track of transaction dependencies explicitly to improve performance. r=bent 2013-02-05 17:01:07 +00: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
Kyle Huey
74b7acf005 Bug 781700: Don't hold strong references to databases from the synchronization queue, so that GCing a database will unblock waiting operations. r=bent
--HG--
extra : rebase_source : 2f1b2405ffc91831d33eb91e4b2d61c2b1ac872b
2012-08-10 09:15:02 -07:00
Aryeh Gregor
d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Honza Bambas
fc7084f564 Bug 720778 - Important threads should have a name for better debugability, r=bsmith, sr=bsmedberg+glandium 2012-06-12 19:06:20 +02:00
Jan Varga
513c660911 Bug 726593 - Implement FileHandle. r=bent 2012-06-03 18:33:52 +02:00
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Benjamin Smedberg
eaa4878487 Bug 734847 part 2 - treewide changes resulting from the default-infallibility of hashtables; either remove useless result checks, or use the fallible version of APIs, depending on context, r=jlebar
--HG--
extra : rebase_source : 844b008c5167e6ca39a7ba9eeec8b30672938704
2012-05-18 13:30:49 -04:00
Jeff Muizelaar
a99aac410d Bug 755172. Add MOZ_FINAL to a bunch of idb classes. r=khuey 2012-05-15 00:50:29 -04: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
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
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
6cc3c72b79 Bug 692991: Refactor some VERSION_CHANGE transaction locking stuff and disallow transaction creation before databases are completely open. r=bent 2011-10-25 08:49:31 -04:00
Ed Morley
64b07e6117 Backout 26ac81280f33 (bug 692911) for Moth orange on all platforms & M2 orange on win opt 2011-10-24 23:49:59 +01:00
Kyle Huey
6d1e9ffcb2 Bug 692911: Refactor some VERSION_CHANGE transaction locking stuff and disallow transaction creation before databases are completely open. r=bent 2011-10-24 16:01:11 -04:00
Jonas Sicking
dde3e2e869 Bug 618590 Part 3: When a page is destroyed, abort any running indexedDB transactions. r=bent a=blocker 2011-01-27 13:47:36 -08:00
Jonas Sicking
d664a198d2 Bug 618590 Part 2: Don't put a document in bfcache if there are running transactions in it. r=bent a=blocker 2011-01-27 13:47:36 -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
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
f6a17a5418 Bug 574507 - 'IndexedDB: Fix transaction queue logic to prevent starving transactions across multiple objectStores'. r=sicking 2010-07-12 10:05:01 -04:00
Ben Turner
9b0eb0a392 Backed out changeset 58eb7d767d6f due to failing tests 2010-07-12 11:25:49 -04:00
Ben Turner
c35dc181d1 Bug 574507 - 'IndexedDB: Fix transaction queue logic to prevent starving transactions across multiple objectStores'. r=sicking 2010-07-12 10:05:01 -04:00
Shawn Wilsher
b68638c849 Bug 574811 - Rename IDBTransactionRequest to IDBTransaction
Updating interface names per recent specification changes.
r=bent

--HG--
rename : dom/indexedDB/IDBTransactionRequest.cpp => dom/indexedDB/IDBTransaction.cpp
rename : dom/indexedDB/IDBTransactionRequest.h => dom/indexedDB/IDBTransaction.h
2010-06-28 09:46:21 -07:00
Ben Turner
4334db65c2 Bug 553413 - 'Implement Asynchronous parts of the Indexed Database API.' p=sdwilsh+bent, r=jst. 2010-06-23 12:46:08 -07:00