Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-08-18 | Fix custom recursive loading in post_load callback | Boris Kolpackov | 3 | -6/+50 | |
Before we called the callback while holding the statements locked. As a result, if the callback tried to load another object of this type, it failed. Now we unlock the statements (since we have completely loaded the object from ODB's point of view) and then call the callback. The callback test has been updated to test this situation. | |||||
2011-08-04 | Add support for value wrappers | Boris Kolpackov | 5 | -1/+236 | |
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-22 | Add pragma for setting type's or member's default value | Boris Kolpackov | 5 | -0/+256 | |
New pragma: default. New test: default. | |||||
2011-07-19 | New design for NULL semantics | Boris Kolpackov | 3 | -5/+6 | |
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-07-18 | Qualify id with table alias to help SQLite out | Boris Kolpackov | 1 | -1/+1 | |
This hack should go away once we have language-integrated support for ORDER BY. | |||||
2011-07-11 | Order results by id to get consistent test output order | Boris Kolpackov | 1 | -1/+1 | |
2011-07-06 | Remove UNSIGNED SQL qualifier to allow PostgreSQL to pass schema test | Constantin Michael | 1 | -1/+1 | |
2011-07-06 | Add traits for PostgreSQL query test | Constantin Michael | 2 | -0/+61 | |
2011-07-05 | Fix memory leak | Boris Kolpackov | 1 | -0/+2 | |
2011-07-04 | Implement support for database operations callbacks | Boris Kolpackov | 5 | -0/+354 | |
New object pragma: callback. New test: common/callback. New manual section: 10.1.4, "callback". | |||||
2011-06-30 | Test updating of unmodified object | Boris Kolpackov | 1 | -4/+13 | |
2011-04-25 | Add support for abstract object types | Boris Kolpackov | 2 | -7/+82 | |
2011-04-25 | Reuse container traits from composite values | Boris Kolpackov | 2 | -2/+22 | |
2011-04-22 | Initial support for non-polymorphic inheritance | Boris Kolpackov | 5 | -0/+334 | |
Every class gets a separate table. New test: common/inheritance. | |||||
2011-04-22 | Test empty composite value type | Boris Kolpackov | 1 | -1/+7 | |
2011-04-18 | Implement automatic mapping for C++ enums | Boris Kolpackov | 5 | -0/+212 | |
2011-04-18 | Get rid of image type argument in value_traits | Boris Kolpackov | 2 | -2/+2 | |
2011-03-30 | VC++ build system support for SQLite | Boris Kolpackov | 2 | -8/+8 | |
2011-03-30 | Autotools support for SQLite | Boris Kolpackov | 2 | -1/+2 | |
2011-03-29 | Handle deadlocks and SQLite-specific issues | Boris Kolpackov | 1 | -8/+36 | |
2011-03-28 | Add schema creation flag to create_database() | Boris Kolpackov | 1 | -1/+1 | |
2011-03-28 | Recode tests to work with implementations lacking result::size() | Boris Kolpackov | 6 | -21/+30 | |
2011-03-27 | Add traits implementation for SQLite | Boris Kolpackov | 3 | -48/+124 | |
2011-03-27 | Fix issues preventing building outside source directory | Boris Kolpackov | 13 | -39/+39 | |
2011-03-08 | Use more consistent naming convention | Boris Kolpackov | 1 | -15/+15 | |
2011-02-25 | Add support for tests in subdirectories | Boris Kolpackov | 16 | -32/+32 | |
2011-02-22 | Fix iteration over uncached query result | Boris Kolpackov | 2 | -0/+15 | |
2011-02-18 | Add odb::core namespace to be used in using-directives | Boris Kolpackov | 13 | -13/+14 | |
Port all the examples and tests. | |||||
2011-02-17 | Add test infrastructure for boost profile | Boris Kolpackov | 1 | -2/+3 | |
2011-01-24 | Workaround VC 10 bug1.1.0 | Boris Kolpackov | 1 | -1/+1 | |
2011-01-24 | Rename type to avoid conflict with member | Boris Kolpackov | 1 | -2/+2 | |
2011-01-04 | Copyright update | Boris Kolpackov | 44 | -44/+44 | |
2010-12-13 | Detect TR1 <memory> availability | Boris Kolpackov | 11 | -144/+31 | |
Also use the wrapper header from libodb. | |||||
2010-12-10 | Cosmetic changes | Boris Kolpackov | 1 | -2/+2 | |
2010-12-09 | Cosmetic change (rename naked pointer to raw pointer) | Boris Kolpackov | 4 | -4/+4 | |
2010-12-09 | Add lazy pointer support | Boris Kolpackov | 8 | -22/+651 | |
Built-in support is provided for raw, auto, and tr1 shared/weak pointers. New test: common/lazy-ptr. | |||||
2010-11-28 | Simplify tests by using literal names | Boris Kolpackov | 5 | -46/+28 | |
2010-11-26 | Postpone fetching of the data for cached results | Boris Kolpackov | 2 | -0/+19 | |
This way if an object of the same type is loaded in between iteration, the fetched image won't be messed up. | |||||
2010-11-26 | Save test result to a temp file instead of piping it to diff | Boris Kolpackov | 12 | -12/+48 | |
This makes tests more robust. | |||||
2010-11-26 | Add support for recursive object loading | Boris Kolpackov | 1 | -24/+23 | |
If an object of a type needs to be loaded recursively, then it is addded to the delayed loading list which is processed once the statements are unlocked. | |||||
2010-11-25 | Add support for object pointers in query | Boris Kolpackov | 3 | -1/+58 | |
2010-11-24 | Implement support for many-to-{one,many} inverse relationships | Boris Kolpackov | 2 | -30/+235 | |
2010-11-24 | Add support for unordered storage of ordered containers | Boris Kolpackov | 2 | -1/+27 | |
New pragma: unordered. | |||||
2010-11-24 | Keep track of extra headers for the dist target | Boris Kolpackov | 2 | -2/+4 | |
2010-11-22 | Test one-to-{one,many} inverse relationships | Boris Kolpackov | 6 | -0/+446 | |
2010-11-22 | Test const object operations | Boris Kolpackov | 5 | -0/+380 | |
2010-11-22 | Use new pointer-based database operation overloads | Boris Kolpackov | 1 | -8/+8 | |
2010-11-22 | Add missing template argument | Boris Kolpackov | 1 | -1/+1 | |
2010-11-17 | Add support for unidirectional object relationships | Boris Kolpackov | 6 | -3/+532 | |
New test: common/relationship. | |||||
2010-11-09 | Remove unnecessary inclusion | Boris Kolpackov | 1 | -4/+0 | |