Commit Graph

291 Commits

Author SHA1 Message Date
Steve Fink
b5b601df06 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
7b61ea2b0e Bug 653627 - Don't use char** in nsIMemoryReporter. r=khuey, sr=bz. 2011-07-08 12:45:16 +10:00
Justin Lebar
169b00ccad 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
bae766be77 Bug 665549 - Fix unused variable warning for 'shutdownObserved' in mozStorageService.cpp; r=sdwilsh 2011-06-23 19:01:17 -07:00
Jeff Walden
e84bb50504 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
Nicholas Nethercote
3f2c2d551f 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
a6fe92c33e Bug 660743 storage should use mozilla::Preferences r=roc+sdwilsh 2011-06-02 10:05:12 +09:00
Marco Bonardo
1d4d6212bb Merge places and mozilla-central. a=developers 2011-05-24 04:51:59 +02:00
Marco Bonardo
a363c063f6 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
6e6a7e6844 Bug 649867 - Remove the heap-used/storage/lookaside-used memory reporter. r=sdwilsh. 2011-05-22 19:50:14 -07:00
Nicholas Nethercote
30e92c3349 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
Nicholas Nethercote
abb04b1933 Bug 653630 - Change SQLite memory reporters to avoid double-counting some memory usage. r=sdwilsh. 2011-05-11 16:09:50 -07:00
Nicholas Nethercote
6ef173ddbb Bug 633653 - revamp about:memory. r=vlad,sdwilsh,dvander,gavin,ehsan,edwsmith; sr=benjamin. 2011-05-03 17:12:58 -07:00
Allison Naaktgeboren
28fa217b5a 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 ext:(%20and%20Kyle%20Huey%20%3Ckhuey%40kylehuey.com%3E)
0bb511a3d7 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
a75fb12531 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)
cc8b4c9c6c 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
Doug Turner ext:(%2C%20Shawn%20Wilsher%20%3Cme%40shawnwilsher.com%3E)
ef70e47ce5 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
733f538571 Merge mozilla-central and tracemonkey. 2011-03-29 14:52:44 -07:00
Justin Lebar
7e2c5ae50d 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
Marco Bonardo
37cc2cd994 Bug 637957 - Followup, add proper QI. rs=mossop a=blocker-orange-fix 2011-03-02 21:25:11 +01:00
Marco Bonardo
c9a5aabb5f 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
Shawn Wilsher
bd975c9f6f 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
0b2c623018 Back out f9e075d85552 (Bug 635482) to investigate Mac tp4 regression, a=backout 2011-02-27 10:27:44 -08:00
Shawn Wilsher
c659beeda2 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
0786c95d93 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
Shawn Wilsher
a1d7cbb0a0 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
Ryan VanderMeulen
642f32862c Bug 586130 - Warning C4099 fixes (storage). r=sdwilsh a=bsmedberg 2011-01-20 19:49:09 -08:00
Andrew Sutherland
2af4f44190 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
912344b34c 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
Jonas Sicking
69e373af1d 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
272d457a20 Merge mozilla-central to tracemonkey. 2010-12-29 19:25:04 -05:00
Shawn Wilsher
08e6bfdd2e Merge Places and mozilla-central
a=bsmedberg
2010-12-15 19:24:51 -08:00
Shawn Wilsher
ade39d2c6a Merge mozilla-central to Places. 2010-12-13 15:08:04 -08:00
Shawn Wilsher
9cdab945a8 Merge mozilla-central into Places. 2010-11-29 08:43:57 -08:00
Asaf Romano
76edc4f7f8 Bug 617071 - SQLiteMutex.h breaks debug builds with system sqlite. r+a=sdwilsh. 2010-12-15 20:57:11 +02:00
Shawn Wilsher
06f60f7a34 Merge mozilla-central to Places 2010-11-10 09:38:08 -08:00
Shawn Wilsher
8c46198937 Merge mozilla-central into places. 2010-10-20 12:33:53 -07:00
Shawn Wilsher
fee260454c Merging places and mozilla-central. 2010-10-15 09:26:15 -07:00
Shawn Wilsher
ca8b2b3da8 Bug 599970 - Add GetInterface for nsIEventTarget on Connection
r=asuth
2010-10-05 15:01:22 -07:00
Chris Jones
28d67e6217 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
1bef74c070 Bug 597215 - Don't do setGrowthIncrement on Android, r=sdwilsh a=blocking-fennec 2010-10-12 16:20:51 -07:00
Marco Bonardo
0491c32219 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
f8d95d590c 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
58c6c10f24 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
edb7aca0d0 merge mozilla-central to tracemonkey. 2010-09-08 10:33:07 -04:00
Robert Sayre
357a4a6366 Merge mozilla-central to tracemonkey. 2010-09-01 22:27:07 -07:00
Taras Glek
f849918830 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
f800296d72 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
72b198d8d5 Bug 593045 - 'Add SQLite file size quota management to mozStorage'. r=ted+asuth, a=blocking2.0+. 2010-09-03 07:41:55 -07:00