Chris Hennes
f15ba6b681
Merge pull request #20110 from WandererFan/HeadlessViewCreation20024
...
[TD]Headless view creation (fix #20024 )
2025-03-22 12:20:58 -05:00
PaddleStroke
1fc61423f3
Sketcher: Line tool: Enforce correctly when angle is set ( #20267 )
2025-03-22 18:20:26 +01:00
Yorik van Havre
c1614001a0
BIM: Fixed project manager's save/restore - fixes #20288
2025-03-22 11:51:01 -05:00
pre-commit-ci[bot]
82e57fdeb6
[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]
0b077fc914
[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
ffc12e2892
Gui: Align to selection using a smaller rotation
2025-03-22 11:35:46 -05:00
hasecilu
c1d03b24a9
Mesh: change context for strings on task panel
2025-03-22 11:30:55 -05:00
xtemp09
b3008feaa1
[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
8353c44958
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
b255deb354
[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
9f9610076e
cmake: remove distutils usage for python < 3.10
2025-03-22 11:08:36 -05:00
Chris Hennes
f33687535d
FEM: Ensure node is initialized before use
...
Coverity issue 545328
2025-03-22 07:15:15 +01:00
Chris Hennes
8f2e330a53
PD: Check threadType before using to index
...
Coverity issue 545314
2025-03-22 07:15:15 +01:00
Chris Hennes
23824028c1
FEM: Initialize scalar
...
Coverity issue 545304
2025-03-22 07:15:15 +01:00
Chris Hennes
1092c9704a
FEM: Ensure node is valid before accessing
...
Coverity issue 545293
2025-03-22 07:15:15 +01:00
Chris Hennes
47615b8464
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
28b62eb52b
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
eb86151307
Mesh: Sanity-check old file format size
2025-03-22 07:15:15 +01:00
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
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
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
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
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
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