wxSQLite3 4.9.12
|
wxSQLite3 is a C++ wrapper around the public domain SQLite 3.x database and is specifically designed for use in programs based on the wxWidgets library.
Several solutions already exist to access SQLite databases. To name just a few:
The component wxSQLite3 was inspired by all three mentioned SQLite wrappers. wxSQLite3 does not try to hide the underlying database, in contrary almost all special features of the SQLite3 version 3.x are supported, like for example the creation of user defined scalar or aggregate functions.
Since SQLite stores strings in UTF-8 encoding, the wxSQLite3 methods provide automatic conversion between wxStrings and UTF-8 strings. The methods ToUTF8 and FromUTF8 of the wxString class (available since wxWidgets 2.8.4) are used for the conversion. Special care has to be taken if external administration tools are used to modify the database contents, since not all of these tools operate in Unicode or UTF-8 mode.
Upgrade to SQLite3 Multiple Ciphers version 1.9.0 (SQLite version 3.47.0)
Upgrade to SQLite3 Multiple Ciphers version 1.8.6 (SQLite version 3.46.0)
Upgrade to SQLite3 Multiple Ciphers version 1.8.4 (SQLite version 3.45.2)
Disable user authentication extension in build files by default
Upgrade to SQLite3 Multiple Ciphers version 1.8.2 (SQLite version 3.45.0)
Upgrade to SQLite3 Multiple Ciphers version 1.8.0 (SQLite version 3.44.1)
Added new cipher scheme Ascon-128 (Lightweight Authenticated Encryption)
Upgrade to SQLite3 Multiple Ciphers version 1.7.4 (SQLite version 3.44.0)
Prevent crashes due to uninitialized cipher tables (issue #113)
Upgrade to SQLite3 Multiple Ciphers version 1.7.0 (SQLite version 3.43.1)
Upgrade to SQLite3 Multiple Ciphers version 1.6.5 (SQLite version 3.43.1)
Upgrade to SQLite3 Multiple Ciphers version 1.6.3 (SQLite version 3.42.0)
Upgrade to SQLite3 Multiple Ciphers version 1.6.1 (SQLite version 3.41.1)
Upgrade to SQLite3 Multiple Ciphers version 1.6.0 (SQLite version 3.41.0)
Enhanced method wxSQLite3Database::Open allowing to set the VFS to be used
Added method wxSQLite3Database::IsInterrupted
Upgrade to SQLite3 Multiple Ciphers version 1.5.4 (SQLite version 3.40.0)
Upgrade to SQLite3 Multiple Ciphers version 1.5.3 (SQLite version 3.39.3)
Upgrade to SQLite3 Multiple Ciphers version 1.4.6 (SQLite version 3.39.1)
Upgrade to SQLite3 Multiple Ciphers version 1.4.3 (SQLite version 3.38.5)
Upgrade to SQLite3 Multiple Ciphers version 1.4.2 (SQLite version 3.38.3)
Upgrade to SQLite3 Multiple Ciphers version 1.3.10 (SQLite version 3.38.2)
Upgrade to SQLite3 Multiple Ciphers version 1.3.9 (SQLite version 3.38.1)
Upgrade to SQLite3 Multiple Ciphers version 1.3.8 (SQLite version 3.38.0)
Upgrade to SQLite3 Multiple Ciphers version 1.3.7 (SQLite version 3.37.2)
Upgrade to SQLite3 Multiple Ciphers version 1.3.5 (SQLite version 3.37.0)
Upgrade to SQLite3 Multiple Ciphers version 1.3.4 (SQLite version 3.36.0)
Upgrade to SQLite3 Multiple Ciphers version 1.3.3 (SQLite version 3.36.0)
Upgrade to SQLite3 Multiple Ciphers version 1.3.2 (SQLite version 3.35.5)
Upgrade to SQLite3 Multiple Ciphers version 1.3.1 (SQLite version 3.35.5)
Upgrade to SQLite3 Multiple Ciphers version 1.3.0 (SQLite version 3.35.5)
Upgrade to SQLite3 Multiple Ciphers version 1.2.5 (SQLite version 3.35.5)
Upgrade to SQLite3 Multiple Ciphers version 1.2.4 (SQLite version 3.35.4)
Upgrade to SQLite3 Multiple Ciphers version 1.2.3 (SQLite version 3.35.3)
Upgrade to SQLite3 Multiple Ciphers version 1.2.2 (SQLite version 3.35.2)
Upgrade to SQLite3 Multiple Ciphers version 1.2.1 (SQLite version 3.35.1)
Upgrade to SQLite3 Multiple Ciphers version 1.2.0 (SQLite version 3.35.0)
Enabled new SQLite Math Extension
Fixed a memory leak in method wxSQLite3Database::GetTable
Adjusted build files (DLL builds with MinGW/GCC used wrong DLL file extension)
Upgrade to SQLite3 Multiple Ciphers version 1.1.3
Adjusted autotool build files to enable AES hardware support if available
Upgrade to SQLite3 Multiple Ciphers version 1.1.2
Adjusted build files for MinGW
Upgrade to SQLite3 Multiple Ciphers version 1.1.1
Upgrade to SQLite version 3.34.0
Added method wxSQLite3Database::QueryTransactionState
Added SQLite VSV extension (Variably Separated Values)
Use SQLite encryption extension "SQLite3 Multiple Ciphers"
Upgrade to SQLite version 3.33.0
Added support for System.Data.SQLite's RC4 encryption
Upgrade to SQLite version 3.31.1
Upgrade to SQLite version 3.31.0
Modified API for wxSQLite3Database::CreateFunction methods
Upgrade to SQLite version 3.30.1
Adjusted encryption extension to support SQLite's shared cache mode
Upgrade to SQLite version 3.30.0
Fixed missing cipher application in method wxSQLite3Database::ReKey
Fixed broken compatibility with wxWidgets 2.8.12
Upgrade to SQLite version 3.29.0
Added SQLite logging support
Added build support for VS2019
Added CMake support (PR #63)
Updated build files to overcome problems with static builds (issue #73)
Eliminated duplication of error messages for different wxWidgets builds (PR #64)
Fixed missing call to progress callback in wxSQLite3Database::Restore (PR #66)
Fixed issue #58 with silently failing wxSQLite3Transaction::Commit method
Fixed issue with named collections which could result in crashes (PR #59)
Upgrade to SQLite version 3.28.0
Upgrade to SQLite version 3.27.2
Upgrade to SQLite version 3.27.1
Upgrade to SQLite version 3.26.0
Added support for the SQLCipher 4 database format
Upgrade to SQLite version 3.25.3
Adjusted encryption extension to support cipher configuration via database URI
Added method wxSQLite3Database::GetKeySalt to access the key salt of encrypted databases
Fixed memory leaks in methods wxSQLite3ResultSet::GetExpandedSQL and wxSQLite3Statement::GetExpandedSQL
Adjusted encryption extension to support raw key (and salt) for the ChaCha20 (sqleet) encryption scheme
Upgrade to SQLite version 3.25.2
Upgrade to SQLite version 3.25.1
Added support for SQL window functions
Adjusted encryption extension to check for matching page sizes on rekeying a database
Upgrade to SQLite version 3.24.0
Adjusted encryption extension to better support the SQLite backup API
Upgrade to SQLite version 3.23.1
Fixed a bug in the rekeying function of the encryption extension
Introduced multi-cipher support at runtime
Added methods for attaching/detaching databases
Cleaned up code using statement buffers
Improved constness of methods
Upgrade to SQLite version 3.23.0
Upgrade to SQLite version 3.22.0
Upgrade to SQLite version 3.21.0
Upgrade to SQLite version 3.20.1
Upgrade to SQLite version 3.20.0
Added support for persistent prepared statements
Added support for binding pointers (new SQLite pointer-binding interface)
Added several SQLite extensions (csv, sha3, carray, fileio, series) for the included SQLite library
Modified build files to expose the parameter SQLITE_MAX_ATTACHED to allow easier adjustment of the maximum number of attached databases
Upgrade to SQLite version 3.19.3
Upgrade to SQLite version 3.19.2
Upgrade to SQLite version 3.18.0
Minor modification to wxsqlite3.pc.in to fix issue with pkgconfig tool
Upgrade to SQLite version 3.17.0
Fixed minor issue in SQLite encryption extension related to symbol SQLITE_DEBUG
Modified build system for GNU make (support monolithic wxWidgets build)
Added version information as Windows resource for DLL builds on Windows
Cleaned up premake5 build files for Visual C++ (corrected debug environment settings)
Resolved wxWidgets library dependencies for Visual C++ using wxWidgets' special setup.h for MSVC
Upgrade to SQLite version 3.16.2
SQLite3 library now integrated part of wxSQLite3
Build system overhauled
Added Travis Continuous Integration
Upgrade to SQLite version 3.15.0
Upgrade to SQLite version 3.14.1
Added method wxSQLite3Statement::GetExpandedSQL
Added method wxSQLite3ResultSet::GetExpandedSQL
Started to modify the build system to compile and statically link the SQLite3 library together with wxSQLite3
Added the CSV extension module as part of the SQLite3 library with encryption extension
Upgrade to SQLite version 3.12.1
Added method wxSQLite3Database::GetSystemErrorCode
Upgrade to SQLite version 3.9.2
(SQLite amalgamation source adjusted to fix problem with user authentication module)
Upgrade to SQLite version 3.8.8.3
Fixed a bug in method GetParamName
Upgrade to SQLite version 3.8.7.4
Added support for the SQLite user authentication module
Upgrade to SQLite version 3.8.5
Upgrade to SQLite version 3.8.4.3
Added flag isDeterministic to method wxSQLite3Database::CreateFunction
Added new GUI sample
Changed implementation of encryption extension (see Readme file in sqlite3 subfolder)
Upgrade to SQLite version 3.8.2
Upgrade to SQLite version 3.8.0.2
Added support for setting the temporary directory for SQLite on Windows
Upgrade to SQLite version 3.8.0
Added support for querying performance characteristics of prepared statements
Upgrade to SQLite version 3.7.16
Upgrade to SQLite version 3.7.15.1
Corrected an internal SQLite data structure to avoid compile time warnings
Changed method wxSQLite3Exception::ErrorCodeAsString to return the error messages provided by SQLite
Upgrade to SQLite version 3.7.14.1
Cleaned up and optimized Finalize methods
Modified wxSQLite3Database::Close to avoid potential memory leaks
Added method wxSQLite3Database::GetWrapperVersion
Added method wxSQLite3Database::IsReadOnly
Added method wxSQLite3Statement::BindUnixDateTime
Added method wxSQLite3ResultSet::GetUnixDateTime
Added method wxSQLite3ResultSet::GetAutomaticDateTime
Fixed a potential memory leak in method wxSQLite3Database::ExecuteUpdate
Added a wxsqlite3.pc file on request of the Fedora Project developers
Replaced assert by wxASSERT in wxSQLite3Transaction constructor
Upgrade to SQLite version 3.7.10
Added method wxSQLite3Database::Vacuum
Added method wxSQLite3Database::GetDatabaseFilename
Added method wxSQLite3Database::ReleaseMemory
Added method wxSQLite3ResultSet::CursorMoved
Added method wxSQLite3Statement::IsBusy
Fixed a bug in method operator= of wxSQLite3StringCollection causing an endless recursion on assignment
Dropped the concept of SQLite3 pointer ownership in favor of reference counted pointers allowing much more flexible use of wxSQLite3 classes
Modified SQLite3 encryption extension (defining int64 datatype for SHA2 algorithm)
Dropped dbadmin sample from build files
Added Premake support for SQLite3 library with encryption support and for wxSQLite3 (experimental)
Corrected default behavior for attached databases in case of an encrypted main database. (Now the attached database uses the same encryption key as the main database if no explicit key is given. Previously the attached database remained unencrypted.)
Added an optional progress callback for methods Backup and Restore
Added method SetBackupRestorePageCount to set the number of pages to be copied in one cycle of the backup/restore process
Upgrade to SQLite version 3.7.7.1
Modified wxSQLite3Transaction to make it exception safe
Upgrade to SQLite version 3.7.6.1
Added convenience method wxSQLite3Statement::ExecuteScalar
Changed write-ahead log checkpoint method to new version (v2)
Upgrade to SQLite version 3.7.5
Added wxSQLite+, a database administration application written by Fred Cailleau-Lepetit, as a GUI sample for wxSQLite3. Minor adjustments were applied to make wxSQLite+ compatible with wxWidgets 2.9.x. Please note that wxSQLite+ is under GPL license.
Upgrade to SQLite version 3.7.4
Added support for rebinding a BLOB object to a new row
Added support for determining if an SQL statement writes the database
Upgrade to SQLite version 3.7.3
Added parameter transferStatementOwnership to method wxSQLite3Statement::ExecuteQuery to allow using the returned result set beyond the life time of the wxSQLite3Statement instance
Eliminated the use of sqlite3_mprintf which caused linker problems when loading SQLite dynamically
Upgrade to SQLite version 3.7.0
Fixed a bug in class wxSQLite3ResultSet
Added support for SQLite's write-ahead log journal mode
Added support for named collections (see class wxSQLite3NamedCollection)
Changed UTF-8 string handling to use methods To/FromUTF8 of the wxString class (requires wxWidgets 2.8.4 or higher)
Compatible with wxWidgets 2.9.1
Upgrade to SQLite version 3.6.23
Fixed a bug when compiling for dynamic loading of SQLite
Added static methods for accessing the run-time library compilation options diagnostics
Added mathod FormatV to class wxSQLite3StatementBuffer
Upgrade to SQLite version 3.6.22
Fixed a bug when compiling without pre-compiled header support (by including wx/arrstr.h)
Upgrade to SQLite version 3.6.20
Added methods to query, enable or disable foreign key support
Upgrade to SQLite version 3.6.18
Added method to get the SQLite library source id
Added flags parameter to wxSQLite3Database::Open to allow additional control over the database connection (see http://www.sqlite.org/c3ref/open.html for further information)
Fixed a potential memory leak in wxSQLite3Statement class
Converted encryption extension from C++ to pure C to make it compatible with the SQLite amalgamation.
Upgrade to SQLite version 3.6.11
Added user defined function class for REGEXP operator.
Added support for SQLite backup/restore API, introduced with SQLite 3.6.11
Upgrade to SQLite version 3.6.10
Added support for savepoints, introduced with SQLite 3.6.8
Added method IsOk to the classes wxSQLite3Statement, wxSQLite3Table and wxSQLite3ResultSet, thus instances of these classes can be checked whether the associated SQLite database or statement are valid without throwing an exception.
Upgrade to SQLite version 3.6.7
Fixed a bug in method wxSQLite3Table::GetDouble (conversion from string to double failed in non-US locales)
Build system upgraded using Bakefile 0.2.5
Upgrade to SQLite version 3.6.6
Added RAII transaction class (see docs for details)
Upgrade to SQLite version 3.6.2
Introduced own step counting for aggregate user functions since the sqlite3_aggregate_count function is now deprecated
Enhanced wxSQLite3Database::TableExists method to query an attached database for existence of a table or to query the main database and all attached databases
Upgrade to SQLite version 3.6.0
The optional key based encryption support has been adapted to support SQLite version 3.6.0.
Added static methods to initialize and shutdown the SQLite library.
Changed build system to support static library build against shared wxWidgets build on Linux.
Changed behaviour of wxSQLite3Database::Close method to finalize all not-finalized prepared statements.
Upgrade to SQLite version 3.5.9
Integration of the optional key based encryption support into SQLite has been made easier. Changes to original SQLite source files are no longer necessary.
Upgrade to SQLite version 3.5.8
Added support for accessing database limits
Changed method TableExists to check a table name case insensitive
Fixed several minor issues in the build files.
Added support for shared cache mode
Added support for access to original SQL statement for prepared statements (requires SQLite 3.5.3 or above)
Upgrade to SQLite version 3.5.4
Fixed a bug in wxSQLite3Database::Begin (wrong transaction type)
Fixed a bug in in wxSQLite3Database::Close (resetting flag m_isEncrypted)
Eliminated several compile time warnings (regarding unused parameters)
Fixed a compile time bug in wxSQLite3Database::GetBlob (missing explicit type cast)
Upgrade to SQLite version 3.5.2
Support for SQLite incremental BLOBs
Changed source code in the SQLite3 encryption extension to eliminate several warnings
Changed default wxWidgets version to 2.8.x
Adjusted sources for SQLite encryption support are included for all SQLite version from 3.3.1 up to 3.5.2
SQLite link libraries for MinGW on Windows are included
Added WXMAKINGLIB_WXSQLITE3
compile time option to support building wxSQLite3 as a static library while using the shared libraries of wxWidgets.
Upgrade to SQLite version 3.3.17
Fixed a bug in the SQLite3 encryption extension (MD5 algorithm was not aware of endianess on big-endian platforms, resulting in non-portable database files)
Upgrade to SQLite version 3.3.12
Support for loadable extensions is now optional Check for optional wxSQLite3 features at runtime wxSQLite3 API independent of optional features
Fixed a bug in the key based database encryption feature (The call to sqlite3_rekey in wxSQLite3Database::ReKey could cause a program crash, when used to encrypt a previously unencrypted database.)
Upgrade to SQLite version 3.3.10 (Attention: at least SQLite version 3.3.9 is required)
Added support for BLOBs as wxMemoryBuffer objects
Added support for loadable extensions
Optional support for key based database encryption
Added support for user defined collation sequences
Upgrade to SQLite version 3.3.6
Added support for optional SQLite meta data methods
Fixed a bug in wxSQLite3Database::Prepare
Added wxSQLite3Database::IsOpen for convenience
Upgrade to SQLite version 3.3.4 (wxMSW only)
Upgrade to SQLite version 3.3.3
Added support for commit, rollback and update callbacks
Optimized code for wxString arguments
Fixed a bug in wxSQLite3Database::TableExists,
Changed the handling of Unicode string conversion,
Added support for different transaction types
Optionally load the SQLite library dynamically at run time.
Corrected wxSQLite3ResultSet::GetInt64.
Added wxSQLite3Table::GetInt64
Added wxGTK build support
Corrected error in wxSQLite3Table::FindColumnIndex
Upgrade to SQLite version 3.2.7
Kudos to Fred Cailleau-Lepetit for developing wxSQLite+ as a sample demonstrating the wxWidgets components wxAUI and wxSQLite3 and for allowing it to be included in the wxSQLite3 distribution.
The following people have contributed to wxSQLite3: