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
faab23b0af
Use auto.
2024-02-20 09:27:52 +02:00
Roman Telezhynskyi
0adb49a427
Variable can be declared 'const'.
2024-02-20 08:58:06 +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
348b7c4e8a
Refactoring.
...
Code style.
2023-11-20 13:28:31 +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
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
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
33b2fb5ed0
Fix GCC warnings.
2023-01-05 15:14:13 +02: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
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
6a219c5ed4
Port set version bug from solvespace fork and cleanup version handling in DRW_TextCodec.
...
One of the most intrusive changes in QGIS' fork was that the debugging code was replaced with hardcoded changes to redirect the output to QGIS' internal logging mechanism. In this PR I've setup an interface to allow clients to create custom output debugging classes and assign these to be used by the library.
This will allow me to remove all the related downstream changes in QGIS' fork and re-sync these files back to upstream.
Interface for debug printers.
2021-11-23 13:12:11 +02:00
Roman Telezhynskyi
a8d8fa0946
Modernize debugging.
2021-11-23 11:28:54 +02:00
Roman Telezhynskyi
c51d9d5b30
More modernization and cleanups.
2021-11-22 19:28:51 +02:00
Roman Telezhynskyi
c7fc0b8dcb
Misc. typos
2021-11-22 18:44:44 +02:00
Roman Telezhynskyi
2ffda9a073
Introduce *_MARK_NONFINAL_CLASS and *_MARK_NONFINAL_METHOD macroses to suppress GCC warning Wsuggest-final-types.
2021-09-25 11:43:05 +03:00
Roman Telezhynskyi
2bb95154cd
Fix Tape crash.
2021-02-06 15:52:21 +02:00
Roman Telezhynskyi
80d9fbc107
New function Warning.
2020-11-20 13:18:38 +02:00
Roman Telezhynskyi
4cea74d63b
Loading measurements in Valentina.
2020-10-15 18:05:21 +03:00
Roman Telezhynskyi
e619fdc80c
Fix build.
...
--HG--
branch : develop
2020-01-20 13:16:38 +02:00
Roman Telezhynskyi
24e50455b0
Improve conversion for dxf file export.
...
We never checked if it really works. And it doesn't in many cases. Not always
Qt recognizes standard ANSI_* names as valid aliases for codepages. Because
codec itself can have many aliases we will test them one by one until one will
fit.
--HG--
branch : develop
2020-01-16 14:10:49 +02:00
Roman Telezhynskyi
110aa16650
Show warning if no available codec for code page when export in dxf.
...
--HG--
branch : develop
2020-01-11 12:04:31 +02:00
Roman Telezhynskyi
63b1eb8068
Cppcheck warning 'missingOverride'.
...
--HG--
branch : develop
2018-06-26 15:53:48 +03:00
Roman Telezhynskyi
703c9f5f06
Clang warnings.
...
--HG--
branch : develop
2017-07-07 10:22:24 +03:00
Roman Telezhynskyi
9ff99ab357
Clang warning.
...
--HG--
branch : develop
2017-07-06 19:07:53 +03:00
Roman Telezhynskyi
9a074266b9
Completely disable warning Wstack-protector.
...
--HG--
branch : develop
2017-07-06 15:45:58 +03:00
Roman Telezhynskyi
21e9719954
Fix error "QT_WARNING_PUSH does not name a type".
...
--HG--
branch : develop
2017-07-06 15:08:34 +03:00
Roman Telezhynskyi
f701cc95f9
Suppress GCC's warning Wstack-protector.
...
--HG--
branch : develop
2017-07-06 14:49:49 +03:00
Roman Telezhynskyi
365f971d5f
Fix building tests.
...
--HG--
branch : develop
2017-07-06 14:26:42 +03:00
Roman Telezhynskyi
490ccbe60a
Remove dwg support.
...
--HG--
branch : develop
2017-07-06 14:10:14 +03:00
Roman Telezhynskyi
e6eb9c756b
Cppcheck warnings.
...
--HG--
branch : develop
2017-07-06 12:58:26 +03:00
Roman Telezhynskyi
1726b55339
GCC warnings.
...
--HG--
branch : develop
2017-07-05 19:35:34 +03:00
Roman Telezhynskyi
22b448f98d
Fixed text conversion.
...
--HG--
branch : feature
2017-06-29 20:03:35 +03:00
Roman Telezhynskyi
388bad3535
Merged changed from SolveSpace's independent fork of libdxfrw.
...
--HG--
branch : feature
2017-06-21 14:54:17 +03:00
Roman Telezhynskyi
47265a515b
Added library libdxfrw.
...
--HG--
branch : feature
2017-06-20 11:40:39 +03:00