Commit Graph

240 Commits

Author SHA1 Message Date
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
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
Luke Wagner
5e9978f911 Bug 581263 - remove slow natives (r=waldo,mrbkap) 2010-08-16 12:35:04 -07:00
Shawn Wilsher
31576fbeec 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
d6bf9c5574 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
Dan Witte
0533b2cfca 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
aed0c5459e Bug 580019: Fix functiontimer crash when opening db with NULL filename 2010-08-02 14:29:59 -07:00
Dan Witte
dfcfc976fb Revert bug 572223 to fix creation of duplicate cookies. 2010-08-01 12:24:38 -07:00
Robert Sayre
073bde8d2b Merge mozilla-central to tracemonkey. 2010-07-30 21:57:41 -07:00
Dan Witte
e25f157ff9 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
55a8586519 Merge mozilla-central to tracemonkey. 2010-07-27 13:09:04 -07:00
Shawn Wilsher
6d9ba47ee5 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
99411cc93d Bug 549143 - fatvals 2010-07-14 23:19:36 -07:00
Robert Sayre
70fc03b113 Merge mozilla-central to tracemonkey. 2010-07-02 17:25:52 -07:00
Shawn Wilsher
e59d57ca10 Bug 575667 - split about:memory reporting into more detailed sections for SQLite
r=vlad
a=vlad
2010-07-22 10:08:59 -07:00
Taras Glek
bb78f82fbe Bug 416330 - Suboptimal SQLite page size r=sdwilsh 2010-07-01 10:57:13 -07:00
Shawn Wilsher
5aafb87384 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
ce040e2786 Bug 416330 - Suboptimal SQLite page size r=sdwilsh
--HG--
extra : rebase_source : 053c7b1d975304ed7d402bb619874c889c71425c
2010-06-28 12:13:26 -07:00
Jeff Walden
52312bac03 Bug 518663 - ES5: Object.getOwnPropertyNames. r=jorendorff 2009-09-24 14:33:14 -07:00
Shawn Wilsher
688f6b6cd2 Bug 571599 - Use sqlite3_unlock_notify
sr=vlad
r=bent
r=asuth
2010-06-21 14:23:00 -07:00
Shawn Wilsher
4e43c7eae6 Bug 571581 - Propagate SQLITE_CONSTRAINT as an nsresult
r=asuth
sr=vlad
2010-06-16 09:59:24 -07:00
Dave Townsend
07c355da2b Bug 570529: mozIStorageStatement.execute() should reset itself even if an error occurs. r=sdwilsh 2010-06-07 15:06:56 -07:00
Saint Wesonga
3ed57717d1 Bug 492625 - "Stop using underscores to start #defines" [r=vlad]
--HG--
extra : rebase_source : d685fb8bc375ba4fcf97742298e9361ebfe9b851
2010-06-01 08:38:00 -04:00
Chris Jones
8095e43052 Backed out changeset c60e3e48ea38 2010-06-24 19:56:14 -05:00
Taras Glek
065ac23871 Bug 416330 - Suboptimal SQLite page size r=sdwilsh 2010-06-24 16:39:24 -07:00
Ehsan Akhgari
d6b32f425f 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
a87b134220 Bug 560647 - add startup timeline instrumentation; r=vlad 2010-05-19 19:22:19 -04:00
Vladimir Vukicevic
d562978a21 b=566442; add memory reporters for sqlite; r=sdwilsh 2010-05-19 13:46:08 -07:00
timeless@mozdev.org, Jason Orendorff
4bea23532d 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
8d40d741e4 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
Mitchell Field
9818f00bf2 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
01e6a8ee80 Bug 559678 - followup, make the warning less scarying. rs=sdwilsh 2010-04-22 14:53:56 +02:00
Marco Bonardo
7a4702f9fa Bug 559678 - Better errors for Storage transactions misuse. r=asuth 2010-04-16 14:31:18 +02:00
Andrew Sutherland
b4419b8d6f 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
Andrew Sutherland
ddd3c4327f 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
6371523ca7 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
Shawn Wilsher
b5e02f4c11 Bug 552003 - Passing an empty mozIStorageBindingParamsArray does not error
Throw instead of just asserting, which makes debugging this so much easier.
r=asuth
2010-03-15 10:23:39 -07:00
Shawn Wilsher
e7bf5fc1f2 Bug 496019 - mozilla::storage::Connection::Close can spin a nested event loop
Creates a new close method that must be used when using asynchronous statements,
and disallow Close from being called in that case.
r=asuth
sr=vlad
2009-11-09 09:58:34 -08:00
Dan Witte
ddfc2078d1 Fix regression in mozIStorageStatement.bindUTF8StringParameter such that it accepts arbitrary octets by
not converting string types. b=544496, r=sdwilsh
2010-02-22 13:57:45 -08:00
Justin Lebar
e730a1afc6 Bug 500328 - Implement History.pushState(), History.replaceState() methods. r=smaug, r=zpao, sr=sicking 2009-09-01 09:45:05 -07:00
Daniel Holbert
46ba50b0cb Backed out changeset dc7a04be6904 on suspicion of causing bug 543034. 2010-01-29 18:50:46 -08:00
Justin Lebar
a827ba17fc Bug 500328 - Implement History.pushState(), History.replaceState() methods. r=smaug, r=zpao, sr=sicking 2009-09-01 09:45:05 -07:00
Reed Loden
cdabfc45ae Backout patch from bug 489897 as the likely cause of pwmgr test failures. 2009-12-31 01:15:11 -06:00
David Dahl ext:(%2C%20Shawn%20Wilsher%20%3Csdwilsh%40shawnwilsher.com%3E)
4a25f2e3a8 Bug 489897 - implement StatementRow::NewEnumerate
for (let colName in stmt.row) now works!
r=sdwilsh
r=ddahl
sr=mrbkap
2009-10-12 17:49:00 -05:00
Shawn Wilsher
02575db216 Bug 494828 - Stop using our own mutexes and use SQLite's where possible.
Part 2: Use the helper object in a few places where we had our own mutexes.
r=asuth
2009-07-22 15:18:33 -07:00