aboutsummaryrefslogtreecommitdiff
path: root/ext/wasm/scratchpad-wasmfs-main.js
Commit message (Collapse)AuthorAge
* 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
* Remove oo1.DB.hasFilename() and getFilename(), as they are unnecessary.stephan2022-10-26
| | | FossilOrigin-Name: 75c546b982024bf2b527c85271111d54158cb010867f6e29fc89e86cc8457cc5
* Rework the Emscripten-emitted module loader/init function such that it ↵stephan2022-09-29
| | | | | passes on the sqlite3 module, instead of the Emscripten module, to the first then() of sqlite3InitModule()'s returned Promise. This eliminates any need to mention the Emscripten module object in client-side code unless they want to configure it in advance for loading-status reports. FossilOrigin-Name: 0dbaa0e2b5abf5c23e2039ec90a3055ebb3c063aaf4e556c42546defe6fbb86d
* WASM API renaming. Reworked JS API bootstrap's async post-init into a ↵stephan2022-09-27
| | | | | generic mechanism, no longer OPFS-specific. FossilOrigin-Name: c42a8cb090cad1108dfd6be574202d744c59e053b505bc4c17252dc6b65d26bf
* Numerous cleanups in the JS bits. Removed some now-defunct wasm test files. ↵stephan2022-09-18
| | | | | Expose sqlite3.opfs object containing various OPFS-specific utilities. FossilOrigin-Name: 26e625d05d9820033b23536f18ad3ddc59ed712ad507d4b0c7fe88abd15d2be8
* Split wasmfs-enabled build of sqlite3.js/wasm into sqlite3-wasmfs.js/wasm, ↵stephan2022-09-15
as enabling wasmfs breaks all tests/demos which run from a Worker thread. FossilOrigin-Name: 08476f3c218d45846e7496bdae0b06e2122466111fdf2aa2aabb1805b15ef982