]> git.ipfire.org Git - thirdparty/sqlite.git/log
thirdparty/sqlite.git
12 years agoAdd assert to check that the memory block for the previous directory value was alloca... win32SetDir
mistachkin [Wed, 22 Aug 2012 00:18:27 +0000 (00:18 +0000)] 
Add assert to check that the memory block for the previous directory value was allocated via sqlite3_malloc or related function.

FossilOrigin-Name: 1246f15b146ebf6518fb8f5c92a1ebc9495cd9dc

12 years agoAdded sqlite3_win32_set_directory API to assist in portability to WinRT.
mistachkin [Tue, 21 Aug 2012 23:33:45 +0000 (23:33 +0000)] 
Added sqlite3_win32_set_directory API to assist in portability to WinRT.

FossilOrigin-Name: 600de08d40ceead24f425d20429d60f5732f8ba7

12 years agoUpdate the spellfix virtual table so that all OOM errors are reported out
drh [Tue, 21 Aug 2012 17:44:05 +0000 (17:44 +0000)] 
Update the spellfix virtual table so that all OOM errors are reported out
to the application.

FossilOrigin-Name: 573770f5a66fa4d708931b30350149eb739da607

12 years agoAdd the SQLITE_DISABLE_FTS4_DEFERRED compile time option.
dan [Mon, 20 Aug 2012 17:24:48 +0000 (17:24 +0000)] 
Add the SQLITE_DISABLE_FTS4_DEFERRED compile time option.

FossilOrigin-Name: e799222f3b8246e65657a758437914ece7069ba9

12 years agoChange the checkSpacing utility program to ignore whitespace at end-of-line
drh [Mon, 20 Aug 2012 16:23:36 +0000 (16:23 +0000)] 
Change the checkSpacing utility program to ignore whitespace at end-of-line
unless the --wseol option is used.

FossilOrigin-Name: be1faadebd9464f1c7d4cc26104f219ed35384b8

12 years agoSilence harmless compiler warnings in the test code.
drh [Mon, 20 Aug 2012 16:08:29 +0000 (16:08 +0000)] 
Silence harmless compiler warnings in the test code.

FossilOrigin-Name: 7653973a525638b5e5e70ea8459f64e1a88befca

12 years agoRemove tab characters from source code files. Replace them with spaces.
drh [Mon, 20 Aug 2012 15:53:54 +0000 (15:53 +0000)] 
Remove tab characters from source code files.  Replace them with spaces.

FossilOrigin-Name: 7edd10a960d5ff121e470b0549b0aa9fb7760022

12 years agoAdd a command-line program to tool/ that will check source code files for
drh [Mon, 20 Aug 2012 15:46:08 +0000 (15:46 +0000)] 
Add a command-line program to tool/ that will check source code files for
the presence of tabs, carriage-returns, whitespace at the ends of lines,
and blank lines at the ends of files.

FossilOrigin-Name: 656a9c8b47d262e0982ad3a35db490e2ff4d856e

12 years agoClarify that the number-of-bytes parameter to sqlite3_bind_blob() must
drh [Fri, 17 Aug 2012 13:44:31 +0000 (13:44 +0000)] 
Clarify that the number-of-bytes parameter to sqlite3_bind_blob() must
be non-negative.

FossilOrigin-Name: b1b01c4cd9798d69951665ed7d6d9f79f6b463a1

12 years agoFix MSVC compiler warning in the spellfix module. Also, add an assert.
mistachkin [Fri, 17 Aug 2012 12:13:11 +0000 (12:13 +0000)] 
Fix MSVC compiler warning in the spellfix module.  Also, add an assert.

FossilOrigin-Name: e66cf0401fab766f62c1d263dcb1efb67b2075a9

12 years agoSkip defining some WAL specific things in the Win32 VFS code when compiling without...
mistachkin [Fri, 17 Aug 2012 11:47:32 +0000 (11:47 +0000)] 
Skip defining some WAL specific things in the Win32 VFS code when compiling without WAL support.  Also, fix an example command line in the MSVC makefile.

FossilOrigin-Name: 61b1ae121782525b37882a559d0fbb7c85237fd5

12 years agoChanges to the spellfix test script to make the results deterministic.
drh [Wed, 15 Aug 2012 16:43:07 +0000 (16:43 +0000)] 
Changes to the spellfix test script to make the results deterministic.

FossilOrigin-Name: 31c07db2560ee867723c41cdb634e2aa7993634d

12 years agoChange autoconf so that the --with-tcl=DIR option will override the
drh [Wed, 15 Aug 2012 16:06:54 +0000 (16:06 +0000)] 
Change autoconf so that the --with-tcl=DIR option will override the
TCL configuration that is found using tclsh.

