Commit Graph

1789 Commits

Author SHA1 Message Date
silverqx
0cb966f758 orm removed useless #include 2024-07-27 21:12:39 +02:00
silverqx
80533125b9 used #ifdef instead of #ifndef 2024-07-24 09:20:01 +02:00
silverqx
7ec904de76 removed useless #include-s 2024-07-21 12:54:40 +02:00
silverqx
7f23bd8eba used auto instead of QString 2024-07-21 12:54:40 +02:00
silverqx
af9e405954 unified constructor comments 2024-07-21 12:54:39 +02:00
silverqx
6a59f334f9 fixtypo 2024-07-21 12:54:38 +02:00
silverqx
a700017eb9 extracted definition 2024-07-11 15:35:37 +02:00
silverqx
ab03e059c2 updated NOTES.txt and added comment 2024-07-10 17:35:58 +02:00
silverqx
ffd9dfafdd qmake/cmake bugfix/enhanced constants selection 2024-07-08 14:30:03 +02:00
silverqx
35a9791dca tom cmake added TriState bool support
CMake compile definitions can have three states ON, OFF, and
xyz-/NOTFOUND.
2024-07-05 17:40:40 +02:00
silverqx
a599991798 tom extracted normalizeCMakeBool() method 2024-07-05 15:44:00 +02:00
silverqx
61e0349e44 dropped Clang v14 support 2024-07-04 11:54:34 +02:00
silverqx
c6e5f08841 renamed SHAREDLIB_EXPORT to TINYORM_EXPORT 2024-07-03 17:37:27 +02:00
silverqx
afe299e6b0 upgraded to MySQL v9.0
- workflows, tools, docs, qmake, CMake, ...
2024-07-03 16:52:11 +02:00
silverqx
49dd5a23a8 whitespaces 2024-07-03 08:28:37 +02:00
silverqx
a183a5e803 removed range-v3 from PCH
I don't know what I was thinking for, range-v3 is header only library.
2024-07-02 18:05:47 +02:00
silverqx
b629c29256 whitespaces 2024-07-02 17:46:33 +02:00
silverqx
118acd880d renamed all occurences toVector to toList 😎 (5)
Divided to 5 commits for simpler review.

Fifth commit:

 - renamed toVector() methods
 - updated all comments
 - also renamed toVectorVariantList() to toListVariantList() and
   attributesToVector() to attributesToList()

These methods must be renamed, they must be toList() because in the
future there can be toVector() method that will convert to
std::vector<>.

Also, all symbols described below which contain the word [Vv]ector will
not be renamed to [Ll]ist, the reason for this is that the QList<> is
vector and in the future when the QtCore dependency will be dropped 😮
this will be the std::vector<>. 😎

 - variable names that are of type QList<>
 - method names which are operating on the QList<>
 - comments like: Vector of attached models IDs.
2024-07-02 17:23:42 +02:00
silverqx
eab113cdee renamed all occurences of QVector to QList 😎 (4)
Divided to 5 commits for simpler review.

