summaryrefslogtreecommitdiff
path: root/odb
AgeCommit message (Collapse)AuthorFilesLines
2016-08-18Detect container of containers via composite valueBoris Kolpackov1-0/+47
2016-08-15Lock object statements when loading sectionsBoris Kolpackov1-31/+59
Since we use the id image and loading of object pointers can overwrite it.
2016-08-14Bump version to 2.5.0-a9Boris Kolpackov1-4/+4
Note that we now use the -[ab]N schema rather than .[ab]N.
2016-08-08Add note on need to recognize database-specific list of statement prefixesBoris Kolpackov1-0/+5
2016-06-15Bump version to 2.5.0.a8Boris Kolpackov1-4/+4
2016-05-06Bump version to 2.5.0.a7Boris Kolpackov1-4/+4
2016-05-04Ignore section logic when dealing with container elementsBoris Kolpackov3-3/+15
The container member itself can be in a section.
2016-05-04Fix bug in previous fix (include object statements for OLV)Boris Kolpackov1-6/+9
2016-05-02Make sure object statements included for object loading viewsBoris Kolpackov1-1/+9
2016-04-06Bump version to 2.5.0.a6Boris Kolpackov1-4/+4
2016-04-04Add _has_cache() custom session interface, use in OLV implementationBoris Kolpackov1-1/+1
2016-03-30Assert that statements are not already locked in top-level callsBoris Kolpackov2-0/+3
This can be violated with crafty callbacks.
2016-03-30Diagnose container value/index/key types that are not instantiatedBoris Kolpackov1-58/+65
2016-02-12Bump version to 2.5.0.a5Boris Kolpackov1-4/+4
2016-02-08Make compilable with GCC 6 in C++14 modeBoris Kolpackov2-3/+8
2016-02-05Initial work to make ODB compatible with GCC 6Boris Kolpackov7-19/+90
2016-02-04Add support for multiple values in *-file options, add final newlineBoris Kolpackov2-16/+39
2016-01-20Bump version to 2.5.0.a4Boris Kolpackov1-4/+4
2016-01-18Quote some values since cli no longer quotes \c in plain textBoris Kolpackov1-5/+5
2015-11-30Don't try to depend on installed cli executableBoris Kolpackov1-0/+5
2015-11-09Bump version to 2.5.0.a2Boris Kolpackov1-4/+4
2015-10-27Recognize /*CALL*/ hint in SELECT statements that call stored proceduresBoris Kolpackov1-0/+15
2015-10-14Fix bug in section's grow() generationBoris Kolpackov1-0/+3
2015-10-07Add support for using object pointers as map keysBoris Kolpackov3-34/+50
Also remove the restriction for map keys and set values to be NOT NULL. Not clear why it was there in the first place and it could be useful if the key or value is an object pointer.
2015-09-18Fix bug in object loading views and objects with nested idsBoris Kolpackov1-3/+17
2015-09-07Unwrap the type before checking whether it is unsignedBoris Kolpackov2-1/+4
2015-09-03Diagnose base classes that are defined after usBoris Kolpackov1-2/+48
This can happen with templates/CRP
2015-09-03Remove stray spaceBoris Kolpackov1-1/+1
2015-08-31Don't try to analyze callback signature if one wasn't foundBoris Kolpackov1-20/+22
2015-08-24Fix inconsistent composite value member prefix derivationBoris Kolpackov6-12/+30
2015-08-21Make sure we don't match namespace ::foo as prefix of ::foobarBoris Kolpackov1-1/+5
2015-07-30Export container and section traitsBoris Kolpackov1-2/+2
2015-07-27Bump version to 2.5.0.a1Boris Kolpackov1-4/+4
2015-07-27Fix member name conflicts in query supportBoris Kolpackov2-30/+47
2015-07-24Fix bug in passing empty option values via plugin command lineBoris Kolpackov2-13/+21
2015-07-24Add C++ signature to generated C++ filesBoris Kolpackov1-0/+2
2015-07-17Diagnose "composite type used before definition" situationsBoris Kolpackov5-35/+100
2015-07-15Implement SQLite incremental BLOB/TEXT I/OBoris Kolpackov14-58/+376
2015-07-10Keep track of {}-balance in addition to ()-balance in expressionsBoris Kolpackov1-6/+16
This allows us, for example, to use brace-initializer syntax.
2015-07-03Add support for defining views as class template instantiationsBoris Kolpackov3-6/+13
2015-07-03Implement nested id supportBoris Kolpackov23-156/+407
Now the 'id' specifier can optionally include the data member path to the id inside the composite value. For example: #pragma db id(first) std::pair<int, int> p; Note that one somewhat counter-intuitive aspect of this new feature is that the whole member marked with id ('p' in the above example) and not just the actual id member ('p.first' in the above example) is treated as readonly. Such nested id also cannot be automatically assigned (auto specifier).
2015-07-02Use pre-increment for version in case it is user-defined typeBoris Kolpackov1-1/+3
2015-07-02C++ type mapping support for container elementsasBoris Kolpackov32-236/+314
2015-07-01C++ type mapping support for data membersBoris Kolpackov7-82/+376
2015-06-24Cleanup of member accessBoris Kolpackov7-390/+286
2015-06-22Implement member type mapping, more m.type() cleanupsBoris Kolpackov7-29/+69
2015-06-22Get rid of member_[u]type(), other cleanupsBoris Kolpackov5-55/+69
2015-06-19Populate custom type map, make available in contextBoris Kolpackov8-156/+287
2015-06-19Parse C++ type mappingBoris Kolpackov2-44/+126
2015-06-19Distinguish between database and C++ type mappingBoris Kolpackov1-8/+89