Commit Graph

25 Commits

Author SHA1 Message Date
Markus Reitböck
4bc92384b7 Inspection: 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-23 22:39:35 +02:00
Benjamin Nauck
1aeb594c80 Inspection: Add #include <limits> where used 2025-03-31 23:51:38 +02:00
Benjamin Nauck
eb69b72a2b Inspection: Use std::numeric_limits and std::numbers instead of defines 2025-03-29 13:32:38 +01:00
pre-commit-ci[bot]
222a2520b1 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-09-12 13:02:35 -04:00
wmayer
ea116dc033 Inspection: apply clang format 2023-09-02 00:59:42 +02:00
wmayer
edb477a795 Inspection: modernize C++: use equals default 2023-08-21 15:06:40 +02:00
wmayer
2ceb6edfe5 Inspection: modernize C++: use range-based for loop 2023-08-15 08:37:17 +02:00
wmayer
70061abf77 Inspection: move to new style connect() 2023-01-13 15:57:18 +01:00
Uwe
967cc57350 [Inspection] remove unused includes
- also some sorting
2022-11-29 03:34:22 +01:00
marioalexis
d239f94c3f Inspection: Replace C cast 2022-09-18 11:06:51 -05:00
berniev
6953310116 Mod: Single arg ctors must be explicit 2022-08-24 16:55:20 +02:00
berniev
ddafb98813 Mod: Use override etc 2 2022-08-09 12:52:26 +02:00
wmayer
98b69b8fb9 Inspection: modernize C++11
* use nullptr
2022-03-23 19:26:15 +01:00
Uwe
d41f55f382 [Inspection] remove unused headers and Xerces
- also sort our some includes to PreCompiled.h
2022-03-20 22:17:34 +01:00
luz paz
c801c8ff65 Inspection: Issue #0004473: Expose openCommand() to translation
Continuing the work to expose the undo/redo functionality to translation. This commit does so for the Inspection Wb.  
Ticket: https://tracker.freecadweb.org/view.php?id=4473
2020-12-01 14:53:35 +01:00
wmayer
18cc6c1851 remove method Application::runCommand 2016-09-15 19:39:16 +02:00
wmayer
2710d276df + fix build failure with gcc 2016-02-29 19:36:22 +01:00
wmayer
5574419293 + set range for quantity boxes 2016-02-29 12:29:02 +01:00
wmayer
f868120a77 + use quantity boxes in inspection dialog 2016-02-27 19:07:29 +01:00
Mateusz Skowroński
3b463f2138 Qt::WFlags is obsolete in Qt5. Replace it with Qt::WindowFlags.
This change is Qt4/Qt5 neutral.
2016-01-05 16:07:58 +01:00
Mateusz Skowroński
cd2db00f22 QString::fromAscii() is obsolete in Qt5. Replace it with fromLatin1().
This change is Qt4/Qt5 neutral.
2016-01-05 16:07:25 +01:00
Mateusz Skowroński
d5c074f80d QString::toAscii() is obsolete in Qt5. Replace it with toLatin1().
This change is Qt4/Qt5 neutral.
2016-01-05 16:06:48 +01:00
wmayer
1f478269af + use dialog button box where possible, replace old Python icon 2014-03-08 15:17:56 +01:00
wmayer
fb994e204c + fixes #0000854: Ability to change number of digits to the right of decimal place in spinboxes 2014-02-16 18:02:09 +01: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