Commit Graph

335 Commits

Author SHA1 Message Date
forbes
b7fdccc99a Update submodules: Silo auth integration, ZTools, GSL, AddonManager, googletest 2026-01-31 19:13:47 -06:00
Louis Gombert
cbb15dc453 Smesh: patch other VTK UG deprecations 2026-01-15 08:55:18 +01:00
Louis Gombert
b19cf715f0 smesh: update for VTK 9.6 Types array
UG::Types is now a vtkDataArray, that should be accessed through GetCellType
2026-01-15 08:55:18 +01:00
Louis Gombert
168c0bc530 smesh: update for VTK 9.4 polyhedron rework
Implement new compactGrid method based on the upstream smesh version. The compatibility layer was removed for VTK 9.6.
2026-01-15 08:55:18 +01:00
Louis Gombert
e21d98204e Remove usages of non thread-safe vtkUnstructuredGrid::GetFaceStream
This overload was deprecated in VTK 9.4 and removed in VTK 9.6. Replace with with the thread-safe version, that was already present in VTK 9.1
2026-01-15 08:55:18 +01:00
Louis Gombert
79892adfa7 Standardize VTK version check pre-processing directives
Check for the build date of the exact introduction of the feature instead of the next tagged version
2026-01-15 08:55:18 +01:00
Louis Gombert
c5a14ec998 Smesh: Remove the VTK_CELL_ARRAY_V2 compatibility define
This define was introduced in 9.0 for compatiblity with vtk 8.X, and removed for VTK 9.6. As we now support VTK>=9.1, it is not necessary to keep it.
2026-01-15 08:55:18 +01:00
tritao
40a9f46d71 Base: Remove Boost-based signals and switch to FastSignals. 2026-01-07 21:16:16 +00:00
Joao Matos
15ef35ab9a FastSignals: Remove custom C++17 and libc++ build flags. 2026-01-07 15:22:40 +00:00
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