stephan
49de624e41
Work around a JimTCL regsub incompatibility in mkccode.tcl.
...
FossilOrigin-Name: c2e5dd791cce3ec4f1f009e945b8c66e8c5e01ae25077f345389f04e3c004ecf
2024-10-19 13:18:56 +00:00
stephan
a1e6fbebdf
Get the spell-checking targets working. Rename some symbols.
...
FossilOrigin-Name: e389ef9c14f2421fe8cad09a8539e6a3215c96da61af790b144fccbd8bf1ca12
2024-10-19 12:47:06 +00:00
stephan
b08f1d5d97
Get mptest(er) building.
...
FossilOrigin-Name: f740f6a4447543751800465ddfa11c9e3c89fb7054a9dfb5450938885b8f9633
2024-10-19 00:49:01 +00:00
stephan
83afc4c2b2
Remove the problematic dbfuzz2-asan/msan targets, which Richard says are not used anymore.
...
FossilOrigin-Name: 503ce205a1efe0d52b184b1b6a23b4b6b5adb7acf6f4617249a5fa1d81e523ef
2024-10-18 16:47:54 +00:00
stephan
20755cef7d
Get most of the fuzzing-related apps building, sans dbuzz2-asan/msan, both of which refuse to link with clang v18 because it's trying to use -lstdc++ despite the app being only C.
...
FossilOrigin-Name: 3e843452927aaea152eab60213337912c34966e2c77d3cfd50d2ee9eb77c6796
2024-10-18 16:39:17 +00:00
stephan
d1068f8b73
Merge current trunk into the autosetup branch.
...
FossilOrigin-Name: 352da23b46f13fbb2c38fcdd0b6092bf39a391a0bfed587004c85f7f5b99a58d
2024-10-17 22:20:27 +00:00
stephan
2a1a3d6af5
General cleanups. Rename BTCL to BTCLSH for some clarity.
...
FossilOrigin-Name: 83eaef7d62677a85a2c42f98d52ff2e8e5356724ad6d12b2907409d96d4757f1
2024-10-17 22:19:37 +00:00
stephan
cab9574668
Ensure that the OPFS VFS's xOpen() writes back the read-only flag to the output flags. Resolves the problem reported in [forum:cf37d5ff1182c31081 | forum post cf37d5ff1182c31081].
...
FossilOrigin-Name: 0a32624015f16fd881a4ecbb56b7833391028d327a95f4c899eee864ed7fe00d
2024-10-17 12:14:34 +00:00
stephan
6031de92c6
When calling OpfsSAHPoolUtil.removeVfs(), ensure that the cached result the VFS init is also removed so that the VFS may later be registered again with the same name. Set up test code for the regression reported in [forum:cf37d5ff11 | forum post cf37d5ff11] (which uncovered the removeVfs() shortcoming) but that test is currently only known to fail with the "opfs" VFS and is not currently set up to fail.
...
FossilOrigin-Name: b7f7a5deeae61920dbfec7606cf9014de711f959a285b29e12673abfd2f88646
2024-10-17 11:12:57 +00:00
stephan
88282af521
Add has_tclconfig to the tidy makefile target.
...
FossilOrigin-Name: 309e6d6f07d4169fbd6ea1d8b3d4809186ad9b7a2e69bbd33eedb9a55e831d68
2024-10-16 14:05:39 +00:00
stephan
ead26840b8
Get testfixture building.
...
FossilOrigin-Name: 9a7e56a01703fdcb4c83481d33d48bd4c8e6a5586c1315bae36fdff34a1b3bd1
2024-10-16 14:04:00 +00:00
stephan
883f35db10
Merge trunk into this branch.
...
FossilOrigin-Name: 9c3bb3dc4f5b5cd7db6cd50d22dbe8f933cccf5f2fd253467bb50f36b3207a93
2024-10-16 13:02:07 +00:00
drh
f578ce102e
Change the name of the new utility program from sqlite3-rsync to
...
sqlite3_rsync - dash changed to underscore - for consistency with the
preexisting sqlite3_analyzer.
FossilOrigin-Name: 86e794cbaa5ae600635c933b46298a39f2465daf4c5cd1570f2a03e19ac08d9d
2024-10-16 11:05:11 +00:00
drh
9c5fb63d37
In the unix Makefile, strip compiled binaries prior to adding them to the
...
tool ZIP archive.
FossilOrigin-Name: cd8ae6fd7166680a6d121d710ff9d722e3e14d1d3538fc8ea1ea2690035ba80e
2024-10-16 10:20:30 +00:00
drh
87cb97b0ec
Fix harmless compiler warning in flockCheckReservedLock().
...
FossilOrigin-Name: f369de3d8fa34a403b5c9f6269f7e3fdb16a13784a70460c5032ad4e66615d64
2024-10-15 22:22:53 +00:00
drh
45b4dca606
Fix the "tool-zip" makefile target so that it includes sqlite3-rsync.
...
FossilOrigin-Name: ecdbedb16bbc467b0bc56badae2a4d407b4ea2085312b50af56af8cd110f055c
2024-10-15 18:45:21 +00:00
drh
1b59f37c06
Fix a typo in a comment used to generate document. No code changes.
...
FossilOrigin-Name: 9b4bc5c4c1dc7c4ba359babc71c07ac3a6719971766951a8d2cb1df9e2396a83
2024-10-15 14:28:23 +00:00
drh
dcaae8fd4b
Cross-reference the sqlite3_backup_init() function to the documentation for
...
VACUUM INTO and sqlite3-rsync. Comment changes only. No changes to code.
FossilOrigin-Name: 405c23ce02cc7f970e732afc26e01d0267b8fa89d8edc3d53fae2b3bc8405cbb
2024-10-15 14:00:29 +00:00
drh
4924847cb9
Avoid the possibility of buffer overrun in the READ_UTF8 macro by using
...
an less-than operator rather than not-equal-to.
FossilOrigin-Name: 20e60bf058c54bc818ea1b8ce54ace8bcd50699734713cef622bf79e49a9a279
2024-10-14 18:43:04 +00:00
drh
5899d9c08f
There is no need to DELETE the content of sqlite_sequence in the output of
...
the CLI ".dump" command because that table will initially be empty if it
exists at all. [forum:/forumpost/2e31f49d00472cec|Forum post 2e31f49d004]
FossilOrigin-Name: 8d7fe903d09a2a7961f506b2c8e93765e4feb7cd48aac436d75c7ec7838e856a
2024-10-14 11:48:19 +00:00
drh
39b9249562
The CLI now default to ".crlf ON" in Windows. CSV output always uses CRLF on
...
all platforms.
FossilOrigin-Name: 84d19f03b1989d665547745defcd95fc927f8389ed65c76195a39206435791ba
2024-10-14 10:45:02 +00:00
drh
863fcdc116
Be consistent about using "CRLF" instead of "CRNL".
...
FossilOrigin-Name: ec4f4cfd5f8ca83fad4f08cf6566251d9c63e50a3a4284baca299bd94b047951
2024-10-14 09:19:02 +00:00
drh
72fea11809
Fix a harmless compiler warning in the CLI.
...
FossilOrigin-Name: 31c46e84fffe29c45fc63ae8cd1f96f42196f0ab56e72cd07b4eedbd9058e85b
2024-10-14 09:08:02 +00:00
dan
a4ff06f056
Fix a problem with the ".expert" command and queries that use virtual tables.
...
FossilOrigin-Name: 43787b8ec5348207ae84e6f16acf2605c1ca024fc02b022ce2f36b8495e88384
2024-10-12 19:33:47 +00:00
dan
629e1bfa6d
Ensure that test file ext/expert/expert1.test works with non-fts5 builds.
...
FossilOrigin-Name: 933dfd06188b487f14e522453a83b06e491aea97b4248c17f87727b56694acb5
2024-10-12 18:33:40 +00:00
dan
d5a780fddf
Allow the ".expert" command to analyze statements that use built-in virtual tables.
...
FossilOrigin-Name: a201906cd3c85080f9b739c2d347c51348ebebd3dc9b647d33d8dcae4b6e5850
2024-10-12 18:00:22 +00:00
drh
589ce93e9e
Additional clarification in the comments to sqlite3_stdio.c. No changes
...
to code.
FossilOrigin-Name: 2db24c5364808008fa503f37ca8ccf5d135e8f6bfac2efb29e509e26f7190470
2024-10-11 23:31:37 +00:00
drh
4859bc9a9f
Update comments in ext/misc/sqlite3_stdio.c to reflect the latest enhancements.
...
No changes to code.
FossilOrigin-Name: 9621c3b527702b47799538e028f96945b5697752dbb56078aa7f114c72fd4e1a
2024-10-11 19:57:41 +00:00
drh
4dfc4dc2df
Add the doc/compile-for-unix.md document.
...
FossilOrigin-Name: a3e16e478b03ccc12888eb5700c2e480a446957368f4b37ed322af2f4c9cd7c4
2024-10-11 19:33:22 +00:00
stephan
ea7ea76a59
Avoid a segfault when calling src-verify without any arguments.
...
FossilOrigin-Name: c0c4e6f111b9b16538aad33e83f02f8d7835e952649f5cee610c068722bea4a4
2024-10-11 19:22:32 +00:00
stephan
c85c102efe
Add two missing $(BEXE) suffixes, as reported in [forum:9ad28680d394afda | forum post 9ad28680d3]. Problem introduced by [1218a203483cecdc] being incomplete in where it added that suffix.
...
FossilOrigin-Name: de9663c0aae92e457ddda48b751b32f205bfab29f60b055571e5f69b41ffd584
2024-10-11 19:18:44 +00:00
drh
2623a19ab0
Improved instructions in the TEA readme for building the TCL extension.
...
FossilOrigin-Name: bf996f710212fbc0c0c67789e3f6f1a805e7b81e0265b312265ca7286e76d6f3
2024-10-11 19:13:02 +00:00
drh
b8d18f321c
Update the README for the TEA extension in the amalgamation tarball.
...
FossilOrigin-Name: acc866c8f1b73fd57f434c5cb2576c2a7b9475a127febbcc27e8c714bbe29a8a
2024-10-11 19:08:45 +00:00
dan
4723539637
Avoid running some new tests in lock5.test with the inmemory_journal permutation.
...
FossilOrigin-Name: 0b12e2e55c6d4b329f0a7629965f313f48b6d3918d36d3371953c56e0c688a28
2024-10-11 18:59:29 +00:00
drh
ed3cf6ef37
Update the autoconf Makefile.msc
...
FossilOrigin-Name: 911ab3299771a607a135f0bcde3057b0ed337870362396bf72506210fdff729e
2024-10-11 17:43:47 +00:00
drh
17408fbbd8
An improved method for statically linking sqlite3_analyzer.exe using Tcl9.
...
Enable wildcard expansion of arguments to testfiture on Windows.
FossilOrigin-Name: 9b87ea219bce5689a69efac31063b9b11928e59124c0d36194715ff7faa5129d
2024-10-11 17:02:37 +00:00
drh
b23cce9a16
Fix the CSV output mode in the CLI such that the line ending is NL by default
...
but goes to CRLF if ".crnl on" is set. Make the .crnl command available on
non-Windows builds. Update the .crnl command such that if it has no arguments
it shows the current setting.
FossilOrigin-Name: da750e39df7bf42330d8c8b266300da07247c9619895861b4cff4be7c94db7cf
2024-10-11 14:30:58 +00:00
drh
0b453b3b33
Avoid undesirable NL to CRLF translation when doing binary output to the
...
Windows console.
FossilOrigin-Name: d25bdce36abed95524ad058a277aba7bb17270e7ff1476474713dbc29742c762
2024-10-11 14:02:48 +00:00
drh
64366ae114
Improvements to TCL9 support. Fixes to the Makefiles so that the "install"
...
targets are consistent and so that they work better with TCL9.
FossilOrigin-Name: bcfae7183e92ce37717852bae5b1dd526903fa8429fb6f738c2147d4e5231642
2024-10-10 10:47:37 +00:00
drh
7b179a3098
For compatibility, allow the TCL interfact to continue working with TCL 8.5.
...
FossilOrigin-Name: 69346e9d4704e8fd82cbb3359913191e05cb38ee591baf97dcfe321db0ea085e
2024-10-10 10:33:31 +00:00
drh
f553588c76
Adjustments to the Makefile.msc to get static builds of sqlite3_analyzer.exe
...
working with TCL9. Update the compile-for-windows.md document for TCL9.
FossilOrigin-Name: df16d07d8db042cdb1dc6bb9a00a0265ba791a615d74f9152d0b3344e618fe93
2024-10-10 09:59:06 +00:00
drh
50ec92f7ce
Improvements to Makefile.msc: (1) Attempt to find sane values for key
...
variables based on the value of TCLDIR. (2) Default to TCLVERSION 90 instead
of 86. (3) Add the "tcl-env" target that shows the values of key variables
associated with TCL.
FossilOrigin-Name: 6b7a789a416fb62a532882d10e41c7048a6805f5fbbc008f36f9802be45d9ebb
2024-10-09 20:05:26 +00:00
stephan
94fe1ad1c6
Add quotes around $(CC) in tclextension-related targets so that a CC of "ccache cc" works.
...
FossilOrigin-Name: e8f719d13fbcbaf1b52b421d7af59759b1b4692d4010a68d5865dfeaf3cf8cb0
2024-10-09 17:47:43 +00:00
drh
da1bf77cc2
Fix a problem in the generate_series() extension introduced by
...
[d50b784807333c54].
FossilOrigin-Name: 41d58a014ce89356932d717843a1fa6e0735f15a7b7265c41ac85a9722a5d826
2024-10-09 16:32:19 +00:00
dan
8f97647477
Fix the xCheckReservedLock() method of the flock VFS to avoid dropping the file lock.
...
FossilOrigin-Name: f7acb189d8eadf2de2fa992b3ff7293838fd0f8fd3c61e9f0238226a36ea6bcf
2024-10-09 16:28:26 +00:00
dan
48dd75df73
Fix the xCheckReservedLock() method of the flock VFS to avoid dropping the file-lock.
...
FossilOrigin-Name: 8ffaf85249ff38ceea037a6e96b3484c912f1c1aa55b8642297d592768661344
2024-10-09 15:40:07 +00:00
drh
492925a8f0
Change the makefile to prefer the use of tclsh9.0 if it is available.
...
FossilOrigin-Name: 28e2b9a23f61530bc5eea364a74817fca03fa31f70d4eefb0942a89c1d79f765
2024-10-09 13:54:24 +00:00
drh
97b0610602
Make it so that the TCL extension installed using "make install" has the
...
same name as the one installed by "make tclextension-install".
FossilOrigin-Name: e21fc1ba44dc88547fd2cdfaed90717566153880e79d862e2b3e54ba7f8f0a2e
2024-10-09 13:40:49 +00:00
stephan
a60142fef5
Add sqlite3rc.h build.
...
FossilOrigin-Name: 8d5f99f7e3f0ff9eaea1cb550369864e49a0fe0b00a53b1eba6ed099b61d8d24
2024-10-09 13:26:01 +00:00
stephan
fa2770fec5
More work on the tcl build parts.
...
FossilOrigin-Name: 292ad7d519d39f16f130d082d3f134deadd5409d56ffb5340064a1996f4b4d57
2024-10-09 13:20:25 +00:00