aboutsummaryrefslogtreecommitdiff
path: root/ext/wasm/api/extern-post-js.c-pp.js
Commit message (Collapse)AuthorAge
* Replace use of Emscripten's Module.postRun() with a custom callback so that ↵stephan2025-01-16
| | | | | we get consistent library init timing with both Emscripten 3.1.x and 4.0.x. Details and discussion are in [https://github.com/emscripten-core/emscripten/issues/23420|Emscripten ticket #23420]. FossilOrigin-Name: 4863a70ac61ff6f868429f16f0141484ea98f973fde1a9aff879252d0f1dbb6b
* Work around [https://github.com/emscripten-core/emscripten/issues/23420|a ↵stephan2025-01-15
| | | | | behavior change in emsdk 4.0.0] which breaks the load/init timing of the wasm module. FossilOrigin-Name: 00a750184bcf1a94bf4e7f1d5029a42671e87e2997ae97be07bd900d3702883d
* Filter the wasmfs-specific JS module result type check out of non-wasmfs builds.stephan2023-08-01
| | | FossilOrigin-Name: ef7c121049f77200ecc4da260a90776264af0e84122d0133b4986959aedc653a
* Resolve an ES6 module export construct which is incompatible with node.js, ↵stephan2023-07-24
| | | | | as reported in [forum:b9680fa9ad|forum post b9680fa9ad]. FossilOrigin-Name: 80927c3913561dddf75cf73be871d93ae06b16f83e8cc36fc360765014209615
* More work on the wasmfs build. Resolve the inconsistent argument type passed ↵stephan2023-07-13
| | | | | to sqlite3InitModule() in such builds. FossilOrigin-Name: 4850a9e2d2b41b91e91b9ef99a6d26ddf11a161b4c970fc00d2d095606729a04
* Get wasmfs build and its bare-bones test app working again, albeit currently ↵stephan2023-07-13
| | | | | in ES6 mode only. FossilOrigin-Name: 647761ed422f196f94facc88bbddd7219a2c1a6301a5f847b0a32d3e405233a7
* Replace a lingering use of 'self' with 'globalThis' in JS code, for node ↵stephan2023-03-09
| | | | | compatibility. FossilOrigin-Name: 7e3782b5aa07621db95c2dc25b25ae21da988c9876d537b78ea289a83c75b06b
* 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
* 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
* 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