Commit Graph

2000 Commits

Author SHA1 Message Date
silverqx
3007be5d51 unified See: vs See 2024-11-27 12:21:49 +01:00
silverqx
cb8ac08faa bugfix undeclared method 2024-11-23 10:20:11 +01:00
silverqx
d5d952c9c1 analyzers suppressed UBSan warning 2024-11-22 22:10:27 +01:00
silverqx
160375a179 macros added no_sanitize attribute 2024-11-22 22:10:25 +01:00
silverqx
3b3948b8dc utils moved enum struct down 2024-11-14 17:29:59 +01:00
silverqx
7399159390 utils enhanced splitStringByWidth()
Split a word only if there is more than 30% free space on the line.

 - reordered parameters, non-const references first
 - extracted logic to function
2024-11-14 17:29:58 +01:00
silverqx
9a54632a8d tom fixtypo 2024-11-14 15:28:14 +01:00
silverqx
2f9c9304e4 updated pch.h 2024-11-13 13:11:36 +01:00
silverqx
f91f5d76ff used constBegin/End() for Qt containers 2024-11-11 19:31:09 +01:00
silverqx
3098a5703b updated comment 2024-11-11 19:12:55 +01:00
silverqx
96ee7faba4 added comments 2024-11-11 17:07:54 +01:00
silverqx
6ef5e33a42 schema inlined statement
To avoid calling the std::move() and back().
2024-11-11 14:51:26 +01:00
silverqx
6920a6af8c schema revisited/enhanced argumentType/s()
- added comment
2024-11-11 14:31:32 +01:00
silverqx
36f64b5450 schema updated comments 2024-11-11 14:31:11 +01:00
silverqx
d12a522a07 schema removed unused struct 2024-11-11 14:30:25 +01:00
silverqx
f86c0c9d94 utils bugfix String::studly() 2024-11-11 11:44:26 +01:00
silverqx
a49d12eaf0 utils revisited/enhanced Helpers::tap() 2024-11-11 11:44:25 +01:00
silverqx
50ff59f2dd used actual types instead of auto
- changed from forwarding reference parameter to non-const lvalue
2024-11-11 11:10:59 +01:00
silverqx
5655e06ecf orm renamed local variable 2024-11-11 10:57:24 +01:00
silverqx
665ae7f04b orm added comment 2024-11-10 14:12:29 +01:00
silverqx
786af18fe9 prettified code, Clazy range-loop-detach
- suppressed Clazy warnings
 - nothing can detach in these cases as they are rvalues and references
   counter is always 1
 - it's false positive warning
2024-11-10 14:12:16 +01:00
silverqx
36edc5a6b7 forward declared some types 2024-11-10 13:48:58 +01:00
silverqx
e298c3365a added comments 2024-11-10 13:48:58 +01:00
silverqx
226805df0a revisited all std::move()/forward()
The order of parameter evaluation.
2024-11-10 13:48:58 +01:00
silverqx
4e99278911 used splitAtFirst() instead of split()
These are fixed edge cases:

 - option values ​​can now also contain the = character
 - orm select constraint column names can now also contain : character

Others:

 - renamed local variable
 - added splitAtFirst(QStringView) to MySqlUtils
2024-11-08 08:01:11 +01:00
silverqx
69cc6602c6 utils added splitAtFirst(QStringView) overload
- enhanced the QString overload
2024-11-07 23:33:37 +01:00
silverqx
915e6bee24 utils removed useless [[maybe_unused]] 2024-11-07 20:21:34 +01:00
silverqx
7898d2f2a9 utils added comment 2024-11-07 19:04:11 +01:00
silverqx
29feab00c1 utils refactored IsNothrowHashable 2024-11-07 10:17:16 +01:00
silverqx
c7e0b44123 utils removed const in declaration 2024-11-07 08:04:54 +01:00
silverqx
1d7ebc301b utils bugfix/revert Container::join()
- reverted forwarding reference
2024-11-07 08:04:36 +01:00
silverqx
35faa07859 orm added comment 2024-11-06 17:45:28 +01:00
silverqx
cf6b825409 schema added comments 2024-11-06 16:09:09 +01:00
silverqx
cf6c3b54f4 schema fixtypo 2024-11-06 16:06:21 +01:00
silverqx
d5df8424e9 orm removed useless Qt::CaseSensitive 2024-11-06 15:36:58 +01:00
silverqx
22dfd764ea revisited all split()
- used QStringView()
 - used first() and sliced() instead of split()
 - added comment
2024-11-06 15:30:40 +01:00
silverqx
5937378b3e utils added trim() QStringView overload
- extracted common code
 - added QString related concepts
2024-11-06 15:28:09 +01:00
silverqx
96125f1d6f schema bugfix moved statement to parent method 2024-11-06 13:20:11 +01:00
silverqx
f950e412ac orm made method static and noexcept 2024-11-06 13:15:54 +01:00
silverqx
10c0f98b9c orm fixtypo exception message 2024-11-06 13:14:33 +01:00
silverqx
8bef526238 orm removed useless check and exception 2024-11-06 13:13:38 +01:00
silverqx
214d480a7a orm added comment 2024-11-06 09:58:19 +01:00
silverqx
831e425bdb orm renamed local variable 2024-11-06 09:51:56 +01:00
silverqx
5e3d53efb4 orm renamed local variable 2024-11-06 09:50:09 +01:00
silverqx
ed5b1b04b9 revisited all const/ auto [ 2024-11-06 08:59:44 +01:00
silverqx
7020ad96aa orm bugfix removed const and order of execution 2024-11-05 18:10:49 +01:00
silverqx
093208fda5 orm added comment 2024-11-05 18:09:59 +01:00
silverqx
464c09cd0c revisited all Range-based for loop-s
- auto & vs const auto & vs auto &&
   - auto && used only when needed
 - added/removed const
 - added std:move()
 - removed std::forward()
 - used QStringView
 - added comments
 - removed MSVC C26800 warning suppression
2024-11-03 17:14:25 +01:00
silverqx
9dc0093e20 orm updated comments 2024-11-03 15:34:31 +01:00
silverqx
ea0e8be98c orm added comment 2024-11-02 13:34:03 +01:00