Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-04-27 | Add support for NULL pointers to objects with composite object ids | Boris Kolpackov | 1 | -3/+6 | |
2012-04-26 | Make session optional | Boris Kolpackov | 1 | -0/+6 | |
2012-04-23 | Polymorphic inheritance support | Boris Kolpackov | 1 | -3/+59 | |
2012-03-05 | Add support for generating schema creation code into separate C++ file | Boris Kolpackov | 1 | -0/+1 | |
2012-02-27 | Add support for specifying table prefix on namespace | Boris Kolpackov | 1 | -3/+9 | |
2012-02-22 | Add support for composite object ids | Boris Kolpackov | 1 | -0/+17 | |
New pragma id_type (member). New test: common/composite-id. The composite example has also been updated. | |||||
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-27 | Make container schema override object schema | Boris Kolpackov | 1 | -1/+10 | |
2012-01-26 | Implement support for database schema | Boris Kolpackov | 1 | -10/+18 | |
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. | |||||
2012-01-20 | Add auto_() test for auto-id | Boris Kolpackov | 1 | -0/+6 | |
2012-01-08 | Add support for defining composite value type as class template instantiations | Boris Kolpackov | 1 | -7/+18 | |
2011-11-09 | Make sure we can use same type as both container and simple value | Boris Kolpackov | 1 | -18/+19 | |
2011-11-01 | Implement support for optimistic concurrency | Boris Kolpackov | 1 | -1/+29 | |
New pragmas: optimistic, version. New test: optimistic. New database function: reload(). | |||||
2011-10-24 | Generate database schema from database model instead of C++ model | Boris Kolpackov | 1 | -1/+5 | |
We now first create the so-called database model from C++ model and then use that to generate the database schema. The new approach also adds more general support for primary/foreign keys, including multi- column keys. Finally, for MySQL we now generate out-of-line foreign key definitions. Because MySQL does not support deferred constraints checking, deferred foreign keys are written commented out, for documentation. | |||||
2011-10-21 | Add support for const data members | Boris Kolpackov | 1 | -8/+51 | |
Const data members are automatically treated as readonly. New test: const-member. | |||||
2011-10-21 | Add support for readonly members | Boris Kolpackov | 1 | -7/+34 | |
New pragma: readonly. New test: readonly. | |||||
2011-10-21 | Split 'in' binding into insert/update pair; rename 'out' to select | Boris Kolpackov | 1 | -14/+33 | |
Also add the initial infrastructure for the readonly members support. Right now the split insert/update bindings allows us to avoid sending object id in UPDATE statements. It will also allows us to support readonly members. | |||||
2011-09-27 | Add support for associating tables with views | Boris Kolpackov | 1 | -4/+12 | |
2011-09-19 | Rename generation_failed exception to operation_failed | Boris Kolpackov | 1 | -1/+1 | |
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-19 | Make processing top-level action, like validation and generation | Boris Kolpackov | 1 | -0/+6 | |
2011-09-19 | Use scope and location of db pointer pragma instead of class | Boris Kolpackov | 1 | -0/+9 | |
2011-09-16 | Support for views; integrated part | Boris Kolpackov | 1 | -11/+106 | |
2011-09-11 | Generalize pragma code to support arbitrary types for context values | Boris Kolpackov | 1 | -0/+28 | |
2011-09-09 | Add support for ignoring bases in has_a() test | Boris Kolpackov | 1 | -0/+2 | |
2011-09-05 | Support for views; native part | Boris Kolpackov | 1 | -4/+25 | |
2011-08-31 | Rename comp_value() predicate to composite() | Boris Kolpackov | 1 | -8/+8 | |
2011-08-31 | Add transient() predicate | Boris Kolpackov | 1 | -0/+6 | |
2011-08-31 | Cosmetic changes and cleanups | Boris Kolpackov | 1 | -3/+8 | |
Rename some functions to have consistent names. Add object() predicate. | |||||
2011-08-28 | Add wrapper support for containers | Boris Kolpackov | 1 | -1/+20 | |
2011-08-28 | Add wrapper support for composite values | Boris Kolpackov | 1 | -0/+24 | |
NULL semantics for composite values is not yet supported. | |||||
2011-08-24 | Don't append table prefix to names that already have it (container tables) | Boris Kolpackov | 1 | -1/+3 | |
2011-07-22 | Add support for specifying extra column options | Boris Kolpackov | 1 | -0/+6 | |
New pragmas: options, id_options, index_options, key_options, and value_options. | |||||
2011-07-19 | New design for NULL semantics | Boris Kolpackov | 1 | -34/+9 | |
Now, instead of being specified as part of the SQL type with the type pragma, there are separate null and not_null pragmas. The not_null pragma was used to control NULL-ness of object pointers. Now the two pragmas are used consistently for object pointers and simple values (and in the future will work for composite values and containers). | |||||
2011-06-29 | Add --include-regex and --include-regex-trace options | Boris Kolpackov | 1 | -37/+65 | |
This requires libcutl update. | |||||
2011-04-25 | Add support for mapping to database types based on type aliases | Boris Kolpackov | 1 | -5/+4 | |
This allows us to, for example, always map size_t to 64-bit type. The current implementation does not work for containers. It is not clear whether it will be possible to make it work using the GCC AST. | |||||
2011-04-25 | Add support for abstract object types | Boris Kolpackov | 1 | -6/+20 | |
2011-04-22 | Initial support for non-polymorphic inheritance | Boris Kolpackov | 1 | -2/+13 | |
Every class gets a separate table. New test: common/inheritance. | |||||
2011-04-20 | Cosmetic changes | Boris Kolpackov | 1 | -4/+4 | |
2011-04-19 | Add function for getting container member id type | Boris Kolpackov | 1 | -0/+6 | |
2011-04-19 | Remove unused flag | Boris Kolpackov | 1 | -4/+0 | |
2011-03-24 | Generalization work for MySQL and SQLite support | Boris Kolpackov | 1 | -0/+1 | |
2011-03-21 | Move the rest of generators to new ctor-less context | Boris Kolpackov | 1 | -5/+3 | |
2011-03-21 | Move tracer to new ctor-less context | Boris Kolpackov | 1 | -8/+3 | |
2011-03-21 | Cache current context in static variable | Boris Kolpackov | 1 | -0/+1 | |
2011-03-21 | Move to new "virtual functions in context" model | Boris Kolpackov | 1 | -12/+24 | |
2011-03-21 | Split MySQL code generator into common and db-specific parts | Boris Kolpackov | 1 | -25/+75 | |
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. | |||||
2011-03-14 | Add upcase(string) function to context | Boris Kolpackov | 1 | -0/+3 | |
2011-03-01 | Add support for embedded database schemas | Boris Kolpackov | 1 | -1/+15 | |
New options: --schema-format, --default-schema. New example: schema/embedded. | |||||
2011-01-04 | Copyright update | Boris Kolpackov | 1 | -1/+1 | |