Commit Graph

37100 Commits

Author SHA1 Message Date
Chris Hennes
80b516df45 Addon Manager: Fix ZIP-based update 2024-02-23 22:31:36 -06:00
Ladislav Michl
967633eca9 Gui: PythonWrapper: Do not steal reference
Foreign Python objects needs to be passed as Py::Object().
Py::asObject() is stealing reference and object might be garbage
collected even before dereferenced. Problem didn't show in the
original code because methods Py::asObject() was used in were
never called.

Fixes: ac6f991baf (Gui: Consolidate Python -> Qt class conversion)
2024-02-24 01:18:30 +01:00
bgbsww
1fa89ea4c1 Toponaming/Part: Cleaning and tests for makeElementRevolve, makeElementPrism, makeElementPrismUntil 2024-02-23 15:04:28 -05:00
Zheng, Lei
c3d152540c Toponaming/Part: Transfer in makERevolve, makEPrism, makEPrismUntil 2024-02-23 14:50:44 -05:00
bgbsww
7bdf8f69ea Correct incorrect comment 2024-02-23 11:54:32 -05:00
bgbsww
331881ae22 Merge branch 'main' into bgbsww-toponamingMakeElementSliceMirror 2024-02-23 10:37:47 -05:00
bgbsww
85b5cfc62a Merge branch 'main' into bgbsww-toponamingMakeElementSliceMirror 2024-02-23 10:24:44 -05:00
HowThatWorks
c3f19af093 Some ISO 7200 title blocks 2024-02-23 12:21:42 +01:00
HowThatWorks
84af77498d ISO 5457 compliant bases for TechDraw templates. 2024-02-23 12:18:01 +01:00
Chris Hennes
8a3407aee6 Merge pull request #12525 from bgbsww/bgbsww-toponamingMakeElementSolid
Toponaming/Part: make element solid
2024-02-22 21:18:51 -06:00
bgbsww
8ecfd6883c Remove redundant from merge 2024-02-22 20:11:08 -05:00
bgbsww
68edc6f123 Merge branch 'main' into bgbsww-toponamingMakeElementSolid 2024-02-22 20:06:51 -05:00
bgbsww
405bf03ce9 Clean and add tests for makeElementSolid 2024-02-22 19:18:08 -05:00
Chris Hennes
6dcf908eaa Merge pull request #12523 from bgbsww/bgbsww-toponamingMakeElementTransform
Toponaming/Part: make element transform, _transform and gtransform
2024-02-22 17:46:19 -06:00
bgbsww
e33e0a3f5e Toponaming/Part: Clean and add tests for elementTransform methods 2024-02-22 17:28:35 -05:00
bgbsww
dbe7c9d372 Toposhape/Part: Cleanups and tests for makeElementSlice, makeElementSlices, and makeElementMirror 2024-02-22 17:16:46 -05:00
FEA-eng
9a0e40feec FEM: Beam reduced integration (#12513) 2024-02-22 15:30:47 -06:00
Chris Hennes
971c4f4bb1 App: Add PreCompiled.h to Varset cpp file (#12541)
* App: Add PreCompiled.h to Varset cpp file
2024-02-22 11:23:14 -06:00
Chris Hennes
3d66f6b1e5 Addon Manager: Fix metadata license fetch and display 2024-02-22 11:22:51 -06:00
Zheng, Lei
7fc99b42e7 Toposhape/Part: Transfer in _makETransform, makETransform, makEGTransform 2024-02-22 12:13:54 -05:00
Chris Hennes
dead40e8c5 Merge pull request #12549 from bgbsww/bgbsww-toponamingMakeElementFillet
Toponaming/Part make element fillet
2024-02-22 11:04:11 -06:00
Zheng, Lei
8e91aad2f0 Toposhape/Part: Transfer in makESlice and makEMirror 2024-02-22 08:57:01 -05:00
bgbsww
715faeac54 Toposhape/Part: clean, add tests for makeElementFillet and makeElementChamfer 2024-02-22 08:27:40 -05:00
Zheng, Lei
3c53e10448 Toposhape/Part: Transfer in makEFillet and makEChamfer 2024-02-22 07:40:59 -05:00
wmayer
90ede977a3 CMake: set policy CMP0148 to old 2024-02-22 11:47:48 +01:00
wmayer
89a1dc0363 Gui: fix linter warnings 2024-02-22 11:47:48 +01:00
wmayer
b335a15ccc Gui: fixes #12540: ‘ModuleShiboken’ was not declared in this scope 2024-02-22 11:47:48 +01:00
Chris Hennes
14d2915e6c Merge pull request #12528 from bgbsww/bgbsww-toponamingMoveEqualOperator
Toponaming/Part:  Bring in = operator, resetMap and flushMap overrides, and fix affecte…
2024-02-21 16:08:32 -06:00
André Althaus
ecf25d936e Unrelated changes from automatic code generation
These are mostly comment changes.
2024-02-21 19:28:33 +01:00
André Althaus
5aacd52ed8 Add a new preference for the visibility icons
Add a preference to Display->UI that allows the user to choose if
the visibility icons are shown in the tree view.
2024-02-21 19:28:28 +01:00
André Althaus
15944bb079 Add a function to recalculate the icons for use when the visibility icon preference changes 2024-02-21 19:25:13 +01:00
André Althaus
47bbc1f6af Toggle visibility when clicking the visibility icon
If the visibility icon is enabled a mouse press on that part of the icon
toggles the visibility of the tree item.
2024-02-21 19:25:13 +01:00
André Althaus
e7665f523f Add visibility icon
Prepends the visibility icon to the normal icon if enabled and uses
the result as the new icon.
2024-02-21 19:25:12 +01:00
André Althaus
47773d423b Add visibility icons to resources
The icons are taken from https://github.com/realthunder/FreeCAD/tree/LinkMerge
2024-02-21 19:25:12 +01:00
bgbsww
d7f14d3df5 Bring in = operator, resetMap and flushMap overrides, and fix affected tests 2024-02-21 12:13:16 -05:00
Zheng, Lei
84b139f76b Toposhape/Part: Transfer in makESolid 2024-02-21 12:00:51 -05:00
bgbsww
b5eafe6783 Toposhape/Part: Clean GeneralFuse, Fuse, Cut; add tests; tweak other tests 2024-02-21 12:00:51 -05:00
bgbsww
b2cad5297a Toponaming/Part: Clean and add tests for elementTransform methods 2024-02-21 11:56:22 -05:00
Zheng, Lei
a90ad10d60 Toposhape/Part: Transfer in _makETransform, makETransform, makEGTransform 2024-02-21 11:56:22 -05:00
wandererfan
456fa53eab [TD]use correct tooltip in first/third angle 2024-02-21 11:46:18 -05:00
wandererfan
289c386f6b [TD]ANSI/ASME section line conformance 2024-02-21 11:46:18 -05:00
Florian Foinant-Willig
735fed082f Add Suppress action to contextmenu 2024-02-21 16:19:38 +01:00
Florian Foinant-Willig
5a22009217 Add SuppressibleExtension 2024-02-21 16:19:32 +01:00
Chris Hennes
23741ffa77 Merge pull request #12517 from bgbsww/bgbsww-toponamingMakeElementGeneralFuse
Toponaming/Part:  make element generalfuse, fuse, cut
2024-02-21 08:25:12 -06:00
André Althaus
b301816889 Refactor the apply function to be virtual public 2024-02-21 15:04:38 +01:00
André Althaus
7bbca2f00d Fix crash when canceling the MultiTransform panel while a newly cretated subfeature is edited
Before calling the closeSubTask() function from the dialog reject()
function, the slotDeletedObject() is called from the transaction being
aborted. This causes the subFeature pointer to be nullptr and subsequent
apply() functions from the SpinBox widgets to crash.

Before calling apply check if the subFeature is still there.
2024-02-21 14:56:23 +01:00
Pieter Hijma
095e94183a [Core] Managing Custom Data Elements: VarSet (#12135)
* [Core] Add a basic VarSet document object

* [Core] Add basic tests for VarSets

* Core: Replace the VarSet icon with an outlined one
2024-02-21 10:38:06 +01:00
wmayer
260daaf24c Tests: add unit tests for all token types defined in ExpressionParser.l 2024-02-21 07:32:14 +01:00
Chris Hennes
5d1c4caba0 Base: Rename ASCIIInputStream to TextInputStream 2024-02-21 07:31:22 +01:00
Adrián Insaurralde Avalos
21bcb052ad Add assembly template to startpage 2024-02-21 01:43:16 -03:00