Commit Graph

26674 Commits

Author SHA1 Message Date
Chris Hennes
67f051007e Addon Manager: Add support for salsa.debian.org
The pyrate has moved to salsa.debian.org, so this commit adds the
beginnings of support for those repos.The Markdown library is required
for nice rendering of repos that don't have a package.xml metadata file.
2021-12-18 20:29:42 -06:00
Chris Hennes
5c1655d125 Core: Fix installation conflict with pkgutils 2021-12-18 20:29:42 -06:00
Chris Hennes
2bfcf6af09 GUI: Handle packaged Workbenches and their icons 2021-12-18 20:29:42 -06:00
Chris Hennes
768a0f086f Addon Manager: Rework backend to use package.xml
This shifts to use the model-view-controller pattern for the list of addons,
and moves to using a full model class rather than an indexed array for the
data storage and management. This enables much more information to be stored
as part of the new AddonManagerRepo data type. It now wraps the Macro class
for macros, supports Preference Packs, and provides access to the Metadata
object.
2021-12-18 20:29:42 -06:00
Chris Hennes
1844a0161e Core: Modify metadata Python handling to use dict
Rather than trying to use a generic Py::Object and assigning properties
to it, use a Py::Dict object for simple data structures like Url,
Maintainer, and Author.

Update metadata standard to include subdirectory
2021-12-18 20:29:42 -06:00
Chris Hennes
fc642482dd Mesh: Correct installation location of tests 2021-12-18 17:16:34 -06:00
Chris Hennes
0b50daec4d OpenSCAD: Handle missing script element from text() 2021-12-18 16:23:31 -06:00
wmayer
d88165c284 Fem: include FemGlobal.h 2021-12-18 14:35:20 +01:00
wmayer
e743c30f3b Add Global.h headers to modules 2021-12-18 14:06:40 +01:00
Benjamin Alterauge
a9ffc6cf1e Include Limits
See https://forum.freecadweb.org/viewtopic.php?f=4&t=64567
2021-12-17 21:20:48 +01:00
Abdullah Tahiri
49d4ef2471 Sketcher: Fix Debug mode GeoUndef 2021-12-17 16:48:50 +01:00
Abdullah Tahiri
fbda0498fd Sketcher: Fix recompute issue
=============================

Bug:
https://forum.freecadweb.org/viewtopic.php?f=3&t=64548

Apparently a find/replace gone wrong when moving code in:
f29a6a0518
2021-12-17 15:05:51 +01:00
wmayer
955fe455cb Part: add function GetCircleCenter from CommandCreateGeo.cpp of the Sketcher module to the Geom2dCircle class in the Part module 2021-12-17 13:01:59 +01:00
wmayer
47b064e7fd E57Format: for CMake version < 3.11 add_library requires explicit list of source files 2021-12-17 11:18:24 +01:00
Mark Ganson TheMarkster
f17c85fc47 [MainWindow] Add toolbar name as toolbar's tooltip (#5259)
* [MainWindow] Add toolbar name as toolbar's  tooltip

