Commit Graph

3962 Commits

Author SHA1 Message Date
wmayer
299c20e918 Gui: get rid of some const_cast 2022-06-28 15:26:02 +02:00
wmayer
2628fb0350 App: fix memory leaks in Enumeration class and simplify code 2022-06-25 18:18:57 +02:00
wmayer
1459fd61a4 cppcoreguidelines-special-member-functions
* disable move constructor and move assignment for several core classes
2022-06-25 17:46:48 +02:00
wmayer
223de8f60f cppcoreguidelines-pro-type-union-access
According to https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md#Ru-pun using union for type-punning is undefined behaviour.
  See also https://en.wikipedia.org/wiki/Type_punning#Use_of_union. Replace it with std::memcpy.
2022-06-25 17:17:04 +02:00
wmayer
d5340a82ab Gui/Mod: replace several reinterpret_cast with static_cast 2022-06-25 11:36:55 +02:00
wmayer
4791575e31 Gui: remove some superfluous const_cast 2022-06-24 14:48:52 +02:00
wmayer
f5235a8057 cppcoreguidelines-pro-type-union-access
According to https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md using union for type-punning is undefined behaviour.
 Replace it with std::memcpy
2022-06-24 14:29:50 +02:00
Yorik van Havre
4c34ae7398 Merge pull request #7067 from Kuzma30/add_ts
Crowdin Add "new" WB to translations.
2022-06-24 13:50:43 +02:00
mosfet80
c48a569696 Boost version <=1.60 is never used in freecad 0.20 (#7038)
* Boost version 1.60 is never used in freecad 0.20
2022-06-24 02:20:26 +02:00
0penBrain
1c16e512db [BUGFIX] Gui: fix mouse Gesture navigation mode
Regression introduced by commit 5ce0bb7
2022-06-24 01:03:53 +02:00
marioalexis
ae56fb62a7 Gui: Use PyObject_IsTrue in combination with conditional ternary operator 2022-06-22 19:50:03 -04:00
luzpaz
3a9caa928c Stylesheets: fix typos
[skip ci]
2022-06-21 20:39:01 -04:00
Kuzemko Alexsandr
b99ccc6193 Crowdin Update .ts files with current source. 2022-06-21 17:31:06 +03:00
wmayer
8499e8fba6 Gui: expose SoQtOffscreenRenderer to Python 2022-06-21 12:55:17 +02:00
Uwe
552e0bdd3a [core] update version number
NOTE: this is purposely version 0.21, despite the release goal is 1.0
Since we issue weekly builds, people might otherwise misunderstand the version

So first when the release goal is reached, FreeCAD becomes version 1.0
2022-06-20 00:56:55 +02:00
Uwe
0828d769e8 [Gui] remove unnecessary Boolean comparisons 2022-06-19 15:17:01 +02:00
Uwe
9ca09017c0 [Gui] View.cfg: fix typo 2022-06-17 01:30:11 +02:00
Uwe
380000cb30 [Gui] Add more general color settings to Preference Pack
- also sort the file entries
2022-06-17 01:23:09 +02:00
Uwe
30989389af [Gui] Add more saving view data in Preference Pack
- it was reported that the user-visible settings like the NaviCube size etc. cannot be saved via a preferences pack
2022-06-17 01:21:28 +02:00
Chris Hennes
8062d28bad Gui: Add saving view data in Preference Pack 2022-06-16 11:48:47 -05:00
wmayer
5d560405b8 Gui: add overloaded version of cmdAppDocument and cmdGuiDocument() that has a string as first parameter 2022-06-13 15:21:55 +02:00
Chris Hennes
0c33741785 GUI: Preliminary support for HiDPI splashscreen 2022-06-13 15:19:40 +02:00
wmayer
cf321ef481 Gui: implement '*' operator for weak pointer classes 2022-06-13 13:52:34 +02:00
wmayer
8949715627 Gui: [skip ci] set Std_LinkMakeRelative as WhatsThis name 2022-06-13 11:01:36 +02:00
Uwe
e93dca254b [Gui] make What's This? work for sublinks 2022-06-13 02:42:37 +02:00
wmayer
5bad428702 Gui: add function to determine size that a quantity spin box would need to display a certain text 2022-06-12 20:01:41 +02:00
Uwe
c44a15d3d9 [GUI] fix screenshot watermark
as reported here: https://forum.freecadweb.org/viewtopic.php?p=601651#p601651
2022-06-12 18:39:14 +02:00
Yorik van Havre
05301abfcb Merged crowdin translations 2022-06-12 11:56:37 +02:00
VM4Dim
9a4af08b71 Fix for non-Latin Group name in Tree View 2022-06-11 15:24:25 -04:00
Yorik van Havre
3af0623431 Merged crowdin translations 2022-06-10 11:03:57 +02:00
Yorik van Havre
6aaa94d2f2 Updated ts files 2022-06-10 10:29:18 +02:00
Yorik van Havre
56264248eb Merged crowdin translations 2022-06-09 13:40:35 +02:00
wmayer
3057abfae9 Gui: use expresion 'keyboard shortcut' to avoid incorrect translation 2022-06-09 13:15:41 +02:00
wmayer
9cd7500d65 Gui: improve German translation 2022-06-09 12:15:29 +02:00
marioalexis
a72d1c7b7d Gui: Improve docstrings in AxisOriginPy.xml 2022-06-08 20:20:57 +02:00
Yorik van Havre
6d479e6cda Generated ts files 2022-06-08 12:32:59 +02:00
Yorik van Havre
d2f8b7d4e3 Merged crowdin translations 2022-06-08 12:28:54 +02:00
Uwe
a58514b260 [Gui] attempt to improve NaviCube rendering
When the NaviCube is relatively small, it looks clumsy on some screens. This PR tries to improve that.
2022-06-08 01:06:15 +02:00
Chris Hennes
c3ded1a6b0 GUI: Add Vtk info to copied About data 2022-06-07 12:51:51 -05:00
wmayer
b9db257558 Gui: add SoColorBarLabel as workaround for a Coin3D bug 2022-06-07 19:42:04 +02:00
Yorik van Havre
80982cf87b Merged crowdin translations 2022-06-07 13:34:53 +02:00
Kuzemko Alexsandr
80967344c5 Crowdin Run update.ts with latest source code. 2022-06-07 13:15:44 +03:00
wmayer
17394632f6 Gui: don't use cached value of color bar width if ratio of the canvas is less than 1.0 2022-06-07 11:30:00 +02:00
wmayer
9fd10e72d2 Gui: cache color bar width to avoid to compute it for every resize of the canvas 2022-06-06 19:11:00 +02:00
Yorik van Havre
1488714a0f Merged crowdin translations 2022-06-03 11:26:35 +02:00
Chris Hennes
2c6dcd960e i18n: Update TS files to ensure Python files are included 2022-06-02 14:57:49 -05:00
Chris Hennes
861233e7f2 i18n: TS files generated by lupdate 6.4.0dev 2022-06-02 13:41:37 -05:00
Chris Hennes
afffaf467f Gui: Fix typo 2022-06-02 10:29:14 -05:00
Chris Hennes
cc1315dae1 Gui: Fix display of tooltips for GroupCommand
Fixes https://github.com/FreeCAD/FreeCAD-translations/issues/88 and https://github.com/FreeCAD/FreeCAD-translations/issues/72
2022-06-01 14:21:17 -05:00
Yorik van Havre
9d4ae629a3 Merged crowdin translations 2022-05-31 13:31:52 +02:00