FossilOrigin-Name: 772d0de3f311f2035f8a42f01371c96c9fa587ce

12 years agoSilence three harmless compiler warnings in vdbesort.c.
drh [Tue, 14 Aug 2012 19:04:27 +0000 (19:04 +0000)] 
Silence three harmless compiler warnings in vdbesort.c.

FossilOrigin-Name: a5431c86df442c6e6dfaeae8e8aa62b56d204e97

12 years agoAdd an assert() to the btree rebalancer in order to silence a
drh [Tue, 14 Aug 2012 18:43:39 +0000 (18:43 +0000)] 
Add an assert() to the btree rebalancer in order to silence a
clang/scan-build warning.

FossilOrigin-Name: 6730579cf5c6c74cb293e7237d896d3a3a36b691

12 years agoUpdate the spellfix virtual table to the latest development code.
drh [Tue, 14 Aug 2012 17:29:27 +0000 (17:29 +0000)] 
Update the spellfix virtual table to the latest development code.

FossilOrigin-Name: 6954fef006431d153de6e63e362b8d260ebeb1c6

12 years agoRefer to the file mapping Win32 API functions only when absolutely necessary.
mistachkin [Tue, 14 Aug 2012 01:45:12 +0000 (01:45 +0000)] 
Refer to the file mapping Win32 API functions only when absolutely necessary.

FossilOrigin-Name: 1de2237d005fa1a1e1d034820d17daf64a860f81

12 years agoRefer to the WaitForSingleObjectEx and SetFilePointerEx Win32 functions only for...
mistachkin [Mon, 13 Aug 2012 22:05:22 +0000 (22:05 +0000)] 
Refer to the WaitForSingleObjectEx and SetFilePointerEx Win32 functions only for platforms where they are going to be used.

FossilOrigin-Name: 9888ce9294c09749f5c958f965f949561867fea0

12 years agoWhen populating an index b-tree as part of a CREATE INDEX or REINDEX statement, distr...
dan [Wed, 8 Aug 2012 14:04:56 +0000 (14:04 +0000)] 
When populating an index b-tree as part of a CREATE INDEX or REINDEX statement, distribute cells between up to three siblings in balance_nonroot() instead of four. This produces identical database files, but is slightly faster.

FossilOrigin-Name: b0d31e779ecf01c5a235443c05f488b177ac3045

12 years agoWhen building a b-tree as part of a CREATE INDEX or REINDEX statement, attempt to...
dan [Wed, 8 Aug 2012 11:55:15 +0000 (11:55 +0000)] 
When building a b-tree as part of a CREATE INDEX or REINDEX statement, attempt to pack keys into pages as tightly as possible.

FossilOrigin-Name: efea62b96c6a242c8ac2bdad70e50c87aee5e871

12 years agoChange to securedel2.test so that it works even if SQLITE_DEFAULT_AUTOVACUUM=1 is...
dan [Wed, 8 Aug 2012 10:14:10 +0000 (10:14 +0000)] 
Change to securedel2.test so that it works even if SQLITE_DEFAULT_AUTOVACUUM=1 is defined.

FossilOrigin-Name: 1e6f5ea48174e3cb59e6d9fe1293fd87bd9c78f5

12 years agoSimplifications to the sorter to support full-coverage testing.
drh [Tue, 7 Aug 2012 22:53:01 +0000 (22:53 +0000)] 
Simplifications to the sorter to support full-coverage testing.

FossilOrigin-Name: de804f4c90f02ca98991da185ed5e28bdd319e92

12 years agoAdd extra tests for secure-delete mode.
dan [Tue, 7 Aug 2012 17:41:50 +0000 (17:41 +0000)] 
Add extra tests for secure-delete mode.

FossilOrigin-Name: e380cd3ce34d509e184081ecccf27fda11ce1da7

12 years agoFix a bug in hash.c introduced by [305b66672653].
dan [Tue, 7 Aug 2012 15:19:27 +0000 (15:19 +0000)] 
Fix a bug in hash.c introduced by [305b66672653].

FossilOrigin-Name: 17cb5e951e419b1221ae4595d20059d90a361a39

12 years agoDo not run test script spellfix.test if SQLITE_OMIT_VIRTUAL_TABLE is defined. Fix...
dan [Tue, 7 Aug 2012 14:18:18 +0000 (14:18 +0000)] 
Do not run test script spellfix.test if SQLITE_OMIT_VIRTUAL_TABLE is defined. Fix walro.test so that it works if DEFAULT_AUTOVACUUM is defined.

