Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-08-22 | Add --table-prefix option | Boris Kolpackov | 1 | -5/+18 | |
Assign unique table prefixes to most examples. This makes sure that we don't end up with broken schemas where half of the tables were changed by the next test and the other half has foreign keys that now point to nowhere. | |||||
2011-08-04 | Add support for value wrappers | Boris Kolpackov | 1 | -17/+110 | |
Wrapper is a class that wraps another type. Examples of wrappers are various smart pointers, holders, etc. A wrapper can be transparent or it can handle the NULL semantics. The new odb::nullable class template is a NULL wrapper that helps to add the NULL semantics to a value type. New test: common/wrapper. | |||||
2011-07-24 | Add support for resetting options accumulated with options pragma | Boris Kolpackov | 1 | -14/+85 | |
2011-07-22 | Add pragma for setting type's or member's default value | Boris Kolpackov | 1 | -4/+5 | |
New pragma: default. New test: default. | |||||
2011-07-22 | Add support for specifying extra column options | Boris Kolpackov | 1 | -0/+54 | |
New pragmas: options, id_options, index_options, key_options, and value_options. | |||||
2011-07-19 | New design for NULL semantics | Boris Kolpackov | 1 | -15/+49 | |
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 | -0/+58 | |
This requires libcutl update. | |||||
2011-04-25 | Add support for mapping to database types based on type aliases | Boris Kolpackov | 1 | -9/+15 | |
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 | -0/+2 | |
2011-04-24 | Implement id_type value type pragma | Boris Kolpackov | 1 | -0/+1 | |
2011-04-22 | Initial support for non-polymorphic inheritance | Boris Kolpackov | 1 | -49/+0 | |
Every class gets a separate table. New test: common/inheritance. | |||||
2011-04-20 | Cosmetic changes | Boris Kolpackov | 1 | -1/+1 | |
2011-03-24 | Generalization work for MySQL and SQLite support | Boris Kolpackov | 1 | -0/+2 | |
2011-03-21 | Add support for SQLite type system, adjust code generators | Boris Kolpackov | 1 | -14/+14 | |
2011-03-21 | Move tracer to new ctor-less context | Boris Kolpackov | 1 | -12/+0 | |
2011-03-21 | Move to new "virtual functions in context" model | Boris Kolpackov | 1 | -7/+10 | |
2011-03-21 | Split MySQL code generator into common and db-specific parts | Boris Kolpackov | 1 | -16/+55 | |
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 | -1/+15 | |
2011-03-01 | Add support for embedded database schemas | Boris Kolpackov | 1 | -2/+186 | |
New options: --schema-format, --default-schema. New example: schema/embedded. | |||||
2011-01-04 | Copyright update | Boris Kolpackov | 1 | -1/+1 | |
2010-12-09 | Add lazy pointer support | Boris Kolpackov | 1 | -3/+8 | |
Built-in support is provided for raw, auto, and tr1 shared/weak pointers. New test: common/lazy-ptr. | |||||
2010-12-01 | Fix incorrect pragma spelling | Boris Kolpackov | 1 | -1/+1 | |
2010-12-01 | Implement not_null pointer pragma | Boris Kolpackov | 1 | -0/+1 | |
New exception: null_pointer. | |||||
2010-11-29 | Make container pragmas also work on types in addition to members | Boris Kolpackov | 1 | -2/+36 | |
2010-11-24 | Implement support for many-to-{one,many} inverse relationships | Boris Kolpackov | 1 | -1/+35 | |
2010-11-22 | Implement support for one-to-{one,many} inverse relationships | Boris Kolpackov | 1 | -2/+3 | |
New pragma: inverse. | |||||
2010-11-18 | Split object image binding into in and out variants | Boris Kolpackov | 1 | -9/+24 | |
2010-11-17 | Add support for unidirectional object relationships | Boris Kolpackov | 1 | -2/+62 | |
New test: common/relationship. | |||||
2010-11-06 | Add support for container persistence | Boris Kolpackov | 1 | -71/+123 | |
2010-11-01 | Factor assignment of database type to separate pass | Boris Kolpackov | 1 | -9/+7 | |
2010-10-27 | Implement support for composite value types | Boris Kolpackov | 1 | -3/+79 | |
New test: common/composite. | |||||
2010-09-13 | Change GPL v3 | Boris Kolpackov | 1 | -1/+1 | |
2010-09-13 | Internally use primary type names instead of user aliases | Boris Kolpackov | 1 | -1/+4 | |
2010-09-13 | Change pragma syntax | Boris Kolpackov | 1 | -2/+7 | |
Change odb pragma namespace to db. Use qualifiers (object, value, and member) to specify type/member name. Add support for mapping C++ types to db types. | |||||
2010-08-19 | Use type names as specified in the header that we compile | Boris Kolpackov | 1 | -1/+1 | |
2010-08-13 | Add public_name(), use it in column_name() | Boris Kolpackov | 1 | -24/+25 | |
2010-07-22 | Next chunk of functionality | Boris Kolpackov | 1 | -65/+12 | |
Add SQL language lexer. Implement MySQL type declaration parser. Create sub-directories for databases, currently mysql and tracer. Create MySQL-specific context. | |||||
2010-07-20 | Add mapping of basic C++ types to DB types | Boris Kolpackov | 1 | -4/+75 | |
2010-06-04 | Next chunk of functionality | Boris Kolpackov | 1 | -0/+47 | |
2010-05-21 | Add escape() function | Boris Kolpackov | 1 | -2/+162 | |
2010-04-02 | Remove unused headers | Boris Kolpackov | 1 | -2/+0 | |
2010-04-02 | Detect odb-enabled classes and generate c-tor implementation | Boris Kolpackov | 1 | -8/+13 | |
2010-03-30 | Use odb prefix for inclusion | Boris Kolpackov | 1 | -1/+2 | |
2010-03-30 | Add code generator infrastructure | Boris Kolpackov | 1 | -0/+49 | |