Fourth commit:

 - renamed QVector to QList everywhere else (what's left)
   - comments
   - test method names
2024-07-02 16:30:17 +02:00
silverqx
52cbb1c960 renamed all occurences of QVector to QList 😎 (2)
Divided to 5 commits for simpler review.

Second commit:

 - renamed QVector< to QList< (excluding auto tests)

OT: The worst part was to fix indents. 😄
2024-07-02 16:30:08 +02:00
silverqx
8a71078f18 renamed all occurences of QVector to QList 😎 (1)
Divided to 5 commits for simpler review.

First commit:

 - renamed #include-s
2024-07-02 16:30:00 +02:00
silverqx
a183f81fd2 throw on deprecated Qt::TimeSpec
Throw if the given qt_timezone value is deprecated Qt::TimeSpec.
2024-07-02 09:51:46 +02:00
silverqx
3ba13970d7 get rid of Helpers::qVariantTypeId()
Not needed anymore after Qt v5.15 support removed.

 - also removed PROJECT_TINYDRIVERS_PRIVATE compile definition, not
   needed anymore as well
2024-06-30 12:41:58 +02:00
silverqx
eda9df9f9e removed Qt v5 support since TinyORM v0.38.0 🎉🕺🙌
Removed Qt v5.15 support since TinyORM v0.38.0, finally.

Minimum required Qt version is now v6.2!

Day of celebration is today. 😁

 - removed all #if QT_VERSION macro checks
 - updated docs
 - workflows removed Qt v5 related pipelines
 - updated all comments
 - vcpkg removed tinyorm-qt5 port
 - updated Gentoo build
 - updated README.md Qt v5 badges
 - tools removed Qt v5 related scripts
 - tools updated deploy.ps1 script
2024-06-28 14:57:59 +02:00
silverqx
2156bd5272 orm updated comment 2024-06-28 10:21:26 +02:00
silverqx
46cfd4d7ea removed todo task and added comments 2024-06-28 09:24:55 +02:00
silverqx
e24064b7fd qmake moved all feature to private/ folder
Moved all features which aren't used through CONFIG+=xyz and are loaded
using the load(private/xyz) function to the qmake/features/private/
folder.

Currently, the qmake/features/ folder contains only features which
should be used using the CONFIG+= qmake variable.
2024-06-25 13:44:52 +02:00
silverqx
31b8e06a9c fixtypo compiler names
Everywhere cmake, qmake, docs, ...
2024-06-25 12:13:10 +02:00
silverqx
1c2f17facf removed deprecated up to Qt v6.9 (Qt::TimeSpec) 🎉
- removed using of QDateTime methods using plain Qt::TimeSpec
 - set QT_DISABLE_DEPRECATED_UP_TO to 0x060900 (also 0x061000 works)
 - maintained Qt v5 and <v6.5 code still 😬 (next step will be to drop
   Qt v5 🎉)
 - updated auto tests
 - updated docs
 - updated comments

See:
8c8d6ff7b6
2024-06-25 12:13:07 +02:00
silverqx
0af4d5f772 fixtypo 2024-06-19 19:28:59 +02:00
silverqx
20f4e02e4b added _VERSION_HEX and _VERSION_CHECK() C macros
Added to all version.hpp files for all project.

Eg. TINYORM_VERSION_HEX and TINYORM_VERSION_CHECK().

They can be used for version comparison like:
 - #if TINYORM_VERSION_HEX >= TINYORM_VERSION_CHECK(0, 37, 3)
2024-06-19 11:48:40 +02:00
silverqx
0301a52799 removed qt_windows.h from PCH 😬 2024-06-15 14:44:12 +02:00
silverqx
07513aa377 used utf8mb4_uca1400_ai_ci for MariaDB 2024-06-05 10:22:06 +02:00
silverqx
d7463181e3 qmake/cmake enhanced -Zi|-ZI replacement
- updated docs
2024-06-03 15:23:50 +02:00
silverqx
542b74505d cmake revisited/enhanced extern/inline constants
Everything was fixed in Clang v18, so extern constants are always
enabled by default on all platforms and for both shared/static build
types.

Clang <v18 has still custom patched logic to avoid compile errors and
crashes, but this logic will be removed soon.
2024-06-01 19:43:32 +02:00
silverqx
3028254399 drivers bugfix in PCH 2024-05-22 14:20:59 +02:00
silverqx
992429b44f greatly optimized PCH for Linux 2024-05-22 11:39:28 +02:00
silverqx
355008b135 greatly optimized PCH 2024-05-22 11:15:39 +02:00
silverqx
720b3f9e07 upgraded to MySQL v8.4
- docs
 - qmake auto-detection
 - tools
 - workflows

[skip ci]
2024-05-14 15:39:33 +02:00
silverqx
18d92da387 added free methods to DatabaseManager, DB, Schema
[skip ci]
2024-05-13 18:54:56 +02:00
silverqx
0c692f8ec9 bump version to TinyORM v0.37.3
Not bumped:

 - tom v0.9.1
 - TinyDrivers v0.1.1
 - TinyMySql v0.1.1
 - TinyUtils v0.4.1

Bugfix release
2024-05-05 14:53:01 +02:00
silverqx
8d835b0217 bump version to TinyORM v0.37.2 and tom v0.9.1
Also bumped to:

 - TinyDrivers v0.1.1
 - TinyMySql v0.1.1
 - TinyUtils v0.4.1

Bugfix release
2024-05-04 16:53:13 +02:00
silverqx
d8acf20324 orm bugfix use after move 2024-05-03 17:15:50 +02:00
silverqx
580df9cb1f fixed Clang Tidy and Clazy warnings 2024-05-03 17:15:49 +02:00
silverqx
552728a24b fixed Clang Tidy warnings for Qt v5
After #pragma system_header fixed.
2024-05-03 17:15:48 +02:00
silverqx
e28a7f066c revisited bugprone-exception-escape 2024-05-03 17:15:48 +02:00
silverqx
bab8d6fed4 whitespace 2024-05-03 17:15:47 +02:00
silverqx
f9d80a9aa7 fixed Clang Tidy warnings
After #pragma system_header fixed.
2024-05-03 17:15:40 +02:00
silverqx
00f6bdfd9a bugfix removed noexcept and const 2024-05-03 11:30:43 +02:00
silverqx
5fe543c5cb fixtypo 2024-05-03 11:30:40 +02:00