130 Commits

Author SHA1 Message Date
philringnalda%gmail.com
189834a0e3 Bug 386366 - Add convenience method for getting the database schema version, patch by Shawn Wilsher <sdwilsh@mozilla.com>, r=sspitzer
git-svn-id: svn://10.0.0.236/trunk@229037 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-30 03:32:09 +00:00
sdwilsh%shawnwilsher.com
f9bff0906b Bug 385396 - Go back to vanilla sqlite files. r=mconnor
git-svn-id: svn://10.0.0.236/trunk@228600 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-22 21:34:15 +00:00
sdwilsh%shawnwilsher.com
5cf3728573 Bug 385431 - mozStorageAsyncIO.cpp:559: warning: unused variable 'message'. Patch by Ryan Jones <sciguyryan@gmail.com>. r=sdwilsh
git-svn-id: svn://10.0.0.236/trunk@228595 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-22 20:24:43 +00:00
sdwilsh%shawnwilsher.com
6fafe89a39 Bug 385262 - NOTREACHED called before logging. Patch by Ryan Jones <sciguyryan@gmail.com>. r=sdwilsh
git-svn-id: svn://10.0.0.236/trunk@228557 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-21 23:52:18 +00:00
sdwilsh%shawnwilsher.com
9401d3131e Bug 341137 - Upgrade to latest version of sqlite (take 2). r=vladimir
git-svn-id: svn://10.0.0.236/trunk@228412 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-21 03:17:27 +00:00
sdwilsh%shawnwilsher.com
e800a715fd Backout of Bug 341137
git-svn-id: svn://10.0.0.236/trunk@228352 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-19 23:47:39 +00:00
sdwilsh%shawnwilsher.com
95b6c31298 Bug 341137 - Upgrade to latest version of sqlite. r=vladimir
git-svn-id: svn://10.0.0.236/trunk@228339 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-19 19:54:02 +00:00
sdwilsh%shawnwilsher.com
8890f4c841 Bug 363024 - Calling createInstance() on mozIStorageService crashes. r=sspitzer
git-svn-id: svn://10.0.0.236/trunk@228285 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-19 02:22:02 +00:00
sdwilsh%shawnwilsher.com
75fb9868b0 Bug 384454 - Remove sqlite3_bind_parameter_indexes. r=sspitzer
git-svn-id: svn://10.0.0.236/trunk@228274 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-18 23:42:24 +00:00
dwitte%stanford.edu
8204b2758c check for non-null connection in mozStorageTransaction helper. b=384224, r=sspitzer
git-svn-id: svn://10.0.0.236/trunk@228032 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-14 04:58:52 +00:00
sdwilsh%shawnwilsher.com
2c247857ef Bug 383543 - mozStorageService cleanup. r=sspitzer
git-svn-id: svn://10.0.0.236/trunk@227930 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-12 23:31:59 +00:00
sdwilsh%shawnwilsher.com
3f11f8a1b1 Bug 383534 - mozStorageConnection ignores return values (and other cleanup). r=sspitzer
git-svn-id: svn://10.0.0.236/trunk@227926 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-12 23:19:34 +00:00
sdwilsh%shawnwilsher.com
835c2dce75 Bug 381549 - mozStorageStatement ignores return values from SQLite. r=sspitzer
git-svn-id: svn://10.0.0.236/trunk@227916 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-12 22:01:05 +00:00
sdwilsh%shawnwilsher.com
24e6aa76db Bug 383619 - Get xpcshell tests for mozStorage (windows orange fix). r=rcampbell
git-svn-id: svn://10.0.0.236/trunk@227875 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-12 16:28:30 +00:00
sdwilsh%shawnwilsher.com
b31551d232 Disabling tests from Bug Bug 383619 because windows doesn't like them :(
git-svn-id: svn://10.0.0.236/trunk@227839 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-12 04:33:25 +00:00
sdwilsh%shawnwilsher.com
a727152d86 Bug 383619 - Get xpcshell tests for mozStorage. r=vladimir
git-svn-id: svn://10.0.0.236/trunk@227838 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-12 03:59:35 +00:00
igor%mir2.org
9d7f4ec0bd Bug 377751: Switching JSClass.mark in XPConnect to the tracing semantics. r=jst, sr=brendan
git-svn-id: svn://10.0.0.236/trunk@225489 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-02 20:20:22 +00:00
igor%mir2.org
6a69122e7c Bug 377751: removal of the commit.
git-svn-id: svn://10.0.0.236/trunk@225414 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-01 21:54:29 +00:00
igor%mir2.org
f75b622125 Bug 377751: JSClass instances in xpconnect use the tracing API. r=brendan, sr=jst
git-svn-id: svn://10.0.0.236/trunk@225407 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-01 21:06:07 +00:00
vladimir%pobox.com
7aad47dd9b b=334174, corrupted db files are not handled correctly, r=brettw
git-svn-id: svn://10.0.0.236/trunk@203743 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-26 18:54:12 +00:00
brettw%gmail.com
7f78f0671b Bug 334675 r=darin a=mconnor Notify users on async IO errors
git-svn-id: svn://10.0.0.236/trunk@203637 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-25 17:04:48 +00:00
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