Commit Graph

999 Commits

Author SHA1 Message Date
silverqx
e74286585f suppressed Clang Tidy warnings (Clang v19) 2024-09-13 09:10:35 +02:00
silverqx
0c117500eb used std::ranges::copy() 2024-09-12 13:16:57 +02:00
silverqx
a372614dcd fixtypo 2024-09-12 12:47:26 +02:00
silverqx
43e0968b33 fixtypo 2024-09-12 11:27:45 +02:00
silverqx
53e206f18b fixtypo 2024-09-11 21:00:13 +02:00
silverqx
59525446fd schema formatting 2024-09-10 10:54:24 +02:00
silverqx
f869cbd4de bugfix forgotten ) character 2024-09-08 20:24:49 +02:00
silverqx
e69537996a used raw string literal where needed 2024-09-08 20:23:32 +02:00
silverqx
9d813eb973 used EMPTY constant instead of "" 2024-09-08 15:16:53 +02:00
silverqx
20d69fd7d8 schema formatting 2024-09-08 12:56:00 +02:00
silverqx
357a320999 added support for QT_LEAN_HEADERS
See: https://github.com/qt/qtbase/commit/fb0c7a9956824fbc
2024-09-06 18:06:05 +02:00
silverqx
295aa094c8 added IWYU pragma-s 2024-09-06 08:50:45 +02:00
silverqx
f8877aee8a constants fixtypo 2024-09-05 17:42:40 +02:00
silverqx
f0c002ce68 constants whitespaces 2024-09-05 17:42:40 +02:00
silverqx
88a99af126 used EMPTY constant everywhere
Instead of "", u""_s, or QLatin1String("") as it's fastest.

Used u""_s for rvalue references like QString &&name = u""_s.

The only place where I left the = "" is in
connectionresolverinterface.hpp as it's only an interface aka abstract
class.

 - fixed #include-s
 - added EMPTY constant to tomconstants to avoid including constants.hpp
2024-09-05 17:42:40 +02:00
silverqx
f74327dc11 used EMPTY constant instead of QLatin1/String("") 2024-09-05 17:42:39 +02:00
silverqx
fd7d6daa8c fixed using-s order 2024-09-05 17:42:39 +02:00
silverqx
7bd07bee94 analyzers changed some suppressions to NOLINT() 2024-09-05 17:42:39 +02:00
silverqx
6136db04dd orm formatting in Tiny exceptions 2024-09-05 17:42:39 +02:00
silverqx
f49a2ab96c removed useless #include 2024-09-05 17:42:39 +02:00
silverqx
8b1f42d17a fixtypo 2024-09-05 17:42:38 +02:00
silverqx
a7dac44ee8 optimized using Qt::StringLiterals
Exposed the Qt::StringLiterals::operator""_s/_L1 to the Orm namespace
in the top/first #include-ed files like constants_inline/extern.hpp so
they are visible everywhere to avoid manually exporting them everywhere.
2024-09-05 17:42:38 +02:00
silverqx
0836e392c9 added IWYU pragma-s 2024-09-05 17:42:38 +02:00
silverqx
f67fb63a57 whitespaces 2024-09-05 17:42:38 +02:00
silverqx
1488a43793 used u'' instead of ''_L1 everywhere
It's a little faster and QChar(char16_t) constructor is implicit.
2024-09-05 17:42:38 +02:00
silverqx
9a2e6b8ae7 added UnixTimestamp 'U' constant 2024-09-05 17:42:37 +02:00
silverqx
c009c4b422 added constants
To avoid the using namespace Qt::StringLiterals.
2024-09-05 17:42:37 +02:00
silverqx
392072fe39 schema added constants 2024-09-05 17:42:37 +02:00
silverqx
06a4ecd73e finished literals in all constant files
- used QChar(u'') instead of ''_L1 and QLatin1Char()
 - used u""_s for EMPTY as it's fastest
 - enhanced using/importing literal namespace
 - used u""_s in all hpp files
2024-09-02 12:16:04 +02:00
silverqx
25a66a9fc0 perf used ""_L1 2024-09-02 10:29:18 +02:00
silverqx
ab2b87da79 added const for local variable 2024-09-02 10:29:18 +02:00
silverqx
b2ce629109 fixtypos 2024-09-02 10:29:17 +02:00
silverqx
f0e93944b7 schema whitespace 2024-09-02 10:29:17 +02:00
silverqx
2b5086aab9 used u""_s, ""_L1, and ''_L1 in all cpp files
Instead of QStringLiteral() and QLatin1String/Char().
2024-09-02 10:29:17 +02:00
silverqx
889a97cf3b used u""_s in all constant cpp files 2024-09-02 10:29:17 +02:00
silverqx
8625007422 perf used ""_L1 for comparisons 2024-09-01 13:46:41 +02:00
silverqx
fb7a9326ec used u""_s instead of sl() everywhere
- removed all sl() macros
2024-09-01 13:30:22 +02:00
silverqx
0e4e0ab860 added constant for added_on 2024-08-30 12:53:17 +02:00
silverqx
175b740bf7 whitespace 2024-08-14 00:51:45 +02:00
silverqx
11ff6da984 used for-ranged loop 2024-08-14 00:51:45 +02:00
silverqx
ab527d5f04 used reverse iterators instead of reverse view 2024-08-12 21:05:20 +02:00
silverqx
13e885cd89 bugfix in String::snake() 2024-08-12 19:29:53 +02:00
silverqx
b4a037e6a0 bugfix death code branch 2024-08-06 21:01:01 +02:00
silverqx
b58158e876 revisited all Q_UNREACHABLE() 😰
I have a weird feeling that I will have to return to this again. :/
These unreachable macros scares me. :/
2024-08-06 21:00:56 +02:00
silverqx
65507702a7 fixtypo 2024-08-03 18:40:02 +02:00
silverqx
370d3c822b bugfix missing break 2024-08-03 18:39:59 +02:00
silverqx
c81d9da2c4 suppressed VS analyzer warnings 2024-08-03 18:39:54 +02:00
silverqx
e21b826566 whitespaces 2024-08-01 12:49:05 +02:00
silverqx
c2c6e16a8f used QStringLiteral() 2024-07-30 18:02:44 +02:00
silverqx
7f897b339e renamed all getQtQuery and similar to getSqlQuery
These methods had a wrong names after the TinyDrivers were added as
all can return QSqlXyz or Orm::Drivers::SqlXyz instances.

Changing Qt to Sql covers both cases.

 - updated auto tests
 - updated docs
2024-07-28 15:53:02 +02:00