Commit Graph

37 Commits

Author SHA1 Message Date
wmayer
1b9f30fe76 Draft: modernize C++11
* use nullptr
2022-03-23 19:26:15 +01:00
wmayer
0f9768fb33 Fix coverity issue:
* CID 332682: Resource leak
* CID 350607: Resource leak
* CID 332677: Resource leak
2022-03-14 11:35:04 +01:00
wmayer
4b415d1b37 Mod: add string header to dxf.h 2022-03-01 15:13:34 +01:00
wmayer
6ae3feedae Draft, Import, area: include iosfwd instead of iostream if forward declarations are sufficient 2022-03-01 12:37:00 +01:00
Roy
84b3003e8e Draft: Housekeeping: call 'make' functions with new name (4) 2022-02-20 22:31:08 -06:00
wmayer
e77c96ac18 Fix issue 0004791: DXF import fails for trivial circle 2021-11-24 18:27:21 +01:00
wmayer
9ce79bf3c7 Mod: fix warning [-Wmacro-redefined] 2021-09-14 22:57:17 +02:00
Roy-043
8b79dd5f44 Update dxf.cpp
Fixed wrong DXF scale factor for inches. 1/25.4 was wrongly used,
2020-11-09 12:35:14 +01:00
wmayer
1c9573e8d2 dxf: [skip ci] Coverity: Buffer not null terminated 2020-09-14 14:37:20 +02:00
wmayer
e079e7a7bb LGTM: [skip ci] fix: Non-virtual destructor in base class 2020-07-24 19:30:12 +02:00
wmayer
c4bb1ff762 Coverity: Copied into fixed size buffer 2020-07-20 17:34:25 +02:00
luz.paz
8cfa85cf18 Draft: [skip ci] Fix header uniformity
This PR fixes header uniformity across all Draft files
2019-12-27 00:16:12 +01:00
Bernd Hahnebach
8e09ea8a32 Draft: add gitattributes file to let git manage file endings and normalize them 2019-12-19 07:51:09 +01:00
wmayer
61eeca41e1 fix -Wmaybe-uninitialized 2019-03-03 15:04:24 +01:00
wmayer
31963f16c1 Fix scan coverity issues:
CID 184294: Uncaught exception
CID 183597: Unchecked return value
CID 175809: Dereference before null check
CID 175810: Logically dead code
CID 133000: Uninitialized scalar variable
CID 133001: Uninitialized scalar variable
CID 183591: Explicit null dereferenced
2018-11-13 16:47:58 +01:00
wandererfan
066a8b0b47 Point Draft importDXF to Mod/Import/ImpExpDxf
- also add "deprecated" message to DraftUtils.readDXF
2018-05-02 22:09:46 +02:00
luzpaz
f3bf8fe919 Misc. typos
+ some are doxy others are just comment code.  
+ some minor whitespace and grammatical tweaks. 
+ app/SCL/* typos have also been submitted upstream (https://github.com/stepcode/stepcode/pull/366). So it's ok to merge them in to master.
2017-10-04 17:59:11 +02:00
Yorik van Havre
1c259fa70b Draft: Better block handling in dxf import & export 2017-04-07 14:08:09 -03:00
hgutsche
201c9d89b0 Some fixes for doygen syntax errors and some configuration to make it run smoother under Windows 2017-02-28 18:52:04 +01:00
wmayer
d250cf40f5 py3: ported Draft to python3 2017-02-04 15:48:43 +01:00
Yorik van Havre
0e040fd6e0 Draft: Do not import non-instanciated blocks - fixes #2822 2016-12-31 15:48:01 -02:00
Yorik van Havre
834814521f Draft: Support elevation of LWPolylines in DXF importer 2016-09-26 22:18:45 -03:00
wmayer
6bcd112c4b fix -Wextra in Draft 2016-09-23 21:19:38 +02:00
Wolfgang E. Sanyer
d1d2f1f811 This commit adds getShape and setShape to TopoShape 2016-08-06 23:42:55 +02:00
Yorik van Havre
6d74c0edb6 Draft: Allow to scale imported DXF files - fixes #2557 2016-05-18 14:32:33 -03:00
wmayer
d1bc34441d + fix various gcc & clang warnings 2016-04-24 16:21:19 +02:00
wmayer
36d82133f1 + simplify porting of DraftUtils module to Python3 2016-01-20 11:57:59 +01:00
Yorik van Havre
197f77f4ef Draft: finished new DXF importer - fixes #2205 2016-01-04 18:01:34 -02:00
wmayer
e0bdf24c95 + fix build problems with MSVC and libpack 2015-09-21 14:51:12 +02:00
Yorik van Havre
873234a533 Draft: Prepared support for dimensions in new DXF importer 2015-09-04 16:05:32 -03:00
wmayer
db9a68feec + fix various warnings with VC++ 2015-09-01 12:50:10 +02:00
wmayer
4a176cbe29 + fix various warnings 2015-08-29 22:05:09 +02:00
Yorik van Havre
11070f42c0 Draft: Small fixes in the new DXF importer 2015-08-17 11:48:02 -03:00
Yorik van Havre
818f48a11d Draft: Added text support to new DXF importer - issue #2205 2015-08-13 10:06:43 -03:00
wmayer
9b066225c1 + fix include dirs for DraftUtils 2015-08-12 17:34:09 +02:00
Yorik van Havre
413b9f8c64 Draft: Added blocks support to the new dxf importer #2205 2015-08-12 10:23:55 -03:00
Yorik van Havre
279d156d30 Draft: Starting a C++ DXF importer - issue #2205 2015-08-10 19:55:59 -03:00