Граф коммитов

189 Коммитов

Автор SHA1 Сообщение Дата
David Zbarsky 899ae8e46f Bug 857884 - Use dom::EventTarget more in content/ and dom/ Part 4 r=Ms2ger 2013-04-11 12:24:47 -04: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
Nathan Froyd 7e84b93246 Bug 836943: Part 0 - Make sure IndexedDB attempts to initialize the storage service on the main thread. r=bent 2013-03-04 14:33:03 -08:00
David Keeler 334c2170bb bug 839193 - don't exit early in AsyncUsageRunnable::RunInternal r=khuey 2013-02-07 11:54:58 -08:00
Mats Palmgren b7ae90666d 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 7fc5c78ab9 Bug 820715 - Move quota related pieces from IndexedDatabaseManager to QuotaManager. r=bent
--HG--
rename : dom/indexedDB/CheckQuotaHelper.cpp => dom/quota/CheckQuotaHelper.cpp
rename : dom/indexedDB/CheckQuotaHelper.h => dom/quota/CheckQuotaHelper.h
2012-12-19 18:45:57 +01:00
Jan Varga 6554fc16b9 Bug 787804 - Rewrite quota handling (eliminate test_quota.c). r=bent,asuth,vladan 2012-12-17 20:25:10 +01:00
Justin Lebar a139c9d0b8 Bug 802366 - Use TabContext to make IDB handling more correct in TabParent. r=bent 2012-11-10 10:32:37 -08:00
Ben Turner 27072c3f92 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
Ryan VanderMeulen 3eff16d324 Backed out 12 changesets (bug 806127, bug 802366, bug 806168) for Windows build bustage.
--HG--
rename : dom/indexedDB/test/webapp_clearBrowserData.js => dom/indexedDB/test/test_webapp_clearBrowserData.html
2012-11-09 20:14:40 -05:00
Justin Lebar 3b888eceb7 Bug 802366 - Use TabContext to make IDB handling more correct in TabParent. r=bent 2012-11-09 16:37:40 -08:00
Ben Turner 5e8d8d57f2 Bug 786295 - 'Delete IndexedDB related to an app when uninstalled'. r=bz+khuey+sicking. 2012-10-23 09:31:19 -07:00
Isaac Aggrey b95ab79e45 Bug 795351: Replace LL_MAXINT, LL_MININT, LL_MAXUINT with stdint versions; r=ehsan 2012-09-28 14:55:23 -05:00
Kyle Huey 31c62753b9 Bug 774250: Use GetPath instead of GetNativePath so that IndexedDB works for people with non-ASCII usernames. r=bent 2012-09-19 14:02:08 -07:00
Ehsan Akhgari 4f4c28f744 Backout changeset c1cd7da16cd6 (bug 774250) for Linux Moth orange
--HG--
extra : rebase_source : 00e260bc4a75c6780c7863121cfc170f960ae010
2012-09-19 20:25:56 -04:00
Kyle Huey d6238384e3 Bug 774250: Use GetPath instead of GetNativePath so that IndexedDB works for people with non-ASCII usernames. r=bent
--HG--
extra : rebase_source : 644ec1830e0725e37ee4cceefd113b61b64158a3
2012-09-19 14:02:08 -07:00
Daniel Holbert 1dc8cb22b6 Bug 789382: Change nsIScriptError methods init() and initWithWindowID() to take nsAString, rather than wchar / PRUnichar*. r=bz sr=bsmedberg 2012-09-09 16:29:12 -07:00
Ben Turner 7a7df6c675 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 ff3a89b7f3 Bug 756645 - Implement IndexedDB apps isolation. r=bent 2012-08-28 09:46:46 -03:00
Jan Varga 4d3965f026 Bug 763854 - Check file references (cleanup stored files) only when needed. r=bent 2012-08-24 11:51:33 -07:00
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
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
Aryeh Gregor a88ffe5c80 Bug 626472 part 3 - Remove nsnull for good; r=ehsan 2012-08-12 13:43:47 +03: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
Jan Varga 40042587bb 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 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
Aryeh Gregor 65eef91085 Bug 626472 part 1 - Define nsnull as nullptr where available; r=ehsan 2012-07-20 14:16:17 +03:00
Kyle Huey ada443da57 Bug 726378: Unprefix IndexedDB. r=sicking 2012-06-29 09:48:35 -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
Kyle Huey 8d342e5aca Merge m-c to b-s. 2012-06-22 14:27:07 -07:00
Kyle Huey 73b4c531b6 Bug 767493: Make AsyncUsageRunnable participate in the WaitForOpenAllowed synchronization mechanism. r=bent 2012-06-22 11:47:05 -07:00
Ben Turner a1fcfc3b9b Bug 765839 - 'Enable IndexedDB OOP test suite'. r=khuey.
--HG--
extra : transplant_source : %3Bb4%A4%99fC%9Cg%86%9B%1F3%C6%0F%01T%1C%3C%AE
2012-06-19 18:50:39 -07:00
Gregor Wagner c7221b4636 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 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
Ben Turner 160db69b19 Bug 664029 - 'Make indexeddb mochitests run in fennec'. r=khuey. 2012-06-11 14:59:27 -07:00
Kyle Huey ccce1bbca3 Bug 755767: Shut down IndexedDB at profile-before-change. r=bent 2012-06-07 10:44:17 -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
Jan Varga 513c660911 Bug 726593 - Implement FileHandle. r=bent 2012-06-03 18:33:52 +02: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
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
Ben Turner e8e0f22c6e Bug 747581. r=khuey. 2012-04-30 16:52:27 -07: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
Rafael Ávila de Espíndola 8cf829b9d9 Bug 715325 - shutdown indexedDB during xpcom-shutdown. r=benjamin. 2012-01-06 12:07:29 -05: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
Ms2ger 05eb777e16 Bug 711240 - Part a: Expose BAD_TLS_INDEX in xpcpublic.h; r=bholley 2011-12-24 09:26:34 +01:00
Olli Pettay 1e8af4413d Bug 711841, Null(C)String(), r=bsmedberg,glandium 2011-12-20 21:46:00 +02:00
Jan Varga 731558a2e2 Bug 711727 - Followup cleanup for files in IndexedDB. r=sicking/bent 2011-12-20 12:23:27 +01: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
Jan Varga 78980f36af Bug 661877 - Enable storing files in IndexedDB. r=bent 2011-12-16 08:34:24 +01: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
Kyle Huey 3140fc9fd4 Bug 697247: Part 2 - Rework IDB synchronization mechanisms. 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
Justin Lebar b79dd11cfa 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 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
Justin Lebar 84c0c28718 Bug 683777 - Back out bug 646641 on suspicion of causing crashes. rs=smaug 2011-10-12 20:15:28 -04:00
Justin Lebar 8a9b2241c2 Back out rev 571224f5f4e5 (bug 683777) due to Android b-c orange. 2011-10-17 21:09:17 -04:00
Justin Lebar 6ac6233eb1 Bug 683777 - Back out bug 646641 on suspicion of causing crashes. rs=smaug 2011-10-12 20:15:28 -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
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
Ben Turner 08fad93399 Bug 681930, r=sicking. 2011-08-26 01:21:35 -07:00
Justin Lebar 6a78d85a21 Bug 646641 - Part 1: Create nsSHEntryShared, so SHEntries from the same document can share state. r=smaug
--HG--
extra : rebase_source : 67c37d16f9ac4cbd69f7a76ee94e47c8adf59ae3
2011-08-06 11:44:02 -04:00
Justin Lebar a741dc1e02 Backing out cfea4859f458, 883e581e0849 due to permaorange on moth opt. 2011-08-02 13:23:11 -04:00
Justin Lebar 03a349bb3e Bug 646641 - Part 1: SHEntries for the same document should share bfcache state. r=smaug 2011-05-09 17:59:49 -04:00
Justin Lebar d5dcbf68a6 Bug 592557 - Eliminate uses of PR_Atomic{Increment,Decrement} functions in favor of PR_ATOMIC_{INCREMENT,DECREMENT} macros. r=bsmedberg,gal
--HG--
extra : rebase_source : 71069eb9c9d61131adee49279e136c8574dabc62
2011-03-28 15:58:49 -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
Ehsan Akhgari ef16112f6e Bug 594478 - IndexedDB needs to be hooked up with "Forget about this site"; r=jonas,bent a=blocking-final+ 2011-01-10 19:09:56 -05:00
Ben Turner 9b0dc88cb6 Bug 622042 - 'IndexedDB: Rework events and requests'. r=sicking, a=sicking. 2011-01-06 22:21:36 -08:00
Jonas Sicking 5ec63c5bb2 Bug 605019: Evict entries in the bfcache if they are holding open a database which is being upgraded. r=bent/smaug a=blocker 2010-11-23 13:24:57 -08:00
Margaret Leibovic 4d60f6bfd2 backout d25bfdc458cf a=bustage 2010-11-23 21:16:23 -08:00
Jonas Sicking c88ced1105 Bug 605019: Evict entries in the bfcache if they are holding open a database which is being upgraded. r=bent/smaug a=blocker 2010-11-23 13:24:57 -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