Commit Graph

558 Commits

Author SHA1 Message Date
Stefan Tröger
58f2c6bde2 Extensions: Fix wrong group test and prevent crash 2017-01-04 16:01:58 +01:00
Stefan Tröger
526d895a5d PartDesign: Port body to be a origin group 2017-01-04 16:01:58 +01:00
Stefan Tröger
a025a20bed Extensions: GeoFeatureGroup only for GeoFeature 2017-01-04 16:01:58 +01:00
wmayer
8bfb73b34b fix major bug in ExtensionContainer::restoreExtensions 2017-01-02 19:39:13 +01:00
Eivind Kvedalen
0e2e34fb33 Moved ObjectLabelObserver from Gui::Application to App::Application. 2017-01-01 21:41:11 +01:00
wwmayer
9f5c6895be Merge pull request #405 from eivindkv/DependencyGraphColors2
Added color to edges contained in a cycle in the dependency graph.
2016-12-30 14:53:52 +01:00
wmayer
e0a89c17d2 fix & suppress warnings of generated code 2016-12-30 13:31:31 +01:00
Eivind Kvedalen
2bf7710bda Added color to edges contained in a cycle in the dependency graph. 2016-12-30 09:22:03 +01:00
wmayer
a0af969a47 recreate lexer files without deprecated register keyword 2016-12-29 23:18:23 +01:00
wmayer
b19a4246ab fix typos 2016-12-19 14:07:35 +01:00
Eivind Kvedalen
d00ff2155d Spreadsheet: Fix for issue #2646: Spreadsheet-Sum-Function does not work with units
This fix also fixes the other aggregates.
2016-12-15 17:27:18 +01:00
Eivind Kvedalen
b398069372 Spreadsheet: Fix for issue #2647, stddev does not work with arrays. 2016-12-15 17:27:18 +01:00
Eivind Kvedalen
30390b70a7 Spreadsheet: Save numbers with one more digit. 2016-12-15 17:27:18 +01:00
Eivind Kvedalen
7279c1bd53 Spreadsheet: Fixed for issue #2767: In some instances, needed parentheses are dropped from the expression. Fixed and updated unit tests. 2016-12-15 17:27:18 +01:00
wwmayer
a0f796664f Merge pull request #380 from eivindkv/DepGraphFix_20161213
Document: Added label to duplicate edges in dependency graph output.
2016-12-15 17:24:15 +01:00
Eivind Kvedalen
6230ee8d14 Document: Added label to duplicate edges in dependency graph output. 2016-12-13 17:54:02 +01:00
wmayer
743b83e853 Add switch to select between Qt4 and Qt5 2016-12-13 15:53:13 +01:00
wmayer
6cfaf916f8 remove superfluous Qt includes 2016-12-13 15:40:49 +01:00
wmayer
e8c7df1d67 minor improvements 2016-12-11 19:27:35 +01:00
Stefan Tröger
b09ca0c787 Extensions: Implement persistence 2016-12-11 19:27:35 +01:00
wmayer
6782fe8086 fix dangling pointer, remove superfluous semicolons, avoid excessive report messages of extension object 2016-12-09 23:03:18 +01:00
Stefan Tröger
67d76b309c Port Attacher codde to the extension framework
AttachableObjects are desired in multiple occasions, and the current AttachableObject is not flexible enough to handle all cases. Hence the code is portet to an extension, which gives the needed flexibility.
2016-12-07 06:41:40 +01:00
Stefan Tröger
c4911aeca1 Extensions: Add changed property handling 2016-12-07 06:37:27 +01:00
Stefan Tröger
88728bc73d Extensions: Group fix for python 2016-12-04 19:50:42 +01:00
Stefan Tröger
5ea603977f Extensions: Fix ViewProvider python interface 2016-12-04 17:35:00 +01:00
Stefan Tröger
ee4abeea5e Extensions: "hasExtension" for python types -fix 0002785 2016-11-28 22:15:09 +01:00
wmayer
a5537a992f add simple Python wrapper for Vector2d class 2016-11-21 22:01:34 +01:00
wmayer
01065b76d5 expose recompute() of document object to Python 2016-11-19 16:24:11 +01:00
Yorik van Havre
bf0d37bf28 Doc: Fixes in doxygen docs for Draft,Arch, FEM 2016-11-17 17:04:09 -02:00
wmayer
365a50603b improve unicode support for enumeration properties 2016-11-14 15:22:21 +01:00
wmayer
cc27b24da7 implement ExtensionContainerPy::getCustomAttributes to return a PyCFunction bound to the correct object 2016-11-13 17:49:10 +01:00
Yorik van Havre
bbd82ee895 Fixed setting an empty value to PropertyLinkSubList 2016-11-13 12:13:31 -02:00
wmayer
86f515ba25 fix typos 2016-11-12 17:57:14 +01:00
wmayer
8edd8cb599 do not allow to delete properties in FeaturePythonPyT 2016-11-10 23:57:41 +01:00
wmayer
bcbff88802 fix regression in FeaturePythonPyT 2016-11-10 21:43:01 +01:00
wmayer
24a50becb7 fix regression from pr334 2016-11-10 21:07:52 +01:00
wmayer
2d20bdecdd use only Python API for FeaturePythonPyT 2016-11-10 13:37:30 +01:00
Stefan Tröger
da1343e8ca Remove unneeded console output 2016-11-09 21:47:01 -02:00
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