]> git.ipfire.org Git - thirdparty/sqlite.git/log
thirdparty/sqlite.git
9 months agoAllow sqlite3_rsync to work on non-WAL-mode databases, as long as the rsync-non-wal-mode
drh [Thu, 1 May 2025 16:07:52 +0000 (16:07 +0000)] 
Allow sqlite3_rsync to work on non-WAL-mode databases, as long as the
--wal-only flag is not used.

FossilOrigin-Name: e4126dcd1eba4f040a7c07102d34692287b74b41a3437a3b9d15c4f8c9d4e6fd

9 months agoFix a harmless problem in the CLI in which SQL errors that occur during
drh [Wed, 30 Apr 2025 14:37:00 +0000 (14:37 +0000)] 
Fix a harmless problem in the CLI in which SQL errors that occur during
the ".schema" command are properly ignored, yes still appear in the ".log"
output. [forum:/forumpost/42fe6520b803be51|Forum post 42fe6520b8]

FossilOrigin-Name: 20abf1ec107f942e4527901685d61283c9c2fe7bcefad63dbf5c6cbf050da849

9 months agoFix an issue in Bloom filters on RHS subsqueries to IN operators.
drh [Wed, 30 Apr 2025 12:48:20 +0000 (12:48 +0000)] 
Fix an issue in Bloom filters on RHS subsqueries to IN operators.
See [forum:/forumpost/792a09cb3df9e69f|forum post 792a09cb3d] for
a description of the problem.  Also improve comments related
to [baa83b460c677c21] which was origin of the problem.

FossilOrigin-Name: cdef486e212fe4b26605065d9cff08f608cb80df48ee64e4be63637769bdfacc

9 months agoUpstream teaish for a tcl portability fix on Haiku and a much nicer impl of proj...
stephan [Tue, 29 Apr 2025 17:30:51 +0000 (17:30 +0000)] 
Upstream teaish for a tcl portability fix on Haiku and a much nicer impl of proj-tclConfig-sh-to-autosetup.

FossilOrigin-Name: ca0d30a43b3dfb95dd6b491f592031a053b0b5e95361ffe01ec8bd56d5e2d110

9 months agoRemove the run-fuzzcheck makefile targets, since testrunner now
drh [Tue, 29 Apr 2025 16:30:58 +0000 (16:30 +0000)] 
Remove the run-fuzzcheck makefile targets, since testrunner now
accomplishes that for us, and does a better job of it.

FossilOrigin-Name: 3ffd867ed31cd0779aa92b5e8b71592a8e7224977f9da8e5d6793a78bbb80070

9 months agoAdd the "--fuzzdb FILENAME" to testrunner.tcl as an alternative to setting
drh [Tue, 29 Apr 2025 14:23:21 +0000 (14:23 +0000)] 
Add the "--fuzzdb FILENAME" to testrunner.tcl as an alternative to setting
the FUZZDB environment variable (as that can be awkward to do on Windows).
Further improvements to the testrunner.tcl documentation.

FossilOrigin-Name: 6fb84156a262ff89d1a2d1df6fbfac4c1a43fb55b9d15205508662e2c9b0894f

9 months agoUpdate testrunner.tcl documentation. Fix typo in testrunner.tcl output.
drh [Tue, 29 Apr 2025 11:35:51 +0000 (11:35 +0000)] 
Update testrunner.tcl documentation.  Fix typo in testrunner.tcl output.

FossilOrigin-Name: ba8800b4ba0a690c89d9fb96bb9a0d8789d04160ff9c47ea9afb2b403bec7f0b

9 months agoImproved --explain display of FUZZDB test plans in testrunner.tcl.
drh [Tue, 29 Apr 2025 10:41:16 +0000 (10:41 +0000)] 
Improved --explain display of FUZZDB test plans in testrunner.tcl.

FossilOrigin-Name: 42bdd7262ec4f8163263e0535c2cc35b526754d77e1f3ccf5b73b0f44d470d9c

9 months agoDo not run FUZZDB on either Windows-Memdebug or Windows-Win32Heap.
drh [Tue, 29 Apr 2025 10:29:35 +0000 (10:29 +0000)] 
Do not run FUZZDB on either Windows-Memdebug or Windows-Win32Heap.

FossilOrigin-Name: 10d8401d59136dda7051af0da398b06a18031560f2734f4fa347d339765d2089

9 months agoMake testrunner.tcl more restrictive about which configurations run
drh [Tue, 29 Apr 2025 01:37:31 +0000 (01:37 +0000)] 
Make testrunner.tcl more restrictive about which configurations run
fuzzcheck-asan and fuzzcheck-ubsan.

FossilOrigin-Name: 785599394dde0fb36ae2e07d611f9523a05a0817dbd8c416582b3b682dbfa4ff

9 months agoTestrunner.tcl now runs fuzzcheck-asan and fuzzcheck-ubsan tests.
drh [Mon, 28 Apr 2025 19:15:46 +0000 (19:15 +0000)] 
Testrunner.tcl now runs fuzzcheck-asan and fuzzcheck-ubsan tests.

FossilOrigin-Name: 3d8f3a255843c063157265702b76d40c38c774d29d658eea2d77efac92ac8789

9 months agoIf the FUZZDB environment variable is set when running testrunner.tcl and
drh [Mon, 28 Apr 2025 17:56:23 +0000 (17:56 +0000)] 
If the FUZZDB environment variable is set when running testrunner.tcl and
that env-var points to a fuzzcheck database, then suppliment the fuzzcheck
tests with that extra database.

