Commit Graph

40559 Commits

Author SHA1 Message Date
Kevin Martin
bf55e4e258 Deregister DocumentObject's Label before deleting the object
Under certain circumstances the existing code would try to obtain the Label of a DocumentObject after that object had been deleted, causing an access to freed memory and failing to deregister the Label. The latter would lead to phanton Label collisions and unexpected generation of unique labels.
2025-03-05 22:23:42 -05:00
Chris Hennes
da3baddf8d Merge pull request #20002 from marioalexis84/fem-static_current_elmer
Fem: Some changes in static current features
2025-03-05 22:39:58 +00:00
Chris Hennes
2c052dcbd0 Merge pull request #19995 from hyarion/fix/create-light-sources-group
Fixes light direction configuration issues between 1.0 and 1.1dev
2025-03-05 22:38:01 +00:00
Max Wilfinger
a14f6f18ea Merge pull request #19994 from marioalexis84/fem-cut_filter_crash
Fem: Fix crash in Cut filter
2025-03-05 19:36:33 +00:00
Max Wilfinger
d9b1d6b227 Merge pull request #20007 from FEA-eng/fem_example_joule_heating
FEM: Add Joule heating to FEM Examples
2025-03-05 19:32:03 +00:00
Benjamin Nauck
6a226c9469 Gui: Workaround for lighting issue 2025-03-05 20:29:10 +01:00
marioalexis
8ed98ab27f Fem: Add nonlinear options to static current solver 2025-03-05 16:27:47 -03:00
marioalexis
613b29a28e Fem: Fix direction of current density symbol 2025-03-05 16:27:47 -03:00
pre-commit-ci[bot]
91dd0c9492 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-03-05 17:58:37 +00:00
FEA-eng
06725a39d5 FEM: Update CMakeLists.txt 2025-03-05 18:54:29 +01:00
FEA-eng
d95505e717 FEM: add example file 2025-03-05 18:53:02 +01:00
Roy-043
c2cf154bd6 Merge pull request #19986 from Roy-043/Draft-fix-make_sketch-hang
Draft: fix make_sketch hang
2025-03-05 11:10:28 +00:00
Chris Hennes
ea0f447cfc Merge pull request #19977 from chennes/bofdahofApplicationTidyUpEasyOnes
Application tidy up (the easy ones)
2025-03-05 05:20:01 +00:00
Chris Hennes
63102e6f46 Merge pull request #19211 from Syres916/Drag_Drop_File_Checks
[Gui] Trigger the same checks for Drag & Dropping files as File > Open
2025-03-05 04:13:59 +00:00
Chris Hennes
133cf6de89 Merge pull request #19889 from Shkolik/sketcher_external_point
fix #18356 Sketcher: External reference line defaults to geometry, but vertex does not
2025-03-05 04:03:36 +00:00
Andrew Shkolik
27dd14174e fix #18356 Sketcher: External reference line defaults to geometry, but vertex does not 2025-03-04 21:29:54 -06:00
Syres916
46b2ec526b [Gui] Trigger the same checks for Drag & Drop files as File > Open 2025-03-04 20:45:15 -06:00
Chris Hennes
293ac923ce Merge pull request #19997 from chennes/chennesCIMergeGroupTrigger
CI: Add merge_group as trigger
2025-03-05 01:19:28 +00:00
Chris Hennes
56a87cbf55 CI: Add merge_group as trigger
Required to force CI run on merge queue
2025-03-04 18:28:07 -06:00
Chris Hennes
edca54767b Merge pull request #19992 from oursland/build-date-clipboard
About: Add build date to clipboard data.
2025-03-05 00:12:30 +00:00
Chris Hennes
f3c6ea92d6 Apply suggestions from code review
Co-authored-by: Benjamin Nauck <benjamin@nauck.se>
2025-03-04 18:12:10 -06:00
Jacob Oursland
f8032e9ddb About: Add build date to clipboard data. 2025-03-04 18:12:10 -06:00
Chris Hennes
90e0b21422 Merge pull request #19932 from alfrix/start_fixes_2
Start: fix fileview use scrollbars as needed
2025-03-05 00:01:57 +00:00
Chris Hennes
d4b97db9ab Merge pull request #19928 from furgo16/startpage-option-showonlyfcstd
Start: add option to show only FreeCAD native files in custom folder
2025-03-04 23:59:50 +00:00
mosfet80
1ab8bed308 clean FindOCC.cmake (#19755)
* clean FindOCC.cmake

cmake version is always major then 3.16.3
.

* Update cMake/FindOCC.cmake

Co-authored-by: Benjamin Bræstrup Sayoc <benj5378@outlook.com>

* Update cMake/FindOCC.cmake

Co-authored-by: Benjamin Bræstrup Sayoc <benj5378@outlook.com>

---------

Co-authored-by: Benjamin Bræstrup Sayoc <benj5378@outlook.com>
2025-03-04 16:10:12 -06:00
Chris Hennes
7f465825a4 Merge pull request #19933 from tritao/ci-initial-lint-refactor
CI: Refactor generic whitespace checks linting setup.
2025-03-04 15:26:10 -06:00
Benjamin Nauck
71cac77a59 Gui: Remove unused static function 2025-03-04 21:06:17 +01:00
Benjamin Nauck
7a5ae8bd5c Gui: Create light sources parameter group
* categorizes light sources into its own group
* fixes config file issues between 1.0 and 1.1
2025-03-04 21:06:17 +01:00
Chris Hennes
3c77bd4fcf Addon Manager: Adjust use of QDialogButtonBox 2025-03-04 13:52:38 -06:00
marioalexis
29546324b9 Fem: Fix crash in Cut filter 2025-03-04 15:10:56 -03:00
Furgo
fc35a58346 BIM: make ifcopenshell version upgrade more robust (#19823)
* BIM: make ifcopenshell version detection and comparison more robust

* Add reference to FreeCAD bug

* Use create_pip_call for compatibility with different platforms/packages

* Demote workaround logging category for quieter output

* Correct ifcopenshell's actual version in the workaround as well

* Allow upgrading packages

* Provide more verbose output if there is an error with the pip call

* Really print the exception message

* Fix catch-all exception syntax

* Remove ifcopenshell version workaround

Weekly build 40444 containing the fix (https://github.com/FreeCAD/FreeCAD/pull/19861) has been released at https://github.com/FreeCAD/FreeCAD-Bundle/releases/tag/weekly-builds
2025-03-04 11:37:22 +01:00
mosfet80
11255e83ad Update actions/stale
https://github.com/actions/stale/releases/tag/v9.1.0
2025-03-04 10:39:55 +01:00
Roy-043
9eca869c95 Draft: fix Trimex visibility change
Fixes #19966
2025-03-04 10:13:44 +01:00
Roy-043
29c03a43a3 Draft: fix make_sketch hang
Fixes #19978

The onebyone argument of makeMissingPointOnPointCoincident and makeMissingVerticalHorizontal should be set to False.
2025-03-04 10:12:44 +01:00
Chris Hennes
01092f66b1 TD: Add missing Boost headers to PCH 2025-03-03 23:18:47 -06:00
Chris Hennes
b090e27dcf App: Switch to isNullOrEmpty() 2025-03-03 19:24:15 -06:00
Chris Hennes
66e1710956 App: Minor formatting from review
Co-authored-by: Benjamin Nauck <benjamin@nauck.se>
2025-03-03 19:21:05 -06:00
bofdahof
091f73f09f Calling static via instance 2025-03-03 19:21:04 -06:00
bofdahof
035d789ffa Narrowing conversion 2025-03-03 19:21:04 -06:00
bofdahof
3ddf2fe67b Don't use endl 2025-03-03 19:21:04 -06:00
bofdahof
4811be9881 Reserve vector size 2025-03-03 19:21:04 -06:00
bofdahof
8ff4b1b018 Redundant c_str() 2025-03-03 19:21:04 -06:00
bofdahof
31825c28aa Else after return 2025-03-03 19:21:04 -06:00
bofdahof
4bfe65b48c Declaration hides previous 2025-03-03 19:21:04 -06:00
bofdahof
ee849b6349 C++ style cast instead of C 2025-03-03 19:21:04 -06:00
bofdahof
78696bdaee Join declaration and assignment 2025-03-03 19:21:04 -06:00
bofdahof
2ab03306ca Use auto 2025-03-03 19:21:04 -06:00
bofdahof
c3eee2dc99 Simplify expression 2025-03-03 19:21:04 -06:00
bofdahof
819faf71ed DRY 2025-03-03 19:20:59 -06:00
Maxim Moskalets
b59cd79427 Add support of compile/link jobs pooling 2025-03-03 18:51:27 -06:00