Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-10-08 | Ground work for multi-database support | Boris Kolpackov | 1 | -12/+15 | |
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-08-31 | Add support for virtual data members | Boris Kolpackov | 1 | -74/+77 | |
New test: common/virtual. | |||||
2012-08-16 | Add support for automatically discovering accessor/modifier functions | Boris Kolpackov | 1 | -28/+28 | |
New options: --{accessor,modifier}-regex, --{accessor,modifier}-regex-trace. | |||||
2012-08-15 | Add support for member accessors/modifiers | Boris Kolpackov | 1 | -102/+237 | |
New pragmas: get, set, access. New test: common/access. | |||||
2012-07-27 | Add support for defining indexes | Boris Kolpackov | 1 | -1/+1 | |
New db pragma qualifier: index. New tests: common/index, mysql/index, pgsql/index. | |||||
2012-07-27 | Use cxx_lexer interface instead of pragma_lex() directly | Boris Kolpackov | 1 | -31/+34 | |
This will allow us to use different kinds of cxx_lexer implementations in the future. | |||||
2012-07-25 | Simplify auto id implementation in Oracle | Boris Kolpackov | 1 | -25/+26 | |
Specifically, instead of using a trigger to assign the next id from the sequence, get the next value directly in the INSERT statement. | |||||
2012-07-16 | Simplify query inheritance hierarchy | Boris Kolpackov | 1 | -1/+1 | |
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 | 1 | -9/+14 | |
New pragma qualifier, map, and specifiers: as, to, from. New tests: <database>/custom. | |||||
2012-04-30 | Rework polymorphic info and entry static variables | Boris Kolpackov | 1 | -4/+7 | |
Make entry file-static. Move info further down in class definition. Make both const. This helps VC++. | |||||
2012-04-27 | Don't generate grow code for databases that don't need it | Boris Kolpackov | 1 | -15/+45 | |
2012-04-27 | Add support for NULL pointers to objects with composite object ids | Boris Kolpackov | 1 | -1/+0 | |
2012-04-23 | Polymorphic inheritance support | Boris Kolpackov | 1 | -0/+3245 | |
2012-01-29 | Update copyright year | Boris Kolpackov | 1 | -1/+1 | |
2012-01-29 | Remove author field from file header | Boris Kolpackov | 1 | -1/+0 | |
Too much effort to maintain. | |||||
2012-01-08 | Add support for defining composite value type as class template instantiations | Boris Kolpackov | 1 | -1/+5 | |
2011-11-09 | Make sure we can use same type as both container and simple value | Boris Kolpackov | 1 | -2/+4 | |
2011-10-21 | Add support for const data members | Boris Kolpackov | 1 | -2/+2 | |
Const data members are automatically treated as readonly. New test: const-member. | |||||
2011-10-02 | If query substituting placeholder is empty, pass true expression instead | Boris Kolpackov | 1 | -1/+1 | |
This allows uniform usage of views both with and without any extra conditions. Also optimize some common cases so that we don't have useless WHERE TRUE clauses or (...) AND (TRUE) expressions. | |||||
2011-09-27 | Add support for associating tables with views | Boris Kolpackov | 1 | -2/+2 | |
2011-09-20 | Change query syntax to use . for composite and -> for object pointer access | Boris Kolpackov | 1 | -4/+1 | |
Also make non-inverse query columns act as both an object pointer and a normal column. The latter allows us to use natural expressions such as query<employee>::employer.is_null (). | |||||
2011-09-19 | Rename generation_failed exception to operation_failed | Boris Kolpackov | 1 | -6/+6 | |
A more generic name is required since it is now used in both generator and processor (and in the future may be used validator). | |||||
2011-09-16 | Support for views; integrated part | Boris Kolpackov | 1 | -0/+544 | |
2011-03-24 | Generalization work for MySQL and SQLite support | Boris Kolpackov | 1 | -38/+4 | |
2011-03-21 | Split MySQL code generator into common and db-specific parts | Boris Kolpackov | 1 | -0/+79 | |
The common part (in relational/) still has some MySQL-specific parts. Also, add the notion of the current context which is used to avoid explicitly passing the context object to every generator's c-tor. |