aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* wasm: minor cleanups in the OO API #1 demo.stephan2022-08-16
| | | FossilOrigin-Name: b9cdcc06a8f70694d10ee5b1a0fd9f08f4c705ce576e5103bbafb36fc9cc2122
* wasm: add a small demo/presentation app for JS OO API #1 and make a few ↵stephan2022-08-16
| | | | | minor additions to that API. FossilOrigin-Name: d6d79b661a1c6137d4693393e02416da4858d58dc84d144081a48d523655b483
* wasm: move another file and update testing1/testing2 to account for ↵stephan2022-08-16
| | | | | [e38d00c2b82d]. Disable wasmfs by default as it breaks the worker-based module loader (reason as yet unknown). FossilOrigin-Name: 6dad5e0573ee866657ee10b43e55b86fc9caac7a66c13bdbd35c3625a4783f14
* wasm: accommodate moving generated sqlite3.js in the previous checkin.stephan2022-08-16
| | | FossilOrigin-Name: 41762f9518bb51b8b23ae6507628d6d3256044e1f2aca6e7251dc57722062c42
* wasm: disable shared cache mode by default. Experimentally move wasm-build ↵stephan2022-08-16
| | | | | generated files up one dir to rule the extra dir out as a problem for Emscripten-related worker-loading failures. FossilOrigin-Name: e38d00c2b82d7e51ec04cd739514f255edde679b8ddab31fa944b3517d45c3ea
* Add worker-style variant of the tests added in [ae24ac0f7dd9], but building ↵stephan2022-08-13
| | | | | this with wasmfs causes them to throw inexplicable exceptions from the Emscripten glue (without wasmfs it builds and runs fine, but storage is not persistent). FossilOrigin-Name: 6401595e59179c5c0f6e51c5362cf4391787e7a55b9c6ca655746e30d3251f2b
* wasmfs: use unix-none VFS by default to avoid locking errors in non-OPFS mode.stephan2022-08-13
| | | FossilOrigin-Name: 75561dea1a1afe9cb0a7d58dd82fa519e51cf42e330922cfd8e9ccdf6db4dc0f
* Add scratchpad/test app for WASMFS/OPFS running in the main window thread. ↵stephan2022-08-13
| | | | | Enable WASMFS by default in the library build. FossilOrigin-Name: ae24ac0f7dd9e12a40de0f6ccd61a16f010804da454085f886c217cc600cdba4
* Cleanups in the wasmfs/opfs integration but disable it in order to get the ↵stephan2022-08-13
| | | | | build into a known-working state before continuing with experimentation. FossilOrigin-Name: 41045be752a5bd7966849638f3ca56f4905308df70f79f2cb6196ca7dce9d525
* Remove OPFS from the fiddle build for the time being - will re-enable once ↵stephan2022-08-13
| | | | | the breakage is figured out via testing with the core API. FossilOrigin-Name: 3bc510a614973eafa60960a99bedb063594a693bdbfd80d7eb480b293b4ab811
* wasm OO API #1: added DB.callInTransaction() and Stmt.stepFinalize().stephan2022-08-13
| | | FossilOrigin-Name: e37dddc1dd9c0530e4b1c6cb0ca7cba7451caa37734d383c9b47f378d7222242
* Corrected TextDecoder.decode() usage to run when its input references a ↵stephan2022-08-13
| | | | | SharedArrayBuffer. FossilOrigin-Name: d4d773405c579e7efd95be8d81fe14d71218e62e44c523d38e02f89424ba6ce8
* Use new -DSQLITE_DEFAULT_UNIX_VFS="unix-none" for fiddle build to bypass ↵stephan2022-08-12
|\ | | | | | | | | OPFS locking errors. FossilOrigin-Name: b3a93ec75acb38535691d6eaceb5a1a218a5ee3f755a1e12c9255b90567fc795
| * Add the (undocumented) SQLITE_DEFAULT_UNIX_VFS compile-time option.drh2022-08-12
| | | | | | FossilOrigin-Name: 49828bdec5f926cd18a069d39a5db0b1e1f3528a2affcfbaa1cf7b98aca51b3b
* | Updated fiddle deps to ensure that sqlite3.c is built first.stephan2022-08-12
| | | | | | FossilOrigin-Name: f0ca02611484f5031076d7fae88845e9931715e9108ec0572629200d4f6636ef
* | Build fiddle with WASMFS OPFS support and attempt to use it if available. It ↵stephan2022-08-12
|/ | | | | does not work because of an inexplicable exception in Emscripten-generated code and perpetually-locked db, but it's not yet clear why. FossilOrigin-Name: a16f0a46ec88c560f73d5664e4bf53fb5dd1a22e99a92c11b5c8d784816c3282
* Minor wasm-related doc clarification and remove an obsolete code comment.stephan2022-08-12
| | | FossilOrigin-Name: 1b1f650a08da93da97ed3a96b9a3e4eac567472c266188c02a9bffe1cf620e53
* wasm: document the role of sqlite3-wasm.c. Other minor doc updates.stephan2022-08-12
| | | FossilOrigin-Name: 4c10b9b18feca82440273f8192fef951ad051bbfd8aad4d3c840cf6375130afd
* wasm: corrected (in as-yet unused code) a flags check.stephan2022-08-12
| | | FossilOrigin-Name: 06b6113783dd81252a5dd125e1cddb52a9d4e387c74cfb3ba88475e47a31060a
* Wasm-related doc additions and tweaks.stephan2022-08-11
| | | FossilOrigin-Name: ec55a3aa44a80f661dd451b9ea567449ea4c7353901cfd44a4b50ca10f00ddbd
* Merge in wasm-cleanups branch, reorganizing and updating the wasm-related ↵stephan2022-08-11
|\ | | | | | | | | components. FossilOrigin-Name: c072594d3de3d6893c5d4a9d68439b84d043325f105b0d065575765a6e66c196
| * wasm opfs: error handling fix for an impossible-to-reach error case. Minor ↵stephan2022-08-10
| | | | | | | | | | cosmetic tweaks in the wasm JSON enum. FossilOrigin-Name: 683a3b937e608a5ecaf7f63f054e8a63179d67c8b2348bf843e5e68f27a369f5
| * wasm refactoring part 2 of (apparently) 2: moved ext/fiddle/... into ↵stephan2022-08-10
| | | | | | | | | | ext/wasm and restructured the core API-related parts of the JS/WASM considerably. FossilOrigin-Name: 27f9da4eaaff39d1d58e9ffef7ddccf1e41b3726914f754b920e3e1fb572cba6
| * wasm/fiddle refactoring part 1 of N: move fiddle app from ext/fiddle to ↵stephan2022-08-10
| | | | | | | | | | ext/wasm/fiddle, which only contains files intended to be pushed to the live site. Disabled build of the non-fiddle wasm parts, pending a later step of the refactoring. FossilOrigin-Name: fb4eb93080288b60815be14afd7ddbbca470ce363fa3735352ea9a558fef583e
| * Merged in trunk for pending tree refactoring.stephan2022-08-10
| |\ | | | | | | FossilOrigin-Name: c3a3cb0103126210692bbeb703e7b8793974042e1fc2473be6d0a0d9b07d5770
| * \ Merged in trunk.stephan2022-07-20
| |\ \ | | | | | | | | FossilOrigin-Name: d662796c658997be13fdc3b77ad97101b9513da53fd0b824d7a4050cac3f7eba
| * | | wasm: corrected the isInt32() check to account for negative values.stephan2022-06-25
| | | | | | | | | | | | FossilOrigin-Name: 7223f4bb588b6c759754ef26cbefbb172e767eaa80989b8f9ef104d4e8b9d856
| * | | wasm: added bindings for sqlite3_extended_result_codes(), sqlite3_open_v2(), ↵stephan2022-06-25
| | | | | | | | | | | | | | | | | | | | and the SQLITE_OPEN_... flags. FossilOrigin-Name: ac876ab9913332c9a5e3045824bf92a2501707aecfb13906d5c280302d9878a9
| * | | wasm: lots of doc additions and refactoring. Refactored the WASM memory heap ↵stephan2022-06-25
| | | | | | | | | | | | | | | | | | | | usage to hopefully eventually account for a runtime-growable heap. Differentiate between supported TypedArray types for input SQL strings vs binding/fetching blobs. Might (untested) have implemented the ability to bind UtfNNArray values as blobs, where NN is one of 16 or 32. FossilOrigin-Name: e10d57dfbaa672a3a4cbfd9a9209552c3bde15cc75af838690ca412fd182066a
| * | | wasm: added utility C code to generate a JSON-format "enum" of the numerous ↵stephan2022-06-25
| | | | | | | | | | | | | | | | | | | | 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. FossilOrigin-Name: 778062e3b415dca5104eee398950741b6dbb9d4bdf7c998eef18371a42669946
| * | | wasm: eliminated the need for Stmt objects to keep ahold of memory allocated ↵stephan2022-06-25
| | | | | | | | | | | | | | | | | | | | for bound strings and blobs. Added alternate string/blob bind impls which are hypothetically more efficient but not yet proven to be so. FossilOrigin-Name: da1d3151a440567f34a2f6c0b2bfc2e9fab81c256cc361c9ce7b46f2c23a2aa8
| * | | wasm: eliminated the dependency on the deprecated emcc-provided allocate() ↵stephan2022-06-25
| | | | | | | | | | | | | | | | | | | | function. Adjacent cleanups in blob binding. FossilOrigin-Name: 140618b212e3aa9ff2df20f22af846a1c4c5ffaeefd84330446f61362b39a8f1
| * | | wasm: corrected the propagation of text/blob values via UDFs. DB.exec()'s ↵stephan2022-06-25
| | | | | | | | | | | | | | | | | | | | sql may now be an array of strings which get concatenated together before passing it on to sqlite3_prepare_v2(). DB.exec()'s callback now applies to the first statement which has result columns instead of only the first statement. Fixed a precedence but which caused isInt32() to report false positives. FossilOrigin-Name: 37a8fecb56793fbd3763a2240a0bd62b639c811934d3af2ef0e5ff579073d632
| * | | Minor wasm doc tweaks.stephan2022-06-25
| | | | | | | | | | | | FossilOrigin-Name: 42dc500819bfc1308a9542aa2cae4f6dfd98a29237c59cec82e0e6f9e0bf3779
| * | | wasm binding: consolidated the two sqlite3_prepare_v2() bindings behind a ↵stephan2022-06-25
| | | | | | | | | | | | | | | | | | | | single dispathcer. Various internal cleanups and refactoring. Branched because trunk is in pencils-down mode for pending 3.39 release. FossilOrigin-Name: ab3e50dab4d71557ab5d179bbd6caf7fb61ab7c51dffc8e4714441c189ce3e5c
* | | | Fix another harmless comment typo that causes a typo in the documentation.drh2022-08-10
| | | | | | | | | | | | FossilOrigin-Name: bb084adb53386d8e52ca1e818a8322d2ec641b73fd8568cee01cc74c0ee9f265
* | | | Remove (harmless) duplicate words in comments used to generate parts of thedrh2022-08-10
| | | | | | | | | | | | | | | | | | | | documentation. [forum:/forumpost/54abbe9ccd|forum post 54abbe9ccd] FossilOrigin-Name: b5e4f0db09ff7790862357df3c6fd38a2dcdfc82ff51b9f0d9470517648c844d
* | | | Fix handling of columns with names that are SQL keywords in the ".expert" ↵dan2022-08-10
| |_|/ |/| | | | | | | | | | | command. FossilOrigin-Name: 5e1b8221c385deb04a3ff5aafb2e9fc55aecc6ffc68328674e3afe56c4273e29
* | | Allow the name of an index to collide with a table in a different schema.drh2022-08-09
| | | | | | | | | FossilOrigin-Name: f963c2523872b59b8a7a14971f703f2eb0d021501b288597a958f6596885d0de
* | | Omit the (undocumented) SQLITE_PCACHE_SEPARATE_HEADER compile-time option.drh2022-08-09
| | | | | | | | | FossilOrigin-Name: 60947da687d525e72e62bcddcdf4c5c819818855074cc318c9ee656e83897aef
* | | Avoid some cases of signed integer overflow in fts5 by casting to unsigned ↵dan2022-08-08
| | | | | | | | | | | | | | | values. FossilOrigin-Name: 46a78c8c0ed518c4521e6e0bdebeb065bab07076abc444775002e7f4361d2242
* | | Avoid trying to cast an over-sized floating point value into an integer.drh2022-08-08
| | | | | | | | | FossilOrigin-Name: 3518cd7cb1feeefc3963da72c2d258d81d8914f1e1f427da28a00b6228cf126c
* | | Remove an unreachable branch in the numericType() helper routine.drh2022-08-08
| | | | | | | | | FossilOrigin-Name: a99cc008e46ab1a4fdbe2fa87202d026a10c57be55e3e9fedd935795ed6dc694
* | | Do not attempt to convert an oversized floating point value into an integer.drh2022-08-08
| | | | | | | | | FossilOrigin-Name: 6c4fc8385ee22516e0b87fb647327ee7d1a564040ebe2a4d66fc999ef2908df2
* | | Fix a rounding error caused by scalar->logarithm->scalar conversion when ↵dan2022-08-06
| | | | | | | | | | | | | | | using stat4 data to estimate some range scans. FossilOrigin-Name: 86e30d7c4bb1cebe25b66686d6d1ee170c1a88e5a6c1bed6652ebbb024d62062
* | | Avoid having fts3 read uninitialized values when processing deferred tokens.dan2022-08-05
| | | | | | | | | FossilOrigin-Name: 98729c5fa6c4c418ca9779c35e6874c930e5cee5a90b5eb32b284a0f3762269e
* | | Fix harmless compiler warning seen with MSVC.mistachkin2022-08-05
| | | | | | | | | FossilOrigin-Name: e36217f2536d89f7a15a879fe3ead32307909c71ced42e1ae7b35f43d4744a80
* | | Fix a problem with the query optimizer for LIMIT/OFFSET queries whendrh2022-08-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | underlying query is a UNION ALL and both arms of the UNION ALL are subqueries with an ORDER BY clause. This bug was reported at [forum:/forumpost/6b5e9188f0657616|forum post 6b5e9188f0657616]. The problem was introduced in 2015 (SQLite version 3.9.0) by check-in [4b631364354068af]. See also ticket [b65cb2c8d91f6685]. FossilOrigin-Name: 6c806f64bbc9e98891bad0868575ee2ec5d0951ceb0c71d3ed417b45d5f27561
* | | Fix a typo on a comment used to generate bytecode documentation.drh2022-08-04
| | | | | | | | | FossilOrigin-Name: 64348d0b665f61c3a89f51341f23ca87f939dd9e306dc58c2004e46ab04e696e
* | | Performance optimization to the math opcodes of the bytecode engine.drh2022-08-03
| | | | | | | | | FossilOrigin-Name: 597347d9c39f6ed068ac942a8c9853b1b745fce1eb5e9dd30f6c1cb312b36f53