aboutsummaryrefslogtreecommitdiff
path: root/ext/wasm/api/sqlite3-worker1-promiser.c-pp.js
Commit message (Collapse)AuthorAge
* Minor cleanups in the opfs-sahpool pause/unpause API demo.stephan2025-01-31
| | | FossilOrigin-Name: e205cdc468e02eefdeb8d391d921aa2d4d28a8b7b87036d6d937a9928261a413
* JS error message and doc typos reported in the forum. No code changes.stephan2024-05-18
| | | FossilOrigin-Name: 1a073f9acfb691eebf4a8cc78a72ff47ebbb6aba4acede6755fa3faefae48f2b
* Remove an undocumented feature from the JS Worker1.open API because it ↵stephan2024-04-24
| | | | | relies on broken behavior which has no VFS-agnostic workaround. FossilOrigin-Name: 3a640038c70c8511e7051af83aa35d163c4f96f05c5064cffd3e4e2e63cd44a9
* Resolve duplicate loading of promiser v2 demo code (a side effect of having ↵stephan2024-03-07
| | | | | done precisely what it was told to do). Consolidate demo-worker1-promiser(-esm).html/(m)js variants into central copies processed with c-pp. FossilOrigin-Name: 9347d9b9a69277e40ea2f3ec6e1ff37ea19d24b4af80c6230b10624173f2f17c
* wasm promiser.v2 is essentially working but the demo code is double-loading ↵stephan2024-03-07
| | | | | the module for as-yet-undetermined reasons. FossilOrigin-Name: aa877ce0c3b3aa1accd6e5fcd722d1bfaa79bea28c04c6badd8a547cea4bbc63
* Initial work at getting sqlite3Worker1Promiser.v2() to return a Promise ↵stephan2024-03-07
| | | | | instead of using an onready() callback, and also creating an ESM build for promiser1 per user request. It seems to work but requires more testing. FossilOrigin-Name: 0e272123ace55ed63fe86632671cca48e8965a28fc3625324984028729fc203f
* wasm: pass the promiser function to the promiser onready() callback to ↵stephan2024-02-05
| | | | | simplify access to it in certain usage patterns. FossilOrigin-Name: f8a8b9ee2eddf5f875c7c4399e750ccf1941f767560ebc2c88c083560f5aaae0
* WASM: various build cleanups and add initial infrastructure for a build ↵stephan2024-01-01
| | | | | which elides the oo1 API and its dependents (worker1 and promiser). Sidebar: an attempt was made to move generation of the build rules to an external script, but the mixed-mode make/script was even less legible than the $(eval) indirection going on in the makefile. FossilOrigin-Name: 563d313163c02b398ae85b7c2ed231019a14e006726f09a7c1f294a58bf4363f
* Worker1 Promiser API: when multiple db connections are active then use the ↵stephan2023-12-12
| | | | | requested connection instead of always the first-opened connection. Bug reported in [forum:894c330e7f23b177|forum post 894c330e7f23b177]. FossilOrigin-Name: 194276e18e0268829061c09317e7f9f527a703eb45f1755ff1dd30bd99dc1b68
* Correct the URL for loading sqlite3-worker1-bundler-friendly.mjs from ↵stephan2023-11-22
| | | | | sqlite3-worker1-promiser-bundler-friendly.js, so that the promiser can be used in bundler-using environments. Problem reported via email. FossilOrigin-Name: 753a75218913c3b9c7ec5438387107369c34d1775d68b04d19ae18197e558605
* Add ability for the JS Worker1.exec() API to report the number of changes ↵stephan2023-05-25
| | | | | made to the caller, per request in [forum:d0b19483642e20dd | forum post d0b19483642e20dd]. FossilOrigin-Name: 6e79505df915612b60696e4eec5c9973175fe6ecf273eb3152b996e63ae54a07
* 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
* Rename sqlite3-worker1-bundler-friendly.js to ↵stephan2023-03-05
| | | | | sqlite3-worker1-bundler-friendly.mjs and refactor it to work as an ES6 module, based on feedback in [forum post a255f89c2eadf4c4|forum:a255f89c2eadf4c4]. FossilOrigin-Name: af312b131457743d98b84137bd51d9ba60e0daf0bd8f5a66f05956ca35ab68fb
* 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
* Two JS file renames which got inadvertently undone while setting up ↵stephan2023-01-29
[9062b31174618c0e]. Cosmetic cleanups in ext/wasm/dist.make. FossilOrigin-Name: 0c2fde767f77d6204e95737edd573f42d72e956a3c20ea7e4daeff906657bbe5