Commit Graph

18386 Commits

Author SHA1 Message Date
Matthew Fallshaw
a2a15c5cd4 fix crash on macOS when opening OpenSCAD Workbench
The OpenSCAD Workbench crashes on open on macOS with error
"a bytes-like object is required, not 'str'", due to python 2 to
python 3 incompatibility. This is me implementing the fix described by
oapa at
https://forum.freecadweb.org/viewtopic.php?t=35384#p311908 (with an
untested attempt to make it also still run with python 2).
2019-10-05 16:31:32 +02:00
wmayer
38447e4dd2 replace Eigen::Index with auto to support older Eigen3 versions 2019-10-03 12:44:43 +02:00
wmayer
3090bf19e9 fix build failure for Qt4 2019-10-03 11:19:02 +02:00
wmayer
8e9f204817 fix typo 2019-10-03 11:04:51 +02:00
wmayer
bec21a800b remove PCH from header file 2019-10-03 10:18:23 +02:00
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
Bernd Hahnebach
9cbcb97a10 Arch: very small typo 2019-10-03 07:16:55 +02:00
wmayer
0995ff1318 fix further file names vulnerabilities in TechDraw module 2019-10-03 02:45:38 +02:00
wmayer
e72df35bff fix crash in SymbolChooser in case it's empty and Ok is clicked 2019-10-03 02:44:50 +02:00
wmayer
52afd8aa11 fix further file names vulnerabilities in modules 2019-10-03 02:37:25 +02:00
wmayer
9e5f602acd add function to escape special characters in strings 2019-10-03 01:43:08 +02:00
wmayer
a3f8d30292 fix build failure: add export mscro, add header 2019-10-03 01:32:33 +02:00
sliptonic
cf0d646fd1 Merge pull request #2565 from mlampert/feature/Path-BoundBox
Path: add BoundBox property to Path object
2019-10-02 08:17:26 -05:00
wmayer
37287cf9d9 fix further file names vulnerabilities in core system and Image module 2019-10-02 15:07:13 +02:00
mlampert
c0ce832a3f Merge branch 'master' into feature/Path-BoundBox 2019-10-01 22:03:05 -07:00
wandererfan
1e5b8df2eb [SS]Fix Integer Formatted Value 2019-10-01 20:34:11 -04:00
mlampert
12c6a529a0 Merge branch 'master' into feature/Path-BoundBox 2019-10-01 14:37:09 -07:00
wandererfan
8736681edb [TD]Fix #4085 Win File Rename Fail 2019-10-01 17:32:44 -04:00
wandererfan
ed445718a2 [TD]Section dialog revisions & editor 2019-10-01 17:30:35 -04:00
wandererfan
83f40bd937 [TD]Prevent crash in Section if BaseView deleted 2019-10-01 17:30:35 -04:00
wandererfan
87cc310e83 [TD]Correct section view alignment 2019-10-01 17:30:35 -04:00
wandererfan
5e41f84a38 [TD]Add dumpCS function to DrawUtil 2019-10-01 17:30:35 -04: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
Markus Lampert
71bc057013 Added copyright notice to source files. 2019-09-30 22:20:54 -07:00
Markus Lampert
2ba54fe4cc Add BoundBox property to Path, usable without a gui. 2019-09-30 18:34:57 -07:00
Markus Lampert
2520a5e159 Split walking and segmenting a path into its own class so it can be used by other algorithms, not just visualisation 2019-09-30 18:34:57 -07:00
wmayer
169eacf1ab fix crash when switching to fullscreen, back to normal and closing the sketcher 2019-09-30 23:55:11 +02:00
wandererfan
1737d7e589 [TD]Fix Arrowhead Fill in Dims & Leaders 2019-09-29 19:56:46 -04:00
wandererfan
b06a1470be [TD]Fix Dimension Color Regression
- still an issue where text looses select color if
  clicked while selected
2019-09-29 19:56:46 -04:00
wandererfan
3606ce5935 [TD]Fix Integer display in s/s image 2019-09-29 19:56:46 -04:00
wmayer
8c97f81877 add escape sequence when executing as Python string 2019-09-28 23:35:08 +02:00
wmayer
504590902d add function to escape special characters in file names 2019-09-28 19:32:34 +02:00
wmayer
375a3d4d34 fix exception handling in _ViewProviderFemResultMechanical 2019-09-28 17:06:47 +02:00
Zheng, Lei
f16c265f00 App: fix QuantityPy __add__ and __sub__ 2019-09-28 15:32:12 +02:00
Zheng, Lei
ff3ec0c7fd Base: add Python number protocol support to Placement/Rotation 2019-09-28 15:32:00 +02:00
Zheng, Lei
d6ad2f09c0 Spreadsheet: fix test cases due to change in error message 2019-09-28 15:31:36 +02:00
Zheng, Lei
36f7098257 App: extend Expression syntax
* Support sub-object reference syntax using the following syntax,
    Part.<<Box.>>.Placement
  or, with sub-object label referencing
    Part.<<$Cube.>>.Placement

* Extend indexing support, including range based indexing, e.g.
    A1[B2+1][C3][D4:-1]

* Add new constants, None, True, true, False, false.
2019-09-28 15:31:24 +02:00
Zheng, Lei
c3db1e02ec App: add list/tuple() function to Expression
For easy creation of Python list/tuple using expression. Range
expression can now be expanded into list or tuple.
2019-09-28 15:30:55 +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
8cbdc3ad5d App: use Python number protocol in Expression
This adds support to do mul/div with matrix and vector, as well as
Python formated string with operator %.
2019-09-28 15:30:34 +02:00
Zheng, Lei
1efadc928e Base: improve base python object number protocol 2019-09-28 15:30:23 +02:00
luz.paz
daf96d29fd Draft: DraftEdit.py now gets PickRadius from user preferences
...instead of being hardcoded.  
Note: PickRadius is the proximity in pixels for picking elements in the 3D view  
Forum thread: https://forum.freecadweb.org/viewtopic.php?f=10&t=39203
2019-09-28 12:49:33 +02:00
luz.paz
dae18259e0 src/App/Application: Improve FC CLI help output
Help the user find more details info by directing them to the exact wiki page needed instead of the front page of the official site.
2019-09-28 12:46:14 +02:00
looooo
84fe44cb32 cmake: pyside2 config fix 2019-09-28 12:43:28 +02:00
donovaly
0124ab9387 TaskSketcher_xxx.ui: use sensible minimal heights to avoid scaling problems
The problem is currently that if the user collapses the solver messages, the list views get too small. The reason is that there is no proper minimal height set. See the forum thread for screenshots of the fixes.

TaskSketcherMessages.ui: remove unnecessary space (saves also vertical space on small screens)
2019-09-28 12:28:50 +02:00
donovaly
d85c82be95 remove unnecessary whitespace from general sketcher dialog
There is too much whitespace, see https://forum.freecadweb.org/viewtopic.php?t=37935&p=324176
2019-09-28 12:28:42 +02:00
Syres916
f083696b99 [Spreadsheet] Excel File Import fix Py3 bug
Please see discussion https://forum.freecadweb.org/viewtopic.php?f=3&t=39653
2019-09-28 12:13:02 +02:00