Commit Graph

40568 Commits

Author SHA1 Message Date
Chris Hennes
c11dbedde1 Merge pull request #19953 from hyarion/fix/remove-pyexport-warnings
Python bindings: Use designated initializers and remove zero-initialized fields
2025-03-06 14:38:45 +00:00
Chris Hennes
afa7e5f4cb Merge pull request #20016 from kpemartin/Issue19980
Fix the Measure Tool which will crash the app with a stack overflow if you measure the same amount twice
2025-03-06 14:37:19 +00:00
Chris Hennes
2bcb3e8ff0 Merge pull request #19948 from furgo16/startpage-option-multiplefolders
Start: enable multiple custom folder paths
2025-03-06 13:30:46 +00:00
Furgo
40fe023c26 Start: enable multiple custom folder paths
* Update tooltip to indicate support for multiple custom folder paths
* Remove migration step that worked around lack of multiple folder support
* Remove obsolete migration method
* Address linter warnings: build/include_what_you_use
* Add QStringList as requested on https://github.com/FreeCAD/FreeCAD/pull/19948/files#r1982267583
2025-03-06 10:13:40 +01:00
Max Wilfinger
041e709059 Merge pull request #20013 from tringenbach/feature/show-device-pixel-ratio
Add devicePixelRatio to about info
2025-03-06 08:00:08 +00:00
Kevin Martin
e864b17a5a Only do Label Change notification if the label truly changes
The code for setting the value of a Label property would do a quick return if the new label was equal to the current one, but otherwise the proposed new label might be modified to make it unique. If the modified new value were equal to the current value, a Change notification would still be generated. This no longer occurs.
2025-03-05 22:23:43 -05:00
Kevin Martin
3b87c991cb 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
Tim Ringenbach
4a8033c77c update label 2025-03-05 20:29:25 -06:00
Tim Ringenbach
8456626320 Add devicePixelRatio to about info 2025-03-05 18:05:21 -06:00
Chris Hennes
3bd926fb34 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
4afbc967f0 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
9c5164ab05 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
fd4bcb9bcc 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
77ce376ebd Gui: Workaround for lighting issue 2025-03-05 20:29:10 +01:00
marioalexis
828be78ee5 Fem: Add nonlinear options to static current solver 2025-03-05 16:27:47 -03:00
marioalexis
e8833f003a Fem: Fix direction of current density symbol 2025-03-05 16:27:47 -03:00
pre-commit-ci[bot]
1c8603bde9 [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
ccf66e50ce FEM: Update CMakeLists.txt 2025-03-05 18:54:29 +01:00
FEA-eng
38734fe0df FEM: add example file 2025-03-05 18:53:02 +01:00
Roy-043
43762780bd 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
e8fe364090 Merge pull request #19977 from chennes/bofdahofApplicationTidyUpEasyOnes
Application tidy up (the easy ones)
2025-03-05 05:20:01 +00:00
Chris Hennes
900984844a 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
60a839eb7b 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
01ffabccaa fix #18356 Sketcher: External reference line defaults to geometry, but vertex does not 2025-03-04 21:29:54 -06:00
Syres916
7f3632ba8e [Gui] Trigger the same checks for Drag & Drop files as File > Open 2025-03-04 20:45:15 -06:00
Chris Hennes
a3d07821b5 Merge pull request #19997 from chennes/chennesCIMergeGroupTrigger
CI: Add merge_group as trigger
2025-03-05 01:19:28 +00:00
Chris Hennes
953e1cb9be CI: Add merge_group as trigger
Required to force CI run on merge queue
2025-03-04 18:28:07 -06:00
Chris Hennes
7a6cf9e02c 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
d6849c10b0 Apply suggestions from code review
Co-authored-by: Benjamin Nauck <benjamin@nauck.se>
2025-03-04 18:12:10 -06:00
Jacob Oursland
2dd4343164 About: Add build date to clipboard data. 2025-03-04 18:12:10 -06:00
Chris Hennes
e4e957f273 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
7fd0eff512 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
d20a9f1a40 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
da12de5d5e 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
354667abd0 Gui: Remove unused static function 2025-03-04 21:06:17 +01:00
Benjamin Nauck
629b75710e 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
f956c7cd4a Addon Manager: Adjust use of QDialogButtonBox 2025-03-04 13:52:38 -06:00
marioalexis
746f27fbe9 Fem: Fix crash in Cut filter 2025-03-04 15:10:56 -03:00
Furgo
616eadd238 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
649bf19e2f Update actions/stale
https://github.com/actions/stale/releases/tag/v9.1.0
2025-03-04 10:39:55 +01:00
Roy-043
01ced7dd4c Draft: fix Trimex visibility change
Fixes #19966
2025-03-04 10:13:44 +01:00
Roy-043
db3b0640f8 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
a027a2e6d5 TD: Add missing Boost headers to PCH 2025-03-03 23:18:47 -06:00
Chris Hennes
070e2cc8fa App: Switch to isNullOrEmpty() 2025-03-03 19:24:15 -06:00
Chris Hennes
94adb6b28b App: Minor formatting from review
Co-authored-by: Benjamin Nauck <benjamin@nauck.se>
2025-03-03 19:21:05 -06:00
bofdahof
9f880497ed Calling static via instance 2025-03-03 19:21:04 -06:00
bofdahof
80b3a7e3de Narrowing conversion 2025-03-03 19:21:04 -06:00
bofdahof
9d11fb9079 Don't use endl 2025-03-03 19:21:04 -06:00
bofdahof
65895ae0ed Reserve vector size 2025-03-03 19:21:04 -06:00
bofdahof
e5497af44b Redundant c_str() 2025-03-03 19:21:04 -06:00