FossilOrigin-Name: c08530dd6a71cb547d164e2313657c917f280e7988211bf199c8776e78a4e2a6

9 months agoEnhance testrunner.tcl so that it does not build testfixture unnecessarily -
drh [Mon, 28 Apr 2025 16:28:00 +0000 (16:28 +0000)] 
Enhance testrunner.tcl so that it does not build testfixture unnecessarily -
if the pattern does not match any TCL test.

FossilOrigin-Name: 896d767f1cba64bda7b91b0daebd60ebe4457a58d762da443bf61cf5b39ad2d9

9 months agoFix testrunner.tcl so that it honors pattern matches in non-testfixture
drh [Mon, 28 Apr 2025 16:17:17 +0000 (16:17 +0000)] 
Fix testrunner.tcl so that it honors pattern matches in non-testfixture
tests, such as fuzzcheck and sessionfuzz.

FossilOrigin-Name: 81857474fe90f50b760c22d61a6ad477642dabe1052390cd1614dcec8adb1376

9 months agoRemove a stray blank line from the test/testrunner.tcl script.
drh [Mon, 28 Apr 2025 15:00:28 +0000 (15:00 +0000)] 
Remove a stray blank line from the test/testrunner.tcl script.

FossilOrigin-Name: 7d6005b0d17d86d72757f3578872e82fd12f61ac9160a0277e397df09f6338a9

9 months agoRemove long-obsolete performance testing scripts from the tools/ folder.
drh [Mon, 28 Apr 2025 13:32:46 +0000 (13:32 +0000)] 
Remove long-obsolete performance testing scripts from the tools/ folder.
The test/speedtest.tcl script is what should be used these days.  This
is just cruft clean-up.

FossilOrigin-Name: 956af8c294ae5b826a5b645922df07dad360290d19bf2b6a7f74d0a783a3e692

9 months agotea: pull in upstream teaish. Consolidate the build definition from the upstream...
stephan [Mon, 28 Apr 2025 09:25:19 +0000 (09:25 +0000)] 
tea: pull in upstream teaish. Consolidate the build definition from the upstream build and this one to ease maintenace. Improve compatibility with historical TEA usage of --with-tcl=... (it insists on a /lib suffix for that path).

FossilOrigin-Name: 0ea5993dd8549056d73f3d5447e0a810495ece23a75be8add78fba6842125d85

9 months agoproj.tcl: correct the auto-reconfigure rules to include any X=Y passed to configure...
stephan [Sun, 27 Apr 2025 06:01:26 +0000 (06:01 +0000)] 
proj.tcl: correct the auto-reconfigure rules to include any X=Y passed to configure. Improve handling of quoted CFLAGS.

FossilOrigin-Name: 7a2f4f319c90b768c6acc96671a3173c0ef0493180f3c4d5443f1ca03d92f6b4

9 months agoautoconf/tea: the default value of --threadsafe=X is now based on a pkgconfig query...
stephan [Sun, 27 Apr 2025 04:21:27 +0000 (04:21 +0000)] 
autoconf/tea: the default value of --threadsafe=X is now based on a pkgconfig query using the target tclsh, which is much more reliable than grepping Tcl's linker flags. Doc touchups.

FossilOrigin-Name: 4aeec30443b282f10353cdb9415fdce436287280f0f5d5d6b9917da831744898

9 months agoFix an off-by-one error in an assert(), discovered by oss-fuzz. This is a
drh [Fri, 25 Apr 2025 12:39:32 +0000 (12:39 +0000)] 
Fix an off-by-one error in an assert(), discovered by oss-fuzz.  This is a
harmless error in as much as assert()s are disabled in production builds, and
because the off-by-one only occurs on nonsensical CREATE INDEX statements.

FossilOrigin-Name: 3e627d66ebdef8dfe41bd12a0474d1afca9f50051771774679d25bd1833e69ae

9 months agoTeaish internal API tweaks and ensure that -encoding utf-8 is used when source'ing...
stephan [Fri, 25 Apr 2025 11:27:13 +0000 (11:27 +0000)] 
Teaish internal API tweaks and ensure that -encoding utf-8 is used when source'ing test scripts.

FossilOrigin-Name: f878f578f8fac95a939e3eabe8b64d5627d2ccd98de1e28081b9bca42ffee027

9 months agoUpstream teaish fixes and improvements.
stephan [Wed, 23 Apr 2025 14:54:13 +0000 (14:54 +0000)] 
Upstream teaish fixes and improvements.

FossilOrigin-Name: 235ea2c0e1823fe4324c3890069a9131ebb6de14e55eb56c0e9f42a7e491a699

9 months agoFix a problem in the fts5matchinfo.test file that prevented it from
drh [Tue, 22 Apr 2025 18:45:40 +0000 (18:45 +0000)] 
Fix a problem in the fts5matchinfo.test file that prevented it from
working on Mac.

FossilOrigin-Name: 5a411c609ba0ee17b1ce5bd0b40b9ded92d76f35933f92b2e02a58a3f169c715

9 months agoLatest upstream jimtcl to fix rare segfault cases.
stephan [Tue, 22 Apr 2025 09:29:53 +0000 (09:29 +0000)] 
Latest upstream jimtcl to fix rare segfault cases.

