This website requires JavaScript.
Explore
Help
Sign In
mirrors
/
sqlite
Watch
1
Star
0
Fork
0
You've already forked sqlite
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
sqlite
/
ext
/
fiddle
History
stephan
bc7180cdb3
wasm: corrected the isInt32() check to account for negative values.
...
FossilOrigin-Name: 7223f4bb588b6c759754ef26cbefbb172e767eaa80989b8f9ef104d4e8b9d856
2022-06-25 21:41:26 +00:00
..
emscripten.css
Build refactoring for the fiddle/wasm bits. Set up wasm binding of a chunk of the core C API and added some infastructure for creating test pages for it.
2022-05-22 00:27:19 +00:00
EXPORTED_FUNCTIONS.fiddle
fiddle: added an option to completely wipe/reset the db. The Options area can now be toggled on/off via tapping the label at its top. Running the input SQL is now limited to the selected area if any text is currently selected, per suggestion in the forum.
2022-05-27 03:27:10 +00:00
EXPORTED_FUNCTIONS.sqlite3-api
wasm: added bindings for sqlite3_extended_result_codes(), sqlite3_open_v2(), and the SQLITE_OPEN_... flags.
2022-06-25 19:07:58 +00:00
EXPORTED_RUNTIME_METHODS
wasm: eliminated the need for Stmt objects to keep ahold of memory allocated for bound strings and blobs. Added alternate string/blob bind impls which are hypothetically more efficient but not yet proven to be so.
2022-06-25 07:42:24 +00:00
fiddle-worker.js
The Worker-specific variants of the most significant DB-class JS bindings are implemented, most notably various uses of DB.exec().
2022-06-01 11:20:07 +00:00
fiddle.html
fiddle: minor style tweaks, including using swapped colors for the input/output fields to help (hopefully) reduce the "which field is which?" dissonance.
2022-06-10 15:43:03 +00:00
fiddle.js
fiddle: modernized the UI based on related code in fossil's /pikchrshow. Changed the color scheme to match sqlite.org.
2022-06-10 09:31:12 +00:00
index.md
In wasm builds, ifdef out shell commands which require file I/O, pipes, or which trigger an exit() (.quit and .exit). Documented some of the quirks and limitations of the C/WASM crossover. Keep the JS code from calling into the C code after an exit() has been triggered.
2022-05-18 22:58:34 +00:00
Makefile
wasm: corrected the isInt32() check to account for negative values.
2022-06-25 21:41:26 +00:00
sqlite3-api.js
wasm: corrected the isInt32() check to account for negative values.
2022-06-25 21:41:26 +00:00
sqlite3-worker.js
wasm: added utility C code to generate a JSON-format "enum" of the numerous SQLITE_xyz constants so that we do not risk those getting out of sync in the JS code. Renamed initSqlite3Module to sqlite3InitModule. Cleanups in the TypedArray handling.
2022-06-25 10:30:24 +00:00
SqliteTestUtil.js
wasm: added utility C code to generate a JSON-format "enum" of the numerous SQLITE_xyz constants so that we do not risk those getting out of sync in the JS code. Renamed initSqlite3Module to sqlite3InitModule. Cleanups in the TypedArray handling.
2022-06-25 10:30:24 +00:00
testing1.html
Got the sqlite3-api JS bits wrapped up in deferred-load module. Whether that's going to be easier to use, in practice, remains to be seen. Consolidated two of the test-related JS files.
2022-05-25 08:51:07 +00:00
testing1.js
wasm: added bindings for sqlite3_extended_result_codes(), sqlite3_open_v2(), and the SQLITE_OPEN_... flags.
2022-06-25 19:07:58 +00:00
testing2.html
Initial bits for a JS API variant in which the client operates in the main thread and sqlite3 in a Worker. This is far from complete.
2022-06-01 00:00:59 +00:00
testing2.js
fiddle: added another UI element to the list of those which are disabled during long-running activities. Added DB.close() binding to the Worker-based wasm binding.
2022-06-01 16:04:29 +00:00
testing.css
fiddle: lots of generic refactoring, restructuring, and cleanup in the higher-level code. Added push-fiddle ext/fiddle/Makefile target to push the fiddle app to a remote server via rsync.
2022-05-24 14:36:45 +00:00
wasm_util.c
wasm: added bindings for sqlite3_extended_result_codes(), sqlite3_open_v2(), and the SQLITE_OPEN_... flags.
2022-06-25 19:07:58 +00:00