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

431 Коммитов

Автор SHA1 Сообщение Дата
Shawn Wilsher 470679196d Back out changeset 0b3af3fef0fd (bug 580790) due to burnage on a CLOSED TREE 2010-08-06 10:45:16 -07:00
Shawn Wilsher e8db178094 Bug 580790 - Connection::initialize can access preferences off of the main thread
This part fixes the storage service so that it caches the value from the
preference service, and obtains the value once on the main thread.
r=asuth
a=blocking2.0
2010-08-06 10:28:46 -07:00
Marco Bonardo e77e723322 Bug 547190 - AsInt64 (and other AsXXX cpp helpers) ignores GetInt64 failures. r=sdwilsh 2010-06-22 02:01:33 +02:00
Dan Witte 345ce33388 Bug 572223 - too much cookies.sqlite io. Part 3: sync read per domain. r=sdwilsh 2010-07-29 12:17:42 -07:00
Steve Fink fa2771061e Bug 580019: Fix functiontimer crash when opening db with NULL filename 2010-08-02 14:29:59 -07:00
Neil Rashbrook ffb08f71d7 Backout previous changes to try to fix bustage 2010-08-02 00:30:12 +01:00
Neil Rashbrook 4c936e3cd4 Bug 522770 followup to fix shared build bustage r=khuey 2010-08-02 00:00:56 +01:00
Dan Witte 53ffc75c3e Revert bug 572223 to fix creation of duplicate cookies. 2010-08-01 12:24:38 -07:00
Kyle Huey 682cc66d87 Bug 522770: Link directly to object files instead of intermediate static libs. Patch originally written by Ted Mielczarek. Checking into a CLOSED TREE as a bustage fix. reviews pending.
--HG--
extra : rebase_source : 54a506a5815dcdedaf3f61ad7d6bdd0529d7f5f7
2010-08-01 01:48:21 -07:00
Robert Sayre 7cb0f0f1ca Merge mozilla-central to tracemonkey. 2010-07-30 21:57:41 -07:00
Dan Witte 90e2ad6d02 Bug 572223 - too much cookies.sqlite io. Part 3: sync read per domain. r=sdwilsh 2010-07-29 12:17:42 -07:00
Robert Sayre 017624baad Merge mozilla-central to tracemonkey. 2010-07-27 13:09:04 -07:00
Shawn Wilsher 47c477cceb Bug 578939 - Storage service cannot be initialized off of the main thread.
r=asuth
a=blocking2.0
2010-07-24 11:21:17 -07:00
Luke Wagner ad475468cd Bug 549143 - fatvals 2010-07-14 23:19:36 -07:00
Robert Sayre 0fb4de7a31 Merge mozilla-central to tracemonkey. 2010-07-02 17:25:52 -07:00
Jeff Walden c7633785ed Remove a couple checks in test code that had asserted that Object.getOwnPropertyNames wasn't implemented. r=orange 2010-07-02 00:26:09 -07:00
Shawn Wilsher cc9afa869e Bug 575667 - split about:memory reporting into more detailed sections for SQLite
r=vlad
a=vlad
2010-07-22 10:08:59 -07:00
Benjamin Smedberg 74d08f4797 Final merge and landing of bug 568691 and dependent bugs to mozilla-central on a CLOSED TREE.
* bug 568691, register XPCOM components statically using manifests. r=mossop, with some test and build stuff r=vlad,sdwilsh
* bug 573557, rename categories with spaces to use hypens. r=jst
* bug 573739, Don't get the private browsing service during layout module initialization, r=ehsan

