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

514 Коммитов

Автор SHA1 Сообщение Дата
Nicholas Nethercote 0a169dc25a Bug 662989 - Avoid crashing if a DB connection isn't asyncClose()d when it should be. r=mak. 2011-08-04 16:15:03 -07:00
Marco Bonardo 746b24fbc3 Backout changeset 4c509d9b5b59 (Bug 666611) due to failure on Windows. 2011-08-04 14:26:59 +02:00
Jezreel Ng 7fab15e82f Bug 666611 - Do not set chunksize if less than 100MiB of storage is available. r=mak 2011-08-04 09:04:52 +02:00
Taras Glek 2ed09ef2eb Bug 675737: Calculate time taken for by write/open/sync per db + main/other thread r=mak 2011-08-03 17:05:29 -07:00
Taras Glek 6c0ccfa697 Bug 673727: Report sqlite waiting on/off main thread via telemetry r=mak 2011-07-26 15:06:34 -07:00
Taras Glek f2972192d0 Bug 668378: Telemetry sqlite IO r=asuth 2011-07-21 11:12:31 -07:00
Steve Fink fd17d563dc Bug 668906 - Do not call openUnsharedDatabase with a null file (r=sdwilsh)
--HG--
extra : rebase_source : fbd0febc77e9972d10409ce09c73759f7d156ad1
2011-07-01 15:53:41 -07:00
Nicholas Nethercote 14e0e78adc Bug 653627 - Don't use char** in nsIMemoryReporter. r=khuey, sr=bz. 2011-07-08 12:45:16 +10:00
Justin Lebar 5daed65b45 Bug 664486 - Add page fault counts to about:memory on Linux and Mac. r=njn, sr=bz
--HG--
extra : rebase_source : 47dd7501dea7ae69e01828a5c730e8853739dc71
2011-06-16 14:34:09 -04:00
Ed Morley c3ea1c9430 Bug 665549 - Fix unused variable warning for 'shutdownObserved' in mozStorageService.cpp; r=sdwilsh 2011-06-23 19:01:17 -07:00
Jeff Walden c4d955c11a Bug 662946 - Remove various headers from INSTALLED_HEADERS that shouldn't be there. r=jimb
--HG--
extra : rebase_source : a6028a859cac4625ef2f3227ce0fa3159b5e8556
2011-06-09 01:12:21 -07:00
Ed Morley 8aaddd0334 Bug 659621 - Remove EXTRA_DSO_LIBS, EXTRA_DSO_LDOPTS, OS_LIBS from makefiles containing LIBXUL_LIBRARY = 1, now that libxul is always built; r=ted 2011-06-12 03:49:00 -04:00
Nicholas Nethercote df04be1f66 Bug 656773 - Separate the process and the path in nsIMemoryReporter so that about:memory works in private browsing mode. r=sdwilsh, sr=roc. 2011-06-06 11:22:45 +10:00
Masayuki Nakano 91458ef911 Bug 660743 storage should use mozilla::Preferences r=roc+sdwilsh 2011-06-02 10:05:12 +09:00
Marco Bonardo d8bcef1b6b Merge places and mozilla-central. a=developers 2011-05-24 04:51:59 +02:00
Marco Bonardo 50b71d031b Bug 658135 - Use sqlite3_stmt_readonly to check if multiple async statements need a transaction.
r=sdwilsh
2011-05-24 00:15:01 +02:00
Nicholas Nethercote 9d540ee86f Bug 649867 - Remove the heap-used/storage/lookaside-used memory reporter. r=sdwilsh. 2011-05-22 19:50:14 -07:00
Nicholas Nethercote e942f8f50a Bug 657327 - about:memory: merge the "mapped" and "heap used" trees, and make the resulting tree flatter. r=sdwilsh,Jesse, sr=roc. 2011-05-22 19:49:56 -07:00
Joel Maher 193c66083d Bug 616999. Xpcshell manifest support; manifest files. r=ted, a=test-only 2011-05-20 11:54:01 -04:00
Brad Lassey 7c10022e3a bug 650509 - Other apps can read Firefox profile files, test for sqlite permissions changes r=sdwilsh 2011-05-13 14:22:34 -04:00
Nicholas Nethercote 95582933ae Bug 653630 - Change SQLite memory reporters to avoid double-counting some memory usage. r=sdwilsh. 2011-05-11 16:09:50 -07:00
Marco Bonardo 648e8e3edc Merge Places and mozilla-central 2011-05-11 11:08:58 +02:00
Ed Morley e2f0e48046 Bug 654732 - Remove WinCE code from storage/* & db/sqlite3/src/Makefile.in; r=sdwilsh 2011-05-10 20:24:49 +02:00
Marco Bonardo de73122075 Merge Places and mozilla-central 2011-05-10 14:34:01 +02:00
Marco Bonardo 75d8dc08ae Bug 493783 - Fix some Places warnings.
r=sdwilsh
2011-05-10 03:10:25 +02:00
Allison Naaktgeboren 28b4ebc6fb Bug 472530 - when statement creation fails, dump lastErrorText to stdout in debug builds r=sdwilsh
--HG--
extra : rebase_source : ab3a18131377d37715e5ec5474f94966f78f714f
2011-04-29 14:35:22 -07:00
Chris Jones 31aa2c4e77 Bug 556214, parts 1 and 1.1: Rename Monitor to ReentrantMonitor and fix existing Monitor users. r=roc
--HG--
rename : xpcom/glue/Monitor.h => xpcom/glue/ReentrantMonitor.h
2011-04-29 14:21:57 -05:00
Marco Bonardo 4539674a30 Bug 638123 (followup) - Remove extraneous semicolon to make Linux happy. 2011-04-28 21:47:10 +02:00
Marco Bonardo 4feada3643 Bug 638123 - Test for bug 637957.
r=sdwilsh
2011-04-28 19:55:09 +02:00
Philipp von Weitershausen 1d43d57f19 Bug 648367 - Add run_next_test to head.js. r=ted 2011-04-18 13:31:20 -07:00
Nicholas Nethercote 020b76968f Bug 633653 - revamp about:memory. r=vlad,sdwilsh,dvander,gavin,ehsan,edwsmith; sr=benjamin. 2011-05-03 17:12:58 -07:00
Allison Naaktgeboren cf570e5026 Bug 629489 - Update mozStorage.h on how to add more errors
r=sdwilsh
2011-04-11 13:56:06 -07:00
Chris Jones ext:(%20and%20Kyle%20Huey%20%3Ckhuey%40kylehuey.com%3E) 2c92e3ecd5 Rollup of bug 645263 and bug 646259: Switch to mozilla:: sync primitives. r=cjones,dbaron,doublec,ehsan src=bsmedberg
Bug 645263, part 0: Count sync primitive ctor/dtors. r=dbaron
Bug 645263, part 1: Migrate content/media to mozilla:: sync primitives. r=doublec
Bug 645263, part 2: Migrate modules/plugin to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 3: Migrate nsComponentManagerImpl to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 4: Migrate everything else to mozilla:: sync primitives. r=dbaron
Bug 645263, part 5: Remove nsAutoLock.*. sr=bsmedberg
Bug 645263, part 6: Make editor test be nicer to deadlock detector. r=ehsan
Bug 645263, part 7: Disable tracemalloc backtraces for xpcshell tests. r=dbaron
Bug 646259: Fix nsCacheService to use a CondVar for notifying. r=cjones
2011-03-31 23:29:02 -05:00
Chris Jones 699024f868 Backed out changeset 4beec31b9ea9 for increasing frequency of intermittent orange bug 618052 2011-03-31 18:57:38 -05:00
Chris Jones ext:(%20and%20Kyle%20Huey%20%3Ckhuey%40kylehuey.com%3E) 0ce53bb598 Rollup of bug 645263 and bug 646259: Switch to mozilla:: sync primitives. r=cjones,dbaron,doublec,ehsan src=bsmedberg
Bug 645263, part 0: Count sync primitive ctor/dtors. r=dbaron
Bug 645263, part 1: Migrate content/media to mozilla:: sync primitives. r=doublec
Bug 645263, part 2: Migrate modules/plugin to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 3: Migrate nsComponentManagerImpl to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 4: Migrate everything else to mozilla:: sync primitives. r=dbaron
Bug 645263, part 5: Remove nsAutoLock.*. sr=bsmedberg
Bug 645263, part 6: Make editor test be nicer to deadlock detector. r=ehsan
Bug 645263, part 7: Disable tracemalloc backtraces for xpcshell tests. r=dbaron
Bug 646259: Fix nsCacheService to use a CondVar for notifying. r=cjones
2011-03-31 14:51:19 -05:00
Shawn Wilsher c6cb5388b6 Bug 645049 - Update tests to no longer use a deprecated API
r=Mossop
2011-03-31 10:19:32 -07:00
Doug Turner ext:(%2C%20Shawn%20Wilsher%20%3Cme%40shawnwilsher.com%3E) e32a08f431 Bug 615978 - Add SQLITE_DBSTATUS_* memory usage to memory reporter
Adds some finer-grained memory reporting about SQLite usage.
r=asuth
2011-03-31 10:19:30 -07:00
Chris Leary 02fde279ea Merge mozilla-central and tracemonkey. 2011-03-29 14:52:44 -07:00
Chris Leary 7f1a11eb97 Merge mozilla-central to tracemonkey. 2011-03-29 09:05:25 -07: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
Mitchell Field 959b2c2a90 Merge mozilla-central to build-system. 2011-03-03 20:13:35 +11:00
Mitchell Field 6faf9acaef Merge mozilla-central to build-system. 2011-03-02 20:38:54 +11:00
Marco Bonardo b86e6eedff Bug 637957 - Followup, add proper QI. rs=mossop a=blocker-orange-fix 2011-03-02 21:25:11 +01:00
Marco Bonardo 07d4bc3689 Bug 637957 - Make results notifier hold a strong reference to mCallback, to prevent it being destroyed prematurely.
r=sdwilsh a=blocker
2011-03-02 19:55:08 +01:00
Mike Hommey 3bcebafe9c Bug 584474 part 6 - Remove duplicate libxpcomglue_s in link flags. r=ted 2011-02-25 15:02:04 +01:00
Shawn Wilsher be9f611466 Bug 635482 - Crash [@ mozalloc_abort(char const* const) | NS_DebugBreak_P | AbortIfOffMainThreadIfCheckFast ] (was: [@ mozalloc_abort(char const* const) | NS_DebugBreak_P]) from nsCycleCollectingAutoRefCnt::decr with mozilla::storage::BindingParams::Release
Be very explicit about what thread we release objects on.
r=asuth
a=blocking
2011-02-28 11:52:31 -08:00
Phil Ringnalda e8071c46dc Back out f9e075d85552 (Bug 635482) to investigate Mac tp4 regression, a=backout 2011-02-27 10:27:44 -08:00
Shawn Wilsher f7d2478779 Bug 635482 - Crash [@ mozalloc_abort(char const* const) | NS_DebugBreak_P | AbortIfOffMainThreadIfCheckFast ] (was: [@ mozalloc_abort(char const* const) | NS_DebugBreak_P]) from nsCycleCollectingAutoRefCnt::decr with mozilla::storage::BindingParams::Release
Be very explicit about what thread we release objects on.
r=asuth
a=blocking
2011-02-25 16:12:00 -08:00
Marco Bonardo 296464cbe5 Bug 628921 - Changing from WAL to a rollback journal to change page_size may cause a infinite loop @AsyncExecuteStatements::executeStatement.
r=sdwilsh a=blocking
2011-02-16 13:51:26 +01:00
timeless@mozdev.org 70cbd61457 Bug 589488 mark DEBUG only variables as ifdef DEBUG in storage; r,a=sdwilsh
--HG--
extra : rebase_source : 330993f8af2139cd6c6fde60be85688472def56b
2011-02-08 14:16:38 -05:00
Shawn Wilsher c5d856d3a0 Bug 580790 - Connection::initialize can access preferences off of the main thread
This 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
sr=shaver
a=blocking2.0
2010-08-06 10:28:46 -07:00
Serge Gautherie 5fe584f0a6 Bug 619350 - Better identify the 2 'Deadlock detector correctness' tests; (Av1) Remove unwanted ";" at end of macros, Make test names and (failed) result logs more explicit, Add a log when skipping TestDeadlockDetectorScalability tests.
r=jones.chris.g a=(test only).
2011-02-03 10:57:00 +01:00
Ryan VanderMeulen 653a54e069 Bug 586130 - Warning C4099 fixes (storage). r=sdwilsh a=bsmedberg 2011-01-20 19:49:09 -08:00
Andrew Sutherland f495742d55 Bug 624051 - AsyncStatement destructor should finalize statements on the asynchronous thread when available to avoid blocking the main thread. r=sdwilsh, a=blocking2.0 2011-01-19 18:16:42 -08:00
Uli Link a57d8184d7 Bug 617272 - AIX compilation error for Firefox-3.6.12 source storage/src/variantToSQLiteT_impl.h", line 56.12: 1540-0274 (S) The name lookup for "sqlit e3_T_null" did not find a declaration; r,a=sdwilsh 2011-01-17 12:25:17 -05:00
Chris Jones 227698aa53 Bug 594263: Bump up timeout to try to make orange go away. r=sdwilsh a=t 2011-01-13 18:07:43 -06:00
Jonas Sicking 182872882a Bug 610823: Change a few users that use nsTArrays as buffers to explicitly use fallible tarray. r=jdaggett a=blocker 2011-01-06 20:45:10 -08:00
Chris Leary b83b3feb7f Merge mozilla-central to tracemonkey. 2010-12-29 19:25:04 -05:00
Ms2ger 9f6720d00d Bug 620360 - Fix unused variable warning in StatementCache::FinalizeCachedStatements; r+a=sdwilsh 2010-12-21 15:03:01 -08:00
Phil Ringnalda 7146252c8d Bug 619623 - reorder the parts of the error messages so tbpl can spot the filename, r=sdwilsh, a=test 2010-12-18 19:30:46 -08:00
Shawn Wilsher f14c3b0dcc Merge Places and mozilla-central
a=bsmedberg
2010-12-15 19:24:51 -08:00
Shawn Wilsher 7cd8f091ad Merge mozilla-central to Places. 2010-12-13 15:08:04 -08:00
Shawn Wilsher 7a35d860e3 Merge mozilla-central into Places. 2010-11-29 08:43:57 -08:00
Asaf Romano 9ca049f7ee Bug 617071 - SQLiteMutex.h breaks debug builds with system sqlite. r+a=sdwilsh. 2010-12-15 20:57:11 +02:00
Shawn Wilsher 8938033f35 Fix orange on linux opt builds by ifdefing around the problem. a=orange :( 2010-11-17 14:42:13 -08:00
Shawn Wilsher cdb6fae3a8 Backed out changeset 6716b289e613. 2010-11-12 08:57:43 -08:00
Shawn Wilsher 8a72a947c4 Disables all link coloring lookups to the db. Wanted to run this on try, but it is not cooperating. There will be orange, but that's OK. This will be backed out shortly. 2010-11-12 08:56:09 -08:00
Shawn Wilsher deaabcb2a2 Merge mozilla-central to Places 2010-11-10 09:38:08 -08:00
Shawn Wilsher e9f0fde783 Bug 599969 - Add a statement cache helper object that is exported by storage.
This adds a templated StatementCache helper object (with tests!) that allows
consumers of storage to easily cache and reuse statements.  Consumers only need
to pass in the query string, and the rest is handled for them.
r=asuth
sr=rs
2010-11-08 11:42:29 -08:00
Shawn Wilsher 3be92a2c5b Merge mozilla-central into places. 2010-10-20 12:33:53 -07:00
Shawn Wilsher b8cbaa99f9 Merging places and mozilla-central. 2010-10-15 09:26:15 -07:00
Shawn Wilsher 1fa11d7388 Bug 599970 - Add GetInterface for nsIEventTarget on Connection
r=asuth
2010-10-05 15:01:22 -07:00
Dan Witte 63fc2399a4 Bug 595925 - Use OpenUnsharedDatabase in cookies. r=sdwilsh, a=final+ 2010-10-19 17:24:52 -07:00
Chris Jones 52d0f01838 Bug 550611: Make nsTArray optionally infallible. sr=bsmedberg a=blocking
--HG--
rename : xpcom/glue/nsTArray.cpp => xpcom/glue/nsTArray-inl.h
2010-11-08 20:48:59 -06:00
Michael Wu 4b756d5fdc Bug 597215 - Don't do setGrowthIncrement on Android, r=sdwilsh a=blocking-fennec 2010-10-12 16:20:51 -07:00
Dan Witte 5cf671a843 Back out all cookie changes due to bug 602746. a=omgeverythingisbroken 2010-10-07 19:02:30 -07:00
Marco Bonardo 31b159651d Bug 541373 (part 2) - Provide a global VACUUM component. Use idle-daily category. r=sdwilsh a=blocking 2010-10-19 15:46:51 +02:00
Marco Bonardo 0b05880afe Bug 541373 (part 1) - Provide a global VACUUM component. r=sdwilsh sr=vlad a=blocking 2010-10-19 15:46:49 +02:00
Marco Bonardo ext:(%2C%20Shawn%20Wilsher%20%3Cme%40shawnwilsher.com%3E) 9fbe8f25d1 Bug 573492 - Use WAL journaling for places.sqlite.
r=sdwilsh
r=mak
a=blocking2.0
2010-09-13 09:29:42 -07:00
Marco Bonardo 647ee9c68a Bug 596970 - ASSERTION: You can't dereference a NULL nsCOMPtr with operator->() in AsyncStatement::~AsyncStatement(). r=asuth a=dietrich 2010-10-07 10:41:27 +02:00
Robert Sayre 7d6b688fcd merge mozilla-central to tracemonkey. 2010-09-08 10:33:07 -04:00
Robert Sayre 9ec3408857 Merge mozilla-central to tracemonkey. 2010-09-01 22:27:07 -07:00
Taras Glek 96bd2a13d9 Bug 581606 - Avoid sqlite fragmentation via SQLITE_FCNTL_CHUNK_SIZE r=asuth sr=shaver a=b6 2010-09-01 20:35:46 -05:00
Ben Turner 8eb36f1ade Bug 593045 - 'Add SQLite file size quota management to mozStorage'. Missed a comment change. r=ted+asuth, a=blocking2.0+. 2010-09-03 09:12:27 -07:00
Ben Turner 819fb6c21d Bug 593045 - 'Add SQLite file size quota management to mozStorage'. r=ted+asuth, a=blocking2.0+. 2010-09-03 07:41:55 -07:00
Luke Wagner 719f726121 Bug 581263 - remove slow natives (r=waldo,mrbkap) 2010-08-16 12:35:04 -07:00
Dan Witte 658afc5efd Bug 595925 - Use OpenUnsharedDatabase in cookies. r=sdwilsh, a=final+ 2010-10-07 14:00:17 -07:00
Shawn Wilsher 0181f9b93c Bug 583882 - Need a way to clone an existing connection.
r=asuth
sr=shaver
a=blocking2.0
2010-08-27 12:42:58 -07:00
Shawn Wilsher 28f18db546 Bug 519769 - Open shared/unshared connection with options instead of setting shared state always
Use the flags SQLite provides on sqlite3_open_v2 instead of using a mutex to
protect the shared cache state.
r=asuth
a=gavin
2010-08-27 12:42:55 -07:00
Joel Maher adaba45072 Bug 586754 Xpcshell tests should use relativesrcdir instead of $MODULE (android prepartion) r=mitchell.field a=NPOTB 2010-08-26 14:47:28 -07:00
Clint Talbert 4fa6358e1b Backed out changeset 49beef9387a0 due to Xpcshell orange a=backout
--HG--
extra : rebase_source : 01307f705ab07b7784401d69a53921b200544978
2010-08-25 14:03:44 -07:00
Joel Maher fecae963b6 Bug 586754 Change xpcshell to use $relativesrcdir instead of $module for android support a=NPOTB r=mitchell.field 2010-08-25 11:47:39 -07:00
Jonas Sicking 32a03526e0 Backout bugs 586754, 574189, 584611 due to orange. a=backout 2010-08-20 11:08:43 -07:00
Joel Maher a6d440687b Bug 586754 xpcshell tests should use relativesrcdir instead of $MODULE r=:Mitch a=NPOTB 2010-08-20 09:32:58 -07:00
Luke Wagner 56b2810a26 Bug 609440, part 3 - remove fallible public APIs, update mozilla (r=bent,jst,mrbkap,waldo,sdwilsh) 2010-12-03 00:24:17 -08:00
Igor Bukanov 08acfd00c4 bug 610198 - Replacing JS_GetStringBytes usage with JS_EncodeString. r=gal 2010-11-11 21:40:29 +01:00
David Anderson b4ec0dde6d Backed out changeset 8e119f847f97 (build busted) 2010-11-11 11:19:42 -08:00
Igor Bukanov 048e1e0a13 bug 610198 - Replacing JS_GetStringBytes usage with JS_EncodeString. r=gal 2010-11-02 15:36:25 +01:00
Robert Sayre 48cc92a4b0 Merge mozilla-central to tracemonkey. 2010-11-09 15:29:44 -05:00
Igor Bukanov c074b68d29 bug 607695 - Avoid unnecessary JS_GetStringBytes. r=gal 2010-10-28 17:15:53 +02:00