Commit Graph

2759 Commits

Author SHA1 Message Date
luz.paz
fb32601746 Fix various (doxy) typos and whitespace issues
Found via `codespell -q 3 -L aci,ake,aline,alle,alledges,alocation,als,ang,anid,ba,beginn,behaviour,bloaded,byteorder,calculater,cancelled,cancelling,cas,cascade,centimetre,childs,colour,colours,commen,currenty,dof,doubleclick,dum,eiter,elemente,feld,freez,hist,iff,indicies,initialisation,initialise,initialised,initialises,initialisiert,ist,kilometre,lod,mantatory,methode,metres,millimetre,modell,nd,noe,normale,normaly,nto,numer,oder,orgin,orginx,orginy,ot,pard,pres,programm,que,recurrance,rougly,seperator,serie,sinc,strack,substraction,te,thist,thru,tread,uint,unter,vertexes,wallthickness,whitespaces -S ./.git,*.po,*.ts,./ChangeLog.txt,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/CXX,./src/zipios++,./src/Base/swig*,./src/Mod/Robot/App/kdl_cp,./src/Mod/Import/App/SCL,./src/WindowsInstaller,./src/Doc/FreeCAD.uml`
2019-10-03 07:57:13 +02:00
wmayer
37287cf9d9 fix further file names vulnerabilities in core system and Image module 2019-10-02 15:07:13 +02:00
wmayer
9e5ab2d6fa when cloning a 3d view then also set the new view into edit mode in case the original view is 2019-10-01 19:35:51 +02:00
wmayer
736417989b make sure resetting a document while closing it works independently of the activw view 2019-10-01 16:37:07 +02:00
wmayer
11af8c8543 when closing a 3d view check if itÄs in edit mode to avoid to leave a view provider in a broken state 2019-10-01 16:34:51 +02:00
wmayer
ea1f96916d change order of beforeDelete() and clearing selection inside Application::slotDeleteDocument to prevent crashes in case resetting a view provider touches the selection 2019-10-01 16:33:37 +02:00
wmayer
8c97f81877 add escape sequence when executing as Python string 2019-09-28 23:35:08 +02:00
Zheng, Lei
38c47d6e95 Expression: split Expression.h to ExpressionParser.h
Split Expression details into a separate header to reduce recompilation
time on changes.
2019-09-28 15:30:41 +02:00
Zheng, Lei
d3dea0178d App/Gui: unify NotImplementedError handling in python features
Recognize NotImplementedError as an indication to call the C++
implementation.
2019-09-27 18:01:54 +02:00
Zheng, Lei
959ec5dad3 Gui: remove FC_TREEPARAM, add document for class TreeParams 2019-09-27 15:49:42 +02:00
Zheng, Lei
475baf5481 Gui: fix tree view auto expand 2019-09-27 15:49:31 +02:00
Markus Lampert
9b8ad9525b Fixed updateCommand definition for python 2019-09-27 11:11:47 +02:00
wandererfan
375fe1bd48 [App][Gui]Add Filter for PropertyFile in PropertyEditor 2019-09-20 07:56:52 -04:00
wmayer
9337114714 fix possible segfault in SoQTQuarterAdaptor::convertOrtho2Perspective 2019-09-19 17:54:42 +02:00
wandererfan
b9374d5e71 [Gui]Fix Py SyntaxError on " in PropertyStringList 2019-09-19 06:59:05 -04:00
wmayer
5746c37b7e fix -Wcatch-value=, fix -Wpedantic 2019-09-18 14:36:23 +02:00
wmayer
9fa56345cf core system
force strict ISO C++ (-Wpedantic)
TODO: still a lot of variadic macros are not valid ISO C++
2019-09-18 01:01:14 +02:00
wmayer
690df49618 fixes #0004103: Black screen when using rubberband selection 2019-09-17 15:55:05 +02:00
wmayer
5390266ac7 fixes #0004125: MDIViews not accessible correctly 2019-09-15 18:15:44 +02:00
DeepSOIC
f19e21a224 PartDesign: change view sizing on new sketch 2019-09-11 21:39:16 +02:00
DeepSOIC
30bd6345f5 Gui: add preference to set 3d view scale for new documents
+ change default view orientation to Trimetric.
2019-09-11 21:39:08 +02:00
0penBrain
81808b1f5c Update label of 'Discard' button of expression input dialog and add tooltip to resolves #4079 2019-09-11 21:32:52 +02:00
triplus
2e6f8f8d68 AppImage - add support for embedded documentation 2019-09-11 19:10:24 +02:00
wmayer
6ebd0f4e5b move method setTransform() from ViewVolumeProjection to ViewProjMethod, restructure ViewProjMethod 2019-09-10 23:21:09 +02:00
Zheng, Lei
f1b569621a Split App::AutoTransaction into its own file 2019-09-10 14:17:07 +02:00
Zheng, Lei
f55b4ca7f7 Gui: minor adjustment on command status update 2019-09-10 14:17:07 +02:00
Zheng, Lei
b69a31c5b5 Gui: add Gui.updateCommands() for manual command status update 2019-09-10 14:17:07 +02:00
Zheng, Lei
6d770d85dc Gui: fix property view flickering 2019-09-10 14:17:07 +02:00
Zheng, Lei
f9008396df Gui: fix property view on multiple sub-element selections 2019-09-10 14:17:06 +02:00
Zheng, Lei
7782b51e76 Gui: improve code readability 2019-09-10 14:17:06 +02:00
Zheng, Lei
03770fc725 Gui: restore tree view content menu action order 2019-09-10 14:17:06 +02:00
Zheng, Lei
0936ebd3c9 Gui: fix active object highlight 2019-09-10 14:17:06 +02:00
wmayer
99c123db6e fix possible crash on workbench change 2019-09-09 14:56:19 +02:00
wmayer
d36a4b817d correctly handle custom property names (e.g. sketcher constraints) 2019-09-08 17:32:43 +02:00
wmayer
a0811878c2 re-activate DAG view 2019-09-08 16:00:08 +02:00
wmayer
bf995622cd support Coin 3.1.3 with vec_traits<SbRotation> 2019-09-08 14:00:54 +02:00
luz.paz
5807e0b531 Fix typos, grammar, and some whitespace issues
Found via `codespell -q 2 -L aci,ake,aline,alle,alledges,alocation,als,ang,anid,ba,beginn,behaviour,bloaded,byteorder,calculater,cancelled,cancelling,cas,cascade,centimetre,childs,colour,colours,commen,currenty,dof,doubleclick,dum,eiter,elemente,feld,freez,hist,iff,indicies,initialisation,initialise,initialised,initialises,initialisiert,ist,kilometre,lod,mantatory,methode,metres,millimetre,modell,nd,noe,normale,normaly,nto,numer,oder,orgin,orginx,orginy,ot,pard,pres,programm,que,recurrance,rougly,seperator,serie,sinc,strack,substraction,te,thist,thru,tread,uint,unter,vertexes,wallthickness,whitespaces -S ./.git,*.po,*.ts,./ChangeLog.txt,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/CXX,./src/zipios++,./src/Base/swig*,./src/Mod/Robot/App/kdl_cp,./src/Mod/Import/App/SCL,./src/WindowsInstaller,./src/Doc/FreeCAD.uml`
2019-09-07 11:58:38 -04:00
Zheng, Lei
05ca5b82e1 Gui: minor change to tree view document restore handling 2019-09-07 17:00:13 +02:00
Zheng, Lei
b2893691cf Gui: improve Gui.addIcon(), add Gui.isIconCached()
The motivation of this patch is to make it easy for Python workbench
cache its own icons (possibly generated at runtime), saving the trouble
of pre-compiling the icons as binary resources.

