Chris Hennes
b0d4fad05a
Inspection: Fix multiplication result converted to larger type
2025-07-21 22:04:43 -05:00
Max Wilfinger
488bc484b9
Inspection: Update UI strings for consistency
2025-06-30 10:34:19 -05:00
Chris Hennes
f5806841b6
Merge pull request #19907 from benj5378/getAttribute
...
Base: make getAttribute template
2025-05-12 10:39:55 -05:00
Benjamin Bræstrup Sayoc
492b8312b3
Base: make getAttribute template
2025-05-09 15:54:57 +02:00
bofdahof
998f4e4d45
Console: rename PascalCase named methods to camelCase
2025-05-06 17:50:21 +02:00
Benjamin Nauck
eb69b72a2b
Inspection: Use std::numeric_limits and std::numbers instead of defines
2025-03-29 13:32:38 +01:00
tritao
6c2c6847eb
CMake: Cleanup targets with transitive dependencies
2025-03-17 12:12:06 +00:00
Benjamin Bræstrup Sayoc
755229df23
Build: suppress warnings from 3rd party libraries
...
Warnings from 3rd parties are not relevant and are only polluting the warning output. Marking these libraries as SYSTEM suppresses warning.
https://gcc.gnu.org/onlinedocs/cpp/Invocation.html#index-I
https://gcc.gnu.org/onlinedocs/cpp/System-Headers.html
2025-02-25 14:39:05 +00:00
Joao Matos
cc6ffb44de
Core: Move PyCXX library to src/3rdParty.
2025-02-24 16:36:06 +00:00
Joao Matos
27ebc68a11
CMake: Modernize build files using outdated Python variables.
2025-02-16 10:21:26 -06:00
tritao
9636068460
Base: Move zipios library to 3rdParty folder.
2025-02-14 13:08:28 -06:00
wmayer
4185605d5e
clang/gcc: Add build option FREECAD_WARN_ERROR to force to make warnings into errors
2024-05-29 13:37:07 +02:00
wmayer
a79eef0a39
Mesh: remove problematic method MeshGrid::Rebuild(unsigned long, unsigned long)
...
and MeshGrid::CalculateGridLength(unsigned long, unsigned long)
For almost flat meshes CalculateGridLength may compute a grid with a huge amount of cells that allocates the whole RAM of the system while for an exactly flat mesh a grid with a sensible number of cells is computed.
Use the overloaded methods of MeshGrid::Rebuild(unsigned long) and MeshGrid::CalculateGridLength(unsigned long) instead
2024-03-30 00:21:58 +01:00
Florian Foinant-Willig
1a83d18a8f
Inspection: modernize type checking
2023-10-23 18:09:39 +02:00
liukaiwen
4f8fe8fd4a
[cmake] some definitions do not matter build now
2023-09-27 18:17:14 +08: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
8b8f970b27
Inspection: modernize C++: use default member init
2023-08-23 00:55:03 +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
68d22d864b
modernize C++: move from boost::bind to std::bind
2023-08-08 17:36:13 +02:00
wmayer
39e53e5eb0
Mods: modernize C++: redundant void arg
2023-08-05 16:50:31 +02:00
wmayer
70061abf77
Inspection: move to new style connect()
2023-01-13 15:57:18 +01:00
Uwe
ec9b2c0966
[Inspection] enable precompiled headers
2022-12-10 06:08:21 +01:00
Uwe
967cc57350
[Inspection] remove unused includes
...
- also some sorting
2022-11-29 03:34:22 +01:00
wmayer
48aafc3f8b
Inspection: support display of lines, avoid explicit type checks
2022-09-15 11:46:20 +02:00
wmayer
2462f4c7a0
App: move from float to double for accuracy parameter, add a virtual method to determine a default accuracy
2022-09-15 09:52:14 +02:00
wmayer
db7d615cb0
Inspection: [skip ci] code-refactoring
2022-09-14 00:50:32 +02:00
wmayer
061ec7f7b4
Inspection: support of shape with edges only
2022-09-13 17:05:21 +02:00
berniev
6953310116
Mod: Single arg ctors must be explicit
2022-08-24 16:55:20 +02:00
Jonas Bähr
a1776d3e74
Fix build on MacOS-X 10.14: missing Xerces include dir
...
This undoes most of the Xerces related part of the commits listed below.
The issue resolved here is that the Xerces include dir *is* set in the
CMakeLists.txt of src/Base, but it got removed from various App and Gui
dirs in src/Mod. If those now include a header from src/Base, which
itself includes xercesc, the build fails using Apple clang version 11.0.0
(clang-1100.0.33.17) on Mojave, configured using cmake 3.22.1, with
errors like the following:
In file included from .../src/Mod/Part/App/FeaturePartBoolean.cpp:34:
In file included from .../src/App/Application.h:33:
.../src/Base/Parameter.h:54:10: fatal error: 'xercesc/util/XercesDefs.hpp' file not found
#include <xercesc/util/XercesDefs.hpp>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
Finally, a full list of the commits that introduced this spurious include
dir optimization for reference:
- Drawing: commit 96ad045b91
- Image: commit dde71a21d5
- Import: commit c9d28b542f
- Inspection: commit d41f55f382
- Mesh: commit 19072b0538
- Part: commit fe213a48f0
- PartDesign: commit b037d8e240
- Path: commit f23fa31f42
- Points: commit bec723ba17
- Raytracing: commit 08d4ac63a3
- ReverseEnginering: commit 5ca787cb0e
- Robot: commit bad4809a1c
- Sketcher: commit 3c96daf105
- Spreadsheet: commit 66e8a2bef3
- Start: commit c9dee5e70a
- Surface: commit 6b04215be6
- TechDraw: commit 5e6699e48d
- Test: commit ea5b45b92c
- Web: commit ee6d631531
2022-08-24 07:40:04 +02:00
wmayer
2062f9ce87
clang: fix warnings [-Winconsistent-missing-override]
2022-08-09 17:36:25 +02:00
berniev
ddafb98813
Mod: Use override etc 2
2022-08-09 12:52:26 +02:00
berniev
da9ebc572f
Mod: redundant void 2
2022-08-08 10:27:50 +02:00
berniev
b796a0d376
Mod: use empty
2022-08-06 19:30:13 +02:00
mosfet80
620c273c4e
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
wmayer
d16ce3759f
Inspection: include header with export macros
2022-03-24 20:45:03 +01: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
Uwe
24176431fb
[Inspection] remove Python.h from headers
...
is not necessary anymore
2022-03-20 18:09:46 +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
wmayer
58a719e207
Base: move ILogger sub-classes to their own source files in order to reduce including stream classes in client code
2022-03-06 10:13:47 +01:00
wmayer
b0d5afc375
Inspection: [skip ci] do not use multi-threading when Part objects are used for visual inspection
2020-09-08 16:55:35 +02:00
wmayer
f3b460e42e
boost: fix for boost < 1.60
2020-06-15 19:38:39 +02:00
wmayer
4ec45b545e
boost 1.73.0: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated
2020-06-12 17:51:33 +02:00
wmayer
3aba2721d1
gcc: [skip ci] fix -Waddress
2020-06-04 14:56:20 +02:00
Zhang Wei
0bef3cdee4
Patch for MIPS64 Architecture
2020-02-15 19:32:58 +01:00
wmayer
15dea4f89a
Inspection: multi-threaded calculation
2020-01-29 11:55:49 +01:00
wmayer
94280f15ca
Inspection: [skip-ci] const correctness
2020-01-28 19:20:09 +01:00
wmayer
7fe10182a9
[skip ci] fix header uniformity
...
Set a real email address for headers in inspection and surface module
2019-12-21 16:12:54 +01:00