aboutsummaryrefslogtreecommitdiff
path: root/tool
Commit message (Collapse)AuthorAge
* Add the snapshot-zip makefile targets for both Windows and Posix.drh21 hours
| | | FossilOrigin-Name: 8c73c0c5935431556f687556bfdb459754609f07c6366c810a55bf7583ee303d
* Enhance the "mktoolzip.tcl" script (used by the "tool-zip" makefile target) ↵drh23 hours
| | | | | | | | so that it uses "fossil test-filezip" to build the ZIP archive if available, and so that it also generates windows-dll-*.zip on Windows platforms. FossilOrigin-Name: 63ddc215eb6106985c53d3c8d99f5445a92acf4359a6bb2681882c49583df871
* Add the --tclConfig.sh FILE flag to buildtclext.tcl to eliminate the ↵stephan2025-06-18
| | | | | discrepancy between the configure-time-detected tclConfig.sh and the one auto-detected by the tclextension family of makefile targets. Add the tclextension-all target to run all of the various tclextension-... targets in their natural order to facilitate testing changes like this one. Update the --help text to note that --with-tclsh should only be used if there's a specific need, and that --with-tcl is generall preferred. This is in response to [https://github.com/termux/termux-packages/issues/23268 | Termux ticket 23268]. FossilOrigin-Name: 928976abcb11f9d5abe1f7631002592c4af7bf83ecadba5b0763866d039c2270
* Update the "msort" function in Lemon so that it works with lists of anydrh2025-06-06
| | | | | | | length, and also so that the sort is stable. This patch was motivated by [forum:/forumpost/63750d717c9ed961|forum post 63750d717c] but was independently developed, then tested by temporarily setting LISTSIZE to 2. FossilOrigin-Name: aba5c3135edf7de2798ad808fa0ff176fdba3f4a9b101f1f4210b441cba8e75d
* Remove the clunky test_windirent.h and test_windirent.c files from src/drh2025-06-05
| | | | | and replace them with a much cleaner and more compact ext/misc/windirent.h. FossilOrigin-Name: acc978df52ec41ffdb5c27764f30d53efa1f25a314b7d98983dc0d211a36b570
* Enhance sqlite3_rsync so that it works even if the replica database isdrh2025-06-03
| | | | | initially malformed. FossilOrigin-Name: ea1754f7d8a770477a1b19b606b27724fdc0b733e51fef32c1ef834f972c3cc5
* Fix an off-by-one error in sqlite3_rsync, reported indrh2025-06-03
| | | | | [forum:/forumpost/b6d78f60fc|forum post b6d78f60fc]. FossilOrigin-Name: 27d9e8e79b921c4a86916556f3bf56b94684a7e3d40166c0fdaaf750d4011de0
* Fix a goofy hash function in Lemon. No changes to SQLite itself.drh2025-05-29
| | | FossilOrigin-Name: d6cbabe23d3919d5bde6a83421cdae92125caec09d5c39a648d0305878c6a1dc
* Slight change to tool/split-sqlite3c.tcl to make it compatible with jimshdrh2025-05-26
| | | FossilOrigin-Name: fe670ddda933007386eb10facf4048ee88671f74b1fd41dfc3120beb717b8c9e
* Avoid calls to sprintf() in Lemon, since OpenBSD hates sprintf().drh2025-05-26
| | | FossilOrigin-Name: ed17858ddf833b6b9c2164f31ee9138a998d28ec1564d09e20deb102eefedbc8
* Remove stray tab characters from source files.drh2025-05-19
| | | FossilOrigin-Name: 298ff5a1dc5dbccaf6acd91731044f478a5ce522745332801708ceee996b01e6
* Adjust the tool/warnings.sh script so that it works on the latest versionsdrh2025-05-19
| | | | | of clang on Mac. FossilOrigin-Name: 05a3dd9a179193d00968329152c8ffe6532f0cbdad7d19b47af32aebc0cd0d9e
* Latest upstream teaish pieces for minor fixes. Restructure this copy of ↵stephan2025-05-17
| | | | | teaish to simplify maintenance and the autoconf bundle build. FossilOrigin-Name: 2b8d9b75ec5fe96cb5d06a3464fd4eb9a53018b7b548fedcd6cdbc46cdb55bdc
* Remove a redundant typedef from the sqlite3_rsync.c source file.drh2025-05-11
| | | FossilOrigin-Name: b4c37c6bcc644e21a29955e31151ea22a07627e524ce913afd3d2d6eeb7e0bb6
* Provide the SQLITE_BUG_COMPATIBLE_20250510 compile-time option that restoresdrh2025-05-10
| | | | | | the JSON5 bug fixed in the previous check-in, in case some applications need it for legacy compatibility. FossilOrigin-Name: 491cf31904fdbc9567b838d1ba27901e75f8ea3a117043017d08354bb09f9711
* Enhance sqlite3_rsync so that if the first attempt to invoke a copydrh2025-05-03
| | | | | | | of itself on the remote system using ssh fails, try again after augmenting the PATH. This enables sqlite3_rsync to work without the --exe option when the remote system is a Mac. FossilOrigin-Name: 38d4c94d8c7802101ef3bfb411002f9497fdbbbd2b4d3514cef5b76ffd66f75b
* Fix a harmless redundant variable declaration in sqlite3_rsync.drh2025-05-03
| | | FossilOrigin-Name: f8f15eff6ae50d569ed13a3b18f33eaa43453c0cb80b6007df38e880b62f45d0
* Addition summary results output when using -vvv on sqlite3_rsync.drh2025-05-03
| | | FossilOrigin-Name: c702999cfac37fdcae64d261408e58d1f49fee65434fe346db6a2a6c7f8ac54e
* Promote the --protocol option to sqlite3_rsync from being an undocumenteddrh2025-05-03
| | | | | | | debug option to being a supported and user-visible option. This is sometimes needed to work around bugs in prior versions running on the remote. FossilOrigin-Name: 4855e04e44e8fce2d6e37dd468eb6e9f4565c36cbc964156e65ac0449d7c212f
* Improvements to protocol negotiation.drh2025-05-03
| | | FossilOrigin-Name: 4f5a06e42010c3e047429f736ffb8e2e89a1eb599277c176945b57710f6713ca
* Clean up command-line parsing. Add the undocumented drh2025-05-02
| | | | | -protocol option for debugging. FossilOrigin-Name: 2a52b174e6e91cd7cfca0b20b39cdd231f377c7bc073f4223574556b94b16aa5
* Now appears to be working. More testing needed. Refinement of thedrh2025-05-02
| | | | | version-2 algorithm needed. FossilOrigin-Name: cb035181d9fb5909696b8ec8f9c3eeb7a7dfb4b50e82e1d3f2d5ad150afcc0ff
* Bug fixes. Added new debugging features to better visualize thedrh2025-05-02
| | | | | protocol. FossilOrigin-Name: c70330668690e7c3c55ae34137d5b2c91871432004b82b2b23a89fc3f1322a62
* This is the start of an experiment in getting sqlite3_rsync to use lessdrh2025-05-02
| | | | | | | bandwidth when the two databases are very similar, by sending hashes over blocks of pages initially, rather than over individual pages, then requesting more detail when hashes do not match. FossilOrigin-Name: 266b4b8f0104bd4b1cff87ed78b0223006bf661a9650294a2b330d50c7ee8a0c
* Do not allow sqlite3_rsync to convert the replica from WAL-mode intodrh2025-05-02
| | | | | | | DELETE-mode, as that can disrupt existing clients on the replica side. DELETE-mode to WAL-mode conversions are allowed, however. See [forum:/forumpost/6b575b66156673ee|forum thread 6b575b66156]. FossilOrigin-Name: 660a035b6ce6684d429b882133e032181cc1664f4efadf1bc0e4ae27d45071c4
* Allow sqlite3_rsync to work on non-WAL-mode databases, as long as thedrh2025-05-01
| | | | | --wal-only flag is not used. FossilOrigin-Name: e4126dcd1eba4f040a7c07102d34692287b74b41a3437a3b9d15c4f8c9d4e6fd
* Remove long-obsolete performance testing scripts from the tools/ folder.drh2025-04-28
| | | | | | The test/speedtest.tcl script is what should be used these days. This is just cruft clean-up. FossilOrigin-Name: 956af8c294ae5b826a5b645922df07dad360290d19bf2b6a7f74d0a783a3e692
* Latest upstream teaish, which restructures the teaish files a bit.stephan2025-04-13
| | | FossilOrigin-Name: 4f54f7d07d31938f271bc5d04a40cb1f7b5e6ea48e78ad06b7cc65483533f54e
* Add missing exports of various LDFLAGS and CFLAGS for the teaish build.stephan2025-04-12
| | | FossilOrigin-Name: 7462b1c66e8b3799ba1d73a1b815993e1c511ac0b7263e747ca0186d263ad001
* Initial port of the TEA build (autoconf/tea) from autotools to autosetup.stephan2025-04-12
| | | FossilOrigin-Name: 95227341cf290ca6f20b5ff7e707a28b59f87784947425c3fd1d8e5e7eb878a4
* Remove unnecessary "www." prefixes on domain names in URLs.drh2025-04-10
| | | FossilOrigin-Name: 20acd630b91609725794ce84f9eda01d5f3c898407f0948264830851d25ccaa6
* In Tcl, always use eq/ne for comparing strings, not ==/!=jan.nijtmans2025-03-27
| | | FossilOrigin-Name: f96a5346e3e890adfdc94a682688c2c15893e50fbaf2a26e5ef39cda8b331ee4
* Merge trunk into cygwin-fixes branch. Add .fossil-settings/binary-glob to ↵stephan2025-03-26
|\ | | | | | | | | squelch warnings about *.db files on Cygwin. FossilOrigin-Name: a8328b921c5504eceacade417e16e713999eff63978caf3418fd79501590b1cb
| * Remove tool/tclConfigShToAutoDef.sh, as that functionality was moved into ↵stephan2025-03-23
| | | | | | | | | | autosetup/proj.tcl so that it can be reused in, e.g., autoconf/tea. FossilOrigin-Name: c9c5a15d4d8141aae68d6643869f74879ae053cb86538b805058099af2cec16b
| * Internal configure refactoring to support an ongoing conversion of ↵stephan2025-03-23
| | | | | | | | | | ./autoconf/tea to autosetup. FossilOrigin-Name: e1d483e342670092c3579f2f0975e49a0c74516ae34103a63b4cde156bf5e92b
| * Replace use of autosetup/lib/*.auto for sqlite-custom-... features to avoid ↵stephan2025-03-22
| | | | | | | | | | the possibility of multiple files being loaded (in an unpredictable order) for that purpose. Instead look for autosetup/sqlite-custom.tcl and source it if it exists. The intent is that sqlite-custom.tcl only ever be added in vendor-specific branches and never in the trunk. FossilOrigin-Name: f3c0071284fbe1c0a8c3fe73792a79f9df6be983e5c9bd1a7e2fe71ba7b2d400
| * Teach mkautoconfamal.sh to avoid copying autosetup/local.tcl and ↵stephan2025-03-22
| | | | | | | | | | autosetup/*.auto except for autosetup/lib/CURRENT-BRANCH-NAME.auto (if any), the intent being to use lib/CURRENT-BRANCH-NAME.auto for branch-specific configuration customizations. FossilOrigin-Name: dfe24f13c446de5fdd736ed52fec0fca4637b4151ba008de7a598a2fc9398816
* | Test script patches from Jan Nijtmans: always use -DUSE_TCL_STUBS in ↵stephan2025-03-19
| | | | | | | | | | buildtclext.tcl and improvements in how TRG is populated in testrunner.tcl. FossilOrigin-Name: aa192203aa1aa188866fe00a5d40dc7b7c72b4f38b06da8708ed0a6c8b8638a6
* | Merge trunk into the cygwin-fixes branch.stephan2025-03-19
|\| | | | | FossilOrigin-Name: 34eadd374b3c0a8c9e1f5f4a1c60fda8f16b1c56213b8c4047f96390c676b695
| * Update the docs in tool/mkccode.tcl to reflect that it's more generic than ↵stephan2025-03-18
| | | | | | | | | | it was when the docs were written. Change the shebang line to use /bin/env tclsh instead of a hard-coded tclsh path. FossilOrigin-Name: 9300f7f42dfd143f77fd51aa9e080099540854d36b6997ab1a16be7d77f78d8e
| * The substitute "puts" command used by the Windows implementation ofdrh2025-03-11
| | | | | | | | | | | | sqlite3_analyzer must invoke fflush() after each line of output. Otherwise the output can be truncated when redirected into a file. FossilOrigin-Name: ba058ce90a2ba9ebc4d8fb289108c04f80fa85da01c0b8bd58855681836ba83d
* | Test app/script patches from Jan Nijtmans for cygwin. Add/replace many more ↵stephan2025-03-08
|/ | | | | sentinel arguments for TCL variadic functions which specifically need a NULL trailing argument. With this, 'make test' on cygwin runs to completion for me, with 134 of 329227 tests failing. MSC build fails the same 13 tests which fail for me in trunk. FossilOrigin-Name: 84d8fcfca19cd183d05a702d0eb1742bfae462d3383a3db72741a48cefac1058
* Approximately 100 typo corrections spanning the whole tree, submitted via ↵stephan2025-02-27
| | | | | [forum:0db9827f0464bc33|forum post 0db9827f0464bc33] and individually audited and verified. Affects only code comments, innocuous test strings, error message text in tool (not library) code, and configure-level help text. FossilOrigin-Name: f50c21484d3cac73589da0376c423de39ae8b842218105786c5aa3726e4dcaed
* Strive to make sorts stable in the mkpragmatab.tcl build script, so thatdrh2025-02-27
| | | | | | we get consistent amalgamations regardless of platform. [forum:/forumpost/c9914addebf3da51|Forum thread c9914addebf3da51]. FossilOrigin-Name: 3f57584710d611748eb0af797c58c72e4ac099db09f5286cafdbd9a8ce354c90
* Add support for SQLITE_EXTRA_INIT_MUTEXED - like SQLITE_EXTRA_INIT, but is ↵dan2025-02-27
| | | | | called from within sqlite3_initialize() when the SQLITE_MUTEX_STATIC_MAIN mutex is still held. FossilOrigin-Name: 3cf88d429f6e7c10b8f19c283151541924c4bb84bbd0d2e05cabdd4f9f0e88c9
* Approximately 50 typo fixes, spanning the whole tree, contributed via ↵stephan2025-02-25
| | | | | [forum:006c8fa165083ac3|forum post 006c8fa165083ac3] and individually checked for correctness. Affects only code comments, docs, and a single line of debug output in a test app. FossilOrigin-Name: af928818a030924060ee0762431dae0f16d53a62f4e1132754d052eb9c621ac2
* Diverse configure tweaks to better support package maintainers on the ↵stephan2025-02-25
|\ | | | | | | | | unix-on-windows environments like msys2, cygwin, and mingw, based largely on feedback in forum posts [forum:e6cf2bbb70da2922|e6cf2bbb70da2922] and [forum:828fdfe9041fd725|828fdfe9041fd725]. FossilOrigin-Name: 85b56fb0cce4b628f80b26a67b43236ef1557282775739bdbe7cc4d65948d66f
| * Ensure that [08c9e56f60] uses an absolute path when appending .exe to ↵stephan2025-02-22
| | | | | | | | | | mksourceid. FossilOrigin-Name: 906d27f7a645833595f02ddf05892703783d89116b1009f04e0b71679ff34a8b
| * tool/mksqlite3h.tcl: when invoking the mksourceid binary, add a .exe to it, ↵stephan2025-02-22
| | | | | | | | | | if needed, to appease msys2. FossilOrigin-Name: 08c9e56f6082bb609a42f0e34c83542fe8b682757bc45616810d91491950fd0f
* | Merge latest changes from trunk into this branch.dan2025-02-24
|\| | | | | FossilOrigin-Name: 55324d1c862c42b95251a398c40930d9fa94debb1aec7d3d0ae734d6b17b4a59