Commit Graph

56 Commits

Author SHA1 Message Date
liukaiwen
4f8fe8fd4a [cmake] some definitions do not matter build now 2023-09-27 18:17:14 +08:00
wmayer
a3057e946b Mod: modernize C++: use equals default 2023-08-22 11:16:49 +02:00
luzpaz
729685316e Fix trailing whitespace, typos, headers
Fix trailing whitespace, typos, and header uniformity.
2023-01-23 00:34:37 +01:00
wandererfan
aeeb62d204 [Measure]fix angle returns supplementary value 2023-01-07 16:32:03 -05:00
Uwe
561bb7f747 [Measure] : remove unused headers 2022-12-14 03:53:30 +01:00
wandererfan
ad2de02d0c [Meas]handle long subElement names in reference 2022-12-02 14:19:53 -05:00
luz paz
95d89622de Fix header uniformity for various workbenches/directories
Also includes some trailing whitespace fixes
2022-11-29 04:48:57 +01:00
Uwe
424cd1d319 [Measure] remove a unused include
- also some sorting
2022-11-23 03:50:45 +01:00
wandererfan
075cbb64f0 [Measurement]apply globalPlacement to geometry 2022-11-14 16:38:06 -05:00
wandererfan
92819be7fd [Measurement]support for 3 point angle 2022-11-04 08:28:13 -04: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
2d4c5a4cfb Mod: use emplace_back 2022-08-05 10:36:16 +02:00
Uwe
49f707e885 [Measure] Measurement.cpp: add missing include 2022-07-03 21:38:52 +02:00
Uwe
6fb7f614c7 [Part] Pa* to Pre*: remove unneeded includes
- also sort includes
2022-07-03 20:47:03 +02:00
wmayer
924d779fc7 Points: include header with export macros 2022-03-24 20:46:47 +01:00
wmayer
97330443a2 All: modernize C++11
* replace deprecated headers
2022-03-23 22:44:18 +01:00
wmayer
b5c71395f1 Measure: modernize C++11
* use nullptr
2022-03-23 19:26:15 +01:00
Uwe
ee0b9be87c [Measure] remove unused file 2022-03-20 19:26:22 +01:00
Uwe
ccc5198815 [Measure] remove unused includes 2022-03-20 17:56:00 +01:00
Uwe
00ffc38850 [Measure] remove Python.h from headers
is not necessary anymore
2022-03-20 17:41:04 +01:00
wmayer
0054cbddaa Fix coverity issue:
* CID 332682: Resource leak
* CID 350607: Resource leak
* CID 332677: Resource leak
2022-03-14 11:35:04 +01:00
wmayer
032cea587d Base: implement a lightweight smart pointer for PyObject like Py::Object to reduce includes of Python.h in header files 2022-03-04 15:51:51 +01:00
mosfet80
2746035850 Update CMakeLists.txt
Fix python include.
2022-02-05 17:59:20 +01:00
Dirk Olbrich
089d5abb6f Fixes Xercesc include, harmonize XercesC_INCLUDE_DIRS statement (#4960)
* fix: typo for XERCESC_INCLUDE_DIRS

* fix: harmonize XercesC_INCLUDE_DIRS capitalization
2021-08-16 22:57:34 -05:00
Chris Hennes
7bbff520a0 Modify Python checks when cMake >= 3.12 2021-03-06 21:11:34 +01:00
wmayer
b7f9e351c5 Win: [skip ci] check if NOMINMAX is already defined before setting it 2020-11-11 13:34:42 +01:00
Zheng, Lei
d26f772035 TechDraw: Link related changes
* Support link and group objects

* Support view sync by implementing view provider API getMDIView()

* Use handleChangedPropertyType() for object migration instead of
  reimplementing Restore() because of a lots of changes in
  PropertyContainer::Restore().

* Various other small fixes.
2019-08-17 15:15:46 +02:00
wmayer
c373a58746 fix warning 2019-05-03 18:20:36 +02:00
wandererfan
1af80236fc Fix Error handling Measurement module 2019-04-26 06:36:56 -04:00
wmayer
cd4269e6af rename BUILD_uSE_PCH to FREECAD_USE_PCH to be consistent with other build options 2019-04-15 13:31:31 +02:00
wmayer
c5a5eb6a83 Replace Base::Exception with appropriate subclass 2018-11-14 17:36:00 +01:00
wmayer
8d4953ad8f CMP0050: make Measure module aware of cmake policy 2018-08-20 14:31:54 +02:00
wmayer
d3ef6905ff + add option to switch off precompiled header 2018-07-25 20:17:11 +02:00
WandererFan
76373b2c6a LinkScope clean up 2017-12-31 14:54:05 +01:00
WandererFan
6b922acdd5 Change links to Global scope 2017-10-02 13:48:45 -03:00
wmayer
111dd2127c Needs to increment returned object 2017-09-28 12:51:22 +02:00
wmayer
949c86d364 Port to occ7.2:
+ Standard_Failure::Caught() is now marked as deprecated and should be replaced with standard C++ exception handling
2017-09-01 16:27:46 +02:00
Peter Lama
a75a98ef27 Use OCCT Handle macro for Handle_ classes
This is the result of running OCCT's upgrade script provided
with OCCT 7.0. See
https://www.opencascade.com/content/freecad-occt710-and-windows-rtti-data-missing#comment-form
and
https://www.forum.freecadweb.org/viewtopic.php?f=4&t=21405&start=120#p169019
for why this is necessary for OCCT >= 7.1
2017-04-20 12:27:34 +02:00
Kunda
0485edd560 source typo fixes pt2 (only on py3 merged code) 2017-02-28 17:01:11 +01:00
wmayer
e76870173b fix insecure implementation of debugprint 2017-02-21 14:01:26 +01:00
Yorik van Havre
e13d4a7882 py3: ported Measure and TechDraw 2017-02-21 13:59:30 +01:00
WandererFan
0a05394581 Copy/Paste error referencing Image WB 2017-02-07 10:51:42 -02:00
Yorik van Havre
af97583026 Doc: Fixes in doxygen docs for Draft,Arch, FEM 2016-11-17 17:04:09 -02:00
wmayer
17c8b2c813 performance improvements
+ use const-reference as argument to avoid tmp. copy
+ use prefix incremation operator instead of postfix increment operator
2016-11-08 13:51:22 +01:00
WandererFan
256c5ed198 Allow True dimensions to reference multiple Parts 2016-11-07 17:20:20 -05:00
wmayer
65bcaf4b6e fix -Wextra in Measure 2016-09-22 16:46:18 +02:00
wmayer
de7978434d fix Coverity issues 2016-08-19 22:51:33 +02:00
Wolfgang E. Sanyer
7f4a437cc2 This commit adds getShape and setShape to TopoShape 2016-08-06 23:42:55 +02:00