aboutsummaryrefslogtreecommitdiff
path: root/ext/wasm/api/sqlite3-api-opfs.js
Commit message (Collapse)AuthorAge
...
* Correct OPFS VFS xRead() to copy the result buffer if the result code is ↵stephan2022-09-19
| | | | | SQLITE_IOERR_SHORT_READ. FossilOrigin-Name: 56668f9902c6e896b6c63621a444444c6f58ee20f88a5feae97f1699be35892d
* Replace OPFS VFS xSleep() impl with a more efficient one (no Worker ↵stephan2022-09-19
| | | | | round-trip needed). FossilOrigin-Name: b9773f164878b0a1b7c88cc7a6d1374ea95f64920065e8b2b178a1afffd82fe5
* 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
* Move the OPFS VFS bits back into api/sqlite3-api-opfs.js. Refactor the OPFS ↵stephan2022-09-18
| | | | | VFS init process to use a Promise-returning function which the client must call, as that eliminates any uncertainty about when the VFS (necessarily activated asynchronously) actually becomes available to the client. FossilOrigin-Name: 1c660970d0f62bcfd6e698a72b050d99972a1e39f45a5ac24194a190f8f78ab3
* Add initial bits of an experimental async-impl-via-synchronous-interface ↵stephan2022-09-17
| | | | | proxy intended to marshal OPFS via sqlite3_vfs API. FossilOrigin-Name: 38da059b472415da52f57de7332fbeb8a91e3add1f4be3ff9c1924b52672f77c
* Refactor JS API amalgamation such that the bootstrapping/configuration is ↵stephan2022-08-22
| | | | | deferred until the whole amalgamation is available, to facilitate providing clients with a way to initialize the API with their own config (noting that we're still one small level of refactoring away from being able to actually do that). FossilOrigin-Name: 9dbe9a6aecec43b51057375ef1d2d632db0d17eac8b7552c20cc91fc2f1a55d1
* wasm: corrected (in as-yet unused code) a flags check.stephan2022-08-12
| | | FossilOrigin-Name: 06b6113783dd81252a5dd125e1cddb52a9d4e387c74cfb3ba88475e47a31060a
* wasm opfs: error handling fix for an impossible-to-reach error case. Minor ↵stephan2022-08-10
| | | | | cosmetic tweaks in the wasm JSON enum. FossilOrigin-Name: 683a3b937e608a5ecaf7f63f054e8a63179d67c8b2348bf843e5e68f27a369f5
* wasm refactoring part 2 of (apparently) 2: moved ext/fiddle/... into ↵stephan2022-08-10
ext/wasm and restructured the core API-related parts of the JS/WASM considerably. FossilOrigin-Name: 27f9da4eaaff39d1d58e9ffef7ddccf1e41b3726914f754b920e3e1fb572cba6