]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
Document the roles of the new (this past week) JS files added to the build process.
authorstephan <stephan@noemail.net>
Sun, 2 Oct 2022 01:48:14 +0000 (01:48 +0000)
committerstephan <stephan@noemail.net>
Sun, 2 Oct 2022 01:48:14 +0000 (01:48 +0000)
FossilOrigin-Name: 8b3bc7313aff551e5ee0b7aeb927095cf19b9b96abbdd922066c130656b8aa7d

ext/wasm/api/README.md
manifest
manifest.uuid

index 6780c56ae6a38bd31292b87c1ae78d8b5cc552b1..fd85e215b4fe1ae97ed1b2928d8f165d660f1c57 100644 (file)
@@ -108,3 +108,22 @@ The non-JS outlier file is `sqlite3-wasm.c`: it is a proxy for
 WASM-specific helper functions, at least one of which requires access
 to private/static `sqlite3.c` internals. `sqlite3.wasm` is compiled
 from this file rather than `sqlite3.c`.
+
+The following files are part of the build process but are injected
+into the build-generated `sqlite3.js` along with `sqlite3-api.js`.
+
+- `extern-pre-js.js`\  
+  Emscripten-specific header for Emscripten's `--extern-pre-js`
+  flag. As of this writing, that file is only used for experimentation
+  purposes and holds no code relevant to the production deliverables.
+- `pre-js.js`\  
+  Emscripten-specific header for Emscripten's `--pre-js` flag. This
+  file is intended as a place to override certain Emscripten behavior
+  before it starts up, but corner-case Emscripten bugs keep that from
+  being a reality.
+- `extern-post-js.js`\  
+  Emscripten-specific header for Emscripten's `--extern-post-js`
+  flag. This file overwrites the Emscripten-installed
+  `sqlite3InitModule()` function with one which, after the module is
+  loaded, also initializes the asynchronous parts of the sqlite3
+  module. For example, the OPFS VFS support.
index 44d3de74a97de477b94decaccfd7dce676cfb0be..d3947b8c26f2fde3d929c871ea2aa186a0dc7498 100644 (file)
--- a/manifest
+++ b/manifest
@@ -1,5 +1,5 @@
-C General\sinternal\scleanups\sin\sthe\soo1\sAPI.
-D 2022-10-02T00:09:40.160
+C Document\sthe\sroles\sof\sthe\snew\s(this\spast\sweek)\sJS\sfiles\sadded\sto\sthe\sbuild\sprocess.
+D 2022-10-02T01:48:14.286
 F .fossil-settings/empty-dirs dbb81e8fc0401ac46a1491ab34a7f2c7c0452f2f06b54ebb845d024ca8283ef1
 F .fossil-settings/ignore-glob 35175cdfcf539b2318cb04a9901442804be81cd677d8b889fcc9149c21f239ea
 F LICENSE.md df5091916dbb40e6e9686186587125e1b2ff51f022cc334e886c19a0e9982724
@@ -478,7 +478,7 @@ F ext/wasm/GNUmakefile b313a82060c733c990b91afa981e10f5e21a0b33a483f33b739ce932e
 F ext/wasm/README.md 1e5b28158b74ab3ffc9d54fcbc020f0bbeb82c2ff8bbd904214c86c70e8a3066
 F ext/wasm/api/EXPORTED_FUNCTIONS.sqlite3-api c6b05641d733227a995cc05a2ba7ddc9ef2323081ae0cae5ed1d1f83d5b54b36
 F ext/wasm/api/EXPORTED_RUNTIME_METHODS.sqlite3-api 1ec3c73e7d66e95529c3c64ac3de2470b0e9e7fbf7a5b41261c367cf4f1b7287
-F ext/wasm/api/README.md f54102d74cfde01ebe242fa1411e126a9cda8f19b3ac378afd1103b21abfad05
+F ext/wasm/api/README.md b6d19392984fdd428ae7260512d45742160c06baefed9da703da3fdeb68e7124
 F ext/wasm/api/extern-post-js.js dc68cbf552d8ea085181400a6963907c32e0b088b03ffd8969b1869fea246629
 F ext/wasm/api/extern-pre-js.js 20143b16b672d0a576fbf768a786d12ee1f84e222126477072389b992542a5b2
 F ext/wasm/api/post-js-footer.js b64319261d920211b8700004d08b956a6c285f3b0bba81456260a713ed04900c
@@ -2029,8 +2029,8 @@ F vsixtest/vsixtest.tcl 6a9a6ab600c25a91a7acc6293828957a386a8a93
 F vsixtest/vsixtest.vcxproj.data 2ed517e100c66dc455b492e1a33350c1b20fbcdc
 F vsixtest/vsixtest.vcxproj.filters 37e51ffedcdb064aad6ff33b6148725226cd608e
 F vsixtest/vsixtest_TemporaryKey.pfx e5b1b036facdb453873e7084e1cae9102ccc67a0
-P e73cc44ec36c7585ebb914bdeed5b39480fca7c7a8d3c4426bfe769c87b98d17
-R 4b53a976c2062b810a77639258e8be02
+P f9db664f756f3707afcb5dce87f6d946625848f27ea84337af68de72d4ad6c6b
+R 8201c0f212d8f73dc23b363b8bdcd606
 U stephan
-Z f0b55570286779c7113ac4ef57233011
+Z 7616e552f06f17aa339add7ed573ed79
 # Remove this line to create a well-formed Fossil manifest.
index 1d593beead7b341b06fe3ea153fa3194c0f91581..29067e24bfab7deda1832155d21bb9331512ba61 100644 (file)
@@ -1 +1 @@
-f9db664f756f3707afcb5dce87f6d946625848f27ea84337af68de72d4ad6c6b
\ No newline at end of file
+8b3bc7313aff551e5ee0b7aeb927095cf19b9b96abbdd922066c130656b8aa7d
\ No newline at end of file