aboutsummaryrefslogtreecommitdiff
path: root/common
AgeCommit message (Collapse)AuthorFilesLines
2011-03-29Handle deadlocks and SQLite-specific issuesBoris Kolpackov1-8/+36
2011-03-28Add schema creation flag to create_database()Boris Kolpackov1-1/+1
2011-03-28Recode tests to work with implementations lacking result::size()Boris Kolpackov6-21/+30
2011-03-27Add traits implementation for SQLiteBoris Kolpackov3-48/+124
2011-03-27Fix issues preventing building outside source directoryBoris Kolpackov13-39/+39
2011-03-08Use more consistent naming conventionBoris Kolpackov1-15/+15
2011-02-25Add support for tests in subdirectoriesBoris Kolpackov16-32/+32
2011-02-22Fix iteration over uncached query resultBoris Kolpackov2-0/+15
2011-02-18Add odb::core namespace to be used in using-directivesBoris Kolpackov13-13/+14
Port all the examples and tests.
2011-02-17Add test infrastructure for boost profileBoris Kolpackov1-2/+3
2011-01-24Workaround VC 10 bug1.1.0Boris Kolpackov1-1/+1
2011-01-24Rename type to avoid conflict with memberBoris Kolpackov1-2/+2
2011-01-04Copyright updateBoris Kolpackov44-44/+44
2010-12-13Detect TR1 <memory> availabilityBoris Kolpackov11-144/+31
Also use the wrapper header from libodb.
2010-12-10Cosmetic changesBoris Kolpackov1-2/+2
2010-12-09Cosmetic change (rename naked pointer to raw pointer)Boris Kolpackov4-4/+4
2010-12-09Add lazy pointer supportBoris Kolpackov8-22/+651
Built-in support is provided for raw, auto, and tr1 shared/weak pointers. New test: common/lazy-ptr.
2010-11-28Simplify tests by using literal namesBoris Kolpackov5-46/+28
2010-11-26Postpone fetching of the data for cached resultsBoris Kolpackov2-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-26Save test result to a temp file instead of piping it to diffBoris Kolpackov12-12/+48
This makes tests more robust.
2010-11-26Add support for recursive object loadingBoris Kolpackov1-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-25Add support for object pointers in queryBoris Kolpackov3-1/+58
2010-11-24Implement support for many-to-{one,many} inverse relationshipsBoris Kolpackov2-30/+235
2010-11-24Add support for unordered storage of ordered containersBoris Kolpackov2-1/+27
New pragma: unordered.
2010-11-24Keep track of extra headers for the dist targetBoris Kolpackov2-2/+4
2010-11-22Test one-to-{one,many} inverse relationshipsBoris Kolpackov6-0/+446
2010-11-22Test const object operationsBoris Kolpackov5-0/+380
2010-11-22Use new pointer-based database operation overloadsBoris Kolpackov1-8/+8
2010-11-22Add missing template argumentBoris Kolpackov1-1/+1
2010-11-17Add support for unidirectional object relationshipsBoris Kolpackov6-3/+532
New test: common/relationship.
2010-11-09Remove unnecessary inclusionBoris Kolpackov1-4/+0
2010-11-06Add a test for container persistenceBoris Kolpackov5-0/+557
2010-11-06Perform two iterations of the testBoris Kolpackov1-78/+90
2010-10-27Implement support for composite value typesBoris Kolpackov5-0/+303
New test: common/composite.
2010-10-07Add support for persistent classes without default ctorsBoris Kolpackov5-0/+218
New test: common/ctor.
2010-09-28Rename begin_transaction() to begin()Boris Kolpackov6-31/+31
2010-09-22Add database type id as value_traits template argumentBoris Kolpackov1-1/+1
2010-09-21Redesign value_traitsBoris Kolpackov1-6/+6
2010-09-20Make result_iterator::operator* return referenceBoris Kolpackov1-2/+4
Add load() version that returns the dynamically-allocated instance.
2010-09-20Rename store() to update()Boris Kolpackov2-2/+2
2010-09-20Cache result by defaultBoris Kolpackov1-2/+1
2010-09-14Use global flags to get tidier object file namesBoris Kolpackov1-2/+2
2010-09-13Change pragma syntaxBoris Kolpackov6-24/+24
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-09-10Do not distribute generated test-odb.cxxBoris Kolpackov1-1/+2
2010-09-10Allow the test to specify max number of connectionsBoris Kolpackov1-19/+39
Use this in common/threads.
2010-09-10Add automated build and test scripts for WindowsBoris Kolpackov2-8/+41
2010-09-10Use unsigned long instead of size_t for consistencyBoris Kolpackov1-7/+7
2010-09-10Link to 64-bit libcommon in 64-bit buildsBoris Kolpackov1-2/+2
2010-09-10Use space instead of ';' as library separatorBoris Kolpackov1-4/+4
2010-09-09Use qualified name for shared_ptr to avoid conflictsBoris Kolpackov1-9/+5
Qualify a few other names for consistency.