Commit graph

30 commits

Author SHA1 Message Date
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 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 0db9e1f728 Class to handle plot settings object entries. 2021-11-23 14:43:26 +02:00
Roman Telezhynskyi 11a7fc2652 viewport - target xyz. 2021-11-23 13:16:58 +02:00
Roman Telezhynskyi a8d8fa0946 Modernize debugging. 2021-11-23 11:28:54 +02:00
Roman Telezhynskyi 642fbe815d Use ununordered_map instead of map
Should result in a performance boost when reading large files.
2021-11-23 11:15:11 +02:00
Roman Telezhynskyi c7fc0b8dcb Misc. typos 2021-11-22 18:44:44 +02:00
Roman Telezhynskyi 613502b392 Improve error handling for the dxf export. 2021-04-28 20:06:24 +03:00
Roman Telezhynskyi b756460da8 Cppcheck warning.
We don't need support for reading ASTM notches.
2020-03-15 13:43:18 +02:00
Roman Telezhynskyi 1b663bb5e1 Export pattern to DXF-ASTM. 2020-03-15 13:35:31 +02:00
Roman Telezhynskyi a214a78006 Continue replacing custom *_FALLTHROUGH macroses with Q_FALLTHROUGH().
--HG--
branch : develop
2019-03-27 13:31:02 +02:00
Roman Telezhynskyi 968996da86 It seems like mistake. ratio renamed to width.
--HG--
branch : develop
2018-07-16 19:55:37 +03:00
Roman Telezhynskyi 3970bbdbc0 Refactoring. Use QChar instead of QString where possible.
--HG--
branch : develop
2018-04-12 13:13:19 +03:00
Roman Telezhynskyi a9367f7ae6 Prevent memory leak.
--HG--
branch : develop
2017-07-27 21:04:13 +03:00
Roman Telezhynskyi cc0d6d994b Read layer settings for block from block's settings.
--HG--
branch : feature
2017-07-17 17:25:38 +03:00
Roman Telezhynskyi c84f7ef828 Up to R12 DXF allows not to define default layer "0".
--HG--
branch : feature
2017-07-17 17:19:49 +03:00
Roman Telezhynskyi 74035ddeeb Fix opening files in version R10.
AutoCAD complains about missed groups.

--HG--
branch : feature
2017-07-17 13:35:20 +03:00
Roman Telezhynskyi e56e59dec1 SonarQube warnings.
--HG--
branch : develop
2017-07-07 20:08:35 +03:00
Roman Telezhynskyi 2f98ec7c8a Fix memory leak.
--HG--
branch : develop
2017-07-07 18:11:48 +03:00
Roman Telezhynskyi 703c9f5f06 Clang warnings.
--HG--
branch : develop
2017-07-07 10:22:24 +03:00
Roman Telezhynskyi 5968ed27cc error "QT_WARNING_PUSH was not declared in this scope".
--HG--
branch : develop
2017-07-06 16:10:46 +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 1226db1735 Text now correctly converted due to hack. Saved to continue cleaning.
--HG--
branch : feature
2017-06-29 18:56:52 +03:00
Roman Telezhynskyi 0bb4280a02 Improvment libdxfrw to support font style.
--HG--
branch : feature
2017-06-29 13:01:28 +03:00
Roman Telezhynskyi d9353df43a Correct line types.
--HG--
branch : feature
2017-06-23 22:11:25 +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