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

315 Коммитов

Автор SHA1 Сообщение Дата
Justin Lebar 7e343a6c1d Bug 729940 - Part 3: Stop using crappy hash functions in Gecko. r=bz 2012-03-04 15:58:06 -05:00
Justin Lebar e2b30b7a56 Back out bug 729940 (a108aee:d75775d) due to 32-bit red. 2012-03-04 14:20:34 -05:00
Justin Lebar 9cf4ac042d Bug 729940 - Part 3: Stop using crappy hash functions in Gecko. r=bz 2012-03-04 13:49:42 -05:00
David Mandelin 3588ac5aae Bug 730511: remove obsolete typedefs intN, uintN, r=luke 2012-02-28 15:11:11 -08:00
Peter Van der Beken c3182a87f7 Fix for bug 731227 (Fix script object ownership in IDBWrapperCache/IDBCursor). r=bent.
--HG--
extra : rebase_source : 86074980306682ebe1c4df8e09c4c2f3c51c4bf2
2012-02-27 17:52:19 +01:00
Peter Van der Beken bb03ee6345 Fix for bug 731173 (SetVersionHelper should release mOpenRequest). r=bent.
--HG--
extra : rebase_source : c247f36421e2e3bdc8d7ebceca440da5653e4f29
2012-02-24 11:31:00 +01:00
David Mandelin ec012300ff Bug 725550: remove obsolete typedef jsdouble, r=jwalden 2012-02-24 14:19:52 -08:00
Marco Bonardo f35da5b2e3 Backout 4fc2f49371a8 (bug 725550) for build failures 2012-02-25 00:16:47 +01:00
David Mandelin 80fdf887df Bug 725550: remove obsolete typedef jsdouble, r=jwalden
--HG--
extra : rebase_source : 772c2982184d7b3d1680737323395365e6b218da
2012-02-24 14:19:52 -08:00
Ed Morley 3aea95e2d2 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-02-21 11:59:33 +00:00
Ms2ger c4ef40ee4b Bug 726961 - Remove unused variable database from IDBIndex::Create; r=khuey 2012-02-21 10:34:01 +01:00
Ben Turner 2ccfb92c38 Bug 728921 - 'IndexedDB: FileManager file enumeration should run within a transaction'. r=sicking. 2012-02-20 10:35:45 -08:00
Kyle Huey f20ce02de5 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
Edmund Wong e79d1c340c Bug 693172 - Moved all subclasses of nsDOMEventTargetWrapperCache to nsDOMEventTargetHelper and then merged the classes. r=smaug 2012-02-08 10:53:33 +08:00
Gabor Krizsanits 305dfb13c3 Bug 717190 - IndexedDB test fix: Follow-up of accessing IndexedDB API from chrome; r=sicking 2012-02-06 18:25:30 +00:00
Panagiotis Koutsourakis 9c7dfb9706 Bug 702388 - Convert Makefiles to use |TEST_DIRS += foo| r=khuey
Files named Makefile.in containing the expression

DIRS += <foo>
or
DIRS = <foo>

inside the conditional expression

ifdef ENABLE_TESTS
...
endif

are changed to

TEST_DIRS += tests

outside any conditional expression.

The files

./layout/Makefile.in
./layout/Makefile.in
./layout/style/Makefile.in
./rdf/Makefile.in
./security/manager/Makefile.in
./content/Makefile.in
./content/smil/Makefile.in
./content/xul/templates/Makefile.in
./content/xul/content/Makefile.in
./content/base/Makefile.in
./content/media/Makefile.in
./parser/htmlparser/Makefile.in
./dom/sms/Makefile.in
./js/jsd/Makefile.in
./js/xpconnect/Makefile.in
./widget/Makefile.in
./widget/windows/Makefile.in
./Makefile.in
./startupcache/Makefile.in
./storage/Makefile.in
./gfx/Makefile.in
./intl/strres/Makefile.in
./intl/uconv/Makefile.in
./intl/unicharutil/Makefile.in
./intl/lwbrk/Makefile.in
./embedding/Makefile.in
./modules/libjar/Makefile.in
./modules/libpref/Makefile.in
./build/Makefile.in
./build/win32/Makefile.in
./xpcom/Makefile.in
./extensions/spellcheck/hunspell/Makefile.in
./extensions/cookie/Makefile.in
./netwerk/Makefile.in
./netwerk/streamconv/Makefile.in
./editor/txmgr/Makefile.in
./toolkit/mozapps/shared/Makefile.in
./toolkit/mozapps/update/Makefile.in
./toolkit/library/Makefile.in
./toolkit/library/Makefile.in
./toolkit/crashreporter/Makefile.in
./toolkit/components/perf/Makefile.in
./toolkit/components/perf/Makefile.in
./toolkit/components/feeds/Makefile.in
./toolkit/components/url-classifier/Makefile.in

