System.Data.SQLite

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

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

History for System.Data.SQLite/SQLiteModuleBase.cs

2013-06-21
07:21
Renamed to System.Data.SQLite/SQLiteModule.cs. Rename the SQLiteModuleBase class to SQLiteModule. check-in: [f0ccb3cd64] user: mistachkin branch: virtualTables, size: 0
07:15
Move string related marshalling methods to the new SQLiteString static class. file: [94b0569326] check-in: [0d7f2bfcca] user: mistachkin branch: virtualTables, size: 107846
07:06
Add LogErrors and LogExceptions properties to the SQLiteModuleBase class. Allow the ISQLiteNativeModule implementation of the SQLiteModuleBase class to be overridden; however, remove it as a formal interface. file: [25108b811c] check-in: [deb17e28f2] user: mistachkin branch: virtualTables, size: 107676
06:33
Always attempt to log virtual table errors. file: [ef14329bdb] check-in: [b5a342952a] user: mistachkin branch: virtualTables, size: 102826
06:27
Fix disposal semantics for classes derived from the SQLiteModuleBase class. Use the String.Format method consistently. Enable virtual table related native memory allocation tracking on the .NET Compact Framework. file: [b90efaa2af] check-in: [f9041807b3] user: mistachkin branch: virtualTables, size: 102502
06:06
Modularize various aspects of the virtual table handling in the example SQLiteVirtualTableCursorEnumerable class. file: [e8ea2e9f82] check-in: [5033bacee1] user: mistachkin branch: virtualTables, size: 101075
05:39
Move the native memory allocation wrapper methods into the new SQLiteMemory class. file: [f69e4fd4cf] check-in: [c16bb56cfd] user: mistachkin branch: virtualTables, size: 100605
05:14
Fix memory leak in the SQLiteModuleBase class. Add support for optionally tracking memory usage of the SQLiteMarshal class. Make sure sqlite3_*_interop() functions are only used when SQLITE_STANDARD is not defined. file: [660b09ef1f] check-in: [4aab5f9721] user: mistachkin branch: virtualTables, size: 100684
03:11
Major cleanup and refactoring of the ISQLiteManagedModule interface. Fix a small memory leak in DeclareVirtualTable. Add the ability to persist SQLiteValue values beyond the duration of the method call in progress. Add SQLiteVirtualTable base class. Update SQLiteVirtualTableCursor base class to be IDisposable and to support storing the filtering parameters. Make parameter naming in the ISQLiteManagedModule interface consistent with other managed code. Add SQLiteVirtualTable parameter to the ISQLiteManagedModule interface methods where necessary. Remove incorrect SQLiteIndex object creation from the IndexToIntPtr method. Keep track of all managed table and cursor object instances associated with their native pointers. Zero out the native sqlite3_vtab object right after allocation. Correct declarations for the sqlite3_vtab and sqlite3_vtab_cursor structures. Add SQLiteModuleEnumerable and SQLiteVirtualTableCursorEnumerable classes to allow an IEnumerable to provide the data for a virtual table. file: [2e713e593e] check-in: [d3ac8fc2c3] user: mistachkin branch: virtualTables, size: 98780
2013-06-20
03:08
Fix handling of copied connection handles when calling Create and Connect virtual methods. Get initial test passing. file: [e3644cc61a] check-in: [e1bef414b7] user: mistachkin branch: virtualTables, size: 76155
2013-06-19
07:02
Pickup SQLite core library with disposable vtable support from upstream. More work on integration of the SQLiteModuleBase class. Add initial tests. file: [ccd6b35041] check-in: [15b1d1d825] user: mistachkin branch: virtualTables, size: 75827
2013-06-18
21:15
Move marshalling utility methods into the internal SQLiteMarshal class. file: [be1ce847af] check-in: [89613e2645] user: mistachkin branch: virtualTables, size: 74996
20:39
Fix xCreate and xConnect delegate signatures. Finish marshalling of the sqlite3_index_info structure. file: [ffe5f5a318] check-in: [7461bf423f] user: mistachkin branch: virtualTables, size: 73992
06:12
Fix compilation errors for the .NET Compact Framework build. file: [27e49cef2d] check-in: [e64388aacd] user: mistachkin branch: virtualTables, size: 57980
06:07
More work on input/output marshalling for the sqlite3_index_info structure. Also, refactoring to allow better portability to the .NET Compact Framework. file: [c263f11c43] check-in: [ea5335378e] user: mistachkin branch: virtualTables, size: 57979
2013-06-15
02:46
More work in progress. file: [6e18eece9e] check-in: [8a682d20dc] user: mistachkin branch: virtualTables, size: 54703
2013-06-13
22:49
Complete most of the initial virtual table module base class. Some fixes to types for marshalling. file: [54829e84ba] check-in: [df6776ec88] user: mistachkin branch: virtualTables, size: 50980
2013-06-12
21:43
Adjust how the index related input/output structures are represented. file: [9a7d958d25] check-in: [978cda574b] user: mistachkin branch: virtualTables, size: 45130
2013-06-08
02:36
Reorganize native interop definitions into the UnsafeNativeMethods class. Enable compilation for the .NET Compact Framework. file: [c431ef1161] check-in: [2a9118d124] user: mistachkin branch: virtualTables, size: 44353
2013-06-07
21:23
Implement the xFilter virtual table method. More cleanup. file: [e6bf1ca6fd] check-in: [08eaed4731] user: mistachkin branch: virtualTables, size: 52205
19:14
Implement the SQLiteContext helper class. file: [8227db055f] check-in: [95425066e0] user: mistachkin branch: virtualTables, size: 50956
08:50
Minor adjustments to previous commit. file: [30d0a60138] check-in: [a900416795] user: mistachkin branch: virtualTables, size: 46039
08:32
Some cleanup work. Implement the SQLiteValue helper class. file: [a6aa82cc65] check-in: [33b2470a68] user: mistachkin branch: virtualTables, size: 45621
02:45
Rename the SQLiteModule class to SQLiteModuleNoop. Adjustments to method and parameter naming conventions. Initial implementation of xOpen virtual table method. file: [b0fe2860b7] check-in: [f5c3afbfb1] user: mistachkin branch: virtualTables, size: 43806
00:56
Implement the xDisconnect and xDestroy virtual table methods. file: [064811e28b] check-in: [f19e7df898] user: mistachkin branch: virtualTables, size: 39356
00:28
Keep track of whether the DeclareVirtualTable method has been called by a virtual table module. file: [da7ab4f6d5] check-in: [091ead1daf] user: mistachkin branch: virtualTables, size: 37341
00:04
Add initial marshalling infrastructure and start implementing the xCreate and xConnect virtual table methods. file: [a13b8ce6e5] check-in: [bf5505be7a] user: mistachkin branch: virtualTables, size: 36942
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: [89c759f4fb] check-in: [b6c0bcadb3] user: mistachkin branch: virtualTables, size: 30306
2013-06-03
01:57
Added: Initial phase of experimental support for implementing virtual tables in managed code. No docs, no tests, does not work yet, and may not even compile. file: [191540459d] check-in: [273b0c601f] user: mistachkin branch: virtualTables, size: 26677