wmayer
48c6777d82
Points: include header with export macros
2022-03-24 20:46:47 +01:00
wmayer
d21a60b294
All: modernize C++11
...
* replace deprecated headers
2022-03-23 22:44:18 +01:00
wmayer
635534cb15
Measure: modernize C++11
...
* use nullptr
2022-03-23 19:26:15 +01:00
Uwe
c455d1a085
[Measure] remove unused file
2022-03-20 19:26:22 +01:00
Uwe
887fa15b01
[Measure] remove unused includes
2022-03-20 17:56:00 +01:00
Uwe
a012dc23a4
[Measure] remove Python.h from headers
...
is not necessary anymore
2022-03-20 17:41:04 +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
6c2e1a2d6e
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
c37698c3fc
Update CMakeLists.txt
...
Fix python include.
2022-02-05 17:59:20 +01:00
Dirk Olbrich
8cee8adf5f
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
4e5c852a9b
Modify Python checks when cMake >= 3.12
2021-03-06 21:11:34 +01:00
wmayer
56c608932f
Win: [skip ci] check if NOMINMAX is already defined before setting it
2020-11-11 13:34:42 +01:00
Zheng, Lei
e90d09dc40
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
31d1c1d212
fix warning
2019-05-03 18:20:36 +02:00
wandererfan
42316a91ef
Fix Error handling Measurement module
2019-04-26 06:36:56 -04:00
wmayer
0521860740
rename BUILD_uSE_PCH to FREECAD_USE_PCH to be consistent with other build options
2019-04-15 13:31:31 +02:00
wmayer
d11bfed7c6
Replace Base::Exception with appropriate subclass
2018-11-14 17:36:00 +01:00
wmayer
1fcfc8d00d
CMP0050: make Measure module aware of cmake policy
2018-08-20 14:31:54 +02:00
wmayer
0260370b65
+ add option to switch off precompiled header
2018-07-25 20:17:11 +02:00
WandererFan
d9b71fb754
LinkScope clean up
2017-12-31 14:54:05 +01:00
WandererFan
6d032f1bcf
Change links to Global scope
2017-10-02 13:48:45 -03:00
wmayer
e5b81c968d
Needs to increment returned object
2017-09-28 12:51:22 +02:00
wmayer
0d617f97d6
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
fa4bebf2e0
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
0192f2bf20
source typo fixes pt2 (only on py3 merged code)
2017-02-28 17:01:11 +01:00
wmayer
d6dec867f3
fix insecure implementation of debugprint
2017-02-21 14:01:26 +01:00
Yorik van Havre
5590acdfa5
py3: ported Measure and TechDraw
2017-02-21 13:59:30 +01:00
WandererFan
ac20b897c9
Copy/Paste error referencing Image WB
2017-02-07 10:51:42 -02:00
Yorik van Havre
bf0d37bf28
Doc: Fixes in doxygen docs for Draft,Arch, FEM
2016-11-17 17:04:09 -02:00
wmayer
d2d927e760
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
53f0649273
Allow True dimensions to reference multiple Parts
2016-11-07 17:20:20 -05:00
wmayer
c3087e75fd
fix -Wextra in Measure
2016-09-22 16:46:18 +02:00
wmayer
9d52b05888
fix Coverity issues
2016-08-19 22:51:33 +02:00
Wolfgang E. Sanyer
d1d2f1f811
This commit adds getShape and setShape to TopoShape
2016-08-06 23:42:55 +02:00
WandererFan
4a65c4f35e
Remove InitGui.py from measure
2016-07-11 15:32:16 +02:00
WandererFan
0319adeec7
wmayer patch for Win & OCC7 compat
2016-07-11 15:32:16 +02:00
WandererFan
621d570026
Preserve True/Projected state on save/restore
2016-07-11 15:32:16 +02:00
WandererFan
47599be2b6
change Dimension.ProjectionType -> MeasureType
2016-07-11 15:32:16 +02:00
WandererFan
49e4ce8306
Mod/Measure warnings
2016-07-11 15:32:16 +02:00
WandererFan
74f536c820
Add /Mod/Measure for TechDraw
2016-07-11 15:32:16 +02:00