Commit Graph

17787 Commits

Author SHA1 Message Date
Zheng, Lei
cf5438fbef Gui: sort property by name in property view 2019-08-17 15:32:51 +02:00
Zheng, Lei
20c628fc0c Gui: fix tree view selection focus problem 2019-08-17 15:32:51 +02:00
Zheng, Lei
0a2d8dc5ca App: do not throw on recursive recompute 2019-08-17 15:32:51 +02:00
Zheng, Lei
dd8c4d84a6 Gui: fix missing de-highlight when (pre)selection is disabled 2019-08-17 15:32:51 +02:00
Zheng, Lei
8162c9b67e Draft: fix PathLinkArray 2019-08-17 15:32:51 +02:00
Zheng, Lei
e9a4f97150 Import: fix version header path 2019-08-17 15:32:51 +02:00
Zheng, Lei
5509a9b438 Draft: fix Link(Path)Array 2019-08-17 15:32:51 +02:00
Zheng, Lei
54a8136d5c App: fix rollback of dynamic property changes 2019-08-17 15:32:51 +02:00
Zheng, Lei
c555a8222e TechDraw: fix face based projection direction detection 2019-08-17 15:32:51 +02:00
Zheng, Lei
62423cb79a TechDraw: fix projection group editing update 2019-08-17 15:32:51 +02:00
Zheng, Lei
f243db0d5b TechDraw: fix drawing update on undo/redo 2019-08-17 15:32:51 +02:00
Zheng, Lei
d0ca893b3e 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
78ce18ace4 TreeView: update status on manual object touch 2019-08-17 15:32:51 +02:00
Zheng, Lei
d4f066f4e9 TreeView: fix selection sync problem 2019-08-17 15:32:50 +02:00
Zheng, Lei
4ba326fae0 Draft: fix for python2 2019-08-17 15:32:50 +02:00
Zheng, Lei
a228f3c11b App: fix xml indentation in PropertyContainer::Save 2019-08-17 15:32:50 +02:00
Zheng, Lei
75f974b1a1 Gui: fix selection change handling in PropertyView 2019-08-17 15:32:50 +02:00
Zheng, Lei
5a96db6483 App: fix property type matching in transaction 2019-08-17 15:32:50 +02:00
Zheng, Lei
e047b8764c TreeView: fix potential crash on deleting object 2019-08-17 15:32:50 +02:00
Zheng, Lei
61df79ab9f Gui::Document: fix saving of camera setting 2019-08-17 15:32:50 +02:00
Zheng, Lei
0d77bcdd88 TreeView: fix bug in selection sync 2019-08-17 15:32:50 +02:00
Zheng, Lei
05433f7148 Gui: fix crash on editing PropertyLinkList 2019-08-17 15:32:50 +02:00
Zheng, Lei
022e6c6fb2 Sketcher: auto undo when canceling constraint editing 2019-08-17 15:32:50 +02:00
Zheng, Lei
2cb69603b6 Gui: fix auto view switching of editing object 2019-08-17 15:32:50 +02:00
Zheng, Lei
f78f05adee Sketcher: fix external editing 2019-08-17 15:32:50 +02:00
Zheng, Lei
9e3a981d37 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
d3500ecfab 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
3fcb3e677a PropertyContainer: skip saving trasient dynamic property 2019-08-17 15:32:49 +02:00
Zheng, Lei
ce30645b39 Fix typos pathes -> paths 2019-08-17 15:32:49 +02:00
luz.paz
4aba7e2f5a Fix more typos 2019-08-17 15:32:49 +02:00
luz.paz
ef2947dce6 Fix extra grammar issue in src/App 2019-08-17 15:32:49 +02:00
luz.paz
039d6eac01 Fix typos in various src/Mod directories 2019-08-17 15:32:49 +02:00
luz.paz
0f67e8ddfa Fix typos in src/Gio 2019-08-17 15:32:49 +02:00
luz.paz
5b74dc8b0d Fix typos in src/Base 2019-08-17 15:32:49 +02:00
luz.paz
8825c95727 Fix typos in src/App 2019-08-17 15:32:48 +02:00
Zheng, Lei
088c282e2e PropertyEditor: fix bug when constructing context menu 2019-08-17 15:32:48 +02:00
Zheng, Lei
673d035bb3 PropertyContainerPy: modified getPropertyByName()
Add 'checkOwner' argument to allow caller distinguish linked property
2019-08-17 15:32:48 +02:00
Zheng, Lei
aaf0f2c80d Link: rename _LinkRecomputed to _LinkTouched 2019-08-17 15:32:48 +02:00
Zheng, Lei
c0d0150786 ViewProviderLink: fix visual of linked object with scale 2019-08-17 15:32:48 +02:00
Zheng, Lei
a738c7fafa TreeView: fix missing update on item expansion 2019-08-17 15:32:48 +02:00
Zheng, Lei
26dad093f6 ExpressionCompleter: fix missing init() call 2019-08-17 15:32:48 +02:00
Zheng, Lei
e0799e2bb3 Expression: fix python object evaluation 2019-08-17 15:32:48 +02:00
Zheng, Lei
9b3351399b App::Document: fix file extension case sensitive problem 2019-08-17 15:32:48 +02:00
Zheng, Lei
9223f08b48 Fix build for older gcc 2019-08-17 15:32:48 +02:00
Zheng, Lei
1d274f6697 Test cases changes
Slight adjustment of various test cases due to various API changes.
2019-08-17 15:32:48 +02:00
Zheng, Lei
de66e563e0 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
d93259e238 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
435815ccc8 Fem: minor changes 2019-08-17 15:15:47 +02:00
Zheng, Lei
11a93a0578 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
Zheng, Lei
e911b69769 Spreadsheet changes
Various changes to support in-place editing, and more.
2019-08-17 15:15:47 +02:00