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
luzpaz
e3744981e4
GeoFeatureGroupExtension.h typo
2017-07-16 11:41:37 -03:00
wmayer
a1ca7309fb
allow to set constraints via Python
2017-07-16 11:09:48 +02:00
luzpaz
5be4fb5cdc
typo fix
2017-07-10 19:29:55 -03:00
Markus Hovorka
f9f2d8c31b
Add TextDocument with full size editor
...
A new document object App::TextDocument. It has a property Text which
holds the text of the document as a string. This commit also contains a
full size editor based on QPlainTextEdit. It can only be used by the
TextDocument and has a read only mode invoked for read only documents
(ReadOnly property set to true). The editor is invoked by a double
click on the TextDocument.
2017-07-04 19:36:10 +02:00
wmayer
e9975ee814
support to assign long to Quantity with Py2
2017-06-28 23:12:00 +02:00
wmayer
19d55fa227
fix issues in CoordinateSystem class and expose to Python
2017-06-20 21:22:59 +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
fd0d3f1a39
Revert link integrity checks in properties
...
The DAG test is not needed anymore as the relevant functions are non-DAG save now, and the other check will be moved to the recompute as it is not efficient or save to do it in the links itself.
2017-06-19 15:37:09 +02:00
Stefan Tröger
4b3fb99bf0
GeoFeatureGroup: Make link collection non-DAG save
2017-06-19 15:37:09 +02:00
Stefan Tröger
b4c43df312
Allow add/remove multiple objects in a group
2017-06-19 15:37:09 +02:00
Stefan Tröger
1d10dd2835
Extend python interface for groups and fix test cases
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
2d3c655ced
Group tests and fixes
2017-06-19 15:37:09 +02:00
Stefan Tröger
a1d9622eb5
Links ensure uncyclic graph and correct groups
2017-06-19 15:37:09 +02:00
Stefan Tröger
94082a2f73
Group: ensure single group only
2017-06-19 15:37:09 +02:00
Stefan Tröger
ebef8576a6
Parent groups are irelevant, not only parent geofeaturegroups
2017-06-19 15:37:09 +02:00
Stefan Tröger
ec5e3b9e0a
Fix collecting of cs relevant links
2017-06-19 15:37:09 +02:00
Stefan Tröger
ce9a078584
GeoFeatureGroup: Handle drag into document
2017-06-19 15:37:09 +02:00
Stefan Tröger
2939f290ad
Groups: Handle add and remove object correctly
2017-06-19 15:37:09 +02:00
Stefan Tröger
538853e5f4
GeoFeatureGroup: add object adds relevant links
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
Stefan Tröger
c0ed607561
Consistently name origins
2017-06-19 15:37:09 +02:00
Stefan Tröger
61020c0b27
Introduce global placement calculations
2017-06-19 15:37:09 +02:00
Stefan Tröger
d5022483c6
Fix drag&drop of geofeature groups. fixes #0002835 fixes #0002796
2017-06-19 15:37:09 +02:00
wmayer
2613e9766b
fix crash when argument list of openTransaction() is empty
2017-06-18 16:20:12 +02:00
wmayer
729cfd8155
py3: fox compiler warnings
...
issue 0000995
2017-06-04 00:17:57 +02:00
wmayer
bf162ebde9
py3: partially revert of getattr -> getattro because getattro is only needed for the static callback function
...
issue 0000995
2017-06-03 10:51:05 +02:00
looooo
85bb30495e
py3: PyFindMethod -> GnericGetAttr
...
issue 0000995
2017-06-03 10:51:05 +02:00
looooo
6ad7dc1217
py3: change of getattr -> getattro
...
issue 0000995
2017-06-03 10:51:05 +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
7aa6ae828d
minimal improvement of Document documentation
2017-05-30 13:01:45 +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
Zheng, Lei
f10431ba05
Console: fix getLogLevel
2017-05-13 17:46:38 +02:00
Zheng, Lei
f14ef7058d
Console: added tag based log support
2017-05-13 17:46:38 +02:00
Abdullah Tahiri
461da14787
Register exception producers in Application
2017-05-13 15:27:57 +02:00
wmayer
7394ab7277
minor fixes for pr749
2017-05-11 19:47:54 +02:00
looooo
e6202f46e9
py3: App: files D-Z ported to python3
...
issue 0000995
diff to py3-branch will remain in the following files in src/App:
- ExtensionContainer.cpp
- FeaturePythonPyImp.h +.inl
most likely these files depend on Tools and Base
2017-05-11 19:19:17 +02:00
Yorik van Havre
281fad5ff9
py3: App: files A-C ported to python3
2017-05-10 20:49:10 +02:00