* Gui.addIcon() now support a third argument as format. Default format
  is 'XPM' as before. The intention is to allow user to cache other
  format of icon image, like 'PNG'.

* ViewProviderPythonFeature::getIcon() now checks if the given string
  argument is a key to a cached icon.
2019-09-07 16:01:19 +02:00
wmayer
c510345ff6 move Save history action to the correct position in the context-menu, do some minor optimizations 2019-09-07 15:48:16 +02:00
Yorik van Havre
33ad1759ef Python Console - only save max 100 history items 2019-09-07 15:27:04 +02:00
Yorik van Havre
b264e34083 Add Python console option to save history across sessions 2019-09-07 15:26:45 +02:00
wmayer
d05ae18340 fix -Wreturn-std-move 2019-09-07 15:19:28 +02:00
wmayer
93321dc208 make PySideUicModule working independent of linking PySide or loading it at runtime 2019-09-07 13:40:04 +02:00
wmayer
830c8f866e Improve branding by avoiding explicit use of 'FreeCAD' in tool tips 2019-09-07 13:18:59 +02:00
wmayer
1eb197f4a8 fix incorrect use of PyObject_TypeCheck in LinkViewPy 2019-09-06 22:53:17 +02:00
wmayer
b14cf8a00d extend convertTo function to also support SbRotation/Base::Rotation 2019-09-06 21:29:51 +02:00
wmayer
7ee903f27c avoid explicit cast to ZipInputStream in Gui::Dcoument class 2019-09-06 12:37:09 +02:00
Yorik van Havre
0a6b2a86d6 AddonManager: Better icons 2019-09-04 18:26:56 -03:00
Yorik van Havre
349bfce263 Gui: Use freedesktop name for the group icon so it can be displayed using the system theme 2019-09-04 17:36:13 -03:00