contain the string

ifdef ENABLE_TESTS

but have some other statement inside (e.g. TOOL_DIRS += <foo> etc) and
they remain unchanged by this patch.
2012-02-04 17:32:24 +00:00
Igor Bukanov 17db9a067b bug 723517 - Drop cx argumrent from JS_GetClass(cx, obj). r=luke 2012-02-04 01:54:57 +01:00
Landry Breuil 6b5e00f1a7 Bug 722046: Fix build failure on OpenBSD/Gcc 4.2.1 due to extra semicolon. r=Ms2ger 2012-01-28 12:03:35 -08:00
Daniel Holbert 5aea9b7743 Bug 720815: Remove extra semicolons after NS_DECL_EVENT_HANDLER() statements. r=bent 2012-01-24 14:01:57 -08: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
Ms2ger d69f8b329c Bug 677079 - Part f: Expose structuredCloneCallbacks in jsfriendapi.h; r=jorendorff 2012-01-15 09:13:08 +01:00
Ms2ger dc4d4e78ee Bug 677079 - Part e: Move js_GetSCOffset to jsfriendapi.h; r=luke 2012-01-15 09:13:08 +01:00
Ms2ger 61fac06b4d Bug 677079 - Part c: Stop installing jsdate.h; r=Waldo 2012-01-15 09:13:07 +01:00
Ms2ger d2be610370 Bug 715206 - Remove XPConnect from IDB's LOCAL_INCLUDES (again); r=bholley 2012-01-11 09:23:07 +01:00
Rafael Ávila de Espíndola 8cf829b9d9 Bug 715325 - shutdown indexedDB during xpcom-shutdown. r=benjamin. 2012-01-06 12:07:29 -05:00
Jan Varga bc370ce9d8 Bug 715074 - SIGBUS on unaligned access in Key::EncodeNumber. r=sicking 2012-01-06 10:56:52 +01: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
Kyle Huey 0d46ef973d Bug 715014: Delete IndexedDB files directory so that databases can be opened again after being deleted. r=bent 2012-01-04 11:25:26 -05:00
Gabor Krizsanits 91b6eefb6b Bug 587797 - Tests. r=khuey 2012-01-04 10:43:33 -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 766a34f6ff Bug 713645 - Remove superfluous inclusions of jscntxt.h; r=luke 2012-01-02 19:05:19 +01:00
Phil Ringnalda 34718b45e3 Bug 595368 - Disable test_writer_starvation.html until it learns not to hit infinite loops, r=khuey 2011-12-27 19:38:39 -08:00
Olli Pettay 794647f539 Bug 710380 - IndexedDB could use the dictionary reader, r=khuey 2011-12-27 20:01:28 +02:00
Ms2ger e927de0840 Bug 711240 - Part b: Expose xpc_qsStringToJsval publicly; r=bholley 2011-12-24 09:27:04 +01: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 882414b8f2 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 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
Ms2ger 3eea973958 No bug - Remove stray semicolons from FILEINFO_SUBCLASS calls, the macro already includes it; rs=jfkthame 2011-12-18 11:14:46 +01:00
Ms2ger f36fb98141 Bug 709977 - Don't use xpc_qsAString in IDB Key.h; r=bent 2011-12-18 11:13:40 +01:00
Nathan Froyd 749ca58a65 Bug 709205 - use GetObserverService in dom,docshell; r=bz 2011-12-09 14:35:37 -05: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
Jeff Walden cc3da2cd2c Bug 708735 - Update IDBObjectStore to use the <stdint.h> types for its JSAPI interactions. r=bustage in a CLOSED TREE :-\ 2011-12-16 09:42:09 -05:00
Jan Varga 78980f36af Bug 661877 - Enable storing files in IndexedDB. r=bent 2011-12-16 08:34:24 +01:00
Jonas Sicking 4b2598e457 Tests for Bug 706088. r=khuey. Also removes a now-obsolete test. r=bent. a=khuey 2011-12-13 11:46:19 -08:00
Ed Morley 531f0b5462 Backout e479e03eaa71 (bug 706088) for mochitest-2 permaorange 2011-12-08 13:46:16 +00:00
Jonas Sicking bfb3d969f3 Bug 706088 part 2: Add tests for all combinations of add/put/keypath/autoincrement/explicit keys etc. r=khuey 2011-12-08 03:03:51 -08:00
Mounir Lamouri 8829baa8cc Bug 707870 - Disconnect mListenerManager in nsDOMEventTargetHelper instead of expecting inheriting classes to do it. r=smaug 2011-12-08 16:31:14 +08:00
Ben Turner bddb2824ad Bug 703660 - IndexedDB: Compress structured clone data with Snappy. r=sicking+khuey. 2011-12-07 15:24:20 -08:00
Phil Ringnalda ca22b9cadc Back out 8941e2b7a0bf (bug 703660) for Windows PGO build failures 2011-12-07 08:41:02 -08:00
Ben Turner 4850cef1dd 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
Kyle Huey e6b29675f2 Bug 706088 Make .put allow no key being provided if it's an autoIncrement object store. r=bent 2011-12-06 02:45:46 -08:00
Jonas Sicking 5ed415d612 Bug 706068: Make complex keys work on auto-increment object stores. Patch by khuey and sicking. r=sicking on parts by khuey and r=bent on parts by sicking. 2011-12-04 09:39:02 -08:00
Jonas Sicking 4d2f4d4ad2 Bug 706762: Ensure that object stores and indexes are removed from caches when they are deleted. r=bent 2011-12-04 09:39:01 -08:00
Jonas Sicking 9a4a46521c Bug 692630: Support multi-entry indexes. r=bent 2011-12-04 09:39:01 -08:00
Jonas Sicking f8d6fe9362 Bug 706659 part 2: Support empty keypaths on objectStores. r=bent 2011-12-04 09:39:01 -08:00
Jonas Sicking 1722d8497f Bug 706659 part 1: Make complex keypaths ignore index rather than throwing in all situations if it can't get key for index. r=bent 2011-12-04 09:39:01 -08:00
Kyle Huey 5c29212946 Bug 704464: Part 2 - Make Database creation hook into the quota system. r=bent 2011-12-03 12:18:38 -05: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
Jonas Sicking 0c4f021c94 Back out patches due to test failures. rev 1b9ca56d4aab and a few more. 2011-12-02 19:46:25 -08:00
Jonas Sicking 23850d13e4 Bug 706068: Make complex keys work on auto-increment object stores. Patch by khuey and sicking. r=sicking on parts by khuey and r=bent on parts by sicking. 2011-12-02 18:32:46 -08:00
Jonas Sicking a962083027 Bug 706762: Ensure that object stores and indexes are removed from caches when they are deleted. r=bent 2011-12-02 18:32:46 -08:00
Jonas Sicking 1a70eb48f4 Bug 692630: Support multi-entry indexes. r=bent 2011-12-02 18:32:46 -08:00
Jonas Sicking 2039746e15 Bug 706659 part 2: Support empty keypaths on objectStores. r=bent 2011-12-02 18:32:46 -08:00
Jonas Sicking 1e7ba51d6d Bug 706659 part 1: Make complex keypaths ignore index rather than throwing in all situations if it can't get key for index. r=bent 2011-12-02 18:32:46 -08:00
Kyle Huey 5f4555d0e4 Bug 706090: Make sure OpenDatabaseHelper releases atoms on the right thread. r=bent 2011-11-29 13:24:28 -05:00
Kyle Huey c03fa0a540 Bug 692635: Transaction abort events should bubble. r=sicking 2011-11-23 09:15:15 -05:00
Kyle Huey 1d1f1cf7eb Bug 702809: Allow creating indexes with empty keyPaths. r=sicking 2011-11-23 09:15:15 -05:00
Ed Morley 4a9415481d Backout 7634808d94af (bug 703660) for Linux64 PGO build failures; a=khuey 2011-11-22 11:54:50 +00:00
Ben Turner e5e9301fef 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 9620d104ce 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
Ben Turner 7cf0b507f9 Bug 692652 - IndexedDB: Index updating is broken. r=sicking.
--HG--
extra : transplant_source : %92%5BBT%93%BA%3DO%D7%03v%B7%88%01%3AjZ%D0%81%AA
2011-11-21 20:18:19 -08:00
Kyle Huey 71bcade4d6 Bug 692627: Support complex keyPaths in IndexedDB. r=bent,jorendorff 2011-11-21 09:56:24 -05: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
Marco Bonardo 6225eff2b8 Merge mozilla-central to mozilla-inbound 2011-11-08 23:58:10 +01:00
Kyle Huey 6effc2655d Bug 700685: DeleteDatabaseHelper releases objects on the wrong thread. r=bent 2011-11-08 12:51:37 -05:00
Jonas Sicking 48197e4006 Bug 692659: Fix sort order for PREV cursors on indexes. r=bent 2011-11-07 23:34:59 -08:00
Jonas Sicking a8f25dc24a Bug 692674: Set the errorCode to "ABORT_ERR" for all pending requests when a transaction is aborted, even ones that failed for other reasons. r=bent 2011-11-07 22:27:03 -08:00
Jonas Sicking 4567555571 Bug 694135: Don't throw if there are unknown properties in the options objects to createObjectStore/createIndex. r=bent 2011-11-07 22:25:51 -08:00
Ben Turner 73e8273a53 Bug 696914 - 'IndexedDB: IDBObjectStore.delete and IDBCursor.delete should return undefined'. r=sicking. 2011-11-07 18:08:02 -08:00
Kyle Huey 6bf243becc Bug 625071: Implement deleteDatabase. r=bent 2011-11-07 19:15:45 -05:00
Kyle Huey dbf41560bd Bug 699468: Part 6 - Make some DatabaseInfo stuff private. r=bent 2011-11-07 19:15:45 -05:00
Kyle Huey 9592f59533 Bug 699468: Part 5 - Clone the canonical DatabaseInfo when a Database is closed. r=bent 2011-11-07 19:15:45 -05:00
Kyle Huey 0094d832a1 Bug 699468: Part 4 - Always go through the DatabaseInfo to get the ObjectStoreInfo. r=bent 2011-11-07 19:15:43 -05:00
Kyle Huey f3dbd37149 Bug 699468: Part 3 - Always go through the Database to get the DatabaseInfo. r=bent 2011-11-07 19:06:13 -05:00
Kyle Huey 7d1be4b693 Bug 699468: Part 2 - Give DatabaseInfo an AddRef/Release instead of twiddling a refcount manually. r=bent 2011-11-07 19:06:13 -05:00
Kyle Huey a8a7ce1d32 Bug 699468: Part 1 - Move ObjectStoreInfoHash onto DatabaseInfo. r=bent 2011-11-07 18:20:20 -05:00
Ben Turner 7787ca113d Bug 692628 - 'IndexedDB: Support IDBCursor.advance'. r=sicking. 2011-11-07 15:37:19 -08:00
Ben Turner 8370e356ef Bug 692632 - 'IndexedDB: support empty objectstore/index names'. r=sicking. 2011-11-07 15:37:16 -08:00
Ed Morley 7ea8e12caa Backout 4997c6f8b24d (bug 616542) for causing locally run mochitest-browser-chrome test runs to fail 2011-11-05 18:35:59 +00:00
Rail Aliiev ac65d0d88e Bug 616542 - Shorten file path length of mochitest; r=ted 2011-11-04 21:13:42 +00:00
Olli Pettay 4820dd889d Bug 698929 - Implement event.stopImmediatePropagation, r=jst
--HG--
extra : rebase_source : 76d19175a58a4ac8113b144a19f9d7679ad54dd0
2011-11-04 19:17:19 +02:00
Ben Turner b25b840f75 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 0d30d07821 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 fd735636db 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