Commit Graph

26555 Commits

Author SHA1 Message Date
Chris Hennes
3be45f4087 Gui: Add function to search custom commands 2022-02-26 21:06:37 -06:00
Syres916
896b036aee [FEM] Bugfix Gmsh Version check to be...
...Python 3.6 compatible
2022-02-26 17:15:28 +01:00
wmayer
b05fb73196 PD: [skip ci] refactor Hole feature 2022-02-26 17:06:38 +01:00
wmayer
3ce87cb2fa PD: [skip ci] refactor Hole feature 2022-02-26 16:48:37 +01:00
wmayer
9ddfcb89a5 PD: [skip ci] fix const correctness in Hole feature 2022-02-26 16:34:44 +01:00
wmayer
df0fac1de8 PD: [skip ci] refactor Hole feature 2022-02-26 16:18:20 +01:00
wmayer
4753b0232d PD: fix error 'gp_Dir::Crossed() - result vector has zero norm'
As reported here: https://forum.freecadweb.org/viewtopic.php?f=3&t=65826
2022-02-26 16:07:35 +01:00
wmayer
a5bc46afb2 Base: fix build failure with MSYS/clang 2022-02-26 12:08:02 +01:00
wmayer
f24fe8157a Base: [skip ci] fix build failure with MSYS/clang 2022-02-26 11:16:57 +01:00
Chris Hennes
14ff42be13 Addon Manager: Add unit test framework
Adds the framework for unit testing, and a few tests of the utilities functions.
2022-02-25 23:17:59 -06:00
Chris Hennes
b1d6768d1c Addon Manager: Minor improvements to utilities 2022-02-25 20:41:03 -06:00
Ajinkya Dahale
f90a987cac [Sketcher] Create internal geometry after converting to NURBS
The control points are needed to edit the converted B-Spline
2022-02-25 18:45:12 +01:00
Ajinkya Dahale
690a7b4ab9 [Sketcher] Correct NURB to NURBS
The S in NURBS stands for Spline
2022-02-25 18:22:01 +01:00
Uwe
b4fff07d9e [App] Expression and Extension: remove unused includes 2022-02-25 18:06:57 +01:00
Yorik van Havre
8196033d1b Merge pull request #6444 from Roy-043/Draft-Fix-Draft_Line-Length-is-zero-bug
Draft: Fix Draft_Line Length is zero bug
2022-02-25 14:32:15 +01:00
Zheng, Lei
75dd3d6533 Gui: add missing PropertyItemDelegate::eventFilter()
For handling focus change when editing property
2022-02-25 12:17:17 +01:00
Uwe
26102318a0 [App] remove some unused includes 2022-02-25 02:25:47 +01:00
luz paz
713fdfc32d [TD] tweak verbiage for weld symbol directory tooltip [skip ci] 2022-02-24 18:10:57 -05:00
luz paz
de3168606a [TD] Fix some more grammatical issues 2022-02-24 18:10:57 -05:00
Benjamin Bræstrup Sayoc
3a14133269 [TD] Improve weld task tool tips, partially fixes #0004838 2022-02-24 18:10:57 -05:00
Chris Hennes
ef4fdc7ecf Addon Manager: Improve darkmode check 2022-02-24 12:05:08 -06:00
wmayer
0ccca56532 Gui: [skip ci] make some minor improvements in ReportOutput class 2022-02-24 17:56:52 +01:00
wmayer
b9b32c7ebf Gui: Fix problem where Python output and errors are not redirected to report view until preferences window is opened 2022-02-24 17:42:40 +01:00
Chris Hennes
189bec3e5a Addon Manager: Remove restart need for pref packs
The actual need to restart was removed by 7a566ea4d, this commit
updates the Addon Manager user interface to stop telling the user
they need to restart. Now restarting is only required for addons
that contain workbenches. Macros and pref packs to not need a
restart.
2022-02-24 09:49:15 -06:00
Chris Hennes
af8890df69 Addon Manager: Switch cache strategy to PreferNetwork 2022-02-24 09:25:02 -06:00
Chris Hennes
b5c72365a8 Addon Manager: Fix compact view tag label 2022-02-24 09:16:07 -06:00
Chris Hennes
9dd852202b OpenSCAD: Warning message tweaks 2022-02-24 09:08:43 -06:00
Yorik van Havre
ed031b5b28 Merge pull request #6420 from marioalexis84/draft-drawing_techdraw
Arch: Replace Drawing functions with TechDraw functions
2022-02-24 13:34:59 +01:00
wmayer
86c91d71a1 Sketcher: fix crash in function 'Convert to B-Spline'
See also the forum thread: https://forum.freecadweb.org/viewtopic.php?f=19&t=66470
2022-02-24 12:54:11 +01:00
Roy-043
039457bdd6 Draft: Fix Draft_Line Length is zero bug
When changing the Length of a Draft_Line to f.e. 0.5 the input of the zero resulted in a zero length line.
2022-02-24 12:26:42 +01:00
Uwe
8dd1140a4b [App] Range to VRML: remove unused includes 2022-02-24 11:28:52 +01:00
Uwe
9ec0bcdcf2 [Base] Units and Uui: remove unused includes 2022-02-24 11:08:56 +01:00
Uwe
c08c4c12ef [Base] Console and BaseClass: remove unused includes 2022-02-24 09:34:01 +01:00
Uwe
e583eec264 [Part] fix a comment on SectionCut 2022-02-24 04:49:29 +01:00
Chris Hennes
2931c3ccb6 OpenSCAD: Fix for empty groups 2022-02-23 21:21:57 -06:00
Chris Hennes
08164b12c7 Addon Manager: Fix corrupted ZIP downloads
The code that followed redirects was resulting in a double-download
of the data. This corrects the problem by manually re-queueing a
new network request for each redirect, instead of trying to tell the
QNetworkAccessManager to follow them automatically.
2022-02-23 20:37:27 -06:00
Chris Hennes
85390bfb6d Addon Manager: Minor fixes and error tweaks
* Correct display of tags in list view
* Add error checking for branch name and url match
* Convert some messages to logs
2022-02-23 18:32:05 -06:00
Uwe
c7910825a3 [App] Placement and Property: remove unused includes 2022-02-24 01:09:00 +01:00
Chris Hennes
a3d8a0e635 Addon Manager: Show correct buttons when no git
If git and/or GitPython are not installed, the Addon Manager cannot
check to see if there are any available updates. In that case, show
the "Uninstall" and "Update" buttons. If no update is available,
clicking the update button will simply download a new copy of the
addon.
2022-02-23 17:02:23 -06:00
wmayer
fb35944604 Gui: [skip ci] restore block cursor setting for Python console at startup 2022-02-23 22:49:35 +01:00
Uwe
89b37a5110 [Base] Exception and FileInfo: remove unused includes 2022-02-23 19:13:13 +01:00
Dirk Olbrich
098550c702 [Mod] reorder module imports alphabetically 2022-02-23 19:02:55 +01:00
Noah
d0b0756cbf Gui: fix use of deprecated Qt::TextColorRole
Qt::TextColorRole (enum ItemDataRole) is deprecated as of Qt 5.13 and will be removed in Qt 6:

