Commit Graph

28892 Commits

Author SHA1 Message Date
wmayer
74ead2c6ff Mod: whitespace fixes 2022-05-17 11:51:22 +02:00
wmayer
216ed31d8a Points: fix round-off errors in pcd export 2022-05-17 11:48:58 +02:00
wmayer
61bc913fe5 Test: [skip ci] test matrix element order 2022-05-17 11:47:40 +02:00
wmayer
d0f98bf45c Conda: ssize_t is a POSIX type and thus not necessarily defined on Windows. Currently this causes build failures with Conda + Py3.10.
The solution is to get rid off all occurrences of ssize_t in FreeCAD code
2022-05-17 11:43:40 +02:00
Yorik van Havre
06515cd340 Draft: Prevented error when grid size is zero - issue #5427 2022-05-17 10:58:10 +02:00
Yorik van Havre
27277e29c6 Draft: Fixed qt connect style - fixes #6879 2022-05-17 09:58:56 +02:00
wmayer
a564d5ced7 Import: fixes #5793: DXF export (Autodesk DXF 2D type) doesn't add any UNITS field inside the dxf file 2022-05-17 02:41:02 +02:00
luz paz
6e86375e8f [TestWB] fix source comment typo in
[skip ci]
2022-05-17 02:28:47 +02:00
Chris Hennes
cd53c06b98 Draft: fix SVG rotation around non-origin center
Fixes #6869
2022-05-16 11:10:04 -05:00
wmayer
a8411881c9 Gui: use Py_ssize_t instead of ssize_t in AbstractSplitViewPy::sequence_item 2022-05-16 14:54:18 +02:00
marioalexis
52b1d11e59 Gui: Fix crash when invoke command with sMenuText equal to nullptr 2022-05-16 13:47:29 +02:00
marioalexis
1654dddb73 Gui: Improve docstrings in CommandPy.xml 2022-05-16 13:46:24 +02:00
wmayer
00fea5057c Test: [skip ci] unit test for Commands related to PR #6889 2022-05-16 13:33:32 +02:00
Yorik van Havre
a175ae63b3 Arch: fixed window for good this time 2022-05-16 13:21:52 +02:00
wmayer
cca62bd8b5 Test: unit test for sub-objects related to PR #6888 2022-05-16 11:29:18 +02:00
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