Stefan Tröger
eb601df236
Fix undo/redo while checking link integrity
2017-06-19 15:37:09 +02:00
Stefan Tröger
bdf981e770
Unify and fix group handling in geofeaturegroups
2017-06-19 15:37:09 +02:00
Stefan Tröger
bbabe833e9
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
25df3c549d
DependencyGraph: Fix colors and unflatten
2017-06-19 15:37:09 +02:00
Stefan Tröger
aaea43603e
DependencyGraph: Add colors to coordinate systems
2017-06-19 15:37:09 +02:00
Stefan Tröger
e192f32bcc
DependencyGraph: Subgraphs are identified by label
2017-06-19 15:37:09 +02:00
Stefan Tröger
e20aae688e
DependencyGraph: Show origins correctly
2017-06-19 15:37:09 +02:00
Stefan Tröger
f08ab52724
DependencyGraph: Show GeoFeatureGroups as subgraph. fixes #0002142
2017-06-19 15:37:09 +02:00
wmayer
749d666099
fixes #0002156 : Sketcher Visualization fails to represent sketch properly
2017-06-01 12:43:41 +02:00
wmayer
8032a7a492
replace hard-coded values with enum values
2017-05-30 15:21:23 +02:00
wmayer
455b646854
set Restore flag also for copy&paste operation
2017-05-30 14:16:29 +02:00
Abdullah Tahiri
548a79af16
App:Document new status bit to mark Restoring
2017-05-30 13:01:45 +02:00
wmayer
1be8c73dca
handle possible exceptions from onDocumentRestored()
2017-05-16 23:48:55 +02:00
wmayer
3e862bd557
Add addObjects to add multiple objects in one step
2017-05-07 16:06:39 +02:00
wmayer
1673ab801e
use specialized exception classes
2017-04-28 18:49:11 +02:00
wmayer
004324bbc5
fix scan coverity issues: uncaught exception
2017-04-11 14:03:08 +02:00
Kunda
3017173c9a
source typo fixes pt6
2017-03-07 13:43:46 -03:00
wmayer
72c7a8ab00
change old DAG implementation to pass unit tests
2017-01-22 17:03:59 +01:00
wmayer
f3f7b01202
improve whitespaces
2017-01-21 19:15:36 +01:00
Stefan Tröger
4f8e046f7f
DAG: Fix preprocessor definition inconsistencies
2017-01-21 19:15:36 +01:00
Stefan Tröger
665eb63d4c
DAG: Change object graph handling to be bidirectional
2017-01-21 19:15:36 +01:00
Eivind Kvedalen
57850b5947
fix crash in graphviz export due to invalidated iterators
2017-01-11 10:06:19 +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
Eivind Kvedalen
52623a60d8
Document: Added label to duplicate edges in dependency graph output.
2016-12-13 17:54:02 +01:00
Stefan Tröger
cd1c753fa2
Extensions: Implement persistence
2016-12-11 19:27:35 +01:00
wmayer
bbf5548899
break dependency to deleted object on rollback
2016-11-06 15:09:42 +01:00
wmayer
01996d8f13
introduce flag to skip recomputes of a document when needed
2016-10-21 22:23:34 +02:00
Stefan Tröger
3a51404dd5
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
258be36aad
Extensions: Handle new dynamic_cast's
2016-10-08 12:48:34 +02:00
Stefan Tröger
c5a2419e14
Extensions: Introduce classes and port App groups
2016-10-08 12:48:34 +02:00
wmayer
71df967fdf
fix -Wextra in FreeCADApp
2016-09-21 16:05:36 +02:00
wmayer
6e284fc9ea
fix crash when saving a document after aborting a pending transaction
2016-08-31 17:58:55 +02:00
wmayer
1e12b54a7b
Coverity issues:
...
129202: replace dynamic_cast with static_cast
129421, 129422: fix Py_Return macro
128928: Unchecked return value
129488, 129490: uninitialized scalar variable
129567, 129661: uninitialized scalar field
129665: uninitialized pointer field
2016-08-15 21:28:41 +02:00
wmayer
0f2db9061f
prepare view provider for undo/redo
2016-07-23 11:46:19 +02:00
wmayer
9ec06b47c6
prepare view provider for undo/redo
2016-07-23 11:45:38 +02:00
wmayer
f0e00311cd
prepare view provider for undo/redo
2016-07-23 11:45:21 +02:00
wmayer
75240e0058
code cleanup in App Document
2016-06-17 22:12:23 +02:00
wmayer
2e79aefc2f
+ issue #0002521 : SIGSEGV when trying to revert to saved file.
2016-05-20 13:01:23 +02:00
wmayer
0a7ab4e1ff
+ add missing license text
2016-04-13 15:20:41 +02:00
DeepSOIC
a1557d07da
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
797d6d3a11
App/Origin: big refactoring
...
- Rebase App::Origin on App::DocumentObject
- Keep all control over the Origin structure inside the Origin and it's
ViewProvider
- Add OriginFeature class as common base for App::Plane and App::Line
- Rebase App::Plane and App::Line on top of newly created class and
move to the file.
- Change Origin's ViewProvider API associated with temporary display
- Lots of associated changes to files
- Several minor fixes
- Lots of new bugs
2016-04-12 18:12:18 +02:00
Alexander Golubev
ecbb576330
App: minor fix of spacing
2016-04-12 18:12:17 +02:00
Alexander Golubev
26bb702ff6
App: add two callback to DocumentObject to perform initialization/uninitialization inside an object
...
Added two callbacks to App::DocumentObject
- setupObject()
- unsetupObject()
All associated code was added to App::Document
Also was added a specific flag ObjectFlag::Deleted wich is set when performing the deletion.
2016-04-12 18:12:17 +02:00
Alexander Golubev
c6797b6c29
Revert "part deletion handling"
...
This reverts commit 6ab2002021ac1df26ebe77f488f5cd94e1df0b26.
2016-04-12 18:12:17 +02:00
Stefan Tröger
07b7d9ff08
part deletion handling
...
-remove everxthing that belongs to a part on deletion
-disallow to delete the origin by the user and only remove it when Part is being deleted
2016-04-12 18:12:13 +02:00
Stefan Tröger
7f80e711f6
better active part and document tip handling
2016-04-12 18:12:10 +02:00
jriegel
396f188f30
Tip property in Document and special load save handling
2016-04-12 18:12:02 +02:00
jrheinlaender
2c378a4f8c
Add check in Document.cpp recompute() to check for invalid pointers
2016-04-12 18:11:49 +02:00
jrheinlaender
efd33c8465
Added check in Tree.cpp DocumentItem::slotChangeObject to check for invalid pointers returned by claimChildren()
2016-04-12 18:11:48 +02:00
jriegel
4d49b0b059
PropertyMap and new Attributes for the Assembly object and the Document
2016-04-12 18:11:46 +02:00