Commit Graph

26678 Commits

Author SHA1 Message Date
Chris Hennes
d79fa0ddfc Gui: Add PrefTextEdit 2021-12-18 20:29:42 -06:00
Chris Hennes
e42eec2558 Addon Manager: Begin UI redesign
Migrate to a UI that looks more like other software package managers, giving
more space to each addon by hiding the list when an addon is selected, and
providing a "back" button to get back.

Implements a two-style view option for the list of addons: expanded and
condensed, via a delegate that provides the drawing function for each row in
the table based on two different widget designs.
2021-12-18 20:29:42 -06:00
Chris Hennes
f9a6310332 GUI: Tweak verbosity of InitGui startup sequence 2021-12-18 20:29:42 -06:00
Chris Hennes
ba3d921f3f Addon Manager: Bugfixes and cleanup of refactor 2021-12-18 20:29:42 -06:00
Chris Hennes
fa8cac06f4 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
12e3f9f222 Core: Fix installation conflict with pkgutils 2021-12-18 20:29:42 -06:00
Chris Hennes
3aebf0aead GUI: Handle packaged Workbenches and their icons 2021-12-18 20:29:42 -06:00
Chris Hennes
a225695dd8 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
aab7cb408c 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
7c17d14139 Mesh: Correct installation location of tests 2021-12-18 17:16:34 -06:00
Chris Hennes
ba6fb8fb8e OpenSCAD: Handle missing script element from text() 2021-12-18 16:23:31 -06:00
wmayer
99dc3fec76 Fem: include FemGlobal.h 2021-12-18 14:35:20 +01:00
wmayer
ada653e591 Add Global.h headers to modules 2021-12-18 14:06:40 +01:00
Benjamin Alterauge
44d872ddb9 Include Limits
See https://forum.freecadweb.org/viewtopic.php?f=4&t=64567
2021-12-17 21:20:48 +01:00
Abdullah Tahiri
f21e7b9e9b Sketcher: Fix Debug mode GeoUndef 2021-12-17 16:48:50 +01:00
Abdullah Tahiri
21e8aaab32 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:
13db9f7595d6839b46f11527baafed97b415d4fa
2021-12-17 15:05:51 +01:00
wmayer
db936b60c4 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
0f96b7c5a9 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
07fe28cf6b [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
f84c62bf34 [Points] minor style fixes by MSVC 2021-12-17 02:39:47 +01:00
luz paz
108a80091e 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
1a56a24d07 PD: Adjust header uniformity 2021-12-16 23:55:48 +01:00
Yorik van Havre
753d7600b8 Draft: Added INSUNITS to exported DXF - Fixes #4517 2021-12-16 16:12:03 +01:00
Yorik van Havre
b64b3be330 Arch: Fixed display of axis bubbles and texts on DXF export and Techdraw pages 2021-12-16 15:55:58 +01:00
Chris Hennes
d9afcacf6f 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
b918517d22 Sketcher: Fix various typos 2021-12-16 03:31:23 +01:00
Uwe
a1f71bbe9e [Points] compilation fix or -> ||
- also some style fixes made by MSVC
2021-12-16 03:02:13 +01:00
wmayer
78bb8a0282 Points: implement helper method to reduce code duplication 2021-12-15 22:14:57 +01:00
wmayer
56ebdec1b7 Points: fix several warnings, fix invalid point assignment 2021-12-15 22:14:57 +01:00
wmayer
105836293e libE57Format: fix warnings -Wunused-parameter 2021-12-15 22:14:57 +01:00
Benjamin Alterauge
71e7f47e5b If the channels xyz be missing, display error message. 2021-12-15 22:14:57 +01:00
Benjamin Alterauge
b6db87f9c3 Load settings move to AppPointsPy 2021-12-15 22:14:57 +01:00
Benjamin Alterauge
9d2239fbaf Add E57Reader 2021-12-15 22:14:57 +01:00
Benjamin Alterauge
c9ca2b7709 Add e57 extension support 2021-12-15 22:14:57 +01:00
Benjamin Alterauge
4d5ac148e5 Add the libE57Format include dirs to the point wb 2021-12-15 22:14:57 +01:00
Benjamin Alterauge
c569f11ec2 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
29cba4f587 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
fb3448536e PD: support of wires in ReferenceHighlighter 2021-12-15 16:25:06 +01:00
wmayer
22d804d985 PD: handle Base::Exception in Loft::execute 2021-12-15 16:24:42 +01:00
wmayer
317e0b11bf 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
c2823b0435 PD: hide the sections of a loft only if it can be recomputed successfully 2021-12-15 15:13:33 +01:00
wmayer
9ff2e22654 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
5ad4dc40e4 Gui: remove pop-up dialog in case the macro directory is empty 2021-12-15 13:52:12 +01:00
Uwe
b2d04a7866 [Win installer] fix typos 2021-12-15 12:42:39 +01:00
Uwe
251bf1a3f0 [Win installer] add info 2021-12-15 12:03:31 +01:00
0penBrain
1239676a5e [Gui] Ensure dockwidget is stacked on top when activated 2021-12-14 17:35:59 +01:00
wmayer
997e081505 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
4da50bc539 Start: avoid flushing the buffer after each new line 2021-12-14 08:01:37 +01:00
wmayer
5fe41f8e4e 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
07c92cc218 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