Commit Graph

18377 Commits

Author SHA1 Message Date
wmayer
3aa0432425 fix further file names vulnerabilities in modules 2019-10-03 02:37:25 +02:00
wmayer
f9ca1b18a4 add function to escape special characters in strings 2019-10-03 01:43:08 +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
wmayer
3ccba4c64b 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
f24c097a5a make sure resetting a document while closing it works independently of the activw view 2019-10-01 16:37:07 +02:00
wmayer
28a915d821 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
2a3d398a9b 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
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
426674f225 add function to escape special characters in file names 2019-09-28 19:32:34 +02:00
wmayer
fb7a03a04d fix exception handling in _ViewProviderFemResultMechanical 2019-09-28 17:06:47 +02:00
Zheng, Lei
6b6c0a503c App: fix QuantityPy __add__ and __sub__ 2019-09-28 15:32:12 +02:00
Zheng, Lei
83284a3cdd Base: add Python number protocol support to Placement/Rotation 2019-09-28 15:32:00 +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
22fede14d8 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
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
Zheng, Lei
783947ecd4 Base: improve base python object number protocol 2019-09-28 15:30:23 +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
luz.paz
81a3a3233f 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
03a17b1564 cmake: pyside2 config fix 2019-09-28 12:43:28 +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
wmayer
1a2370cd91 do not use an int but an enum to handle different modes 2019-09-27 22:00:25 +02:00
Zheng, Lei
b450f5a5c8 App: improve exception handling in FeaturePython 2019-09-27 18:02:20 +02:00
Zheng, Lei
0f29155502 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
68aca247ee Gui: remove FC_TREEPARAM, add document for class TreeParams 2019-09-27 15:49:42 +02:00
Zheng, Lei
cdd31fb10c Gui: fix tree view auto expand 2019-09-27 15:49:31 +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