Commit Graph

410 Commits

Author SHA1 Message Date
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
Doug Turner
880d22155e Bug 616019 - Maemo - 10mb places.sqlite database due to aggressive file growth. r=sdwilsh a=blocking-fennec
--HG--
extra : rebase_source : 0a81467765657bed731e068a5e5d0af404577420
2010-12-09 10:14:16 -08:00
Shawn Wilsher
c8614d1b1d Back out changeset 0b3af3fef0fd (bug 580790) due to burnage on a CLOSED TREE 2010-08-06 10:45:16 -07:00
Shawn Wilsher
5751b59241 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