Commit Graph

15572 Commits

Author SHA1 Message Date
lorenz
ab1f4c442d py3: AddonManager-macro: use unicode
proposal from here: https://forum.freecadweb.org/viewtopic.php?f=3&t=33172&start=10#p278156
2019-01-05 14:50:25 +01:00
wmayer
2c3268f9f6 Py3: use feature detection instead of version detection 2019-01-05 13:11:04 +01:00
Markus Lampert
381f087536 Using fixed size images for qt5/4 compatibility 2019-01-05 12:30:41 +01:00
Markus Lampert
81729f6621 Setting fixed size for tool images 2019-01-05 12:30:41 +01:00
Markus Lampert
6e0a5580b8 Fixed Queue import for py3 2019-01-05 12:30:41 +01:00
Markus Lampert
cd1ebb1732 Fixed indexing dictionary keys 2019-01-05 12:30:40 +01:00
cclauss
d33098860d Fix TabError for Python 3
Was split out of #1885...
```
./src/Tools/ArchiveNameFromVersionHeader.py:41:34: E999 TabError: inconsistent use of tabs and spaces in indentation
	version['FCRepositoryHash'] = SHA
                                 ^
```
2019-01-05 12:20:49 +01:00
Bernd Hahnebach
ade267b8f6 Arch: import ifc, code formating, flake8, only the most important ones 2019-01-05 12:17:52 +01:00
Bernd Hahnebach
bc31a9afcd Material: code formating, flake8 2019-01-05 12:17:52 +01:00
Bernd Hahnebach
b3de953c18 Material: code formating, file beginnings Python block comment with space, flake8 E265 2019-01-05 12:17:52 +01:00
Bernd Hahnebach
86c7a85e3c FEM: code formating, flake8, make line breaks before binary operator, it really reads better :-) 2019-01-05 12:17:51 +01:00
eszlari
19cd5690e7 XDGData: remove CMAKE_CURRENT_SOURCE_DIR 2019-01-05 12:15:58 +01:00
eszlari
0177c8b64e Linux mime: add icon 2019-01-05 12:15:58 +01:00
Yorik van Havre
d9f8cfac18 Arch: Fixed wire/edge bug in IFC import 2019-01-04 22:48:49 -02:00
Yorik van Havre
41a9f5bbab Updated credits page 2019-01-04 15:25:12 -02:00
wmayer
9f2904e8ec fix flake8 issues suggested by cclauss 2019-01-04 15:30:17 +01:00
Bernd Hahnebach
56db51867c FEM: ccx tools, better error handling on run ccx 2019-01-04 15:28:17 +01:00
Bernd Hahnebach
37a2cceab3 FEM: ccx tools, ccx run, set ret code to 0 for check analysis and return ret code 2019-01-04 15:28:17 +01:00
Bernd Hahnebach
76541ca1b5 FEM: ccx tools, debug prints 2019-01-04 15:28:16 +01:00
Bernd Hahnebach
2e6dac1871 FEM: code formating, flake8 2019-01-04 15:28:16 +01:00
Bernd Hahnebach
3f443d2264 FEM: result reading, debugg prints 2019-01-04 15:28:16 +01:00
Bernd Hahnebach
8a3fd0caf6 Arch: IFC, print code formating in the regard of Py3 2019-01-04 15:28:16 +01:00
wmayer
64fa8cb855 improve handling of (raw) input in Python console 2019-01-04 14:16:50 +01:00
wmayer
2c838bfc7d fix typo in StartPage module 2019-01-04 10:56:34 +01:00
wmayer
df3853738e fix several Py3 issues 2019-01-03 18:11:37 +01:00
cclauss
7afb54f49b Undefined name: to --> 'to'
```
./src/Tools/fcbt/FileTools.py:47:50: F821 undefined name 'to'
                print('Error copying', pathFrom, to, pathTo, '--skipped')
                                                 ^
./src/Tools/fcbt/FileTools.py:86:54: F821 undefined name 'to'
                    print('Error copying', pathFrom, to, pathTo, '--skipped')
                                                     ^
```
2019-01-03 17:38:45 +01:00
wmayer
7ba92f96a5 reduce code duplication 2019-01-03 17:33:39 +01:00
wmayer
8358d7f876 Qt5: don't use native color dialog 2019-01-03 16:14:12 +01:00
wmayer
b8455531c1 declare private intersect() function as static to make clear it doesn't belong to a GeomCurve instance 2019-01-03 15:40:59 +01:00
wmayer
2aa4f8c47f Update copyright notice 2019-01-03 15:37:02 +01:00
tomate44
9ea523a9e0 fix intersectCC method missing some intersection points for Geom2d curves 2019-01-03 12:33:58 +01:00
wmayer
3ba0772d97 handle C++ exception in Python interface 2019-01-03 12:19:37 +01:00
Silas
8526b0747e Improve readability with some comments 2019-01-03 11:43:43 +01:00
Silas
309640eb7f Only changes the ViewSystem if the user confirms
UnitsApi::setSchema() was being called when the user changed the
comboBox item, so the view system was saved if the user later clicked
Cancel.  This call was moved to the saveSettings() method that is called
only if the user clicks Apply or OK.
2019-01-03 11:43:43 +01:00
cclauss
f1c6c549a9 Cannot mix bytes and nonbytes literals in OpenSCADUtils.py
Fixes Travis test failure: https://travis-ci.org/FreeCAD/FreeCAD/jobs/474743289#L8528
2019-01-03 11:37:00 +01:00
wmayer
8527b0228e in test_python_syntax fix check for Py3 2019-01-03 10:40:19 +01:00
Yorik van Havre
98ebeaa198 Draft: fixed bug in arc tracker 2019-01-02 18:05:34 -02:00
paullee
5af993cb1c Curvilinear Landing based on underlying curve edges supported; found sortEdges() 'problem'
Discussion:-
https://forum.freecadweb.org/viewtopic.php?f=23&t=29358&start=100#p277409
2019-01-02 17:26:34 -02:00
Bernd Hahnebach
ddebf0d3c7 FEM: gmsh tools, Py3, there still are extra b'ees to remove 2019-01-02 17:26:00 -02:00
luz.paz
0a25f7fd58 FEM: source comment typo fixes 2019-01-02 17:24:58 -02:00
Diego Elio Pettenò
0274e73a8d setup: don't require the user to agree to GPL to complete setup.
As @foone complains on twitter often enough, this should not require
agreement for use since GPL is not an EULA.

