Commit Graph

37100 Commits

Author SHA1 Message Date
PaddleStroke
4ebe22f166 TechDraw: Enable setting a custom direction. Fixes #5821 2024-04-22 15:53:14 +02:00
PaddleStroke
59f8d6391f TechDraw: InsertView switch the MDI to page when triggered. 2024-04-22 15:53:14 +02:00
PaddleStroke
77ed2eeed5 TechDraw: Add taskbox to Part View. Removes Projection Group from toolbar. 2024-04-22 15:53:14 +02:00
PaddleStroke
3fff49f7f6 TechDraw: Insert View : Enable handling of image and SVG if no selection. 2024-04-22 15:53:14 +02:00
PaddleStroke
68fe9df121 TechDraw: Insert View : Enable handling of spreadsheet and arch objects. Remove the spreadsheet and arch specific commands from the toolbars 2024-04-22 15:53:14 +02:00
Yorik van Havre
951e5b63cc arch - fixed stupid mistake in movewithhost 2024-04-22 15:38:16 +02:00
Farley Runkel
31f5ca51da TechDraw: Refractor tracker action with proper enum 2024-04-22 18:21:49 +08:00
Yorik van Havre
25c1c6c3f1 Arch: Fixed move with host - fixes #13568 2024-04-22 11:22:43 +02:00
Chris Hennes
e0debb03ca Start: Cleanup and minor bugfixes
Start: Remove QML include
Start: Eliminate errors on unreadable images
Start: Ensure command succeeded
Start: Correct startup WB
Also re-enable the migrator, which was not the culprit.
Gui: Roll back unneeded NoneWorkbench changes
2024-04-21 22:27:50 -05:00
Chris Hennes
5d7fec1e98 Web: remove QtWebEngine dependency 2024-04-21 22:27:50 -05:00
Chris Hennes
9b1ef66e98 Remove WebKit SVG renderer. 2024-04-21 22:27:50 -05:00
Chris Hennes
c35693fd8a Web: Remove GUI
Web no longer provides a user-visible browser, but only a simple server for remote interaction with FreeCAD. Dependency on QtWebWengine has been removed.
2024-04-21 22:27:50 -05:00
Chris Hennes
bbf9192fc7 Start: UX refinements
Start: Automatically run command when event loop starts
Also sets PartDesign as the default startup Workbench.
Start: Add checkbox for starting or not starting Start
Start: Correct default card size parameter access
Start: General cleanup
2024-04-21 22:27:50 -05:00
Chris Hennes
7742832df3 Start: Migrate settings from Workbench to Command 2024-04-21 22:27:50 -05:00
Chris Hennes
cfb0873d38 Start: Migrate to simple command 2024-04-21 22:27:50 -05:00
Chris Hennes
d0a87d3e0c Start: Remove old WB and replace with new 2024-04-21 22:27:50 -05:00
Chris Hennes
ef189f8bcf Start: Recreate start as a QtWidgets-based app
Removes all Start network access and dependency on Chromium for rendering. Written
entirely in C++ (no HTML, CSS, JS, etc.).
2024-04-21 22:27:49 -05:00
Roy-043
1f9be3f9ed Merge pull request #13580 from Roy-043/Draft-Move-MouseDelay-pref-to-General-group-and-set-max-value
Draft: Move MouseDelay pref to General group and set max value
2024-04-21 20:38:25 +02:00
Roy-043
e972755545 Draft: Move MouseDelay pref to General group and set max value
* The MouseDelay pref does not belong in the "Grid and snapping" pref group.
* Max. value was missing. Without it the spinbox only goes to 100.
* The 3600 suggestion was removed from the tooltip as it is an unworkable value. But entering it is possible now.
2024-04-21 20:05:29 +02:00
wmayer
37f0ad43f9 Sketcher: Fixes #13518: ValidateSketch cannot be scripted 2024-04-21 11:56:02 +02:00
wmayer
989c710d17 Sketch: Fix linter warnings 2024-04-21 11:16:17 +02:00
wmayer
52935f8249 Sketch: expose several methods to Python
* expose detectDegeneratedGeometries to Python
* expose removeDegeneratedGeometries to Python
* expose delConstraintsToExternal to Python
* expose evaluateConstraints to Python
* expose validateConstraints to Python
2024-04-21 10:41:47 +02:00
wmayer
f555a25f9e Fixes #13549: smesh doesn't compile with boost 1.85 2024-04-21 08:36:16 +02:00
Johannes Wüller
700868f834 Add myself as contributor 2024-04-20 23:03:16 +02:00
Johannes Wüller
6321d5ceb8 Fix CSG computing geometry too early
onChanged() triggers for the first time before all of the properties are
loaded, so it can fail to compute properly at that stage, depending on
the load order.

