aboutsummaryrefslogtreecommitdiff
path: root/ext/wasm/fiddle/fiddle.js
Commit message (Collapse)AuthorAge
* 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
* 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
* 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
* 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