Yorik van Havre
b5a3d28fee
Doxygen tweaks
2019-07-17 18:01:56 -03:00
wmayer
7cdef5dcd9
reset expressions of a property when removing it
2019-03-16 00:01:33 +01:00
wandererfan
c3e7a8c55e
Improve "links go out of scope" message
2018-12-08 11:29:45 -03:00
wmayer
1647eee92c
add specialized exception type for bad graphs
2018-11-26 14:15:19 +01:00
wmayer
62533a22b5
fix DocumentObject::isInInListRecursive and DocumentObject::isInOutListRecursive
2018-11-16 01:14:33 +01:00
wmayer
5997bac049
make _getInListRecursive much more efficient by avoiding to process objects multiple times
2018-11-15 23:17:04 +01:00
wmayer
6e9b2d1bfe
remove superfluous error messages in In/Out list methods
2018-11-15 22:16:29 +01:00
wmayer
d5a41cdecf
fix exception message
2018-11-14 23:18:27 +01:00
wmayer
a432bafbdb
Add a new PropertyType enum Prop_NoRecompute to reduce possible inconsistencies between touched and recomputed features.
...
At the moment many feature classes lack of the mustExecute() method and thus can cause a touched feature not to be recomputed and causes the feature to be in a broken state.
Now this new enum value virtually makes the mustExecute() superfluous and thus guarantees to recompute a feature if a modified property has not set the Prop_NoRecompute flag.
On the other hand there are properties that should only touch a feature but not enforce a recompute. This guarantees a better performance and avoids unnecessary recomputes.
For example this is useful for placements where a change can be applied on-the-fly and the feature is up-to-date. Other features that depend on the touched feature will still be recomputed.
2018-11-08 10:20:50 +01:00
wmayer
0e9334aec2
remove leftover of boost.signals headers
2018-11-05 00:03:36 +01:00
wmayer
cacab69204
fix crash with Py3 when releasing memory buffer
2018-10-27 19:58:54 +02:00
wmayer
7bf4c9d96f
fixes 0003410: 0.17 Regression: recompute will make parts lose color and take a longer delay compared to FC0.16
2018-10-02 19:04:44 +02:00
wmayer
f9b04b1551
#3325 : DlgPropertyLink as editor of Tip property
2018-01-28 22:37:03 +01:00
wmayer
340d076d4b
do not raise exception if link is out of scope, but write a warning
2018-01-28 00:15:12 +01:00
wmayer
6ecd1b54ac
fix crash when querying information about an object that is not part of a document
2018-01-11 16:13:07 +01:00
Eivind Kvedalen
8b4adfa513
Moved ObjectStatusLocker template class to Base/Tools.h
2017-11-30 16:28:41 +01:00
wmayer
b94917fe51
add virtual method onExtendedDocumentRestored DocumentObjectExtension
2017-10-25 22:51:50 +02:00
wmayer
bed779a530
method to get paths between two objects
2017-10-20 18:26:18 +02:00
wmayer
73d089ea9e
make _getOutListRecursive much more efficient by avoiding to process objects multiple times
2017-10-10 00:51:25 +02:00
wmayer
3abfbb7fb2
update expressions when relabelling a document object
2017-10-08 01:45:39 +02:00
Stefan Tröger
7d1560443c
Introduce Scoped links to prevent cross cs links
2017-09-09 16:47:07 +02:00
Stefan Tröger
7b72973ba6
Fix _inList tracking in case of link removal
2017-09-09 16:47:07 +02:00
Stefan Tröger
2b7e0dc327
Prevent cross GeoFeatureGroup links on recompute
2017-09-09 16:47:07 +02:00
wmayer
a5bf15b55d
remove properties from transactions when being deleted
2017-08-28 21:20:17 +02:00
wmayer
e4770ffa9e
protect document against nested recomputes
...
+ convert ObjectStatusLocker into a template class to make its usage more flexible
+ add status flag 'Recomputing' and set in Document::recompute to detect and avoid nested calls of recompute
2017-07-17 18:24:10 +02:00
wmayer
90653787a6
various fixes:
...
+ fix typos
+ fix const correctness
+ whitespace improvements
2017-06-19 17:18:16 +02:00
Stefan Tröger
2d3c655ced
Group tests and fixes
2017-06-19 15:37:09 +02:00
wmayer
c4cb4518ba
replace hard-coded values with enum values
2017-05-30 15:21:23 +02:00
wmayer
e9bd4f679f
fix memory leak in DocumentObject::execute and return ASAP on errors
2017-05-07 16:21:41 +02:00
wmayer
fb7094bf31
use specialized exception classes
2017-04-28 18:49:11 +02:00
wmayer
18451286a0
change old DAG implementation to pass unit tests
2017-01-22 15:32:31 +01:00
wmayer
11a1929344
restore old DAG implementation and fix some build failures
2017-01-22 13:31:49 +01:00
wmayer
859506c4f3
fix compiler warning
2017-01-21 21:49:13 +01:00
wmayer
31c21be635
improve whitespaces
2017-01-21 19:15:36 +01:00
Stefan Tröger
a1deaf8338
DAG: Fix preprocessor definition inconsistencies
2017-01-21 19:15:36 +01:00
Stefan Tröger
49716393c6
DAG: Change object graph handling to be bidirectional
2017-01-21 19:15:36 +01:00
Stefan Tröger
b09ca0c787
Extensions: Implement persistence
2016-12-11 19:27:35 +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
wmayer
01065b76d5
expose recompute() of document object to Python
2016-11-19 16:24:11 +01:00
wmayer
06da15e643
+ add convenience method recomputeFeature()
...
+ make method recompute() protected
2016-11-06 17:16:50 +01: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
16f8dbbacd
Extensions: special calls for document object extensions
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
wmayer
3d16ae0f04
prepare view provider for undo/redo
2016-07-23 11:45:21 +02:00
Stefan Tröger
a92746da22
crossreferences only with ctrl button and fix missing return value
2016-04-12 18:12:20 +02:00
DeepSOIC
565a191689
App: circular reference testing routine for new links
...
DocumentObject::testIfLinkDAGCompatible: return true if link can be
created (no cycles will be made). False if the link will cause a
circular dependency and break recomputes.
2016-04-12 18:12:20 +02:00
Alexander Golubev
8bad396f16
App: minor fix of spacing
2016-04-12 18:12:17 +02:00
Eivind Kvedalen
72bb18a53f
PropertyExpressionEngine/DocumentObject: Track object deletes and update dependencies accordingly.
2015-12-21 14:11:13 +01:00
Eivind Kvedalen
58727037ef
DocumentObject: Don't emit signal if Label hasn't actually changed.
2015-12-21 14:11:11 +01:00
wmayer
2acb38daa7
+ fix clang warning: -Woverloaded-virtual
2015-10-02 20:42:16 +02:00