59 Commits

Author SHA1 Message Date
timeless%mozdev.org
ce95b52fed Bug 337917 Make consumers stop using cids from other modules
r=brettw@gmail.com sr=neil


git-svn-id: svn://10.0.0.236/trunk@198976 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-03 23:41:19 +00:00
brettw%gmail.com
c145e2fde5 Bug 333306 r+a=vladimir Crash with pragma statements that return values
git-svn-id: svn://10.0.0.236/trunk@198182 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-22 19:18:00 +00:00
brettw%gmail.com
d90e25f3b1 Bug 336230 r+a=vlad Bug in ASYNC_SYNC
git-svn-id: svn://10.0.0.236/trunk@198009 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-19 16:25:40 +00:00
darin%meer.net
42edf059cf landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb
git-svn-id: svn://10.0.0.236/trunk@196254 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-10 17:30:15 +00:00
brettw%gmail.com
a2b2843ee6 Bug 336314 r=darin Make storage threadsafe
git-svn-id: svn://10.0.0.236/trunk@195944 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-03 23:29:12 +00:00
brettw%gmail.com
240151f09f Bug 335836 r=vladimir Add warnings to comments on usage of storage service
git-svn-id: svn://10.0.0.236/trunk@195806 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-02 17:36:20 +00:00
gavin%gavinsharp.com
85b796c17f Bug 334186: AsyncOpenExclusive returns freed value, patch by Ryan Flint <rflint@dslr.net>, r=brettw
git-svn-id: svn://10.0.0.236/trunk@195069 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-21 16:53:48 +00:00
benjamin%smedbergs.us
6e24a5d20a Freeze nsIArray (requires separating nsIMutableArray into another .idl file); also removes NS_NewArray and moves do_QueryElementAt into the glue, r=darin
git-svn-id: svn://10.0.0.236/trunk@194221 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-12 15:43:32 +00:00
brettw%gmail.com
193bad81d9 Bug 331158 r=vladimir Add preload capability to storage service for sqlite pager cache.
git-svn-id: svn://10.0.0.236/trunk@194143 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-11 17:06:55 +00:00
bent.mozilla%gmail.com
9366993310 Bug 328790 - Removing an extra NS_ADDREF that somehow crept into the other checkin. r=brettw, a=darin.
git-svn-id: svn://10.0.0.236/trunk@193823 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-07 18:09:12 +00:00
bent.mozilla%gmail.com
be05191a13 Bug 328790 - "main thread never joins with async-io thread". r=brettw.
git-svn-id: svn://10.0.0.236/trunk@193707 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-06 17:22:30 +00:00
benjamin%smedbergs.us
1d96139141 Bug 78081 - don't export intermediate libraries - initial makefile changes to switch from $(DIST)/lib to in-tree library locations - blanket-r=mento
git-svn-id: svn://10.0.0.236/trunk@193695 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-06 14:45:37 +00:00
benjamin%smedbergs.us
5844b98826 Bug 331476 - Make storage test use the XPCOM glue, r=vlad
git-svn-id: svn://10.0.0.236/trunk@193061 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-27 19:43:09 +00:00
benjamin%smedbergs.us
9b84caf537 Don't build storage tests until libxul is available
git-svn-id: svn://10.0.0.236/trunk@192849 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-23 15:52:20 +00:00
dmose%mozilla.org
9e7497272d 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/trunk@191875 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-07 03:48:38 +00:00
dmose%mozilla.org
207f5c15c5 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/trunk@191818 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-06 05:40:35 +00:00
brettw%gmail.com
5a9aff9b1e Bug 327317 r=vladimir Create IndexExists function
git-svn-id: svn://10.0.0.236/trunk@191419 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-28 20:57:39 +00:00
brettw%gmail.com
fee18fc767 Bug 327907 r=bryner Fix DB corruption problem. Truncate was using the wrong
value.


git-svn-id: svn://10.0.0.236/trunk@191210 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-24 22:26:56 +00:00
brettw%gmail.com
968ad4c051 Bug 327740 r=vladimir Replaces REINTERPRET_CASTs with STATIC_CASTs in
mozStorageAsyncIO.cpp


git-svn-id: svn://10.0.0.236/trunk@191053 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-23 19:25:40 +00:00
timeless%mozdev.org
af51e73d0e Bug 106386 Correct misspellings in source code
r=bernd rs=brendan


git-svn-id: svn://10.0.0.236/trunk@191013 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-23 09:36:43 +00:00
brettw%gmail.com
19227a20ac Bug 328212 r=vladimir Update AsyncIO with fixed bugs in sqlite tree.
git-svn-id: svn://10.0.0.236/trunk@190883 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-22 21:14:42 +00:00
brettw%gmail.com
2e8477f690 Bug 327567, r=darin. Storage connections should not outlive service (crasher).
git-svn-id: svn://10.0.0.236/trunk@190397 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-17 21:29:00 +00:00
benjamin%smedbergs.us
ca28b99b40 Bug 327638 - PRInt64 and sqlite_int64 are not automatically compatible types, r=vlad
git-svn-id: svn://10.0.0.236/trunk@190395 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-17 21:25:14 +00:00
brettw%gmail.com
b5b61cfcdf Bug 327557, r=darin. Storage service keeps references to main thread.
git-svn-id: svn://10.0.0.236/trunk@190316 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-17 00:36:24 +00:00
brettw%gmail.com
641d27349f Bug 326334 r=vladimir, darin Multithreaded commit for storage.
git-svn-id: svn://10.0.0.236/trunk@190198 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-16 02:59:42 +00:00
benjamin%smedbergs.us
014bc7ca87 Bug 327188 - enable places by default, r=bryner
git-svn-id: svn://10.0.0.236/trunk@190124 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-15 18:46:10 +00:00
brettw%gmail.com
e30db4b767 Bug 324994 forgotten interface documentation.
git-svn-id: svn://10.0.0.236/trunk@189391 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-08 02:18:12 +00:00
brettw%gmail.com
a1d80f3572 Bug 324994 r=bryner sr=vladimir GetString should set IsVoid when column is
null.


git-svn-id: svn://10.0.0.236/trunk@189368 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 23:10:16 +00:00
brettw%gmail.com
8f1bec73dd Bug 319453, r=vladimir: Bounds check GetBlob, return NULL if 0 size.
git-svn-id: svn://10.0.0.236/trunk@185769 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-07 20:52:33 +00:00
vladimir%pobox.com
a90771657e b=273050, bump interface UUIDs and fix test compilation
git-svn-id: svn://10.0.0.236/trunk@184658 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-15 19:35:39 +00:00
vladimir%pobox.com
df10e47ecb b=273050, storage module interface review, r=darin
git-svn-id: svn://10.0.0.236/trunk@184622 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-15 00:35:50 +00:00
brettw%gmail.com
e12dbfe46f Helper class for C++ users to manage transaction scope.
bug 310636
r=bryner


git-svn-id: svn://10.0.0.236/trunk@184285 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-08 02:16:15 +00:00
brettw%gmail.com
a90e76d1b6 Added helper classes for C++ users to deal with transaction and statement
scope. Exposes sqlite's in-memory database capability.

bug 310636
r=bryner


git-svn-id: svn://10.0.0.236/trunk@184284 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-08 02:15:01 +00:00
mrbkap%gmail.com
f4d284ad5b bug 311024: Make sure eval grabs the right scope object. r=brendan sr=jst
git-svn-id: svn://10.0.0.236/trunk@181803 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-08 00:28:45 +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