Commit Graph

326 Commits

Author SHA1 Message Date
Joao Matos
85e85db7ea FastSignals: Fix Clang Tidy issues. 2026-01-07 15:22:40 +00:00
Joao Matos
855979acd5 FastSignals: Replace ATOMIC_VAR_INIT usages with C++ 20 brace init.
Fixes the following issue:

```
Warning:
/Users/runner/work/FreeCAD/FreeCAD/src/3rdParty/FastSignals/libfastsignals/include/fastsignals/connection.h:76:32:
warning: macro 'ATOMIC_VAR_INIT' has been marked as deprecated
[-Wdeprecated-pragma]
   76 |         std::atomic<bool> m_blocked = ATOMIC_VAR_INIT(false);
      |                                       ^
```
2026-01-07 15:22:40 +00:00
Joao Matos
a38cf760b4 FastSignals: Fix stress tests. 2026-01-07 15:22:40 +00:00
Joao Matos
81cdadcff3 FastSignals: Build as static library by default. 2026-01-07 15:22:40 +00:00
Joao Matos
278289f5aa FastSignals: Silence warning. 2026-01-07 15:22:40 +00:00
Joao Matos
f6d89cb196 FastSignals: Remove MSVC autolinking. 2026-01-07 15:22:40 +00:00
Joao Matos
6930e0ac03 FastSignals: Normalize namespace to fastsignals. 2026-01-07 15:22:40 +00:00
Joao Matos
052a898b91 FastSignals: Update Catch2 to latest v2 version. 2026-01-07 15:22:40 +00:00
Joao Matos
685ee30b1a FastSignals: Add missing <cstdef> include. 2026-01-07 15:22:40 +00:00
Joao Matos
59167e1295 FastSignals: Reorganize include and src folder. 2026-01-07 15:22:40 +00:00
Joao Matos
7cd90afe56 FastSignals: Normalize CMake files. 2026-01-07 15:22:40 +00:00
Joao Matos
b3c7729784 FastSignals: Remove unused build files. 2026-01-07 15:22:40 +00:00
Joao Matos
3a3e8e5e05 3rdParty: Add FastSignals library. 2026-01-07 15:22:40 +00:00
mosfet80
f8486e27ed Updated submodule src/3rdParty/GSL 2025-10-28 02:45:42 +01:00
mosfet80
a5a7cc5b7e Updated submodule src/3rdParty/OndselSolver 2025-10-28 02:45:33 +01:00
Petter Reinholdtsen
eb48c2f49a Fixed inconsistent return types between several salomemesh methods and propotypes.
The prototypes in the header file did not match the implementation in the
C source.

These issues were discovered when enabling link time optimization.  There are
more LTO issues left to fix before it can be enabled, but these involve
mixing a C++ class and a pointer to floating point values and is a lot
more intrusive to fix.

This change is related to issue #13173, bringing LTO one step closer.
2025-10-20 11:09:56 -05:00
sliptonic
446c171eef Merge pull request #24177 from chennes/migrateLibE57ToSubtree
Migrate libE57Format to subtree
2025-10-06 10:56:18 -05:00
Chris Hennes
98cf59c281 Merge pull request #24240 from mrpilot2/cmake_pch_mods_part_2
Mods: use CMake to generate precompiled headers on all platforms
2025-09-26 09:46:26 -05:00
Markus Reitböck
65d4088c9e cleanup remaining implementations of precompiled headers 2025-09-24 20:08:57 +02:00
Chris Hennes
7740eecade libE57Format: Check for IPO before enabling 2025-09-23 17:46:18 -05:00
Chris Hennes
3b6623dc6f libE57Format: Remove gtest submodule 2025-09-23 16:20:44 -05:00
Chris Hennes
4056448e67 libE57Format: Accumulated FreeCAD changes before subtree 2025-09-23 14:50:19 -05:00
Chris Hennes
d5906d4165 Merge commit '82927817b878295060edd8fc57b3e384404dc277' as 'src/3rdParty/libE57Format' 2025-09-23 14:20:50 -05:00
Chris Hennes
fd7708f656 3rdParty: Remove original libE57Format 2025-09-23 14:17:47 -05:00
wmayer
014d646065 Py3.13: Disable Py_UNICODE support in PyCXX 2025-09-10 08:49:30 +02:00
Jacob Oursland
016c7d884e Assembly: Update OndselSolver to the latest version. 2025-08-30 15:12:07 -05:00
Pieter Hijma
458ae85be1 Assembly: Update Ondsel Solver to the latest 2025-08-27 11:37:30 +02:00
paddle
0805164677 Update ondsel solver 2025-08-25 13:08:30 -05:00
wmayer
7f3c230814 Py3.13: Update PyCXX to version 7.1.11 2025-08-09 00:36:56 +02:00
Jakub Klinkovský
21a2ee8238 Use vtkUnstructuredGrid::GetLinks instead of vtkUnstructuredGrid::GetCellLinks for VTK >= 9.3
The vtkUnstructuredGrid::GetCellLinks has been deprecated in VTK 9.3 and
silently removed in 9.5:

