Commit Graph

27652 Commits

Author SHA1 Message Date
wmayer
4ea3c8678b Test: [skip ci] test matrix element order 2022-05-17 11:47:40 +02:00
wmayer
72e464b1cc 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
bed5bc053a Draft: Prevented error when grid size is zero - issue #5427 2022-05-17 10:58:10 +02:00
Yorik van Havre
6150c61d62 Draft: Fixed qt connect style - fixes #6879 2022-05-17 09:58:56 +02:00
wmayer
7e7d368bba 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
ad067cdf7e [TestWB] fix source comment typo in
[skip ci]
2022-05-17 02:28:47 +02:00
Chris Hennes
3aa2920e33 Draft: fix SVG rotation around non-origin center
Fixes #6869
2022-05-16 11:10:04 -05:00
wmayer
34b0fc7a42 Gui: use Py_ssize_t instead of ssize_t in AbstractSplitViewPy::sequence_item 2022-05-16 14:54:18 +02:00
marioalexis
88fb277481 Gui: Fix crash when invoke command with sMenuText equal to nullptr 2022-05-16 13:47:29 +02:00
marioalexis
3215c8a426 Gui: Improve docstrings in CommandPy.xml 2022-05-16 13:46:24 +02:00
wmayer
4393dfae8c Test: [skip ci] unit test for Commands related to PR #6889 2022-05-16 13:33:32 +02:00
Yorik van Havre
d85cea7e7d Arch: fixed window for good this time 2022-05-16 13:21:52 +02:00
wmayer
f4a0387dc9 Test: unit test for sub-objects related to PR #6888 2022-05-16 11:29:18 +02:00
Zheng, Lei
a506827d39 App: Fix Origin::extensionGetSubObject() 2022-05-16 11:27:35 +02:00
Yorik van Havre
c72d865b6e Arch: Fixed mistake in last commit 2022-05-16 10:42:09 +02:00
wmayer
4107b00781 Sketch: fixes #6890: Problem with Grid size preference 2022-05-16 10:18:42 +02:00
Yorik van Havre
b4ee9b62ae Arch: Fixed default component type for new windows 2022-05-16 09:34:14 +02:00
kaktus Jacek
9b7bfb334c 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
0c311af109 Win installer: prepare for a beta build 2022-05-15 05:32:46 +02:00
Uwe
17a72ec54f 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
fbb992b578 Test: unit test for sub-objects related to PR #6838 2022-05-14 16:32:19 +02:00
wmayer
8353338db5 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
9a393e2b70 App: fix Origin getSubObject() 2022-05-14 14:02:21 +02:00
kaktus Jacek
f9df88f0a0 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
61526b83fc [TD]mark literals for translation 2022-05-13 13:41:37 -04:00
Wanderer Fan
e937e4b97f [TD]Fix group item moving when locked 2022-05-13 13:41:37 -04:00
sliptonic
28fd7d0ce8 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
9bcac09611 Part: std::unique_ptr is provided by the memory header 2022-05-12 17:52:52 +02:00
wmayer
09fffbb54d Part: reorder headers in PreCompiled.h 2022-05-12 17:50:33 +02:00
wmayer
bec323b793 Base: cosmetic changes 2022-05-12 17:49:55 +02:00
Uwe
3487594a96 [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
b60bd550f9 [skip CI] [Gui] NaviCube.cpp revert a change
from commit cb5e316a708f 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
6d4776e32c [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
27a13fb67d [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
031bca185d [TD]fix dimension special characters 2022-05-11 14:16:56 -04:00
Wanderer Fan
b9969abc70 [TD]add blank space for legibility 2022-05-11 14:16:56 -04:00
wmayer
4b483807c7 Base: replace several reinterpret_cast 2022-05-11 20:01:40 +02:00
janne
875dc2ceff #6871 Use the variable 'cam_file' instead of trying to read an non-existing document. 2022-05-11 19:30:06 +02:00
sliptonic
f2b1bd1c24 Merge pull request #6872 from JanneKro/master
#6871 - Certain PostProcessors spam errors and other output
2022-05-11 10:43:34 -05:00
sliptonic
0956f442fe 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
cabb238545 Merge branch 'master' into master 2022-05-11 17:11:05 +02:00
janne
a21d7c73c1 Remove '<post_processor_name> gcode postprocessor loaded.' message from the post-processors that have them. 2022-05-11 16:26:05 +02:00
janne
943883ccfa Do not read filename of document when it isn't open. 2022-05-11 16:17:06 +02:00
Wanderer Fan
64cfee2a4f [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
f6935580de [TD]use PyArg_ParseTuple type check
- replace PyObject_TypeCheck with O! in PyArg_ParseTuple
2022-05-11 09:57:53 -04:00
Wanderer Fan
22a00cffda [TD]fix extra undo on TaskCenterLine cancel 2022-05-11 09:57:53 -04:00
Gauthier
f8a6db02f5 T, H and S GCode parameters are integers, not float numbers. 2022-05-11 11:47:48 +02:00
Yorik van Havre
30801bdba8 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
2a5c875c6f Part: LGTM: Multiplication result may overflow 'int' before it is converted to 'unsigned int'. 2022-05-11 10:03:53 +02:00
Oliver Oxtoby
9e388ab0a8 Base: Remove extraneous bracket from string representation of kinematic viscosity units in MKS schema 2022-05-11 08:09:46 +02:00