FossilOrigin-Name: b6c5516940851bd17706435148253325d1b912a44ae138d2b8ca33e5167418c7

9 months agoGeneric cleanups and fixes in the teaish build.
stephan [Tue, 22 Apr 2025 01:01:19 +0000 (01:01 +0000)] 
Generic cleanups and fixes in the teaish build.

FossilOrigin-Name: 734823a5a8e073b511ebc3f37df3542c1bb734b9b1e1bd50ca3e9df12c4bb89e

9 months agoRemove an extra conditional that was inserted earlier today and which
drh [Mon, 21 Apr 2025 23:44:55 +0000 (23:44 +0000)] 
Remove an extra conditional that was inserted earlier today and which
is unreachable.

FossilOrigin-Name: 5ea56af2d27611c5a8ea275316d21a02e70032f93243549ae776e9a89edc6229

9 months agoFurther improvements to the decision of whether or not a BLOB input
drh [Mon, 21 Apr 2025 20:58:49 +0000 (20:58 +0000)] 
Further improvements to the decision of whether or not a BLOB input
is JSONB.

FossilOrigin-Name: 6538813cb89f6109727481e29633e2e98f98e0257c58695e3b53e8ce237d9195

9 months agoDo a better job of providing bug compatibility with SQLite 3.44.0. See
drh [Mon, 21 Apr 2025 19:53:12 +0000 (19:53 +0000)] 
Do a better job of providing bug compatibility with SQLite 3.44.0.  See
[forum:/forumpost/07e206fcd6|forum thread 07e206fcd6] for background.

FossilOrigin-Name: 614d061b32c3bdf4825323d6f8e8a98624e4eeeb96dd442d8e365527122ed3bc

10 months agoUpdate to comments in sqlite3session.h.
dan [Sat, 19 Apr 2025 20:08:04 +0000 (20:08 +0000)] 
Update to comments in sqlite3session.h.

FossilOrigin-Name: ea9acb5573f4d71a314e4467d30477a1d01c8db648985750a42b3c047f404c9c

10 months agoAdd an appropriate _declspec to the declaration of the sqlite3_dbdata_init()
drh [Fri, 18 Apr 2025 14:47:56 +0000 (14:47 +0000)] 
Add an appropriate _declspec to the declaration of the sqlite3_dbdata_init()
function in the recovery extension.

FossilOrigin-Name: 00313d15270b36fce44f7784c97ddc42517e23c209c1ccc4d814ef06b11528c0

10 months agoUpstream teaish, which simplifies how extension metadata are initialized and shrinks...
stephan [Thu, 17 Apr 2025 19:41:37 +0000 (19:41 +0000)] 
Upstream teaish, which simplifies how extension metadata are initialized and shrinks proj.tcl by 4k.

FossilOrigin-Name: c72c00d34d70b36f847af19a2382299746448b5dd94a616f6b567389c5694c17

10 months agoWhen logging errors using sqlite3_log() and the error text includes the
drh [Thu, 17 Apr 2025 19:01:54 +0000 (19:01 +0000)] 
When logging errors using sqlite3_log() and the error text includes the
text of an SQL statement, but the SQL statement text at the end so that if
the error message buffer overflows it is the SQL statement text that gets
truncated, not the statement of the problem.

FossilOrigin-Name: de0968226effb79f9d25539da7882fa5475e4ff2410870b45a63a6545deb5979

10 months agoIncrease the size of the output buffer for sqlite3_log().
drh [Thu, 17 Apr 2025 17:46:28 +0000 (17:46 +0000)] 
Increase the size of the output buffer for sqlite3_log().

FossilOrigin-Name: a64e8491c9863f890daa9f5d8f678728dc0d00bc1f3c238b50214ec545450fcf

10 months agoAdd docs explaining how to test the teaish build.
stephan [Wed, 16 Apr 2025 22:25:02 +0000 (22:25 +0000)] 
Add docs explaining how to test the teaish build.

FossilOrigin-Name: b53619ddb74fa250f03564d04e732248b4161d4d10d6f02268b7c95382d110ff

10 months agoLatest upstream teaish. Most notably it adds the ability for the extension to specify...
stephan [Wed, 16 Apr 2025 21:53:01 +0000 (21:53 +0000)] 
Latest upstream teaish. Most notably it adds the ability for the extension to specify a minimum Tcl version, and this build now enforces a minimum Tcl of 8.6.

FossilOrigin-Name: c86315e538f4d75161faa72673927cde8be080c983f04a98491d1add14615038

10 months agoUpdate doc/tcl-extension-testing.md for Unix systems, consolidating the Tcl 8.x and...
stephan [Wed, 16 Apr 2025 17:47:16 +0000 (17:47 +0000)] 
Update doc/tcl-extension-testing.md for Unix systems, consolidating the Tcl 8.x and 9.x sections.

FossilOrigin-Name: c4c5dcb79c57f6e38cfe9b68b00e60e42d03ef30aeaefc5bf9dafed994849e1d

10 months agoAttempt to provide EBCDIC translations to the tables in the JSON
drh [Wed, 16 Apr 2025 17:36:26 +0000 (17:36 +0000)] 
Attempt to provide EBCDIC translations to the tables in the JSON
implementation.  The SQLite developers do not have access to any
computers using EBCDIC and so have no way to test this patch, and
cannot vouch for its accuracy.

FossilOrigin-Name: 84e698f38429c142caaa66ac086410f2035691b2ad39ad2fc4e0ebc31dd58a5b

