Commit Graph

23859 Commits

Author SHA1 Message Date
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
wmayer
2a5c875c6f Part: LGTM: Multiplication result may overflow 'int' before it is converted to 'unsigned int'. 2022-05-11 10:03:53 +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
wmayer
8b1ed60d17 PD: [skip ci] remove extra semicolon [-Wextra-semi] 2022-05-09 17:32:35 +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
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
818d3cc30e Spreadsheet: [skip ci] issue #6840/#6844: add unit test 2022-05-08 21:29:56 +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
Wanderer Fan
1512bc02a6 [TD]add Python QGraphicsObject to Page 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
Russell Johnson
b77dc2e81d Path: Relocate valueChanged signal translation to QSB class
Moved the translation method from PathFeatureExtensionsGui module to proper location within QuantitySpinBox class in PathGui module.
This change adds a missing translation method for passing the `editingFinished` signal to the parent task panel when the user is finished editing a QuantitySpinBox object with an active expression in the Gui.
If no expression is active, this new method is dormant.

Some cleanup of initial changes related to development of this fix are included.
2022-05-06 17:10:41 -05:00
Russell Johnson
e96778d3fe Path: Fix delayed extension length updates
These changes allow for the extensions to be updated immediately upon changing either the Default Length expression or spinbox value, without having to click outside the spinbox.
2022-05-06 17:10:40 -05: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
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
sliptonic
cd269d84da Merge pull request #6796 from Russ4262/fix/3d_surface_opt_step_trans
Path: Fixes #6775 - Check for end of range
2022-05-05 09:55:52 -05:00
Yorik van Havre
996994da55 Merged crowdin translations 2022-05-05 15:46:09 +02:00
Yorik van Havre
a62092d498 Updated ts files 2022-05-05 15:20:57 +02:00
Roy-043
9ab722781f Draft: Fix Draft_WorkingPlaneProxy ignores Auto Working Plane 2022-05-04 20:56:06 +02:00
wmayer
d0f47f2afa App: fix restoring the attributes of a dynamic property
For more details see: https://forum.freecadweb.org/viewtopic.php?p=591465#p591465
2022-05-03 16:52:54 +02:00
wmayer
94dceaf09a Test: [skip ci] add unit tests for Prop_None and Prop_Output 2022-05-03 11:46:04 +02:00
Yorik van Havre
6cd98fa0dd Merge pull request #6820 from 0penBrain/startPage
[Bugfix] Prevent start page loading to fail if WB doesn't define an icon
2022-05-03 10:18:17 +02:00
Wanderer Fan
67ac6019eb [TD]fix X,Y change propagation
- X,Y changes to object1 were not propagated to
  object2 linked by expression
2022-05-02 17:51:51 -04:00
wmayer
c365031c51 Part: optimize hasShapesInSelection() by avoiding performing a possibly expensive transformation
See also: https://forum.freecadweb.org/viewtopic.php?p=592445#p592445
2022-05-02 17:19:49 +02:00
sliptonic
0aa968a62b Merge pull request #6813 from Russ4262/fix/rrf_post
Path: Add missing post-processor modules [bug]
2022-05-02 09:16:36 -05:00
0penBrain
530333a3c8 [Bugfix] Prevent start page loading to fail if WB doesn't define an icon 2022-05-02 14:30:24 +02:00
Yorik van Havre
7c2bd845d7 Merge pull request #6814 from Roy-043/Draft-fix-2-gui_groups-translation-issues
Draft: fix 2 gui_groups.py translation issues
2022-05-02 14:06:55 +02:00
luz paz
9529fccf86 Mesh: fix grammatical issue in console message string
[skip ci]
2022-05-01 23:19:40 +02:00
Ajinkya Dahale
43b0a03cee [FEM] Expand Add/Remove buttons in constraint tasks
Minor UI improvement. The behavior had changed when the buttons were changed
from `QPushButton` to `QToolButton` in 64a95596459f8db6b5fce16a354913ac1d669344.
2022-05-01 12:01:31 +03:00
Roy-043
e7ae0dbb33 Draft: fix 2 gui_groups.py translation issues 2022-04-30 21:40:34 +02:00
Russell Johnson
2c158b7244 Path: Exclude dumper and example posts
Do not ship these two.  They are intended for devs working with source code.
2022-04-30 13:55:44 -05:00
Russell Johnson
dbb34eae7b Path: Add missing post-processor modules
Add entries for missing post-processor modules so they are shipped with FreeCAD.
2022-04-30 07:55:55 -05:00
wmayer
67e963781b Part: in TopoShape::transformGeometry convert OCC exception into Base exception
The conversion is needed because TopoShape::transformGeometry reimplements ComplexGeoData::transformGeometry and is called in the core system
2022-04-29 15:37:44 +02:00
wmayer
a5d7987ad0 Part: handle exception of makeGTransform in _makeTransform 2022-04-29 15:15:51 +02:00
wmayer
2d5c2f0700 Part: adjust TopoShape::transformGShape() to reduce code duplication of TopoShape::makeGTransform
Revert changes of 4e7efd68d42a68 as otherwise there is no way to handle a failure in client code
2022-04-29 14:57:05 +02:00
wmayer
80c900cf52 Base: fix conversion from Placement to Matrix
See also: https://forum.freecadweb.org/viewtopic.php?f=3&t=61000
2022-04-29 13:45:50 +02:00
Roy-043
f2698ac017 Draft: Fix Draft_Snap_Intersection for self-intersecting objects 2022-04-29 14:20:15 +03:00
0penBrain
0929f70ad2 [BugFix] Draft: ensure Working Panel toolbar is deactivated on FC closing
Fixes #6242
2022-04-29 10:16:37 +02:00