Commit Graph

1678 Commits

Author SHA1 Message Date
silverqx 9f4a7ec155 whitespaces 2024-03-20 14:42:41 +01:00
silverqx 780c81ef15 analyzers fixed/suppressed Clang Tidy warning
Suppressed for exception tag classes.

 - cppcoreguidelines-special-member-functions
2024-03-20 14:42:41 +01:00
silverqx 6433b1a606 analyzers suppressed Clang Tidy warning
- google-default-arguments
2024-03-20 14:42:41 +01:00
silverqx fb2f4cf0e3 fixtypo 2024-03-20 14:42:40 +01:00
silverqx 572b5a12d0 analyzers fixed Clang Tidy warning
- cppcoreguidelines-rvalue-reference-param-not-moved
2024-03-20 14:42:40 +01:00
silverqx 78bc14b6d8 analyzers fixed Clang Tidy warning
- cppcoreguidelines-rvalue-reference-param-not-moved
2024-03-20 14:42:40 +01:00
silverqx 51842b499d analyzers fixed Clang Tidy warning
- cppcoreguidelines-missing-std-forward
2024-03-20 14:42:40 +01:00
silverqx 50e0c809bc analyzers fixed Clang Tidy warning
- modernize-use-constraints
2024-03-20 14:42:39 +01:00
silverqx b2b357c26d orm removed useless static_cast<>-s 2024-03-20 14:42:39 +01:00
silverqx 88305a69f3 used const & instead of forwarding reference 2024-03-20 14:42:39 +01:00
silverqx 3412c2254e analyzers fixed/suppressed Clang Tidy warnings
- cppcoreguidelines-pro-type-const-cast
 - cppcoreguidelines-pro-type-reinterpret-cast
 - cppcoreguidelines-rvalue-reference-param-not-moved
 - performance-enum-size
2024-03-20 14:42:39 +01:00
silverqx 8da90c0233 whitespace 2024-03-19 09:16:24 +01:00
silverqx fe36aebc22 analyzers readability-redundant-member-init 2024-03-18 10:47:28 +01:00
silverqx b433fd8609 analyzers readability-redundant-inline-specifier 2024-03-18 10:34:31 +01:00
silverqx 2d85f9805e used QueryUtils::queryResultSize() everywhere
- checked for <= 0 because can return also -1
 - restore cursor position in QueryUtils::queryResultSize()
2024-03-06 19:47:44 +01:00
silverqx f8193cd06a orm renamed local variable 2024-03-06 19:42:01 +01:00
silverqx 6153b54295 orm bugfix record.count()
Materialize the record after the cursor was positioned on the valid row.
2024-03-06 14:17:27 +01:00
silverqx 8d5ca3803b orm added, revisited, fixed QTime
I completely revisited QTime, practically everything was touched as
prepared bindings, result sets, serialization, appends, casting.

 - added many new QTime related tests
 - added a new columns to migrations
 - updated seeder
 - added a new u_timeFormat data member for models
 - updated docs about u_timeFormat
2024-02-28 11:20:26 +01:00
silverqx c7cc8a7ada added comment 2024-02-27 14:29:38 +01:00
silverqx 1a45062a18 fixtypo 2024-02-27 14:28:25 +01:00
silverqx 3545c821f5 utils added NullVariant::QTime() 2024-02-27 13:21:10 +01:00
silverqx 2114fe014e updated comments
- also updated in docs
2024-02-25 16:50:10 +01:00
silverqx c953085191 updated comment 2024-02-24 13:44:32 +01:00
silverqx a48d6a4459 fixtypo and added Q_DECL_CONST_FUNCTION 2024-02-20 17:52:33 +01:00
silverqx 147736006a used shorter #if/ndef macros everywhere 2024-02-15 15:02:18 +01:00
silverqx 05e9f40bdf updated comments 2024-02-15 14:55:04 +01:00
silverqx 2c28cd842e removed using aliases (used using declaration)
- added/updated comments
2024-02-14 14:28:03 +01:00
silverqx 914a784250 added a new dummy_NONEXISTENT constant
- used it everywhere (tests only currently)
2024-02-13 20:48:02 +01:00
silverqx 5fef00c899 fixtypo 2024-02-13 18:29:06 +01:00
silverqx 75bf2dc409 fixtypo 2024-02-13 14:21:56 +01:00
silverqx a620535837 renamed methods 2024-02-09 17:02:06 +01:00
silverqx a65fe3b2d7 fixtypo 2024-02-07 16:30:21 +01:00
silverqx 7668d2e66c whitespaces 2024-02-06 12:17:28 +01:00
silverqx 111c927337 suppressed clazy warning 2024-02-05 16:27:50 +01:00
silverqx d1f8fc31ff tom added const and noexcept 2024-02-05 16:27:50 +01:00
silverqx 68cdf252e5 moved gathering C macros to LibraryInfo 2024-02-05 16:27:50 +01:00
silverqx 8444c189d6 added and used a new constants 2024-02-05 16:27:49 +01:00
silverqx bb25b421cf fixed clang warning 2024-02-05 16:27:49 +01:00
silverqx 5a661c1b93 extracted stringify C macro to own hpp file 2024-02-05 16:27:49 +01:00
silverqx 47ae29d263 docs upgraded to MySQL v8.3 2024-02-05 16:27:46 +01:00
silverqx 14f3169801 used c++17 style variable templates 2024-02-05 16:27:43 +01:00
silverqx 922b451388 fixtypo 2024-02-05 16:27:43 +01:00
silverqx c2afb3b54c orm added copy/move constructors/assign 2024-02-05 16:27:43 +01:00
silverqx 29f8abdaf6 whitespaces 2024-02-05 16:27:43 +01:00
silverqx 16789a32f1 orm enhanced Model::incrementOrDecrement()
- extracted common code
 - avoided to use invalid QSqlQuery
2024-02-05 16:27:41 +01:00
silverqx 062f859b5c avoided to use invalid QSqlQuery 2024-02-05 16:27:41 +01:00
silverqx d1444228de bugfix returned the current connection
Instead of an invalid connection.
2024-02-05 16:27:41 +01:00
silverqx 20c19a0e62 bugfix used the current connection for pretend() 2024-02-05 16:27:41 +01:00
silverqx ae2f1477b0 tests added binary (blob) tests
- added a new tst_Blobs functional test case that inserts
   binary()/text() and mediumBinary()/mediumText()
 - updated schema builder unit tests, added all supported binary types
 - updated migrations
 - added Lorem ipsum paragraphs generator
2024-02-05 16:27:41 +01:00
silverqx dbc46e8e3d schema added tiny, medium, long binary methods
- added a new schema constants for blob and bytea
 - fixed failing test after new changes
 - updated docs
2024-02-05 16:27:41 +01:00