Changesets: FreeCAD
staging 1c3926d2 2019-06-21 08:34:23 Zheng, Lei Details Diff |
Gui: add ViewParams class A convenience class to obtain common view parameters, analogous to existing WindowParameter class. |
||
mod - src/Gui/CMakeLists.txt | Diff File | ||
add - src/Gui/ViewParams.cpp | Diff File | ||
add - src/Gui/ViewParams.h | Diff File | ||
mod - src/Gui/ViewProviderMeasureDistance.cpp | Diff File | ||
master 2c12e1d3 2019-06-21 08:34:23 Zheng, Lei Committer: wmayer Details Diff |
Gui: add ViewParams class A convenience class to obtain common view parameters, analogous to existing WindowParameter class. |
||
mod - src/Gui/CMakeLists.txt | Diff File | ||
add - src/Gui/ViewParams.cpp | Diff File | ||
add - src/Gui/ViewParams.h | Diff File | ||
mod - src/Gui/ViewProviderMeasureDistance.cpp | Diff File | ||
staging 4d70ffa5 2019-06-21 05:47:33 Zheng, Lei Details Diff |
ViewProvider/ViewProviderExtension: various new APIs Some of these new APIs are not strictly needed for Link to work, but good to have. Summary of the API changes: * getModeSwitch/getTransformNode() exposes view provider mode switch and transformation coin3D node, required by ViewProviderLink to override placement and visibility. * canAddToSceneGraph() inform 3D viewer whether to add the root node to scenegraph. Some object only exists as a child of some coordinate system. Not adding them can simplify scenegraph and visibility management. * showInTree() inform tree view whether to show the corresponding tree item. * getDefaultMode() to expose the current active mode regardless of the view provider's visibility * (can)DropObjectEx() superseds (can)DropObject() with additional support of subname reference, which makes it easy to support linking to sub-objects. One of the use case is cross coordinate system linking. * getDropPrefix() is used to tell tree view where the object is dropped into. A non empty return means the object is actually dropped into a sub-object. For example, Assembly3 container puts all dropped object into its child container PartGroup. * canDragAndDropObject() is used to inform tree view whether the object dropped need to be dragged out of its original parent, which usually does not make sure for Link type object. * beforeDelete() will be called by Gui::Document when either the object itself is being deleted or when the document is being destoried. * is/setLinkVisibility() allows to show/hide a link to this object. This may be used during editing, to prevent showing editing geometry in multiple places. * update() is made a virtual function, it will be overridden by ViewProviderDocumentObject in future patch. * startEditing() now becomes virtual, and return a ViewProvider that actually handles the editing. This is for future Link type object to forward editing request * covert(), convenience function to convert between Coin3D and FC matrix ViewProviderExtension also gains many relavant extension point of the new API. There is also the new extensionModeSwitchChange() for notifying mode switch changes ViewProviderPy exposes several method/attribute for the new API as well. |
||
mod - src/Gui/ViewProvider.cpp | Diff File | ||
mod - src/Gui/ViewProvider.h | Diff File | ||
mod - src/Gui/ViewProviderExtension.h | Diff File | ||
mod - src/Gui/ViewProviderPy.xml | Diff File | ||
mod - src/Gui/ViewProviderPyImp.cpp | Diff File | ||
staging 8f535796 2019-06-21 05:47:33 Zheng, Lei Details Diff |
ViewProvider/ViewProviderExtension: various new APIs Some of these new APIs are not strictly needed for Link to work, but good to have. Summary of the API changes: * getModeSwitch/getTransformNode() exposes view provider mode switch and transformation coin3D node, required by ViewProviderLink to override placement and visibility. * canAddToSceneGraph() inform 3D viewer whether to add the root node to scenegraph. Some object only exists as a child of some coordinate system. Not adding them can simplify scenegraph and visibility management. * showInTree() inform tree view whether to show the corresponding tree item. * getDefaultMode() to expose the current active mode regardless of the view provider's visibility * (can)DropObjectEx() superseds (can)DropObject() with additional support of subname reference, which makes it easy to support linking to sub-objects. One of the use case is cross coordinate system linking. * getDropPrefix() is used to tell tree view where the object is dropped into. A non empty return means the object is actually dropped into a sub-object. For example, Assembly3 container puts all dropped object into its child container PartGroup. * canDragAndDropObject() is used to inform tree view whether the object dropped need to be dragged out of its original parent, which usually does not make sure for Link type object. * beforeDelete() will be called by Gui::Document when either the object itself is being deleted or when the document is being destoried. * is/setLinkVisibility() allows to show/hide a link to this object. This may be used during editing, to prevent showing editing geometry in multiple places. * update() is made a virtual function, it will be overridden by ViewProviderDocumentObject in future patch. * startEditing() now becomes virtual, and return a ViewProvider that actually handles the editing. This is for future Link type object to forward editing request * covert(), convenience function to convert between Coin3D and FC matrix ViewProviderExtension also gains many relavant extension point of the new API. There is also the new extensionModeSwitchChange() for notifying mode switch changes ViewProviderPy exposes several method/attribute for the new API as well. |
||
mod - src/Gui/ViewProvider.cpp | Diff File | ||
mod - src/Gui/ViewProvider.h | Diff File | ||
mod - src/Gui/ViewProviderExtension.h | Diff File | ||
mod - src/Gui/ViewProviderPy.xml | Diff File | ||
mod - src/Gui/ViewProviderPyImp.cpp | Diff File | ||
master a75c955d 2019-06-21 05:47:33 Zheng, Lei Committer: wmayer Details Diff |
ViewProvider/ViewProviderExtension: various new APIs Some of these new APIs are not strictly needed for Link to work, but good to have. Summary of the API changes: * getModeSwitch/getTransformNode() exposes view provider mode switch and transformation coin3D node, required by ViewProviderLink to override placement and visibility. * canAddToSceneGraph() inform 3D viewer whether to add the root node to scenegraph. Some object only exists as a child of some coordinate system. Not adding them can simplify scenegraph and visibility management. * showInTree() inform tree view whether to show the corresponding tree item. * getDefaultMode() to expose the current active mode regardless of the view provider's visibility * (can)DropObjectEx() superseds (can)DropObject() with additional support of subname reference, which makes it easy to support linking to sub-objects. One of the use case is cross coordinate system linking. * getDropPrefix() is used to tell tree view where the object is dropped into. A non empty return means the object is actually dropped into a sub-object. For example, Assembly3 container puts all dropped object into its child container PartGroup. * canDragAndDropObject() is used to inform tree view whether the object dropped need to be dragged out of its original parent, which usually does not make sure for Link type object. * beforeDelete() will be called by Gui::Document when either the object itself is being deleted or when the document is being destoried. * is/setLinkVisibility() allows to show/hide a link to this object. This may be used during editing, to prevent showing editing geometry in multiple places. * update() is made a virtual function, it will be overridden by ViewProviderDocumentObject in future patch. * startEditing() now becomes virtual, and return a ViewProvider that actually handles the editing. This is for future Link type object to forward editing request * covert(), convenience function to convert between Coin3D and FC matrix ViewProviderExtension also gains many relavant extension point of the new API. There is also the new extensionModeSwitchChange() for notifying mode switch changes ViewProviderPy exposes several method/attribute for the new API as well. |
||
mod - src/Gui/ViewProvider.cpp | Diff File | ||
mod - src/Gui/ViewProvider.h | Diff File | ||
mod - src/Gui/ViewProviderExtension.h | Diff File | ||
mod - src/Gui/ViewProviderPy.xml | Diff File | ||
mod - src/Gui/ViewProviderPyImp.cpp | Diff File | ||
staging 54932f43 2019-06-21 05:28:51 Zheng, Lei Details Diff |
Gui: add convenient smart pointer CoinPtr to manager coin node | ||
mod - src/Gui/ViewProvider.h | Diff File | ||
staging e07efde8 2019-06-21 05:28:51 Zheng, Lei Details Diff |
Gui: add convenient smart pointer CoinPtr to manager coin node | ||
mod - src/Gui/ViewProvider.h | Diff File | ||
master bce47d23 2019-06-21 05:28:51 Zheng, Lei Committer: wmayer Details Diff |
Gui: add convenient smart pointer CoinPtr to manager coin node | ||
mod - src/Gui/ViewProvider.h | Diff File | ||
staging e988af81 2019-06-21 02:46:43 Zheng, Lei Details Diff |
Base: improve exception For better FC and Python exception mapping. |
||
mod - src/App/Application.cpp | Diff File | ||
mod - src/Base/Exception.cpp | Diff File | ||
mod - src/Base/Exception.h | Diff File | ||
mod - src/Base/Interpreter.cpp | Diff File | ||
mod - src/Base/Interpreter.h | Diff File | ||
mod - src/Base/PyObjectBase.cpp | Diff File | ||
mod - src/Base/PyObjectBase.h | Diff File | ||
mod - src/Base/PyTools.c | Diff File | ||
mod - src/Base/PyTools.h | Diff File | ||
staging 06dbf913 2019-06-21 02:46:43 Zheng, Lei Details Diff |
Base: improve exception For better FC and Python exception mapping. |
||
mod - src/App/Application.cpp | Diff File | ||
mod - src/Base/Exception.cpp | Diff File | ||
mod - src/Base/Exception.h | Diff File | ||
mod - src/Base/Interpreter.cpp | Diff File | ||
mod - src/Base/Interpreter.h | Diff File | ||
mod - src/Base/PyObjectBase.cpp | Diff File | ||
mod - src/Base/PyObjectBase.h | Diff File | ||
mod - src/Base/PyTools.c | Diff File | ||
mod - src/Base/PyTools.h | Diff File | ||
master 59417068 2019-06-21 02:46:43 Zheng, Lei Committer: wmayer Details Diff |
Base: improve exception For better FC and Python exception mapping. |
||
mod - src/App/Application.cpp | Diff File | ||
mod - src/Base/Exception.cpp | Diff File | ||
mod - src/Base/Exception.h | Diff File | ||
mod - src/Base/Interpreter.cpp | Diff File | ||
mod - src/Base/Interpreter.h | Diff File | ||
mod - src/Base/PyObjectBase.cpp | Diff File | ||
mod - src/Base/PyObjectBase.h | Diff File | ||
mod - src/Base/PyTools.c | Diff File | ||
mod - src/Base/PyTools.h | Diff File | ||
staging e55d4062 2019-06-21 02:21:44 Zheng, Lei Details Diff |
Base::FileInfo: fix left overs in transient directory Setting ReadWrite permssion removes executable permission, causing error when removing directory on Linux. |
||
mod - src/Base/FileInfo.cpp | Diff File | ||
staging 057999ef 2019-06-21 02:21:44 Zheng, Lei Details Diff |
Base::FileInfo: fix left overs in transient directory Setting ReadWrite permssion removes executable permission, causing error when removing directory on Linux. |
||
mod - src/Base/FileInfo.cpp | Diff File | ||
master aa7d780f 2019-06-21 02:21:44 Zheng, Lei Committer: wmayer Details Diff |
Base::FileInfo: fix left overs in transient directory Setting ReadWrite permssion removes executable permission, causing error when removing directory on Linux. |
||
mod - src/Base/FileInfo.cpp | Diff File | ||
staging 13bec0eb 2019-06-21 02:13:46 Zheng, Lei Details Diff |
Console: improve console logging facility | ||
mod - src/Base/Console.cpp | Diff File | ||
mod - src/Base/Console.h | Diff File | ||
staging 6ea08d5c 2019-06-21 02:13:46 Zheng, Lei Details Diff |
Console: improve console logging facility | ||
mod - src/Base/Console.cpp | Diff File | ||
mod - src/Base/Console.h | Diff File | ||
master 50cefc51 2019-06-21 02:13:46 Zheng, Lei Committer: wmayer Details Diff |
Console: improve console logging facility | ||
mod - src/Base/Console.cpp | Diff File | ||
mod - src/Base/Console.h | Diff File | ||
master e72b48e0 2019-06-20 16:27:32 Committer: wmayer Details Diff |
ViewProviderAttachExtension: check for attach extension | ||
mod - src/Mod/Part/Gui/ViewProviderAttachExtension.cpp | Diff File | ||
master b55c210f 2019-06-20 15:01:11 Details Diff |
remove unnecessary imports. normalize debug log levels | ||
mod - src/Mod/Path/PathScripts/PathAreaOp.py | Diff File | ||
mod - src/Mod/Path/PathScripts/PathCircularHoleBase.py | Diff File | ||
mod - src/Mod/Path/PathScripts/PathCircularHoleBaseGui.py | Diff File | ||
mod - src/Mod/Path/PathScripts/PathDeburr.py | Diff File | ||
mod - src/Mod/Path/PathScripts/PathDeburrGui.py | Diff File | ||
mod - src/Mod/Path/PathScripts/PathDressupAxisMap.py | Diff File | ||
mod - src/Mod/Path/PathScripts/PathDressupDogbone.py | Diff File | ||
mod - src/Mod/Path/PathScripts/PathDressupDragknife.py | Diff File | ||
mod - src/Mod/Path/PathScripts/PathDressupHoldingTags.py | Diff File | ||
mod - src/Mod/Path/PathScripts/PathDressupLeadInOut.py | Diff File | ||
mod - src/Mod/Path/PathScripts/PathDressupRampEntry.py | Diff File | ||
mod - src/Mod/Path/PathScripts/PathDressupTagGui.py | Diff File | ||
mod - src/Mod/Path/PathScripts/PathDrilling.py | Diff File | ||
mod - src/Mod/Path/PathScripts/PathDrillingGui.py | Diff File | ||
mod - src/Mod/Path/PathScripts/PathEngrave.py | Diff File | ||
mod - src/Mod/Path/PathScripts/PathEngraveBase.py | Diff File | ||
mod - src/Mod/Path/PathScripts/PathEngraveGui.py | Diff File | ||
mod - src/Mod/Path/PathScripts/PathFixture.py | Diff File | ||
mod - src/Mod/Path/PathScripts/PathGeom.py | Diff File | ||
mod - src/Mod/Path/PathScripts/PathGui.py | Diff File | ||
mod - src/Mod/Path/PathScripts/PathGuiInit.py | Diff File | ||
mod - src/Mod/Path/PathScripts/PathHelixGui.py | Diff File | ||
mod - src/Mod/Path/PathScripts/PathIconViewProvider.py | Diff File | ||
mod - src/Mod/Path/PathScripts/PathJob.py | Diff File | ||
mod - src/Mod/Path/PathScripts/PathJobCmd.py | Diff File | ||
mod - src/Mod/Path/PathScripts/PathJobDlg.py | Diff File | ||
mod - src/Mod/Path/PathScripts/PathJobGui.py | Diff File | ||
mod - src/Mod/Path/PathScripts/PathMillFace.py | Diff File | ||
mod - src/Mod/Path/PathScripts/PathOp.py | Diff File | ||
mod - src/Mod/Path/PathScripts/PathOpGui.py | Diff File | ||
mod - src/Mod/Path/PathScripts/PathOpTools.py | Diff File | ||
mod - src/Mod/Path/PathScripts/PathPocket.py | Diff File | ||
mod - src/Mod/Path/PathScripts/PathPocketBase.py | Diff File | ||
mod - src/Mod/Path/PathScripts/PathPocketBaseGui.py | Diff File | ||
mod - src/Mod/Path/PathScripts/PathPocketShape.py | Diff File | ||
mod - src/Mod/Path/PathScripts/PathPocketShapeGui.py | Diff File | ||
mod - src/Mod/Path/PathScripts/PathProfileBase.py | Diff File | ||
mod - src/Mod/Path/PathScripts/PathProfileBaseGui.py | Diff File | ||
mod - src/Mod/Path/PathScripts/PathProfileContour.py | Diff File | ||
mod - src/Mod/Path/PathScripts/PathProfileEdges.py | Diff File | ||
mod - src/Mod/Path/PathScripts/PathProfileFaces.py | Diff File | ||
mod - src/Mod/Path/PathScripts/PathSelection.py | Diff File | ||
mod - src/Mod/Path/PathScripts/PathSetupSheet.py | Diff File | ||
mod - src/Mod/Path/PathScripts/PathSetupSheetGui.py | Diff File | ||
mod - src/Mod/Path/PathScripts/PathSetupSheetOpPrototype.py | Diff File | ||
mod - src/Mod/Path/PathScripts/PathSetupSheetOpPrototypeGui.py | Diff File | ||
mod - src/Mod/Path/PathScripts/PathStock.py | Diff File | ||
mod - src/Mod/Path/PathScripts/PathStop.py | Diff File | ||
mod - src/Mod/Path/PathScripts/PathSurface.py | Diff File | ||
mod - src/Mod/Path/PathScripts/PathSurfaceGui.py | Diff File | ||
mod - src/Mod/Path/PathScripts/PathToolController.py | Diff File | ||
mod - src/Mod/Path/PathScripts/PathToolControllerGui.py | Diff File | ||
mod - src/Mod/Path/PathScripts/PathToolEdit.py | Diff File | ||
mod - src/Mod/Path/PathScripts/PathUtil.py | Diff File | ||
mod - src/Mod/Path/PathScripts/PathUtils.py | Diff File | ||
mod - src/Mod/Path/PathScripts/PathUtilsGui.py | Diff File | ||
mod - src/Mod/Path/PathScripts/PostUtils.py | Diff File | ||
master 12ae0b35 2019-06-20 12:58:59 Committer: GitHub Details Diff |
Merge pull request 0002276 from Russ4262/profile_faces_fix [Path] fix ProfileFaces limited depth; fix to remove phantom paths; proxy improvements |
||
mod - src/Mod/Path/PathScripts/PathAdaptive.py | Diff File | ||
mod - src/Mod/Path/PathScripts/PathDrilling.py | Diff File | ||
mod - src/Mod/Path/PathScripts/PathJob.py | Diff File | ||
mod - src/Mod/Path/PathScripts/PathJobGui.py | Diff File | ||
mod - src/Mod/Path/PathScripts/PathProfileFaces.py | Diff File | ||
master 8be52179 2019-06-20 12:43:16 Details Diff |
For divide-by-zero issues write an error message intead of raising an exception | ||
mod - src/App/Application.cpp | Diff File | ||
master 1031644f 2019-06-20 12:41:50 Details Diff |
improve doc string of Part.sortEdges | ||
mod - src/Mod/Part/App/AppPartPy.cpp | Diff File | ||
master cdcc6474 2019-06-20 08:21:19 Syres916 Committer: yorik Details Diff |
[AddonManager] Improve handling of Wb Readme images ...with particular regard to Windows character limit. |
||
mod - src/Mod/AddonManager/addonmanager_workers.py | Diff File | ||
master 4035abc3 2019-06-20 07:13:22 Committer: wmayer Details Diff |
[Crowdin] Fix typo in TechDraw/Gui/CommandAnnotate.cpp https://crowdin.com/translate/freecad/all/en-en#6576658 |
||
mod - src/Mod/TechDraw/Gui/CommandAnnotate.cpp | Diff File | ||
master ee09850c 2019-06-20 07:07:27 Committer: wmayer Details Diff |
[Crowdin] Fix typo in Draft/Resources/ui/preferences-draft.ui https://crowdin.com/translate/freecad/all/en-en#6576194 |
||
mod - src/Mod/Draft/Resources/ui/preferences-draft.ui | Diff File |