Commit graph

119 commits

Author SHA1 Message Date
Roman Telezhynskyi 6ebd9e7033 Improve compatibility with Richpeace CAD. 2024-03-16 15:32:41 +02:00
Roman Telezhynskyi ed7f357a3c Pass expensive to copy object by reference to const. 2024-02-21 13:38:02 +02:00
Roman Telezhynskyi 2f53e38ad7 Add a using-declaration to derived class to inherit the constructors, and remove the ones manually duplicated. 2024-02-21 11:59:52 +02:00
Roman Telezhynskyi 587d7aadd4 Convert integer literal to a bool literal. 2024-02-21 11:58:57 +02:00
Roman Telezhynskyi 1249e1f2fc "empty()" or "isEmpty()" should be used to test for emptiness. 2024-02-21 11:48:58 +02:00
Roman Telezhynskyi faab23b0af Use auto. 2024-02-20 09:27:52 +02:00
Roman Telezhynskyi 2134f969a0 Use 'using' instead of 'typedef'. 2024-02-20 08:58:06 +02:00
Roman Telezhynskyi 643deeb521 Use auto to avoid duplicating the type name. 2024-02-20 08:58:06 +02:00
Roman Telezhynskyi 0adb49a427 Variable can be declared 'const'. 2024-02-20 08:58:06 +02:00
Roman Telezhynskyi 304ff66b06 Use the "nullptr" literal. 2024-02-19 11:24:10 +02:00
Roman Telezhynskyi 3b6aae076f Sonar warnings. 2024-02-14 11:57:42 +02:00
Roman Telezhynskyi 38dbbe29ba Minimal Qt version increased to Qt 5.15. Minimal C++ standard to C++17. 2024-01-23 15:57:29 +02:00
Roman Telezhynskyi 4f7c9fd59b Fix export to DXF AAMA/ASTM on Windows with Qt 6. 2024-01-16 20:12:41 +02:00
Roman Telezhynskyi ea57284c1c Forward declaration is not enough. 2024-01-13 08:29:42 +02:00
Roman Telezhynskyi af6b86fb97 Clang warnings. 2024-01-11 16:25:31 +02:00
Roman Telezhynskyi 6041dd52b6 Added support for notch data type dependency. 2023-11-20 15:15:58 +02:00
Roman Telezhynskyi 348b7c4e8a Refactoring.
Code style.
2023-11-20 13:28:31 +02:00
Roman Telezhynskyi f5256c514c libdxfrw. C++14 support 2023-11-20 12:23:56 +02:00
Roman Telezhynskyi d3846ba757 MSVC warnings. 2023-08-23 11:41:52 +03:00
Roman Telezhynskyi c5d1a4d778 Fix build. 2023-08-22 18:00:08 +03:00
Roman Telezhynskyi 904c18a7f9 Fix build. 2023-08-22 15:16:20 +03:00
Roman Telezhynskyi 5f091344fa Return libdxfrw internal text codec converter. 2023-08-21 19:13:47 +03:00
Roman Telezhynskyi c2fea54864 Port changes from libdxfrw mainstream. 2023-08-21 17:24:10 +03:00
Roman Telezhynskyi a5bf891d43 Increased requirement for minimal Qt version. 2023-08-12 12:03:28 +03:00
Roman Telezhynskyi baf4f1a08b Refactoring.
Code style.
2023-08-12 10:31:10 +03:00
Roman Telezhynskyi c8844853b5 do not include <ciso646> with C++20 2023-07-17 16:33:57 +03:00
Roman Telezhynskyi 254d32ff7f Optimize usage of defglobal.h. 2023-07-15 13:47:14 +03:00
Roman Telezhynskyi 03630fb273 Refactoring. 2023-05-03 14:07:08 +03:00
Roman Telezhynskyi 64acbfff4c Fix build with Qt 5.6 on Windows. 2023-04-08 09:58:22 +03:00
Roman Telezhynskyi 9cd31f1dd7 Fix notches. 2023-04-06 18:21:24 +03:00
Roman Telezhynskyi 433389b798 QScopedPointer::take() was deprecated since 6.1. 2023-04-03 13:44:20 +03:00
Roman Telezhynskyi 944d9e71e0 Fix compatibility with Richpeace DXF-AAMA/ASTM R12. 2023-04-01 15:03:34 +03:00
Roman Telezhynskyi 718f8bf75a Fix build on Windows. 2023-02-26 10:30:56 +02:00
Roman Telezhynskyi 04d2a1c631 Use QtCore/qcontainerfwd.h header for forward declaration containers. 2023-02-14 14:52:48 +02:00
Roman Telezhynskyi 787cfcfc16 Use QStringConverter to replace QTextCodec. 2023-02-13 19:47:51 +02:00
Roman Telezhynskyi 734e5d0d11 QVector and QStringList are now just aliases to QList. 2023-02-09 17:27:43 +02:00
Roman Telezhynskyi af8505f468 Remove Q_DISABLE_MOVE macro.
Q_DISABLE_MOVE was deprecated.
2023-02-09 17:24:29 +02:00
Roman Telezhynskyi 33b2fb5ed0 Fix GCC warnings. 2023-01-05 15:14:13 +02:00
Roman Telezhynskyi 4a89a0892f Introduce new macro Q_DISABLE_ASSIGN_MOVE. 2022-10-08 15:22:17 +03:00
Roman Telezhynskyi fb85ec4eec Inconsistent $MEASUREMENT/$INSUNITS variables. 2022-09-20 11:50:38 +03:00
Roman Telezhynskyi a13f13e3fc Refactoring.
Optimize includes.
2022-08-22 11:34:02 +03:00
Roman Telezhynskyi 003c9bf33f Fix build. 2022-08-17 15:51:35 +03:00
Roman Telezhynskyi 5b9c1b1d55 Port changes from mainstream. 2022-08-13 19:27:47 +03:00
Roman Telezhynskyi 0ab0edc654 Refactoring. 2022-08-12 18:50:22 +03:00
Roman Telezhynskyi 4e07172a6f Cppcheck warnings. 2022-08-08 15:25:14 +03:00
Roman Telezhynskyi 29bd9b6497 Implementation of C++14's make_unique for C++11 compilers. 2022-02-17 15:45:41 +02:00
Roman Telezhynskyi eae539dc4a Add missing header. 2022-02-17 14:44:53 +02:00
Roman Telezhynskyi 95e115faca make_unique available since C++14. 2022-02-17 13:04:51 +02:00
Roman Telezhynskyi 6f55659c16 Fix build. 2022-02-08 20:40:33 +02:00
Roman Telezhynskyi 5b3bcdf1af Remove unused DRW_Class::parseCode() method. 2022-02-07 14:55:31 +02:00