aboutsummaryrefslogtreecommitdiff
path: root/ext/wasm/sqlite3-worker1-promiser.js
Commit message (Collapse)AuthorAge
* Apply considerable acrobatics to get the JS/WASM deliverables building to ↵stephan2022-10-19
| | | | | and loadable from a directory other than the one which contains the app-level code. Requires an only-slightly-leaky abstraction of passing a URL argument when loading sqlite3.js but provides much greater flexibility in where the JS/WASM files are located. FossilOrigin-Name: 6d468dab9eb84d4548f68014959f02fe4f66455472ff24fe729382bb2972e3d1
* Tweak sqlite3-worker1.js to be able to load either sqlite3.js or ↵stephan2022-10-01
| | | | | sqlite3-wasmfs.js, noting that the latter still does not load in a Worker because of an Emscripten loader bug. FossilOrigin-Name: 000ef7059bfb54dc4f829b81a8d8c927c0382980218d8a3d60cd2c4d89151c90
* Note two wasm-related potential TODOs.stephan2022-10-01
| | | FossilOrigin-Name: 5636e82864457d870754ee7125c307dc5d2195197a5c0266579da9f102938b89
* Remove a couple of weird quirks of the Worker1 and Promiser APIs. The ↵stephan2022-09-30
| | | | | Worker1 (now undocumented) unlink capability needs to be reevaluated to work equivalently for all storage backends. FossilOrigin-Name: 9f2b331a32cbaadfd20d04c9908171355322c1aa1d9d6df3628f3b2fb4391ec1
* Tweaks to the Worker1 and Promiser APIs prompted by documenting them.stephan2022-09-30
| | | FossilOrigin-Name: c68b9aa160e2c1197ae7eb06a634017ac2b281393074afa4582762d5458c6889
* 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
* Rename demo-oo1.* to demo-123.* and add demo-123-worker.html, which runs the ↵stephan2022-09-19
| | | | | same demo via a Worker. Doc typo fixes. FossilOrigin-Name: 2e4a005bd35424caeaa99ace23162cf79e2ebdb159475ffad92b85dc864ad764
* Expand the worker1 'exec' op handling for per-row callbacks for API-level ↵stephan2022-08-24
| | | | | consistency and smooth some edges between worker1 core and worker1-promiser. Add worker1 'config-get' message to fetch the serializable parts of the sqlite3.config state. Improve the 'open' op's handling of the 'persistent' option (noting that we cannot yet test that case from a worker). FossilOrigin-Name: 509f8839201ec1ea4863bd31493e6c29a0721ca6340755bb96656b828758fea7
* js: resolve the mysterious "extra" unhandled exception notification, caused ↵stephan2022-08-24
| | | | | by inadvertently forking one promise into two separate ones (failing to properly reassign a then() result). Fix a typo in new Worker 1 code which caused the DB(filename) name to be incorrect. FossilOrigin-Name: 7467ac88801224089b51c6ba7924f93283dd87beca602a186c83632df26cfc85
* More work on how to configure the sqlite3 JS API bootstrapping process from ↵stephan2022-08-24
higher-level code. Initial version of sqlite3-worker1-promiser, a Promise-based proxy for the Worker API #1. FossilOrigin-Name: b030f321bd5a38cdd5d6f6735f201afa62d30d2b0ba02e67f055b4895553a878