aboutsummaryrefslogtreecommitdiff
path: root/odb/details
AgeCommit message (Collapse)AuthorFilesLines
2016-08-05Initial take on build2-based buildBoris Kolpackov14-9/+246
Only C++11 is supported with GCC 4.8 and up and VC 14 and up. This change also introduces the ODB_THREADS_CXX11 threading model. It is the default for the build2 build but can be disabled with a global ODB_THREADS_NONE define (global means that it should be in effect both when building and using the library).
2016-08-04Minor config.hxx rearrangementBoris Kolpackov1-9/+15
2016-08-03Reorganize config filesBoris Kolpackov2-37/+25
Split config.h inclusion and C++11 tests. Move VC C++11 to config.hxx.
2016-06-15Get rid of C++11 deprecation warnings for auto_ptr, exception specsBoris Kolpackov12-27/+77
In particular, std::auto_ptr is no longer mapped in C++11.
2015-12-20Detect Clang that pretends to be very old GCCBoris Kolpackov1-1/+3
On FreeBSD, Clang 3.7 says it is GCC 4.2. Go figure.
2015-11-09Make database class move-constructibleBoris Kolpackov1-0/+16
This means it can be returned by value from a function in C++11.
2015-10-14Fix transfer_ptr not to rely on copy elisionBoris Kolpackov1-1/+19
2015-08-03Make UNUSED macro work for xlCBoris Kolpackov1-3/+3
2015-07-30Try to work around xlC 11.1 warning/errorsBoris Kolpackov3-9/+6
2015-02-06Update copyrightBoris Kolpackov72-72/+72
2014-11-25Implement bulk database operation support for Oracle and SQL ServerBoris Kolpackov10-23/+89
2014-10-31Allow lambdas & std::functions as query factories with C++-98 builds of libodbMichael Shepanski3-0/+217
2014-10-30Get rid of stray semicolonBoris Kolpackov1-1/+1
2014-10-23Fix incorrect config macro name (ODB_CXX11_VARIADIC_TEMPLATE)Boris Kolpackov1-1/+1
2014-01-18Update C++11 feature macros for VC++12 (2013)Boris Kolpackov1-8/+7
2014-01-18Fix incorrect GCC version test (harmless until 5.0.0 is released)Boris Kolpackov1-2/+2
2014-01-18Fix incorrect C++11 feature macro nameBoris Kolpackov1-3/+3
2013-10-15Automatically map C++11 enum classes (strong enums)Boris Kolpackov2-0/+10
2013-10-03Add support for compile-time detection of unnecessary data migration functionsBoris Kolpackov1-0/+33
2013-02-12Factor windows.h inclusion into separate header, disable min/max macrosBoris Kolpackov12-74/+45
2013-02-09Update copyright yearBoris Kolpackov69-69/+69
2013-02-05Add support for change-tracking containersBoris Kolpackov2-0/+6
ODB now supports "smart" ordered containers. Such containers get extra functions for updating and deleting individual elements. Based on this functionality implement two change-tracking containers: odb::vector (equivalent to std::vector) and QOdbList (equivalent to QList). New tests: common/container/change-tracking and qt/common/container/change- tracking.
2012-11-21Add dynamic multi-database query supportBoris Kolpackov1-1/+0
2012-10-19Completion of prepared query supportBoris Kolpackov1-0/+31
2012-04-26Replace remaining std::auto_ptr uses with odb::details::unique_ptrBoris Kolpackov4-14/+8
GCC in C++11 mode issues a deprecation warning for std::auto_ptr.
2012-03-02Reimplement C++11 support to be header-onlyBoris Kolpackov4-8/+85
This way, the same build of the runtime libraries can be used in both C++98 and C++11 modes. This is important for when runtimes are installed or packaged.
2012-03-02Portability workarounds for incomplete C++11 support in VC++ and old GCCBoris Kolpackov3-1/+27
2012-03-01Add support for using C++11 std::unique_ptr to pass connection factoryBoris Kolpackov1-0/+54
2012-02-28Build infrastructure for C++11 supportBoris Kolpackov3-0/+11
2012-01-29Update copyright yearBoris Kolpackov66-66/+66
2012-01-29Remove author field from file headerBoris Kolpackov66-66/+0
Too much effort to maintain.
2011-11-15Remove generated file from repositoryBoris Kolpackov1-10/+0
2011-10-21Do not allocate memory for buffer if constructed with zero capacityConstantin Michael1-2/+2
2011-10-21Allow specification of buffer capacity on construction defaulting to 256 bytesConstantin Michael1-2/+7
2011-09-05Use more descriptive names in details/meta/Boris Kolpackov8-64/+67
2011-08-04Add support for value wrappersBoris Kolpackov1-0/+40
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-23Provide different implementations for ODB_POTENTIALLY_UNUSEDBoris Kolpackov1-1/+9
The same approach does not work for VC++ and GCC.
2011-07-23Change unused macro to use a void pointer instead of a referenceConstantin Michael1-1/+1
2011-07-05Aesthetic changesConstantin Michael1-1/+2
2011-07-05Convert buffer to templated basic_bufferConstantin Michael2-23/+31
2011-04-22Refactor such that const keyword always precedes type that it qualifiesConstantin Michael1-1/+1
2011-03-25Add support for forward-declaring shared_base-based typesBoris Kolpackov5-3/+56
The forward declaration must specialize the counter_type template to explicitly specify shared_base as the counter type.
2011-03-16Make sure we can free memory even in case of "unsafe" DLL termination1.2.0Boris Kolpackov1-11/+18
2011-03-15Change shared_ptr callback interface to work in mt-environmentBoris Kolpackov2-5/+5
2011-01-04Copyright updateBoris Kolpackov64-63/+73
2010-11-22Add common implementation of typeinfo comparatorBoris Kolpackov1-0/+40
2010-11-22Allow implicit conversion of TLS pointersBoris Kolpackov3-10/+12
2010-11-17Add support for unidirectional object relationshipsBoris Kolpackov1-0/+15
New test: common/relationship.
2010-09-28Get rid of compiler warningsBoris Kolpackov1-3/+3
2010-09-14Use __thread keyword if availableBoris Kolpackov2-1/+29