Commit Graph

40914 Commits

Author SHA1 Message Date
Alfredo Monclus
8fb23b9117 start: fix file cards not respecting styling 2025-03-22 18:59:11 +00:00
PaddleStroke
11ff46f84a Assembly: ignore joints in error (#20253)
Co-authored-by: drwho495 <drwho495555@gmail.com>
2025-03-22 18:27:24 +01:00
PaddleStroke
91c588d449 Sketcher: Slot tool: Enforce correctly when angle is set (#20269) 2025-03-22 18:21:24 +01:00
Chris Hennes
2ddd96e315 Merge pull request #20110 from WandererFan/HeadlessViewCreation20024
[TD]Headless view creation (fix #20024)
2025-03-22 12:20:58 -05:00
PaddleStroke
557840f6d2 Sketcher: Line tool: Enforce correctly when angle is set (#20267) 2025-03-22 18:20:26 +01:00
Yorik van Havre
a2aa994897 BIM: Fixed project manager's save/restore - fixes #20288 2025-03-22 11:51:01 -05:00
pre-commit-ci[bot]
ba0e91beb1 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-03-22 11:38:48 -05:00
pre-commit-ci[bot]
5dacd60805 [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/pre-commit/mirrors-clang-format: f9a52e87b6cdcb01b0a62b8611d9ba9f2dad0067 → 458d954d175f16d216d7d04d5c182e3b10ddfbb4](f9a52e87b6...458d954d17)
2025-03-22 11:38:48 -05:00
Bas Ruigrok
de3853e837 Gui: Align to selection using a smaller rotation 2025-03-22 11:35:46 -05:00
hasecilu
3285a89525 Mesh: change context for strings on task panel 2025-03-22 11:30:55 -05:00
xtemp09
14b2b254a4 [Spreadsheet] Fix input in expression editor (#19934)
* [Spreadsheet] Fix input in expression editor

Closes #19804

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-03-22 11:25:17 -05:00
PaddleStroke
f524e6302d PartDesign : Subshapebinder tooltip (#20023)
* PartDesign : Subshapebinder tooltip

* Update src/Mod/PartDesign/Gui/Command.cpp

Co-authored-by: Furgo <148809153+furgo16@users.noreply.github.com>

---------

Co-authored-by: Furgo <148809153+furgo16@users.noreply.github.com>
2025-03-22 11:21:31 -05:00
WandererFan
43f5e134e9 [TD]fix view loses dimensions (fix #19968) (#20122)
* [TD]fix view loses dimensions (fix #19968)

* [TD]Apply review comment
2025-03-22 11:12:42 -05:00
Adrian Insaurralde
b0724a34d9 cmake: remove distutils usage for python < 3.10 2025-03-22 11:08:36 -05:00
Chris Hennes
4f0fbb1bbe FEM: Ensure node is initialized before use
Coverity issue 545328
2025-03-22 07:15:15 +01:00
Chris Hennes
dd340eab51 PD: Check threadType before using to index
Coverity issue 545314
2025-03-22 07:15:15 +01:00
Chris Hennes
f14fe6cd40 FEM: Initialize scalar
Coverity issue 545304
2025-03-22 07:15:15 +01:00
Chris Hennes
56e327e235 FEM: Ensure node is valid before accessing
Coverity issue 545293
2025-03-22 07:15:15 +01:00
Chris Hennes
05bba1ab42 Spreadsheet: Ensure copy of temp string is kept
Coverity issue 545269. A temporary string is constructed, and its address stored via c_str(). That pointer is then used after the string is destroyed. The fix is to store the std::string.
2025-03-22 07:15:15 +01:00
Chris Hennes
a95e355c9a Sketcher: Ensure copy of temp string is kept
Coverity issue 545249. A temporary string is constructed, and its address stored via c_str(). That pointer is then used after the string is destroyed. The fix is to store the std::string.
2025-03-22 07:15:15 +01:00
Chris Hennes
1c3f643420 Mesh: Sanity-check old file format size 2025-03-22 07:15:15 +01:00
Chris Hennes
9a2b0fb0f0 Part: Ensure ShapeHistory is fully initialized
Coverity issue 515690
2025-03-22 07:15:15 +01:00
Chris Hennes
10d482597e Sketcher: Ensure loop can exit
Coverity issue 513796
2025-03-22 07:15:15 +01:00
Chris Hennes
ddffc455c4 CAM: Add missing destructor
Coverity issue 513026
2025-03-22 07:15:15 +01:00
Chris Hennes
b8589b03ea Part: Remove inefficient vector reserve()
Coverity issue 356645
2025-03-22 07:15:15 +01:00
Chris Hennes
03bbcaf30d 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
207a368ab4 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
2dbe651626 App: Check for an invalid enum before proceeding 2025-03-22 07:15:15 +01:00
Chris Hennes
04602f96c2 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
53e17174c0 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
2dbc6305d6 Replace std::endl with '\n' 2025-03-21 23:30:41 -05:00
bofdahof
1857b0128e Exception.cpp 2025-03-21 22:39:41 -05:00
tritao
c880b5704f PartDesign: Convert XML bindings to Python API bindings model. 2025-03-21 23:14:24 +01:00
tritao
c20cc6804f 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
2292f908c5 Tools: Use ModuleName when determining which modules to compare against XML bindings. 2025-03-21 16:43:59 +01:00
wandererfan
a10e93befe [TD]apply review comments 2025-03-21 09:49:14 -04:00
mosfet80
3026bd413d 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
1c58b47f9b Chore: Add myself (hyarion) as Contributor 2025-03-21 10:23:58 +01:00
Florian Foinant-Willig
756e3789ce Fix FreeCAD#19588 2025-03-20 20:14:50 +01:00
PaddleStroke
ae08c322b2 Update src/Mod/PartDesign/Gui/Command.cpp
Co-authored-by: Benjamin Nauck <benjamin@nauck.se>
2025-03-20 19:51:18 +01:00
PaddleStroke
9e0a9185f9 PartDesign: clone tooltip 2025-03-20 19:51:18 +01:00
Roy-043
a8a48793ad BIM: Generate curtain wall panels in spanned grid openings
Fixes #20235.
2025-03-20 15:04:53 +01:00
Alfredo Monclus
f766f6221c Gui: spinbox use getmargin 2025-03-20 14:23:36 +01:00
Alfredo Monclus
8d2ed0ec0c Gui: spinbox add patch for qt<6.3 2025-03-20 14:23:36 +01:00
Alfredo Monclus
d40d6fafdd Gui: fix spinbox numbers should not go under the icon 2025-03-20 14:23:36 +01:00
Alfredo Monclus
cea9a4002e Gui: correct the size and position of the expression (fx) icon 2025-03-20 14:23:36 +01:00
PaddleStroke
9a48e7fcfd Remove unecessary if in DrawSketchHandlerArc.h 2025-03-20 13:40:24 +01:00
Tomas Polak
ae40f02626 BIM_ProjectManager typo fix 2025-03-20 12:25:09 +01:00
Roy-043
78a76ca627 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
74b622cb08 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