wmayer
7c93459ec2
copy check for disabled or nested recomputes from old implementation of recompute()
2017-09-09 19:11:28 +02:00
wmayer
3a0c3499e5
improve whitespaces
2017-09-09 18:07:46 +02:00
Stefan Tröger
a03000cc68
Ensure touched features, which override mustExecute(), are recomputed.
2017-09-09 16:55:55 +02:00
Stefan Tröger
c14e508c74
Fix GeoFeatureGroup claimChildren in case some out-of-group item links to a child
2017-09-09 16:55:55 +02:00
Stefan Tröger
a65856c022
Ensure that GeoFeatureGroup claims children when a parent of it is deleted. fixes #0003150
2017-09-09 16:55:55 +02:00
Stefan Tröger
7829849104
Fix deleting a Part
2017-09-09 16:55:55 +02:00
Stefan Tröger
b80e0b6191
DependencyGraph: show invalid links in red
2017-09-09 16:47:07 +02:00
Stefan Tröger
9cda1b53bc
Allow interchangable use of link properties and their derivatives
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
Stefan Tröger
85125f2a49
Make InList hadling and topological sort more robust. fixes #0002871
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
Zheng, Lei
8ffcb3215a
App::Document: fix breakDependency
...
Fixed breakDependency to handle repetitive entries inside
PropertyLinkList
2017-08-19 18:56:24 +02:00
Markus Lampert
01bedc2415
Prevent segfault if vertex map isn't set.
2017-07-29 11:58:43 +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
fe8e69f122
Add missing header for random numbers
2017-06-19 15:37:09 +02:00
Stefan Tröger
1ee7f94d3f
DependencyGraph: Ensure OriginFeatures get in the correct subgraph
2017-06-19 15:37:09 +02:00
Stefan Tröger
e5c1f2bc70
Fix undo/redo while checking link integrity
2017-06-19 15:37:09 +02:00
Stefan Tröger
fd62ef30f3
Unify and fix group handling in geofeaturegroups
2017-06-19 15:37:09 +02:00
Stefan Tröger
c3a9d43143
DependencyGraph: grouping & unflatten is optional
...
Property group "User parameter:BaseApp/Preferences/DependencyGraph" has two booleans to enable subgraphing and unflatten (by default on): "Unflatten", "GeoFeatureSubgraphs"
2017-06-19 15:37:09 +02:00
Stefan Tröger
f3f1706c9f
DependencyGraph: Fix colors and unflatten
2017-06-19 15:37:09 +02:00
Stefan Tröger
07f464dd60
DependencyGraph: Add colors to coordinate systems
2017-06-19 15:37:09 +02:00
Stefan Tröger
7aac49bc04
DependencyGraph: Subgraphs are identified by label
2017-06-19 15:37:09 +02:00
Stefan Tröger
2e64d043d0
DependencyGraph: Show origins correctly
2017-06-19 15:37:09 +02:00
Stefan Tröger
b230d3c962
DependencyGraph: Show GeoFeatureGroups as subgraph. fixes #0002142
2017-06-19 15:37:09 +02:00
wmayer
cf0524945e
fixes #0002156 : Sketcher Visualization fails to represent sketch properly
2017-06-01 12:43:41 +02:00
wmayer
c4cb4518ba
replace hard-coded values with enum values
2017-05-30 15:21:23 +02:00
wmayer
397539aed2
set Restore flag also for copy&paste operation
2017-05-30 14:16:29 +02:00
Abdullah Tahiri
7b110e06d8
App:Document new status bit to mark Restoring
2017-05-30 13:01:45 +02:00
wmayer
f8daae5eea
handle possible exceptions from onDocumentRestored()
2017-05-16 23:48:55 +02:00
wmayer
305c63290f
Add addObjects to add multiple objects in one step
2017-05-07 16:06:39 +02:00
wmayer
fb7094bf31
use specialized exception classes
2017-04-28 18:49:11 +02:00
wmayer
c526c18b94
fix scan coverity issues: uncaught exception
2017-04-11 14:03:08 +02:00
Kunda
31b0233393
source typo fixes pt6
2017-03-07 13:43:46 -03:00
wmayer
f71f6f27ee
change old DAG implementation to pass unit tests
2017-01-22 17:03:59 +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
Eivind Kvedalen
68d466b2ee
fix crash in graphviz export due to invalidated iterators
2017-01-11 10:06:19 +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
Eivind Kvedalen
6230ee8d14
Document: Added label to duplicate edges in dependency graph output.
2016-12-13 17:54:02 +01:00
Stefan Tröger
b09ca0c787
Extensions: Implement persistence
2016-12-11 19:27:35 +01:00
wmayer
b96f3d1163
break dependency to deleted object on rollback
2016-11-06 15:09:42 +01:00
wmayer
f551bf9cc3
introduce flag to skip recomputes of a document when needed
2016-10-21 22:23: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
3e1ba47d61
Extensions: Handle new dynamic_cast's
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
c636974ec8
fix -Wextra in FreeCADApp
2016-09-21 16:05:36 +02:00
wmayer
4c9b486954
fix crash when saving a document after aborting a pending transaction
2016-08-31 17:58:55 +02:00