FossilOrigin-Name: 26428b459b45d0fa9fcad7eb5e58bd60b04a0f83

12 years agoFix a bug in walthread.test causing intermittent failures.
dan [Tue, 7 Aug 2012 13:55:41 +0000 (13:55 +0000)] 
Fix a bug in walthread.test causing intermittent failures.

FossilOrigin-Name: a192a718d513002b58ad585fcb3d8b9b49b4b123

12 years agoModify VSIX package generation tool to put the PDB files in the Debug directory.
mistachkin [Mon, 6 Aug 2012 22:29:26 +0000 (22:29 +0000)] 
Modify VSIX package generation tool to put the PDB files in the Debug directory.

FossilOrigin-Name: 9d0720833fd52b25e62aca9ab4cf1e234fd792aa

12 years agoMerge the sorter-coalesce-writes branch into the trunk. This improves CREATE INDEX...
dan [Mon, 6 Aug 2012 19:28:20 +0000 (19:28 +0000)] 
Merge the sorter-coalesce-writes branch into the trunk. This improves CREATE INDEX performance on some platforms.

FossilOrigin-Name: e1e9cb08b011e67b767091e42225f22ec862fa64

12 years agoFix a crash that could follow an OOM condition. sorter-coalesce-writes
dan [Mon, 6 Aug 2012 19:12:17 +0000 (19:12 +0000)] 
Fix a crash that could follow an OOM condition.

FossilOrigin-Name: 2e5741f774248abc678b50711c43e38ca30c9091

12 years agoWhen reusing pages as part of creating a new index, allocate the leaves from each...
dan [Mon, 6 Aug 2012 18:50:11 +0000 (18:50 +0000)] 
When reusing pages as part of creating a new index, allocate the leaves from each free-list trunk page in ascending order, instead of trying to maximize localization for each individual allocation. This increases the chance that pages will be written to disk in ascending order by a large CREATE INDEX statement, improving overall performance.

FossilOrigin-Name: d045f8b2d44e388d8c4549ff02d4ca7eff4e2038

12 years agoUpdate sorter-coalesce-writes branch with latest trunk changes.
dan [Mon, 6 Aug 2012 18:10:09 +0000 (18:10 +0000)] 
Update sorter-coalesce-writes branch with latest trunk changes.

FossilOrigin-Name: 214f8cda1727e0eee51605be487d4cf4f2dfb6db

12 years agoUpdate description strings in the VSIX package.
mistachkin [Mon, 6 Aug 2012 10:51:55 +0000 (10:51 +0000)] 
Update description strings in the VSIX package.

FossilOrigin-Name: 541e9310a7b88e0b40c6530947803527f28e51de

12 years agoCorrect comment about WinRT compiler define. No changes to code.
mistachkin [Fri, 3 Aug 2012 10:00:56 +0000 (10:00 +0000)] 
Correct comment about WinRT compiler define.  No changes to code.

FossilOrigin-Name: 335e91e599555d9f4e42f90576d1676c381314f4

12 years agoFix typos of function names sqlite3_result_error_toobig and sqlite3_result_error_nome...
mistachkin [Wed, 1 Aug 2012 20:20:27 +0000 (20:20 +0000)] 
Fix typos of function names sqlite3_result_error_toobig and sqlite3_result_error_nomem in the documentation. No changes to code.

FossilOrigin-Name: bec97c98130f057321f3db1436a24377c3c64f81

12 years agoMake the list of platforms dynamic in the SDK manifest inside the VSIX package.
mistachkin [Tue, 31 Jul 2012 08:15:56 +0000 (08:15 +0000)] 
Make the list of platforms dynamic in the SDK manifest inside the VSIX package.

FossilOrigin-Name: 22b72e499d2aeba42d0531ae58f87ff023787f47

12 years agoModify metadata for the VSIX package and add tooling support for PDBs.
mistachkin [Tue, 31 Jul 2012 00:43:31 +0000 (00:43 +0000)] 
Modify metadata for the VSIX package and add tooling support for PDBs.

FossilOrigin-Name: 12cbf6a9343ffb24065f77f679e50b67bc2e43f9

12 years agoReplace a few sqlite3_malloc()+memset() sequences with calls to sqlite3MallocZero().
dan [Mon, 30 Jul 2012 14:53:54 +0000 (14:53 +0000)] 
Replace a few sqlite3_malloc()+memset() sequences with calls to sqlite3MallocZero().

FossilOrigin-Name: 305b6667265353b858b79bfea1745e64ff3bb7d3

