aboutsummaryrefslogtreecommitdiff
path: root/common
AgeCommit message (Collapse)AuthorFilesLines
2012-10-19Initial support for prepared queriesBoris Kolpackov5-0/+217
2012-10-08Ground work for multi-database supportBoris Kolpackov1-3/+3
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-10-08Fix bug in transient inheritance handlingBoris Kolpackov24-60/+316
Also test that we can handle it for objects, composite values, and views.
2012-10-08More query result size() fixesBoris Kolpackov1-1/+12
2012-09-28Make sure size() can still be called once we reached the end of result setBoris Kolpackov2-0/+46
2012-09-18Use more portable regex separator2.1.0Boris Kolpackov1-2/+2
In particular, if we use / as in "/foo/bar/", MinGW will replace the leading / with a Windows path. So we use # instead, which seems to work well everywhere.
2012-09-17Remove unused local typedefs (GCC 4.8 warning)Boris Kolpackov4-21/+1
2012-09-17Use type name directly instead of typedef'ing aliasBoris Kolpackov1-2/+1
2012-09-16Add support for Visual Studio 2012Boris Kolpackov42-39/+349
2012-09-14Fix dist targetBoris Kolpackov1-0/+1
2012-09-11Add support for mapping std::array to BLOB and char[16] to UUID typesBoris Kolpackov2-8/+34
2012-09-06Rename id() to no_idBoris Kolpackov1-1/+1
2012-09-06Split polymorphism test.hxx to multiple filesBoris Kolpackov16-1061/+1232
2012-08-31Test handling multi-member composite object id using virtual data memberBoris Kolpackov2-1/+59
2012-08-31Add support for virtual data membersBoris Kolpackov5-0/+381
New test: common/virtual.
2012-08-16Add support for automatically discovering accessor/modifier functionsBoris Kolpackov3-7/+142
New options: --{accessor,modifier}-regex, --{accessor,modifier}-regex-trace.
2012-08-15Add support for member accessors/modifiersBoris Kolpackov6-5/+851
New pragmas: get, set, access. New test: common/access.
2012-08-01Add support for empty column names in composite value typesBoris Kolpackov2-98/+161
2012-07-31Add support for changing location that ODB views as class definitionBoris Kolpackov6-0/+218
This is useful for making third-party/system types into ODB composite value types. New pragma: definition. New test: common/definition.
2012-07-27Restore exception handlingBoris Kolpackov1-5/+0
2012-07-25Add support for defining indexesBoris Kolpackov5-0/+300
New db pragma qualifier: index. New tests: common/index, mysql/index, pgsql/index.
2012-07-17Add support for tests with multiple ODB headersBoris Kolpackov6-44/+62
2012-07-17Disable foreign keys for MySQL and SQLite while creating schemaBoris Kolpackov1-1/+21
2012-07-16Fix code generation for circularly-dependant classes in separate headersBoris Kolpackov10-0/+396
New tests: common/circular/{single,multiple}.
2012-04-29Factor TR1/C++11 shared_ptr test into separate object2.0.0Boris Kolpackov2-53/+70
The current approach causes problems with foreign key constraints during table dropping.
2012-04-27Support for NULL value semantics for composite valuesBoris Kolpackov2-0/+128
2012-04-27Add support for NULL pointers to objects with composite object idsBoris Kolpackov2-1/+124
2012-04-26Add test for readonly object with auto idBoris Kolpackov2-1/+39
2012-04-26Add database::reset()Boris Kolpackov2-0/+15
2012-04-26Make session optionalBoris Kolpackov15-15/+14
2012-04-25Fix auto id handling in polymorphic objectsBoris Kolpackov2-1/+98
2012-04-23Assign table prefix to namespace instead of to each classBoris Kolpackov1-9/+16
2012-04-23Polymorphic inheritance supportBoris Kolpackov13-23/+3052
2012-03-07Use RAII to free select statement resultsBoris Kolpackov3-9/+42
2012-03-06Add missing test to top-level makefileBoris Kolpackov1-0/+1
2012-03-06Detect situations where session is required but not usedBoris Kolpackov4-0/+262
Throw session_required.
2012-03-02Workaround for VC10 unordered container ordering bug/peculiarityBoris Kolpackov1-4/+4
2012-03-02C++11 support in automake and VC++ projects, portability fixesBoris Kolpackov4-6/+11
2012-03-01Make sure we have same container members in all configurationsBoris Kolpackov2-0/+23
2012-02-29Support for C++11 containers (array, forward_list, unordered)Boris Kolpackov2-2/+299
2012-02-29Support for C++11 std::unique_ptr and std::shared_ptr as wrappersBoris Kolpackov2-28/+56
2012-02-29Support for C++11 std::unique_ptr as object pointerBoris Kolpackov4-85/+156
This includes the odb::lazy_unique_ptr implementation.
2012-02-28Test std::shared_ptr in C++11 mode and std::tr1::shared_ptr in C++98 modeBoris Kolpackov8-251/+327
2012-02-24C++11 support (pass --std ODB compiler option in build makefiles)Boris Kolpackov30-1/+150
2012-02-24C++11 support (initial infrastructure)Boris Kolpackov1-0/+1
2012-02-22Add support for composite object idsBoris Kolpackov5-0/+1160
New pragma id_type (member). New test: common/composite-id. The composite example has also been updated.
2012-02-22Resolve C++11 ambiguityBoris Kolpackov1-0/+1
2012-01-29Update copyright yearBoris Kolpackov103-103/+103
2012-01-29Remove author field from file headerBoris Kolpackov103-103/+0
Too much effort to maintain.
2012-01-26Implement support for database schemaBoris Kolpackov4-8/+156
New pragma qualifier: namespace. New pragma specifier: schema. The table specifier was extended to accept a schema prefix. New option: --default- schema. The common/schema test was extended to cover the new functionality.