Commit Graph

26550 Commits

Author SHA1 Message Date
wmayer
2e16f6a7e1 PD: [skip ci] refactor Hole feature 2022-02-26 16:18:20 +01:00
wmayer
08a3b60031 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
27d2a8d17b Base: fix build failure with MSYS/clang 2022-02-26 12:08:02 +01:00
wmayer
40077d4109 Base: [skip ci] fix build failure with MSYS/clang 2022-02-26 11:16:57 +01:00
Chris Hennes
386f68aa81 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
27a7c60802 Addon Manager: Minor improvements to utilities 2022-02-25 20:41:03 -06:00
Ajinkya Dahale
35373434bc [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
a4955a27bf [Sketcher] Correct NURB to NURBS
The S in NURBS stands for Spline
2022-02-25 18:22:01 +01:00
Uwe
a8c912d6f8 [App] Expression and Extension: remove unused includes 2022-02-25 18:06:57 +01:00
Yorik van Havre
af0c34db9c 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
6afb92ec67 Gui: add missing PropertyItemDelegate::eventFilter()
For handling focus change when editing property
2022-02-25 12:17:17 +01:00
Uwe
d837160c8e [App] remove some unused includes 2022-02-25 02:25:47 +01:00
luz paz
f8f3c448ef [TD] tweak verbiage for weld symbol directory tooltip [skip ci] 2022-02-24 18:10:57 -05:00
luz paz
03ffb0844f [TD] Fix some more grammatical issues 2022-02-24 18:10:57 -05:00
Benjamin Bræstrup Sayoc
15759a57fb [TD] Improve weld task tool tips, partially fixes #0004838 2022-02-24 18:10:57 -05:00
Chris Hennes
038d9cfb2f Addon Manager: Improve darkmode check 2022-02-24 12:05:08 -06:00
wmayer
195c87625d Gui: [skip ci] make some minor improvements in ReportOutput class 2022-02-24 17:56:52 +01:00
wmayer
a311bed2fd 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
e0c45fe763 Addon Manager: Remove restart need for pref packs
The actual need to restart was removed by aaf4fad0c, 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
416ef8bf82 Addon Manager: Switch cache strategy to PreferNetwork 2022-02-24 09:25:02 -06:00
Chris Hennes
1d13bf8b44 Addon Manager: Fix compact view tag label 2022-02-24 09:16:07 -06:00
Chris Hennes
3503cb2abc OpenSCAD: Warning message tweaks 2022-02-24 09:08:43 -06:00
Yorik van Havre
d6041f491f 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
8302883843 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
6a1d81f62b 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
beb0152996 [App] Range to VRML: remove unused includes 2022-02-24 11:28:52 +01:00
Uwe
4d0a5c045c [Base] Units and Uui: remove unused includes 2022-02-24 11:08:56 +01:00
Uwe
832a6eb43b [Base] Console and BaseClass: remove unused includes 2022-02-24 09:34:01 +01:00
Uwe
c533286d00 [Part] fix a comment on SectionCut 2022-02-24 04:49:29 +01:00
Chris Hennes
03414b9fd7 OpenSCAD: Fix for empty groups 2022-02-23 21:21:57 -06:00
Chris Hennes
5eb081363b 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
e7ca40623c 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
d88397f3d6 [App] Placement and Property: remove unused includes 2022-02-24 01:09:00 +01:00
Chris Hennes
18c7ef6370 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
9ca1173a30 Gui: [skip ci] restore block cursor setting for Python console at startup 2022-02-23 22:49:35 +01:00
Uwe
581a66aa2d [Base] Exception and FileInfo: remove unused includes 2022-02-23 19:13:13 +01:00
Dirk Olbrich
99bf963f54 [Mod] reorder module imports alphabetically 2022-02-23 19:02:55 +01:00
Noah
cced5c05ec 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
a29cee8c1d Tools: [skip ci] in thumbnail provider replace CxImage library with Win32 API 2022-02-23 17:35:42 +01:00
sliptonic
efbba14254 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
74f4a2b91e [Std_SendToPythonConsole] add doc, sub, and subs 2022-02-23 15:14:48 +01:00
Uwe
8d07ce282e [Tools] rename a variable to silence the spellchecker CI 2022-02-23 13:03:05 +01:00
Uwe
d0183415a4 [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
09ce5ce137 [App] Document: remove unused includes 2022-02-23 01:56:26 +01:00
luz paz
958a1c67d5 [Path] mark deprecated selections
...and fix typos
2022-02-22 19:07:54 -05:00
Uwe
34df90a4a1 [Show] delete empty and unused file 2022-02-23 00:42:53 +01:00
Uwe
7d1e7fa506 [Base] rename a variable to please the spellchecker CI 2022-02-23 00:40:21 +01:00
sliptonic
ce70ee11f9 Update PathSelection.py
The Opname changed as part of the translation cleanup.  Adding both names to the dictionary will support both existing operations and newly created ones.
2022-02-22 14:56:00 -06:00
sliptonic
dc94ff8b6f Merge pull request #5424 from Russ4262/fix/3D_pocket_overcut
Path: Fixes 3D Pocket overcut on underside of selected faces
2022-02-22 08:52:12 -06:00
sliptonic
c6e043b3c4 Merge pull request #6394 from sliptonic/bug/engravingsketch
Bug/engravingsketch
2022-02-22 08:44:03 -06:00