12 years agoImprove consistency in handling of build outputs and native library paths in the...
mistachkin [Fri, 27 Jul 2012 23:03:47 +0000 (23:03 +0000)] 
Improve consistency in handling of build outputs and native library paths in the multi-platform build tool for MSVC.

FossilOrigin-Name: e71f2de2cc7c4ef5ee31da81b6615886f6e601e7

12 years agoMinor adjustments to the multi-platform build tool for MSVC.
mistachkin [Fri, 27 Jul 2012 22:29:25 +0000 (22:29 +0000)] 
Minor adjustments to the multi-platform build tool for MSVC.

FossilOrigin-Name: e76b8f7765a91f4306cddb245e731084008f0b8c

12 years agoFor the clean makefile targets, delete the generated VSIX file as well.
mistachkin [Fri, 27 Jul 2012 08:33:10 +0000 (08:33 +0000)] 
For the clean makefile targets, delete the generated VSIX file as well.

FossilOrigin-Name: d575d9619abd03322b73f89882d6da7c0820f285

12 years agoModify the multi-platform build tool for MSVC to support the latest RC version.
mistachkin [Fri, 27 Jul 2012 08:21:45 +0000 (08:21 +0000)] 
Modify the multi-platform build tool for MSVC to support the latest RC version.

FossilOrigin-Name: 95b65883bbf476a17f09ff978df4f51af615baab

12 years agoAdd tool to build the core DLL for multiple platforms using MSVC.
mistachkin [Fri, 27 Jul 2012 07:13:25 +0000 (07:13 +0000)] 
Add tool to build the core DLL for multiple platforms using MSVC.

FossilOrigin-Name: e42f5812f142522852f6dc72430bc7afdd6f2ed3

12 years agoAdd tool to generate a VSIX package usable by Visual Studio 2012 RC.
mistachkin [Fri, 27 Jul 2012 02:36:06 +0000 (02:36 +0000)] 
Add tool to generate a VSIX package usable by Visual Studio 2012 RC.

FossilOrigin-Name: 8b90e0c4dbcedaf3e61c5d49452997705be1ef98

12 years agoUpdate some comments in vdbesort.c.
dan [Thu, 26 Jul 2012 09:21:14 +0000 (09:21 +0000)] 
Update some comments in vdbesort.c.

FossilOrigin-Name: f4b3fded231231ef15bde98d2a996b4e16415d4c

12 years agoMark parameters to sorter interfaces as const where appropriate.
drh [Tue, 24 Jul 2012 19:46:38 +0000 (19:46 +0000)] 
Mark parameters to sorter interfaces as const where appropriate.

FossilOrigin-Name: d8da26f1f43610ac83af2a5d0e170be5abaf7aaa

12 years agoAdd another define to the MSVC makefile that is sometimes required to build cleanly...
mistachkin [Tue, 24 Jul 2012 06:02:35 +0000 (06:02 +0000)] 
Add another define to the MSVC makefile that is sometimes required to build cleanly for WinRT.

FossilOrigin-Name: d582cd890d88e873d76a23545bcd49cf093ee9d2

12 years agoRefactor field names in the SelectDest object to make them distinct and easier
drh [Mon, 23 Jul 2012 21:43:19 +0000 (21:43 +0000)] 
Refactor field names in the SelectDest object to make them distinct and easier
to grep for.

FossilOrigin-Name: b589f1efb3907a68058bf2ee981dca126d083e83

12 years agoFix an edge case in vdbesort.c.
dan [Mon, 23 Jul 2012 20:10:35 +0000 (20:10 +0000)] 
Fix an edge case in vdbesort.c.

FossilOrigin-Name: 4ba266fc534f390267180eca8d68b8d5f0b7f832

12 years agoModify the code in vdbesort.c so that most reads and writes to temporary files are...
dan [Mon, 23 Jul 2012 19:25:39 +0000 (19:25 +0000)] 
Modify the code in vdbesort.c so that most reads and writes to temporary files are aligned page-sized blocks.

FossilOrigin-Name: 55e47ef338c42f95f0f071d6ec92cd2480f9f1fe

12 years agoEnsure that there is always at least one aReadMark slot usable by an unprivileged...
dan [Tue, 17 Jul 2012 14:37:12 +0000 (14:37 +0000)] 
Ensure that there is always at least one aReadMark slot usable by an unprivileged reader while a checkpoint is running. Also, if one or more transactions are recovered from a log file, initialize one of the aReadMark slots to contain mxFrame as part of the recovery process.

FossilOrigin-Name: e4163596339c2166f9c4356ab824fff8bda8d0b0

