Uwe
e9bb9afc3b
[skip CI] [Path] fix typo
...
I just introduced
2022-06-19 18:43:50 +02:00
Uwe
1adff3f917
[Path] remove unnecessary Boolean comparisons
2022-06-19 17:28:08 +02:00
Chris Hennes
5f31fb74f6
Path: PR6497 move return statement to new line
2022-03-29 12:37:49 -05:00
wmayer
21404f319b
Path: fix assignment operator of CLine
...
* Assignment operator in class CLine should have return type CLine&. Otherwise a copy is created at each call.
2022-03-20 19:32:32 +01:00
Uwe
48b2c3da12
[Path] fix a typo
2022-03-12 02:24:44 +01:00
sliptonic
f43db33764
Merge pull request #6486 from mlampert/cleanup/black-formatting-pylint-removal
...
Cleanup/black formatting pylint removal
2022-03-01 08:17:34 -06:00
wmayer
2dc1a4c412
Mod: add string header to dxf.h
2022-03-01 15:13:34 +01:00
wmayer
831d569f52
Draft, Import, area: include iosfwd instead of iostream if forward declarations are sufficient
2022-03-01 12:37:00 +01:00
Markus Lampert
934b0aaa07
Consistent black formatting of all Path python files
2022-02-28 21:06:16 -08:00
wmayer
e211b89cf8
port to MSYS2/clang
2021-09-19 19:49:44 +02:00
Benjamin Nauck
991dbd75c5
[Path] Use std::shared_ptr instead of boost::shared_ptr
...
There's no need to use boost version when stl has support for shared_ptr
2021-03-06 19:32:03 +01:00
wmayer
13927b2465
[skip ci] Do not throw plain C string as exception
2021-02-06 15:52:21 +01:00
Patrick F
36526d7080
Added missing attribute
2021-01-02 01:46:28 +01:00
Mateusz Skowroński
2559f2d29c
Fix build warnings from deprecated Boost headers (they are used internally by Boost). Thanks @wwmayer for the hint.
2020-12-29 10:20:53 +01:00
Bryan Bendall
d6cd6f288f
Path: Added option for the finishing pass of the adaptive op
2020-12-18 08:03:42 -05:00
luz paz
b75cd3dd52
Path: Fix header uniformity and remove trailing whitespace
...
This PR fixes header uniformity across all Path files. It also removes all trailing whitespace.
2020-11-05 19:57:21 +01:00
wmayer
c3d35c65fe
dxf: [skip ci] Coverity: Buffer not null terminated
2020-09-14 14:37:20 +02:00
wmayer
47d570716c
LGTM: [skip ci] fix: Non-virtual destructor in base class
2020-07-24 19:30:12 +02:00
wmayer
433ec2d6e4
Coverity: Copied into fixed size buffer
2020-07-20 17:34:25 +02:00
wmayer
5919874437
Coverity: Invalid printf format string
2020-07-20 17:34:23 +02:00
wmayer
4ec45b545e
boost 1.73.0: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated
2020-06-12 17:51:33 +02:00
Gabriel Wicke
cc84287515
Path: Opt into automatic git newline normalization
...
Avoid spurious diffs from inadvertent newline changes by letting git
normalize newlines in the path module as well, just as a list of other
modules including Draft already do.
This effectively standardizes all checked-in code to Unix newlines, but
checkouts might use CRLF if that is the user preference.
2020-05-31 08:33:29 -07:00
luz.paz
cafed2a137
[skip ci] Fix typos in Path WB
...
Found via
```
codespell -q 3 -L aci,ake,aline,alle,alledges,alocation,als,ang,anid,ba,beginn,behaviour,bloaded,byteorder,calculater,cancelled,cancelling,cas,cascade,centimetre,childs,colour,colours,commen,connexion,currenty,dof,doubleclick,dum,eiter,elemente,ende,feld,finde,findf,freez,hist,iff,indicies,initialisation,initialise,initialised,initialises,initialisiert,ist,kilometre,lod,mantatory,methode,metres,millimetre,modell,nd,noe,normale,normaly,nto,numer,oder,orgin,orginx,orginy,ot,pard,pres,programm,que,recurrance,rougly,seperator,serie,sinc,strack,substraction,te,thist,thru,tread,uint,unter,vertexes,wallthickness,whitespaces -S ./.git,*.po,*.ts,./ChangeLog.txt,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/CXX,./src/zipios++,./src/Base/swig*,./src/Mod/Robot/App/kdl_cp,./src/Mod/Import/App/SCL,./src/WindowsInstaller,./src/Doc/FreeCAD.uml
```
2020-04-01 13:28:48 +02:00
luz.paz
379d041664
Fix typos and some trailing whitespace
...
Found via:
```
codespell -q 3 -L aci,ake,aline,alle,alledges,alocation,als,ang,anid,ba,beginn,behaviour,bloaded,byteorder,calculater,cancelled,cancelling,cas,cascade,centimetre,childs,colour,colours,commen,currenty,dof,doubleclick,dum,eiter,elemente,feld,freez,hist,iff,indicies,initialisation,initialise,initialised,initialises,initialisiert,ist,kilometre,lod,mantatory,methode,metres,millimetre,modell,nd,noe,normale,normaly,nto,numer,oder,orgin,orginx,orginy,ot,pard,pres,programm,que,recurrance,rougly,seperator,serie,sinc,strack,substraction,te,thist,thru,tread,uint,unter,vertexes,wallthickness,whitespaces -S ./.git,*.po,*.ts,./ChangeLog.txt,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/CXX,./src/zipios++,./src/Base/swig*,./src/Mod/Robot/App/kdl_cp,./src/Mod/Import/App/SCL,./src/WindowsInstaller,./src/Doc/FreeCAD.uml
```
2019-12-03 12:22:59 +01:00
asapelkin
f13a7627ae
used make_shared and make_unique for creating shared pointers
2019-11-21 18:51:43 +01:00
asapelkin
e951094af9
use emplace_back instead of push_back where justified
2019-11-21 14:48:09 +01:00
howetuft
4b5ca31149
Fix -Wclass-memaccess warning
...
Replace C-style memset with C++ value-initialization/assignment (smarter and safer: see https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#slcon3-avoid-bounds-errors )
2019-11-18 12:32:27 +01:00
howetuft
b858757bb2
Fix -Wdeprecated-copy warnings (rule of 5/3/0)
...
Fix -Wdeprecated-copy warnings in various places. Consists in enforcing
rule of five/three/zero (https://en.cppreference.com/w/cpp/language/rule_of_three )
mainly by deleting redundant copy constructors or copy assignment operators
that replicate default constructors/operators, or more rarely by adding
missing copy/move constructors/operators.
See also https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#c20-if-you-can-avoid-defining-default-operations-do
2019-10-20 17:02:17 +02:00
wmayer
a247b7e6a5
force strict ISO C++ (-Wpedantic)
...
for Drawing, Image, Inspection, Mesh, MeshPart, Part, Path, Points, Raytracing, ReverseEngineering, Spreadsheet, Start, Surface, Web
TODO: fix several -Woverflow in area
2019-09-18 11:32:42 +02:00
kreso-t
3a98f43e0e
PathAdaptive: Increased accuracy for small tools
2019-09-07 20:00:35 +02:00
luz.paz
f22ae848ea
Fix misc. typos, whitespace, and http:// to https:// issues
2019-09-03 11:11:43 -03:00
Zheng, Lei
d93259e238
Path changes
...
* Relaxed valid base shape requirement, as long as it can return a
shape using part.getShape()
* Improve ViewProviderPath performance by sharing the same selection
observer
* Relocate libarea binary installation
2019-08-17 15:15:48 +02:00
kreso-t
8a3434676d
PathAdaptive: bugfix
...
fix for "path to nowhere" that occurs on some enviroments
2019-07-23 23:07:34 +02:00
wmayer
85270f5cd3
Fix a couple of clang compiler warnings:
...
-Wunused-variable
-Winconsistent-missing-override
-Wdelete-non-virtual-dtor
-Wunused-private-field
-Wformat
2019-06-23 15:19:12 +02:00
wmayer
6462005da1
fix some compiler warnings
2019-05-26 14:35:09 +02:00
lo
04705812a3
cmake: manually add dynamic_lookup flag to area-target
2019-05-24 14:37:33 +02:00
lo
9369816f3c
cmake: add option to disable linking of python extension modules to python-libraries
2019-05-24 14:37:33 +02:00
MA-DEVELOP\apeltauer
473f7ff011
pybind11 mod
2019-04-04 23:37:12 +02:00
luz.paz
50c82c2b91
Misc. source comment typos
2019-03-22 10:44:14 -03:00
wmayer
f611102db3
PVS: V794 The assignment operator should be protected from the case of 'this == ...'
2019-03-13 12:38:46 +01:00
wmayer
8d8255981f
PVS: V730 Not all members of a class are initialized inside the constructor
2019-03-12 18:33:25 +01:00
wmayer
519849de89
fix -Wmaybe-uninitialized
2019-03-03 15:04:24 +01:00
wmayer
df3853738e
fix several Py3 issues
2019-01-03 18:11:37 +01:00
kreso-t
5eeff9d17f
Path: Adaptive - bugfix
...
fix for path cleaning, related to uncleared regions
2018-12-11 09:10:08 -03:00
wmayer
b8ed93605d
Fix scan coverity issues:
...
CID 184299: Null pointer dereferences (FORWARD_NULL)
CID 184297: Error handling issues (UNCAUGHT_EXCEPT)
CID 184296: Uninitialized members (UNINIT_CTOR)
CID 184292: Uninitialized members (UNINIT_CTOR)
2018-11-13 13:20:16 +01:00
Zheng, Lei
f2ddb64fa1
Path.Area: minor optimization
2018-11-06 12:02:12 -03:00
kreso-t
976e804e2c
Path: Adaptive - fix for path cleaning
...
- fix for side-effect introduced by last change
(completely collinear paths were filtered out)
2018-10-29 23:29:08 +01:00
kreso-t
c2f2db8b56
Path: Adaptive - finishing path improvements
...
- fixed bug in path cleaning (artifacts on the finish path)
- increased path discretization resolution
2018-10-29 10:28:54 -03:00
kreso-t
cc0dbb58e5
Path: Adaptive - adjustments to path smoothing
2018-10-04 16:23:20 +02:00
kreso-t
d1eb5f19a8
Path: Adaptive - Small adjustment to link path cleaning
2018-09-29 18:12:45 +02:00