- https://code.qt.io/cgit/qt/qtbase.git/tree/src/corelib/global/qnamespace.h?h=v5.13.0#n1511

It's replaced with `Qt::ForegroundRole` which is available since at least Qt 5.0 (FreeCAD 0.20 will require Qt 5.9 or later).

- https://code.qt.io/cgit/qt/qtbase.git/tree/src/corelib/global/qnamespace.h?h=v5.0.0#n1374
- https://wiki.freecadweb.org/0.20_Development_Cycle
2022-02-23 17:53:33 +01:00
wmayer
4875aa88b6 Tools: [skip ci] in thumbnail provider replace CxImage library with Win32 API 2022-02-23 17:35:42 +01:00
sliptonic
155debae48 Merge pull request #5512 from luzpaz/Path-PathSelection-bug
Path: Fix class 'KeyError' in PathSelection.py
2022-02-23 08:40:45 -06:00
mwganson
dd7650a69b [Std_SendToPythonConsole] add doc, sub, and subs 2022-02-23 15:14:48 +01:00
Uwe
c6afe534ce [Tools] rename a variable to silence the spellchecker CI 2022-02-23 13:03:05 +01:00
Uwe
181fc65d01 [Robot] fix typo reported by spellchecker CI
- Accelaration -> Acceleration

- plus some style fixes done by MSVC
2022-02-23 12:13:15 +01:00
Uwe
4adabe3de8 [App] Document: remove unused includes 2022-02-23 01:56:26 +01:00
luz paz
7981752305 [Path] mark deprecated selections
...and fix typos
2022-02-22 19:07:54 -05:00