This initial merge does not include some work planned to land imminently:
* The extension manager still restarts. I need to solve a problem re-reading default preferences from extensions.
* MOZ_OMNIJAR is broken: there is a patch which I need to update in bug 568691.
* I will concurrently land a mobile-browser fix for component registration, but it may require some additional packaging changes.
2010-07-01 14:26:25 -04:00
Taras Glek fa49a26806 Bug 416330 - Suboptimal SQLite page size r=sdwilsh 2010-07-01 10:57:13 -07:00
Benjamin Smedberg f56445a420 Merge mozilla-central into the static-xpcom-registration branch. 2010-06-23 17:26:25 -04:00
Benjamin Smedberg cae1800556 Merge mozilla-central into the "branch" for but 568691. The omnijar XPT/component/chrome registration was removed during this merge, and will be re-added to the component manager shortly.
--HG--
rename : content/base/public/nsIChromeRegistry.idl => chrome/public/nsIChromeRegistry.idl
2010-06-21 11:41:42 -04:00
Shawn Wilsher e872ea2fe7 Bug 571599 - Use sqlite3_unlock_notify
sr=vlad
r=bent
r=asuth
2010-06-21 14:23:00 -07:00
Marco Bonardo 9eb56f5782 backout bug 547190 due to test failure 2010-06-22 03:49:47 +02:00
Marco Bonardo 8d8f56da0a Bug 547190 - AsInt64 (and other AsXXX cpp helpers) ignores GetInt64 failures. r=asuth 2010-06-22 02:01:33 +02:00
Benjamin Smedberg 5b338a8304 Bug 568691 part B - mechanical changes to in-tree binary modules needed to get them building and registering correctly. After this patch, xpcshell appears to work. 2010-06-10 14:11:40 -04:00
Phil Ringnalda aa911fa84d Remove test from backed out bug 416330 so the CLOSED TREE can actually pass tests 2010-06-28 18:19:39 -07:00
Shawn Wilsher 7603def2b3 Backout of bug 416330 so we can freeze for the beta on a CLOSED TREE. 2010-06-28 16:31:47 -07:00
Taras Glek bc309a5840 Bug 416330 - Suboptimal SQLite page size r=sdwilsh
--HG--
extra : rebase_source : 053c7b1d975304ed7d402bb619874c889c71425c
2010-06-28 12:13:26 -07:00
Shawn Wilsher fc3548d95e Bug 571581 - Propagate SQLITE_CONSTRAINT as an nsresult
r=asuth
sr=vlad
2010-06-16 09:59:24 -07:00
Dave Townsend bf3fe4c217 Bug 570529: mozIStorageStatement.execute() should reset itself even if an error occurs. r=sdwilsh 2010-06-07 15:06:56 -07:00
Saint Wesonga 0a1ce15262 Bug 492625 - "Stop using underscores to start #defines" [r=vlad]
--HG--
extra : rebase_source : d685fb8bc375ba4fcf97742298e9361ebfe9b851
2010-06-01 08:38:00 -04:00
Jeff Walden 1d0194191d Bug 518663 - ES5: Object.getOwnPropertyNames. r=jorendorff 2009-09-24 14:33:14 -07:00
Chris Jones b26c50e478 Backed out changeset c60e3e48ea38 2010-06-24 19:56:14 -05:00
Taras Glek c11186643d Bug 416330 - Suboptimal SQLite page size r=sdwilsh 2010-06-24 16:39:24 -07:00
Ehsan Akhgari ab51fe552d Bug 567254 - Crash in Connection::getFilename for memory-based databases; r=sdwilsh
--HG--
extra : rebase_source : 9fb1300af8c6b35a4e1aa229af032cd08a76e721
2010-05-20 20:21:09 -04:00
Ehsan Akhgari cb3b3e8e7b Bug 560647 - add startup timeline instrumentation; r=vlad 2010-05-19 19:22:19 -04:00
Vladimir Vukicevic 73eba77509 b=566442; add memory reporters for sqlite; r=sdwilsh 2010-05-19 13:46:08 -07:00
Shawn Wilsher b39ef94d5a Test for bug 562866. r=jorendorff r=asuth
--HG--
rename : storage/test/unit/test_js_helpers_enumerate.js => storage/test/unit/test_js_helpers.js
2010-05-11 14:14:54 -07:00
timeless@mozdev.org, Jason Orendorff 618d1ef4a1 Bug 562866 - StatementParams::NewResolve mishandles JSVAL_IS_STRING(aId). r=sdwilsh.
--HG--
extra : rebase_source : f9e1ea925fa38a26c806ba6dbddc52ef83646d55
2010-05-06 13:56:39 -05:00
Daniel Holbert 3acb68e149 Bug 560383, part 2: (storage directory) Use "!!" for converting int to bool, to avoid MSVC compile warning. r=sdwilsh 2010-05-06 11:53:12 -07:00
Marco Bonardo 8ace26f094 Bug 562787 - Fix getResultByName idl description to specify it needs an AS clause. r=asuth 2010-05-05 15:28:01 +02:00
timeless@mozdev.org e96f928b77 Bug 562855 - hook_sqlite_mutex in test_true_async.cpp should check the return value from sqlite3_initialize() and sqlite3_shutdown(), r=asuth
--HG--
extra : rebase_source : 648695de6bf0b68965cea43b27c7f9c089d8b945
2010-05-02 01:57:00 -07:00
Mitchell Field 3d1b2b634a Bug 560095 - Use mozilla::services::GetObserverService(). r=biesi,dveditz,gavin,josh,jst,mrbkap,roc,sdwilsh,shaver,sicking,smontagu,surkov 2010-04-29 18:59:13 +02:00
Marco Bonardo d1dd56eabb Bug 559678 - followup, make the warning less scarying. rs=sdwilsh 2010-04-22 14:53:56 +02:00
Marco Bonardo a17dba3778 Bug 559678 - Better errors for Storage transactions misuse. r=asuth 2010-04-16 14:31:18 +02:00
Andrew Sutherland cb578c3468 Bug 555124 - Intermittent "ASSERTION: AsyncStatementSpinner not thread-safe: '_mOwningThread.GetThread() == PR_GetCurrentThread()', file .../mozilla/storage/test/test_true_async.cpp, line 162". null out references on the main thread to avoid destruction on the async thread. r=sdwilsh. 2010-03-29 10:54:41 -07:00
Chris Jones 354f579ec3 Bug 550425: Bump up the timeout for expensive deadlock tests and print more info on failures. r=bsmedberg,sdwilsh 2010-03-24 19:12:32 -05:00
Andrew Sutherland f55443c1f8 Bug 507414 - Add a createAsyncStatement API on mozIStorageConnection. r=sdwilsh, sr=vlad.
--HG--
rename : storage/src/mozStorageStatementJSHelper.cpp => storage/src/mozStorageAsyncStatementJSHelper.cpp
rename : storage/src/mozStorageStatementJSHelper.h => storage/src/mozStorageAsyncStatementJSHelper.h
rename : storage/src/mozStorageStatementParams.cpp => storage/src/mozStorageAsyncStatementParams.cpp
rename : storage/src/mozStorageStatementParams.h => storage/src/mozStorageAsyncStatementParams.h
2010-03-24 00:32:40 -07:00
Shawn Wilsher af9c3b7876 Bug 536978 - Cookies should write to the database asynchronously.
This makes cookie insertion, updates, and deletions happen asynchronously off of
the main thread.  The only I/O done on the main thread is the initial loading of
the database at each startup.
r=dwitte
2010-03-12 07:18:38 -08:00
Shawn Wilsher e905b76465 Bug 552092 - Expose a length property on mozIStorageBindingParamsArray
Expose the length so that consumers don't have to track if they added anything
to the array themselves.
r=asuth
sr=rob_strong
2010-03-15 10:23:39 -07:00