aboutsummaryrefslogtreecommitdiff
path: root/ext/wasm/api/sqlite3-v-helper.js
Commit message (Collapse)AuthorAge
* Split the JS vfs/vtab helper code into discreet units as a step towards a ↵stephan2024-01-11
| | | | | build which optionally elides those pieces. This is an internal restructuring change and does not affect the API. FossilOrigin-Name: ede945fd2360097d9961b8a4b8fb48fea57399cb9163534ed1c3c6b86588b0a5
* Major restructuring of opfs-sahpool to improve maintainability and hopefully ↵stephan2023-07-19
| | | | | make it easier to reuse these pieces in the upcoming JSPI-based VFS experiment. FossilOrigin-Name: 534481cd0c2e6f62dd0a82f25d4b78fdcc671eb70d6966693c98212a6420891c
* Internal refactoring in opfs-sahpool. Move OPFS tests to the end of ↵stephan2023-07-19
| | | | | tester1.c-cpp.js. FossilOrigin-Name: 6bd5a7413dd830ca41b587a2826fb599a2196fb0186646a2333500f950b3cf4d
* Major restructuring of the opfs-sahpool bits to better support multiple ↵stephan2023-07-18
| | | | | instances per app (each sandboxed from each other). Eliminate the pesky promise resolution race condition when two such instances are loaded in parallel. FossilOrigin-Name: 95e5fa498f71708caeb3394636c4853530a8b2d54406e503f32750732d6815d5
* 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
* In the JS sqlite3.vfs/vtab utility APIs, use a local reference to ↵stephan2023-03-07
| | | | | StructBinder instead of sqlite3.StructBinder, as that object is removed from the sqlite3 namespace during the final steps of API initialization. Based on feedback from [forum:d19d96183badca70|forum post d19d96183badca70]. FossilOrigin-Name: 0d89885d28b44b1858117a72a180841f4f5f44bcc574fc59a116ca3526325932
* Remove two incorrect calls to structType.dipose() which prematurely freed ↵stephan2022-12-10
| | | | | objects in use by the virtual table test/demo code. FossilOrigin-Name: 060eb2848975a24ff6683a8a9c4d7546ae36147323b0edae01fb42f52d9bb2d6
* 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
* JS API doc updates.stephan2022-12-09
| | | FossilOrigin-Name: 4f80fd3b8d4c85894664093d8310d6f5299faac4eb879edc608b3ffcd8558e9a
* Reorganization and renaming in the new VFS/vtab JS pieces.stephan2022-12-09
| | | FossilOrigin-Name: 1c2dda177a11fcc5b66e5554507c23ba4b9948a710b3bccfb26963b9851d40a4
* Further docs and minor cleanups in the JS virtual table helper.stephan2022-12-08
| | | FossilOrigin-Name: c31e7488ac1a6b957782b72bd026b1f0590637b631e44a1fdf1dedeb5c587819
* Ease-of-use/legibility improvements in the virtual table JS helpers.stephan2022-12-08
| | | FossilOrigin-Name: 54c7ad7e08bdb87579398ade366605bfa2e2538a94aabcc6e4cda8e173649760
* Got JS non-eponymous vtable working thanks to a hint from Dan.stephan2022-12-08
| | | FossilOrigin-Name: 750719b4981df62fa2ff3665e6f559ec760609ad2493495628295ad9ae6024fc
* Remove some dead JS code and tweak some docs.stephan2022-12-08
| | | FossilOrigin-Name: 0ee495452c014680697aa9035c245024df127a52d1820ab0e02580a015d96ecb
* Work on an alternate (slightly simpler) approach to binding JS vtabs. ↵stephan2022-12-07
| | | | | Non-eponymous vtabs are not working, for reasons as yet unknown. FossilOrigin-Name: 6a0fefb93bcccd950df211cf5c2f49660c7b92115dd01b2b508a4ab9e3ab3d23
* Add addOnDispose() method to Jaccwabyt and code-adjacent minor internal ↵stephan2022-12-07
| | | | | cleanups. FossilOrigin-Name: 6a2723fe3f28dd94328d901e64e1e9ee9a1b2e9eeaed6c54038a5b83c914db78
* JS vtables: add infrastructure related to accessing and modifying ↵stephan2022-12-06
| | | | | sqlite3_index_info. FossilOrigin-Name: 0d77c348039926c24e0fb50a7dc7e4b62895cd201c021f8e29832917e4b8b09f
* Add a demonstration sqlite3_vtab/module implemented in JS, based on ↵stephan2022-12-06
ext/misc/templatevtab.c. Add oo1.selectArrays() and selectObjects(). FossilOrigin-Name: 60482c97e02bc4cafefef281be0cf0bc8c5c53232162829c137f3f7a80cdc534