Commit Graph

33618 Commits

Author SHA1 Message Date
wmayer
08e239e9f7 CMake: improve handling of shiboken/PySide
* fix syntax error with message()
* if shiboken/PySide cannot be found print a warning instead of fatal error. Especially for Qt6 builds a self-compiled shiboken6/PySide6 is required that isn't necessarily installed into the system directories so that the (system) Python interpreter may fail to find them
2023-07-20 08:58:56 -05:00
Robbe De Greef
ae215724dd fix: Spreadsheet applies content/alias even when focus lost (#9836)
* fix: Spreadsheet applies alias even when focus lost

The original stylesheet behavior was that the alias or content fields
could be edited, but only after enter was pressed the field would
actually update. This change makes the field apply when focus is lost
on top of when enter is pressed. This makes it easier to enter the
alias of a lot of fields at once.
2023-07-19 09:15:54 -05:00
Pascal de Bruijn
fdf2d79c4f TechDraw: scour (tidy) template SVGs 2023-07-19 09:21:37 -04:00
Pascal de Bruijn
f661e8aa53 TechDraw: fix zh_CN template binding hole duplicate stroke 2023-07-19 09:21:37 -04:00
Pascal de Bruijn
70a47494c8 TechDraw: convert template FreeCAD logos to line art 2023-07-19 09:21:37 -04:00
Chris Hennes
21492b59a4 Merge pull request #9812 from 0penBrain/sketcherBackEdit
Sketcher: bugfixes and improvements in backside edit and section view
2023-07-18 14:24:50 -05:00
Adrián Insaurralde Avalos
1d7fb46f89 Add FREEECAD_USE_CCACHE cmake option
Defaults to ON except for conda compilation on windows
2023-07-18 11:46:04 -04:00
sliptonic
77805b5373 Merge pull request #9930 from jamwaffles/patch-1
Path: Fix undefined variable name in Command.py
2023-07-18 09:04:51 -05:00
sliptonic
ffd664725a Merge pull request #9418 from jimzim111/path_maintainposition
PATH: Avoid unnecessary mid-Op tool movements to origin: don't add the end …
2023-07-18 09:02:15 -05:00
sliptonic
2707716152 Merge pull request #9935 from jamwaffles/patch-2
Path: Fix undefined method error in LeadInOut dressup
2023-07-18 08:54:23 -05:00
Roy-043
a04dfded14 Draft: Improve downgrading of PD bodies (#9934) 2023-07-18 10:46:10 +02:00
Roy-043
ba6a45d9db Draft: Fix get_diffuse_color function (#9932) 2023-07-18 10:45:38 +02:00
luzpaz
13f79ab6df Fix typos 2023-07-17 16:08:05 -05:00
Chris Hennes
64b4a5a490 App/Toponaming: Tweak ComplexGeoData destructor 2023-07-17 10:24:29 -05:00
Benjamin Bræstrup Sayoc
370e794d27 [Part] Make tooltip match label
Fixes issue #9941
2023-07-17 09:47:53 -04:00
Chris Hennes
0ad7e38675 Merge pull request #9939 from chennes/toponamingAddMissingFindTagInElementNameTest 2023-07-16 14:06:26 -05:00
Chris Hennes
2ad35ea03e App/Toponaming: Add tests for findTagInElementName
Also apply clang-tidy to that function, and fix an error with the postfix return.
2023-07-15 22:47:08 -05:00
Chris Hennes
15371a04f3 Merge pull request #9780 from chennes/toponamingComplexGeoDataDressing
Toponaming: ComplexGeoData dressing
2023-07-15 16:37:09 -05:00
James Waples
83ec49eb70 Path: Fix undefined method error in LeadInOut dressup
A regression from #9506 where `self.multiply` was removed but not all references to it were updated.

I'm not a Python guy but from what I can see the behaviour is the same - `offsetvector` is still an `App.Vector` which `self.multiply` used to use as well.

Tested with a project that previously didn't work, and now shows a nice `Arc`-type dressup in a circular pocket.
2023-07-15 14:04:30 +01:00
James Waples
a56ed9175f Path: Fix undefined variable name in Command.py
This is a rename that got missed in #6637. I ran into this bug when trying to post a job using the `linuxcnc` post processor on a Windows 11 machine, running the weekly build titled `FreeCAD_weekly-builds-33576-2023-07-13-conda-Windows-x86_64-py310.7z`.
2023-07-15 14:03:26 +01:00
Chris Hennes
33600efe80 PD: prevent MSVC from defining min/max 2023-07-15 07:45:38 -05:00
luzpaz
525eacca39 Fix various typos 2023-07-15 11:17:45 +02:00
Chris Hennes
e7f8f26bd5 App/Toponaming: Basic tests and linter issues 2023-07-14 23:03:18 -05:00
Chris Hennes
9ea7b6424b App/Toponaming: ComplexGeoData realthunder original
Minor modifications to make it compile with previous refactorings.
The only substantial change to the original is moving the
getElementHistory function from ComplexGeoData to MappedName so
that the dehash function can remain private.
2023-07-14 23:03:18 -05:00
Przemo Firszt
e9b87b54fc [COPR] Add flatmesh to plugins 2023-07-14 22:24:07 +02:00
Chris Hennes
aefb3584aa Merge pull request #9896 from bdieterm/patch-3
set toolbar icon size when starting FreeCAD GUI from Python
2023-07-14 13:08:24 -05:00
Chris Hennes
a2d5e93e2c Merge pull request #9921 from wwmayer/test_for_pr_9905
Part: add a unit test for PR #9905
2023-07-14 13:07:14 -05:00
wmayer
3145dd7bbc Part: add a unit test for PR #9905 2023-07-14 11:29:20 -05:00
Chris Hennes
10e36fcec6 Merge pull request #9905 from Syres916/patch-85
[Part] Fix regression when opening...
2023-07-14 11:29:04 -05:00
wmayer
0c185ad611 Part: delete created document in unit test TopoShapeListTest.testMakeTopoShapeList 2023-07-14 11:04:23 +02:00
wandererfan
4d1fa6d07d [TD]fix lock in Rich Text Anno 2023-07-13 19:50:45 -04:00
Chris Hennes
c7d28731bd Addon Manager: Fix #9828, hang on no internet 2023-07-13 14:15:29 -05:00
wandererfan
f83a3fbb6a [TD]fix rich text font size in pdf 2023-07-13 14:28:29 -04:00
wmayer
4688582de3 Base: fix bug in CoordinateSystem::setYDirection 2023-07-13 15:12:09 +02:00
wmayer
8e6fbd2886 OpenSCAD: a test internally uses the DXF importer
If not all 3rd party packages are installed the DXF importer opens a modal dialog and blocks the tests
2023-07-12 21:44:27 -05:00
Syres916
d231a25da8 [Part] Fix regression when opening...
project files with linked objects having face colors.
See discussion https://forum.freecad.org/viewtopic.php?t=79558
Regression commit: ce56d65162
2023-07-11 00:20:27 +01:00
wandererfan
2559d7e7b6 [TD]allow delete of dependents on delete of parent
- deleting a dvp will now delete any hatches, dimensions or
  balloons belonging to it.
- deleting a dvp that is the base view for a section or detail
  is still blocked.
2023-07-10 17:05:57 -04:00
sliptonic
3fe9db304c Merge pull request #9884 from petterreinholdtsen/startpage-no-trailing-space
Removed trailing whitespace discovered by github linter.
2023-07-10 10:44:02 -05:00
sliptonic
fecc5d954e Merge pull request #9797 from mosfet80/patch-5
clean FindCoin3DDoc.cmake
2023-07-10 09:59:09 -05:00
sliptonic
127afb981f Merge pull request #9773 from adrianinsaval/defaultEnableFlatMesh
cmake: enable BUILD_FLAT_MESH by default
2023-07-10 09:54:58 -05:00
Petter Reinholdtsen
a480e5e225 Skip open_de9b3fb438 s390x to avoid OOM.
The load of the current file in test_open_head is fine, but
open_de9b3fb438 goes into an OOM even in huge (e.g. 10GB) systemd.
This probably needs a proper fix by upstream in regard to the migration
modules that load the old code, but until then (since the rest works on s390x)
this unblocks the package self-test in Debian & Ubuntu.

Patch by Christian Ehrhardt <christian.ehrhardt@canonical.com>.

This is Debian bug https://bugs.debian.org/984952 and Ubuntu bug
https://bugs.launchpad.net/ubuntu/+source/freecad/+bug/1918474.

Been part of the Debian edition of FreeCAD since 2021.
2023-07-10 09:53:20 -05:00
sliptonic
e5427983cf Merge pull request #9691 from tomate44/blendiconrename
Surface: Fix Blend Curve icon name
2023-07-10 09:51:13 -05:00
sliptonic
7b75272a75 Merge pull request #9715 from MisterMakerNL/master
Updated stylesheets+preference packs.
2023-07-10 09:43:43 -05:00
Adrián Insaurralde Avalos
1c0351f8ae remove gitlab ci leftover files [skip-ci] 2023-07-10 09:42:44 -05:00
bdieterm
bf025720ec fix function name in doxygen annotation 2023-07-10 09:23:59 -05:00
Petter Reinholdtsen
8fe64be7d1 Removed trailing whitespace discovered by github linter.
While working on https://github.com/FreeCAD/FreeCAD/pull/9880,
I discovered a lot of linter issues.  These fixes all of them.
2023-07-10 16:06:52 +02:00
Yorik van Havre
942b8139f7 Merge pull request #9835 from yorikvanhavre/arch-fix-h1
Arch: Fixed error on null window preset creation parameters
2023-07-10 10:52:41 +02:00
Chris Hennes
1a09b8602c Merge pull request #9901 from chennes/translations20230709
Apply translations
2023-07-09 19:45:35 -05:00
Chris Hennes
6f97b74fdb Apply translations 2023-07-09 18:09:53 -05:00
Chris Hennes
3a07cc0c6a Merge pull request #9880 from petterreinholdtsen/no-dial-home
Change Start page to no longer dial home by default.
2023-07-09 17:29:32 -05:00