Commit Graph

54 Commits

Author SHA1 Message Date
brettw%gmail.com
f1c124802f Bug 334675 r=darin a=mconnor Display async write errors to the user
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@206400 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-02 16:10:46 +00:00
vladimir%pobox.com
a55310f2a0 b=334174, corrupt db files are not handled correctly, r=brettw+a=drivers
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@205001 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-27 22:51:54 +00:00
brettw%gmail.com
ac73e4c37e Bug 333306 r+a=vladimir Crash with pragma statements that return values
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@198182 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-22 19:18:00 +00:00
brettw%gmail.com
fe725e2952 Bug 336230 r+a=vladimir Incorrect ASYNC_SYNC handling
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@198179 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-22 19:10:58 +00:00
brettw%gmail.com
e4815624fd Backout of previous change because tree was closed
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@198014 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-19 17:20:46 +00:00
brettw%gmail.com
d253dd3749 Bug 336230 r+a=vlad Bug in ASYNC_SYNC
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@198009 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-19 16:25:40 +00:00
brettw%gmail.com
f9bdee2a4f Bug 336314 r=darin Make storage threadsafe
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@195944 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-03 23:29:12 +00:00
brettw%gmail.com
9d5f147c69 Bug 335836 r=vladimir Add warnings to comments on usage of storage service
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@195806 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-02 17:36:20 +00:00
gavin%gavinsharp.com
5fba096eed Bug 334186: AsyncOpenExclusive returns freed value, patch by Ryan Flint <rflint@dslr.net>, r=brettw, a181=vlad
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@195077 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-21 17:36:29 +00:00
brettw%gmail.com
febc149ee0 Bug 331158 r=vladimir Add preload capability to storage service for sqlite pager cache.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@194148 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-11 17:37:13 +00:00
bent.mozilla%gmail.com
c8dc204288 Bug 328790 - Removing an extra NS_ADDREF that crept into the last checkin. r=brettw, a=darin.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@193824 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-07 18:12:16 +00:00
bent.mozilla%gmail.com
b55af62e4f Bug 328790 - "main thread never joins with async-io thread". r=brettw, a=darin.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@193769 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-07 01:12:50 +00:00
dmose%mozilla.org
26c7c6b663 Fix regression (bug 329518) which made databases created by mozStorage be UTF-16 encoded and caused other havoc. Caused by the landing of the first patch in bug 324311; fixup patch posted to that bug also. r=bryner, a181=bryner
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@191875 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-07 03:48:38 +00:00
dmose%mozilla.org
0f65ac2a7d Fix profile startup failure when non-ASCII characters are in the profile path name (bug 324311). Thanks to Nickolay Ponomarev <asqueella@gmail.com> for the patch; r=bryner, a181=bryner.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@191818 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-06 05:40:35 +00:00
brettw%gmail.com
4d67045ae6 Bug 327317 r=vladimir Create IndexExists function
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@191419 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-28 20:57:39 +00:00
brettw%gmail.com
ae30b20fde Bug 327907 r=bryner. Fix DB corruption problem. Truncate was using the wrong
value.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@191208 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-24 22:20:26 +00:00
brettw%gmail.com
b48b5a7805 Bug 327740 r=vladimir Replaces REINTERPRET_CASTs with STATIC_CASTs in
mozStorageAsyncIO.cpp


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@191053 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-23 19:25:40 +00:00
brettw%gmail.com
9b40b0160c Bug 328212 r=vladimir Update AsyncIO with bugfixed in sqlite tree
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@190884 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-22 21:14:47 +00:00
benjamin%smedbergs.us
be240c3466 Bug 327188 - libxul work for enabling places by default, this makes the 1.8branch match trunk (lines to enable places by default are commented out)
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@190691 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-21 16:18:57 +00:00
brettw%gmail.com
9d01696a5f Bug 327567, r=darin. Storage connections should not outlive service (crasher).
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@190397 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-17 21:29:00 +00:00
benjamin%smedbergs.us
20047c0968 Bug 327638 - PRInt64 and sqlite_int64 are not automatically compatible types, r=vlad
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@190395 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-17 21:25:14 +00:00
brettw%gmail.com
2f7bba163c Bug 327557 r=darin. Storage service keeps reference to main thread.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@190317 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-17 00:38:19 +00:00
brettw%gmail.com
8d8a7b2c05 Bug 326334 r=vladimir, darin Multithreaded commit for storage.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@190200 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-16 03:04:46 +00:00
brettw%gmail.com
f5ba52c00c Bug 324994 forgotten interface documentation.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@189391 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-08 02:18:12 +00:00
brettw%gmail.com
43d851e546 Bug 324994 r=bryner sr=vladimir GetString should set IsVoid when column is
null.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@189368 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 23:10:16 +00:00
bryner%brianryner.com
d99105dacf [Places merge, bug 324274] Bug 319453, p=brettw r=vladimir: Bounds check GetBlob, return NULL if 0 size.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@188039 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-23 05:28:18 +00:00
bryner%brianryner.com
f225cf89be [Places merge, bug 324274] b=273050, storage module interface review, p=vlad r=darin
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@188038 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-23 05:25:02 +00:00
bryner%brianryner.com
71c4c36ec5 [Places merge, bug 324274] Added helper classes for C++ users to deal with transaction and statement scope. Exposes sqlite's in-memory database capability.
bug 310636
p=brettw r=bryner


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@188034 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-23 04:59:04 +00:00
mrbkap%gmail.com
d6396cb1d2 bug 311024: Make sure eval grabs the right scope object. r=brendan sr=jst a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@182012 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-11 21:17:10 +00:00
dmose%mozilla.org
045450dc42 Fixing build bustage by adding stub methods for the two new methods that were added to nsIXPCScriptable
git-svn-id: svn://10.0.0.236/trunk@176902 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-31 21:12:49 +00:00
vladimir%pobox.com
739bbe3165 b=293183, implement exception support for recurrence, r=shaver
git-svn-id: svn://10.0.0.236/trunk@174394 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-10 01:31:48 +00:00
vladimir%pobox.com
739146b673 Make mozStorageStatement::Execute() use ExecuteStep(), to get the right SQLITE_SCHEMA handling, r=me
git-svn-id: svn://10.0.0.236/trunk@173814 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-27 20:14:09 +00:00
vladimir%pobox.com
5493a9645b b=293707, update storage calendar, partial (mozStorage-only) commit, r=shaver
git-svn-id: svn://10.0.0.236/trunk@173307 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-12 01:09:04 +00:00
vladimir%pobox.com
9155dbbbfd b=291991, fix sqlite_schema stuff in mozStorageStatement, again r=shaver
git-svn-id: svn://10.0.0.236/trunk@172755 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-26 22:28:06 +00:00
vladimir%pobox.com
6419bb2b59 fix for SQLITE_SCHEMA error, as well as using multiple-named-statement binding functions
git-svn-id: svn://10.0.0.236/trunk@172379 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-17 21:00:50 +00:00
bsmedberg%covad.net
e46ca42267 Adding MOZILLA_INTERNAL_API to internal makefiles, bug 288626, rs=darin
git-svn-id: svn://10.0.0.236/trunk@171646 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-05 14:50:16 +00:00
vladimir%pobox.com
004f995161 Boolean logic is hard, r=me
git-svn-id: svn://10.0.0.236/trunk@171174 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-24 22:58:30 +00:00
vladimir%pobox.com
9e21dcb62f Handle SQLITE_SCHEMA correctly be retrying the statement, r=me
git-svn-id: svn://10.0.0.236/trunk@171165 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-24 19:59:59 +00:00
shaver%mozilla.org
d7df954eea fix DIRS = vs DIRS += error; thanks to Nick Thomas for catching it; r=vlad
git-svn-id: svn://10.0.0.236/trunk@170988 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-22 17:33:00 +00:00
shaver%mozilla.org
336f09c213 Bug 283057: Fold sqlite build into storage build, honour ENABLE_TESTS.
r=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@170949 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-21 17:01:57 +00:00
mattwillis%gmail.com
e6bd96b9c4 Fixed compile on Windows with gcc
r=shaver


