๐ŸŒ AIๆœ็ดข & ไปฃ็† ไธป้กต
  1. 8a273bb JNI: extend [baf220e78a46246c47] to include macro-generated sqlite3_value_...() bindings. by stephan ยท 2 years, 2 months ago api-armor-audit
  2. 4b1e42e JNI: make the sqlite3_value_...() family of bindings resistent to NULL arguments. by stephan ยท 2 years, 2 months ago
  3. eb62ccd Add API_ARMOR support to the scanstatus family of functions. by stephan ยท 2 years, 2 months ago
  4. 4213cc7 JNI: add a missing result code check to sqlite3_bind_value(stmt, null). by stephan ยท 2 years, 2 months ago
  5. a9000d4 JNI: add missing sqlite3_bind_value() and minor memory-safety-related cleanups. by stephan ยท 2 years, 2 months ago
  6. c76e450 Add API_ARMOR support to the sqlite3_result_...() family of functions and sqlite3_bind_zeroblob64(). by stephan ยท 2 years, 2 months ago
  7. 7a54b12 More API_ARMOR additions. by stephan ยท 2 years, 2 months ago
  8. a17f632 Add column name to API_ARMOR check in sqlite3_blob_open() to avoid a null-pointer deref. by stephan ยท 2 years, 2 months ago
  9. 067a13c Revert [f6cd88e6b234] - the NULL callback case is perfectly legal. by stephan ยท 2 years, 2 months ago
  10. 6d035d4 Bring JNI-side sqlite3_last_insert_rowid() and sqlite3_table_column_metadata() in line with the core's NULL handling. by stephan ยท 2 years, 2 months ago
  11. eaebd7f Extend API_ARMOR checks on sqlite3_commit/rollback_hook() to include a check for the callback pointer. by stephan ยท 2 years, 2 months ago
  12. 2ba1acc Add missing JNI bindings for sqlite3_db_readonly() and sqlite3_db_name(). Code-adjacent tweaks for the API_ARMOR audit. by stephan ยท 2 years, 2 months ago
  13. 7dc0cc4 Round one of an audit for SQLITE_ENABLE_API_ARMOR for functions exposed by JNI and those functions missing armor, as [forum:5e3fc453a69b49ca|reported in several forum posts]. by stephan ยท 2 years, 2 months ago
  14. 99d4397 Avoid potential overflow in hex(). [forum:/forumpost/7ac0c9c5ea|See forum post 7ac0c9c5ea.] by larrybr ยท 2 years, 2 months ago
  15. 5dc4a40 Make sure virtual tables have been connected before trying to invoke by drh ยท 2 years, 2 months ago
  16. 3046039 Fix a problem with an fts5 secure-delete on a rowid/term pair that follows a legacy delete of the same pair. by dan ยท 2 years, 2 months ago
  17. 4b136ed Enable SQLITE_VTAB_INNOCUOUS for FTS3, FTS5, and RTREE. by drh ยท 2 years, 2 months ago
  18. a11499a Add test case for [29937081]. by dan ยท 2 years, 2 months ago
  19. 5d9a6c6 Make sure the journal file is closed when transitioning into MEMORY journal by drh ยท 2 years, 2 months ago
  20. 35d6c24 CLI to check for rare prepare failures. [forum:/forumpost/5be6395182|See forum post 5be6395182.] by larrybr ยท 2 years, 2 months ago
  21. 6a0f297 Unconditionally force use of SQLITE_ENABLE_API_ARMOR in the WASM and JNI builds. Their corresponding test suites still work. by stephan ยท 2 years, 2 months ago
  22. ac4aea5 Fix the use of an uninitialized value that occurs when doing a json_insert() by drh ยท 2 years, 2 months ago
  23. 582d65c Add (prepare, step, reset, finalize) parts of the JNI level-2 stmt wrapper and associated tests. by stephan ยท 2 years, 2 months ago
  24. 58c7b77 Simplification to sqlite3ApiExit(). Generates identical machine code, but by drh ยท 2 years, 2 months ago
  25. 853fb5e Fix a bug in the mkautoconfamal.sh script, introduced by check-in [3308fdda4b81c110] by drh ยท 2 years, 2 months ago
  26. 0b29d37 Start adding tests for the second JNI layer. by stephan ยท 2 years, 2 months ago
  27. aaf1341 Use snprintf() in place of sprintf() in a debugging function in the CLI. by drh ยท 2 years, 2 months ago
  28. 6c96bf2 Avoid calling sqlite3_randomness and taking the PRNG mutex when writing a journal header in "journal_mode=memory" mode. by dan ยท 2 years, 2 months ago
  29. 01a5a19 Add a TCL script that does various verification checks on the source tree by drh ยท 2 years, 2 months ago
  30. 7e60f6d Fix a compiler warning caused by the previous check-in. by drh ยท 2 years, 2 months ago
  31. 50da20d Turn on SEH by default when building using MSVC. by drh ยท 2 years, 2 months ago
  32. faef28e Fix a potential UAF caused by JSON parser cache spill. by drh ยท 2 years, 2 months ago
  33. 66dacae Flesh out the error state captured by SqliteException.java. Doc additions. by stephan ยท 2 years, 2 months ago
  34. 4a11142 Fix harmless compiler warning in the test module for sessions. by drh ยท 2 years, 2 months ago
  35. c8f829c Add JNI Sqlite and SqliteException classes. Add Tester2.java as the main test app for the high-level API. by stephan ยท 2 years, 2 months ago
  36. fd01368 Minor JNI doc and public/private cleanups. by stephan ยท 2 years, 2 months ago
  37. 68585ea Rename SQLite3Jni to CApi to (A) reduce name prefix collisions with incoming classes and (B) align with its counterpart in the JS build. Remove the Canonical annotation because (A) the new code separation will inherently make that distinction and (B) the line between truly canonical and semi-canonical (e.g. differing in signature overloads) is blurry enough that consistent use of that annocation is becoming an unnecessary burden. by stephan ยท 2 years, 2 months ago
  38. 3b381b4 Fix a problem with sqlite3changegroup_schema() and patchsets. by dan ยท 2 years, 2 months ago
  39. 4bdcfc6 Add the sqlite3changegroup_schema() API. To allow changegroup objects to upgrade the schema of a changeset/patchset under some circumstances. by dan ยท 2 years, 2 months ago
  40. 18efe17 Fix a problem with the changes on this branch and tables that use an implicit primary key. by dan ยท 2 years, 2 months ago session-alter
  41. 8f06345 Add a test case to prevent a regression of the leak fixed in the previous by drh ยท 2 years, 2 months ago
  42. 43e232d Fix a resource leak: sqlite3_blob_reopen() was failing to invoke the by drh ยท 2 years, 2 months ago
  43. 83e43dc Add missing source code comments and fix other issues with the new code on this branch. by dan ยท 2 years, 2 months ago
  44. 9fc208a Update this branch with latest changes from the trunk. by dan ยท 2 years, 2 months ago
  45. 53e91a5 Add tests for the sqlite3changegroup_schema() API. by dan ยท 2 years, 2 months ago
  46. 00eee7a Remove an unused parameter from the recomputeColumnsNotIndexed() routine in by drh ยท 2 years, 2 months ago
  47. 1935887 Ensure that all fields of static sqlite3_module objects are explicitly by drh ยท 2 years, 2 months ago
  48. 03f7e42 Remove and unused static variable from shell.c.in in order to silence a by drh ยท 2 years, 2 months ago
  49. 568643f Increase the size of some variables associated with the PMA sorter in order by drh ยท 2 years, 2 months ago
  50. 16381d0 Add the sqlite3changegroup_schema() API. To allow changegroups to handle differences in schema created by ALTER TABLE ADD COLUMN. by dan ยท 2 years, 2 months ago
  51. 5d9446d Improved detection of corrupt databases in balance_nonroot(). by drh ยท 2 years, 2 months ago
  52. a357bdb Do not squelch exceptions from SAHPool VFS importDb() - rethrow them. Problem reported in [forum:c80fc578809b80a3|forum post c80fc578809b80a3]. by stephan ยท 2 years, 2 months ago
  53. 3a3912f Remove a stray blank line from the beginning of btree.c. No functional by drh ยท 2 years, 2 months ago
  54. 6d8e91b Allow a session object to generate a changeset, even if columns were added to one of the tables using ALTER TABLE ADD COLUMN while the changeset was being collected. by dan ยท 2 years, 2 months ago
  55. 10e7519 The Makefile distinguishes between tcl8.4 and tcl8.5. Some makefile targets by drh ยท 2 years, 2 months ago
  56. 57996f5 Modify the main makefile so that it fails with an error if the tclsh found by drh ยท 2 years, 2 months ago
  57. 4f65a3c JNI: when fetching text-or-blob/length pairs, fetch the text-or-blob first, then the length, as the API docs suggest. by stephan ยท 2 years, 2 months ago
  58. 51e3f7a Fix the length of the string in the new concat() and concat_ws() functions. by drh ยท 2 years, 2 months ago
  59. 43d71eb Remove an ALWAYS() from a branch that can in fact be false following an OOM by drh ยท 2 years, 2 months ago
  60. 041fb16 Pointer-casting-related fixes for JNI on 32-bit ARM (pi4 armv7l). by stephan ยท 2 years, 2 months ago
  61. dc13d74 Add JNI binding for sqlite3_normalized_sql(). by stephan ยท 2 years, 2 months ago
  62. ec15e55 Make JNI binding of sqlite3_value_frombind() return boolean instead of int and add tests for it. by stephan ยท 2 years, 2 months ago
  63. f046b82 Fix JNI binding to compile without SQLITE_ENABLE_PREUPDATE_HOOK. Add build option to disable all optional ENABLE flags. by stephan ยท 2 years, 2 months ago
  64. d1878be Make all SQLite3Jni methods which take a void-pointer-as-long-int argument explicitly package-private, as they're always for internal use only even if SQLite3Jni is eventually made public. by stephan ยท 2 years, 2 months ago
  65. 41c6232 JNI: rename sqlite3_errmsg16() to sqlite3_errmsg(), as the 16 suffix is superfluous there. by stephan ยท 2 years, 2 months ago
  66. 0018ef1 Expose sqlite3_stmt_busy() to JNI. by stephan ยท 2 years, 2 months ago
  67. 8f43696 Correct an undefined-value deref in the JS bindings, triggered by passing invalid args and then tripping over an undefined value while trying to report that. Reported in [forum:dd42df144651d779|forum post dd42df144651d779]. by stephan ยท 2 years, 2 months ago
  68. 9ac7e2d Make (almost) all SQLite3Jni.sqlite3_... members public but make the SQLite3Jni class package-private, which has the same foot-protection effect but makes it much simpler to patch SQLite3Jni to publicize the interface later. Remove some of the extraneous foot-shooting protection from indidivual functions, in lieu moving it to the still-pending higher-level interfaces. by stephan ยท 2 years, 2 months ago
  69. 008b62f Merge in and close jni-ptr-passing branch. The remaining pointer-passing adaptation can be done incrementally without affecting the interface. by stephan ยท 2 years, 2 months ago
  70. d1ce275 Make all native JNI sqlite3_...() bindings package-private as a foot-shooting protective measure (higher-level pre-native-call argument validation is largely pending). Move SQLTester.java and TesterFts5.java into the org.sqlite.jni package so that they can access the being-tested methods. by stephan ยท 2 years, 2 months ago jni-ptr-passing
  71. ebce46f More work towards the new pointer-passing mechanism in JNI, and code-adjacent cleanups. by stephan ยท 2 years, 2 months ago
  72. bee5657 Add test case to ensure the assert() removed by [f090af77] no longer fails. by dan ยท 2 years, 2 months ago
  73. 8be4844 Remove an incorrect assert(). by drh ยท 2 years, 2 months ago
  74. 83f6281 JNI: correct a NullPointerException triggered via SQLTester. by stephan ยท 2 years, 3 months ago
  75. d93cfa2 Clarify serialization API doc w.r.t. buffer validity and usage, instigated by [forum:/forumpost/8922e2ad2ad41205|forum post 8922e2ad2ad41205]. No code changes. by larrybr ยท 2 years, 3 months ago
  76. 0dabcd1 Adapted the JNI bindings for the sqlite3_value_...() and (pre)update hook APIs to the new pointer-passing mechanism. by stephan ยท 2 years, 3 months ago
  77. 5d1448d Convert the remaining macro-generated JNI bindings to the new pointer-passing mechanism. by stephan ยท 2 years, 3 months ago
  78. 50b2a41 Convert the macro-generated JNI bindings which take a db pointer to the new pointer-passing mechanism. by stephan ยท 2 years, 3 months ago
  79. 1d74432 Adapted JNI sqlite3_blob_...() and sqlite3_close...() to the new pointer-passing mechanism. by stephan ยท 2 years, 3 months ago
  80. a917ee7 Adapt JNI sqlite3_bind_...() bindings to the new pointer-passing method and correct the mapping of sqlite3_bind_zeroblob64() to use zeroblob64() instead of zeroblob(). Related internal API renaming. by stephan ยท 2 years, 3 months ago
  81. 9afd67c Add missing license headers to JNI annotation classes and extend the definition of @NotNull to include 0L as the equivalent of null to account for the current rework of how pointers are passed from Java to C. by stephan ยท 2 years, 3 months ago
  82. 4632f91 Rework the JNI sqlite3_backup APIs to the new pointer-passing approach. by stephan ยท 2 years, 3 months ago
  83. 36f60e6 Start reworking JNI methods such that they pass void pointers from Java to C instead of passing their strongly-typed wrappers, as that is reportedly significantly faster than passing the wrapper objects to C and extracting the pointers there. There are still many, many functions left to rework for this. by stephan ยท 2 years, 3 months ago
  84. 61df55d Fix harmless compiler warnings in the testfixture testing utility. by drh ยท 2 years, 3 months ago
  85. e81d229 JNI: implement AutoCloseable for the sqlite3 and sqlite3_stmt classes, and adjust a few tests to use it. Override Object.finalize() for sqlite3 class but not sqlite3_stmt (where it triggers a JVM crash for as-yet-unknown reasons). by stephan ยท 2 years, 3 months ago
  86. 0e224d9 Fix yet another assert() in the partial-index constant value optimization. by drh ยท 2 years, 3 months ago
  87. 1c67749 Remove a NEVER() from a condition in the partial-index constant value optimization that can sometimes be true. by dan ยท 2 years, 3 months ago
  88. a6e7202 Remove unreachable code from the partial-index constant value optimization by drh ยท 2 years, 3 months ago
  89. 6f73737 Remove some outdated JNI docs. by stephan ยท 2 years, 3 months ago
  90. efa8369 Minor JNI doc updates. No code changes. by stephan ยท 2 years, 3 months ago
  91. 47b4274 In partial index scans, if the WHERE clause implies a constant value for a table column, replace occurences of that table column with the constant. This increases the likelihood of the partial index being a covering index. by dan ยท 2 years, 3 months ago
  92. 1b96f91 Another very minor tweak to code on this branch to save cycles. by dan ยท 2 years, 3 months ago partial-index-terms
  93. cf09065 Change the order of an if..else... in new code to make it slightly faster. by dan ยท 2 years, 3 months ago
  94. cc11526 Enable -Wall for the compiler on --enable-debug builds. by drh ยท 2 years, 3 months ago
  95. 873849b Fix a bad interaction between LEFT JOIN, bloom filters and partial indexes. by dan ยท 2 years, 3 months ago
  96. a2ead23 Resolve the JNI FTS5 test5() failure and remove some nearby dead code. by stephan ยท 2 years, 3 months ago
  97. af7cce9 Add extra tests for changes on this branch. by dan ยท 2 years, 3 months ago
  98. 7a9bbfe Avoid an error when parsing a schema that contains indexes with WHERE clauses containing unknown collation sequences. by dan ยท 2 years, 3 months ago
  99. c18c752 Fix a failing assert() caused by changes on this branch. by dan ยท 2 years, 3 months ago
  100. 9f811a3 Fix a harmless compiler warning. by drh ยท 2 years, 3 months ago