summaryrefslogtreecommitdiff
path: root/odb
AgeCommit message (Collapse)AuthorFilesLines
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
2015-06-16Use (!) to denote database in modifier expressionsBoris Kolpackov4-18/+38
2015-06-16Implement before/after pragmas for virtual data member orderingBoris Kolpackov3-44/+195
2015-06-16Diagnose forward use of composite object idsBoris Kolpackov4-1/+58
2015-06-16Redo index members parsing to use new resolve_data_members()Boris Kolpackov1-80/+5
2015-06-16Implement support for nested members in inverse pragmaBoris Kolpackov10-142/+276
2015-06-15Support for inverse on points_toBoris Kolpackov1-3/+3
2015-06-15Add points_to pragmaBoris Kolpackov8-104/+275
Currently does not support containers.
2015-06-03Remove gratuitous classesBoris Kolpackov10-109/+64
In the process also get rid of global class processor which conflicts with enum processor on MIPS.
2015-06-01<tm.h> include in gcc.hxx appears to be no longer necessaryBoris Kolpackov1-2/+0
On MIPS this file pulls in enum processor which conflicts with our class processor.
2015-04-14Set polymorphic_objects feature if we have polymorphic-object-based viewBoris Kolpackov1-1/+15
We need the polymorphism-related includes in such a view's implementation.
2015-04-07Detect and ignore transient value baseBoris Kolpackov1-11/+15
2015-02-09Make c++14 valid value for --std2.4.0Boris Kolpackov5-3/+12
2015-02-07Bump version to 2.4.0Boris Kolpackov1-4/+4
2015-02-07Fix to work with GCC 5Boris Kolpackov10-166/+183
2015-02-06Update copyrightBoris Kolpackov210-211/+211
2015-02-06Implement join types support in viewsBoris Kolpackov7-15/+191
2015-02-05Implement result modifiers in view query conditionBoris Kolpackov8-4/+134
2015-02-04Implement object loading viewsBoris Kolpackov35-1251/+2359
See section 10.2 in the manual for details.
2015-01-27Bump version to 2.4.0.a6Boris Kolpackov1-4/+4
2015-01-26Add column count to composite value traitsBoris Kolpackov1-0/+3
This will hopefully be enough to implement SQL Server TVP (Table-Valued Parameters) in runtime only, when we get to it.
2015-01-26Make #pragma once workBoris Kolpackov2-4/+83
2015-01-23Diagnose lack of default constructor in pointed-to objectsBoris Kolpackov2-2/+28
Lack of the default constructor will lead to uncompilable generated code.
2015-01-23Handle SQL name limits in MySQL and SQL ServerBoris Kolpackov2-1/+25
2015-01-23Handle name truncation in PostgreSQLBoris Kolpackov6-18/+130
2015-01-22Add support for warning about SQL name truncations in OracleBoris Kolpackov6-12/+192
Also detect and issue diagnostics when such truncations lead to name conflicts.
2015-01-21Fix bug in alias-declaration handlingBoris Kolpackov1-2/+1
Apparently for alias-declaration (but not ordinary typedef) we need to check for template info on the main variant.
2014-12-17Bump version to 2.4.0.a5Boris Kolpackov1-4/+4
2014-12-15Fix bug in id-based custom view join of polymorphic objectsBoris Kolpackov2-14/+22
See email from Mikhail.Tomilov@infotecs.ru/12-Dec-2014.
2014-12-10Add commentsBoris Kolpackov1-5/+5
2014-11-26Implement optimistic concurrency support in bulk operationsBoris Kolpackov5-41/+218
Bulk update and SQL Server ROWVERSION not yet supported.
2014-11-26Reimplement image copying for OracleBoris Kolpackov1-1/+1
Now we no longer "steal" descriptors (destructive copy). Instead, for LOBs, we clone the locator using OCILobAssign(). For date-time types we extract the data during copying. As a result of this change we no longer need to track image changes and rebind the statements.
2014-11-25Implement bulk database operation support for Oracle and SQL ServerBoris Kolpackov18-12/+709
2014-11-19Bump version to 2.4.0.a4Boris Kolpackov1-4/+4
2014-11-19Allow empty runtime and execute viewsBoris Kolpackov4-57/+74
Use them to handle INSERT/UPDATE SQL Server stored procedures.
2014-10-27Use expansion point rather than macro location in GCC 4.7.0 and laterBoris Kolpackov5-8/+25
2014-09-19Avoid clashes between nested composites in query columnsBoris Kolpackov2-6/+47
2014-09-19Fix bug in query types exporting codeBoris Kolpackov1-1/+1
2014-09-06Fix bug in view query assembly for stored procedure callBoris Kolpackov1-1/+1