Commit Graph

14156 Commits

Author SHA1 Message Date
Matthew Fallshaw
af4f8b284b 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
c314edcaf6 replace Eigen::Index with auto to support older Eigen3 versions 2019-10-03 12:44:43 +02:00
wmayer
5e93a7193e fix build failure for Qt4 2019-10-03 11:19:02 +02:00
wmayer
ea171b5e0f fix typo 2019-10-03 11:04:51 +02:00
wmayer
e1b0df9386 remove PCH from header file 2019-10-03 10:18:23 +02:00
luz.paz
7b7797f4f3 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
1f871035f3 Arch: very small typo 2019-10-03 07:16:55 +02:00
wmayer
2134086d4c fix further file names vulnerabilities in TechDraw module 2019-10-03 02:45:38 +02:00
wmayer
21f59ecb67 fix crash in SymbolChooser in case it's empty and Ok is clicked 2019-10-03 02:44:50 +02:00
wmayer
3aa0432425 fix further file names vulnerabilities in modules 2019-10-03 02:37:25 +02:00
wmayer
0aa0f1c31f fix build failure: add export mscro, add header 2019-10-03 01:32:33 +02:00
sliptonic
cee9f4ff40 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
d2be4f115d fix further file names vulnerabilities in core system and Image module 2019-10-02 15:07:13 +02:00
mlampert
e3232169ab Merge branch 'master' into feature/Path-BoundBox 2019-10-01 22:03:05 -07:00
wandererfan
bed78b0b7b [SS]Fix Integer Formatted Value 2019-10-01 20:34:11 -04:00
mlampert
a3c8957190 Merge branch 'master' into feature/Path-BoundBox 2019-10-01 14:37:09 -07:00
wandererfan
ff5a9783d4 [TD]Fix #4085 Win File Rename Fail 2019-10-01 17:32:44 -04:00
wandererfan
55778c7458 [TD]Section dialog revisions & editor 2019-10-01 17:30:35 -04:00
wandererfan
303c84e90f [TD]Prevent crash in Section if BaseView deleted 2019-10-01 17:30:35 -04:00
wandererfan
d9fa2b3263 [TD]Correct section view alignment 2019-10-01 17:30:35 -04:00
wandererfan
58cf8587e2 [TD]Add dumpCS function to DrawUtil 2019-10-01 17:30:35 -04:00
Markus Lampert
e1e095da35 Added copyright notice to source files. 2019-09-30 22:20:54 -07:00
Markus Lampert
84b23d3e90 Add BoundBox property to Path, usable without a gui. 2019-09-30 18:34:57 -07:00
Markus Lampert
66e9cf900a 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
19ac3ecfc7 fix crash when switching to fullscreen, back to normal and closing the sketcher 2019-09-30 23:55:11 +02:00
wandererfan
12335c7d52 [TD]Fix Arrowhead Fill in Dims & Leaders 2019-09-29 19:56:46 -04:00
wandererfan
d7dabeb885 [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
5f619c6743 [TD]Fix Integer display in s/s image 2019-09-29 19:56:46 -04:00
wmayer
5de6763ed5 add escape sequence when executing as Python string 2019-09-28 23:35:08 +02:00
wmayer
fb7a03a04d fix exception handling in _ViewProviderFemResultMechanical 2019-09-28 17:06:47 +02:00
Zheng, Lei
8dec78747f Spreadsheet: fix test cases due to change in error message 2019-09-28 15:31:36 +02:00
Zheng, Lei
a1417c5ffa 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
ea7eee8061 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
d141975701 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
luz.paz
7a38b1ca84 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
donovaly
4ffe076544 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
4607cbb9cf 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
6495902fc2 [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
Markus Lampert
450cc894be Fixed first screen on job creation 2019-09-27 14:29:15 +02:00
Markus Lampert
6e38c10862 Prevent endless loop through negative step down values in engraver. 2019-09-27 14:18:43 +02:00
markus
4230fe5f98 Fixed engrave for non-closed wires for multi step down ops 2019-09-27 14:18:27 +02:00
markus
65a4b27047 Added unit tests for orientWire. 2019-09-27 14:18:09 +02:00
Bernd Hahnebach
24e13bc893 FEM: solver frame work unit tests, improvements 2019-09-27 09:30:08 +02:00
Bernd Hahnebach
506ab243e9 FEM: unit tests, solver framework, separate tests for each solver 2019-09-27 09:30:02 +02:00
Bernd Hahnebach
cfc25626a2 FEM: use femexample setup simple box static for solver framework unit test 2019-09-26 18:50:32 +02:00
Bernd Hahnebach
40a4850f97 FEM: frd reader, fix analysis identifier 2019-09-26 18:30:35 +02:00
Bernd Hahnebach
2873e535f7 FEM: examples manager, small fix 2019-09-26 18:30:30 +02:00
Bernd Hahnebach
c3976011a7 FEM: example simple box static and frequency, add them to the example manager 2019-09-26 18:30:24 +02:00
Bernd Hahnebach
bc29bcf6fd FEM: examples simple box static and frequency, move mesh from unit tests to fem examples 2019-09-26 18:30:20 +02:00
Bernd Hahnebach
3acb7d937a FEM: move setup simple box static and frequency example from unit tests to fem examples 2019-09-26 18:30:16 +02:00