Yorik van Havre
af97583026
Doc: Fixes in doxygen docs for Draft,Arch, FEM
2016-11-17 17:04:09 -02:00
wmayer
88485684a5
improve unicode support for enumeration properties
2016-11-14 15:22:21 +01:00
wmayer
7f58ad2a4b
implement ExtensionContainerPy::getCustomAttributes to return a PyCFunction bound to the correct object
2016-11-13 17:49:10 +01:00
Yorik van Havre
0aac72b2eb
Fixed setting an empty value to PropertyLinkSubList
2016-11-13 12:13:31 -02:00
wmayer
e0a0aa7786
fix typos
2016-11-12 17:57:14 +01:00
wmayer
025cf18714
do not allow to delete properties in FeaturePythonPyT
2016-11-10 23:57:41 +01:00
wmayer
7f96119321
fix regression in FeaturePythonPyT
2016-11-10 21:43:01 +01:00
wmayer
b1b5e59364
fix regression from pr334
2016-11-10 21:07:52 +01:00
wmayer
53815e7aed
use only Python API for FeaturePythonPyT
2016-11-10 13:37:30 +01:00
Stefan Tröger
26daea0c88
Remove unneeded console output
2016-11-09 21:47:01 -02:00
Stefan Tröger
ad1cac3867
Fix PythonFeature Group persistance
2016-11-09 21:47:01 -02:00
wmayer
10bb1d6fea
make FeaturePythonPyT more flexible
2016-11-09 22:02:42 +01:00
wmayer
76279882da
move handling of dynamic properties from FeaturePythonPyT to DocumentObjectPy
2016-11-09 16:09:21 +01:00
wmayer
3e2400aec1
dynamic properties:
...
+ move addProperty, removeProperty and supportedProperties from FeaturePythonPyT to DocumentObjectPy
2016-11-09 10:35:49 +01:00
wmayer
569f5c77f9
dynamic properties:
...
+ reimplment addDynamicProperty and removeDynamicProperty in TransactionalObject to raise exceptions
+ move addProperty, removeProperty and supportedProperties from ViewProviderPythonFeaturePy to ViewProviderPy
2016-11-08 19:55:17 +01:00
wmayer
5f12a043fa
fix several gcc warnings
2016-11-08 14:31:08 +01:00
ml
02b3883f7e
Support for running specific unit tests without breaking existing tests with argument '0'
2016-11-07 15:38:12 +01:00
wmayer
3b961bcb5f
+ add convenience method recomputeFeature()
...
+ make method recompute() protected
2016-11-06 17:16:50 +01:00
wmayer
bbf5548899
break dependency to deleted object on rollback
2016-11-06 15:09:42 +01:00
wmayer
9fe82bfbb9
fixes #0002460 : Use keyword 'explicit' for Quantity constructor
2016-11-05 23:21:42 +01:00
wmayer
01996d8f13
introduce flag to skip recomputes of a document when needed
2016-10-21 22:23:34 +02:00
wmayer
ec0f8082b2
support more Qt options
2016-10-18 13:53:31 +02:00
wmayer
2c5c0c2347
set directory of file dialog when opening file by double-click, recent files list or drag and drop
2016-10-16 14:47:13 +02:00
wmayer
a90907530f
issue #0002714 : Segfault in PropertyLinkSubList::Save
2016-10-09 13:49:57 +02:00
wmayer
09028b0a7f
+ fix -Wunused-parameter
2016-10-08 15:13:56 +02:00
wmayer
9ac1810ea3
Fix issues:
...
+ improve formatting
+ remove superfluous semicolons
+ comment unused parameters
+ rename Initialisation to Initialization
+ rename Deinitialisation to Finalization
+ remove spaces
2016-10-08 12:48:34 +02:00
Stefan Tröger
3a51404dd5
Extenions: Drop virtual inheritance
...
Due to problems onthe windows platform the virtual inheritance approach must be dropped. NExt to the already reimplemented proeprty interface the Type interface is reimplemented too. This change allows to revert some earlier changes.
2016-10-08 12:48:34 +02:00
Stefan Tröger
790413fdce
Extensions: Windows fixes
2016-10-08 12:48:34 +02:00
Stefan Tröger
558e128b39
Extensions: Revert few changes after restructuring
2016-10-08 12:48:34 +02:00
Stefan Tröger
b7d2943217
Remove accidently added .orig files
2016-10-08 12:48:34 +02:00
Stefan Tröger
15b14783d1
Extensions: Handle static/dynamic cast
...
After the change of the virtual inheritance position in the inheritance chain some
formally added dynamic_cast's can be reverted to the old behaviour
2016-10-08 12:48:34 +02:00
Stefan Tröger
3977ce71c6
Extensions: Add type safety to PropertyData again
2016-10-08 12:48:34 +02:00
Stefan Tröger
22fa3b3922
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
773c79d6b6
Extensions: Fix crash due to wrong reference count
2016-10-08 12:48:34 +02:00
Stefan Tröger
9260b61948
Extension: Dont override PythonFeature proxy name
2016-10-08 12:48:34 +02:00
Stefan Tröger
b27875a777
Extension: Delete extensions correctly
2016-10-08 12:48:34 +02:00
Stefan Tröger
258be36aad
Extensions: Handle new dynamic_cast's
2016-10-08 12:48:34 +02:00
Stefan Tröger
261798da2e
Extensions: Port ViewProvider of GeoFeatureGroup
2016-10-08 12:48:34 +02:00
Stefan Tröger
0a539538de
Extensions: Port ViewProvider of groups
2016-10-08 12:48:34 +02:00
Stefan Tröger
1287f3007a
Extensions: Fix rebase errors
2016-10-08 12:48:34 +02:00
Stefan Tröger
594bb4fecd
Extensions: Add Documentation
2016-10-08 12:48:34 +02:00
Stefan Tröger
44d1ee0157
Extension: Fix test case
2016-10-08 12:48:34 +02:00
Stefan Tröger
a8cf9a1fb0
Extensions: Fix include
2016-10-08 12:48:34 +02:00
Stefan Tröger
7bcb6519cc
Extensions: Make Python Integration work
2016-10-08 12:48:34 +02:00
Stefan Tröger
93222098f0
Extensions: Allow them to be added dynamically
2016-10-08 12:48:34 +02:00
Stefan Tröger
c47c34edff
Extensions: bring files in correct order
2016-10-08 12:48:34 +02:00
Stefan Tröger
a8d0accdad
Extensions: special calls for document object extensions
2016-10-08 12:48:34 +02:00
Stefan Tröger
4c42181e34
Extensions: Show up in the python interface
2016-10-08 12:48:34 +02:00
Stefan Tröger
c5a2419e14
Extensions: Introduce classes and port App groups
2016-10-08 12:48:34 +02:00
Yorik van Havre
35811f7e3c
Added new property type App::PropertyVolume
2016-10-04 16:02:30 -03:00