stephan
1865e85e0b
General tinkering and cleanups in the autosetup bits.
...
FossilOrigin-Name: a290e3b15de75f6a0a4975b5747449525fb2b58b3947b8ca0ab64a4d3cca228e
2024-09-27 12:15:14 +00:00
stephan
c139ad34de
Rename TCL_GENERATOR to BTCL for consistency with BCC/TCC.
...
FossilOrigin-Name: a7ff8f3c2c86f435a08d568a07f019a59dcca8f66a719d242289fa0c7097c2af
2024-09-27 09:40:55 +00:00
stephan
8d2f6c13e3
Disable the optional extending of JimTCL on the grounds of YAGNI.
...
FossilOrigin-Name: f395c269d55c2b5ceb074f26d0b63f65b1f04ec513fe203c7e73e3a876b1f055
2024-09-27 03:16:01 +00:00
stephan
3c6db6831d
General auto.def cleanups, mostly around JimTCL. Swap out impl for the sqlite_cfg.h generator - this approach is lower-maintenance (requires no hand-maintained template) but may not be compatible with expectations.
...
FossilOrigin-Name: da197946dbaacedb6e74827db9b5dd195d4aaf78ad9411a14aca732ab77917c6
2024-09-27 03:04:16 +00:00
stephan
587256a634
Tweak build to fall back to system-side tclsh if we cannot find realpath() or _fullpath() for JimTCL (needed for some of the code generator scripts to work).
...
FossilOrigin-Name: b31dbb9945d0ac5e22d146565443bcdc0dd1a1c83034cfb5867b2303ada2bdea
2024-09-27 02:35:41 +00:00
stephan
474cdc54ef
Run all of the TCL-based code generators using JimTCL.
...
FossilOrigin-Name: 3193b86a91d8096be68cb83133c7665129694521d7da81bf725e285c229271f7
2024-09-27 01:42:52 +00:00
stephan
9ce9ee6819
Generate sqlite3.h/.c with jimsh, somewhat to my surprise.
...
FossilOrigin-Name: c365d8e1f7aa19e424f60f976db683c3ccb489900124811541e02d47f9a1cbe3
2024-09-27 01:30:34 +00:00
stephan
69f2da0eed
Experimentally build shell.c using the autosetup-provided JimTCL.
...
FossilOrigin-Name: 5bd62cdbc4b188a59c83fb04685f9967d6a5270772eb48f950a5d86409eb8a1b
2024-09-27 01:25:49 +00:00
stephan
42aa26a607
Remove some gratuitous overengineering before it can spread.
...
FossilOrigin-Name: 94340011ed903434cd12ca982f226c548f7ec43019d449b4ee12e18ec886fb27
2024-09-27 01:04:09 +00:00
stephan
02616ccf29
Get the generated .c/.h files generating.
...
FossilOrigin-Name: e890c8508da4e126f43c61f809f750d6cb2d7d01600fe2173fbcd7dabbfce0fd
2024-09-27 01:00:32 +00:00
stephan
66cb9d0ec7
Re-indent some tcl code.
...
FossilOrigin-Name: 34ea629a07bfb00c86df7c62462bf2d699347c34dcb7656c86f5f76b52d33b30
2024-09-26 21:09:22 +00:00
stephan
9a1b212f50
Latest hwaci-common.tcl after refactoring to facilitate including a copy in the libfossil tree.
...
FossilOrigin-Name: feea65bcd54f9266445bc4d65ea5e3cfadee8e3abff5b682e31cdc0034354fbf
2024-09-26 21:08:00 +00:00
stephan
c2da952f5d
Get lemon building. Re-indent hwaci-common.tcl for consistency.
...
FossilOrigin-Name: 53dc33d5e20062e8c4c9856349bbc143c858327ef41f356ffcc574b36d0cc73c
2024-09-26 18:40:07 +00:00
stephan
76bfcd13be
Do not remove *.def in the cleanup rules because auto.def is a required part of autosetup. Remove the .o vs .obj detection/distinction because the Unix-like Windows environments use .o.
...
FossilOrigin-Name: 65eb1072e297f01ba4ce21fe644f709e75ebaec5307764b549efceafb88f6ebf
2024-09-26 14:09:23 +00:00
stephan
cda0d6fd74
Cleanups of the --with-wasi-sdk bits. Straighten out VERSION vs RELEASE.
...
FossilOrigin-Name: 7638f3ad1588ff16c2980763c6c4c1386a711acd64adb21c465f186a47bc975d
2024-09-26 12:16:46 +00:00
stephan
b1e1d9f3d4
Merge current trunk into this branch.
...
FossilOrigin-Name: 683a9e1e2f68a5c34fe524867576a4405fa2460880ad0bf4c07799744fea4192
2024-09-26 08:53:37 +00:00
stephan
1bc8f07f20
Remove a misled acrobatics related to cross-compilation, based on suggestions from Steve Bennett. Add a quick-n-dirty placeholder check for tclsh to move that part along.
...
FossilOrigin-Name: c419168938b009b2cf8a42a01272971497b5329792ccb8cef235f47ab5f142e2
2024-09-26 08:25:10 +00:00
stephan
bb12cdc11b
Time for a break.
...
FossilOrigin-Name: 1d29cd9095595b7b027b90d644dc4767fde0b6f98316c0eb82014b7aad6770d7
2024-09-25 23:09:38 +00:00
stephan
220434abdd
Integrate the configure-time Emscripten bits.
...
FossilOrigin-Name: 456125a14454180d608d8f5bc651aa4350958cdd14f4011ef540beb278ca2d51
2024-09-25 22:13:49 +00:00
stephan
ae49b334c2
Further streamlining of auto.def.
...
FossilOrigin-Name: 74d12433599e2f189d8d0a44be834651531ac5a215bf42de386053cd00d29162
2024-09-25 18:03:26 +00:00
stephan
2615879760
Improve common feature flag handling a bit.
...
FossilOrigin-Name: 8716c35eaa168677a10de7b4aa55d35c54035f5e685cc1a5890b940a41cc6ff7
2024-09-25 14:58:09 +00:00
stephan
13aea08683
Lots of work on auto.def and the utility tcl lib. Still lots more to do.
...
FossilOrigin-Name: 2141527a38ca8170e79b5b5e664378f0d8464055119f5b986e5d7b1be75e919e
2024-09-25 14:38:46 +00:00
stephan
aaef970446
Change --enable-tempstore to --with-tempstore to avoid the uphill (and losing) battle with autosetup's built-in handling of the --enable/--disable prefixes.
...
FossilOrigin-Name: 8bea45fbbf8557760e792cdfcede72afa9e25dd7b90e4ce3297efebe8d0cfb1c
2024-09-25 12:16:13 +00:00
drh
8cd30e3f5b
In the CLI, for columnar output formats, try to account for the presence of
...
zero-width and double-width characters in the output and adjust column widths
accordingly.
FossilOrigin-Name: 9592b9ba3ad7a842cdd4c4010da278485a6fdec7e811bda01ebe640162a8c3b6
2024-09-25 09:39:11 +00:00
drh
f4382b2415
Improvements to comments on data structures and subroutines.
...
FossilOrigin-Name: b217e3004b58af0e777726bdd652b999ad41815261299ef4ce8f8d2f6b0afe8d
2024-09-25 09:33:14 +00:00
stephan
2d0b1ae73b
Baby steps towards a working auto.def.
...
FossilOrigin-Name: c223dbb4fb8e800089752617c6c986b6c80be0d180e9d1610f28cf95253e5674
2024-09-25 08:04:14 +00:00
stephan
cf9d95002e
Add --enable-tempstore support and document some of the weirdness of trying to use an explicit prefix of --enable with non-boolean flags (autosetup unconditionally handles --enable and --disable prefixes on its own and always treats them as boolean flags).
...
FossilOrigin-Name: fe6fa4ce5271c6265985574e1c406dda5b57f0dc360626800b6173a8f054bdab
2024-09-25 07:30:54 +00:00
stephan
4e0208fd8e
Re-enable the --enable-all bits after figuring out that autosetup(options) is not a dict, but a list.
...
FossilOrigin-Name: beb2a12045447586cc74f243d4f519c967595d929abe6330c2b1049897e8eaad
2024-09-25 06:25:33 +00:00
stephan
bbd6ba04b9
Disable with --enable-all bits, as the helper function it uses is dying for reasons beyond my meager tcl-fu.
...
FossilOrigin-Name: d2b883120e7ab374092d2bdef0faa22eaa9639cb103f9fbbbbfd16639fbfd323
2024-09-25 06:07:54 +00:00
stephan
4b5adfc6ba
Correct some copy/paste errors in the previous checkin.
...
FossilOrigin-Name: 9752768d8a83052cb69fa07d51e2c82e710c20482cc02c33a4412ffdfa3dc699
2024-09-25 04:34:16 +00:00
stephan
dd5b962a15
Get --enable-all flag essentially working.
...
FossilOrigin-Name: 0a49436c983848c3d88f3f5ec33fb9ac31cce62e94bf515ab1c357a10f5cd515
2024-09-25 04:20:58 +00:00
stephan
63c4d89ae1
Get several of the --enable/--disable configure flags working.
...
FossilOrigin-Name: fd16d53d3a95cd4f5f81f4b1b09955f04c89116586aa16fa01627ae4904d587b
2024-09-25 03:37:34 +00:00
stephan
e6b41c4641
Testing libfossil checkin fix for inheritance of privateness.
...
FossilOrigin-Name: 4b104926bf0862a5088e51549c2d688c2af649d45bf0e396cc48e171bed06b0a
2024-09-25 02:00:09 +00:00
stephan
f4321fff36
Get skeleton auto.def running, but it doesn't really do much except some standard boilerplate stuff.
...
FossilOrigin-Name: e707634cf755346752bb83b7be5d0c683e39d6e0a497846019323fed31c08b9d
2024-09-25 01:39:39 +00:00
stephan
6219872845
Initial pristine autosetup bits.
...
FossilOrigin-Name: dfb1e7f0cce9bc79c43eee7208cad0e2df562b2bc9705d3a36fd78f86c75495b
2024-09-24 21:08:49 +00:00
dan
29057f3d18
Fix a memory leak in sqlite3expert.c introduced by [f1d76c86].
...
FossilOrigin-Name: 42bb941584a1ac922ee6b0b6ecadce71c9259555563cf49913a6f820f3f9b887
2024-09-24 15:11:34 +00:00
dan
3c90b86372
Avoid an error in sqlite3expert if the database has existing indexes on expressions.
...
FossilOrigin-Name: f1d76c8636866424fe0b57d8814b8bb1a0ed4e2ca1b75d8e308d4b962ad8dc3b
2024-09-24 11:26:21 +00:00
drh
7d24e6b080
Remove an ALWAYS() that can sometimes be false, with wildly incorrect SQL
...
inputs. dbsqlfuzz 707afcf73930de2624cdeca0ad1f0deea982dfea
FossilOrigin-Name: 766cf5535b9f51decd88c1736b988def929a90f68eb6a52bcaa21bb321586a08
2024-09-24 00:53:27 +00:00
drh
415acd09d7
In the CLI, when displaying results in a columnar format, take into account
...
zero-width and double-width Unicode characters.
FossilOrigin-Name: 47cfad71eddc6fc4414ff853ee172da72527620eee743721806072c6e0a80caa
2024-09-24 00:01:47 +00:00
dan
253695caf3
Fix a couple of problems with the sessions streaming interfaces.
...
FossilOrigin-Name: 9a1fc8d36b5b262f9d17a4743b4b9bb54510cf257d2d9778ebc42d5224856b1e
2024-09-23 19:32:06 +00:00
drh
5e419c1048
Add the run-fuzzcheck target to the MSVC makefile.
...
FossilOrigin-Name: 2e5194407a1b34dd0659c350ea8098bfef7b3f11aa5b2a07ecd2bce5582655a2
2024-09-21 17:27:47 +00:00
drh
38f2c5f81c
If the database filename pointer passed to sqlite3_open(), change it
...
into ":memory:".
FossilOrigin-Name: 62e11a3a78edf9853b74d6495ccd8ae9ac1966c7d78eb3682cf2d5885e3740ec
2024-09-21 15:57:06 +00:00
drh
8a894cd804
Fix comment typo in the fileio.c extension. No changes to code.
...
FossilOrigin-Name: bf2c5b368ac094e048ca33a5e9175fe6a1fb5e2b1e392935eb29388e8999c40b
2024-09-20 17:41:05 +00:00
drh
7f0e0c7dbf
New assert()s to help verify union access. No logic changes. Testing and
...
validation code only.
FossilOrigin-Name: b7b64c53f5d7f6b405ee3f1f1be1d84230aa79db5a502c8ad78d3e524f4384fb
2024-09-20 12:58:15 +00:00
drh
db467f5777
Fix harmless compiler warning in the vfstrace extension.
...
FossilOrigin-Name: c8b4d092a22d87f1231424c8e3fa6a02f17fb965cb2a931621e1b51f4d215de7
2024-09-19 15:44:41 +00:00
drh
f8305e4616
Improved rebustness to malformed UTF-16 inputs to sqlite3_prepare16_v2().
...
FossilOrigin-Name: 7b3a517b3e16ea487ca77a2c88a0c11d737de366524fc911aa1bdd6bfb7ad148
2024-09-19 13:39:06 +00:00
mistachkin
8513eb6ba8
Remove a stray newline.
...
FossilOrigin-Name: 77f587dc3bbc784e8884c1b56b53fa90bbd76f4bd121bd572ab529a2b9796e57
2024-09-19 00:05:18 +00:00
drh
0e8cbd5e78
Improvements to the scope of valueFromFunction().
...
FossilOrigin-Name: a0f39419cb5bdfa42ab2978cf3819e3d7821212996571f8251d2efbeaa26c603
2024-09-18 16:33:07 +00:00
dan
704561f346
Fix the preupdate hook so that it works when the "old.*" row has a column with a non-NULL default value that was added by ALTER TABLE ADD COLUMN after the current record was created.
...
FossilOrigin-Name: 6a8c687904e92f00c1a5f768947545d2920ab9025bf8649adb0ea8053f5aec4e
2024-09-18 15:52:05 +00:00
drh
ae2a4acf8d
Fix sqlite3-rsync so that it recognizes drive-letters on the front of pathnames
...
in Windows, and does not misinterpret them as hostnames.
FossilOrigin-Name: 54a3bbd5781f76bd73f5276b632d1107312f7a789134910793262317edd8359c
2024-09-18 15:38:05 +00:00