Commit Graph

555 Commits

Author SHA1 Message Date
wmayer
a3427c7dbe fix major bug in ExtensionContainer::restoreExtensions 2017-01-02 19:39:13 +01:00
Eivind Kvedalen
ef5fb087a2 Moved ObjectLabelObserver from Gui::Application to App::Application. 2017-01-01 21:41:11 +01:00
wwmayer
172d730e32 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
efe14610b7 fix & suppress warnings of generated code 2016-12-30 13:31:31 +01:00
Eivind Kvedalen
5e10505f40 Added color to edges contained in a cycle in the dependency graph. 2016-12-30 09:22:03 +01:00
wmayer
421cb85865 recreate lexer files without deprecated register keyword 2016-12-29 23:18:23 +01:00
wmayer
72ab17fb48 fix typos 2016-12-19 14:07:35 +01:00
Eivind Kvedalen
25c56b7864 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
de27adbefa Spreadsheet: Fix for issue #2647, stddev does not work with arrays. 2016-12-15 17:27:18 +01:00
Eivind Kvedalen
a3af2902ef Spreadsheet: Save numbers with one more digit. 2016-12-15 17:27:18 +01:00
Eivind Kvedalen
eb32b3d831 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
089bb79674 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
52623a60d8 Document: Added label to duplicate edges in dependency graph output. 2016-12-13 17:54:02 +01:00
wmayer
5e375a6238 Add switch to select between Qt4 and Qt5 2016-12-13 15:53:13 +01:00
wmayer
166fc624eb remove superfluous Qt includes 2016-12-13 15:40:49 +01:00
wmayer
0074f7c352 minor improvements 2016-12-11 19:27:35 +01:00
Stefan Tröger
cd1c753fa2 Extensions: Implement persistence 2016-12-11 19:27:35 +01:00
wmayer
956a21a81a fix dangling pointer, remove superfluous semicolons, avoid excessive report messages of extension object 2016-12-09 23:03:18 +01:00
Stefan Tröger
d0d4d6bc07 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
cc6bc1b8d9 Extensions: Add changed property handling 2016-12-07 06:37:27 +01:00
Stefan Tröger
1787a4f978 Extensions: Group fix for python 2016-12-04 19:50:42 +01:00
Stefan Tröger
19e708879f Extensions: Fix ViewProvider python interface 2016-12-04 17:35:00 +01:00
Stefan Tröger
ddc9d9cf5d Extensions: "hasExtension" for python types -fix 0002785 2016-11-28 22:15:09 +01:00
wmayer
14594dde32 add simple Python wrapper for Vector2d class 2016-11-21 22:01:34 +01:00
wmayer
2a145a12e1 expose recompute() of document object to Python 2016-11-19 16:24:11 +01:00
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