aboutsummaryrefslogtreecommitdiff
path: root/ext/wasm/fiddle
Commit message (Collapse)AuthorAge
* Fix ext/wasm/fiddle build, which was silently broken by recent build ↵stephan2023-02-10
| | | | | refactoring. FossilOrigin-Name: dcf532931136d09bef23ccad669d486cb31daec8565317c3209c280b5695d45d
* Move the sqlite3.capi.wasm namespace to sqlite3.wasm. This causes a tiny bit ↵stephan2022-10-29
| | | | | of naming confusion with the sqlite3.wasm *file*, but seems to make more sense than having it as a sub-namespace of capi. FossilOrigin-Name: 3f16eb18d6186ca972fca952ccac18649e7a905213f589e53c0c9333e695448d
* Correct misuse of localhost-mode-only symbol S in fiddle-worker.js, which ↵stephan2022-10-26
| | | | | should fix the outage reported in [forum:67d985ac0bbe407f|forum post 67d985ac0bbe407f]. FossilOrigin-Name: 3b5aa50c223ac35c7d73e4629420a01408cd74d19ae5b887f91b7a657d91e026
* Rename fiddle.html to index.html and move fiddle push-to-server rules from ↵stephan2022-10-25
| | | | | GNUmakefile into fiddle.make. FossilOrigin-Name: 3d7b4f36b7dd01058d57fc8ef7689d9bbf1a219166796ed427180cd59d2c189d
* Rename sqlite3_web_... to sqlite3_js_... Document the worker1.close.unlink ↵stephan2022-10-20
| | | | | option. Fix unlink usage in speedtest1.html. Minor JS build cleanups. FossilOrigin-Name: ac9af71b72a749b0a040273a88480d56f49570b569389a4ea20cc055f494d8ff
* Rework sqlite3_wasm_vfs_unlink(), add sqlite3_wasm_db_vfs(), update some docs.stephan2022-10-20
| | | FossilOrigin-Name: cdd46858f0e63bc7bfce8e339b3db9efdec43b6443ee76563a847f53d0176831
* Reimplement fiddle_reset_db() so that it works with all VFSes.stephan2022-10-03
| | | FossilOrigin-Name: 18462052903bfeb037dd9af3a1fe1898d141eff5d6f527721858120553de808d
* Fiddle: fix makefile dependency issue and duplicate inclusion of post-js.js. ↵stephan2022-10-01
| | | | | Reimplement db export using sqlite3_serialize(). FossilOrigin-Name: 29db7de79232c21d19b91bb0fc253114e02e21dd9bf90619453dbe72a4c8bf7f
* Finish eliminating explicit Emscripten module dependencies in test code and ↵stephan2022-09-29
| | | | | fiddle. The only remnant in public code is the Emscripten-generated module load/init interface. FossilOrigin-Name: 7be78dd4efc410f13ff1ceda1fad82b309cc24de2d5106c8bd6b2adeaa13b106
* wasm/js: rename /persistent to /opfs to account for potential future ↵stephan2022-09-27
| | | | | persistent storage options. Minor flag-handling cleanups in the speedtest1 pages. Minor API tweaks in oo1. FossilOrigin-Name: 4dc972a3656b2a9ec915bfb3f653136560c753ce4024c3f0d0d0c28f66db7a0a
* Fiddle: replace db export routine with a C-side one which works for both ↵stephan2022-09-26
| | | | | Emscripten FS-hosted and OPFS-hosted db files. Minor code-adjacent cleanups. FossilOrigin-Name: 3579a8d6f1f6cd3cd8aad9949536870c5fe7bae8c1778f700dd85d763e266b94
* Get fiddle db export working for OPFS VFS. Add root dir handle to the main ↵stephan2022-09-26
| | | | | 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. FossilOrigin-Name: 9b2244e1c8a40efe6547094a1b57acc8f2173145a8731abb0e36268ce0a8ef41
* Fiddle: move, rather than copy, data buffers between the threads. Fix the ↵stephan2022-09-24
| | | | | case of an uploaded db failing to install because its filename is the same as the opened db. FossilOrigin-Name: bcec4f964a7b02f59be05286ff715bac654a32b19f05a743e402f4cdb207cab8
* Resolve "already configured" warnings from shell's main() when starting it ↵stephan2022-09-24
| | | | | up in fiddle mode. FossilOrigin-Name: 114ef3552af977b272a0baddeb9a2326484b60acfc75284e43c55530f86b413f
* Refactoring towards getting fiddle to support OPFS as a first-class citizen. ↵stephan2022-09-24
| | | | | Certain operations, e.g. import, export, and unlink, are not OPFS-aware. FossilOrigin-Name: 1b923ed6438d7fef4508936e0c4bc026a368721698b1539961e3fb3140a185cb
* Put pieces in place for fiddle to support opfs, but more cleanup is required ↵stephan2022-09-21
| | | | | 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. FossilOrigin-Name: 7c7fb7535e86b3960eea7f29ab7e6d5197c166b4ee64ad4a9bc0749f2869badc
* Remove the .timer script entry from fiddle app because emscripten has ↵stephan2022-08-30
| | | | | removed getrusage(), which breaks the timer. FossilOrigin-Name: 9034f19ae50f196cc2b94478edfcc8d765b08bcf383166f6212b3522dea63c01
* Remove OPFS from the fiddle build for the time being - will re-enable once ↵stephan2022-08-13
| | | | | the breakage is figured out via testing with the core API. FossilOrigin-Name: 3bc510a614973eafa60960a99bedb063594a693bdbfd80d7eb480b293b4ab811
* Build fiddle with WASMFS OPFS support and attempt to use it if available. It ↵stephan2022-08-12
| | | | | does not work because of an inexplicable exception in Emscripten-generated code and perpetually-locked db, but it's not yet clear why. FossilOrigin-Name: a16f0a46ec88c560f73d5664e4bf53fb5dd1a22e99a92c11b5c8d784816c3282
* wasm/fiddle refactoring part 1 of N: move fiddle app from ext/fiddle to ↵stephan2022-08-10
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. FossilOrigin-Name: fb4eb93080288b60815be14afd7ddbbca470ce363fa3735352ea9a558fef583e