Commit Graph

21693 Commits

Author SHA1 Message Date
Chris Hennes
fcd3c0f10a Addon Manager: Unit tests for addon init 2022-02-28 11:45:17 -06:00
Chris Hennes
9fa0222369 Addon Manager: Fix bug in URL parsing 2022-02-28 11:45:17 -06:00
wmayer
d42b9a2fe1 PD: fix const correctness in ProfileBased 2022-02-28 18:10:58 +01:00
wmayer
80a84fd849 PD: tmp. suppress errors in helix feature when creating it 2022-02-28 17:55:32 +01:00
0penBrain
430166b7fc Sketch: Fix algorithm seeking for missing coincidences in Validate 2022-02-28 14:52:55 +01:00
wmayer
947f9cfbaa Sketch: [skip ci] add unit test to detect missing point-on-point constraints 2022-02-28 14:50:35 +01:00
mwganson
d0145a0680 check for nullptr 2022-02-28 13:56:35 +01:00
wmayer
486c294f0c TD: fix compiler warnings added with 5e8a44c6a
* warning: private field 'm_showGrid' is not used [-Wunused-private-field]
* warning: private field 'm_gridStep' is not used [-Wunused-private-field]
2022-02-28 12:58:22 +01:00
Chris Hennes
bf77a95e5c Addon Manager: Add tests for Addon 2022-02-27 23:32:33 -06:00
Chris Hennes
17aed10f6f Addon Manager: Renaming and cleanup 2022-02-27 22:50:54 -06:00
Uwe
c4d0eb2f11 [Path] Voronoi: add include needed to compile with the CI 2022-02-28 04:01:53 +01:00
Uwe
d24e321364 [Path] Voronoi: add include needed to compile with the CI 2022-02-28 03:56:45 +01:00
Uwe
7d83d141d3 [Path] Voronoi: remove unused includes 2022-02-28 03:46:15 +01:00
0penBrain
4db58c2c6e AddonManager: improve dark mode heuristic 2022-02-27 18:44:58 -06:00
Uwe
98692e4b63 [TD] CommandExtensionDims: remove unused includes 2022-02-28 01:42:39 +01:00
Wanderer Fan
c32dd8a792 [Import]Fix #6461 MEASUREMENT/INSUNITS 2022-02-27 18:57:49 -05:00
Uwe
6f00d895c0 [TD] fix compilation error introduced with https://github.com/FreeCAD/FreeCAD/pull/6465 2022-02-27 23:56:43 +01:00
Wanderer Fan
879339faa4 [TD]add alignment grid to page 2022-02-27 14:34:35 -05:00
Ajinkya Dahale
06f290e311 [Sketcher] Allow setting B-Spline degree at creation 2022-02-27 16:48:23 +01:00
Chris Hennes
51fc82b6cf Addon Manager: Add packages requested by Ickby 2022-02-26 21:40:12 -06:00
Chris Hennes
b8d01aa269 Addon Manager: Add wiki macro icon scraping 2022-02-26 21:06:37 -06:00
Chris Hennes
2b637a36f7 Addon Manager: Auto-create toolbar button
When installing a macro, prompt user to install a toolbar button
automatically. Fills in the details of the button using the macro's
metadata, including an icon if the __icon__ metadata variable points to
a file.

Also:
* Support XPM data for macro icon
* Support online icons
* Fix bug in macro uninstall
* Cleaned up macro code
2022-02-26 21:06:37 -06:00
Syres916
c787a44f49 [FEM] Bugfix Gmsh Version check to be...
...Python 3.6 compatible
2022-02-26 17:15:28 +01:00
wmayer
59886896dc PD: [skip ci] refactor Hole feature 2022-02-26 17:06:38 +01:00
wmayer
aeba940cf0 PD: [skip ci] refactor Hole feature 2022-02-26 16:48:37 +01:00
wmayer
52b936539f PD: [skip ci] fix const correctness in Hole feature 2022-02-26 16:34:44 +01:00
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
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
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
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
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
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