aboutsummaryrefslogtreecommitdiff
path: root/common
AgeCommit message (Collapse)AuthorFilesLines
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.
2010-09-09Disable C4068 unknown pragmaBoris Kolpackov2-0/+8
2010-09-08Add suppor for VC++ buildBoris Kolpackov21-40/+750
2010-09-06Add automake build supportBoris Kolpackov9-12/+136
2010-09-03Add missing includeBoris Kolpackov1-1/+2
2010-08-19Cosmetic changeBoris Kolpackov1-2/+1
2010-08-19Test automatic id assignmentBoris Kolpackov5-0/+185
2010-08-18Move shared_ptr to the details namespaceBoris Kolpackov1-3/+4
2010-08-18Move buffer to the details namespaceBoris Kolpackov1-1/+1
2010-08-18Cosmetic changesBoris Kolpackov4-8/+0
2010-08-18Add multi-threading testBoris Kolpackov5-0/+261
2010-08-16Test pointer guard in query resultBoris Kolpackov1-1/+13