The definitions are inspired from the similar NSIS setup file from VLC.
2019-01-02 17:23:52 -02:00
wmayer
01367d21f6 fix bytes vs. str issue on macOS 2019-01-02 16:26:16 +01:00
wmayer
ccf99f57c0 add slice apart command to sub-menu 2019-01-01 22:21:07 +01:00
Stian Skjelstad
06ef43c77f Fix #3697
We need to initialize progressTime for given number of step-operations too,
else the filter that checks for X ms between each refresh update will always
fail, due to time-difference being way out of range.

Also, 10 updates per second is not a lot, since we also filter out the
QT event loop for long operations performed in the main thread.
2019-01-01 21:47:11 +01:00
wmayer
1f30c218e6 remove signal blocker
fixes 0003752: Preferences/Sketcher: Changing Grid size default is not respected upon creation of new Sketches
2019-01-01 18:17:23 +01:00
wmayer
70aaf3e95f fixes 0003756: Tooltips should not start with the internal name of the tool 2019-01-01 16:54:12 +01:00
wmayer
47fc808157 fixes 0003757: Join icon menu in the Boolean toolbar does not show command names nor tooltips 2019-01-01 16:48:43 +01:00
Yorik van Havre
1a7d3d9a37 Start: Don't switch workbenches if we're not in Start anymore 2018-12-31 16:45:16 -02:00
Yorik van Havre
41fee3bb3d Fixed wording as notifed on crowdin 2018-12-31 16:21:49 -02:00
wmayer
563d020b67 improve error messages for Pocket, Hole and Groove feature 2018-12-31 18:30:13 +01:00