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
Roman Telezhynskyi
adea504bc1
protect vector<>.reserve() calls
...
Malformed or suspicious input files can cause std::exceptions by
vector<>.reserve() calls. Now they are caught to avoid crashes or other
vulnerabilities.
2022-02-07 14:52:41 +02:00
Roman Telezhynskyi
1639603551
Added NULL check for hatch code 93.
2022-02-07 11:49:20 +02:00
Roman Telezhynskyi
f28660e0ea
Clang warnings.
2021-11-24 14:50:31 +02:00
Roman Telezhynskyi
612306bbd8
Cppcheck warning.
2021-11-24 14:25:47 +02:00
Roman Telezhynskyi
b9958e9953
fixed LibreCAD 2 issue #1371 , read failed with binary DXF
2021-11-23 14:48:30 +02:00
Roman Telezhynskyi
0db9e1f728
Class to handle plot settings object entries.
2021-11-23 14:43:26 +02:00
Roman Telezhynskyi
c6bd3ae727
Fix typo.
2021-11-23 13:21:24 +02:00