Added TINYORM_DISABLE_ORM macro controlled by ORM for CMake and
disable_orm for qmake. When TINYORM_DISABLE_ORM macro is defined then
only the query builder without ORM is compiled.
Also excludes ORM-related unit tests.
- removed all occurrences of QT_NO_DEBUG_OUTPUT, it is up to user
- TINYORM_DEBUG_SQL is enabled in debug builds and TINYORM_NO_DEBUG_SQL
in release builds, user still can override debug build with
TINYORM_NO_DEBUG_SQL
- enhanced debug output in DatabaseConnection class
- added driverNamePrintable(), databaseName(), hostName() to
DB/DatabaseManager/DatabaseConnection
- logquery added to NS and created library class for it
Added CONFIG option inline_constants/extern_constants, in shared library
build is used extern_constants option ( can be overridden by
inline_constants option ) and in static library build is used
inline_constants option ( can not be overridden, extern constants cause
crash ).
- refactored exports in TinyUtils
- bugfix on tst_version for static build
Windows RC and manifest files are compiled and embedded only on Windows
and when a shared library is built.
Also removed TinyOrm_mingw.rc file, RC file for MinGW is injected
through the main TinyOrm.rc.in file, I had to do it this way because is
not possible to pass more RC files by qmake's RC_FILE variable, cmake
can do this without problems.
- bugfix FILEFLAGS, FILEFLAGSMASK for debug configuration was not set
Discarded configuration of the version header file by version.hpp.in,
instead the project version is obtained from version.hpp file.
- bugfix removed unused parameters in tiny_resource_and_manifest()
- cmake appended version to TinyUtils
- bugfix debug file flag in Windows RC files
- added Windows RC and manifest files for TinyUtils library
- build checkFileVersion_*() tests only on MSVC and when shared library
build is on
Discarded configuration of the version header file by version.hpp.in,
instead the project version is obtained from version.hpp file.
- also added autotest to test these versions
- like cherries on a cake, a real Product/FileVersion in exe/dll of the
TinyOrm.dll and utils.dll is tested too 😲😎
- added new Fs library class to the utils dll
- renamed macro defines in utils project to TINYUTILS_XYZ_HPP
- support for querying nested relations existence/absence
- added tests for all possible overloads 😲, 28 unit tests and 14
functional tests
- added has() related proxies to the Model and Relation
- added documentation
- gcc and clang specific fixes
others:
- used clazy exclude comments instead of suppressing warnings in IDE