Commit Graph

28835 Commits

Author SHA1 Message Date
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
Kuzemko Alexsandr
feb0f27f8d [PartDesign] Add Q_DECLARE_TR_FUNCTIONS() macro 2022-05-08 14:52:39 -05:00
Kuzemko Aleksandr
c3bbb9a135 [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
a9d0d71b06 App: implement DocumentP::clearDocument() to reduce code duplication 2022-05-08 21:32:34 +02:00
wmayer
c1c06f4ccb Spreadsheet: [skip ci] issue #6840/#6844: add unit test 2022-05-08 21:29:56 +02:00
Zheng, Lei
24b6f06015 App: fix crash on removing dynamic property
Related FreeCAD/FreeCAD#6840
2022-05-08 21:24:47 +02:00
Zheng, Lei
1d0e2f243a Fix mixed line ending 2022-05-08 21:24:47 +02:00
wmayer
971743a2e9 Gui: fix build failure with Qt 5.9 2022-05-08 19:36:51 +02:00
sliptonic
c579021d95 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
ee3038d32f Spreadsheet: [skip ci] issue #6844: add unit test 2022-05-08 18:59:23 +02:00
wmayer
ddf020e107 App: fixes #6844: Crash in PropertyXLinkContainer::updateDeps 2022-05-08 18:22:29 +02:00
luz paz
086d86ee11 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
ccad0fac90 [TD]add Python QGraphicsObject to Page 2022-05-08 09:01:04 -04:00
Wanderer Fan
ad64c57acd [Gui]add support for QGraphicsObject to PythonWrapper 2022-05-08 09:01:04 -04:00
Kuzemko Alexsandr
e56d7d0935 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
30b0efe025 Gui: fix crash on deletion if Undo/Redo is disabled 2022-05-07 12:15:42 +02:00
wmayer
c960622b3d App: fixes #6840: Crash in ObjectIdentifier::resolveProperty 2022-05-06 20:34:08 +02:00
Zheng, Lei
d926331e57 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
6d6af2dd3b 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
3bea43a228 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
54edb231bb 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
25bbc31848 [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
07f4267112 [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
3e7ad90b7b [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
b107498d49 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
8433a78807 Gui: fix crash on setup Link CopyOnChange objects 2022-05-05 11:37:38 -05:00
Zheng, Lei
15e1556f97 App: handle exception on change Link CopyOnChange 2022-05-05 11:37:38 -05:00
sliptonic
b97e141e01 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
0680ad5558 Merged crowdin translations 2022-05-05 15:46:09 +02:00
Yorik van Havre
ab5a6d83a1 Updated ts files 2022-05-05 15:20:57 +02:00
Yorik van Havre
c051711578 Tools: Favor the use of pylupdate5 over pyside2-lupdate in translation scripts (pyside2-lupdate doesn't encode properly). 2022-05-05 14:17:27 +02:00
Roy-043
72e91dbbca Draft: Fix Draft_WorkingPlaneProxy ignores Auto Working Plane 2022-05-04 20:56:06 +02:00
wmayer
dc53e6dce1 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
eebdaadb94 App: handle 'NoPersists' property type in PropertyContainerPy::getTypeOfProperty 2022-05-03 14:10:42 +02:00
wmayer
b160d9b7e0 Test: [skip ci] add unit tests for Prop_None and Prop_Output 2022-05-03 11:46:04 +02:00
wmayer
95123b3399 App: expose PropertyType enum to Python 2022-05-03 11:24:23 +02:00
Yorik van Havre
583916a2e5 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
ccc8ac65c5 [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
afebe07514 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
ea5f3eb68e 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
6ab0ba073d [Bugfix] Prevent start page loading to fail if WB doesn't define an icon 2022-05-02 14:30:24 +02:00