aboutsummaryrefslogtreecommitdiff
path: root/ext/wasm/api/sqlite3-vfs-opfs.c-pp.js
Commit message (Collapse)AuthorAge
* Minor cleanups related to reintroducing wasmfs support.stephan2023-07-13
| | | FossilOrigin-Name: 6918a927b5ecd1df5916b70d52d8d5ce289869c3f323e577b7dfc7c939084400
* JS: change the default OPFS VFS journal mode from PERSIST to DELETE, as ↵stephan2023-07-13
| | | | | DELETE is faster in current browsers. FossilOrigin-Name: a061a43e36b8f3cb7c465fd2e54cfcd9dceb07e232ee78602bbdd1818acd05ea
* Minor internal JS doc fix. No code changes.stephan2023-05-30
| | | FossilOrigin-Name: 68abee3c1bf4e9ff632fccaa6ac7c5c4cdf55c4ff1749830ae3bd5ff6d55ebb2
* Remove xFileControl() handling from the OPFS VFS altogether, re-routing all ↵stephan2023-05-01
| | | | | syncing through xSync() instead. This eliminates superfluous syncing introduced in [a371374148a2], as discussed in [forum:647d2f811dbc2dfe|forum thread 647d2f811dbc2dfe]. FossilOrigin-Name: f809de7f232c8c2731a877c7bf1ad39fda5b326b2e45e4748cab4dc5e5b535bd
* Implement full xSync() for the OPFS VFS. The previous implementation was not ↵stephan2023-05-01
| | | | | correct for journal files. Reported in [forum:647d2f811dbc2dfe|forum post 647d2f811dbc2dfe]. FossilOrigin-Name: a371374148a2874be6e48890781aa5952229056b146a50fa4d035693341c5636
* Add a note about the journaling mode in the OPFS VFS. No code changes.stephan2023-04-24
| | | FossilOrigin-Name: e79c95fc130fc302719690eb6391d96070aff825b2b51ef6c4ad459d9a8918d7
* Correct use of an undefined symbol in one of the OPFS VFS loading failure ↵stephan2023-04-19
| | | | | error reporting cases (copy/paste error). FossilOrigin-Name: c81c968b458977b2d6dd2fdd3c3d667f0e7cee069f3715363d0e8aed4e6e8377
* Remove a meaningless JS test. Add a timer to the OPFS async-side worker ↵stephan2023-03-27
| | | | | loader in an attempt to catch a browser-specific quirk in which the worker loading silently fails, per discussion in/around [forum post a708c98dcb3ef|forum:a708c98dcb3ef]. FossilOrigin-Name: 4fc1904b8e18c7d41fa65490ced125f1df4f0c22c13de957b24615ed09b3ecb7
* Replace use of 'self' in JS code with 'globalThis', as that works in ↵stephan2023-03-07
| | | | | browsers and node environments. Avoid using globalThis.location if it's not set (e.g. in node). Based on feedback in [forum:ac7a94d4f77db235|forum post ac7a94d4f77db235]. Minor JS build tweaks. FossilOrigin-Name: dbbe8f25e58738c10b6192d41f1e3886983871f17631cbc45ce626d3f05a6e26
* Remove some unnecessary bind() calls in JS code.stephan2023-02-21
| | | FossilOrigin-Name: 71215599cd8ebb970500d8366dfac40420a9a6b243ea9d6ba62d5cde28fae3d3
* Add capability to override the JS's use of console.log/debug/warn/error() ↵stephan2023-02-06
| | | | | with client-provided versions via the bootstrap-time config object. FossilOrigin-Name: c54f29d8e55419eaa9168e799dab5030e89063b13d8390a50616606422d164dc
* Add JS bundler-friendly JS build. Minor test code cleanups.stephan2023-01-28
|\ | | | | FossilOrigin-Name: 24d3a53dea5e596230558e233cbbd9d0288b4c394cd5ea7b650fd99bff4cde2e
| * More work on creating a separate sqlite3.js build which is hopefully ↵stephan2023-01-27
| | | | | | | | | | friendly to JS bundlers. FossilOrigin-Name: b7b896fb448a7f46eb88eadadb1359255aec637a384cabcdd526276a02f4f0b4
| * Beginnings of a bundler-friendly build of sqlite3.mjs. Not yet ready for ↵stephan2023-01-27
|/ | | | | downstream testing. FossilOrigin-Name: 4271bf5f41df091696f1dcfc4ffe7a60d24066fc75c896941e0b56de95fe5f89
* End-of-line whitespace cleanups and doc typo fixes. No code changes.stephan2023-01-26
| | | FossilOrigin-Name: bdfd72a083fadd724030c4c89adae71426e1ddd402c6bc5abf40801ecf3253cf
* Rename the oft-used, verbose sqlite3.wasm.get/setMemValue() and ↵stephan2022-12-09
| | | | | get/setPtrValue() to peek/poke() and peek/pokePtr(). The old names are retained as aliases just in case any client code actually uses them, but they are now deprecated. FossilOrigin-Name: ad0a8139b0b025f8e9d2eca0c303557ef10fdfab8c8b65afb08c510a804073d5
* Reorganization and renaming in the new VFS/vtab JS pieces.stephan2022-12-09
| | | FossilOrigin-Name: 1c2dda177a11fcc5b66e5554507c23ba4b9948a710b3bccfb26963b9851d40a4
* Remove deprecated symbol sqlite3.opfs.OpfsDb, which was renamed to ↵stephan2022-12-06
| | | | | sqlite3.oo1.OpfsDb on 2022-11-29. FossilOrigin-Name: 0ce51bed65d5e430364f74bf959fb76c42ac5eec0769490231d8c8110a1f388c
* Rename wasm.cstringToJs() to wasm.cstrToJs() for consistency with other ↵stephan2022-12-06
| | | | | wasm.cstr... APIs. FossilOrigin-Name: cbf483ea0ba3e6dc08ad7ed654380f818544b4c3cedfdb8aa848a83298268ceb
* Rework the oo1.DB's distinct-per-VFS post-open() step to accept either a ↵stephan2022-12-03
| | | | | batch of SQL or a callback function. Increase OPFS's busy timeout to 10s. FossilOrigin-Name: 9feefe253ac487cb52be6bdf91bdd305963266716baa08f2bf9505954ee76321
* Minor internal tweaks to the OPFS VFS. Resolve a missing result code which ↵stephan2022-12-02
| | | | | lead to a null deref in xFileSize(). FossilOrigin-Name: 57dd593ef0efa17dfb3a9f4eac36d5b8b879e271de817d8cd94a8c8b56d31870
* OPFS VFS: translate createSyncAccessHandle() exceptions which appear to be ↵stephan2022-12-02
| | | | | locking violations to SQLITE_BUSY. This seems to improve concurrency considerably even with a reduced retry count of 5 (was 6). FossilOrigin-Name: 0d36021d107d3afca190ad61c3380536ad0cc2d493d345d48f9f9c1191741128
* Rename some JS files from X.js to X.c-pp.js to keep the maintainer, and ↵stephan2022-11-30
downstream build customizers, aware that those files contain constructs specific to the c-pp preprocessor and will not run as-is in JS. FossilOrigin-Name: 2eade7c7b17a186735c72974c11a34798a08364861d0f307e897ba765c0a93c7