SQLite

All files named "ext/wasm/fiddle/fiddle-worker.js"
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

History for ext/wasm/fiddle/fiddle-worker.js

2024-03-05
06:31
[850e66fc] part of check-in [ee164ca7] /fiddle: before resetting a db, roll back any transactions (resolves problem reported in forum post 0b41a25d65) and remove an obsolete/broken reference to a long-gone API which could cause initialization to fail prematurely. (check-in: [ee164ca7] user: stephan branch: trunk, size: 13827)
2024-01-08
07:52
[9be57887] part of check-in [0eddc20f] Make explicit which JS APIs are for internal use only by moving the JS-bound internal-use-only functions out of client-visible reach and renaming the WASM-exported ones from sqlite3_wasm... to sqlite3__wasm... (with two underscores). These have always been documented as internal-use-only, so this is not a breaking change except for clients which have ignored the docs. (check-in: [0eddc20f] user: stephan branch: wasm-post-3.45, size: 13848)
2023-08-01
16:38
[e0153f9a] part of check-in [6011bc26] Fix part 2 of 2 for /fiddle: a make deps problem which caused fiddle to load but fail to run when sqlite3.c was missing. (check-in: [6011bc26] user: stephan branch: trunk, size: 13894)
2023-02-10
11:04
[163d6139] part of check-in [dcf53293] Fix ext/wasm/fiddle build, which was silently broken by recent build refactoring. (check-in: [dcf53293] user: stephan branch: trunk, size: 13824)
2022-10-29
07:54
[b4a0c8ab] part of check-in [3f16eb18] Move the sqlite3.capi.wasm namespace to sqlite3.wasm. This causes a tiny bit of naming confusion with the sqlite3.wasm *file*, but seems to make more sense than having it as a sub-namespace of capi. (check-in: [3f16eb18] user: stephan branch: trunk, size: 13684)
2022-10-26
15:40
[41b9796d] part of check-in [3b5aa50c] Correct misuse of localhost-mode-only symbol S in fiddle-worker.js, which should fix the outage reported in forum post 67d985ac0bbe407f. (check-in: [3b5aa50c] user: stephan branch: trunk, size: 13708)
2022-10-20
18:31
[7ee53ca8] part of check-in [ac9af71b] Rename sqlite3_web_... to sqlite3_js_... Document the worker1.close.unlink option. Fix unlink usage in speedtest1.html. Minor JS build cleanups. (check-in: [ac9af71b] user: stephan branch: trunk, size: 13696)
05:14
[def47627] part of check-in [cdd46858] Rework sqlite3_wasm_vfs_unlink(), add sqlite3_wasm_db_vfs(), update some docs. (check-in: [cdd46858] user: stephan branch: trunk, size: 13698)
2022-10-03
11:42
[531859a4] part of check-in [18462052] Reimplement fiddle_reset_db() so that it works with all VFSes. (check-in: [18462052] user: stephan branch: fiddle-opfs, size: 13637)
2022-10-01
16:01
[ebf6e95f] part of check-in [29db7de7] Fiddle: fix makefile dependency issue and duplicate inclusion of post-js.js. Reimplement db export using sqlite3_serialize(). (check-in: [29db7de7] user: stephan branch: fiddle-opfs, size: 13910)
2022-09-29
16:54
[2a7107b0] part of check-in [7be78dd4] Finish eliminating explicit Emscripten module dependencies in test code and fiddle. The only remnant in public code is the Emscripten-generated module load/init interface. (check-in: [7be78dd4] user: stephan branch: fiddle-opfs, size: 17409)
2022-09-27
09:17
[425b75b1] part of check-in [4dc972a3] wasm/js: rename /persistent to /opfs to account for potential future persistent storage options. Minor flag-handling cleanups in the speedtest1 pages. Minor API tweaks in oo1. (check-in: [4dc972a3] user: stephan branch: fiddle-opfs, size: 17516)
2022-09-26
13:55
[1fe173ba] part of check-in [3579a8d6] Fiddle: replace db export routine with a C-side one which works for both Emscripten FS-hosted and OPFS-hosted db files. Minor code-adjacent cleanups. (check-in: [3579a8d6] user: stephan branch: fiddle-opfs, size: 17518)
11:38
[42c31065] part of check-in [9b2244e1] Get fiddle db export working for OPFS VFS. Add root dir handle to the main OPFS VFS worker to enable creation of certain utility functions without delegating to the async worker. Add sqlite3.capi.sqlite3_wasm_rc_str() to map integer result codes back to their SQLITE_xxx counterparts. Minor doc touchups. (check-in: [9b2244e1] user: stephan branch: fiddle-opfs, size: 16292)
2022-09-24
11:32
[d3e4d1e4] part of check-in [bcec4f96] Fiddle: move, rather than copy, data buffers between the threads. Fix the case of an uploaded db failing to install because its filename is the same as the opened db. (check-in: [bcec4f96] user: stephan branch: fiddle-opfs, size: 13184)
10:15
[462dee06] part of check-in [114ef355] Resolve "already configured" warnings from shell's main() when starting it up in fiddle mode. (check-in: [114ef355] user: stephan branch: fiddle-opfs, size: 12589)
07:36
[b6aea063] part of check-in [1b923ed6] Refactoring towards getting fiddle to support OPFS as a first-class citizen. Certain operations, e.g. import, export, and unlink, are not OPFS-aware. (check-in: [1b923ed6] user: stephan branch: fiddle-opfs, size: 11875)
2022-09-21
19:51
[3a258f7c] part of check-in [7c7fb753] Put pieces in place for fiddle to support opfs, but more cleanup is required in the sqlite3.js/fiddle connection. bigIntEnabled now defaults to whether the Emscripten's module has bigint enabled. Add wasm-sensible defaults for several SQLITE_ENABLE/OMIT flags in sqlite3-wasm.c. (check-in: [7c7fb753] user: stephan branch: fiddle-opfs, size: 10712)
2022-08-13
13:51
[bccf4604] part of check-in [3bc510a6] Remove OPFS from the fiddle build for the time being - will re-enable once the breakage is figured out via testing with the core API. (check-in: [3bc510a6] user: stephan branch: fiddle-opfs, size: 10507)
2022-08-12
17:57
[c9d66230] part of check-in [a16f0a46] Build fiddle with WASMFS OPFS support and attempt to use it if available. It does not work because of an inexplicable exception in Emscripten-generated code and perpetually-locked db, but it's not yet clear why. (check-in: [a16f0a46] user: stephan branch: fiddle-opfs, size: 11055)
2022-08-10
09:36
Renamed ext/fiddle/fiddle-worker.js → ext/wasm/fiddle/fiddle-worker.js. [88bc2193] part of check-in [fb4eb930] wasm/fiddle refactoring part 1 of N: move fiddle app from ext/fiddle to ext/wasm/fiddle, which only contains files intended to be pushed to the live site. Disabled build of the non-fiddle wasm parts, pending a later step of the refactoring. (check-in: [fb4eb930] user: stephan branch: wasm-cleanups, size: 11434)