Co-authored-by: Uwe <donovaly@users.noreply.github.com>
2021-12-17 03:16:30 +01:00
Uwe
5de15267f5 [Points] minor style fixes by MSVC 2021-12-17 02:39:47 +01:00
luz paz
86ee738dff Cam: translate doxygen from DE/FR to EN
For the purpose of making the source documentation uniform, source comments in this file were translated to english.
2021-12-16 23:57:04 +01:00
luz paz
a5bfba2665 PD: Adjust header uniformity 2021-12-16 23:55:48 +01:00
Yorik van Havre
8585149ab4 Draft: Added INSUNITS to exported DXF - Fixes #4517 2021-12-16 16:12:03 +01:00
Yorik van Havre
568dbcea9e Arch: Fixed display of axis bubbles and texts on DXF export and Techdraw pages 2021-12-16 15:55:58 +01:00
Chris Hennes
b1beadd2e9 Core: Fix std::string init from null pointer
Constructing a string from a null pointer is undefined behavior: it
turned out to work with gcc and MSVC, but with XCode/clang it results in
a segmentation fault. Theis fix assumes that the expected behavior is to
yield an empty string.
2021-12-16 00:09:05 -06:00
luz paz
ab66d7b34f Sketcher: Fix various typos 2021-12-16 03:31:23 +01:00
Uwe
e485fed06f [Points] compilation fix or -> ||
- also some style fixes made by MSVC
2021-12-16 03:02:13 +01:00
wmayer
b94b28838e Points: implement helper method to reduce code duplication 2021-12-15 22:14:57 +01:00
wmayer
71b8af6bb1 Points: fix several warnings, fix invalid point assignment 2021-12-15 22:14:57 +01:00
wmayer
86b230d191 libE57Format: fix warnings -Wunused-parameter 2021-12-15 22:14:57 +01:00
Benjamin Alterauge
40180dd311 If the channels xyz be missing, display error message. 2021-12-15 22:14:57 +01:00
Benjamin Alterauge
698a876ba1 Load settings move to AppPointsPy 2021-12-15 22:14:57 +01:00
Benjamin Alterauge
8da1799956 Add E57Reader 2021-12-15 22:14:57 +01:00
Benjamin Alterauge
fb97812148 Add e57 extension support 2021-12-15 22:14:57 +01:00
Benjamin Alterauge
5772328061 Add the libE57Format include dirs to the point wb 2021-12-15 22:14:57 +01:00
Benjamin Alterauge
ab315f05ef Add the libE57Format to 3rdParty
The library supports the E57 file format. Source code is clone from the fork https://github.com/asmaloney/libE57Format. The licenses are BSL-1.0 and MIT.
2021-12-15 22:14:57 +01:00
luz paz
e2d04f61e2 ReverseEngineering: translate doxygen from DE to EN
For the purpose of making the source documentation uniform, source comments in this file were translated to english.
2021-12-15 16:55:48 +01:00
wmayer
8a2ea97276 PD: support of wires in ReferenceHighlighter 2021-12-15 16:25:06 +01:00
wmayer
b428fb2afa PD: handle Base::Exception in Loft::execute 2021-12-15 16:24:42 +01:00
wmayer
5bef110491 PD: do not throw an exception in TaskSketchBasedParameters::make2DLabel as otherwise editing a broken loft/pipe won't be possible 2021-12-15 15:36:36 +01:00
wmayer
94d8a2034a PD: hide the sections of a loft only if it can be recomputed successfully 2021-12-15 15:13:33 +01:00
wmayer
a87c8dca31 PD: hide the profile of a sketch based feature only if it can be recomputed successfully 2021-12-15 15:13:03 +01:00
wmayer
b5e67c14a5 Gui: remove pop-up dialog in case the macro directory is empty 2021-12-15 13:52:12 +01:00
Uwe
6ae061e5be [Win installer] fix typos 2021-12-15 12:42:39 +01:00
Uwe
bcd278c860 [Win installer] add info 2021-12-15 12:03:31 +01:00
0penBrain
2bfbbb9973 [Gui] Ensure dockwidget is stacked on top when activated 2021-12-14 17:35:59 +01:00
wmayer
2353563cb7 Start: do not show RuntimeError when opening/saving a file after Start page has been closed 2021-12-14 08:08:46 +01:00
wmayer
0183d28f62 Start: avoid flushing the buffer after each new line 2021-12-14 08:01:37 +01:00
wmayer
2d9c403cc0 PD: in ViewProviderLoft::highlightSection follow the same logic as in Loft::execute for selected profiles/sections 2021-12-14 00:30:59 +01:00
wmayer
a853d80c73 Gui: make the Copy command of the report window working if an object in the tree is selected 2021-12-13 18:57:28 +01:00
wmayer
df76209f58 PD: use class ReferenceHighlighter inside ViewProviderDressUp 2021-12-13 16:56:48 +01:00
wmayer
418ef59625 PD: use class ReferenceHighlighter inside ViewProviderPipe 2021-12-13 15:58:55 +01:00
wmayer
098927fb54 PD: properly reset line colors when un-highlighting loft profile/sections 2021-12-13 15:46:04 +01:00
wmayer
6289ff40d5 PD: highlight current profile and sections of a loft when selecting a new profile/section 2021-12-13 15:01:08 +01:00