Commit Graph

17788 Commits

Author SHA1 Message Date
wmayer
ea49e40b78 fix msvc build failure 2019-08-17 17:12:42 +02:00
Zheng, Lei
cecf15291f Gui: sort property by name in property view 2019-08-17 15:32:51 +02:00
Zheng, Lei
1fecb7c4cc Gui: fix tree view selection focus problem 2019-08-17 15:32:51 +02:00
Zheng, Lei
b59e4ad9a5 App: do not throw on recursive recompute 2019-08-17 15:32:51 +02:00
Zheng, Lei
b1a2007759 Gui: fix missing de-highlight when (pre)selection is disabled 2019-08-17 15:32:51 +02:00
Zheng, Lei
7747680d35 Draft: fix PathLinkArray 2019-08-17 15:32:51 +02:00
Zheng, Lei
cb83886826 Import: fix version header path 2019-08-17 15:32:51 +02:00
Zheng, Lei
0a4f1abf00 Draft: fix Link(Path)Array 2019-08-17 15:32:51 +02:00
Zheng, Lei
d18d489599 App: fix rollback of dynamic property changes 2019-08-17 15:32:51 +02:00
Zheng, Lei
afeaec3d0d TechDraw: fix face based projection direction detection 2019-08-17 15:32:51 +02:00
Zheng, Lei
ecc857cdf1 TechDraw: fix projection group editing update 2019-08-17 15:32:51 +02:00
Zheng, Lei
6c46d24ee3 TechDraw: fix drawing update on undo/redo 2019-08-17 15:32:51 +02:00
Zheng, Lei
f36714974a Command: disable auto transaction if triggering editing
Each command will create an App::AutoTransaction to auto create and
commit a transaction for proper undo/redo. But if the command starts
editing, the current transaction may be required to out live the current
command.

Note that the command can only detect editing if the code calls
Gui::Document::setEdit(). There are objects that starts editing by
calling its own ViewProvider::setEdit(), e.g. various TechDraw
ViewProviders. In this case, to avoid auto committing, one can call
App::Application::setActiveTransaction() with the second argument set to
true, or call App::AutoTransaction::setEnable(false).
2019-08-17 15:32:51 +02:00
Zheng, Lei
5f5ea31ec8 TreeView: update status on manual object touch 2019-08-17 15:32:51 +02:00
Zheng, Lei
6aab2df588 TreeView: fix selection sync problem 2019-08-17 15:32:50 +02:00
Zheng, Lei
d049eed121 Draft: fix for python2 2019-08-17 15:32:50 +02:00
Zheng, Lei
f13ee08c3f App: fix xml indentation in PropertyContainer::Save 2019-08-17 15:32:50 +02:00
Zheng, Lei
ba0d573369 Gui: fix selection change handling in PropertyView 2019-08-17 15:32:50 +02:00
Zheng, Lei
d7dd720eaf App: fix property type matching in transaction 2019-08-17 15:32:50 +02:00
Zheng, Lei
3f4b483011 TreeView: fix potential crash on deleting object 2019-08-17 15:32:50 +02:00
Zheng, Lei
31626d5c85 Gui::Document: fix saving of camera setting 2019-08-17 15:32:50 +02:00
Zheng, Lei
bd7493bd2b TreeView: fix bug in selection sync 2019-08-17 15:32:50 +02:00
Zheng, Lei
ac6e94d1c8 Gui: fix crash on editing PropertyLinkList 2019-08-17 15:32:50 +02:00
Zheng, Lei
fe0548cad5 Sketcher: auto undo when canceling constraint editing 2019-08-17 15:32:50 +02:00
Zheng, Lei
648f5e6d5b Gui: fix auto view switching of editing object 2019-08-17 15:32:50 +02:00
Zheng, Lei
0f66755843 Sketcher: fix external editing 2019-08-17 15:32:50 +02:00
Zheng, Lei
e288bb672d Base: fix duplicated exception message
Because the exception can propagate across C++ and Python boundary
multiple times, prepending extra information may cause duplication,
something like,

"FreeCAD exception thrown(FreeCAD exception thrown(..."
2019-08-17 15:32:49 +02:00
Zheng, Lei
a4028b0bd5 App: fix Python object leak in PropertyListT
* Fix Python object leak in _setPyObject()
* Add support for Python iterables
* Minor performance improvement on setPyValues()
2019-08-17 15:32:49 +02:00
Zheng, Lei
e88ea07353 PropertyContainer: skip saving trasient dynamic property 2019-08-17 15:32:49 +02:00
Zheng, Lei
2f0aa9b2a5 Fix typos pathes -> paths 2019-08-17 15:32:49 +02:00
luz.paz
3bb578c825 Fix more typos 2019-08-17 15:32:49 +02:00
luz.paz
84dd53d539 Fix extra grammar issue in src/App 2019-08-17 15:32:49 +02:00
luz.paz
b869b6e29e Fix typos in various src/Mod directories 2019-08-17 15:32:49 +02:00
luz.paz
63a577fe07 Fix typos in src/Gio 2019-08-17 15:32:49 +02:00
luz.paz
e9caeef557 Fix typos in src/Base 2019-08-17 15:32:49 +02:00
luz.paz
3a1a6eb7d8 Fix typos in src/App 2019-08-17 15:32:48 +02:00
Zheng, Lei
951d872831 PropertyEditor: fix bug when constructing context menu 2019-08-17 15:32:48 +02:00
Zheng, Lei
7c87b0ab27 PropertyContainerPy: modified getPropertyByName()
Add 'checkOwner' argument to allow caller distinguish linked property
2019-08-17 15:32:48 +02:00
Zheng, Lei
8f95966822 Link: rename _LinkRecomputed to _LinkTouched 2019-08-17 15:32:48 +02:00
Zheng, Lei
cdd0181ffc ViewProviderLink: fix visual of linked object with scale 2019-08-17 15:32:48 +02:00
Zheng, Lei
cad0b2b467 TreeView: fix missing update on item expansion 2019-08-17 15:32:48 +02:00
Zheng, Lei
0d63878904 ExpressionCompleter: fix missing init() call 2019-08-17 15:32:48 +02:00
Zheng, Lei
b6834155cf Expression: fix python object evaluation 2019-08-17 15:32:48 +02:00
Zheng, Lei
1fe37b46a6 App::Document: fix file extension case sensitive problem 2019-08-17 15:32:48 +02:00
Zheng, Lei
b2c74aca49 Fix build for older gcc 2019-08-17 15:32:48 +02:00
Zheng, Lei
de93446a1c Test cases changes
Slight adjustment of various test cases due to various API changes.
2019-08-17 15:32:48 +02:00
Zheng, Lei
88b5b2a845 Draft/Arch related changes
* Add Draft_LinkArray and Draft_PathLinkArray that uses link for both
  data and visualization, which supports linking external objects

* Add link group support for draft snap

* Fix ArchWindows expression ambiguity
2019-08-17 15:32:47 +02:00
Zheng, Lei
cfc6c0ee89 Path changes
* Relaxed valid base shape requirement, as long as it can return a
  shape using part.getShape()

* Improve ViewProviderPath performance by sharing the same selection
  observer

* Relocate libarea binary installation
2019-08-17 15:15:48 +02:00
Zheng, Lei
2727ddc7c0 Fem: minor changes 2019-08-17 15:15:47 +02:00
Zheng, Lei
cd2b7e297c PartDesign changes
* Mostly for supporting in-place editing

* Add new SubShapeBinder that support cross coordinate system,
  external, and sub-object binding
2019-08-17 15:15:47 +02:00