git-svn-id: svn://10.0.0.236/trunk@167398 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-07 20:52:04 +00:00
gerv%gerv.net
94e2440963 iBug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@167048 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-27 18:45:32 +00:00
vladimir%pobox.com
638bdb758d automatically reset mozStorageStatementWrapper when the statement is finished executing, to avoid havin to reset() all the time. notpartofthebuild
git-svn-id: svn://10.0.0.236/trunk@166511 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-09 22:34:00 +00:00
vladimir%pobox.com
b18b0f330b fix usage of snprintf to use PR_smprintf, notpartofthebuild
git-svn-id: svn://10.0.0.236/trunk@166506 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-09 21:42:36 +00:00
pavlov%pavlov.net
ffc6251142 fixing win32 build issues r=shaver
git-svn-id: svn://10.0.0.236/trunk@166505 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-09 21:22:15 +00:00
vladimir%pobox.com
10818f6681 fix jsdate conversion in scriptable mozStorage wrapper (npotb)
git-svn-id: svn://10.0.0.236/trunk@166458 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-08 23:16:42 +00:00
vladimir%pobox.com
1b24df7e55 b=272974, nice scriptable interfaces for storage, r=shaver
git-svn-id: svn://10.0.0.236/trunk@166206 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-03 16:56:57 +00:00
darin%meer.net
fbc8933679 NS_NewNativeLocalFile requires a full path, under XP_UNIX at least
NOT PART OF THE BUILD


git-svn-id: svn://10.0.0.236/trunk@164077 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-20 04:10:25 +00:00
darin%meer.net
95620c22a6 nsStorageCID.h should be output to dist/include/storage, NOT PART OF THE BUILD
git-svn-id: svn://10.0.0.236/trunk@164076 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-20 04:09:37 +00:00
darin%meer.net
d86191524f value passed to bindDataParameter should be declared const, NOT PART OF THE BUILD
git-svn-id: svn://10.0.0.236/trunk@164075 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-20 04:08:55 +00:00