stephan
|
226a2c0d6a
|
Generic internal JS cleanups. No functional changes. Update the preprocessor for the ability to use C-style comments in directive arguments.
FossilOrigin-Name: b2699eb9676e6f5459b8279661c264ba2c803ae133f85c703984deb7afa4fe60
|
2026-09-30 09:17:12 +00:00 |
|
stephan
|
6ceffc33fe
|
Preprocessor: remove more not-relevant-to-this-copy pieces and add support for C-style comments in directive arguments.
FossilOrigin-Name: 5c321483e07c09271e5a59209cdb7c6748e6525c351c5e7aeeb259eba4ea3e70
|
2026-09-23 10:06:30 +00:00 |
|
stephan
|
fde3a84ddd
|
Latest preprocessor for various cleanups and fixes. Duplicate the tester1 concurrency warning in the worker-based copy.
FossilOrigin-Name: c9b4695ffae5a3388a49643d6819355851a0fda362cdaf140c59fc934759dcac
|
2026-09-21 20:18:51 +00:00 |
|
stephan
|
912706d94a
|
Latest upstream libcmpp.c for #eval and #include -resolve, and removal of the clumsy @'string' literals.
FossilOrigin-Name: dc176e433555fc818fb20218d846f06477305e6524dc1d73f175de9efccb3428
|
2026-08-20 11:50:33 +00:00 |
|
stephan
|
e9930003c1
|
Expose the sqlite3_backup APIs to JavaScript.
FossilOrigin-Name: fa17d89f76d50c153b6ff7ca96ae06c1ddc130abc3c0056dac3ef6d66f4f40c5
|
2026-08-10 12:41:17 +00:00 |
|
stephan
|
7dc844581a
|
Strip out 42kb of ext/wasm/libcmpp.c (build tool) by using a destilled build shorn of the capabilities we don't use in this tree, like #pipe and loadable modules.
FossilOrigin-Name: 3ec42b829e8de23f8d050b49b48eac1220463156eb973fd4daff440e6183c868
|
2026-08-05 15:00:54 +00:00 |
|
stephan
|
648be9e67f
|
Update ext/wasm/libcmpp.c for build portability improvements and doc updates.
FossilOrigin-Name: 48fdf51b53e9314f938fb0107ba04f6051d6c47b743c47e30c18a1be0da4015c
|
2026-07-30 12:17:33 +00:00 |
|
stephan
|
70c687859e
|
Fix an error handling case in #base64.
FossilOrigin-Name: f8c408f66257881937ed18b77e274f71dba2d97dd44546372fa0b0a9629efbd2
|
2026-07-22 14:16:33 +00:00 |
|
stephan
|
7d1796e488
|
Add (#base64 -f filename) support to the preprocessor and slightly simplify the wasm embedding with it. Fix a bug in the preprocessor's @token@ call expansion when the length of the configured @ is greater than 1 byte.
FossilOrigin-Name: 1e90bedec99054f4856bfb89efc4d676486504db67bd1304c45d14c638ddfc7e
|
2026-07-22 14:06:41 +00:00 |
|
stephan
|
adf52c4401
|
Restructure an errant goto which only accidentally never broke anything. Add some debug output to mkwasmbuilds.c.
FossilOrigin-Name: 0ca4e748e1682046f2e060876bcf7e8d249aa5611d939d32dc1365d3bcf12b48
|
2026-07-21 19:12:38 +00:00 |
|
stephan
|
add85ddbb3
|
Document the origin of the input size limit for #base64. No functional changes.
FossilOrigin-Name: 696988aac30797139060eb2718fcfda0363f1fa73df1187ea56956681d577411
|
2026-07-21 16:43:36 +00:00 |
|
stephan
|
6f1c5685db
|
Simplify the previous checkin by removing an extraneous local var.
FossilOrigin-Name: 6382d8336e2891c556456a340daecff81766980a27071e1d5bda6262ffba6f26
|
2026-07-21 16:29:34 +00:00 |
|
stephan
|
5b04866b72
|
Fix the corner case of feeding #base64 empty input.
FossilOrigin-Name: 999d20197143d884158341ac36e33bc1eb8e3484228eaf532818add927c30228
|
2026-07-21 16:23:21 +00:00 |
|
stephan
|
1f2bc0ea64
|
Add support for (make base64.wasm=1), which embeds sqlite3.wasm into its corresponding JS file as base64. A very expensive calculator which was fed the resulting file sizes assures me that the two-file approach is, in the aggregate, more efficient both in terms of overall network bandwidth (+~20% bigger for base64) and client-side memory usage (streaming vs non-streaming wasm compilation), so we'll shelve this as an interesting experiment or maybe for use by custom builds.
FossilOrigin-Name: a167aee75198ff08b20b448fecd3267ed4a70af2472c02605318a5613f446fc6
|
2026-07-21 16:04:10 +00:00 |
|
stephan
|
379e111bff
|
An initial attempt at embedding sqlite3.wasm into sqlite3.js using base64. This produces a chicken-egg situation in the build because the input file where the blob belongs is injested by emscripten (which generates the wasm file from which that blob is to be generated), so it does not work as-is but is being set aside for later. We'll need to add a second preprocessing step which uses a different #directive delimiter to keep it hidden inside the first pass, then squeeze the wasm file in through there.
FossilOrigin-Name: 538199cf62f07a2fe7ee5775c9f01aff1644d638bc0916cf631d61376462b5cb
|
2026-07-21 12:57:48 +00:00 |
|
stephan
|
b524d66cd2
|
Latest upstream ext/wasm/libcmpp.c, primarily to make it filcc-legal (only the final chunk in the diff - the rest is minor changes accumulated since the last update).
FossilOrigin-Name: 06f3bbc5bddc2e763042f8b487a3deedf47c54b7fa785ba6fd6abd524b4cbe3a
|
2026-07-21 10:44:28 +00:00 |
|
stephan
|
46a692c08b
|
Upgrade ext/wasm/c-pp-lite.c to its newer sibling because we've reached the older one's limits. This renames c-pp-lite.c to libcmpp.c to maintain both the SCM- and code lineage but that may end up looking a bit weird because the diff between the two is vast.
FossilOrigin-Name: 2e2339bd9e4293bad04ece7673a3048b99c2143cf9573ade2ec082d95744b981
|
2026-03-08 16:03:08 +00:00 |
|