๐ŸŒ AIๆœ็ดข & ไปฃ็† ไธป้กต
  1. 226aeba Fix an fts5 problem that could occur when mixing regular and secure delete operations on a single table. by dan ยท 2 years, 1 month ago
  2. 5d175eb Fix output redirect bug reported in [forum:/forumposts/cbf4933cfeee74bb|the forum]. by larrybr ยท 2 years, 1 month ago
  3. 92752a3 For CLI build with unused function warnings on, #ifdef out a console I/O function, fPutbUtf8(). by larrybr ยท 2 years, 1 month ago
  4. c0314bc Correct the URL for loading sqlite3-worker1-bundler-friendly.mjs from sqlite3-worker1-promiser-bundler-friendly.js, so that the promiser can be used in bundler-using environments. Problem reported via email. by stephan ยท 2 years, 1 month ago
  5. d9f3d6d Merge console I/O changes for Windows CLI. by larrybr ยท 2 years, 1 month ago
  6. e788255 Sync w/trunk as pre-merge-to-trunk sanity check. by larrybr ยท 2 years, 1 month ago
  7. 56bb07b Fix an assert() in fts5 that could be true following an OOM or IO error in contentless-delete mode. by dan ยท 2 years, 1 month ago
  8. 52c41ed Adjust an assert() in fts5WritePoslistData() so that it only applies if there by drh ยท 2 years, 1 month ago
  9. e1edecf Simplify and make more rational how console I/O package features are selected. (Motivated by Fiddle and other command-line utilities to soon use the package.) No substantive code-execution changes. by larrybr ยท 2 years, 1 month ago
  10. 5cc4ab9 Fix an exception misuse in test-opfs-vfs.js. by stephan ยท 2 years, 1 month ago
  11. 1b96310 JNI: add more wrapper1 Sqlite.Blob tests. by stephan ยท 2 years, 1 month ago
  12. bd06d86 JNI: clear out the sqlite3_context native pointer after calling UDF callbacks which do not have an argv (as was already done for those which have an argv). Add related tests and code commentary. by stephan ยท 2 years, 1 month ago
  13. 4d6b10c JNI doc updates. by stephan ยท 2 years, 1 month ago
  14. 6b36312 JNI: add the @Experimental annotation and mark all java.nio.ByteBuffer-related methods with it. by stephan ยท 2 years, 1 month ago
  15. 9730114 JNI test code cleanups. by stephan ยท 2 years, 1 month ago
  16. d7ef0e8 JNI: add CONFIG_LOG and CONFIG_SQLLOG support to wrapper1. Code-adjacent cleanups. by stephan ยท 2 years, 1 month ago
  17. 253727b JNI: apply an internal level of API indirection to avoid having to work with massively-mangled names for the various sqlite3_config() overloads. by stephan ยท 2 years, 1 month ago
  18. 5d59669 JNI: reimplement Tester2.execSql() using the high-level API. by stephan ยท 2 years, 1 month ago
  19. cb3a0b1 JNI: add Sqlite.Stmt.step(boolean) overload which returns the result code of sqlite3_step() unless passed true, in which case it throws for any result other than ROW or DONE. The intent is to simplify handling of LOCKED and BUSY errors. by stephan ยท 2 years, 1 month ago
  20. 4ce5bc2 JNI: use ByteBuffer.limit() instead of ByteBuffer.capacity() when figuring out where the logical end of a ByteBuffer is, for reasons explained at length in new code comments. This is unfortunately slower but is the correct way to do it. by stephan ยท 2 years, 1 month ago
  21. bdfc51d JNI: add sqlite3_blob_read_nio_buffer() and iron out the blob/ByteBuffer interface somewhat. by stephan ยท 2 years, 1 month ago
  22. f695620 Add a few asserts into *Put*() functions to catch calls that might cause an address fault. by larrybr ยท 2 years, 1 month ago
  23. adcd13d JNI: change sqlite3_prepare_multi()'s exception-handling semantics to be more C-like and, to support that, add the package-private sqlite3_jni_db_error() method to set the db error state from package-level Java code. by stephan ยท 2 years, 1 month ago
  24. b481413 JNI: add sqlite3_blob_write() overload which accepts a java.nio.ByteBuffer. Cleanups in adjacent code. by stephan ยท 2 years, 1 month ago
  25. ce2edab JNI: add sqlite3_column_nio_buffer() and sqlite3_value_nio_buffer() using an only-slightly roundabout approach to creating properly-sized ByteBuffer objects. by stephan ยท 2 years, 1 month ago
  26. 87c407d JNI: add sqlite3_result_nio_buffer() and tests. Discover that we cannot create sensible sqlite3_column_nio_buffer() or sqlite3_value_nio_buffer() counterparts because of ByteBuffer interface limitations. by stephan ยท 2 years, 1 month ago
  27. 5ed4ba0 Cure many warnings from gcc, clang and CL.exe. by larrybr ยท 2 years, 1 month ago
  28. 7f7d7be JNI: add sqlite3_bind_nio_buffer() and initial tests for binding ByteBuffer objects as blobs on JVMs which have JNI support for nio buffers. by stephan ยท 2 years, 1 month ago
  29. 14a0873 Enhance console_io to permit emits limited in various ways, such as valid UTF-8, upto control chars, or with counted limits, all getting away from 0-termination as the sole limit. In CLI, use this capability to avoid certain emit-chars-singly procedures that were breaking up UTF-8 characters. This fixes broken json mode output (on Windows) and (maybe) C-literal-like emits. by larrybr ยท 2 years, 1 month ago
  30. cc2b3c2 Write BOM without fwrite(), using sputz() so that if it goes to the console, it is translated "properly". by larrybr ยท 2 years, 1 month ago
  31. ea80462 Remove SHELL_LEGACY_CONSOLE_IO PP symbol and code it made active. (It is in the repo if ever needed/wanted, but it is just inferior or dead code now.) by larrybr ยท 2 years, 1 month ago
  32. 1bcb7c4 Complete shell transition to using {f,o,e}put{f,z}() emit functions. This fails test 13.1 in json501.test, but so does trunk in the same way. by larrybr ยท 2 years, 1 month ago
  33. 56e1610 JNI wrapper1: when checking for an out-of-bounds statement column index, perform the is-statement-finalized check before the range check so that the former exception trumps the latter. by stephan ยท 2 years, 1 month ago
  34. 307f95c Do not cache a statement's column count in the JNI wrapper1 API because an ALTER TABLE via another statement may invalidate it, as reported in [forum:6d80efd58d4591c7|forum post 6d80efd58d4591c7]. by stephan ยท 2 years, 1 month ago
  35. d2c8658 Fix malf with redirected input due to bad assumption that stdin is a console in the fgets() replacement. by larrybr ยท 2 years, 1 month ago
  36. 1229f8e Pervasive changes to console_io.{c,h} in support of simplifying ubiquitous emit ops in shell, and to get better control of console streams that might be opened only via .read or .output commands. Changes to shell to use {s,o,e}put{f,z}(...) calls for initial testing, but this check-in has few such conversions so that most will be in a separate check-in. Many renames to better follow recent coding convention. This code seems to be working, but has not been tested on difficult platforms or with multiple console hosts yet. So it is a WIP. by larrybr ยท 2 years, 1 month ago
  37. 9d60c3c Expose the missing SQLITE_SUBTYPE to wasm. by stephan ยท 2 years, 1 month ago
  38. 828a00c Expose the missing SQLITE_SUBTYPE to JNI. by stephan ยท 2 years, 1 month ago
  39. af65e7d Expose SQLITE_RESULT_SUBTYPE to JNI. by stephan ยท 2 years, 1 month ago
  40. 6db0b11 Expose SQLITE_RESULT_SUBTYPE to wasm. by stephan ยท 2 years, 1 month ago
  41. 752722e A .class file build dependencies fix in the JNI build. by stephan ยท 2 years, 1 month ago
  42. b9050dc Add some notes about the JNI pointer-passing approach and convert a couple of potential NullPointerExceptions into appropriate C result codes. Clarify that invocation of undefined behaviour from the Java API does not (due to the addition of defensive code) mean the same thing as it does in C (e.g. no NULL pointer dereferences). by stephan ยท 2 years, 1 month ago
  43. ec42781 Two more JNI build fixes for Windows/MinGW, reported in [forum:4f949edc312d2a75|forum post 4f949edc312d2a75]. by stephan ยท 2 years, 1 month ago
  44. 8657edd Remove an unused/invalid test from the wasm suite. by stephan ยท 2 years, 1 month ago
  45. 86b1898 JNI build fixes for platforms where the jint type is not the same as int, as reported in [forum:9089d2049a|forum post 9089d2049a]. by stephan ยท 2 years, 1 month ago
  46. 344255e An attempt to work around compilation errors on MinGW reported in [forum:9089d2049a|forum post 9089d2049a]. by stephan ยท 2 years, 1 month ago
  47. 73f0327 Refactor MBCS/UTF-8 translation to avoid extra allocations, supporting non-formatted (faster) output. Some code cleanup. Wrap .system/.shell command exection with restoration of startup console mode and renewing mode setup. Changes to make legacy MBCS build work better (than legacy did, even with --no-utf8.) by larrybr ยท 2 years, 1 month ago
  48. 637922a JNI: during static init record whether the current JVM supports JNI-level access to java.nio.ByteBuffer raw memory, and add sqlite3_jni_supports_nio() to query that. by stephan ยท 2 years, 1 month ago
  49. 488125d Add Sqlite.prepareMulti() to JNI wrapper1, for preparing multiple statements from a single input. by stephan ยท 2 years, 1 month ago
  50. 6dc368e Diverse minor cleanups in the JNI pieces. by stephan ยท 2 years, 1 month ago
  51. 6ca0cfd Flesh out [7a63b5b65a79] to be able to build JNI with or without SQLITE_ENABLE_COLUMN_METADATA. by stephan ยท 2 years, 1 month ago
  52. 4c78cb5 Get dependencies into make recipes. Get legacy console I/O (-DSHELL_LEGACY_CONSOLE_IO) working. Due to movement of MBCS/UTF-8 translation into traditional stream I/O simulacra, the input translation does not happen the same way. (It works the same, but fails differently and a bit better.) Added printf() and fputs() look-alikes, and made CLI use them. by larrybr ยท 2 years, 1 month ago
  53. 23056b6 Add -DSQLITE_ENABLE_COLUMN_METADATA to the JNI build, as per [forum:9205518c0568fdf0|forum post 9205518c0568fdf0]. Add tests for the functions that flag enables so that the build will fail if that flag is missing. by stephan ยท 2 years, 1 month ago
  54. a3e8822 Fix an fts5 problem where a transaction consisting of (a) a DELETE on rowid X, (b) a prefix query, and (c) an INSERT on rowid X, could corrupt the index. by dan ยท 2 years, 1 month ago
  55. d004638 Move console_io lib to its own subdirectory, etc/consio . by larrybr ยท 2 years, 1 month ago
  56. ed99e74 Add incremental blob I/O support to JNI wrapper1. by stephan ยท 2 years, 1 month ago
  57. 546db3f JNI wrapper1 normalizeSql() now throws UnsupportedOperationException, instead of returning null, if built without SQLITE_ENABLE_NORMALIZE. Remove SQLITE_PREPARE_NORMALIZE from the JNI interface because it's a legacy no-op. by stephan ยท 2 years, 1 month ago
  58. 88c90a7 Add authorizer support to JNI wrapper1. by stephan ยท 2 years, 1 month ago
  59. 9a26589 Add progress-handler support to JNI wrapper1. Correct the return type of the extended_result_codes() JNI binding and expose it to wrapper1. by stephan ยท 2 years, 1 month ago
  60. 0ee7ae7 Add update-hook support to JNI wrapper1. by stephan ยท 2 years, 1 month ago
  61. 2c930e3 Add commit/rollback hook support to JNI wrapper1. by stephan ยท 2 years, 1 month ago
  62. b02ca78 Add busy-handler support to JNI wrapper1. by stephan ยท 2 years, 1 month ago
  63. 15d38c0 Bind collation and collation-needed to JNI wrapper1 and correct the callback return type for collation-needed callbacks in the lower-level JNI binding. by stephan ยท 2 years, 1 month ago
  64. dc8a684 Wrap the sqlite3_backup API in the JNI wrapper1 API. by stephan ยท 2 years, 1 month ago
  65. ffdb479 Reimplement auto-extensions in Java for use with the JNI wrapper1 API. by stephan ยท 2 years, 1 month ago
  66. 1b19924 Expose context_db_handle() to the JNI wrapper1 API and clean up some related tests. by stephan ยท 2 years, 1 month ago
  67. 348e192 Rework the JNI wrapper1 variants of status() and db_status() to be more Java-esque. by stephan ยท 2 years, 1 month ago
  68. 5f3b13d Bind the bool-flag sqlite3_db_config() variants to the JNI wrapper1 API. by stephan ยท 2 years, 1 month ago
  69. aad6808 Bind the trace API to the JNI wrapper1 API and add a way to map the native-level db/stmt types to their high-level counterparts (required for translating callbacks such as tracers). by stephan ยท 2 years, 1 month ago
  70. ab8a4b2 Fix a case where adjacent tokens are handled incorrectly by the fts5 snippet() function. by dan ยท 2 years, 1 month ago
  71. b945183 Wrap more of the stmt API behind the JNI wrapper1 API. by stephan ยท 2 years, 1 month ago
  72. 073f8f5 Bind the sqlite3_keyword_...() and sqlite3_compileoption_...() family of functions to the JNI wrapper1 API. by stephan ยท 2 years, 1 month ago
  73. 78fee3f Add the "remove_diacritics" option to the fts5 trigram tokenizer. by dan ยท 2 years, 1 month ago
  74. 7b0fd0c Fix a problem with amalgamation builds on this branch. by dan ยท 2 years, 1 month ago fts5-trigram-diacritics
  75. 06af40b Merge latest JNI pieces into trunk. by stephan ยท 2 years, 1 month ago
  76. e186fe2 Add the "remove_diacritics" option to the fts5 trigram tokenizer. by dan ยท 2 years, 1 month ago
  77. 7d52262 Remove some outdated JNI docs. by stephan ยท 2 years, 1 month ago jni-post-3.44
  78. 5ba99da Fix harmless compiler warnings in test code. by drh ยท 2 years, 1 month ago
  79. a238c57 Fix problems with previous commit on Makefile.msc. Also some win32-specific test failures in fts5misc.test. by dan ยท 2 years, 1 month ago shell-build-changes
  80. 793e872 Merge trunk into jni-post-3.44 branch. by stephan ยท 2 years, 2 months ago
  81. a9fea28 Remove the SQLITE_MAX_ALLOCATION_SIZE flag (set to 536mb) from the WASM and JNI builds because it can unduly limit db exports via sqlite3_serialize(), as reported in [forum:75524f7342c1ba45|forum post 75524f7342c1ba45]. It now defaults to whatever sqlite3.c uses, which is currently just shy of 2gb. by stephan ยท 2 years, 2 months ago
  82. 95c11b1 Add missing docs for the JS Worker1 export method, as pointed out in [forum:75524f7342|forum post 75524f7342]. by stephan ยท 2 years, 2 months ago
  83. 26422f8 Export sqlite3_get_autocommit() to WASM and add tests for it. by stephan ยท 2 years, 2 months ago
  84. 6572f77 Disable two rtree test cases for Linux-i686. We do not have that platform by drh ยท 2 years, 2 months ago
  85. d7969e5 Handle utf8 mode restore better for redirected input or output. Move utf8 mode setup to before any invocation command processing. Sync w/trunk. by larrybr ยท 2 years, 2 months ago
  86. 634b037 Cure a harmless MSVC warning. (no other changes) by larrybr ยท 2 years, 2 months ago
  87. 208f5c6 Fix harmless compiler warnings. by drh ยท 2 years, 2 months ago
  88. 1d91f86 Fix minor problems with the "showwal" utility program. Add a missing header by drh ยท 2 years, 2 months ago
  89. 9f20bde Enhance the new xIntegrity method of the sqlite3_module object with new by drh ยท 2 years, 2 months ago
  90. 3da9826 Fix a problem with the fts5 highlight() and snippet() functions when used with tokenizers like "trigram" that output overlapping tokens. Forum post [forum:/forumpost/63735293ec|63735293ec]. by dan ยท 2 years, 2 months ago
  91. d548f74 Fix a problem with the fts5 highlight() and snippet() functions when used with tokenizers like "trigram" that output overlapping tokens. Forum post [forum:/forumpost/63735293ec|63735293ec]. by dan ยท 2 years, 2 months ago fts5-trigram-snippet-fix
  92. c0ba6a9 Fix various harmless scan-build warnings. by drh ยท 2 years, 2 months ago
  93. eb9882d Fix a harmless compiler warning in the expert extension. by drh ยท 2 years, 2 months ago
  94. 4fecc81 Avoid attempting to delete a file while it is open in test script sessionalter.test. by dan ยท 2 years, 2 months ago
  95. 8c86f56 New test cases for PRAGMA integrity_check against FTS4 and FTS5 tables. by drh ยท 2 years, 2 months ago
  96. 45b2e94 Improved error messages for the xIntegrity method in FTS3/4 and FTS5. by drh ยท 2 years, 2 months ago
  97. f49d52d Temporarily disable the ext/expert/expert1-6.0 test, which does not work by drh ยท 2 years, 2 months ago
  98. 334b6fe Add missing JNI sqlite3_result_subtype() binding. by stephan ยท 2 years, 2 months ago
  99. 81be0d2 Clear some picky warnings, sync w/trunk. by larrybr ยท 2 years, 2 months ago expert-enhancement
  100. 90a5617 Add many more high-level wrappers to the JNI wrapper1 API. Correct the JNI bindings of sqlite3_strglob/strlike() to compare as the core lib does if their glob argument is NULL and the other is not. by stephan ยท 2 years, 2 months ago