aboutsummaryrefslogtreecommitdiff
path: root/src/tclsqlite.c
Commit message (Collapse)AuthorAge
* Remove an unused parameter from an internal-use subroutine in the TCL interface.drh2025-01-30
| | | FossilOrigin-Name: a700692b39e24f5ca9ea6f879d413e20c2ad2b85f62c867407dafe111f13d931
* Improvements to the TCL interface for Tcl9 as suggested by Jan Nijtmans.drh2025-01-30
| | | FossilOrigin-Name: d76c5db866de2732b68401a4c3e39acddc7a99bed965160c1796477c062b478a
* Use Tcl_GetString() instead of Tcl_GetCharLength() to test for a zero-lengthdrh2025-01-21
| | | | | string in the TCL interface, since that is much more efficient. FossilOrigin-Name: a8d9dcfd23fbfcd887e451382836c1e88215984cc01e00be11387dbf4ab26fd8
* Improvements to [14b38ae6ab86a314] so that the Tcl interface is better abledrh2025-01-07
| | | | | to work with boolean values in both Tcl86 and Tcl90. FossilOrigin-Name: 4e85343d6107a46682b549667410c296d7f4d17e3ac04ded7357afcbbfbe3e6d
* Make the TCL extension aware of the booleanString type within TCL.drh2025-01-07
| | | FossilOrigin-Name: 14b38ae6ab86a314a63ca9513850b43fcc670864f94d03a2706eff469980da88
* Fix a typo in the previous check-in.drh2025-01-07
| | | FossilOrigin-Name: 7d41885e85b0e2ef28bac34d663af07c35b21ee3e8b14481d2371f623bce681d
* Minor fixes to tclsqlite.c to promote portability.drh2025-01-07
| | | FossilOrigin-Name: dd934f032fa6fc790a951006512e3ed76a5f2930858932918eafdbe3ceec4620
* Make the TCL interface more rebust against very large strings comingdrh2024-12-09
| | | | | out of TCL9. FossilOrigin-Name: e2bae4143afd07de1ae55a6d2606a3b541a5b94568aa41f6a96e5d1245471653
* Fix another issue in argument expansion on Windows for tclsqlite3.c indrh2024-11-22
| | | | | | interpreter mode. Problem introduced by check-in [9b87ea219bce5689] and unfixed by [cd942dce148c9d8f]. FossilOrigin-Name: 0fe1622cec95b7ebecc127ee57a08113d3da1dadbe72c03a13d6751b3043e50f
* Fix argument expansion in sqlite-tclsh on Windows such that if an argumentdrh2024-11-16
| | | | | | does not match a filename even after glob expansion, it is appended to the argument list verbatim. FossilOrigin-Name: cd942dce148c9d8f5a94cee61923aad8d1b732b807e004005f78323be30c02e7
* Remove the never-used and never-documented and long-ago deprecateddrh2024-10-28
| | | | | user-authentication feature option. FossilOrigin-Name: 3a3f7bf4307c27e56546e51da06ecc9a262cdf155fda2dd359aa2326d207a147
* Do not typedef Tcl_Size if it is already #defined.drh2024-10-22
| | | FossilOrigin-Name: 53491688cf622ca317b3ff56156e601c2bdfffc94e4fe471ca82d5ba1d9e875f
* An improved method for statically linking sqlite3_analyzer.exe using Tcl9.drh2024-10-11
| | | | | Enable wildcard expansion of arguments to testfiture on Windows. FossilOrigin-Name: 9b87ea219bce5689a69efac31063b9b11928e59124c0d36194715ff7faa5129d
* For compatibility, allow the TCL interfact to continue working with TCL 8.5.drh2024-10-10
| | | FossilOrigin-Name: 69346e9d4704e8fd82cbb3359913191e05cb38ee591baf97dcfe321db0ea085e
* Changes to the TCL extension and how it is built, suggested by Jan Nijtmans.drh2024-10-09
| | | FossilOrigin-Name: 9c0690193200551a3218c576b19eaf40e330dc252d67b430204ff44495e4793e
* Simplification the ./configure script. Carry Makefile CFLAGS and OPTS throughdrh2024-08-01
| | | | | | into builttclext.tcl. Fix a bug in tclsqlite.c introduced by the previous check-in. FossilOrigin-Name: 72a80aa0abb121a23f8cc1eb1af04ba06c733a7a40c06f1fe9e62f2a0a26ca6e
* Add the tclextension-list makefile target. The the makefile running on Mac.drh2024-08-01
| | | FossilOrigin-Name: 2f667cc8e54167342e17e63e1a017388365ebf4cd379f9c16c12e4603b34a326
* Make the #include section of tclsqlite.c the same as tclsqlite.h.drh2024-07-31
| | | FossilOrigin-Name: 2afadbeb124d6d7bb81d473379269014ebd8601f98f231e2218f54350a2e5fd3
* Fixes to tclsqlite.c to facilitate TEA installs.drh2024-07-31
| | | FossilOrigin-Name: 7157c3c910565c9385a028793a0c0106c5064ab6a8a6efbe29dd1f1cdb2bd48d
* More adjustments to the incrblob channel: Apparently you need to waitdrh2024-07-30
| | | | | | until the close2Proc is called with a flag of 0 before actually shutting down the channel. FossilOrigin-Name: fa549a5507b5f805b469b4360c11155aa9d22043f01f6d9428bf44d0f2351eb0
* Tcl_ChannelType implementations for Tcl9 apparently require thatdrh2024-07-30
| | | | | | | wideSeekProc be implemented. Also adjust minor test script issues for fts5 tests so that they can be run sequentially and so that they do not depend on the specific floating point output formats generated by Tcl. FossilOrigin-Name: 19fda979c5dc1a385ed3f8ab8df34388c1acfc7ff951fe1b183a79186bd20cdb
* Fix the incrblob channel so that partial close works with Tcl9.drh2024-07-30
| | | FossilOrigin-Name: d54ec2de78c2aed12be643e59a30b6827fe4728a0ab6504dd64ee9116e5f885a
* First attempt at getting the build to work with Tcl 9.0.drh2024-07-30
| | | FossilOrigin-Name: 6e5bb48a74d63fb8c30528f0005d1763cd2dbb882abf86baf1565721e6bfcf84
* Fix harmless compiler warnings that show up on 32-bit RaspberryPI builds.drh2023-06-17
| | | FossilOrigin-Name: bc4d20f362925e4ce5c79f0d7a27a8e9bbac92525bd4cea2ae983798e3f8c37d
* Add a C-source spell-checking facility. make misspell (on Nix)larrybr2023-06-07
| | | FossilOrigin-Name: 26c1bb4bd9e9f56613c3aa87407a7f562fd4ebde5bfd6dece02078001d9a45f8
* Fix sqlite3_prepare() so that it only invokes the progress handler on everydrh2023-01-12
| | | | | | | N-th call to sqlite3ProgressCheck(), where N is the progress handler step count. Also fix faulty asserts exposed by the ability to interrupt in the middle of sqlite3_prepare(). FossilOrigin-Name: 05461651599bb490ac6cfd893645dabab9cccedc6adcce15aee2487b2ea6027a
* Fix a minor problem in the Tcl "incrblob" command. This does not affect the ↵dan2022-06-01
| | | | | SQLite core. FossilOrigin-Name: e96feccc21d9b858f076960e029b615809243d0cc3f95db75180feb01887451f
* Make the sqlite3_error_offset() interface accessible from TCL using thedrh2022-02-16
| | | | | new "erroroffset" method on the sqlite3 object. FossilOrigin-Name: 3454a1222bedefba527af98c0284ed0bfbd28dd941885d9a0ac9a44aea2fc8ec
* Fix a compiler warning in the dbserialize method of the TCL interface.drh2021-11-23
| | | FossilOrigin-Name: ba71d030fef4cd4251dc882acc6897dbf9aaba498652900c491b082add87404f
* Minor tweaks to the way auxiliary tools are built, to make it easier todrh2021-11-18
| | | | | customize the builds without having to alter the code. FossilOrigin-Name: 90b06b6f42918852cfb15258be462c6bed260c6a618b86fa9084bac72fa2f58f
* Add a reference counter to a structure used internally by the Tcl interface ↵dan2021-09-16
| | | | | so that it does not segfault if the database connection is closed from any of the various callback scripts that may be invoked. FossilOrigin-Name: e54a33ce56432b23947583d34cf12fc64a55bbc49eb77c7f33cff5926df51070
* Add the sqlite3_changes64() and sqlite3_total_changes64() API functions.dan2021-06-22
| | | FossilOrigin-Name: 48fdec22c966003f5577e0bf52906ef90df11e4e395723a646304e67ed976f37
* Enable the sqlite3_serialize() and sqlite3_deserialize() interfaces bydrh2021-05-08
| | | | | | default. Omit the SQLITE_ENABLE_DESERIALIZE option and replace it with the SQLITE_OMIT_DESERIALIZE option. FossilOrigin-Name: 6df3b03e00b1143be8fed3a39a58ce81063020275aa1ac13d87c84f1ceda6e27
* Enhancements to long-path support in the Win32 VFS.mistachkin2020-05-15
| | | FossilOrigin-Name: 0119d96decd344ae711388ac8475b92464a6d018ecf73862170f137410036dac
* Simplify the code by removing the unsupported and undocumented drh2020-02-07
| | | | | SQLITE_HAS_CODEC compile-time option FossilOrigin-Name: 5a877221ce90e7523059353a68650c5fdd28ed032807afc2f10afbfbf864bdfe
* In the TCL interface, add the ability to change thedrh2020-01-18
| | | | | SQLITE_DBCONFIG_TRUSTED_SCHEMA setting using the "db config" method. FossilOrigin-Name: 1accfa8cf05856b03cecab7a2cd0c0337842a0003cfbec207b6f0acdd93e8f15
* Provide the -innocuous option to the "db func" method in the TCL interface.drh2020-01-08
| | | FossilOrigin-Name: 0138652b6c2f21fd67e59a23a396a5b9d6a16ee9b44701cddfc49b23fddfce5b
* Add support for SQLITE_OPEN_NOFOLLOW.drh2019-11-18
| | | FossilOrigin-Name: cb79c828496a703f1410f61458ebc1e15a92a63412b36f51945b2b5a32ec6e88
* The SQLITE_DIRECTONLY flag, when added to sqlite3_create_function() preventsdrh2019-08-17
|\ | | | | | | | | the function from being used inside a trigger or view. FossilOrigin-Name: de767376987f7668b0770c4920f1532e341b5a27f797d69c0f5e92b87d036170
| * Provide the SQLITE_DIRECTONLY flag for app-defined functions that prohibitsdrh2019-08-15
| | | | | | | | | | the use of those functions within triggers or views. FossilOrigin-Name: fc745845d8d76adc165575e2192f4176e3c28e614c72571d56f4011560499fe1
* | Fix harmless compiler warnings in the TCL interface.drh2019-08-15
| | | | | | FossilOrigin-Name: f17e72291f197a92b3e15e054271b997d45211a5a31ca4ea6c7fbb33026d5f1f
* | Add the SQLITE_DBCONFIG_ENABLE_VIEW option, together with a "db config"drh2019-08-15
|/ | | | | | command in the TCL interface that can access that option as well as all the other sqlite3_db_config() boolean options. FossilOrigin-Name: 61b4bccd2984f4c2cf50f58ef08677588e57aa7e079af07473b2e188d9ce4f52
* Add the new "bind_fallback" method to the "sqlite3" object in the TCLdrh2019-02-28
| | | | | interface. FossilOrigin-Name: c7f70b6d96338dba201e005104e7f7148c1a8cd767ab05e35b44617c4c797bc5
* Add the "-returntype" option to the "db function" Tcl method.dan2019-02-27
| | | FossilOrigin-Name: 789a492b68c353e2b763d67d399722b7ab61bfe09b472466df2821f65cab1be9
* Enhancements to deserialize: (1) Add the SQLITE_FCNTL_SIZE_LIMIT file controldrh2019-01-22
| | | | | | | | | to set a maximum size for an in-memory database, defaulting to SQLITE_MEMDB_DEFAULT_MAXSIZE or 1GiB. (2) Honor the SQLITE_DESERIALIZE_READONLY flag. (3) Enhance the TCL interface to support -maxsize N and -readonly BOOLEAN. (4) Add the --maxsize option to the ".open" command and on the command-line for the CLI. FossilOrigin-Name: 30f08d58882819a69e353bcc1b6b349664bbfbe00aa1c115ba44a9fd899fcc5b
* Fix the "sqlite3" command in the TCL interface so that it correctly returnsdrh2018-09-19
| | | | | an error if invoked with no arguments. FossilOrigin-Name: 2034fa8089676132b5e2f71bdebf1af9ca141da2e173920c6e84fb974ab0f022
* In the Win32 VFS, when truncating a file, unmap it first.mistachkin2018-07-22
| | | FossilOrigin-Name: 21510a66dce4d0843ccfe20f092a01f5a52563ef244a94f1d5d2563305cab925
* Fix the second callback argument to the "profile" response of thedrh2018-03-10
| | | | | | | "trace_v2" method in the TCL interface so that it shows the actual number of nanoseconds for the command, not the address of the variable containing the number of nanoseconds. FossilOrigin-Name: 8f9a12518642e5be9760956ff345fe54ed5bd3cab55328e88312278d3d78bc76
* Improved documentation for sqlite3_serialize() and sqlite3_deserialize().drh2018-03-06
| | | | | | Change the name of the compile-time option to enable these interfaces from SQLITE_ENABLE_MEMDB to SQLITE_ENABLE_DESERIALIZE. FossilOrigin-Name: f07e97aed435b02e1473053c0257ec5c89bf0b3e46076b7a9382de432bbc2497
* Merge changes from trunk.drh2018-01-24
|\ | | | | FossilOrigin-Name: 6ef3de810d54563c227045b16197b8011ce285ea867261946f93b2de55344f29