Commit Graph

27755 Commits

Author SHA1 Message Date
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
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
andrea reale
e0220e7830 Remove unused cMakes 2022-02-23 00:53:46 +01:00
Uwe
8bbec12be3 [Show] delete empty and unused file 2022-02-23 00:42:53 +01:00
Uwe
418cb98010 [Base] rename a variable to please the spellchecker CI 2022-02-23 00:40:21 +01:00
sliptonic
64b9841cb8 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
8e10ce07f9 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
3ac2a72653 Merge pull request #6394 from sliptonic/bug/engravingsketch
Bug/engravingsketch
2022-02-22 08:44:03 -06:00
Yorik van Havre
b6d2974b63 Arch: Fixed wrong constant in IFC export 2022-02-22 14:36:54 +01:00
FEA-eng
988464b0d3 Add new diagonal hatch (flipped) 2022-02-22 08:32:28 -05:00
Uwe
4ed705903b [App] Application: remove unused includes
- also sort the includes
2022-02-22 13:17:07 +01:00
Uwe
d11d00cb70 [Base] fix typo to silence spellchecker CI 2022-02-22 02:31:51 +01:00
Uwe
7162c1a1f4 [PD] final work to remove unused includes 2022-02-22 02:18:49 +01:00
Uwe
62496d7277 Revert "App: fix property ordering problem when undo/redo (#3255)"
This reverts commit c3178343db.
2022-02-22 01:21:49 +01:00
Uwe
278abf5675 [PD] remove more unused includes 2022-02-22 01:19:32 +01:00
wmayer
65b61fe348 Robot: [skip ci] drop word from tooltip 2022-02-21 22:48:49 +01:00
marioalexis
41ee5d85f2 Gui: Change the editor preferences preview to Python 3 2022-02-21 14:50:03 -06:00
wmayer
33d0c735b0 Test: automatically close modal dialogs when running Workbench tests 2022-02-21 21:29:26 +01:00
wmayer
cf49fc7c6d Gui: Attach PythonConsole to parameter group and handle changes in its OnChange() method
This avoids code duplications and makes sure the group name is used only once.
The parameters are saved to the group 'PythonConsole' instead of 'General'.
2022-02-21 19:26:44 +01:00
wmayer
973eb27d7e Gui: move Python console specific settings to its own tab because General is quite overloaded 2022-02-21 17:49:27 +01:00
marioalexis
aec0ae2d39 Arch: Replace Drawing functions with TechDraw functions 2022-02-21 13:17:09 -03:00
Uwe
bc55cf4007 [Part] compile fix for precompiled header
For an unknown reason BRepFill_Generator.hxx must be load explicitly for precompiled headers.
2022-02-21 16:52:41 +01:00
Chris Hennes
8171b6d87d Core: Remove accidentally-committed FindOCC.cmake 2022-02-21 09:22:57 -06:00
wmayer
a8d17ae270 Gui: fix warning -Wunused-parameter
The function PropertyEditor::recomputeDocument() accepts a pointer to App::Document that is passed by the calling instance closeTransaction().
Since this is the active document there is no need for PropertyEditor::recomputeDocument() to ignore the argument and determine the active document again.
2022-02-21 15:41:28 +01:00
Uwe
660436d50b [PD] remove some more unused includes 2022-02-21 15:13:54 +01:00