Commit Graph

220 Commits

Author SHA1 Message Date
Jan Varga
9feefc86cf Bug 763854 - Check file references (cleanup stored files) only when needed. r=bent 2012-08-24 11:51:33 -07:00
Ryan VanderMeulen
7a5d8da29b Backout 4bb90f8c6909 (bug 756645) due to Android opt M3 orange on a CLOSED TREE. 2012-08-23 22:54:15 -04:00
Mounir Lamouri
feebf4ba15 Bug 756645 - Implement IndexedDB apps isolation. r=bent 2012-08-23 11:45:01 -07:00
Ehsan Akhgari
243c878d26 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
Aryeh Gregor
0cc22f7712 Bug 626472 part 3 - Remove nsnull for good; r=ehsan 2012-08-12 13:43:47 +03:00
Kyle Huey
b8d206d694 Bug 781700: Don't hold strong references to databases from the synchronization queue, so that GCing a database will unblock waiting operations. r=bent 2012-08-10 09:15:02 -07:00
Jan Varga
e6dadb3206 Bug 780625 - Followup fix for "Don't install quota handlers on chrome databases". r=bent 2012-08-08 06:35:48 +02:00
Ben Turner
94f469af49 Bug 759427 - 'Multiprocess blob support for MessageManager and IndexedDB'. r=smaug+janv+khuey (rs=sicking for nsBlobURI changes). 2012-08-01 23:02:29 -07:00
Kyle Huey
dda72ba182 Bug 754142: Don't install quota handlers on chrome databases. r=bent 2012-08-01 14:09:23 -07:00
Aryeh Gregor
8b4a23fc4c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Aryeh Gregor
e3e1225e61 Bug 626472 part 1 - Define nsnull as nullptr where available; r=ehsan 2012-07-20 14:16:17 +03:00
Kyle Huey
fd2021a7e9 Bug 726378: Unprefix IndexedDB. r=sicking 2012-06-29 09:48:35 -07:00
Kyle Huey
9e1c3ffece 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
32acd40aba Merge m-c to b-s. 2012-06-22 14:27:07 -07:00
Kyle Huey
82b9f003d8 Bug 767493: Make AsyncUsageRunnable participate in the WaitForOpenAllowed synchronization mechanism. r=bent 2012-06-22 11:47:05 -07:00
Ben Turner
9cbf41e6cc Bug 765839 - 'Enable IndexedDB OOP test suite'. r=khuey. 2012-06-19 18:50:39 -07:00
Gregor Wagner
6c4faa9b72 Bug 742626 - Allow indexedDB parent directory to not be the default profile directory. r=bent 2012-06-21 09:39:12 -07:00
Honza Bambas
1415b7fdef Bug 720778 - Important threads should have a name for better debugability, r=bsmith, sr=bsmedberg+glandium 2012-06-12 19:06:20 +02:00
Ben Turner
2641ddacf4 Bug 664029 - 'Make indexeddb mochitests run in fennec'. r=khuey. 2012-06-11 14:59:27 -07:00
Kyle Huey
a64d3653bb Bug 755767: Shut down IndexedDB at profile-before-change. r=bent 2012-06-07 10:44:17 -07:00
Geoff Lankow
7a64448b03 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Jan Varga
141d5b92c8 Bug 726593 - Implement FileHandle. r=bent 2012-06-03 18:33:52 +02:00
Ben Turner
78880eb792 Bug 666693 - 'Remote IndexedDB for multiple IndexedDB-using processes'. r=cjones+sicking. 2012-06-01 10:21:12 -07:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Benjamin Smedberg
2b55dddfca 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 2012-05-18 13:30:49 -04:00
Jeff Muizelaar
561a08abc9 Bug 755172. Add MOZ_FINAL to a bunch of idb classes. r=khuey 2012-05-15 00:50:29 -04:00
Ben Turner
1bbc391bfd Bug 747581. r=khuey. 2012-04-30 16:52:27 -07:00
Ben Turner
d2f38bcb58 Bug 718132 - IndexedDB: Intermittent Failing to get JS wrapper in IDBRequest::NotifyHelperCompleted. r=khuey. 2012-01-24 02:03:37 -08:00
Ed Morley
927de8162d Backout 8886b027527a (bug 718132) for xpcshell failures 2012-01-23 16:18:14 +00:00
Ben Turner
2fb8104e46 Bug 718132 - IndexedDB: Intermittent Failing to get JS wrapper in IDBRequest::NotifyHelperCompleted. r=khuey. 2012-01-23 06:03:41 -08:00
Rafael Ávila de Espíndola
acccfae9ad Bug 715325 - shutdown indexedDB during xpcom-shutdown. r=benjamin. 2012-01-06 12:07:29 -05:00
Kyle Huey
3cfd0af57a Bug 715162: Move LazyIdleThread to xpcom/. r=bent 2012-01-05 08:42:47 -05:00
Gabor Krizsanits
5cddb771ff Bug 587797 - IndexedDB: Make it possible to access IndexedDB APIs from chrome. r=khuey,bent 2012-01-03 10:27:39 -05:00
Ms2ger
73b251a9cc Bug 711240 - Part a: Expose BAD_TLS_INDEX in xpcpublic.h; r=bholley 2011-12-24 09:26:34 +01:00
Olli Pettay
e32dd61fb2 Bug 711841, Null(C)String(), r=bsmedberg,glandium 2011-12-20 21:46:00 +02:00
Jan Varga
39d5ec6446 Bug 711727 - Followup cleanup for files in IndexedDB. r=sicking/bent 2011-12-20 12:23:27 +01:00
Jonas Sicking
712db960cb 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
628ce29f64 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
6434a346d9 Back out fb4d12d2a2da, bug 701772, due to leaks. 2011-12-16 13:09:42 -08:00
Jonas Sicking
7e04bb4a07 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
086c8ef739 Bug 661877 - Enable storing files in IndexedDB. r=bent 2011-12-16 08:34:24 +01:00
Kyle Huey
09f37b437c Bug 704464: Part 1 - Rework quota handling to use Windows insteead of Databases. r=bent 2011-12-03 12:10:21 -05:00
Kyle Huey
1089753b0b Bug 697247: Part 2 - Rework IDB synchronization mechanisms. r=bent 2011-11-02 08:53:12 -04:00
Kyle Huey
8085dfd021 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
8cf430ab26 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
519f0208d6 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
Justin Lebar
61c2d50b3c Bug 683777 - In an attempt to fix a crash in nsDocShell::InternalLoad, re-land bug 646641 with an extra null-check. r=smaug 2011-10-21 11:26:34 -04:00
Kyle Huey
1ceaffd045 Bug 687361: Implement the new IndexedDB setVersion API. r=bent 2011-10-20 12:10:56 -04:00
Justin Lebar
2d977b8f9a Bug 683777 - Back out bug 646641 on suspicion of causing crashes. rs=smaug 2011-10-12 20:15:28 -04:00
Justin Lebar
9f38c08bf6 Back out rev 571224f5f4e5 (bug 683777) due to Android b-c orange. 2011-10-17 21:09:17 -04:00