Chris Hennes
fa65438556
Core: Enable compiling with MSVC /permissive- ( #11014 )
...
* Base: Fixes for MSVC permissive-
* App: Fixes for MSVC permissive-
* Gui: Fixes for MSVC permissive-
* Main: Fixes for MSVC permissive-
* Fem: Fixes for MSVC permissive-
* Material: Fixes for MSVC permissive-
* Part: Fixes for MSVC permissive-
* Mesh: Fixes for MSVC permissive-
* Points: Fixes for MSVC permissive-
* Robot: Fixes for MSVC permissive-
* TechDraw: Fixes for MSVC permissive-
* Path: Fixes for MSVC permissive-
* Core; Changes per review comments
* TD: Revision from wandererfan
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-11-27 17:37:29 +01:00
Florian Foinant-Willig
939f30420c
Path: modernize type checking
2023-10-23 18:07:23 +02:00
sliptonic
06af8b2bd8
Merge pull request #10915 from xtemp09/path-fix2
...
[Path] Prevent division by zero
2023-10-12 07:11:25 -05:00
xtemp09
5e5f000c83
[Path] Prevent division by zero
...
Closes #8102 .
2023-10-03 13:07:52 +07:00
Chris Hennes
6d37ef6609
Merge pull request #10844 from ppphp/remove_redundant_definition
...
[cmake] some definitions do not matter now
2023-10-02 14:20:49 -05:00
wmayer
14683acbdc
Path: fix -Wunused-parameter
...
Several methods declare to support keyword arguments but then don't use them
2023-09-30 22:32:01 +02:00
wmayer
a14a6aa2dd
Path: fix -Wunused-but-set-variable
2023-09-30 22:31:46 +02:00
liukaiwen
4f8fe8fd4a
[cmake] some definitions do not matter build now
2023-09-27 18:17:14 +08:00
Chris Hennes
68adfdf98c
Path: Wrap PyArg_ParseTupleAndKeywords
2023-08-25 15:34:26 -05:00
sliptonic
9cc7a5afd9
Merge pull request #9782 from davidgilkaufman/restMachining
...
Rest Machining for Path and Path3D Operations
2023-08-21 11:13:01 -05:00
Jonas Bähr
3e68d6fd50
Remove C++ escaping from *Py.xml templates
...
Now all escaping required for the C++ code generation is done when the
.cpp/.h files are generated. Previously, only newlines were escaped
automatically. This was a) inconsistent and b) leaked c++ details into
the xml data.
In addition, the escaping is now done in one central place, harmonizing
the three previous implementations.
Pre-existing c++ escape sequences in the XML files have been replaced by
their literal equivalent so that the resulting python doc sting remains
unchanged.
2023-08-16 13:17:25 +02:00
wmayer
0af4990817
modernize C++: make unique
2023-08-07 19:51:30 -06:00
wmayer
2a88c7c7df
modernize C++: use bool literals
2023-08-06 01:35:39 +02:00
wmayer
4366128cc4
Path: modernize C++: use override
2023-08-04 17:09:53 +02:00
David Kaufman
1183fc4727
Path: Rest machining feature for Pocket and Pocket3D
2023-07-21 09:03:26 -04:00
luzpaz
13f79ab6df
Fix typos
2023-07-17 16:08:05 -05:00
luzpaz
129d5882a7
Migrate domain name from freecadweb to freecad ( #9352 )
...
* Migrate domain name from freecadweb to freecad
* Migrate src/Mod/Material files
* Migrate Stylesheet related files
* Migrate *.svg files
* Migrate miscellaneous files
* Migrate some build files
* Migrate recently added TD AR_IRAM template files
Closes #6415
2023-04-24 15:19:20 -05:00
J-Dunn
06a2a29e86
Path: make 3Dview G99 aware
2023-04-06 12:02:48 +02:00
Uwe
c1ed520bb4
[Path] App: remove unused files from PreCompiled.h
2022-12-14 05:32:44 +01:00
Uwe
960ace8034
[Path] improve PreCompiled.h handling
2022-12-07 19:51:19 +01:00
Uwe
423c330534
[Path] improve PreCompiled.h handling
2022-12-07 19:51:19 +01:00
Uwe
75dc8f9410
[Path] A-F: remove unused includes
...
- also some sorting
2022-12-04 19:48:46 +01:00
Uwe
836c1be75d
[Path] P-End: remove unused includes
...
- also some sorting
2022-12-04 18:47:50 +01:00
luz paz
5847c4e95e
Path: fix header uniformity
2022-11-30 01:30:09 +01:00
luz paz
7a8a453746
Path: remove trailing whitespace
2022-11-18 00:01:25 +01:00
Markus Lampert
847d54bbfd
Fix Path::Feature object check
2022-10-11 21:43:09 -07:00
Markus Lampert
29a7dc144e
Removed deprecated and obsolete Path.Tool and Path.Tooltable
2022-10-11 21:43:08 -07:00
Markus Lampert
4fe2058081
Renamed Path c++ python module to PathApp
2022-10-11 21:43:08 -07:00
Uwe
880757c04c
[Path] Area.cpp: remove redundant nullptr check
2022-10-03 04:22:40 +02:00
marioalexis
f4423cfabe
Path: Replace C cast
2022-09-18 11:06:51 -05:00
wmayer
55bfdfb6d7
Path: modernize C++: replace 'typedef' with 'using'
2022-08-29 22:21:01 +02:00
berniev
6953310116
Mod: Single arg ctors must be explicit
2022-08-24 16:55:20 +02:00
Jonas Bähr
a1776d3e74
Fix build on MacOS-X 10.14: missing Xerces include dir
...
This undoes most of the Xerces related part of the commits listed below.
The issue resolved here is that the Xerces include dir *is* set in the
CMakeLists.txt of src/Base, but it got removed from various App and Gui
dirs in src/Mod. If those now include a header from src/Base, which
itself includes xercesc, the build fails using Apple clang version 11.0.0
(clang-1100.0.33.17) on Mojave, configured using cmake 3.22.1, with
errors like the following:
In file included from .../src/Mod/Part/App/FeaturePartBoolean.cpp:34:
In file included from .../src/App/Application.h:33:
.../src/Base/Parameter.h:54:10: fatal error: 'xercesc/util/XercesDefs.hpp' file not found
#include <xercesc/util/XercesDefs.hpp>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
Finally, a full list of the commits that introduced this spurious include
dir optimization for reference:
- Drawing: commit 96ad045b91
- Image: commit dde71a21d5
- Import: commit c9d28b542f
- Inspection: commit d41f55f382
- Mesh: commit 19072b0538
- Part: commit fe213a48f0
- PartDesign: commit b037d8e240
- Path: commit f23fa31f42
- Points: commit bec723ba17
- Raytracing: commit 08d4ac63a3
- ReverseEnginering: commit 5ca787cb0e
- Robot: commit bad4809a1c
- Sketcher: commit 3c96daf105
- Spreadsheet: commit 66e8a2bef3
- Start: commit c9dee5e70a
- Surface: commit 6b04215be6
- TechDraw: commit 5e6699e48d
- Test: commit ea5b45b92c
- Web: commit ee6d631531
2022-08-24 07:40:04 +02:00
wmayer
5014bab534
Mod: replace std::ifstream/std::ofstream with Base::ifstream/Base::ofstream
2022-08-21 12:46:53 +02:00
wmayer
2062f9ce87
clang: fix warnings [-Winconsistent-missing-override]
2022-08-09 17:36:25 +02:00
berniev
ddafb98813
Mod: Use override etc 2
2022-08-09 12:52:26 +02:00
berniev
da9ebc572f
Mod: redundant void 2
2022-08-08 10:27:50 +02:00
berniev
b796a0d376
Mod: use empty
2022-08-06 19:30:13 +02:00
berniev
2d4c5a4cfb
Mod: use emplace_back
2022-08-05 10:36:16 +02:00
Markus Lampert
729c24b0f1
Moved voronoi classes into Path.Voronoi module.
2022-08-02 13:32:25 -07:00
Markus Lampert
79021f4913
Renamed python class Voronoi to VoronoiDiagram
2022-08-02 13:32:25 -07:00
Markus Lampert
2ea498874f
Added borderline interface to voronoi edge
2022-08-02 13:32:25 -07:00
wmayer
832717e446
Path: [skip ci] Fix several clazy issues:
...
* Missing reference in range-for with non trivial type [-Wclazy-range-loop-reference]
2022-07-25 12:21:32 +02:00
Uwe
88a06f8f10
Mod: remove some unnecessary nullptr checks
2022-07-18 12:58:12 +02:00
Uwe
c35579227b
[Path] remove superfluous nullptr checks
2022-07-18 02:52:48 +02:00
sliptonic
6d81f31f11
Additional changes to support G73
2022-07-16 11:30:16 -05:00
wmayer
343aadf02b
Path: replace PyObject_IsTrue with Base::asBoolean
2022-07-16 12:44:38 +02:00
sliptonic
f4f37ecdd1
G38 fixes for probe visualization per mlampert
2022-07-12 12:22:36 -05:00
andrea
1021098106
remove unused boost files
2022-07-01 03:18:36 +02:00
andrea
93525ff7eb
removed references to OCC<7
2022-06-25 14:29:24 +02:00