Commit Graph

23 Commits

Author SHA1 Message Date
wmayer
6f5259af26 App: Apply clang format (part 1) 2024-11-21 07:54:24 +01:00
berniev
b6cae3bfdf App: Modernise ctors dtors defs etc 2022-08-01 00:34:46 +02:00
berniev
85170b2879 remove redundant void 2022-07-31 10:27:44 +02:00
Uwe
09ce5ce137 [App] Document: remove unused includes 2022-02-23 01:56:26 +01:00
luz paz
84553bf191 App: Fix header uniformity, trailing whitespace, and doxygen headers 2020-11-19 13:38:37 +01:00
wmayer
d7a659f7d6 DocumentObjectGroup: do not touch group on child change 2019-10-20 15:53:35 +02:00
Stefan Tröger
89bbb81521 Extension: Fix order-of-initialisation crash
FreeCADs property system utilises some pointer math to calculate the offset between
property and base class. Due to virtual inheritance of th ePropertyContainer the memory
layout has been changed to rather random, which has lead to crashes dependend on the
order of object initialisation.

The solution is to not make PropertyContaner virtual but a class below, Base::Persitance.
Then the memory layout is random for Persistance, but it is perfectly aligned for the
base class chains from PropertyContainer onwards as well as from Extension onwards.
Hence the proeprty system was changed to take the offset always from those two.
2016-10-08 12:48:34 +02:00
Stefan Tröger
2a61aec97b Extensions: Fix rebase errors 2016-10-08 12:48:34 +02:00
Stefan Tröger
c0f243fa3b Extensions: bring files in correct order 2016-10-08 12:48:34 +02:00
Stefan Tröger
16f8dbbacd Extensions: special calls for document object extensions 2016-10-08 12:48:34 +02:00
Stefan Tröger
552fe52774 Extensions: Show up in the python interface 2016-10-08 12:48:34 +02:00
Stefan Tröger
6fa964c53f Extensions: Introduce classes and port App groups 2016-10-08 12:48:34 +02:00
Alexander Golubev
e26c6174ac App/GeoFeatureGroup: derive from DocumentObjectGroup
Refactor GeoFeatureGroup and derive it from DocumentObjectGroup rather
than GeoFeatureObject to unify code of those two classes.
2016-04-12 18:12:17 +02:00
Alexander Golubev
57a913f796 DocumentObjectGroup: fix deleting of groups in case of malformed links
This one prevents thurther object structure damage if
DocumentObjectGroup::Group connains multiple links to the same feature.
Also minorr changes:
 - Fix some spacing
 - Ask the user if he wants to delete group content
2016-04-12 18:12:17 +02:00
jriegel
a366ae60e4 Const correctness in DocumentObjectGroup 2016-04-12 18:12:01 +02:00
wmayer
e3684706cb + fixes #0001514: Padding a sketch inside a group fails with error message 2014-04-25 17:28:32 +02:00
wmayer
605e85b952 Make FeaturePython Python binding a template class to avoid code duplication 2013-03-22 00:34:18 +01:00
Yorik van Havre
9681eb74b3 Revert 'remove unnecessary template code from document group'
Reverts commit 06c683dcf3, because used
by the Arch module
2012-04-22 17:37:00 -03:00
jriegel
fe9143f713 Merge branch 'master' of ssh://free-cad.git.sourceforge.net/gitroot/free-cad/free-cad
Conflicts:
	src/App/DocumentObjectGroup.cpp
2012-04-19 08:27:49 +02:00
jriegel
cbe6f768d3 remove unnecessary template code from document group and small fix in installer 2012-04-19 08:25:26 +02:00
Yorik van Havre
51bab08985 Added ViewProviderDocumentObjectGroupPython 2012-04-18 16:59:26 -03:00
Yorik van Havre
3127d6ff99 Changed Group property of App::DocumentObjectGroup to writeable
So in App::DocumentObjectGroupPython instance there is an easy
way to manipulate group contents.
2012-04-18 15:46:50 -03:00
wmayer
120ca87015 + unify DLL export defines to namespace names
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5000 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-10-10 13:44:52 +00:00