Shawn Wilsher
ebc887cb7d
Bug 483152 - Stop giving the ability to get the native sqlite3_stmt pointer
...
We don't really want to give this pointer out to consumers since we track some
state, and if they call SQLite functions on it, can cause our internal state to
be inaccurate.
r=asuth
2009-03-20 18:41:01 -04:00
Robert Sesek
3d284940b1
Bug 431473. Kill unused mozIStorageDataSet. r=sdwilsh
2009-01-19 21:44:31 +13:00
Marco Bonardo
4948060132
Bug 467856 - Expose SQLITE_IOERR, r=sdwilsh
2008-12-09 21:39:32 +01:00
Shawn Wilsher
4066e145dc
fix for windows bustage
2008-12-08 17:36:20 -05:00
Shawn Wilsher
644c5c2f22
Bug 462173 - We treat transaction errors as fatal when we should not
...
r=asuth
2008-12-08 17:14:14 -05:00
Shawn Wilsher
8b0141cbb2
Bug 451815 - Need a more reliable way to indicate SQLITE_BUSY
...
This changeset adds a new error result for storage (NS_ERROR_STORAGE_BUSY) that
maps directly to when SQLite would return SQLITE_BUSY.
r=asuth
--HG--
rename : storage/src/mozStorage.h => storage/src/mozStoragePrivateHelpers.h
2008-10-30 18:50:00 -04:00
Shawn Wilsher
398afe4d48
Bug 458998 - AsyncExecute helper classes can complete() before they are added to mPendingEvents
...
This changeset also fixes a few issues where we were holding a lock while and
kills off a few other race conditions that were noticed in the course of fixing
this bug.
r=bent
2008-10-24 18:30:07 -04:00
Shawn Wilsher
2202ae56a6
Bug 461263 - Race condition exists with mozStorageTransaction
...
While the race was technically "safe", we could have possibly wrongly tried to
commit or rollback. This changeset makes us operate sanely in all conditions.
r=bent
2008-10-24 16:50:01 -04:00
Shawn Wilsher
bc4175ab7e
Bug 458811 - Allow for multiple statements to be executed at in a transaction asynchronously
...
This changeset allows consumers to execute a series of statements, in order,
asynchronously in a transaction.
r=dcamp
sr=sicking
2008-10-13 18:45:40 -04:00
Shawn Wilsher
fa90f09b8e
comment change to kick off new builds
...
rs=me
2008-10-09 20:29:14 -04:00
Doug Turner
a7fc7f4f21
Bug 456471 - mozIStorageError IDL file needs ERROR undefined for WinCE / WinMobile. patch by wolfe, r=sdwilsh
2008-09-23 11:02:55 -07:00
Shawn Wilsher
2bb92e1ff4
Bug 452897 - Automatically provide the wrapper for JavaScript
...
This changeset adds a language helper to mozStorageStatement so it gets the
attributes and methods that mozIStorageStatementWrapper has. We can now mark
the wrapper as depreciated.
r=vlad
r=mrbkap
--HG--
rename : storage/test/unit/test_storage_statement_wrapper.js => storage/test/unit/test_statement_wrapper_automatically.js
2008-09-12 17:30:41 -04:00
Shawn Wilsher
bbe06d499c
Make mozIStorageConnection threadsafe - bug 448476 r=robarnold
2008-08-12 17:50:25 -07:00
Shawn Wilsher
7d890ca2b0
Bug 429986 - Provide an option for database access to be asynchronous.
...
This adds a method to mozIStorageStatement to allow for a statement to execute
asynchronously and report to a callback. For writes, this can move fsyncs,
which can be painful, off of the main thread.
r=vlad
sr=shaver
2008-07-11 15:47:33 -04:00
Shawn Wilsher
b994d6a1f7
Bug 435994 - Implement ResultSet and Row for mozIStorageStatement::executeAsync
...
These creates the result set and row objects to be used with the async storage
API added in bug 429986.
r=vlad
sr=shaver
2008-07-11 15:47:28 -04:00
Benjamin Smedberg
690834e782
Bug 442762 - Annotate mozStorageStatementScoper with NS_STACK_CLASS, r=sdwilsh
2008-06-30 21:03:29 -04:00
Shawn Wilsher
5186757c75
Bug 434796
...
Remove mozIStorageStatement::initialize
r=vlad
sr=shaver
2008-06-11 11:00:09 -04:00
sdwilsh@shawnwilsher.com
78099ebf94
Bug 423273 - Fix storage API to not break old behavior. r=shaver, sr=shaver, a=shaver
2008-03-24 15:14:38 -07:00
sdwilsh@shawnwilsher.com
7efaade60c
Bug 416173 - BackupDB is completely useless. r=vlad, a=damons
2008-02-09 11:05:49 -08:00
myk@mozilla.org
22e51a82e6
bug 413589: enable fts3 (full text index) sqlite module; r=sdwilsh, a=damons
2008-01-29 15:34:19 -08:00
sdwilsh@shawnwilsher.com
0b5e2d914c
Bug 411976 - Update the comment in mozIStorageService.idl to reflect recent SQLite changes. This is a comment change only - NPOTDB.
2008-01-25 10:18:15 -08:00
reed@reedloden.com
cff8cd4f84
Bug 385066 - "Remove preloading from mozStorage" [p=comrade693+bmo@gmail.com (Shawn Wilsher [sdwilsh]) r=gavin a=blocking1.9+]
2007-12-17 21:34:50 -08:00
reed@reedloden.com
a8ff36f025
Bug 403068 - "Need a wrapper function for SQLite function sqlite3_column_decltype" [p=jzhang@aptana.com (john Zhang) r=sdwilsh a1.9=damons]
2007-11-13 00:26:45 -08:00
sdwilsh@shawnwilsher.com
dee8ac7f39
Bug 394789 - Add a finalize() method to mozStorageStatement. r=neil, r=sspitzer, a=bzbarsky
2007-09-18 20:26:51 -07:00
dtownsend@oxymoronical.com
f0886f7ceb
Clarification comments for parameters, no bug. r=sdwilsh
2007-08-30 16:46:56 -07:00
sdwilsh@shawnwilsher.com
4eac417aa8
Bug 394241 - Add a closeDatabase() method to mozStorage. r=sspitzer
2007-08-30 06:43:17 -07:00
sspitzer@mozilla.org
baa64e03da
fix for bug #391697 : add escapeStringForLIKE to mozIStorageStatement r=sdwilsh
2007-08-10 15:57:02 -07:00
sdwilsh@shawnwilsher.com
510bb3d6b4
Bug 388059 - Add a getColumnIndex method to mozIStorageStatement. r=sspitzer
2007-07-19 09:30:17 -07:00
sdwilsh@shawnwilsher.com
7e7cab07e6
Bug 388048 - mozIStorageStatement::getParameterIndexes is useless. r=sspitzer
2007-07-15 11:03:20 -07:00
sdwilsh@shawnwilsher.com
7f9c748719
Bug 333848 - add full-featured user-defined functions and progress handlers to storage. Patch by Lev Serebryakov <blacklion@gmail.com>. r=sdwilsh
2007-07-07 14:14:51 -07:00
sdwilsh@shawnwilsher.com
8b24012813
Bug 386394 - Add a BackupDB method to mozIStorageConnection. r=mano
2007-07-03 13:54:36 -07:00
philringnalda@gmail.com
05ae532ba4
Bug 386366 - Add convenience method for getting the database schema version, patch by Shawn Wilsher <sdwilsh@mozilla.com>, r=sspitzer
2007-06-29 20:32:09 -07:00
dwitte@stanford.edu
79dbd48ee2
check for non-null connection in mozStorageTransaction helper. b=384224, r=sspitzer
2007-06-13 21:58:52 -07:00
roc+@cs.cmu.edu
0054412272
Bug 374866. Reftests for text-transform. r=dbaron
2007-03-22 16:01:14 -07:00
sdwilsh%shawnwilsher.com
4dc42ff373
Bug 423273 - Fix storage API to not break old behavior. r=shaver, sr=shaver, a=shaver
2008-03-24 22:14:40 +00:00
sdwilsh%shawnwilsher.com
fa9a0b9fce
Bug 416173 - BackupDB is completely useless. r=vlad, a=damons
2008-02-09 19:05:49 +00:00
myk%mozilla.org
0575dd8932
bug 413589: enable fts3 (full text index) sqlite module; r=sdwilsh, a=damons
2008-01-29 23:34:21 +00:00
sdwilsh%shawnwilsher.com
b7fbe63d85
Bug 411976 - Update the comment in mozIStorageService.idl to reflect recent SQLite changes. This is a comment change only - NPOTDB.
2008-01-25 18:18:15 +00:00
reed%reedloden.com
d72c347691
Bug 385066 - "Remove preloading from mozStorage" [p=comrade693+bmo@gmail.com (Shawn Wilsher [sdwilsh]) r=gavin a=blocking1.9+]
2007-12-18 05:34:51 +00:00
reed%reedloden.com
4b8d43fb2c
Bug 403068 - "Need a wrapper function for SQLite function sqlite3_column_decltype" [p=jzhang@aptana.com (john Zhang) r=sdwilsh a1.9=damons]
2007-11-13 08:26:46 +00:00
sdwilsh%shawnwilsher.com
d3b754ab84
Bug 394789 - Add a finalize() method to mozStorageStatement. r=neil, r=sspitzer, a=bzbarsky
2007-09-19 03:26:52 +00:00
dtownsend%oxymoronical.com
74ee3355a9
Clarification comments for parameters, no bug. r=sdwilsh
2007-08-30 23:46:56 +00:00
sdwilsh%shawnwilsher.com
9f9c9e8932
Bug 394241 - Add a closeDatabase() method to mozStorage. r=sspitzer
2007-08-30 13:43:18 +00:00
sspitzer%mozilla.org
6d27fcd5a3
fix for bug #391697 : add escapeStringForLIKE to mozIStorageStatement
...
r=sdwilsh
2007-08-10 22:57:03 +00:00
sdwilsh%shawnwilsher.com
f1fbebebfa
Bug 388059 - Add a getColumnIndex method to mozIStorageStatement. r=sspitzer
2007-07-19 16:30:17 +00:00
sdwilsh%shawnwilsher.com
a829849d4f
Bug 388048 - mozIStorageStatement::getParameterIndexes is useless. r=sspitzer
2007-07-15 18:03:20 +00:00
sdwilsh%shawnwilsher.com
8c99a92336
Bug 333848 - add full-featured user-defined functions and progress handlers to storage. Patch by Lev Serebryakov <blacklion@gmail.com>. r=sdwilsh
2007-07-07 21:14:52 +00:00
sdwilsh%shawnwilsher.com
1b193910de
Bug 386394 - Add a BackupDB method to mozIStorageConnection. r=mano
2007-07-03 20:54:37 +00:00
philringnalda%gmail.com
c65379a243
Bug 386366 - Add convenience method for getting the database schema version, patch by Shawn Wilsher <sdwilsh@mozilla.com>, r=sspitzer
2007-06-30 03:32:09 +00:00
dwitte%stanford.edu
d5fb46c1b9
check for non-null connection in mozStorageTransaction helper. b=384224, r=sspitzer
2007-06-14 04:58:52 +00:00