https://gitlab.kitware.com/vtk/vtk/-/blob/master/Documentation/release/9.3.md
2025-06-29 10:37:27 -05:00
Furgo
267c957a7d 3rdParty: avoid warnings from libE57Format (#21818)
* 3rdParty: avoid warnings from libE57Format

* Suppress all warnings from libE57Format

* Fix typo in original file
2025-06-16 10:39:12 -05:00
David Carter
58cc0014e1 Dependencies: Add lru-cache library
Adds a generic C++ based caching library to support material external
modules. This is a template based library which means there is nothing
to build or link.

The only modification is to the CMakeLists.txt file to enable
integration with FreeCAD,

Original source: https://github.com/goldsborough/lru-cache
2025-04-14 11:00:05 -05:00
Chris Hennes
62b0e6eb4f CMake: Allow external libE57Format 2025-04-01 07:55:25 +02:00
Andrea
6c58696658 update libkdtree
switch to version 0.7.4
fix for a compiler warning inkdtree++/region.hpp
fixes of warnings, latest c++ standard compatibility.

.
2025-03-31 11:05:09 -05:00
Pieter Hijma
3ac1c3a3de [Doc] Fix nested comment problem 2025-03-24 16:33:54 +01:00
Chris Hennes
836dd843a4 Merge pull request #20114 from mosfet80/CleanShibokenCmake
Clean Salome Cmake
2025-03-17 00:01:33 -05:00
Chris Hennes
44908ad721 Merge pull request #19428 from tritao/base-tracy-profiler
Base: Add Tracy frame profiling support.
2025-03-14 04:12:05 +00:00
Joao Matos
0feab195ac Base: Add build support and instrumentation for the Tracy profiler. 2025-03-14 03:41:30 +00:00
Andrea
7f17bc3dc4 Update GSL
switch to version 4.2.0
https://github.com/microsoft/GSL/releases/tag/v4.2.0
2025-03-13 12:16:36 +01:00
Andrea
74f3fc82ee Clean Salome Cmake
clean cmake
2025-03-10 22:13:56 +01:00
Chris Hennes
f5060aa2a5 Spacemouse: Add #include <chrono> 2025-02-26 21:21:58 -06:00
mosfet80
242ec4aee2 3rd party: Updated json lib (#19617)
Serialize empty tuple into '[]'
Optimize binary get_number implementation by reading multiple bytes at once
fix: integer parsed as float when EINTR set in errno
2025-02-24 10:53:47 -06:00
Joao Matos
15076cb504 Core: Move PyCXX library to src/3rdParty. 2025-02-24 16:36:06 +00:00
Joao Matos
aace8f7bee CMake: Modernize build files using outdated Python variables. 2025-02-16 10:21:26 -06:00
tritao
80b299bb88 Base: Move zipios library to 3rdParty folder. 2025-02-14 13:08:28 -06:00
tritao
f7a0cece08 Base: Remove Boost-based filesystem and switch to standard <filesystem> 2025-02-10 10:48:54 -06:00
Benjamin Nauck
74573818f0 Update ondselsolver 2025-01-30 15:50:38 +01:00
Tobias Frost
460da406f8 spelling fixes (#18688)
* Fixes spelling of "Allow to" to "Allow one to"

and those variants:
Allows to -> Allows one to
allow to -> allow one to
allows to -> allows one to

* Fix "Let's -> Lets"

(and lower case variant.)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update src/3rdParty/salomesmesh/inc/MED_Wrapper.hxx

Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>

* Update src/Base/PyObjectBase.cpp
Update src/App/ExtensionContainer.h
Update src/App/PropertyContainer.h

Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>

* Use gerund in user-facing texts.

* Use gerund for two more user-facing strings.

Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>

* Update src/Mod/Fem/App/FemMeshShapeNetgenObject.cpp

Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>

* Update src/Mod/Fem/App/FemMeshShapeNetgenObject.cpp

Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>

* Update src/Mod/Fem/App/FemMeshShapeNetgenObject.cpp

Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>

---------

Co-authored-by: Tobias Frost <tobi@debian.org>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>
2025-01-13 11:22:20 -06:00
wmayer
3c41cf1db4 smesh: Fix build failure with vtk 9.4
Fixes #18423
2024-12-22 09:00:46 -05:00
marioalexis
4c492621fc CMake: Decouple internal SMESH build from Fem build - fixes #18287 2024-12-09 12:09:30 -05:00