Commit Graph

143 Commits

Author SHA1 Message Date
Shawn Wilsher
dd6c7ee933 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
18700696dc 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
d28587dd1d 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
17a0817cd9 comment change to kick off new builds
rs=me
2008-10-09 20:29:14 -04:00
Doug Turner
7216b611ec 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
78e4ede55b 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
78b08dae0c Make mozIStorageConnection threadsafe - bug 448476 r=robarnold 2008-08-12 17:50:25 -07:00
Shawn Wilsher
35ba2ed351 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
3da654e7c2 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
bad1189195 Bug 442762 - Annotate mozStorageStatementScoper with NS_STACK_CLASS, r=sdwilsh 2008-06-30 21:03:29 -04:00
Shawn Wilsher
faddef0df3 Bug 434796
Remove mozIStorageStatement::initialize
r=vlad
sr=shaver
2008-06-11 11:00:09 -04:00
sdwilsh@shawnwilsher.com
a950b3f8c1 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
e6bd117ec3 Bug 416173 - BackupDB is completely useless. r=vlad, a=damons 2008-02-09 11:05:49 -08:00
myk@mozilla.org
1f26f9ec43 bug 413589: enable fts3 (full text index) sqlite module; r=sdwilsh, a=damons 2008-01-29 15:34:19 -08:00
sdwilsh@shawnwilsher.com
1777cc37e8 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
d342defa35 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
9e2384777a 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
ce9577407a 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
fc448804e6 Clarification comments for parameters, no bug. r=sdwilsh 2007-08-30 16:46:56 -07:00
sdwilsh@shawnwilsher.com
e5e8ad570e Bug 394241 - Add a closeDatabase() method to mozStorage. r=sspitzer 2007-08-30 06:43:17 -07:00
sspitzer@mozilla.org
4d9cc10ceb fix for bug #391697: add escapeStringForLIKE to mozIStorageStatement r=sdwilsh 2007-08-10 15:57:02 -07:00
sdwilsh@shawnwilsher.com
fba73878f4 Bug 388059 - Add a getColumnIndex method to mozIStorageStatement. r=sspitzer 2007-07-19 09:30:17 -07:00
sdwilsh@shawnwilsher.com
fe1aace69e Bug 388048 - mozIStorageStatement::getParameterIndexes is useless. r=sspitzer 2007-07-15 11:03:20 -07:00
sdwilsh@shawnwilsher.com
ae472131bb 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
f7a000c5ad Bug 386394 - Add a BackupDB method to mozIStorageConnection. r=mano 2007-07-03 13:54:36 -07:00
philringnalda@gmail.com
6e71e3b302 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
07b2c9ca5f check for non-null connection in mozStorageTransaction helper. b=384224, r=sspitzer 2007-06-13 21:58:52 -07:00
brettw%gmail.com
34c03fdee2 Bug 336314 r=darin Make storage threadsafe 2006-05-03 23:29:12 +00:00
brettw%gmail.com
924d2bfb01 Bug 335836 r=vladimir Add warnings to comments on usage of storage service 2006-05-02 17:35:48 +00:00
brettw%gmail.com
38955688fc Bug 331158 r=vladimir Add preload capability to storage service for sqlite pager cache. 2006-04-11 17:06:55 +00:00
brettw%gmail.com
160ca2a46c Bug 327317 r=vladimir Create IndexExists function 2006-02-28 20:57:39 +00:00
brettw%gmail.com
a602db42c7 Bug 324994 forgotten interface documentation. 2006-02-08 02:18:12 +00:00
brettw%gmail.com
7c77c3a347 Bug 319453, r=vladimir: Bounds check GetBlob, return NULL if 0 size. 2005-12-07 20:52:33 +00:00
vladimir%pobox.com
50ab924987 b=273050, bump interface UUIDs and fix test compilation 2005-11-15 19:35:39 +00:00
vladimir%pobox.com
f2232124e1 b=273050, storage module interface review, r=darin 2005-11-15 00:35:50 +00:00
brettw%gmail.com
199733fca5 Helper class for C++ users to manage transaction scope.
bug 310636
r=bryner
2005-11-08 02:16:15 +00:00
brettw%gmail.com
c9d2ed39ae Added helper classes for C++ users to deal with transaction and statement
scope. Exposes sqlite's in-memory database capability.

bug 310636
r=bryner
2005-11-08 02:15:01 +00:00
vladimir%pobox.com
02b491c5e1 b=293707, update storage calendar, partial (mozStorage-only) commit, r=shaver 2005-05-12 01:09:04 +00:00
vladimir%pobox.com
4205a6ed9e fix for SQLITE_SCHEMA error, as well as using multiple-named-statement binding functions 2005-04-17 21:00:50 +00:00
vladimir%pobox.com
c6ac148881 b=272974, nice scriptable interfaces for storage, r=shaver 2004-12-03 16:56:57 +00:00
darin%meer.net
8df450478c value passed to bindDataParameter should be declared const, NOT PART OF THE BUILD 2004-10-20 04:08:55 +00:00
vladimir%pobox.com
c5c2f4a92e remove native sqlite3.h bits from Connection idl 2004-10-09 14:33:01 +00:00
vladimir%pobox.com
497c1e02b3 b=263211, sqlite3 and storage landing - step 2; r=darin,sr=shaver 2004-10-09 00:04:10 +00:00