12 years agoAmplification of a comment in wal.c. Change the aReadMark[] processing so
drh [Tue, 17 Jul 2012 02:56:05 +0000 (02:56 +0000)] 
Amplification of a comment in wal.c.  Change the aReadMark[] processing so
that one read mark is left at zero when a WAL resets.

FossilOrigin-Name: 8c9ee1d78f99394eef73a177141ca9e1c67e4e07

12 years agoMerge the spellfix1 changes for supporting matchlen into trunk.
drh [Mon, 16 Jul 2012 23:13:19 +0000 (23:13 +0000)] 
Merge the spellfix1 changes for supporting matchlen into trunk.

FossilOrigin-Name: 6f167adf6050632e8c52f9ac4fb5583bcf27c576

12 years agoFix compiler warnings about unused code in spellfix. Fix the editDist3Core() spellfix-matchlen
drh [Mon, 16 Jul 2012 22:16:44 +0000 (22:16 +0000)] 
Fix compiler warnings about unused code in spellfix.  Fix the editDist3Core()
routine to return the matchlen in characters instead of bytes.

FossilOrigin-Name: f96d4e7bd7d81b05b1490bf5d79c77ff583e444c

12 years agoFix a bug in the phonetic-hash routine in spellfix1: Even if the first character...
dan [Mon, 16 Jul 2012 14:52:49 +0000 (14:52 +0000)] 
Fix a bug in the phonetic-hash routine in spellfix1: Even if the first character of a word is deemed to be "silent", do not apply the special handling intended for the first character of each word to the second.

FossilOrigin-Name: 6333b42dd292e8e567c3fce1c371d6f58021af88

12 years agoMerge trunk changes.
dan [Mon, 16 Jul 2012 10:25:54 +0000 (10:25 +0000)] 
Merge trunk changes.

FossilOrigin-Name: 90df64ab803001819b3ebbb41d596aedbd9961b1

12 years agoIf a specific database is nominated as part of a "PRAGMA integrity_check" or "PRAGMA...
dan [Mon, 16 Jul 2012 10:06:12 +0000 (10:06 +0000)] 
If a specific database is nominated as part of a "PRAGMA integrity_check" or "PRAGMA quick_check" command, search for problems in the nominated database only. i.e. "PRAGMA main.quick_check" now only scans the main database, not all attached databases as before.

FossilOrigin-Name: 4353e40b74f577f224f190c429bfe03cf6a5c6d6

12 years agoAdd the "matchlen" column to the spellfix1 virtual table.
dan [Fri, 13 Jul 2012 19:26:34 +0000 (19:26 +0000)] 
Add the "matchlen" column to the spellfix1 virtual table.

FossilOrigin-Name: f24b9d87f6b0e8b4d26669d5c1191f9280ba14a3

12 years agoUpdate test_spellfix.c with latest changes.
dan [Fri, 13 Jul 2012 16:15:20 +0000 (16:15 +0000)] 
Update test_spellfix.c with latest changes.

FossilOrigin-Name: cba2a65870481df213e006b07e74f0ca19d2d57c

13 years agoSetup the necessary library paths for cross-compilation with MSVC.
mistachkin [Sat, 30 Jun 2012 22:22:34 +0000 (22:22 +0000)] 
Setup the necessary library paths for cross-compilation with MSVC.

FossilOrigin-Name: 7fac56ed9feda819e66070bd5e06db8cad77e8bd

13 years agoSimplify usage of some linker options in the MSVC makefile.
mistachkin [Sat, 30 Jun 2012 19:24:09 +0000 (19:24 +0000)] 
Simplify usage of some linker options in the MSVC makefile.

FossilOrigin-Name: 03016020664a7459cb01c8ac9016b20af8a416bb

13 years agoMake use of the predefined nmake command macro CC when possible instead of the litera...
mistachkin [Sat, 30 Jun 2012 16:22:05 +0000 (16:22 +0000)] 
Make use of the predefined nmake command macro CC when possible instead of the literal string 'cl.exe'.  Improve support for cross-compilation.  Eliminate problematic use of double quotes in macro preprocessing expressions.

FossilOrigin-Name: 6c88229aa39775a7438befebe1640a30affc72c8

13 years agoAnother changes to the shell in support of SQLITE_OMIT_AUTOINIT.
drh [Wed, 27 Jun 2012 16:41:31 +0000 (16:41 +0000)] 
Another changes to the shell in support of SQLITE_OMIT_AUTOINIT.

FossilOrigin-Name: 3b4f5add04259eec145066312bcd532182cc339c

