aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2013-07-08Add support for Visual Studio 2005Boris Kolpackov8-5/+772
2013-05-17Fix invalid export macroBoris Kolpackov1-1/+1
2013-04-25Add support for schema version tableBoris Kolpackov2-1/+99
2013-04-25Add default constructor, finalized() accessor to transactionBoris Kolpackov2-3/+11
2013-03-18Add separate exception for SQLite forced rollbacksBoris Kolpackov3-6/+36
2013-02-21Add support for pattern matching (SQL LIKE)Boris Kolpackov3-0/+108
2013-02-13Suppress warning in empty for-loop2.2.0Boris Kolpackov1-2/+2
2013-02-12Factor windows.h inclusion into separate header, disable min/max macrosBoris Kolpackov1-4/+1
2013-02-12Qualify vector to work around Sun CC bugsBoris Kolpackov1-2/+6
2013-02-11Support compilers that deduce const arrays to const reference differentlyBoris Kolpackov1-0/+35
2013-02-11Detect POSIX threads on MinGW-W64Boris Kolpackov1-1/+10
2013-02-09Bump version to 2.2.0Boris Kolpackov2-4/+4
2013-02-09Update copyright yearBoris Kolpackov101-101/+101
2013-02-09Escape m4 macroBoris Kolpackov1-1/+1
2013-02-06Add call to AM_PROG_AR which is required by newer automakeBoris Kolpackov1-0/+1
Thanks to Hugo Mildenberger <Hugo.Mildenberger@web.de> for the patch.
2013-02-06Fix incorrect AC_LANG_SOURCE quotingBoris Kolpackov3-12/+12
Thanks to Hugo Mildenberger <Hugo.Mildenberger@web.de> for the patch.
2013-02-05Add support for change-tracking containersBoris Kolpackov5-146/+250
ODB now supports "smart" ordered containers. Such containers get extra functions for updating and deleting individual elements. Based on this functionality implement two change-tracking containers: odb::vector (equivalent to std::vector) and QOdbList (equivalent to QList). New tests: common/container/change-tracking and qt/common/container/change- tracking.
2013-01-25By default map std::array<char, N> to string instead of binaryBoris Kolpackov1-6/+8
2013-01-24Add support for mapping char[N] to CHAR/VARCHAR database typesBoris Kolpackov4-121/+569
Also improve query support for arrays (decaying).
2013-01-17Add database id constant (useful for meta-programming)Boris Kolpackov1-0/+5
2013-01-16Make session cache management functions static, add notificationsBoris Kolpackov2-2/+2
2013-01-16Implement two-phase session insertionBoris Kolpackov2-7/+5
On the first step an uninitialized object is inserted into the cache as before (this is necessary to handle recursive loading). The second step is to notify the session that the object has been initialized. On this second step the session can perform change tracking preparations, such as make a copy of the object or reset the modification flag. New test: common/session/custom (implements a custom session that uses copies to track changes).
2013-01-15Bump version to 2.2.0.a3Boris Kolpackov2-4/+4
2013-01-15Check that max connections is greater or equal than min in connection poolBoris Kolpackov1-1/+4
2012-12-12Bump version to 2.2.0.a22.2.0.a2Boris Kolpackov2-4/+4
2012-12-03Add support for executing common query using static interfaceBoris Kolpackov4-17/+69
2012-11-29Namespace management for static multi-database supportBoris Kolpackov5-2/+29
Now in libodb the odb::core namespace is split into odb::common (database- independent stuff) and odb::core proper, which imports odb::common. Each database runtime now defines odb::<db>::core namespace which also imports odb::common and adds the database-specific bits. The overall idea is that one can do using namespace odb::<db>::core just like for odb::core.
2012-11-21Add dynamic multi-database query supportBoris Kolpackov9-34/+297
2012-10-29Don't use boolean as identifier2.2.0.a1Boris Kolpackov2-19/+20
Some headers/systems defined it as a macro.
2012-10-29Bump version to 2.2.0.a1Boris Kolpackov2-4/+4
2012-10-19Get rid of result_impl_baseBoris Kolpackov11-88/+45
2012-10-19Implement early connection releaseBoris Kolpackov20-150/+148
2012-10-19Completion of prepared query supportBoris Kolpackov23-50/+154
2012-10-19Update prepared statement code for multi-database supportBoris Kolpackov1-1/+1
2012-10-19Initial support for prepared queriesBoris Kolpackov6-44/+111
2012-10-08Ground work for multi-database supportBoris Kolpackov25-261/+897
All generated code now includes database id. The database-specific database class interface has been updated to include all the database operations. The database-specific tests now use this interface.
2012-09-20More older SQLite compatibility fixesBoris Kolpackov1-2/+2
2012-09-19Make sure we support older versions of SQLite (3.5.3 and up)Boris Kolpackov5-10/+58
2012-09-16Add support for Visual Studio 20122.1.0Boris Kolpackov10-4/+454
2012-09-14Remove stray template specializationBoris Kolpackov1-1/+0
2012-09-14Indicate value cannot be NULL when initializing query parameter imageBoris Kolpackov1-8/+8
2012-09-14Bump version to 2.1.0Boris Kolpackov2-4/+4
2012-09-11Add support for mapping std::array to BLOB and char[16] to UUID typesBoris Kolpackov1-19/+131
2012-09-10Add support for alternative UTF-16 image for TEXT in SQLiteBoris Kolpackov5-21/+172
Use it to handle QString and support std::wstring on Windows.
2012-09-10Rearrange data/size calls as recommended by SQLite documentationBoris Kolpackov1-4/+8
2012-09-07Add support for passing database name as std::wstring on WindowsBoris Kolpackov2-0/+72
2012-09-06Add ability to specify SQLite vfs module in database constructorBoris Kolpackov3-2/+18
2012-07-27Bump version to 2.1.0.a22.1.0.a2Boris Kolpackov2-4/+4
2012-07-18Convert NULLs to NaNs in SQLite for float and doubleBoris Kolpackov1-0/+40
This makes it consistent with SQLite behavior which converts NaNs to NULLs.
2012-07-17Get rid of warning2.1.0.a1Boris Kolpackov1-1/+1