Commit Graph

28877 Commits

Author SHA1 Message Date
Zheng, Lei
65889b6c80 App: Fix Origin::extensionGetSubObject() 2022-05-16 11:27:35 +02:00
Yorik van Havre
73d28acd87 Arch: Fixed mistake in last commit 2022-05-16 10:42:09 +02:00
wmayer
57fcdd8182 Sketch: fixes #6890: Problem with Grid size preference 2022-05-16 10:18:42 +02:00
Yorik van Havre
3ec140fac7 Arch: Fixed default component type for new windows 2022-05-16 09:34:14 +02:00
kaktus Jacek
aa19e21662 Update the qrc file list to the latest QT file import (QT5 files update for Polish language)
The file translation.qrc had to be updated as well, which was not done

This time the qrc file also contains an update.
2022-05-15 10:28:04 +02:00
Uwe
1c5e387035 Win installer: prepare for a beta build 2022-05-15 05:32:46 +02:00
Uwe
10fa08e879 update to Windows SDK 10.0.19041.0
because Qt 5.15.3 requires this SDK version too

done in preparation of FC 0.20 that will use Qt 5.15.3 as default for Windows
2022-05-15 04:14:15 +02:00
wmayer
4ae98779c1 Test: unit test for sub-objects related to PR #6838 2022-05-14 16:32:19 +02:00
wmayer
eb6adf17fa App: fix DocumentObjectPy::getSubObject:
* do not set pyMat to Py_None by default but nullptr and do type check in PyArg_ParseTupleAndKeywords
* if refType is out of range raise a ValueError instead of TypeError
* replace (undocumented) magic numbers with an enum class
* implement a lambda function to avoid code duplication
* fix bug for retType=3 or retType=4 if subname is a list of strings
2022-05-14 15:54:27 +02:00
Zheng, Lei
6340dcdd63 App: fix Origin getSubObject() 2022-05-14 14:02:21 +02:00
kaktus Jacek
a2e99d9196 add Qt5 translation files
QT5 files update for Polish language

The files contain updated translations and a new standard

https://github.com/FreeCAD/FreeCAD/issues/6875

https://github.com/qt/qttranslations/blob/dev/translations/qt_pl.ts
2022-05-14 13:06:29 +02:00
Wanderer Fan
3e56f88404 [TD]mark literals for translation 2022-05-13 13:41:37 -04:00
Wanderer Fan
00c8916341 [TD]Fix group item moving when locked 2022-05-13 13:41:37 -04:00
sliptonic
b96a650dec Merge pull request #6703 from Russ4262/fix/extensions_size_update
Path: Fix extensions updates and Default Length application [Bug]
2022-05-13 09:08:49 -05:00
wmayer
4fea37b3bc Part: std::unique_ptr is provided by the memory header 2022-05-12 17:52:52 +02:00
wmayer
5f0ad3864d Part: reorder headers in PreCompiled.h 2022-05-12 17:50:33 +02:00
wmayer
cbc0bfc24d Base: cosmetic changes 2022-05-12 17:49:55 +02:00
Uwe
354052e8f5 [Gui] Navigation preferences: fix #6875
- as requested by the translators, give a label more space
(the massive changes in the UI file could not be avoided despite the change is just to put the label into another layout column)
2022-05-12 12:37:59 +02:00
Uwe
f60e20ef98 [skip CI] [Gui] NaviCube.cpp revert a change
from commit f70329390c since the intended fix is not universal for all cube sizes, therefore leave the old pen width as compromise that obviously worked well

(as strange as it is, restarting FC brings me everytime a different border width)
2022-05-12 06:43:29 +02:00
Uwe
84feca0521 [skip CI] [Gui] NaviCube.cpp code cleanup
- fix a typo
- uniform a variable name
- style and whitespace fixes by MSVC
2022-05-12 06:37:12 +02:00
Uwe
f70329390c [Gui] NaviCube: fix #6689
- this is almost #6848 plus some changes suggested by @Jolbas in #6839 to get rid of some magic numbers

