System.Data.SQLite

All files named ”System.Data.SQLite/SQLite3_UTF16.cs”
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

History for System.Data.SQLite/SQLite3_UTF16.cs

2024-12-11
03:32
Add experimental support for the 'Binary' DateTime format. file: [de85e17919] check-in: [fa96f58515] user: mistachkin branch: trunk, size: 15420
2024-06-26
16:26
Add support for the 'SQLite_TraceCategories' environment variable. file: [d82cf4353a] check-in: [37849c1af4] user: mistachkin branch: trunk, size: 15243
2024-05-24
21:20
Ignore disposal status of the connection when checking whether the DisposedConnection / FinalizedConnection event sub-types for the Changed event should be raised. file: [57f2010d85] check-in: [954385b694] user: mistachkin branch: trunk, size: 15183
2024-05-23
23:15
Work-in-progress on addressing forum post 25cafb35e5. file: [8abb75de56] check-in: [6d7348176c] user: mistachkin branch: pst-25cafb35e5, size: 15169
2021-12-08
15:59
Corrections to connection accounting and pool tests. file: [d148482313] check-in: [29a2f3b9ba] user: mistachkin branch: trunk, size: 14981
2021-12-07
02:32
Keep count of the number of calls into the Open and Close methods. file: [6c658f6176] check-in: [1632b701e5] user: mistachkin branch: trunk, size: 14979
2021-12-05
02:07
Revert incorrect Dispose changes from check-in [95d4c93286]. file: [cee6d6830b] check-in: [3e5f903c51] user: mistachkin branch: trunk, size: 14926
2021-12-04
03:12
Initial work on addressing several object lifecycle issues with pooled database connections. file: [d2fb3b28d1] check-in: [95d4c93286] user: mistachkin branch: trunk, size: 14496
2021-10-14
20:48
Fix metadata UTF-16 string length calculations on Linux. Fix for forum post [eeaefb84ec]. file: [c6931140c9] check-in: [6cda6ab5ab] user: mistachkin branch: trunk, size: 14899
2021-10-06
23:40
Another internal enhancement to the connection pool integration. file: [019faf002e] check-in: [29a9603298] user: mistachkin branch: trunk, size: 13989
21:56
Further minor refactoring of the connection pool. file: [76b8d2d98f] check-in: [fe93b5dc98] user: mistachkin branch: trunk, size: 13949
2021-03-05
08:12
Add support for math functions now provided by the SQLite core library. file: [41c6288cd6] check-in: [d9db7c6868] user: mistachkin branch: trunk, size: 13621
2021-02-26
21:33
Simplify use of preprocessor by the SQLiteBase.Open methods. file: [bbf3256c4a] check-in: [a3f5a3c8e0] user: mistachkin branch: trunk, size: 13451
2018-08-27
04:56
Reform how connection flags are checked. file: [acc1c08476] check-in: [c947d6b1fb] user: mistachkin branch: trunk, size: 13597
2017-11-09
08:04
Attempt to invalidate all native delegates from a connection during its disposal. Pursuant to [0e48e80333]. Still needs tests. file: [2787659f60] check-in: [aa99152568] user: mistachkin branch: tkt-0e48e80333, size: 13643
2017-10-10
21:40
Refactor how logging flags and exception handling are performed. file: [79859e8593] check-in: [6fbb8f60e9] user: mistachkin branch: trunk, size: 13642
2016-03-23
23:35
Move some things out of the UnsafeNativeMethods class. There are several reasons: 1) easier to maintain. 2) avoiding static call graph issues with CriticalHandle. 3) better separation of cross-platform and platform-specific code. file: [12ff2a3eda] check-in: [d3e312825a] user: mistachkin branch: trunk, size: 13730
2016-03-09
22:21
Handle empty strings a bit more consistently. file: [c14132c0fd] check-in: [39bca4f8b0] user: mistachkin branch: trunk, size: 13748
2016-03-02
18:32
The 'UnixEpoch' DateTime format should use Int64 internally, not Int32. file: [576fb42e77] check-in: [d28375563e] user: mistachkin branch: trunk, size: 13738
2015-08-12
22:21
Add some workarounds to allow the core managed assembly to work on Mono 4.0. file: [951c1ae9e2] check-in: [e7803b3ae7] user: mistachkin branch: trunk, size: 13724
2015-07-17
02:46
Update Trace.WriteLine calls for consistency. Revise when calls to UnbindFunctions are made. file: [013b71b9d1] check-in: [7c3cad7da2] user: mistachkin branch: trunk, size: 13620
02:01
Add the UnbindFunctionsOnClose connection flag. file: [5548c71a37] check-in: [2a6efe65f7] user: mistachkin branch: trunk, size: 13489
01:08
Add UnbindFunction method to the SQLiteConnection class. file: [1a60db6079] check-in: [187e8cb03d] user: mistachkin branch: trunk, size: 13456
2015-07-16
01:10
Augment the OpenedFromPool OnChanged notification to include the pool version. file: [79cf12c4b2] check-in: [e769f25743] user: mistachkin branch: trunk, size: 13306
00:56
Extend OnChanged notifications to handle basic connection pool integration. file: [46690c32fa] check-in: [b2cffa5974] user: mistachkin branch: trunk, size: 13279
2015-06-03
02:16
Support alternate VFSs when opening a database connection. More work on ZipVFS integration. This is an interim check-in and needs testing. file: [43556f9aa8] check-in: [6bf64f992e] user: mistachkin branch: zipvfs, size: 12923
2014-06-27
04:49
The interop assembly methods should use 'ref' parameters, not 'out' parameters, since the native interop methods are not actually guaranteed to set output parameters to well-defined values. Also, add more parameter validation to the interop assembly, paying special attention to output parameters, especially optional ones. Pursuant to [3b43ffdbd7]. file: [cf6df89bf8] check-in: [26a20dd470] user: mistachkin branch: interopParams, size: 12552
2013-09-04
03:42
Allow monitoring of the creation of all critical handle derived class instances. file: [912c682eb8] check-in: [b194408bb5] user: mistachkin branch: onChanged, size: 12514
2013-08-13
20:47
Check the result of sqlite3_column_name against NULL. Also, return false for the SQLiteParameterCollection.IsSynchronized property because it is not thread-safe. These issues were reported via the mailing list. file: [7ec0326a4a] check-in: [7a1efd7d40] user: mistachkin branch: trunk, size: 12236
2013-07-15
05:16
Modify classes implementing the IDisposable pattern to set the disposed flag after their base classes have been disposed. file: [025f5f7cef] check-in: [db3a299625] user: mistachkin branch: marshalFixes, size: 12053
2013-07-04
19:50
Experimental changes to validate that SQLiteStatement parameters are not disposed. file: [b059c71d94] check-in: [e325dfa45f] user: mistachkin branch: strictStatement, size: 12188
18:49
Rename the new NoFunctions connection flag to NoBindFunctions. file: [b95132607d] check-in: [8e945470fe] user: mistachkin branch: trunk, size: 11952
06:00
Add SQLiteConnection.BindFunction method to facilitate adding custom functions on a per-connection basis. file: [da0a63f97d] check-in: [1fa0ac70f3] user: mistachkin branch: trunk, size: 11944
2013-07-01
18:22
In the SQLiteFunction class, check if the database connection is open prior to attempting to call the Cancel method. Add NoFunctions connection flag to skip binding functions registered in the application domain. Fixes and adjustments to comments. Add several data-types for compatibility purposes. Fix for [fe50b8c2e8]. file: [8a47e1c35b] check-in: [dff9a878dd] user: mistachkin branch: trunk, size: 11767
2013-06-28
06:47
When reading a DateTime value, avoid unnecessary string conversions. Fix for [4d87fbc742]. file: [87888b1e0a] check-in: [e1b4194a30] user: mistachkin branch: trunk, size: 11498
2013-06-26
04:23
Add generic variants of the SQLiteModuleEnumerable and SQLiteVirtualTableCursorEnumerator classes. file: [70679c82a5] check-in: [7da399e402] user: mistachkin branch: trunk, size: 11114
2013-06-24
22:49
The SQLiteValue and SQLiteContext classes should implement the ISQLiteNativeHandle interface. Work in progress on documentation for the virtual tables support classes. file: [6728dc6b52] check-in: [c8d209d5f4] user: mistachkin branch: virtualTables, size: 11114
2013-06-22
01:35
Make the error codes used with the SQLiteException class consistent. Throw an exception if the SQLite3.Open method is called when already open. file: [79d76c27f2] check-in: [7aae5042f8] user: mistachkin branch: virtualTables, size: 9654
00:52
Improve diagnostics for test data-1.1. Fix connection handle leak by removing superfluous _ownHandle fields and add properties instead. file: [4acd78a203] check-in: [0e4ebe697a] user: mistachkin branch: virtualTables, size: 9547
2013-06-20
03:08
Fix handling of copied connection handles when calling Create and Connect virtual methods. Get initial test passing. file: [6c391b1efb] check-in: [e1bef414b7] user: mistachkin branch: virtualTables, size: 9593
2013-06-06
19:36
Support creating a SQLiteConnection instance from a pre-existing native connection handle (i.e. one that cannot be disposed). file: [d1d31d7a2c] check-in: [b6c0bcadb3] user: mistachkin branch: virtualTables, size: 9484
2013-05-30
00:44
Add DateTimeFormatString connection string property to allow the DateTime format string used for all parsing and formatting to be overridden. Disable use of the new connection string parsing algorithm when the No_SQLiteConnectionNewParser environment variable is set. Pursuant to [bbdda6eae2]. file: [ddaec5f610] check-in: [4f933521a1] user: mistachkin branch: trunk, size: 9405
2013-05-29
10:21
Seal various internal classes that are never derived from. file: [7ca957591c] check-in: [e8abe75ff5] user: mistachkin branch: trunk, size: 9376
2013-03-06
22:14
Preliminary changes to fix ticket [3567020edf]. Missing tests. file: [221b6c6e36] check-in: [bea6b5d82d] user: mistachkin branch: tkt-3567020edf, size: 9369
2012-10-12
04:23
Add experimental protection against leaking native resources when the Thread.Abort method is used. These changes may not be included in any official release. file: [81e94b3833] check-in: [e553cea4a0] user: mistachkin branch: threadAbortProtect, size: 9001
2012-09-20
11:53
Allow opened connections to skip adding the extension functions included in the interop assembly. Support loading of SQLite extensions. Add more notifications that use the new static Changed event. Miscellaneous comment cleanup. Cleanup usage of compile-time options for the .NET Framework version. Fix argument checking for the batch file tools. file: [ca85328d0d] check-in: [5759e099be] user: mistachkin branch: trunk, size: 8788
2012-09-11
08:05
Refactor core SQLite library return code handling to make use of the enumerated SQLiteErrorCode type. Initial work on supporting the sqlite3_errstr() API. file: [259b0cc04e] check-in: [a6c16dc93b] user: mistachkin branch: trunk, size: 8275
2012-07-22
06:54
Remove all superfluous UTF-8 byte-order-marks. file: [427631641e] check-in: [2c82e6c1a3] user: mistachkin branch: trunk, size: 8203
2012-07-16
04:58
Add define constants to support enabling or disabling individual groups of trace statements. Remove superfluous cast from the call to the sqlite3_config_none P/Invoke method. Make sure to remove any stale database from previous stress test runs. Stop leaking callbacks from the stress test. file: [af90f92734] check-in: [1164a207ef] user: mistachkin branch: trunk, size: 8206
2012-05-03
15:58
Fix yet another set of GC race conditions. file: [d3720fa24b] check-in: [8c76674915] user: mistachkin branch: trunk, size: 8159
13:04
Stop creating the CriticalHandle derived classes via implicit operator conversions. Simplify test case for ticket [996d13cd87]. file: [0d83126c90] check-in: [29b506224a] user: mistachkin branch: trunk, size: 8132
06:35
Experimental code to use SafeHandle instead of CriticalHandle for connection handles because they should not be closed until their statements and backup objects are all finalized. file: [4c69ce1a79] check-in: [cb270f5cd8] user: mistachkin branch: safeHandle, size: 8126
2012-05-02
18:38
Merge all connection pool fixes and other changes to trunk. Fix for ticket [996d13cd87]. file: [d6d2fd3d60] check-in: [ae1f4354e4] user: mistachkin branch: trunk, size: 8023
2012-04-30
17:54
Rename internal SQLiteLastError methods to GetLastError. file: [d3e57c7247] check-in: [5ee7dd00e0] user: mistachkin branch: tkt-996d13cd87, size: 8000
2012-04-28
12:22
Add missing call to SetTimeout. file: [4565a159b2] check-in: [33696a56cc] user: mistachkin branch: trunk, size: 8026
08:57
Enhance diagnostics for dealing with handle disposal issues when the connection pool is in use. file: [f9f9ebbd5b] check-in: [e0dc37c779] user: mistachkin branch: trunk, size: 8003
2012-02-24
15:41
Add Visual Studio 2005 support to all the applicable solution/project files, their associated supporting files, and the test suite. file: [068ebf772e] check-in: [a594f67d47] user: mistachkin branch: trunk, size: 7862
2012-02-22
05:39
Fix typo in reference to the openFlags parameter of the SQLite3_UTF16.Open method. file: [ce9f1adc9f] check-in: [b3d26cefe0] user: mistachkin branch: trunk, size: 7843
2012-02-19
08:11
Make sure that exceptions are never thrown back to native code from user-provided function and collation implementations. Also, log all such caught callback exceptions if the appropriate connection flag is set. Fix for ticket [8a426d12eb]. Pass connection flags into SQLiteFunction binding method and refactor internal interfaces to support this. Change type of _contextDataList (SQLiteFunction) dictionary keys from long to IntPtr. file: [1e6a25c474] check-in: [6136a92dc5] user: mistachkin branch: logBind, size: 7949
03:49
Add the ability to log all parameter binding activity and refactor the necessary internal interfaces to support this. In the implicit conversion operators to IntPtr for both the SQLiteConnectionHandle and SQLiteStatementHandle classes, return IntPtr.Zero if the object being converted is null. Make sure the SQLiteLog class is not referenced when building for Windows CE. file: [240d045a49] check-in: [20e1e255b6] user: mistachkin branch: logBind, size: 7882
2011-12-16
03:32
Start of making sure that all core components containing IDisposable objects implement IDisposable and that they follow the established best-practices when doing so. file: [c5beda0306] check-in: [c532a87e4d] user: mistachkin branch: IDisposablePattern, size: 8483
2011-11-14
05:12
Revise and improve diagnostics for opening/closing connections and preparing/finalizing statements. file: [255e804c84] check-in: [40cdd9c8a0] user: mistachkin branch: tkt-e30b820248, size: 7154
2011-10-20
14:04
Compile error fixes for the Compact Framework. Also, switch to using the .NET Framework 4.0 Client Profile where applicable. Fix for ticket [566f1ad1e4]. file: [15cd21a035] check-in: [f2b84d6d25] user: mistachkin branch: trunk, size: 7028
2011-10-09
03:19
Copy the fix for the Bind_DateTime method to the SQLite3_UTF16 class. Add DateTimeKind connection string property to control the DateTimeKind of parsed DateTime values. Add the necessary method overloads to allow the DateTimeFormat and/or DateTimeKind to be specified by external callers. Reorganize the recognized DateTime formats so that ones with more information are always tried first. Also, add variants that support a trailing timezone specifier. Centralize DateTime format handling in the unit test infrastructure via the new getDateTimeFormat procedure. Revise setupDb unit test infrastructure procedure to accept a DateTimeKind. More changes to tests for ticket [343d392b51]. file: [4c504b9fcc] check-in: [df7dcd3166] user: mistachkin branch: tkt-343d392b51, size: 6413
2008-08-06
21:40
1.0.55.0 file: [64cddfb442] check-in: [24425920c8] user: rmsimpson branch: sourceforge, size: 5283
2007-09-25
22:45
1.0.45.0 file: [e36a36d19e] check-in: [5a232b012b] user: rmsimpson branch: sourceforge, size: 4913
2007-07-21
08:46
1.0.44.0 file: [a94262e91c] check-in: [7b0eeb3816] user: rmsimpson branch: sourceforge, size: 4782
2007-04-22
23:23
1.0.41.0 file: [04c95b57b7] check-in: [06c93533ad] user: rmsimpson branch: sourceforge, size: 4795
2006-10-05
21:18
Work in progress file: [793e4ba9e6] check-in: [230b880a4c] user: rmsimpson branch: sourceforge, size: 4932
2006-07-02
06:45
1.0.30.0 file: [7091f0a817] check-in: [c03b78555a] user: rmsimpson branch: sourceforge, size: 5625
2006-05-02
16:06
no message file: [f3b692cdb2] check-in: [4fb971a706] user: rmsimpson branch: sourceforge, size: 6313
2006-04-11
18:02
64-bit fixes file: [1f56aba20a] check-in: [5dea167156] user: rmsimpson branch: sourceforge, size: 6169
2006-02-10
19:44
Lots of schema fixes and support for new 3.3.4 stuff file: [a8196f086a] check-in: [9e6e1cf6df] user: rmsimpson branch: sourceforge, size: 6125
2005-12-07
22:40
Fix over-aggressive preparation of statements before execution file: [efd5cb0609] check-in: [ba2464b7f6] user: rmsimpson branch: sourceforge, size: 5437
2005-11-18
15:37
Modified coersion code to allow more flexibility and fix inherent bugs file: [ac1b1de7d2] check-in: [1f1116559d] user: rmsimpson branch: sourceforge, size: 5439
2005-08-16
19:12
1.0.14 file: [9c4e169099] check-in: [4453746b7a] user: rmsimpson branch: sourceforge, size: 5485
2005-08-06
06:46
UTF-16 bugfixes and performance enhancements file: [2dcfc554b6] check-in: [0b55ce3401] user: rmsimpson branch: sourceforge, size: 5482
2005-08-04
15:25
1.0.12 updates and cleanup file: [0a390ea7ef] check-in: [3ebf811b1e] user: rmsimpson branch: sourceforge, size: 5229
2005-03-01
16:04
Added: Initial revision file: [50b59e51b7] check-in: [ec237b0123] user: rmsimpson branch: sourceforge, size: 5222