13 years agoUpdate the shell so that it works with SQLITE_OMIT_FLOATING_POINT and
drh [Wed, 27 Jun 2012 16:12:27 +0000 (16:12 +0000)] 
Update the shell so that it works with SQLITE_OMIT_FLOATING_POINT and
SQLITE_OMIT_AUTOINIT.

FossilOrigin-Name: 95c0c995fd18c2de907a39fc52299c8abe502b68

13 years agoRemove code that was incorrectly changing SQLITE_MISUSE errors into SQLITE_OK
drh [Thu, 21 Jun 2012 17:21:52 +0000 (17:21 +0000)] 
Remove code that was incorrectly changing SQLITE_MISUSE errors into SQLITE_OK
in sqlite3_finalize().

FossilOrigin-Name: d5e6880279210ca63e2d5e7f6d009f30566f1242

13 years agoAdd the sqlite3_close_v2() interface (from the deferred-close branch) that
drh [Thu, 21 Jun 2012 15:51:42 +0000 (15:51 +0000)] 
Add the sqlite3_close_v2() interface (from the deferred-close branch) that
allows close operations to happen out-of-order in bindings to
garbage-collected langauges.

FossilOrigin-Name: fb8893abeefabe9de44e34dcf4327764481189f5

13 years agoMerge changes to trunk that ensure that floating point values are exactly
drh [Thu, 21 Jun 2012 15:22:04 +0000 (15:22 +0000)] 
Merge changes to trunk that ensure that floating point values are exactly
preserved on a round-trip through ".dump".

FossilOrigin-Name: 4cebd60704f92bb3689c126f46feadc3516d3d45

13 years agoFix spelling typo.
mistachkin [Thu, 21 Jun 2012 15:12:30 +0000 (15:12 +0000)] 
Fix spelling typo.

FossilOrigin-Name: 6131a0002fea5d6f3b416a63a466bf2b69d1e12d

13 years agoRemove more references to OS/2.
mistachkin [Thu, 21 Jun 2012 15:09:20 +0000 (15:09 +0000)] 
Remove more references to OS/2.

FossilOrigin-Name: eebd594d6bd09c77727620a818d7dc0b091f55b4

13 years agoDisable the atof1.test module when compiling on MSVC. floating-point-conversions
drh [Thu, 21 Jun 2012 15:02:26 +0000 (15:02 +0000)] 
Disable the atof1.test module when compiling on MSVC.

FossilOrigin-Name: 0f706acfc7181f2714a06b2c232677ebeede3a44

13 years agoIncrease the version number to 3.7.14 and rerun autoconf
drh [Thu, 21 Jun 2012 14:31:40 +0000 (14:31 +0000)] 
Increase the version number to 3.7.14 and rerun autoconf

FossilOrigin-Name: 8c9f564a2a07603f1852ccb45089fe84591cf68f

13 years agoFix the SQLITE_ZERO_MALLOC compile-time option so that it works on windows.
drh [Thu, 21 Jun 2012 14:25:17 +0000 (14:25 +0000)] 
Fix the SQLITE_ZERO_MALLOC compile-time option so that it works on windows.

FossilOrigin-Name: b80bc52f8964569f948c5671e9d58e4d199a08dc

13 years agoMerge several compiler compatibility fixes to trunk.
mistachkin [Thu, 21 Jun 2012 14:05:15 +0000 (14:05 +0000)] 
Merge several compiler compatibility fixes to trunk.

FossilOrigin-Name: d3d491a5461e21d84c6425977b80deedc7fa8a3a

13 years agoRemove support for OS/2 from the source tree.
drh [Thu, 21 Jun 2012 13:00:37 +0000 (13:00 +0000)] 
Remove support for OS/2 from the source tree.

FossilOrigin-Name: ff828c67e5d3c1afa5bc3a304b9c6fcc7b3ea5fa

13 years agoWhen linking to the MSVC runtime library, use the debug library when necessary. ...
mistachkin [Thu, 21 Jun 2012 04:21:35 +0000 (04:21 +0000)] 
When linking to the MSVC runtime library, use the debug library when necessary.  Also, link dynamically to the MSVC runtime library when required (e.g. WinRT) or requested via the USE_CRT_DLL build macro.

FossilOrigin-Name: f6be345ad5ff739bd64114489930bab970e7972e

13 years agoAdd tests to check that the "unicode61" and "icu" tokenizers both identify white...
dan [Tue, 19 Jun 2012 06:35:39 +0000 (06:35 +0000)] 
Add tests to check that the "unicode61" and "icu" tokenizers both identify white-space codepoints outside the ASCII range.

FossilOrigin-Name: bfb2d4730cbbe18fb940e72f4fde9122d550734e

13 years agoMove variable declaration to fix compilation with MSVC.
mistachkin [Tue, 19 Jun 2012 04:36:48 +0000 (04:36 +0000)] 
Move variable declaration to fix compilation with MSVC.

FossilOrigin-Name: d45f7a013f05fe7603d5e6d02df0e6bab2c7ffd8

13 years agoFix an incorrect testcase for the round() function. All tests are passing
drh [Tue, 19 Jun 2012 03:59:30 +0000 (03:59 +0000)] 
Fix an incorrect testcase for the round() function.  All tests are passing
now, including new real->text->real round-trip tests.

FossilOrigin-Name: 963eb24f737f184d5fcdcd92ebf90466f818cfd8

13 years agoRound-trip conversions of real->text->real are now lossless on x64 with GCC.
drh [Tue, 19 Jun 2012 03:35:05 +0000 (03:35 +0000)] 
Round-trip conversions of real->text->real are now lossless on x64 with GCC.
Untested on other platforms so far.  Still a corner-case problem with round().

FossilOrigin-Name: fd7bd4a59361be41b10522abc212cf56fb5e35b4

13 years agoImproved accuracy on text-to-real and real-to-text conversions. Most
drh [Tue, 19 Jun 2012 03:11:25 +0000 (03:11 +0000)] 
Improved accuracy on text-to-real and real-to-text conversions.  Most
conversions now round-trip correctly.  Still need to fix some corner
cases.

FossilOrigin-Name: 8ecffca900cd6a8922001fd458a266ce8c83fb66

13 years agoImproved rounding accuracy on test-to-float conversions.
drh [Tue, 19 Jun 2012 00:45:16 +0000 (00:45 +0000)] 
Improved rounding accuracy on test-to-float conversions.

FossilOrigin-Name: 699b792c6a0e989994549959b11ec1bfad8bbd92

13 years agoFix a problem with identifying white-space characters outside of the ascii range...
dan [Mon, 18 Jun 2012 20:52:32 +0000 (20:52 +0000)] 
Fix a problem with identifying white-space characters outside of the ascii range in the ICU tokenizer.

FossilOrigin-Name: 892b74116a3b23268895b96433d18ef00c1433d8

13 years agoAllow the SQLITE_API macro to apply to the sqlite3_win32_sleep function. compiler-compat
mistachkin [Mon, 18 Jun 2012 17:15:29 +0000 (17:15 +0000)] 
Allow the SQLITE_API macro to apply to the sqlite3_win32_sleep function.

FossilOrigin-Name: 21266c68afb067ff40062df1e8b383dfd247c17b

