Stefan Tröger
cda1d68472
Fix PythonFeature Group persistance
2016-11-09 21:47:01 -02:00
wmayer
2f16afc641
make FeaturePythonPyT more flexible
2016-11-09 22:02:42 +01:00
wmayer
b5cbaae73a
move handling of dynamic properties from FeaturePythonPyT to DocumentObjectPy
2016-11-09 16:09:21 +01:00
wmayer
8ef85c51fa
dynamic properties:
...
+ move addProperty, removeProperty and supportedProperties from FeaturePythonPyT to DocumentObjectPy
2016-11-09 10:35:49 +01:00
wmayer
37339057f8
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
ff2a361928
fix several gcc warnings
2016-11-08 14:31:08 +01:00
ml
1a8ba4b2dd
Support for running specific unit tests without breaking existing tests with argument '0'
2016-11-07 15:38:12 +01:00
wmayer
06da15e643
+ add convenience method recomputeFeature()
...
+ make method recompute() protected
2016-11-06 17:16:50 +01:00
wmayer
b96f3d1163
break dependency to deleted object on rollback
2016-11-06 15:09:42 +01:00
wmayer
47b41a7883
fixes #0002460 : Use keyword 'explicit' for Quantity constructor
2016-11-05 23:21:42 +01:00
wmayer
f551bf9cc3
introduce flag to skip recomputes of a document when needed
2016-10-21 22:23:34 +02:00
wmayer
70d746ca89
support more Qt options
2016-10-18 13:53:31 +02:00
wmayer
7fdf39244d
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
3d7dc6e56b
issue #0002714 : Segfault in PropertyLinkSubList::Save
2016-10-09 13:49:57 +02:00
wmayer
11a4c26dae
+ fix -Wunused-parameter
2016-10-08 15:13:56 +02:00
wmayer
f1127dd2f4
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
0ae9346b3c
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
92a294f6aa
Extensions: Windows fixes
2016-10-08 12:48:34 +02:00
Stefan Tröger
2420559431
Extensions: Revert few changes after restructuring
2016-10-08 12:48:34 +02:00
Stefan Tröger
2978ead384
Remove accidently added .orig files
2016-10-08 12:48:34 +02:00
Stefan Tröger
28c21914d0
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
687f96bf4b
Extensions: Add type safety to PropertyData again
2016-10-08 12:48:34 +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
fc34fc2f2f
Extensions: Fix crash due to wrong reference count
2016-10-08 12:48:34 +02:00
Stefan Tröger
07d749525f
Extension: Dont override PythonFeature proxy name
2016-10-08 12:48:34 +02:00
Stefan Tröger
7a2fed1b75
Extension: Delete extensions correctly
2016-10-08 12:48:34 +02:00
Stefan Tröger
3e1ba47d61
Extensions: Handle new dynamic_cast's
2016-10-08 12:48:34 +02:00
Stefan Tröger
5b9aea71d5
Extensions: Port ViewProvider of GeoFeatureGroup
2016-10-08 12:48:34 +02:00
Stefan Tröger
f61bb9062e
Extensions: Port ViewProvider of groups
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
cdd33738bb
Extensions: Add Documentation
2016-10-08 12:48:34 +02:00
Stefan Tröger
ab6151e71a
Extension: Fix test case
2016-10-08 12:48:34 +02:00
Stefan Tröger
1398013c8a
Extensions: Fix include
2016-10-08 12:48:34 +02:00
Stefan Tröger
f0f31ff94c
Extensions: Make Python Integration work
2016-10-08 12:48:34 +02:00
Stefan Tröger
88484d7054
Extensions: Allow them to be added dynamically
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
Yorik van Havre
fe40bad92d
Added new property type App::PropertyVolume
2016-10-04 16:02:30 -03:00
wmayer
314720c8c1
ObjectIdentifier has virtual method but no virtual destructor
...
fix 32-bit issues in PythonStuff.cpp
2016-10-01 11:03:15 +02:00
wmayer
9a4b4695e2
fix unicode/utf-8 encoding problems
2016-09-24 16:48:30 +02:00
wmayer
2af6bb6e49
replace deprecated auto_ptr with unique_ptr
2016-09-22 13:01:20 +02:00
wmayer
c636974ec8
fix -Wextra in FreeCADApp
2016-09-21 16:05:36 +02:00
wmayer
4fa5b2cd54
comment out problematic asserts
2016-09-16 14:22:17 +02:00
wmayer
bb103cba18
convert utf-8 encoded path name to escaped unicode when saving document with Python
2016-09-12 20:58:41 +02:00
wmayer
3f6b2f18ed
fix regression with unicode support
2016-09-08 16:08:01 +02:00
wmayer
9eb78d027b
fix accessing freed memory in DocumentPy::openTransaction
2016-09-07 13:00:20 +02:00
wmayer
23eeb634e5
support of unicode for doc string, fix memory leak
2016-09-07 12:18:57 +02:00
wmayer
fb892d35de
fix Coverity issues
2016-09-03 14:51:28 +02:00