Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2013-02-05 | Add support for change-tracking containers | Boris Kolpackov | 5 | -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-25 | By default map std::array<char, N> to string instead of binary | Boris Kolpackov | 1 | -6/+8 | |
2013-01-24 | Add support for mapping char[N] to CHAR/VARCHAR database types | Boris Kolpackov | 4 | -121/+569 | |
Also improve query support for arrays (decaying). | |||||
2013-01-17 | Add database id constant (useful for meta-programming) | Boris Kolpackov | 1 | -0/+5 | |
2013-01-16 | Make session cache management functions static, add notifications | Boris Kolpackov | 2 | -2/+2 | |
2013-01-16 | Implement two-phase session insertion | Boris Kolpackov | 2 | -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-15 | Bump version to 2.2.0.a3 | Boris Kolpackov | 2 | -4/+4 | |
2013-01-15 | Check that max connections is greater or equal than min in connection pool | Boris Kolpackov | 1 | -1/+4 | |
2012-12-12 | Bump version to 2.2.0.a22.2.0.a2 | Boris Kolpackov | 2 | -4/+4 | |
2012-12-03 | Add support for executing common query using static interface | Boris Kolpackov | 4 | -17/+69 | |
2012-11-29 | Namespace management for static multi-database support | Boris Kolpackov | 5 | -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-21 | Add dynamic multi-database query support | Boris Kolpackov | 9 | -34/+297 | |
2012-10-29 | Don't use boolean as identifier2.2.0.a1 | Boris Kolpackov | 2 | -19/+20 | |
Some headers/systems defined it as a macro. | |||||
2012-10-29 | Bump version to 2.2.0.a1 | Boris Kolpackov | 2 | -4/+4 | |
2012-10-19 | Get rid of result_impl_base | Boris Kolpackov | 11 | -88/+45 | |
2012-10-19 | Implement early connection release | Boris Kolpackov | 20 | -150/+148 | |
2012-10-19 | Completion of prepared query support | Boris Kolpackov | 23 | -50/+154 | |
2012-10-19 | Update prepared statement code for multi-database support | Boris Kolpackov | 1 | -1/+1 | |
2012-10-19 | Initial support for prepared queries | Boris Kolpackov | 6 | -44/+111 | |
2012-10-08 | Ground work for multi-database support | Boris Kolpackov | 25 | -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-20 | More older SQLite compatibility fixes | Boris Kolpackov | 1 | -2/+2 | |
2012-09-19 | Make sure we support older versions of SQLite (3.5.3 and up) | Boris Kolpackov | 5 | -10/+58 | |
2012-09-16 | Add support for Visual Studio 20122.1.0 | Boris Kolpackov | 10 | -4/+454 | |
2012-09-14 | Remove stray template specialization | Boris Kolpackov | 1 | -1/+0 | |
2012-09-14 | Indicate value cannot be NULL when initializing query parameter image | Boris Kolpackov | 1 | -8/+8 | |
2012-09-14 | Bump version to 2.1.0 | Boris Kolpackov | 2 | -4/+4 | |
2012-09-11 | Add support for mapping std::array to BLOB and char[16] to UUID types | Boris Kolpackov | 1 | -19/+131 | |
2012-09-10 | Add support for alternative UTF-16 image for TEXT in SQLite | Boris Kolpackov | 5 | -21/+172 | |
Use it to handle QString and support std::wstring on Windows. | |||||
2012-09-10 | Rearrange data/size calls as recommended by SQLite documentation | Boris Kolpackov | 1 | -4/+8 | |
2012-09-07 | Add support for passing database name as std::wstring on Windows | Boris Kolpackov | 2 | -0/+72 | |
2012-09-06 | Add ability to specify SQLite vfs module in database constructor | Boris Kolpackov | 3 | -2/+18 | |
2012-07-27 | Bump version to 2.1.0.a22.1.0.a2 | Boris Kolpackov | 2 | -4/+4 | |
2012-07-18 | Convert NULLs to NaNs in SQLite for float and double | Boris Kolpackov | 1 | -0/+40 | |
This makes it consistent with SQLite behavior which converts NaNs to NULLs. | |||||
2012-07-17 | Get rid of warning2.1.0.a1 | Boris Kolpackov | 1 | -1/+1 | |
2012-07-17 | Bump version to 2.1.0.a1 | Boris Kolpackov | 2 | -4/+4 | |
2012-07-16 | Simplify query inheritance hierarchy | Boris Kolpackov | 1 | -8/+9 | |
This should also allow Sun CC handle queries for objects with circular dependencies. | |||||
2012-07-10 | Add support for custom database type mapping | Boris Kolpackov | 5 | -44/+138 | |
New pragma qualifier, map, and specifiers: as, to, from. New tests: <database>/custom. | |||||
2012-06-18 | Bump version to 2.0.12.0.1 | Boris Kolpackov | 2 | -3/+3 | |
2012-06-18 | Allocate container traits lazily and only when their definition is seen | Boris Kolpackov | 4 | -6/+58 | |
This fixes a problem with polymorphic hierarchies spread over multiple files in which case the source code for the derived class does not have the definition of the container traits for the base class. See the comment in the source code for further details. | |||||
2012-05-04 | Add -D_REENTRANT when building on Linux to emulate -pthread | Boris Kolpackov | 1 | -1/+3 | |
2012-04-29 | Bump version to 2.0.02.0.0 | Boris Kolpackov | 2 | -4/+4 | |
2012-04-29 | Make transaction_impl sanity check optional, use assert | Boris Kolpackov | 1 | -1/+3 | |
2012-04-26 | Replace remaining std::auto_ptr uses with odb::details::unique_ptr | Boris Kolpackov | 1 | -3/+3 | |
GCC in C++11 mode issues a deprecation warning for std::auto_ptr. | |||||
2012-04-26 | Make session optional | Boris Kolpackov | 3 | -10/+8 | |
2012-04-23 | Polymorphic inheritance support | Boris Kolpackov | 22 | -426/+1472 | |
2012-03-07 | Use RAII to free select statement results | Boris Kolpackov | 3 | -0/+28 | |
2012-03-02 | Bump version to 1.9.0.a1 | Boris Kolpackov | 2 | -4/+4 | |
2012-03-02 | Reimplement C++11 support to be header-only | Boris Kolpackov | 2 | -9/+4 | |
This way, the same build of the runtime libraries can be used in both C++98 and C++11 modes. This is important for when runtimes are installed or packaged. | |||||
2012-03-02 | Fix array subscript overflow | Boris Kolpackov | 1 | -1/+3 | |
2012-03-01 | Add support for using C++11 std::unique_ptr to pass connection factory | Boris Kolpackov | 2 | -9/+20 | |