aboutsummaryrefslogtreecommitdiff
path: root/odb
AgeCommit message (Collapse)AuthorFilesLines
2014-05-06GCC 4.9.0 runtime compatibility fixesBoris Kolpackov1-5/+5
Whoever figures out why the old version no longer works in 4.9.0 gets a cookie.
2014-05-06More GCC 4.9.0 compatibility fixesBoris Kolpackov1-3/+3
2014-05-05Another fix for database option handlingBoris Kolpackov1-0/+1
2014-05-05GCC 4.9.0 compatibility fixesBoris Kolpackov6-34/+76
2014-05-02Fix misspelled optionBoris Kolpackov1-1/+1
2014-03-04Pass database we are compiling for to plugin explicitly as first argumentBoris Kolpackov1-5/+7
Rather than relying on it being specified in the command line which may not be the case -- the option could be specified in an options file.
2014-03-01Bump version to 2.4.0.a2Boris Kolpackov1-4/+4
2014-03-01Generate pro/epilogues outside pre/post.hxx includesBoris Kolpackov1-22/+22
2014-01-22Only generate inner export macro if we are explicitly instantiatingBoris Kolpackov2-18/+26
2014-01-17Handle query column exporting for composite value typesBoris Kolpackov4-51/+139
A composite value is represented in query_columns as a nested struct. Even though the query_columns template instantiation is exported, VC++ for some reason doesn't appear to also export the nested structs. To work around this, nested structs have to have the export macro in the declaration. But that's not it: we also have to declare the nested structs extern, just like the outer template instantiation itself.
2014-01-17Handle composite values when generating query tags (multi-database)Boris Kolpackov1-1/+1
2013-12-12Bump version to 2.4.0.a1Boris Kolpackov1-4/+4
2013-12-12Diagnose inverse mapsBoris Kolpackov1-0/+9
2013-12-04Fix bug in wrapped type resolutionBoris Kolpackov1-3/+34
2013-12-04Implement on_delete pragma for object pointersBoris Kolpackov8-6/+153
Translates to the ON DELETE SQL clause.
2013-10-21Initialize variable to suppress warning2.3.0Boris Kolpackov1-1/+1
2013-10-19Minor changesBoris Kolpackov1-3/+2
2013-10-19Bump version to 2.3.0Boris Kolpackov1-4/+4
2013-10-15Automatically map C++11 enum classes (strong enums)Boris Kolpackov14-119/+321
2013-10-15Pass --std option through to pluginBoris Kolpackov1-7/+0
2013-10-09Bump version to 2.3.0.b22.3.0.b2Boris Kolpackov1-4/+4
2013-09-28Rework migration API in schema_catalogBoris Kolpackov1-2/+14
Specifically: - Rename latest_version() to current_version(). - Change next_version() to return one past current instead of 0 if passed current. - migrate() will now do schema creation if current database version is 0 (no schema).
2013-09-28Make schema version access (but not modification) thread-safeBoris Kolpackov3-99/+105
Also cache the version in statements so that we don't have to lock the mutex (slow) every time we need to check the version.
2013-09-28Don't ignore empty changesetsBoris Kolpackov1-8/+6
This can be useful, for example, in data-only migrations.
2013-09-17Fix polymorphic section index overrun2.3.0.b1Boris Kolpackov1-8/+19
2013-09-17Bump version to 2.3.0.b1Boris Kolpackov1-4/+4
2013-09-17Add schema name to changelogBoris Kolpackov4-2/+20
2013-09-17Add support for defining composite values inside persistent classes, etcBoris Kolpackov11-120/+314
2013-09-16Implement summary soft-deletion for composite value typesBoris Kolpackov8-68/+279
2013-09-16Diagnose (potentially) empty UPDATE statements with ROWVERSIONBoris Kolpackov3-4/+63
2013-09-16Implement logical column drop for SQLiteBoris Kolpackov2-12/+102
2013-09-15In post-migration do things in reverse orderBoris Kolpackov1-62/+9
2013-09-15Improve diagnostics for hard-deleted containers and objectsBoris Kolpackov1-7/+25
2013-09-15Diagnose change of polymorphic base, table kindBoris Kolpackov4-16/+58
2013-09-15Cleanup polymorphic base tables when dropping derived oneBoris Kolpackov9-19/+196
2013-09-15Use base object instead of root for polymorphic id refsBoris Kolpackov1-11/+18
In particular, this means that the primary key will point to the base table, not root table and we can figure out the inheritance chain based on tables by traversing their foreign keys.
2013-09-15Check version dependencies for polymorphic basesBoris Kolpackov1-4/+8
2013-09-13Validate version dependenciesBoris Kolpackov1-0/+164
2013-09-12Add options to warn about hard additions and deletionsBoris Kolpackov4-43/+209
2013-09-12Make sure that soft-add/delete version is current versionBoris Kolpackov4-28/+202
2013-09-10Schema versioning support for rest of databaseBoris Kolpackov5-44/+165
2013-09-10In SQLite always add column without default value as NULLBoris Kolpackov1-7/+7
2013-09-06Rename flags for clarityBoris Kolpackov3-10/+10
2013-09-05Versioned section supportBoris Kolpackov10-147/+685
2013-09-04View versioning supportBoris Kolpackov2-28/+114
2013-09-04Container versioning supportBoris Kolpackov8-134/+379
2013-09-03Handling of dynamic empty statements as result of versioningBoris Kolpackov1-79/+79
2013-09-02Fix UPDATE statement for smart containers with read-only value membersBoris Kolpackov2-8/+27
Here we have to include them (think what happens when we erase an element somewhere in the middle of a container).
2013-09-02Support for versioning simple value in objectBoris Kolpackov9-189/+663
2013-08-30Statement processing/optimization base workBoris Kolpackov11-342/+547