changes to:
- the default border width of 1.5 looked clumsy, therefore reduced to 1.1
- fix pen for SHAPE_CORNER (still not optimal, see comment in #6839)
2022-05-12 05:55:48 +02:00
Wanderer Fan
ef37abc441 [TD]fix dimension special characters 2022-05-11 14:16:56 -04:00
Wanderer Fan
23a1f08624 [TD]add blank space for legibility 2022-05-11 14:16:56 -04:00
wmayer
b39c6f62b4 Base: replace several reinterpret_cast 2022-05-11 20:01:40 +02:00
sliptonic
e0116c271a Merge pull request #6874 from JanneKro/master
#6871 Use the variable 'cam_file' instead of trying to read 'activeDocument'
2022-05-11 12:45:49 -05:00
janne
349c6be995 #6871 Use the variable 'cam_file' instead of trying to read an non-existing document. 2022-05-11 19:30:06 +02:00
sliptonic
b4cb34c4d3 Merge pull request #6872 from JanneKro/master
#6871 - Certain PostProcessors spam errors and other output
2022-05-11 10:43:34 -05:00
sliptonic
acb1e2047a Merge pull request #6868 from fra589/master
Path: grbl_post: T, H and S GCode parameters are integers, not float numbers.
2022-05-11 10:31:14 -05:00
JanneK
5b6b5f0578 Merge branch 'master' into master 2022-05-11 17:11:05 +02:00
janne
55f1222bc2 Remove '<post_processor_name> gcode postprocessor loaded.' message from the post-processors that have them. 2022-05-11 16:26:05 +02:00
janne
0f7cb192d5 Do not read filename of document when it isn't open. 2022-05-11 16:17:06 +02:00
Wanderer Fan
f0f0124f76 [TD]allow more room for section name
- section title label too short for translations
  of GD&T
2022-05-11 09:57:53 -04:00
Wanderer Fan
bb2590e2bd [TD]use PyArg_ParseTuple type check
- replace PyObject_TypeCheck with O! in PyArg_ParseTuple
2022-05-11 09:57:53 -04:00
Wanderer Fan
584af812ad [TD]fix extra undo on TaskCenterLine cancel 2022-05-11 09:57:53 -04:00
Gauthier
e1b00be15c T, H and S GCode parameters are integers, not float numbers. 2022-05-11 11:47:48 +02:00
Yorik van Havre
936b51bbc9 Merge pull request #6867 from oliveroxtoby/bugfix/remove-extraneous-bracket-from-kinematic-viscosity
Base: Remove extraneous bracket from kinematic viscosity units
2022-05-11 10:49:49 +02:00
wmayer
8c984359dd Part: LGTM: Multiplication result may overflow 'int' before it is converted to 'unsigned int'. 2022-05-11 10:03:53 +02:00
Oliver Oxtoby
105b63bf5e Base: Remove extraneous bracket from string representation of kinematic viscosity units in MKS schema 2022-05-11 08:09:46 +02:00
luz paz
132fdeade5 FEM: [Crowdin] fix typo in ElectrostaticPotential.ui tooltip
Fixes https://github.com/FreeCAD/FreeCAD-translations/issues/143
2022-05-10 19:02:09 -05:00
wmayer
1ca00446af Part: [skip ci] unit tests for PR #6850 2022-05-10 14:00:12 +02:00
marioalexis
0900c4e3d3 Gui: Improve docstrings in ViewProviderPy.xml 2022-05-10 13:56:46 +02:00
marioalexis
fd31cdcd10 Gui: Clean up code in ViewProviderPyImp.cpp 2022-05-10 13:56:06 +02:00
wmayer
ef00864607 Gui: set Document as modified when changing one of its properties 2022-05-09 21:31:20 +02:00
wmayer
cd3ba642df PD: [skip ci] remove extra semicolon [-Wextra-semi] 2022-05-09 17:32:35 +02:00
wmayer
79f8798011 Base: fixes #6802: Raise an exception when using FileInfo::toStdWString() for other platforms than Windows 2022-05-09 14:21:10 +02:00
Yorik van Havre
bd2c7dc651 Merge pull request #6798 from 0penBrain/draftWPTB
[BugFix] Draft: ensure Working Panel toolbar is deactivated on FC closing
2022-05-09 11:06:59 +02:00
wmayer
1fbff0a616 App: fix regression in Expression::getDepObjects
Avoid to add labels muliple times as reported here: https://forum.freecadweb.org/viewtopic.php?p=593994#p593994
2022-05-09 10:53:21 +02:00
wmayer
9d3040cc60 Spreadsheet: PR #6843: add missing unit test 2022-05-09 10:27:52 +02:00
Zheng, Lei
ef2db349f8 Spreadsheet: fix cell clearing 2022-05-09 10:25:49 +02:00
Chris Hennes
44540a4d82 Mesh: Add missing toolbar translation strings 2022-05-08 17:02:41 -05:00