Commit Graph

27613 Commits

Author SHA1 Message Date
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
luz paz
1ef0f8001b 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
bd17a5cef4 Part: [skip ci] unit tests for PR #6850 2022-05-10 14:00:12 +02:00
marioalexis
a1d31ebd9e Gui: Improve docstrings in ViewProviderPy.xml 2022-05-10 13:56:46 +02:00
marioalexis
16e950ed7b Gui: Clean up code in ViewProviderPyImp.cpp 2022-05-10 13:56:06 +02:00
wmayer
b41bdd82a0 Gui: set Document as modified when changing one of its properties 2022-05-09 21:31:20 +02:00
wmayer
8b1ed60d17 PD: [skip ci] remove extra semicolon [-Wextra-semi] 2022-05-09 17:32:35 +02:00
wmayer
37611d6e02 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
e1f497cf76 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
f7b2421df2 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
e4f9a0060b Spreadsheet: PR #6843: add missing unit test 2022-05-09 10:27:52 +02:00
Zheng, Lei
7a8693557e Spreadsheet: fix cell clearing 2022-05-09 10:25:49 +02:00
Chris Hennes
aaf17076d4 Mesh: Add missing toolbar translation strings 2022-05-08 17:02:41 -05:00
Kuzemko Alexsandr
dba95b464c [PartDesign] Add Q_DECLARE_TR_FUNCTIONS() macro 2022-05-08 14:52:39 -05:00
Kuzemko Aleksandr
901a1c1915 [PartDesign] Fix and expose ViewProvider strings to translation
Closes https://github.com/FreeCAD/FreeCAD-translations/issues/24
2022-05-08 14:52:39 -05:00
wmayer
2c7fce704f App: implement DocumentP::clearDocument() to reduce code duplication 2022-05-08 21:32:34 +02:00
wmayer
818d3cc30e Spreadsheet: [skip ci] issue #6840/#6844: add unit test 2022-05-08 21:29:56 +02:00
Zheng, Lei
8b5b4f1fbe App: fix crash on removing dynamic property
Related FreeCAD/FreeCAD#6840
2022-05-08 21:24:47 +02:00
Zheng, Lei
6530d2e1a6 Fix mixed line ending 2022-05-08 21:24:47 +02:00
wmayer
aa4f06b648 Gui: fix build failure with Qt 5.9 2022-05-08 19:36:51 +02:00
sliptonic
a5b26dd9d1 Merge pull request #6851 from Kuzma30/final_120
[Path] Final fix of Path - message during startup  (#43)
2022-05-08 12:20:21 -05:00
wmayer
5220519c09 Spreadsheet: [skip ci] issue #6844: add unit test 2022-05-08 18:59:23 +02:00
wmayer
caecc921f0 App: fixes #6844: Crash in PropertyXLinkContainer::updateDeps 2022-05-08 18:22:29 +02:00
luz paz
d2e5b70049 Crowdin: fix whitespace and typo in translation string
Fixes https://github.com/FreeCAD/FreeCAD-translations/issues/132
2022-05-08 18:21:04 +02:00
Wanderer Fan
1512bc02a6 [TD]add Python QGraphicsObject to Page 2022-05-08 09:01:04 -04:00
Wanderer Fan
aa979441d7 [Gui]add support for QGraphicsObject to PythonWrapper 2022-05-08 09:01:04 -04:00
Kuzemko Alexsandr
ba0642efc0 Final fix of Path - message during startup (#43)
[Path] Fix python style for initial message
(now recognized by updatets.py script)
2022-05-08 11:45:51 +03:00
wmayer
d63b723d02 Gui: fix crash on deletion if Undo/Redo is disabled 2022-05-07 12:15:42 +02:00
wmayer
531b354229 App: fixes #6840: Crash in ObjectIdentifier::resolveProperty 2022-05-06 20:34:08 +02:00
Zheng, Lei
2df514c743 Spreadsheet: fix extra row or column when printing
If there is only one single row or column in the table
2022-05-06 08:40:11 -05:00
Zheng, Lei
5f17d5edca Spreadsheet: add new API PropertySheet::getNonEmptyCells()
To exclude cells without any text content. Used when printing (among
other cases) to skip empty cells.
2022-05-06 08:40:11 -05:00
wmayer
1aef8e0246 App: cannot assign a null pointer to a std::string
Depending on the compiler an exception is raised or a crash occurs
2022-05-06 15:14:37 +02:00
luz paz
a94d76874f LGTM: Remove unnecessary deletion of local variables
Passing a local variable to a del statement results in that variable being removed from the local namespace. When exiting a function all local variables are deleted, so it is unnecessary to explicitly delete variables in such cases.

ref: https://lgtm.com/rules/1506104658325/
2022-05-05 23:03:36 +02:00
Kuzemko Alexsandr
3d7eb87a4c [Partdesign] Fix proposed by @0penBrain (#32)
*[PartDesign] Add Q_DECLARE_TR_FUNCTIONS to ViewProviderDatum.

*[PartDesign] Small fix for ViewProviderDatum::attach translation
2022-05-05 23:00:24 +02:00
Kuzemko Aleksandr
d9134798cc [PartDesign] Add individual QString for menu text which exposes text to translation
Closes https://github.com/FreeCAD/FreeCAD-translations/issues/125
2022-05-05 23:00:24 +02:00
Kuzemko Alexsandr
d7bd80d44d [Part] Part Measure Linear (tool) fix translation for "Selection xx" button.
* [PartDesign] Part Design Measure Linear (tool) fix translation for
"Selection xx" button.

* [Part] No need translate "Selection xx" string twice.
2022-05-05 22:51:18 +02:00
Benjamin Alterauge
573a184d62 Use python3 to run MakeMacBundleRelocatable.py (#6784)
* To use this script with python 3, fix the incompatible types text and bytes.
2022-05-05 22:47:48 +02:00
Zheng, Lei
03f0fe2039 Gui: fix crash on setup Link CopyOnChange objects 2022-05-05 11:37:38 -05:00