However, it's not necessary to compute geometry in onChanged() at all,
because that's usually supposed to happen in execute() anyway. The
solution here is to just not do onChanged() at all.

Fixes #13558
2024-04-20 23:02:49 +02:00
wmayer
90a9020ed4 Part: add unit test for PR #13507 2024-04-20 14:31:59 +02:00
mosfet80
2807ceff8e [MOD] removed multiple pi definition
removed multiple pi definition
2024-04-20 11:30:38 +02:00
mosfet80
44449d32d6 App: clean
Clean  GeoFeatureGroupExtension.cpp
2024-04-20 11:29:00 +02:00
mosfet80
eb842aadff Update Application.cpp
removed commented code
2024-04-20 08:54:02 +02:00
Roy-043
eb59682a53 Merge pull request #13543 from Roy-043/Draft-Fix-error-when-deleting-first-digit-of-input
Draft: Fix error when deleting first digit of input
2024-04-19 21:36:38 +02:00
tomate44
1a2e922dce Part: fix shape projection of complex BSpline curves 2024-04-19 20:47:51 +02:00
Roy-043
64bcdbf961 Draft: Fix error when deleting first digit of input
Fixes #13150.
2024-04-19 19:16:13 +02:00
Roy-043
0622cb784e Merge pull request #13540 from Roy-043/Draft-Draft_ToggleGrid-should-update-the-grid
Draft: Draft_ToggleGrid should update the grid
2024-04-19 18:46:16 +02:00
Roy-043
a043cfa376 Draft: Draft_ToggleGrid should update the grid
Fixes #13530.
2024-04-19 15:42:28 +02:00
wmayer
d075a5106f Tests: add unit tests for Color class 2024-04-19 13:07:54 +02:00
wmayer
6d84802946 App: use std::lround() to fix linter warnings 2024-04-19 13:07:10 +02:00
wmayer
c3f9e6eed7 Part: Support of material colors in settings 2024-04-19 11:14:00 +02:00
wmayer
2d24fca530 Gui: Read material colors from settings 2024-04-19 11:13:59 +02:00
wmayer
475ece0777 App: Add setPackedRGB() and getPackedRGB() to Color class 2024-04-19 11:13:59 +02:00
David Carter
b331a9f7a2 Material: Problems editing Quantity properties
There were several issues here, not just one. The following are fixed:

Incorrect display of Quantity items (NaN)
Editing and updating quantity items
Editing and updating items on the first row.

There are still issues with editing lists, but these were known issues at the time of initial merge. This has been split out into issue #13435

fixes #13020
2024-04-18 23:48:05 -05:00
wmayer
6e55cd1c3a Base: Fix possible race condition when restarting the application
When restarting the application (e.g. after installing an addon) the application will be closed and a new instance will be launched. Now it can happen that the old instance is still busy writing the config files to disk while the new instance wants to read them in. At this time it's possible that a config file is in an invalid state so that the new instance will ignore it but then starts with a default configuration.
Later when closing the new instance the config files will be overwritten and destroy the user's original settings.

By using a lock file this race condition will be avoided. It uses a timeout of 1 second that should be enough for the old instance to write the files to disk.
2024-04-18 23:07:58 -05:00
mosfet80
8dd2f8e8fa [App] clean
removed dead code
2024-04-18 23:06:47 -05:00
FEA-eng
d79d3c0c8b FEM: Add NetGen Min Size (#12794) 2024-04-18 23:05:57 -05:00
dzid26
c6493f2ef8 Core: Bring ConfirmSave dialog to the top (#13352) 2024-04-18 22:56:28 -05:00
sliptonic
c4db0a667e Merge pull request #13528 from Ondsel-Development/translation
[path] translation fixes
2024-04-18 19:52:21 -06:00
sliptonic
85cdc56e60 translation stuff 2024-04-18 17:38:12 -05:00
wandererfan
1b39f6f3d9 [TD]set Leader QGraphicsItem parentage on restore 2024-04-18 14:41:38 -04:00
Chris Hennes
7ae62d74bf Base/Toponaming: Correct string hasher output 2024-04-18 13:25:57 -05:00
PaddleStroke
4f3bb4e543 TechDraw: Fix child of linked view. 2024-04-18 12:14:10 -04:00
PaddleStroke
156ae209f5 TechDraw: Fix child not moving when drag and dropping a view between pages. 2024-04-18 12:14:10 -04:00