Commit Graph

27745 Commits

Author SHA1 Message Date
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
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
Yorik van Havre
00b062e803 Added updatets.py log files to gitignore 2022-02-21 14:53:39 +01:00
Uwe
c7fd23e808 [Robot] fix a typo reported by spellchecker CI 2022-02-21 14:16:01 +01:00
Zheng, Lei
0a0bdf6762 App: fix undo/redo of dynamic property add/remove/change 2022-02-21 14:04:12 +01:00
Uwe
da83695cf7 [Arch] fix typo reported by spellchecker CI 2022-02-21 13:47:46 +01:00
Uwe
0ead5a793b fix more typos to silence the spellchecker CI 2022-02-21 13:20:06 +01:00
Uwe
8cbf141ae5 fix some typos to silence the spellchecker CI 2022-02-21 13:09:29 +01:00
wmayer
d06a17da21 OpenSCAD: make sure all unit tests pass in command line mode 2022-02-21 12:38:50 +01:00
Zheng Lei
c3178343db App: fix property ordering problem when undo/redo (#3255)
* Part: fix Placement/Shape onChanged() handling

* App: fix property ordering problem when undo/redo
See https://tracker.freecadweb.org/view.php?id=4265#c14271

* Gui: fix undo/redo signaling
Make sure to signal after all properties has been restored
2022-02-21 12:29:01 +01:00
Zheng Lei
b42462ba14 Gui: improve PropertyEditor refresh (#3535)
* Gui: fix PropertyView 'Add property' action

* Gui: fix property view font color for linked property

* Gui: improve PropertyEditor refresh

* Gui: show real property name in property view tool tip

* Gui: improve property view tool tip

* Gui: fix auto recompute in property view

* Gui: remove duplicated PropertyModel signal of dataChanged()

* Gui: fix property view update on property change
Including changes in document properties

* Gui: fix transaction closing on property editor change
On editing row removal and on model reset.

* Gui: fix property view auto expansion of previous selected item

* Gui: improve property editor navigation using tab/shift+tab
2022-02-21 12:26:21 +01:00
Yorik van Havre
f9d0f288be Removed leftover log files 2022-02-21 12:05:28 +01:00