Kacper Donat
8a2e736bf6
github: Remove description header
...
If PR consists of one commit with long description, github does put it
as the first lines of PR so above our header, it can result in inconsistencies.
The header is also needlessly duplicated in every PR preview.
2025-04-24 21:07:08 -05:00
Kacper Donat
e9c0118dd4
CMake: Detect changes in .pyi file with the same name
2025-04-24 16:40:24 -05:00
Kacper Donat
81b675733d
CMake: Rebuild .cpp/.h files from .pyi on build
2025-04-24 16:40:24 -05:00
Alex Neufeld
3cf0e8d5ca
Gui: Use a perceptually uniform color map for Std_RandomColor
...
Using a restricted set of colrs with uniform lightless improves
the appearance of assemblies with randomly-colored parts.
2025-04-24 21:03:18 +02:00
sliptonic
2beab1c241
move PR template to ./github
2025-04-24 18:30:44 +02:00
dependabot[bot]
49b5026f0b
Bump github/codeql-action from 3.28.15 to 3.28.16
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 3.28.15 to 3.28.16.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](45775bd823...28deaeda66 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-version: 3.28.16
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-04-24 09:51:51 -05:00
Florian Foinant-Willig
73708391fb
Add locked keyword to Document::addProperty
2025-04-24 16:03:34 +02:00
Roy-043
fec9d5bc5a
Merge pull request #20952 from Roy-043/Draft-Change-Chain-Mode-GUI-text-to-sentence-case
...
Draft: Change 'Chain Mode' GUI text to sentence case
2025-04-24 10:51:59 +02:00
Roy-043
37fc925480
Draft: Change 'Chain Mode' GUI text to sentence case
2025-04-24 10:10:18 +02:00
Chris Hennes
c7333e5a5b
CI: Update to LibPack 3.1.1.3
2025-04-24 08:36:05 +02:00
Monty Montgomery
eb58ba5657
Fix to sanity checking of ElementMap::restore()
...
An operator precedence error in new sanity checking code within
ElementMap::restore() causes <X>.Shape.Map.txt files with more than
2 element maps to be rejected as invalid. This silently corrupts
projects upon loading, potentially unrecoverably.
The preexisting code comment is still appropriate if ironic.
2025-04-23 17:19:32 -05:00
dependabot[bot]
24bcdd3318
Bump step-security/harden-runner from 2.11.1 to 2.12.0
...
Bumps [step-security/harden-runner](https://github.com/step-security/harden-runner ) from 2.11.1 to 2.12.0.
- [Release notes](https://github.com/step-security/harden-runner/releases )
- [Commits](c6295a65d1...0634a2670c )
---
updated-dependencies:
- dependency-name: step-security/harden-runner
dependency-version: 2.12.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-04-23 16:49:34 -05:00
Pieter Hijma
5470188de4
Gui: Fix value field for DlgAddPropertyVarSet ( #20824 )
...
* Gui: Fix value field for DlgAddPropertyVarSet
The value field would only appear if a name was provided resulting in a
strange user experience. This commit fixes this and simplifies the
logic of the dialog.
* Process comments from review
Co-authored-by: Kacper Donat <kadet1090@gmail.com >
---------
Co-authored-by: Kacper Donat <kadet1090@gmail.com >
2025-04-23 22:50:03 +02:00
Furgo
e25c43537a
TechDraw: Add BIM view with the page's scale ( #20934 )
...
* TechDraw: Add BIM view with the page's scale
* Fix if one-liner syntax
2025-04-23 19:31:57 +02:00
Roy-043
84166128c4
Draft: adjust formatting of params.py ( #20946 )
2025-04-23 19:16:40 +02:00
Roy-043
a93703974b
Draft: adjust formatting of params.py
2025-04-23 17:03:07 +02:00
tetektoza
354cef7463
TechDraw: Use static_cast when casting scene's child to TextField
2025-04-23 16:32:31 +02:00
tetektoza
bbcdb77003
TechDraw: Return text fields directly as childs of QGISVGTemplate
...
As the title says. I've noticed during reproducing of #18921 , that
after in `PagePrinter::renderPage` we call `setTemplateMarkers`
twice, which results in deleting `childItems` allocated memory
(in `setTemplateMarkers`->`setMarkers`->`updateView`->`clearClickHandles`),
and then we are calling `setTemplateMarkers` (also in `PagePrinter::renderPage`) second time,
accessing `textFields` in `setMarkers` method, which still contain hanging pointers
from the previous deallocation. This results in segfaults as we iterate through `textFields`.
So, instead of keeping sychronization between childs of QGISVGTemplate
and textFields vector - this patch removes this variable at all and uses
childs directly to return text fields.
2025-04-23 16:32:31 +02:00
Abdelhadi Wael
b31a6d8b69
Remove filter excluding Spreadsheet objects
2025-04-22 21:37:17 -05:00
Abdelhadi Wael
e1fcd129b8
Update src/Gui/CommandStructure.cpp
...
Co-authored-by: Florian Foinant-Willig <FlachyJoe@users.noreply.github.com >
2025-04-22 21:37:17 -05:00
Abdelhadi Wael
70529c9a11
Update CommandStructure.cpp
2025-04-22 21:37:17 -05:00
Abdelhadi Wael
37fec30977
Update src/Gui/CommandStructure.cpp
...
Co-authored-by: Benjamin Nauck <benjamin@nauck.se >
2025-04-22 21:37:17 -05:00
Abdelhadi-Wael
d6273b078f
fixed warning
2025-04-22 21:37:17 -05:00
Abdelhadi Wael
bde06bdb0c
Updated PR with fixes
2025-04-22 21:37:17 -05:00
Abdelhadi Wael
d92a52e48b
Fix: Only add objects when multiple are selected
2025-04-22 21:37:17 -05:00
Pieter Hijma
2c477fcb25
Remove requirements.txt
2025-04-22 20:28:27 -05:00
Kacper Donat
b24af528d5
Merge pull request #20778 from FlachyJoe/LockedProperty2
...
Prevent user to remove core properties
2025-04-23 00:23:37 +02:00
Pieter Hijma
039cbbe1a5
[Core] Make enum FrameOption boolean
...
Co-authored-by: Benjamin Bræstrup Sayoc <benj5378@outlook.com >
2025-04-22 23:56:07 +02:00
Pieter Hijma
c15140e825
[Core] Enable a frame in VarSet dialog value field
...
The Add Property Dialog for VarSets creates an editor based on the type.
This editor has no frame by default because it is mostly used in the
property view as part of a table. With this change we enable the frame
for the editor (the value field)
2025-04-22 23:56:07 +02:00
Pieter Hijma
a1239688af
[Core] Allow creating an editor with a frame
...
The default is to not have a frame as is custom before this change.
2025-04-22 23:56:07 +02:00
Florian Foinant-Willig
4726c2c0c3
TemplatePyMod: Prevent user to remove core properties
2025-04-22 23:52:17 +02:00
Florian Foinant-Willig
e5b6848fc6
Points: Prevent user to remove core properties
2025-04-22 23:52:17 +02:00
Florian Foinant-Willig
2729cfa0df
PartDesign: Prevent user to remove core properties
2025-04-22 23:52:17 +02:00
Florian Foinant-Willig
b4c41d8c62
Part: Prevent user to remove core properties
2025-04-22 23:52:17 +02:00
Florian Foinant-Willig
c7c768995b
OpenSCAD: Prevent user to remove core properties
2025-04-22 23:52:17 +02:00
Florian Foinant-Willig
d5ba39d0ca
Measure: Prevent user to remove core properties
2025-04-22 23:52:17 +02:00
Florian Foinant-Willig
3064c7705f
Fem: Prevent user to remove core properties
2025-04-22 23:52:17 +02:00
Florian Foinant-Willig
36b8e9a703
Draft: Prevent user to remove core properties
2025-04-22 23:52:17 +02:00
Florian Foinant-Willig
8a4c61ec5a
BIM: prevent user to remove core properties
2025-04-22 23:52:17 +02:00
Florian Foinant-Willig
d5e2fdf8fd
Assembly: prevent user to remove core properties
2025-04-22 23:52:17 +02:00
Florian Foinant-Willig
700c9a8a38
Add locked keyword to ViewProvider::addProperty
2025-04-22 23:52:17 +02:00
Florian Foinant-Willig
d6958ea1e6
Add locked keyword argument to DocumentObject::addProperty
2025-04-22 23:52:17 +02:00
Pieter Hijma
c16935dce4
[Gui] Fix "Select dependent objects" with cycles
...
Doing "Add dependent objects to selection" in the context menu of an
object that has cyclic dependencies triggered an infinite recursive
loop. This has been solved by using the function to get an outlist
recursively.
2025-04-22 17:23:38 -03:00
3x380V
ad244bf8d4
Fix SolverCalculiX object refactor ( #20913 )
...
Rename original SolverCalculix.ui to SolverCcxTools.ui to prevent
collision on case insensitive filesystems.
Fixes: 4f7a835e22 ("Fem: SolverCalculiX object refactor")
2025-04-22 16:53:58 -03:00
Pieter Hijma
05364b9eb4
[Doc] Process comments from review
...
Co-authored-by: Benjamin Nauck <benjamin@nauck.se >
2025-04-22 13:42:50 +02:00
Pieter Hijma
519b78d775
[Doc] Improve documentation PropertyContainer
2025-04-22 13:42:50 +02:00
Pieter Hijma
8956c56235
[Doc] Add documentation top-level namespace App
2025-04-22 13:42:50 +02:00
Jackson Oursland
4c600f20d4
pixi: Match developer dependencies with weekly build and update. ( #20711 )
2025-04-21 20:56:33 -03:00
theo-vt
f2cc750250
PartDesign: Center holes on sketch points as well as circles and arcs ( #20583 )
...
Co-authored-by: Kacper Donat <kadet1090@gmail.com >
2025-04-21 23:30:57 +02:00
Kacper Donat
75bc5eed1c
Sketcher: Remove not-needed print statements
2025-04-21 15:08:33 -05:00