mistachkin
8d967a90f8
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
2012-06-21 04:21:35 +00:00
dan
3aaa4cd9ed
Add tests to check that the "unicode61" and "icu" tokenizers both identify white-space codepoints outside the ASCII range.
...
FossilOrigin-Name: bfb2d4730cbbe18fb940e72f4fde9122d550734e
2012-06-19 06:35:39 +00:00
drh
89f15088f0
Improved rounding accuracy on test-to-float conversions.
...
FossilOrigin-Name: 699b792c6a0e989994549959b11ec1bfad8bbd92
2012-06-19 00:45:16 +00:00
dan
2ae26b759d
Fix a problem with identifying white-space characters outside of the ascii range in the ICU tokenizer.
...
FossilOrigin-Name: 892b74116a3b23268895b96433d18ef00c1433d8
2012-06-18 20:52:32 +00:00
drh
8ba0d1cbca
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
2012-06-16 15:26:31 +00:00
drh
46daba87d3
Version 3.7.13
...
FossilOrigin-Name: f5b5a13f7394dc143aa136f1d4faba6839eaa6dc
2012-06-11 02:05:22 +00:00
dan
4b8213d93c
Add missing targets for fts3_unicode.lo and fts3_unicode2.lo to Makefile.in.
...
FossilOrigin-Name: 0ae0ce630a2e11f81dca50a9cfb04c4a41c03b2d
2012-06-09 18:52:29 +00:00
drh
1c30debd41
Fix an obscure memory leak in FTS3 that can come about when two memory
...
allocations are immediately adjacent to one another.
FossilOrigin-Name: 025227be5495f950c466dfabac140cba69e498be
2012-06-08 14:01:53 +00:00
dan
b6a69a66e5
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
2012-06-08 11:48:40 +00:00
drh
155812d318
Documentation and evidence mark updates. Remove a redundant assert().
...
FossilOrigin-Name: cfcbf9375fddd0aae0dd17bdc76a710ab77ef667
2012-06-07 17:57:23 +00:00
dan
0b8dcfa2bd
Fix a problem preventing a shared in-memory database from being attached to a read-only connection.
...
FossilOrigin-Name: 7caca1939ce70d5b14ae8ca8ff6afb62f8aff361
2012-06-07 17:16:04 +00:00
dan
25cdf46ae4
Add the "tokenchars=" and "separators=" options, for customizing the set of characters considered to be token separators, to the unicode61 tokenizer.
...
FossilOrigin-Name: e56fb462aa1f11bb23303ae0dc62815c21e26a52
2012-06-07 15:53:48 +00:00
dan
a879342b0e
Fix a malloc/free mismatch in pager.c (sqlite3_free() called on a buffer allocated by sqlite3DbMalloc()).
...
FossilOrigin-Name: 506008f000ba4af0b35da023b8c52f7a3f5033bd
2012-06-07 07:24:04 +00:00
drh
4bd6952a77
Provide an (undocumented) compile-time option to disable the page cache
...
overflow counter, in order to avoid a mutex.
FossilOrigin-Name: 208825cd830748a2ca456affc57be75bbe618e47
2012-06-07 02:35:29 +00:00
drh
5e0c493860
Fix harmless Clang warnings.
...
FossilOrigin-Name: 31fe1985ad6be5eb04bbe85da378c2385c503ceb
2012-06-06 23:59:36 +00:00
mistachkin
617235b1a0
Fix an #if that is applicable to WinRT, even thought it is currently disabled by another #if.
...
FossilOrigin-Name: baa8b7830779d5797e210a2e057181413412e152
2012-06-06 23:25:33 +00:00
drh
cc71645bf7
Merge the changes need to compile on WinRT into trunk.
...
FossilOrigin-Name: 61360ca6ca3448477d5c662d3642beef6dd2079e
2012-06-06 23:23:23 +00:00
dan
2c897e3e5f
Disable FTS unicode61 by default. It is enabled by specifying compile time option SQLITE_ENABLE_FTS4_UNICODE61.
...
FossilOrigin-Name: eccd6b6580637084495b80e9232262188ba0cf8d
2012-06-06 19:51:27 +00:00
dan
754d3adf7c
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
2012-06-06 19:30:38 +00:00
drh
f05305477c
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
2012-06-06 19:01:13 +00:00
drh
a19b89627e
Make sure the Index.azColl pointers do not point to connection-specific memory.
...
Also, remove an unnecessary reinitialization to sqlite3.pDfltColl.
FossilOrigin-Name: c469850b2eb61a63150cc5fc7d2fe98f0b5abffb
2012-06-06 10:56:22 +00:00
drh
bae591a960
Merge the latest trunk changes into shared-schema branch. Also fix a C99-ism
...
in that branch.
FossilOrigin-Name: 42338e9e6979bb497823527f8f39e96f63623c59
2012-06-05 19:20:03 +00:00
drh
98c78ea63f
Add sqlite3_quota_ferror() and sqlite3_quota_file_available() interfaces to
...
test_quota.c. Change sqlite3_quota_fwrite() to use a const input buffer.
FossilOrigin-Name: 61669c95859e187618fb2fb4249306a947ae8d26
2012-06-05 13:56:15 +00:00
mistachkin
d3babb5220
Correct docs regarding use of malloc and free by the Windows VFS layer. No changes to code.
...
FossilOrigin-Name: 8e8590a4dc8d9b0fa12ce288cdfd0146223fee6c
2012-06-05 02:24:54 +00:00
mistachkin
401e9153e9
When not compiling for WinRT, skip using a couple Win32 APIs unavailable when compiling with MinGW.
...
FossilOrigin-Name: eb29e2d93984c29756430b55c08501d7e1783df0
2012-06-04 05:18:32 +00:00
mistachkin
1e6eea9502
Update several APIs to enable compilation with newer revisions of WinRT.
...
FossilOrigin-Name: 54de739f056749b53b198f6b074d9e649520cf00
2012-05-31 22:12:26 +00:00
drh
ed46682719
Avoid calling fchown() if the process is not running as root.
...
FossilOrigin-Name: 70c419a434be77b042a23174483d6a411899eb5d
2012-05-31 13:10:49 +00:00
drh
1b28b89319
Link the NDEBUG macro to SQLITE_DEBUG so that when SQLITE_DEBUG is defined,
...
NDEBUG is automatically undefined an dwhen SQLITE_DEBUG is undefined
NDEBUG is automatically defined.
FossilOrigin-Name: 07935d10d341fe6265cfd3b09e2c4ef4005c4826
2012-05-29 19:25:20 +00:00
drh
666a1d8d1e
Fix a typo (a repeated "or") in the documentation. No changes to code.
...
FossilOrigin-Name: 6fec6cf1fbac881a33a35ea99aac2f5f1cf27c2a
2012-05-29 17:59:11 +00:00
drh
d3d8c04fd1
Changes some NDEBUG macros to SQLITE_DEBUG in os_unix.c. The is a notational
...
change only and really should not effect the code.
FossilOrigin-Name: 8e3025709e4954803919c84f3a810c7c63c60601
2012-05-29 17:02:40 +00:00
drh
51fec64f65
In the RTree module, make sure all double-to-float conversions round in a
...
direction to increase the size of element bounding boxes.
FossilOrigin-Name: 0abdc2903d8b3f86cad426e1bac2a959d1b1f7dd
2012-05-29 00:39:50 +00:00
drh
0e3037ac36
Refactor the float-to-double rounding routines so that they compile without
...
warnings.
FossilOrigin-Name: f607ad27c1ede27af24dbee10ca867c8f7761ee3
2012-05-29 00:30:43 +00:00
drh
391d4bae36
Fix the MSVC makefile so that it works with the unicode61 tokenizer.
...
FossilOrigin-Name: 480158143be1256cbe4dba52ef1a5b96e172b38c
2012-05-28 20:22:16 +00:00
drh
c6bff38216
Simplification to the coordinate rounding logic in RTree.
...
FossilOrigin-Name: df24072de27555c6b530b02e821ea8b066c554fc
2012-05-28 20:16:42 +00:00
drh
7923863602
When converting 64-bit floating point coordinates to 32-bit in RTree, take
...
care to round the values such that the size of the bounding box is enlarged.
FossilOrigin-Name: f4e8ff03eae70334632455a867859cfcc25682be
2012-05-28 19:19:25 +00:00
drh
9cb7200815
Updates regarding URI query parameters and shared cache in the documentation
...
derived from comments in sqlite.h.in. No changes to code.
FossilOrigin-Name: bcc72d413e8db5fe8b32147ac22d406e2cd6bb60
2012-05-28 17:51:53 +00:00
drh
d97f3d7ae9
Fix Makefile.in so that it works with the new unicode tokenizer of FTS3/4.
...
Update the version number to 3.7.13.
FossilOrigin-Name: b8720d0416b8d4af7d131f1ddc3d280d196a9eda
2012-05-28 15:32:09 +00:00
drh
9c67b2aae0
Add the mode=memory option to URI filenames, which when present forces the
...
database to be an in-memory database. This enables named in-memory databases.
FossilOrigin-Name: 651520fa84ee0c488bef660bab9865500309d5e9
2012-05-28 13:58:00 +00:00
drh
a9cfaba95a
Omit the fts3 unicode character class routines from the build if fts3/4
...
is disabled.
FossilOrigin-Name: c00bb5d4601efc15933f222349e96a043b610a19
2012-05-28 12:22:00 +00:00
drh
2bfcce45eb
Merge into trunk the changes that permit :memory: databases to use shared cache.
...
FossilOrigin-Name: e72179f3a43e4df36b7c2955eaacce6c804272c6
2012-05-27 22:42:57 +00:00
drh
d4e0bb0e65
Have user interfaces report out the filename of in-memory databases as an
...
empty string, as it always has. This simplifies the changes.
FossilOrigin-Name: 595dfdbffefb2598cba89980f885289d1c5f5833
2012-05-27 01:19:04 +00:00
drh
4ab9d254e0
Only allow :memory: databases to share cache if there are created using a
...
URI filename. This minimizes the risk of breakages in legacy applications
that have shared-cache enabled but also use :memory: databases which they
expect to keep separate.
FossilOrigin-Name: e3ad61e0308a8442c2bdb7cdb3465576cd39ed4a
2012-05-26 20:08:49 +00:00
dan
092a1ebd4c
Merge fts4-unicode branch with trunk.
...
FossilOrigin-Name: 25ba1f84f2b98d50ac1e2b9849b59ee902c2cca7
2012-05-26 18:42:21 +00:00
dan
7946c53009
If SQLITE_DISABLE_FTS3_UNICODE is defined, do not build the "unicode61" tokenizer.
...
FossilOrigin-Name: e71495a817b479bc23c5403d99255e3f098eb054
2012-05-26 18:28:14 +00:00
drh
afc8b7f0c1
Enable the use of shared cache for an in-memory database, so that separate
...
database connections can share the same in-memory database.
FossilOrigin-Name: 4590e433f2a595bb80fb061024b0a3d2ca25b7b2
2012-05-26 18:06:38 +00:00
dan
501c74d3e1
Change the format of the tables used by sqlite3FtsUnicodeTolower() to make them a little smaller.
...
FossilOrigin-Name: b89d3834f6690073fca0fc22c18afa1fb280ea7d
2012-05-26 17:57:02 +00:00
dan
7a796731db
Add coverage tests for fts3_unicode.c.
...
FossilOrigin-Name: 07d3ea8a3cb179fab6c48934fc6751f53b507d36
2012-05-26 16:22:56 +00:00
dan
cf9f6f1375
Add fault-injection tests that use the unicode61 tokenizer. Fix a problem revealed by the same.
...
FossilOrigin-Name: ed28c48a3dd7e766e60db0d96ef5460bf9913e6b
2012-05-26 15:44:08 +00:00
dan
ab322bd21e
Change the name of the "unicode" tokenizer to "unicode61" to emphasize that the case folding and separator-character identification routines are based on unicode version 6.1.
...
FossilOrigin-Name: 8f3e60aa2253f21bcee5d03982cfdd7f16c00060
2012-05-26 14:54:50 +00:00
dan
1c7016c9a5
Add special fast paths to sqlite3FtsUnicodeTolower() and Isalnum() for codepoints in the ASCII range.
...
FossilOrigin-Name: cf7b25d47687635a04f4347d45f135c686b9d758
2012-05-25 19:50:12 +00:00