13 years agoFix a few compilation issues that can occur with certain compilers (e.g. GCC 2.95...
mistachkin [Mon, 18 Jun 2012 08:00:56 +0000 (08:00 +0000)] 
Fix a few compilation issues that can occur with certain compilers (e.g. GCC 2.95.3, MSVC).

FossilOrigin-Name: f970a3de61fe2ebaf1778c4a3383cfdc52299162

13 years agoIn Lemon, when comparing the output to the *.h file to see if it has changed,
drh [Sat, 16 Jun 2012 15:26:31 +0000 (15:26 +0000)] 
In Lemon, when comparing the output to the *.h file to see if it has changed,
make sure that the proposed new output and the preexisting output are the
same size before deciding that they are the same.

FossilOrigin-Name: 0c2fb18d25217ada7e75dcab8b342bbc632875d8

13 years agoFix compiler warning. deferred-close
mistachkin [Fri, 15 Jun 2012 20:42:43 +0000 (20:42 +0000)] 
Fix compiler warning.

FossilOrigin-Name: 37d9bc061d5ecfe37ccbd6f559986d7ae0449179

13 years agoVersion 3.7.13 version-3.7.13
drh [Mon, 11 Jun 2012 02:05:22 +0000 (02:05 +0000)] 
Version 3.7.13

FossilOrigin-Name: f5b5a13f7394dc143aa136f1d4faba6839eaa6dc

13 years agoAdd missing targets for fts3_unicode.lo and fts3_unicode2.lo to Makefile.in.
dan [Sat, 9 Jun 2012 18:52:29 +0000 (18:52 +0000)] 
Add missing targets for fts3_unicode.lo and fts3_unicode2.lo to Makefile.in.

FossilOrigin-Name: 0ae0ce630a2e11f81dca50a9cfb04c4a41c03b2d

13 years agoFix an obscure memory leak in FTS3 that can come about when two memory
drh [Fri, 8 Jun 2012 14:01:53 +0000 (14:01 +0000)] 
Fix an obscure memory leak in FTS3 that can come about when two memory
allocations are immediately adjacent to one another.

FossilOrigin-Name: 025227be5495f950c466dfabac140cba69e498be

13 years agoFix a problem in vtab1.test causing it to fail when run with any permutation that...
dan [Fri, 8 Jun 2012 11:48:40 +0000 (11:48 +0000)] 
Fix a problem in vtab1.test causing it to fail when run with any permutation that executes SQL within the tcl "sqlite3" command.

FossilOrigin-Name: 006db555260273209933371d17afb33d557baa68

13 years agoDocumentation and evidence mark updates. Remove a redundant assert().
drh [Thu, 7 Jun 2012 17:57:23 +0000 (17:57 +0000)] 
Documentation and evidence mark updates.  Remove a redundant assert().

FossilOrigin-Name: cfcbf9375fddd0aae0dd17bdc76a710ab77ef667

13 years agoFix a problem preventing a shared in-memory database from being attached to a read...
dan [Thu, 7 Jun 2012 17:16:04 +0000 (17:16 +0000)] 
Fix a problem preventing a shared in-memory database from being attached to a read-only connection.

FossilOrigin-Name: 7caca1939ce70d5b14ae8ca8ff6afb62f8aff361

13 years agoAdd the "tokenchars=" and "separators=" options, for customizing the set of character...
dan [Thu, 7 Jun 2012 15:53:48 +0000 (15:53 +0000)] 
Add the "tokenchars=" and "separators=" options, for customizing the set of characters considered to be token separators, to the unicode61 tokenizer.

FossilOrigin-Name: e56fb462aa1f11bb23303ae0dc62815c21e26a52

13 years agoFix a malloc/free mismatch in pager.c (sqlite3_free() called on a buffer allocated...
dan [Thu, 7 Jun 2012 07:24:04 +0000 (07:24 +0000)] 
Fix a malloc/free mismatch in pager.c (sqlite3_free() called on a buffer allocated by sqlite3DbMalloc()).

FossilOrigin-Name: 506008f000ba4af0b35da023b8c52f7a3f5033bd

13 years agoProvide an (undocumented) compile-time option to disable the page cache
drh [Thu, 7 Jun 2012 02:35:29 +0000 (02:35 +0000)] 
Provide an (undocumented) compile-time option to disable the page cache
overflow counter, in order to avoid a mutex.

FossilOrigin-Name: 208825cd830748a2ca456affc57be75bbe618e47

13 years agoFix harmless Clang warnings.
drh [Wed, 6 Jun 2012 23:59:36 +0000 (23:59 +0000)] 
Fix harmless Clang warnings.

FossilOrigin-Name: 31fe1985ad6be5eb04bbe85da378c2385c503ceb

13 years agoFix an #if that is applicable to WinRT, even thought it is currently disabled by...
mistachkin [Wed, 6 Jun 2012 23:25:33 +0000 (23:25 +0000)] 
Fix an #if that is applicable to WinRT, even thought it is currently disabled by another #if.

FossilOrigin-Name: baa8b7830779d5797e210a2e057181413412e152

13 years agoMerge the changes need to compile on WinRT into trunk.
drh [Wed, 6 Jun 2012 23:23:23 +0000 (23:23 +0000)] 
Merge the changes need to compile on WinRT into trunk.

FossilOrigin-Name: 61360ca6ca3448477d5c662d3642beef6dd2079e

13 years agoDisable FTS unicode61 by default. It is enabled by specifying compile time option...
dan [Wed, 6 Jun 2012 19:51:27 +0000 (19:51 +0000)] 
Disable FTS unicode61 by default. It is enabled by specifying compile time option SQLITE_ENABLE_FTS4_UNICODE61.

FossilOrigin-Name: eccd6b6580637084495b80e9232262188ba0cf8d

13 years agoHave the FTS unicode61 strip out diacritics when tokenizing text. This can be disable...
dan [Wed, 6 Jun 2012 19:30:38 +0000 (19:30 +0000)] 
Have the FTS unicode61 strip out diacritics when tokenizing text. This can be disabled by specifying the tokenizer option "remove_diacritics=0".

FossilOrigin-Name: 790f76a5898dad1a955d40edddf11f7b0fec0ccd

13 years agoAvoid resetting the shared-cache schema when on of the connections using
drh [Wed, 6 Jun 2012 19:01:13 +0000 (19:01 +0000)] 
Avoid resetting the shared-cache schema when on of the connections using
the shared cache closes.  Delay resetting the schema until the last connection
closes.

FossilOrigin-Name: 635e3a762ddeb1f952f66a08c1d4d53e3f42c9eb