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
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
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
Guillaume Roguez
e127f2c884
fix dialogs button size in case of long text
...
Let the layout engine computes the size of all QPushButton by unset
the minimalSize value set by "min-width" QSS property in themes.
Fix #18019 .
2025-03-19 13:37:47 +01:00
Furgo
47cec43aae
BIM: allow boundaries to be defined from a single object (e.g. wall) ( #20158 )
...
* BIM: Add test for space from single wall boundaries
* BIM: Arch_Space, enable creation of spaces from single objects with
boundaries
* BIM: update and expand docstring
2025-03-19 10:45:26 +01:00
Chris Hennes
64d658e38a
FreeCAD: Compiler warning fixes
2025-03-19 10:13:34 +01:00
ljo
afe23a432c
Fix RPM packaging and add support for building with Qt6 and PySide6 for Fedora 40+ ( #19565 )
2025-03-19 03:31:21 +00:00
xtemp09
6cfec14545
[App] Fix the crash reported in #20212
2025-03-19 00:23:22 -03:00
Joao Matos
382720b82e
CI: Temporarily disable Clazy checks.
2025-03-18 19:35:33 -05:00
Chris Hennes
c1ada6bc40
App: Coverity fixes
2025-03-18 15:59:22 +01:00
Chris Hennes
d850e87567
Base: Coverity cleanup
2025-03-18 15:59:22 +01:00
Lawrence Woestman
f3bb974855
CAM: Added three options to the refactored postprocessors
...
with tests.
Removed extra spaces in comments to work around auto-fix
removal of spaces at the end of lines in multi-line python strings.
2025-03-17 20:59:29 -05:00
Thomas Gimpel
dbfc0b47b6
App: reverted commit 8ff4b1b and improved comments in order to fix the MacOS build ( #20068 )
2025-03-17 20:23:01 +01:00
Chris Hennes
e574fa1efc
Merge pull request #19899 from tritao/cmake-cleanup-targets
...
CMake: Cleanup targets with transitive dependencies
2025-03-17 13:15:37 -05:00
bofdahof
f8be6f5233
Base: Switch small enum base type to std::uint8_t
...
int and size_t are much larger than necessary for storage of these
enum types.
2025-03-17 12:34:14 -05:00
PaddleStroke
4ab281bd7d
Assembly: Fix: Select datum should not show dragger. ( #20051 )
...
* Assembly: Fix: Select datum should not show dragger.
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Update ViewProviderAssembly.cpp
* [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-17 18:13:20 +01:00
Furgo
c47507bad0
BIM: include selected objects when creating a level
2025-03-17 18:12:36 +01:00
Captain
384fcdf006
TechDraw: changed CosmeticVertex point picker dashed circle to filled dot. ( #20095 )
...
* techdraw: changed the cosmetic vertex shape
* add back the call to prepareGeometryChange
* add getVertexSize and getLineWidth methods to QGIViewPart
* use doubles for sizes
* update setRadius in QGMarker to use double instead of float
2025-03-17 12:05:29 -05:00
Chris Hennes
3d03bb45f8
Merge pull request #20201 from Roy-043/Draft-make-Draft_Edit-also-detect-key-up-events
...
Draft: make Draft_Edit also detect key up events
2025-03-17 11:57:24 -05:00