Snow Faerie
05bf9029b5
Generate compile_commands.json
...
Modify CMakePresets.json to use -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=ON
in all the presets.
The compile_commands.json file can be used by tools like clangd to get
autocompletion and go-to-definition.
This patch also adds compile_commands.json to the .gitignore, as often
you need to symlink the compile_commands.json from the build directory
into the source directory for it to be picked by tools. That is the case
with clangd at least.
2024-07-22 10:49:34 -05:00
Chris Hennes
dd86f21130
Merge pull request #15521 from bgbsww/bgbsww-toponamingSaveRestore1plus
...
Throw exceptions rather than return default 0
2024-07-22 10:46:53 -05:00
Yorik van Havre
5b7a61ea06
BIM: Better fix to IFC viewprovider - fixes #15477
2024-07-22 10:46:02 -05:00
Chris Hennes
5ffa1bc582
Addon Manager: Silence warning due to use of horizontal line
2024-07-22 10:45:08 -05:00
Chris Hennes
f841acc5c5
Merge pull request #15499 from wwmayer/issue_15453
...
Fix possible crashes in PD task panels
2024-07-22 10:44:35 -05:00
Chris Hennes
8249b81d93
PD/Tests: Correct TestPartDesignGui for Qt6
2024-07-22 11:42:59 -04:00
Kim Kirwan
25c5d09c43
Minor fixes to improve README.md file readability
...
Fixed a misspelling, added some commas, changed all occurrences of
PDN (PartDesignNext) or PD to PartDesign to improve readability.
(And update the text, since PartDesignNext was new in version
0.17 or so, and stable is now 0.21.2. )
2024-07-22 10:37:54 -05:00
wandererfan
0600f36b10
[TD]fix leader start point on rotated view
2024-07-22 09:14:34 -04:00
Chris Hennes
187296d67a
Addon Manager Tests: Skip all git tests if git is not present
2024-07-22 00:08:51 -05:00
PaddleStroke
6ce744a9a1
Assembly: Fix conflicting shortcut for Exploded view
2024-07-22 00:07:51 -05:00
wmayer
373533d030
Tests: Add tests for MeshPart
2024-07-22 00:06:23 -05:00
Chris Hennes
ac3b5b3c74
Merge pull request #15535 from bgbsww/bgbsww-toponamingSaveRestore3plus
...
Refactor all elementname pairs into clearer struct names
2024-07-21 11:40:39 -05:00
Yuri D'Elia
41d67f8e10
Gui: Fix Shiboken version detection and compilation error
...
- Shiboken headers need to be included first to get MAJOR/MINOR version
flags. Without them the code would still compile, but fail the version
check a few lines below assuming Shiboken is always older than 5.12
- Fix typo in cast when HAVE_SHIBOKEN_TYPE_FOR_TYPENAME is defined and
remove the conditional: we have to assume typeForTypeName() always
results in a valid name, as for the other implementations. There's no
error handling of any kind in callers.
This fixes the build on debian unstable with shiboken 5.15.
2024-07-21 00:04:37 -05:00
Chris Hennes
a7d32d3dcc
Merge pull request #15481 from Syres916/Measure_Restrict_Availability
...
[Measure] Correctly restrict command availability
2024-07-20 23:33:03 -05:00
Chris Hennes
38b57ab8c7
Merge pull request #14918 from hlorus/measure_fix_assembly
...
Measure: Fix measure issues in assemblies
2024-07-20 23:06:24 -05:00
marioalexis
f466f087fe
Fem: Fix manual color bar range specification - fixes #15013
2024-07-20 22:36:53 -05:00
marioalexis
d19b4adb78
Fem: Use own base class for Python objects - fixes #15408
2024-07-20 21:10:15 -05:00
bgbsww
0bddc51805
Refactor all element name pairs into clearer struct names - renames
2024-07-20 16:32:12 -04:00
bgbsww
3db680c7de
Refactor all element name pairs into clearer struct names - definitions
2024-07-20 16:32:12 -04:00
Chris Hennes
608cb182e5
Merge pull request #15500 from bgbsww/bgbsww-toponamingSaveRestore3
...
Toponaming: refactor getExportElementName to separate method
2024-07-19 20:05:42 -05:00
bgbsww
159c811bce
Toponaming: refactor getExportElementName to separate method
2024-07-19 10:19:57 -04:00
bgbsww
db9c075be8
Toponaming: Clean Code adding RefIndex to ExternalGeometry and supporting new migration types.
2024-07-19 09:39:19 -04:00
Roy-043
51789ae8a1
BIM: Fix bug in OBJ import caused by missing utf8 encoding
...
Fixes #15512 .
2024-07-19 15:24:43 +02:00
Zheng, Lei
1972156308
Transfer in code from linkstage3
2024-07-19 09:22:17 -04:00
bgbsww
178c4ec477
Throw exceptions rather than return default 0
2024-07-19 09:09:59 -04:00
bgbsww
63a68b3c1c
Throw exceptions rather than return default 0
2024-07-19 08:59:25 -04:00
bgbsww
ff61f56d19
Expand reader getAttribute calls to accept a default value
2024-07-18 18:18:38 -05:00
wmayer
c1a7edc221
PD: Fix possible crashes in dress-up task panels
2024-07-18 15:13:29 +02:00
wmayer
839fd1fec0
PD: Fix possible crash in primitive dialog
2024-07-18 14:28:52 +02:00
wmayer
5731a27609
PD: Add template helper functions to safely access feature or view provider
...
In subclasses of TaskFeatureParameters use the new helper functions and check for null pointer. This fixes #15453
2024-07-18 13:40:08 +02:00
wmayer
351397e088
PD: Replace helper functions in subclasses of TaskDlgFeatureParameters with a template function
2024-07-18 00:02:07 +02:00
wmayer
cf6d8da448
PD: Make blockUpdate private class member
2024-07-17 20:09:53 +02:00
Syres916
a9d690d6d0
[Measure] Fix Lint Feedback
2024-07-17 18:18:13 +01:00
hlorus
ba6fd2de39
Measure: Fix retrival of shape in measure geomtery handlers
2024-07-17 17:56:37 +02:00
hlorus
572235cff8
Measure: Resolve App::Link elements
2024-07-17 17:56:37 +02:00
hlorus
bb7f84c32a
Measure: Reduce boilerplate code by adding some helper methods
2024-07-17 17:53:12 +02:00
Chris Hennes
c8046b1c60
Sketcher: Fix crash on recompute with points
...
Fixes #15154 .
2024-07-17 10:25:22 -04:00
Reqrefusion
2495a10f54
Some love
2024-07-17 10:04:31 -04:00
Syres916
23de5b7083
[Measure] Correctly restrict availability
2024-07-17 14:43:09 +01:00
PaddleStroke
e4c707b989
Sketcher: Rotate: correct the name of the checkbox
2024-07-17 00:12:24 -05:00
PaddleStroke
e56f4a8c1a
Assembly: Fix edit mode to allow users to transform the assembly.
2024-07-16 23:44:00 -05:00
Chris Hennes
ce4b24029f
Merge pull request #15382 from Syres916/Fix_Theme_ComboBox_Lookup
...
[Gui] Preferences - fix the theme combobox index lookup...
2024-07-16 23:26:47 -05:00
Chris Hennes
a9b29269ec
Merge pull request #14970 from kadet1090/use-freecad-icons-by-default
...
Gui: Use FreeCAD supplied icons by default
2024-07-16 23:21:24 -05:00
Chris Hennes
f6d45db7eb
Merge pull request #15194 from bgbsww/bgbsww-toponamingFix15145
...
Toponaming: Missing getSubObject code in PartDesign::Body
2024-07-16 23:20:24 -05:00
wandererfan
16f25ec4a2
[TD]translate line names at time of use
2024-07-16 14:03:48 -04:00
Yorik van Havre
4d29b50ef5
BIM: Fixed empty IFC decomposition - fixes #15363
2024-07-16 15:42:19 +02:00
Yorik van Havre
de43943fd7
BIM: Fixed IFC import with None psets - fixes #15436
2024-07-16 15:42:03 +02:00
Pieter Hijma
44387a793b
Core: Add missing Python interpreter locks
2024-07-16 11:57:36 +02:00
wmayer
f0024a8930
JtReader: Fix include paths
2024-07-16 11:48:07 +02:00
Roy-043
55b6dd71e5
BIM: Fix Wavefront OBJ color export
...
Fixes #15429 .
Related #10906 .
2024-07-16 10:15:08 +02:00