10 months agoChange the target libdir name in the teaish build to match historical tea builds.
stephan [Wed, 16 Apr 2025 15:40:40 +0000 (15:40 +0000)] 
Change the target libdir name in the teaish build to match historical tea builds.

FossilOrigin-Name: 8ae437301ed0cf71ef0e07be07917d9702221d27bdc98491209d8f28c7a500e2

10 months agoA portability fix for proj.tcl: some Tcl builds do not like (array set x $someArray...
stephan [Wed, 16 Apr 2025 14:21:48 +0000 (14:21 +0000)] 
A portability fix for proj.tcl: some Tcl builds do not like (array set x $someArray). Also better --mandir handling on Haiku (where the former problem was found).7

FossilOrigin-Name: 849534499d9b2056c0eabef7f3e65f79f58e8a6fefb3f7603de44774da7166b5

10 months agoLatest upstream teaish for fixes and improvements.
stephan [Wed, 16 Apr 2025 12:48:27 +0000 (12:48 +0000)] 
Latest upstream teaish for fixes and improvements.

FossilOrigin-Name: 8f9148b33e01aa7963140704ef16e4304799e5842fa60e55373ccdabe8e3616d

10 months agoCorrectly handle the case of a multi-column UNIQUE constraint that contains
drh [Tue, 15 Apr 2025 21:59:38 +0000 (21:59 +0000)] 
Correctly handle the case of a multi-column UNIQUE constraint that contains
the ROWID as one of it columns, and then the columns of that UNIQUE are
used in a row-value IN operator as a WHERE clause constraint.  Reported by
[forum:/forumpost/b9647a113b465950|forum post b9647a113b].  Problem
introduced by [723f1be3d4a905a6], part of ticket [da78413751863].

FossilOrigin-Name: d22475b81c4e26ccc50f3b5626d43b32f7a2de34e5a764539554665bdda735d5

10 months agoFix a minor typo in a code comment.
drh [Tue, 15 Apr 2025 19:53:36 +0000 (19:53 +0000)] 
Fix a minor typo in a code comment.

FossilOrigin-Name: 158e8c4fd7bdfc1cd4c0135abecd0d00994cd4027cf74ce6e5cf73d76475ae95

10 months agoCleanups and refactoring in proj.tcl and teaish.
stephan [Tue, 15 Apr 2025 15:20:30 +0000 (15:20 +0000)] 
Cleanups and refactoring in proj.tcl and teaish.

FossilOrigin-Name: 6b7ca8176e8c1b5e99e177c3daaba47b0674fa2f82d91754e7a8f66460ca8419

10 months agoAvoid a potential integer overflow in non-default builds of the fts3 matchinfo()...
dan [Tue, 15 Apr 2025 11:06:37 +0000 (11:06 +0000)] 
Avoid a potential integer overflow in non-default builds of the fts3 matchinfo() function.

FossilOrigin-Name: aecc0100cef3ea83feed558dbe34dd6313721fa54052ee1ed529741cec8cacda

10 months agoFurther cleanups and code consolidation between teaish.tcl and sqlite-config.tcl...
stephan [Tue, 15 Apr 2025 02:02:36 +0000 (02:02 +0000)] 
Further cleanups and code consolidation between teaish.tcl and sqlite-config.tcl parts.

FossilOrigin-Name: 07e9ceee51380ee25e580178fa82030be5d2b65d4f4b4dc86c94b21f7f04f291

10 months agoSlight simplifications in the teaish build.
stephan [Tue, 15 Apr 2025 00:47:31 +0000 (00:47 +0000)] 
Slight simplifications in the teaish build.

FossilOrigin-Name: 6b2d0e09e4806b5731764192782ec7e1ad595c529202a684d23bcfe2fae559d7

10 months agoUpdate teaish to the latest upstream copy. Move some of its utility code into proj...
stephan [Mon, 14 Apr 2025 23:52:11 +0000 (23:52 +0000)] 
Update teaish to the latest upstream copy. Move some of its utility code into proj.tcl for reuse in the top-level configure bits.

FossilOrigin-Name: 921c5ea76925be911222ac5f2887b8a967ff47b1aa43e196231e6168a3f9cb88

10 months agoImproved estimate on the number of output rows in a recursive common table expression
drh [Mon, 14 Apr 2025 19:43:30 +0000 (19:43 +0000)] 
Improved estimate on the number of output rows in a recursive common table expression
that uses the UNION operator.  Follow-up to [f911f1c4977fbcae] and it's output row
estimate changes associated with DISTINCT queries.

FossilOrigin-Name: 92513f6bce7ecc778e78af3a77bc66ff65585fffa2e3138f8acb9e617121eeb0

10 months agoJNI: part 3 (of 3) of typos and Java style tweaks suggested in [forum:99ac7961d82f57f...
stephan [Mon, 14 Apr 2025 13:31:18 +0000 (13:31 +0000)] 
JNI: part 3 (of 3) of typos and Java style tweaks suggested in [forum:99ac7961d82f57f3|forum post 99ac7961d82f57f3]. Tested with jdk v8 and v21.

FossilOrigin-Name: 914d4c9d6c26536ca14be80eee6c54af4311eac6bf88b327738075275f4b77da

10 months agoJNI: part 2 of typos and Java style tweaks suggested in [forum:99ac7961d82f57f3|forum...
stephan [Mon, 14 Apr 2025 12:09:24 +0000 (12:09 +0000)] 
JNI: part 2 of typos and Java style tweaks suggested in [forum:99ac7961d82f57f3|forum post 99ac7961d82f57f3].

FossilOrigin-Name: 5e6e9aee5b43e6ae98e78293a0da30e82ad18c3c9c03fc6298240233ddadb2a2

10 months agoJNI: part 1 of typos and Java style tweaks suggested in [forum:99ac7961d82f57f3|forum...
stephan [Mon, 14 Apr 2025 11:31:10 +0000 (11:31 +0000)] 
JNI: part 1 of typos and Java style tweaks suggested in [forum:99ac7961d82f57f3|forum post 99ac7961d82f57f3].

FossilOrigin-Name: ab00af4e48501b0413650df31147866a805c34b7ecf506d1e208bc3ae6c2ef28

10 months agoDoc/help text tweaks in autoconf/tea.
stephan [Mon, 14 Apr 2025 10:20:41 +0000 (10:20 +0000)] 
Doc/help text tweaks in autoconf/tea.

FossilOrigin-Name: d6889f6b9aa70bc90f71883b3e7ba359162477afe5048dacb7dfa11733ad1e5a

10 months agoMinor cleanups and fixes in the autoconf/tea pieces.
stephan [Mon, 14 Apr 2025 10:18:40 +0000 (10:18 +0000)] 
Minor cleanups and fixes in the autoconf/tea pieces.

FossilOrigin-Name: 4d6536bd0ad333854309e825feaca26fdd13ac4458c7ccfbe77fc76cc5a968bc

10 months agoLatest upstream teaish, which restructures the teaish files a bit.
stephan [Sun, 13 Apr 2025 16:22:58 +0000 (16:22 +0000)] 
Latest upstream teaish, which restructures the teaish files a bit.

FossilOrigin-Name: 4f54f7d07d31938f271bc5d04a40cb1f7b5e6ea48e78ad06b7cc65483533f54e

10 months agotea build: use autosetup's file-normalize instead of Tcl's (file normalize) because...
stephan [Sat, 12 Apr 2025 21:47:18 +0000 (21:47 +0000)] 
tea build: use autosetup's file-normalize instead of Tcl's (file normalize) because the latter throws on cygwin for names like '.' and './'. Update a doc URL.

FossilOrigin-Name: 0fe77341a0f1e869a909623cdd07b03355b90d302b4f8a875e520befab88ce35

10 months agoPort autoconf/tea from the autotools to autosetup.
stephan [Sat, 12 Apr 2025 21:24:10 +0000 (21:24 +0000)] 
Port autoconf/tea from the autotools to autosetup.

FossilOrigin-Name: 691708642bf1cac562274a6df427d7c631aa4401dfbe98711963cf89203fb104

10 months agoMove the post-configure dot-in-file validation from sqlite-config.tcl to proj.tcl...
stephan [Sat, 12 Apr 2025 19:26:18 +0000 (19:26 +0000)] 
Move the post-configure dot-in-file validation from sqlite-config.tcl to proj.tcl for reuse in the tea port and other downstream trees.

FossilOrigin-Name: 0bac496d5c92c979295e702efc01803f6985b54d3d8ca30dce077c9776f7dcf2

10 months agoDoc typo fix. teaish
stephan [Sat, 12 Apr 2025 18:37:53 +0000 (18:37 +0000)] 
Doc typo fix.

FossilOrigin-Name: 10b917040b167de6aba6ee434b4e982580e690bbfe80521e34236b29d8e00b7d

10 months agoEliminate a duplicate -lz flag in the teaish build.
stephan [Sat, 12 Apr 2025 10:33:12 +0000 (10:33 +0000)] 
Eliminate a duplicate -lz flag in the teaish build.

FossilOrigin-Name: 5efb372c9b0d46625cb17aa3e48ead0da2483ca9d04d1507c9d728763f1ee959

10 months agoAdd missing teaish.test.tcl.
stephan [Sat, 12 Apr 2025 03:20:42 +0000 (03:20 +0000)] 
Add missing teaish.test.tcl.

FossilOrigin-Name: 3946a3ad9cd2d03b6940621066a8e5be0bd6fade88cbf6cb2823425a90eba9c9

10 months agoAdd missing exports of various LDFLAGS and CFLAGS for the teaish build.
stephan [Sat, 12 Apr 2025 03:08:13 +0000 (03:08 +0000)] 
Add missing exports of various LDFLAGS and CFLAGS for the teaish build.

FossilOrigin-Name: 7462b1c66e8b3799ba1d73a1b815993e1c511ac0b7263e747ca0186d263ad001

10 months agoCorrect out-of-tree build for autoconf/tea.
stephan [Sat, 12 Apr 2025 02:44:02 +0000 (02:44 +0000)] 
Correct out-of-tree build for autoconf/tea.

FossilOrigin-Name: 955b516618a34eac69da25fc7405015701a72f3cb918fca0cda7d316f6c3db9a

10 months agoInitial port of the TEA build (autoconf/tea) from autotools to autosetup.
stephan [Sat, 12 Apr 2025 02:30:04 +0000 (02:30 +0000)] 
Initial port of the TEA build (autoconf/tea) from autotools to autosetup.

FossilOrigin-Name: 95227341cf290ca6f20b5ff7e707a28b59f87784947425c3fd1d8e5e7eb878a4

10 months agoFix a memory leak in sqlite3session_diff().
dan [Thu, 10 Apr 2025 20:52:47 +0000 (20:52 +0000)] 
Fix a memory leak in sqlite3session_diff().

FossilOrigin-Name: a6cbc5db1c4973ea236874bd9c24cd86dc48fbc7a10e424896c0407c7c32ce6a

10 months agoImproved detection of run-time errors (ex: OOM errors) in speedtest1.
drh [Thu, 10 Apr 2025 19:54:56 +0000 (19:54 +0000)] 
Improved detection of run-time errors (ex: OOM errors) in speedtest1.

FossilOrigin-Name: 0e5e0e2f558a417d57c01a2d62cb2117d2adf6ddbc62e6a0208ae23f19b05347

10 months agoProvide new command-line options --hard-heap-limit and --soft-heap-limit
drh [Thu, 10 Apr 2025 19:39:34 +0000 (19:39 +0000)] 
Provide new command-line options --hard-heap-limit and --soft-heap-limit
for speedtest1.

FossilOrigin-Name: 578e9fedeaaacd152ae1988920e6c9a0c43f664e2f9461c0994ba427ae1688e7

10 months agoBe sure that speedtest1 reports any errors that it encounters while
drh [Thu, 10 Apr 2025 19:03:42 +0000 (19:03 +0000)] 
Be sure that speedtest1 reports any errors that it encounters while
running the speed tests.

FossilOrigin-Name: 8c8b1a99bc888a5db637900aa3c8ef1b8c748c527580c825a25df1008afcf9e0

10 months agoFix a comment in sessionD.test.
dan [Thu, 10 Apr 2025 17:25:57 +0000 (17:25 +0000)] 
Fix a comment in sessionD.test.

FossilOrigin-Name: 3516354ee57b683c134de206f5321f064f9cb627aa12ba6fde98e59a9093c50c

10 months agoImprove the error messages returned by sqlite3session_diff().
dan [Thu, 10 Apr 2025 16:48:04 +0000 (16:48 +0000)] 
Improve the error messages returned by sqlite3session_diff().

FossilOrigin-Name: a3217cdb75fd305705856f6504f8816c2b6b0a10907725cb74d025a5c4e369b8

10 months agoFix an obscure problem allowing the propagate-constants optimization to improperly...
dan [Thu, 10 Apr 2025 15:01:58 +0000 (15:01 +0000)] 
Fix an obscure problem allowing the propagate-constants optimization to improperly substitute a column of a sub-query with NONE affinity. [forum:/forumpost/0109bca824|Forum post 2025-04-08T14:18:45Z].

FossilOrigin-Name: 979f384a93d25e24f760469681618101feaab873738e1b52a7d4b818f7c527d9

10 months agoFix an obscure problem allowing the propagate-constants optimization to improperly... forum-0109bca824
dan [Thu, 10 Apr 2025 14:53:32 +0000 (14:53 +0000)] 
Fix an obscure problem allowing the propagate-constants optimization to improperly substitute a column of a sub-query with NONE affinity.

FossilOrigin-Name: d82725dcaec7437f37fc15dfb492b51a4f9dbbbcaea04e387d9471b7d291cde2

10 months agoRemove unnecessary "www." prefixes on domain names in URLs.
drh [Thu, 10 Apr 2025 10:18:07 +0000 (10:18 +0000)] 
Remove unnecessary "www." prefixes on domain names in URLs.

FossilOrigin-Name: 20acd630b91609725794ce84f9eda01d5f3c898407f0948264830851d25ccaa6

10 months agoDoc updates in proj.tcl. Improve configure check for whether fdatasync or nanosleep...
stephan [Wed, 9 Apr 2025 13:32:15 +0000 (13:32 +0000)] 
Doc updates in proj.tcl. Improve configure check for whether fdatasync or nanosleep require -lrt. Remove references to 'tcl-config' build mode from sqlite-config.tcl, as that build is now implemented without a depency on sqlite-config.tcl because the TEA build's needs are considerably more modest.

FossilOrigin-Name: 394bef54411c81fd8ca3aafc13ec2a774e9ff56c7282d90b8425cc8f383aa74c

10 months agoRemove an incorrect ALWAYS() macro. [forum:/forumpost/23875495059357a2|Forum post...
drh [Tue, 8 Apr 2025 20:00:33 +0000 (20:00 +0000)] 
Remove an incorrect ALWAYS() macro.  [forum:/forumpost/23875495059357a2|Forum post 2025-04-08T19:16:42Z].

FossilOrigin-Name: 062cca9c63ef6d7b9a525df69391e9b032284703aeb45a18c728305dd5957c43

10 months agoHave sqlite3session_diff() automatically attach tables to session objects, as it...
dan [Tue, 8 Apr 2025 17:18:01 +0000 (17:18 +0000)] 
Have sqlite3session_diff() automatically attach tables to session objects, as it has always been documented to do.

FossilOrigin-Name: 99827144f112303e27a829c990b1858d227bd7369095100a435c367637985fad

10 months agoHave sqlite3session_diff() automatically attach tables to session objects, as it...
dan [Tue, 8 Apr 2025 15:58:19 +0000 (15:58 +0000)] 
Have sqlite3session_diff() automatically attach tables to session objects, as it has always been documented to do.

FossilOrigin-Name: ec1641858ec48d96f5a2ddce4575ebd40a18932d69831fdb4eafc9acf508f216

10 months agoDuring the post-configure validation of @VAR@ references, ignore commented-out refere...
stephan [Mon, 7 Apr 2025 18:29:57 +0000 (18:29 +0000)] 
During the post-configure validation of @VAR@ references, ignore commented-out references in files which seem (based on their name) to be makefiles, as it's sometimes handy to comment-out such vars during development of a configure script and its corresponding makefile(s).

FossilOrigin-Name: 25d936b7b27d33b18bdac245bb193f7fbeaa9a7e7c320e47bdd433e6b371aef9

10 months agoRename proj-current-proc-name to proj-current-scope and have it distinguish between...
stephan [Mon, 7 Apr 2025 02:16:26 +0000 (02:16 +0000)] 
Rename proj-current-proc-name to proj-current-scope and have it distinguish between global scope and an invalid scope level.

FossilOrigin-Name: 1c7e5b6cab0f8c8d8ae4a1503ea04f2c65943b0788f3996c015fc163ae979a66

10 months agoMake it legal to call proj-fatal from the global scope.
stephan [Mon, 7 Apr 2025 02:08:55 +0000 (02:08 +0000)] 
Make it legal to call proj-fatal from the global scope.

FossilOrigin-Name: f1cf373b73f0e97767d6f3c9dd78ce04360eae1ed22f74bea4aeb922f3ca5b5b

10 months agoFix a harmless code typo introduced by [b57e3c3db00a6bc6] and reported by
drh [Sun, 6 Apr 2025 10:22:26 +0000 (10:22 +0000)] 
Fix a harmless code typo introduced by [b57e3c3db00a6bc6] and reported by
[forum:/forumpost/09957d8b2a|forum post 09957d8b2a].

FossilOrigin-Name: f3a6cdb89b13bc173cfce9526f836600469b0242fe62b8f92f8747896d7d47bb

10 months agoExtend proj-dot-ins-append to provide a way to use it for the special-case emcc.sh...
stephan [Sat, 5 Apr 2025 09:17:13 +0000 (09:17 +0000)] 
Extend proj-dot-ins-append to provide a way to use it for the special-case emcc.sh.in handling.

FossilOrigin-Name: 0e98bbddc7b5e39310a8bf345521d05fdbcc906e279c23aa24cf30489ceeeff8

10 months agoAdd a note that SQLite's copy of proj.tcl can be considered the "canonical copy"...
stephan [Sat, 5 Apr 2025 08:48:19 +0000 (08:48 +0000)] 
Add a note that SQLite's copy of proj.tcl can be considered the "canonical copy" for practical purposes. We now have at least 3 copies of it floating around in other trees.

FossilOrigin-Name: 77d2c8e9ef9627c87c05beaf5615958628bd47c393c030ff6fcca607ba43e71f

10 months agoMove the automatic reconfigure tcl code from sqlite-config.tcl to proj.tcl so that...
stephan [Sat, 5 Apr 2025 07:12:41 +0000 (07:12 +0000)] 
Move the automatic reconfigure tcl code from sqlite-config.tcl to proj.tcl so that the TEA bits can reuse it.

FossilOrigin-Name: 52839db2fcdf37631d13c05165ecb551a89c05bd6836f62d62f8f0b7bbe6c6cd

10 months agoRefactor proj-make-from-dot-in and friends to be more useful and remove some annoying...
stephan [Sat, 5 Apr 2025 02:59:37 +0000 (02:59 +0000)] 
Refactor proj-make-from-dot-in and friends to be more useful and remove some annoying limitations.

FossilOrigin-Name: 501ff84e1263e2b026b0ca5f043bcc912ea935229b625b113b7402955df20dd3

10 months agoRename makefile var libtclsqlite3.SO to libtclsqlite3.DLL for consistency.
stephan [Fri, 4 Apr 2025 23:12:32 +0000 (23:12 +0000)] 
Rename makefile var libtclsqlite3.SO to libtclsqlite3.DLL for consistency.

FossilOrigin-Name: 6fb364c853be84c8d1f20497a2cae6e8f06a1d10ae364e3b011cadeaa3e0244b

10 months agoCorrect a makefile var name type in the configure script, introduced in [4947c1c782].
stephan [Fri, 4 Apr 2025 22:59:32 +0000 (22:59 +0000)] 
Correct a makefile var name type in the configure script, introduced in [4947c1c782].

FossilOrigin-Name: 84d77c5fe84d99d4af695a4da424b7dfc65f2343624e201736b7d673b2a8f179

10 months agoAdd more vars to the tclConfig.sh-to-tcl exporter, for use in the TEA build.
stephan [Fri, 4 Apr 2025 22:14:18 +0000 (22:14 +0000)] 
Add more vars to the tclConfig.sh-to-tcl exporter, for use in the TEA build.

FossilOrigin-Name: b0e1e49c7a4af526143214ce7dee97ef0da5e7baa85728fc667b1f7607693ab7

10 months agoAccount for the Mac-specific -instal_name linker flag, which is apparently needed...
stephan [Fri, 4 Apr 2025 20:50:00 +0000 (20:50 +0000)] 
Account for the Mac-specific -instal_name linker flag, which is apparently needed for linking some third-party code. See [forum:5651662b8875ec0a|forum post 5651662b8875ec0a].

FossilOrigin-Name: 4947c1c78298253a51939adf6cf70ee233075db6d60cd7a183a4162c926e667c

10 months agoAdapt the --all flag to apply to a different set of features, and default to enabled...
stephan [Fri, 4 Apr 2025 16:17:02 +0000 (16:17 +0000)] 
Adapt the --all flag to apply to a different set of features, and default to enabled, for the tcl-extension build.

FossilOrigin-Name: b229c8f65acf41b57afacfde712c3a8040d3bd5139bd5e30d450669658185ddd

10 months agoImprove --all flag handling so that combinations of (--all --disable-FEATURE) and...
stephan [Fri, 4 Apr 2025 15:41:19 +0000 (15:41 +0000)] 
Improve --all flag handling so that combinations of (--all --disable-FEATURE) and (--disable-all --FEATURE) work more intuitively. Add missing handling of the --fts3 flag (it was accepted but ignored before). Add TCL_LIBS to the set of vars exported via tclConfig.sh for use in the tea build.

FossilOrigin-Name: 26ef0ff4bfbb4425baa26fa5c8420f5da0603c38ef651104e566c7dc85bfaa3a

10 months agoThe win32lock and win32longpath tests don't work on Cygwin
jan.nijtmans [Fri, 4 Apr 2025 13:23:03 +0000 (13:23 +0000)] 
The win32lock and win32longpath tests don't work on Cygwin

FossilOrigin-Name: 32ef3f26e7fb34dfdb23617a19bb9baa2e4c3dca564a88850b58a0fbe6446cf8

10 months agoMinor configure-internal cleanups to support the autosetup port of the TEA build.
stephan [Fri, 4 Apr 2025 13:08:43 +0000 (13:08 +0000)] 
Minor configure-internal cleanups to support the autosetup port of the TEA build.

FossilOrigin-Name: 244c2b75c10c68bc0499d60b707a925836a4b9d490813785587522109fc11fe2

10 months agoMinor configure script internal doc edits. No functional changes.
stephan [Fri, 4 Apr 2025 03:26:20 +0000 (03:26 +0000)] 
Minor configure script internal doc edits. No functional changes.

FossilOrigin-Name: 357563bc7c01a744d4038ed3ccc475260b819e98cf90a4270764f79c73d2497e

10 months agoMake the --static-cli-shell flag available in the autoconf build mode.
stephan [Fri, 4 Apr 2025 03:16:47 +0000 (03:16 +0000)] 
Make the --static-cli-shell flag available in the autoconf build mode.

FossilOrigin-Name: b78a474ecba6cae4f0e867a515c214fbfe229808145df1870315328d4e13d462

10 months agoOn HaikuOS, if --prefix is not explicitly provided then default it to /boot/home...
stephan [Fri, 4 Apr 2025 02:40:08 +0000 (02:40 +0000)] 
On HaikuOS, if --prefix is not explicitly provided then default it to /boot/home/config/non-packaged, based on an off-list discussion with HaikuOS user BrickViking.

FossilOrigin-Name: c4a558291175378f76d126b12417c6c1d8e6060c0ec1267a97d3cd11b4804439

10 months agoAdd the --static-cli-shell configure flag to the canonical build, which works like...
stephan [Thu, 3 Apr 2025 13:24:38 +0000 (13:24 +0000)] 
Add the --static-cli-shell configure flag to the canonical build, which works like --static-tclsqlite3 but applies to the CLI shell (statically linking it, which only works if all requisite libs are available in static form). It is not called --static-shell because that flag has a completely different legacy meaning in the autoconf build and this flight might eventually be added to that build, so would collide there.

FossilOrigin-Name: fd2c1638ecc38617f5de0380ad23f233d1159be0712ae2ca4cae5c99e841f1b1

10 months agoAdd the --static-tclsqlite3 configure flag (canonical build only) to build tclsqlite3...
stephan [Thu, 3 Apr 2025 00:46:34 +0000 (00:46 +0000)] 
Add the --static-tclsqlite3 configure flag (canonical build only) to build tclsqlite3 as a static binary. This will only work on systems which have static versions of all requisite libraries.

FossilOrigin-Name: 61836324369e3213841295911aed4f8439a4b2b0f24820c2cf45bb68a0e2cd04

10 months agoMinor cleanups to the --static-tclsqlite3 support. static-tclsqlite3
stephan [Thu, 3 Apr 2025 00:40:33 +0000 (00:40 +0000)] 
Minor cleanups to the --static-tclsqlite3 support.

FossilOrigin-Name: 06f1143870280d335daf4e7027fe8771e34415aa1234fe72c0c450c347b8146c

10 months agoAdd experimental --static-tclsqlite3 configure flag to build tclsqlite3 statically...
stephan [Wed, 2 Apr 2025 23:34:35 +0000 (23:34 +0000)] 
Add experimental --static-tclsqlite3 configure flag to build tclsqlite3 statically, which only works if static libtcl/etc. are available. Currently intended for docker builds via Alpine Linux.

FossilOrigin-Name: bef3c8b1b9fd188ee9f941f93bac4567795fea51cee0830abf1ebc1999e1604f

10 months agoFix harmless compiler warnings in the memstat.c extension. No changes to
drh [Wed, 2 Apr 2025 12:41:16 +0000 (12:41 +0000)] 
Fix harmless compiler warnings in the memstat.c extension.  No changes to
the core.

FossilOrigin-Name: 9e903953ba986df98435da40e94fdb645f6f72279552cba63ef50cec1fe3b486