Commit Graph

42650 Commits

Author SHA1 Message Date
WandererFan
f86bc82709 Update src/Mod/TechDraw/Gui/ViewProviderPage.cpp
Co-authored-by: Benjamin Bræstrup Sayoc <benj5378@outlook.com>
2025-02-23 09:15:47 -05:00
WandererFan
bae98e071d Update src/Mod/TechDraw/Gui/ViewProviderPage.cpp
Co-authored-by: Benjamin Bræstrup Sayoc <benj5378@outlook.com>
2025-02-23 09:15:47 -05:00
wandererfan
8e868c3c1f [TD]lint removal 2025-02-23 09:15:47 -05:00
wandererfan
1a7ed84278 [TD]fix maximize tab on view insertion 2025-02-23 09:15:47 -05:00
WandererFan
0c7245dba2 Update src/Mod/TechDraw/Gui/QGIViewDimension.cpp
Co-authored-by: Benjamin Bræstrup Sayoc <benj5378@outlook.com>
2025-02-23 09:14:23 -05:00
wandererfan
d5317ead9e [TD]fix bad formatting 2025-02-23 09:14:23 -05:00
WandererFan
0026766183 Update src/Mod/TechDraw/Gui/QGIViewDimension.cpp
Co-authored-by: Benjamin Bræstrup Sayoc <benj5378@outlook.com>
2025-02-23 09:14:23 -05:00
WandererFan
713e6e6462 Update src/Mod/TechDraw/Gui/QGIViewDimension.cpp
Co-authored-by: Benjamin Bræstrup Sayoc <benj5378@outlook.com>
2025-02-23 09:14:23 -05:00
wandererfan
ae38fb51e2 [TD]lint removal 2025-02-23 09:14:23 -05:00
wandererfan
9ee3bd5629 {TD]Set Arrow end property at Dimension level. 2025-02-23 09:14:23 -05:00
Chris Hennes
38f9fecaf6 CMake: Correct formatting to match existing 2025-02-22 20:48:44 -06:00
Chris Hennes
86e8355478 CAM: Remove C++14 workaround for boost 2025-02-22 20:48:44 -06:00
Chris Hennes
99b088e94e Mesh: Remove explicit C++17 requirement 2025-02-22 20:48:44 -06:00
Chris Hennes
2064703154 CMake: Remove support for old CMake versions 2025-02-22 20:48:44 -06:00
Chris Hennes
0d46a72396 CMake: Add policy 0177 to normalize install paths
Also sort policies by number.
2025-02-22 20:48:44 -06:00
Chris Hennes
3b5f560975 CI: Update LibPack version in action
Also requires deleting the cached copy.
2025-02-22 20:48:44 -06:00
Chris Hennes
20e4d25d70 CMake: Adopt policy CMP0144
All-uppercase find_package()
2025-02-22 20:48:44 -06:00
Chris Hennes
b46aa342e4 CMake: Correct use of CACHE 2025-02-22 20:48:44 -06:00
Chris Hennes
ac77cd779e CMake: PySide cleanup 2025-02-22 20:48:44 -06:00
Chris Hennes
e25efd4fb9 CMake: Expand note about BOOST_PP_VARIADICS=1 2025-02-22 20:48:43 -06:00
Chris Hennes
699e1bd463 Gui: Change variable name import->importCommand
import is a reserved word in c++latest
2025-02-22 20:48:43 -06:00
Chris Hennes
84b3f39785 CMake: Set CMP0153 to NEW 2025-02-22 20:48:43 -06:00
Chris Hennes
d127610ccf CMake: Add details about why CMP0148 is needed 2025-02-22 20:48:43 -06:00
Chris Hennes
87ce62f8ac CMake: Update compiler and standard mins 2025-02-22 20:48:43 -06:00
Chris Hennes
16ac5f0a50 CMake: Remove old policy 0072 2025-02-22 20:48:43 -06:00
Chris Hennes
7a4e20e7f7 CMake: Add policy CMP0175 2025-02-22 20:48:43 -06:00
bofdahof
62415907ee current src path no longer required 2025-02-22 20:48:30 -06:00
Jacob Oursland
9af828d15a CMake: Remove unsupported DEPENDS args to CMake macros. 2025-02-22 20:41:15 -06:00
tritao
9c0b95b569 Gui: Split SelectionObserverPython call logic into separate handler class. 2025-02-23 00:05:23 +00:00
Benjamin Nauck
78a1a81661 Spreadsheet: Move "arrange" and "act" to the tests 2025-02-22 20:04:46 +01:00
bofdahof
d1e5c3340e Response to code review 2025-02-22 20:04:46 +01:00
bofdahof
0f362ebcfe break down some large tests into single-assert tests
More still to do
2025-02-22 20:04:46 +01:00
Chris Hennes
f92fcbd089 Addon Manager: Fix pip usage on Snap and Appimage 2025-02-22 12:02:06 -06:00
GHDE
f494c2059b fixed openExternalLinks in DlbAbout (FreeCAD#16423) 2025-02-22 12:00:39 -06:00
marioalexis
5042b94463 Fem: Add metadata info to blocks 2025-02-22 14:46:50 -03:00
marioalexis
e84eb920dc Fem: Add frd format converter to VTK 2025-02-22 14:46:50 -03:00
Andrea
f001b8a10a update conda
switch to last 24 version
fix:
https://github.com/conda/conda-libmamba-solver/releases
2025-02-22 17:37:24 +01:00
Bas Ruigrok
ad84f57ceb Gui: Accumulate orientation for NaviCube flat button animations 2025-02-21 21:57:00 +01:00
Bas Ruigrok
0d1e41ee5c Gui: Return animation from setCameraOrientation and translateCamera 2025-02-21 21:57:00 +01:00
Colin Rawlings
f74efa319c Add check that the solid_name is valid
Avoid errors when hovering on the menu's label
2025-02-21 14:22:40 -06:00
bofdahof
34639e777d Remove OpenCascade Community Edition 2025-02-21 14:21:21 -06:00
Chris Hennes
574579196b Merge pull request #19660 from adrianinsaval/fix-spnav-regression
Fix spnav not enabled by default on linux after #19226 and #19407
2025-02-21 14:20:55 -06:00
bofdahof
b73a403ab0 Remove second vtk listing. See #19607 2025-02-21 14:18:10 -06:00
Chris Hennes
6fedb9da7d Merge pull request #19739 from kadet1090/is-null-or-empty
Base: Add isNullOrEmpty string helper
2025-02-21 13:49:10 -06:00
Chris Hennes
318d6e1555 Base: Stop exception from leaking from Console().*
These are sometimes used in destructors, where a raised exception calls terminate()
2025-02-21 10:56:41 -06:00
tritao
8ba573712c Tools: Introduce a Python-based API bindings template generator.
This extends the existing XML-based template generator to allow an
additional kind of Python-based input.

The Python code is read as source code to an AST to a typed model
equivalent to the existing XML model, and processed by the existing
code templates into compatible code.

This provides a few benefits, namely readability is much increased,
but more importantly, it allows associating the APIs with Python's new
typing information, which will allow to provide accurate type hinting
without additional downstream processing in the future.

Right now this is just a proof-of-concept but if the approach is
well received, then a more complete implementation can be done with
further conversion of existing binding files.

Here is an example of how it looks, though I still think the metadata
is too verbose and can be made to look nicer with some further work.

```python
from ..Base.Metadata import metadata
from ..Base.Persistence import PersistencePy
from typing import Any, Optional, List

@metadata(
    Father="PersistencePy",
    Name="DocumentPy",
    Twin="Document",
    TwinPointer="Document",
    Include="Gui/Document.h",
    Namespace="Gui",
    FatherInclude="Base/PersistencePy.h",
    FatherNamespace="Base"
)
class DocumentPy(PersistencePy):
    """
    This is a Document class.

    Author: Werner Mayer (wmayer@users.sourceforge.net)
    Licence: LGPL
    """

    def __init__(self, *args: Any, **kwargs: Any) -> None:
        """
        Constructor for DocumentPy.
        """
        super(DocumentPy, self).__init__(*args, **kwargs)
        pass

    def show(self, objName: str) -> None:
        """
        show(objName) -> None

        Show an object.

        Parameters:
            objName (str): Name of the `Gui.ViewProvider` to show.
        """
        pass
```
2025-02-21 16:32:13 +00:00
Joao Matos
b67ab979af CMake: Update minimum Python version to 3.10 2025-02-21 09:45:13 -06:00
Kacper Donat
7a067ed464 Update src/App/Application.cpp
Co-authored-by: Benjamin Nauck <benjamin@nauck.se>
2025-02-21 15:04:43 +01:00
Kacper Donat
12a69fe296 Base: Add isNullOrEmpty string helper
This adds isNullOrEmpty string helper that cheks if string is... well
null or empty. It is done to improve readability of the code and better
express intent.
2025-02-21 15:04:43 +01:00
tritao
8bb8a36012 Tools: Add documentation for the Python-based bindings system. 2025-02-21 13:18:36 +00:00