Commit Graph

3792 Commits

Author SHA1 Message Date
Uwe
e9d8a5da37 [Gui] fix locale issue with InputField
fixes the issue first reported here: https://github.com/FreeCAD/FreeCAD/pull/6364#issuecomment-1072886169

Now, since PR #6364 was merged, we must no longer remove the group separator.

(The issue broke for example the FEM results: https://forum.freecadweb.org/viewtopic.php?p=582524#p582524.)
2022-03-25 22:09:43 +01:00
Yorik van Havre
cea8c31836 Merge pull request #6634 from yorikvanhavre/retire-qassistant-2
Retire qassistant (try 2)
2022-03-24 09:42:33 +01:00
wmayer
d21a60b294 All: modernize C++11
* replace deprecated headers
2022-03-23 22:44:18 +01:00
wmayer
1178df06b4 Gui: modernize C++11
* use nullptr
2022-03-23 18:41:21 +01:00
Yorik van Havre
e8233976ba Qassistant retirement: avoid ref leak 2022-03-23 13:19:46 +01:00
Yorik van Havre
2512fcd7cb Qassistant retirement: Added GIL lock 2022-03-23 12:00:35 +01:00
Yorik van Havre
2a833b46c8 Merge branch 'master' of github.com:FreeCAD/FreeCAD 2022-03-23 10:51:15 +01:00
Yorik van Havre
1563822763 Translations: Merged crowdin strings 2022-03-23 10:37:50 +01:00
wmayer
54342101af Gui: remove all leftovers of iisTaskPanel 2022-03-23 10:37:28 +01:00
wmayer
6a450f2c49 Gui: [skip ci] do not include Inventor/SbByteBuffer.h for older Coin3D versions 2022-03-22 10:36:03 +01:00
wmayer
b1aa7cdad4 Gui: fix build failure with older Coin3D versions 2022-03-21 19:59:03 +01:00
Uwe
30cde82d30 [Doc] update weblinks
- link Freetype license
2022-03-21 17:59:49 +01:00
Yorik van Havre
5ecda50d07 Retiring qtassistant : Added Werner's fixes 2022-03-21 13:27:27 +01:00
Yorik van Havre
736027d509 Gui: Disable use of qassistant
Displaying of help pages is now handled by the Help addon.
In case the Help addon is not installed, an info message is shown.
2022-03-21 13:26:58 +01:00
Uwe
3b001d75c0 [Gui] remove Python.h from PreCompiled.h
tested with PCH and it seems it is really not necessary. python.h is only used n one header in [Gui] and not relevant for PCH
2022-03-21 13:26:56 +01:00
wmayer
1a62c2024d lgtm: removes unused imports in Python scripts 2022-03-20 23:00:55 +01:00
wmayer
e28f2a0c47 Qt: remove some more leftovers of Qt4 2022-03-19 23:27:28 +01:00
andrea reale
83d3a916c0 remove QT4 references 2022-03-19 23:07:38 +01:00
wmayer
02ac1508ff App/Gui: make operator-> operator of WeakPtrT constant 2022-03-19 15:35:58 +01:00
Uwe
7fd34d0c8e [Gui] remove iisTaskPanel
as discussed here, it can be removed: https://forum.freecadweb.org/viewtopic.php?p=577413#p577413
2022-03-18 01:14:53 +01:00
Uwe
713151df03 [Gui] only include the actually used inventor files 2022-03-17 21:12:19 +01:00
Uwe
29ccaee7fd [Gui] NavigationStyle: only include the actually used inventor files 2022-03-17 20:54:30 +01:00
Uwe
ca40cec068 [Gui] add a necessary debug header
as reported: 2a49e389b2 (r68944028)
2022-03-17 20:30:25 +01:00
Uwe
276a8f7e24 [Gui] add 2 includes necessary for debug builds
- as reported: https://github.com/FreeCAD/FreeCAD/commit/2a49e389b2 this is necessary e.g. on Manjaro
2022-03-17 18:23:18 +01:00
0penBrain
4235db97d0 Gui: fix hot change of locale for QuantitySpinBox 2022-03-17 16:46:01 +01:00
0penBrain
f043cb5ca5 Gui: add preference to use selected language number formatting, fixes #6330
If not enabled (default), will defaults to C/POSIX formatting
2022-03-17 16:46:01 +01:00
wmayer
e4d1ed8366 Base: rename BaseExceptionFreeCADError to PyExc_FC_GeneralError 2022-03-17 14:45:48 +01:00
wmayer
1f12dca2b4 Py: replace BaseExceptionFreeCADError with more suitable exception types 2022-03-17 13:54:23 +01:00
Uwe
c3e084c856 [Gui] DlgSettingsUnitsImp: add an include, compile fix 2022-03-17 00:34:07 +01:00
Uwe
b066b17c6d [Gui] Splashscreen: remove unused includes 2022-03-17 00:23:20 +01:00
Uwe
5353cff196 [Gui] DlgSettings etc.: remove unused includes 2022-03-17 00:17:32 +01:00
Uwe
70decbebf5 [Gui] DlgMacro etc.: remove unused includes 2022-03-16 23:41:14 +01:00
Uwe
b7a6c51cdb [Gui] DlgEditor etc.: remove unused includes 2022-03-16 22:57:13 +01:00
wmayer
75da888bc5 Gui: fixes #6583: FreeCAD 0.20 crashes when attempting to change template in TechDraw
For more details see also: https://forum.freecadweb.org/viewtopic.php?p=579530#p579530
2022-03-16 08:47:56 +01:00
Uwe
4e619ee4d7 [Gui] DlgWorkbenches etc.: remove unused includes and sort headers 2022-03-16 04:28:13 +01:00
Uwe
11f6f693f2 [Gui] DlgActions etc.: remove unused includes and sort headers 2022-03-16 04:06:37 +01:00
Uwe
6953a4eef4 [Gui] a compile fix for precompiled headers
- also some sorting
2022-03-16 03:20:52 +01:00
Uwe
cbfe4d2594 [Gui] SoFCSelectionContext: add missing header 2022-03-16 02:16:15 +01:00
Uwe
99191c6679 [Gui] So headers: remove unused includes
- also sort out some headers to be used in precompiled headers
- also move a boost header to precompiled headers
2022-03-16 02:01:32 +01:00
wmayer
e9227e86e1 Gui: replace handling of C array/malloc/free in SoFCDB with std::vector 2022-03-14 20:17:28 +01:00
wmayer
aaa41bf919 Gui: [skip ci] change include order to avoid warnings with MSVC
* QtGui/qopenglext.h(11119,1): warning C4005: 'GL_OFFSET_TEXTURE_2D_MATRIX_NV': macro redefinition
* QtGui/qopenglext.h(11120,1): warning C4005: 'GL_OFFSET_TEXTURE_2D_SCALE_NV': macro redefinition
* QtGui/qopenglext.h(11121,1): warning C4005: 'GL_OFFSET_TEXTURE_2D_BIAS_NV': macro redefinition
2022-03-14 15:24:10 +01:00
Uwe
66dd0f62a5 [Gui] So headers: remove some unused includes
- also sort out some headers for precompiled headers
2022-03-14 15:13:13 +01:00
Yorik van Havre
a55ee61840 Merged crowdin translations 2022-03-14 12:21:01 +01:00
wmayer
0f9768fb33 Fix coverity issue:
* CID 332682: Resource leak
* CID 350607: Resource leak
* CID 332677: Resource leak
2022-03-14 11:35:04 +01:00
Uwe
05be6352f3 [Gui] UiLoader: fix compiler warning
code by @wwmayer

as discussed here: https://forum.freecadweb.org/viewtopic.php?f=4&t=66137&p=570597
and here: https://forum.freecadweb.org/viewtopic.php?p=578860#p578860
2022-03-13 17:39:50 +01:00
wmayer
b78dc894e1 Core: Fix several coverity issues:
* CID 350582: Big parameter passed by value
* CID 350639: Big parameter passed by value
* CID 305234: Uncaught exception
* CID 316529: Uncaught exception
* CID 350597: Uncaught exception
* CID 350623: Uncaught exception
* CID 332690: Uncaught exception
* CID 332700: Unchecked return value
* CID 350576: Uninitialized scalar field
* CID 350587: Uninitialized scalar variable
* CID 192606: Uninitialized scalar field
* CID 332699: Uninitialized pointer field
* CID 350561: Dereference null return value
* CID 350610: Dereference null return value
* CID 350567: Dereference after null check
2022-03-13 13:53:32 +01:00
Uwe
d0fe16610d [Gui] QSint: remove unused headers 2022-03-13 12:59:11 +01:00
wmayer
5fd93b7d3b Fix several coverity issues:
* CID 350617: Dereference after null check
* CID 350585: Out-of-bounds read
* CID 350624: Resource leak
* CID 332701: Uncaught exception
* CID 350642: Uninitialized scalar field
* CID 350590: Uninitialized scalar field
* CID 350629: Uninitialized scalar variable
* CID 350602: Uninitialized scalar variable
* CID 350564: Uninitialized scalar variable
* CID 350548: Uninitialized scalar variable
2022-03-13 12:12:49 +01:00
Abdullah Tahiri
6397201dc0 Gui: Pass wheel event to viewprovider
=====================================

https://forum.freecadweb.org/viewtopic.php?p=578857#p578857
2022-03-13 11:33:52 +01:00
Uwe
6a4c94148c [Gui] QSint: some sorting of headers 2022-03-12 23:57:14 +01:00