Commit Graph

41712 Commits

Author SHA1 Message Date
Chris Hennes
69bbee9583 Part: Ensure ShapeHistory is fully initialized
Coverity issue 515690
2025-03-22 07:15:15 +01:00
Chris Hennes
e12deea20e Sketcher: Ensure loop can exit
Coverity issue 513796
2025-03-22 07:15:15 +01:00
Chris Hennes
5502fafafb CAM: Add missing destructor
Coverity issue 513026
2025-03-22 07:15:15 +01:00
Chris Hennes
5aa1842dcc Part: Remove inefficient vector reserve()
Coverity issue 356645
2025-03-22 07:15:15 +01:00
Chris Hennes
0bfc459298 Part: Don't cast time_t to a potentially 32-bit type
Coverity (and possibly other static analyzers) detect when we attempt to use a time_t as what might be a 32-bit value, warning about Y2K38 safety. It is irrelevant in this case, but make the change to avoid the warning (so it doesn't hide any real problems).
2025-03-22 07:15:15 +01:00
Chris Hennes
28e07eeda5 Gui: Don't allow manipulator to delete the menubar
Same for the toolbar or context menu.
2025-03-22 07:15:15 +01:00
Chris Hennes
00e648220a App: Check for an invalid enum before proceeding 2025-03-22 07:15:15 +01:00
Chris Hennes
c2df0a1315 TD: Ensure WalkerEdge is fully initialized
Coverity thinks that the edge_t is not getting fully initialized, so add a constructor to WalkerEdge that ensures the two components in question are set to zero (resulting in an invalid edge).
2025-03-22 07:15:15 +01:00
Chris Hennes
c252f40b6f App: Don't use std::forward inside loop
std::forward implies that sometimes its argument will be *moved*, leaving it invalid in the calling code. If that call is inside a loop that tries to reuse the data we have undefined behavior.
2025-03-22 07:15:15 +01:00
bofdahof
4ceecd0857 Replace std::endl with '\n' 2025-03-21 23:30:41 -05:00
bofdahof
e4ebaba805 Exception.cpp 2025-03-21 22:39:41 -05:00
tritao
16968aa3ee PartDesign: Convert XML bindings to Python API bindings model. 2025-03-21 23:14:24 +01:00
Roy-043
3bb1358f32 Remove import that has become superfluous 2025-03-21 20:38:58 +01:00
Roy-043
a3fd3bc546 Draft: move statusbar widget hide delay to init_draft_statusbar.py
With this PR both the delays for `show_draft_statusbar` and `hide_draft_statusbar` are defined in the same file. This is more consistent.
2025-03-21 20:31:37 +01:00
Roy-043
037d8244f5 Draft: show and hide Tray with delay
Without this delay the Tray may not display if Draft is the start-up workbench.

When the Draft workbench is autoloaded the Tray is shown and then immediately hidden. Because of this, hiding the tray must also happen with a delay.
2025-03-21 19:56:38 +01:00
tritao
176f91eea8 App: Remove XML binding files.
This PR removes the App XML API bindings files now that we have
equivalent Python binding files.
2025-03-21 16:43:59 +01:00
tritao
997982ad20 Tools: Use ModuleName when determining which modules to compare against XML bindings. 2025-03-21 16:43:59 +01:00
wandererfan
c0d6d71896 [TD]use Ptolemy's Theorem for bspline to circle conversion 2025-03-21 11:10:17 -04:00
wandererfan
06346da2a5 [TD]fix reversed condition prevents 3d dimension 2025-03-21 11:01:20 -04:00
wandererfan
8ac44a2c9c [TD]clean annoying lint messages 2025-03-21 11:01:15 -04:00
wandererfan
1bbeb21eec [TD]apply review comments 2025-03-21 09:49:14 -04:00
mosfet80
3dd7a1cc52 Remove support to oldest occ <7.5 (#20084)
* remove support to oldest occ <7.5

The  os ubuntu 22.04 not supported use occ 7.5.1.
There is a lot of code implemented to support even older versions.
The patch removes support for versions lower than occ 7.5.0

* .

* move include library

#pieterhijma  change request :

* removed deprecated functions

get/setAngle functions has been removed with OCC 7.5
2025-03-21 13:06:47 +01:00
Benjamin Nauck
e987441542 Chore: Add myself (hyarion) as Contributor 2025-03-21 10:23:58 +01:00
Lawrence Woestman
f680ee7af9 CAM: Used inheritance to simplify the refactored postprocessors more
Updated the Masso tests now that it is using the new API.
2025-03-20 19:22:50 -07:00
Florian Foinant-Willig
7bf1b5d787 Fix FreeCAD#19588 2025-03-20 20:14:50 +01:00
PaddleStroke
9bd9fe1551 Update src/Mod/PartDesign/Gui/Command.cpp
Co-authored-by: Benjamin Nauck <benjamin@nauck.se>
2025-03-20 19:51:18 +01:00
PaddleStroke
9a38673774 PartDesign: clone tooltip 2025-03-20 19:51:18 +01:00
Roy-043
95aa28cc30 BIM: Generate curtain wall panels in spanned grid openings
Fixes #20235.
2025-03-20 15:04:53 +01:00
PhaseLoop
c249b62b6c update CMake imports 2025-03-20 15:02:56 +01:00
PhaseLoop
e8cd9a61d6 add missing dressup import 2025-03-20 14:28:09 +01:00
PhaseLoop
585ac82c34 log error on invalid base object 2025-03-20 14:26:36 +01:00
Alfredo Monclus
02f37bf598 Gui: spinbox use getmargin 2025-03-20 14:23:36 +01:00
Alfredo Monclus
ad95704832 Gui: spinbox add patch for qt<6.3 2025-03-20 14:23:36 +01:00
Alfredo Monclus
1012b66f4f Gui: fix spinbox numbers should not go under the icon 2025-03-20 14:23:36 +01:00
Alfredo Monclus
6693947ca1 Gui: correct the size and position of the expression (fx) icon 2025-03-20 14:23:36 +01:00
PaddleStroke
7076989ead Remove unecessary if in DrawSketchHandlerArc.h 2025-03-20 13:40:24 +01:00
PhaseLoop
41d20a62cd Replace Array operation with array dressup 2025-03-20 12:48:52 +01:00
Tomas Polak
ea247c1540 BIM_ProjectManager typo fix 2025-03-20 12:25:09 +01:00
Roy-043
fc4aa06f96 BIM: HumanFigure.brep: fix typo in create_qrc.py
Fixes #20289

My bad. Because of this typo the brep file was not included in Arch_rc.py.
2025-03-20 12:07:19 +01:00
Tomas Polak
895fe5ea1c BIM_Classification dialgue - change tooltips and text to better represent their functions (#20274)
* Change Ifc Classification dialgue tooltips and text

* Update src/Mod/BIM/bimcommands/BimClassification.py

Co-authored-by: Yorik van Havre <yorik.vanhavre@gmail.com>

---------

Co-authored-by: Tomas Polak <semhustej@users.noreply.github.com>
Co-authored-by: Yorik van Havre <yorik.vanhavre@gmail.com>
2025-03-20 12:06:20 +01:00
Furgo
bf55cdaecd BIM: move add/removeSpace boundaries implementation to Arch module (#20222)
* BIM: move add/removeSpaceBoundaries definitions to the Arch module

* BIM: make add/removeSpaceBoundaries implementation consistent

* BIM: update and expand docstrings
2025-03-20 11:47:03 +01:00
Furgo
a3fd9423ec BIM: add unit test for addSpaceBoundaries (#20146)
* BIM: add unit test for addSpaceBoundaries

* BIM: remove test dependency on FreeCADGui
2025-03-20 11:44:56 +01:00
tritao
e1c51becdc App: Modernize Python bindings with new API model. 2025-03-20 11:07:27 +01:00
Joao Matos
4ed1c54ab2 Tools: Improve identation handling for attribute docstring comments. 2025-03-20 11:07:27 +01:00
Paul Lee
356d89f1bb [ArchStairs] ArchSketch Support and Refactoring Phase 1
FC Forum Discussion:-
https://forum.freecad.org/viewtopic.php?p=814274#p814274

ArchSketch Support, PropertySet, and Refactoring to enable more complex Stairs shape.
2025-03-20 10:24:03 +01:00
Roy-043
ea82500560 Draft: make Near snap obey 'Always snap' setting
Fixes: #19553.

Additionally:
* Removed 2 unused attributes (`self.lastSnappedObject` and `self.active`).
* Improved the readability of `snapToObject` a little bit.
* Made the return value of that function consistent (vector or None).
2025-03-20 10:14:49 +01:00
tritao
8d36987f16 Base: Remove XML binding files. 2025-03-19 20:04:19 -05:00
tritao
723a25c57d Tools: Re-enable XML comparison mode Python API bindings generator. 2025-03-19 08:32:06 -05:00
Johannes Thyssen Tishman
d9e731ca94 The PCL point_traits.h header was renamed (and deprecated) since
1.11.0 and removed in 1.15.0.
2025-03-19 08:29:46 -05:00
Joao Matos
cc708d28d0 CI: Refactor C++ checks linting setup. 2025-03-19 07:56:44 -05:00