pre-commit-ci[bot]
25c3ba7338
All: Reformat according to new standard
2025-11-11 13:49:01 +01:00
Markus Reitböck
6ef07bb358
Gui: use CMake to generate precompiled headers on all platforms
...
"Professional CMake" book suggest the following:
"Targets should build successfully with or without compiler support for precompiled headers. It
should be considered an optimization, not a requirement. In particular, do not explicitly include a
precompile header (e.g. stdafx.h) in the source code, let CMake force-include an automatically
generated precompile header on the compiler command line instead. This is more portable across
the major compilers and is likely to be easier to maintain. It will also avoid warnings being
generated from certain code checking tools like iwyu (include what you use)."
Therefore, removed the "#include <PreCompiled.h>" from sources, also
there is no need for the "#ifdef _PreComp_" anymore
2025-09-14 09:47:03 +02:00
xtemp09
f20c1a0102
Simplify repr() function
2025-08-25 10:38:39 -05:00
bofdahof
998f4e4d45
Console: rename PascalCase named methods to camelCase
2025-05-06 17:50:21 +02:00
mos
c70a7933e6
Removed old Python code <3.10
2025-03-07 16:34:08 -06:00
wmayer
5a153e50ff
Gui: modernize C++: use default member init
2023-08-23 19:51:44 +02:00
wmayer
c016f1c1fb
Gui: modernize C++: use equals default
2023-08-20 18:12:43 +02:00
wmayer
54bb9c9c62
Gui: modernize C++: return braced init list
2023-08-18 00:36:24 +02:00
wmayer
2725c3a54f
Gui: modernize C++: use range-based for loop
2023-08-14 19:42:18 +02:00
mosfet80
3137dea940
remove Python2 code
2023-03-04 17:51:43 -06:00
wmayer
2e5cb03261
Gui: move to new style connect()
2023-02-01 13:49:35 +01:00
berniev
75acacd1b7
Gui: Use auto and range-based for ( #7481 )
...
* On lines where the variable type is obvious from inspection, avoid repeating the type using auto.
* When possible use a ranged for loop instead of begin() and end() iterators
2022-09-14 13:25:13 -05:00
berniev
0c70d45c83
Gui: Use override etc 2
2022-08-09 12:43:23 +02:00
berniev
656ef8961f
Gui: redundant void 2
2022-08-08 10:21:44 +02:00
Uwe
1d95c26e2e
[Gui] remove more superfluous nullptr checks
2022-07-18 03:34:22 +02:00
wmayer
1ae55905ba
Py: make FreeCAD to compile with Py3.11
2022-07-01 17:54:50 +02:00
wmayer
d5921e08ec
fix (Qt) issues found by clang's clazy tool:
...
+ -Wclazy-incorrect-emit
+ -Wclazy-strict-iterators
+ -Wclazy-overloaded-signal
+ -Wclazy-qstring-arg
+ -Wclazy-unused-non-trivial-variable
+ -Wclazy-container-anti-pattern
+ -Wclazy-range-loop-reference
+ -Wclazy-const-signal-or-slot
+ -Wclazy-detaching-temporary
+ -Wclazy-qfileinfo-exists
2022-06-29 21:00:54 +02:00
Zheng, Lei
3ef438eaf0
Fix mixed line endings
2022-04-26 12:52:55 -05:00
Chris Hennes
bedf920702
Gui: PR6497 move return statement to new line
2022-03-29 12:33:50 -05:00
wmayer
96adb98f46
Gui: modernize C++11
...
* use nullptr
2022-03-23 18:41:21 +01:00
wmayer
0054cbddaa
Fix coverity issue:
...
* CID 332682: Resource leak
* CID 350607: Resource leak
* CID 332677: Resource leak
2022-03-14 11:35:04 +01:00
Uwe
a55d1b03fd
[Gui] Python and Property: remove unused includes
2022-03-05 03:44:45 +01:00
luz paz
6a7184139d
Gui: remove Py2 code from several src/Gui .cpp files
2021-04-14 14:56:02 +02:00
luz paz
298c677873
Gui: Fix header uniformity, whitespace, and doxygen fixes
2020-11-26 10:14:56 +01:00
Yorik van Havre
aa3f9288d6
py3: Gui: files A-P ported to python3
2017-05-06 17:23:27 +02:00
wmayer
f19d424d8b
fix -Wextra in FreeCADGui
2016-09-21 20:54:52 +02:00
wmayer
0824c5fd3c
fix Coverity issues
2016-08-21 14:03:02 +02:00
wmayer
f7644fc9f3
+ issue #0002053 : Support of themes
2015-07-12 22:54:56 +02:00
wmayer
1f478269af
+ use dialog button box where possible, replace old Python icon
2014-03-08 15:17:56 +01:00
wmayer
7f874b9767
+ cppcheck fixes
2013-09-20 21:00:45 +02:00
wmayer
90418ab968
Fixes on built-in Python debugger
2012-12-29 17:07:02 +01:00
wmayer
1e38a6d606
0000863: segfault in ~PythonDebuggerP()
2012-11-03 15:36:58 +01:00
wmayer
7862fb29c7
Change destruction order of PyObjects
2012-11-01 20:52:43 +01:00
wmayer
1884ee3881
0000528: Need a way to reset the Python instance
...
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5250 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-10 13:42:32 +00:00
wmayer
120ca87015
+ unify DLL export defines to namespace names
...
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5000 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-10-10 13:44:52 +00:00