From 99f86bd40a58c4cbe8b1a16595d87329a591df28 Mon Sep 17 00:00:00 2001 From: Ladislav Michl Date: Fri, 25 Apr 2025 08:18:28 +0200 Subject: [PATCH] Base, Gui: remove lefovers from xml -> pyi conversion --- src/Base/AxisPyImp.cpp | 2 +- src/Base/BaseClassPyImp.cpp | 2 +- src/Base/BoundBoxPyImp.cpp | 2 +- src/Base/CMakeLists.txt | 1 - src/Base/MatrixPyImp.cpp | 2 +- src/Base/PersistencePyImp.cpp | 2 +- src/Base/PlacementPyImp.cpp | 2 +- src/Base/QuantityPyImp.cpp | 2 +- src/Base/RotationPyImp.cpp | 2 +- src/Base/UnitPyImp.cpp | 2 +- src/Base/VectorPyImp.cpp | 2 +- src/Gui/CMakeLists.txt | 1 - src/Gui/CommandPyImp.cpp | 2 +- src/Gui/DocumentPyImp.cpp | 2 +- src/Gui/Navigation/NavigationStylePyImp.cpp | 2 +- src/Gui/PythonWorkbenchPyImp.cpp | 2 +- src/Gui/ViewProviderDocumentObjectPyImp.cpp | 2 +- src/Gui/ViewProviderExtensionPyImp.cpp | 2 +- src/Gui/ViewProviderLinkPyImp.cpp | 2 +- src/Gui/ViewProviderPyImp.cpp | 2 +- 20 files changed, 18 insertions(+), 20 deletions(-) diff --git a/src/Base/AxisPyImp.cpp b/src/Base/AxisPyImp.cpp index 9c652ba75b..5290c32a21 100644 --- a/src/Base/AxisPyImp.cpp +++ b/src/Base/AxisPyImp.cpp @@ -24,7 +24,7 @@ #include "GeometryPyCXX.h" -// inclusion of the generated files (generated out of AxisPy.xml) +// inclusion of the generated files (generated out of AxisPy.pyi) #include "AxisPy.h" #include "AxisPy.cpp" diff --git a/src/Base/BaseClassPyImp.cpp b/src/Base/BaseClassPyImp.cpp index 417011f367..5b303f29c6 100644 --- a/src/Base/BaseClassPyImp.cpp +++ b/src/Base/BaseClassPyImp.cpp @@ -23,7 +23,7 @@ #include "PreCompiled.h" -// inclusion of the generated files (generated out of BaseClassPy.xml) +// inclusion of the generated files (generated out of BaseClassPy.pyi) #include "BaseClassPy.h" #include "BaseClassPy.cpp" diff --git a/src/Base/BoundBoxPyImp.cpp b/src/Base/BoundBoxPyImp.cpp index 1cae952037..4828b15a6f 100644 --- a/src/Base/BoundBoxPyImp.cpp +++ b/src/Base/BoundBoxPyImp.cpp @@ -23,7 +23,7 @@ #include "PreCompiled.h" -// inclusion of the generated files (generated out of BoundBoxPy.xml) +// inclusion of the generated files (generated out of BoundBoxPy.pyi) #include "MatrixPy.h" #include "VectorPy.h" #include "GeometryPyCXX.h" diff --git a/src/Base/CMakeLists.txt b/src/Base/CMakeLists.txt index 5f5f85818f..b21250c43c 100644 --- a/src/Base/CMakeLists.txt +++ b/src/Base/CMakeLists.txt @@ -314,7 +314,6 @@ SET(FreeCADBase_SRCS ${FreeCADBase_QRC_SRCS} ${FreeCADBase_CPP_SRCS} ${FreeCADBase_HPP_SRCS} - ${FreeCADBase_XML_SRCS} ${FreeCADBase_Pyi_SRCS} ${FreeCADBase_UNITAPI_SRCS} PyTools.c diff --git a/src/Base/MatrixPyImp.cpp b/src/Base/MatrixPyImp.cpp index b2f7109f08..67a2413c4e 100644 --- a/src/Base/MatrixPyImp.cpp +++ b/src/Base/MatrixPyImp.cpp @@ -27,7 +27,7 @@ #include #endif -// inclusion of the generated files (generated out of MatrixPy.xml) +// inclusion of the generated files (generated out of MatrixPy.pyi) #include "RotationPy.h" #include "VectorPy.h" #include "GeometryPyCXX.h" diff --git a/src/Base/PersistencePyImp.cpp b/src/Base/PersistencePyImp.cpp index 45eaf30849..7d950e9e68 100644 --- a/src/Base/PersistencePyImp.cpp +++ b/src/Base/PersistencePyImp.cpp @@ -29,7 +29,7 @@ #include "Writer.h" #include -// inclusion of the generated files (generated By PersitancePy.xml) +// inclusion of the generated files (generated out of PersistencePy.pyi) #include "PersistencePy.h" #include "PersistencePy.cpp" diff --git a/src/Base/PlacementPyImp.cpp b/src/Base/PlacementPyImp.cpp index 4a67e1a2f9..93d97682a2 100644 --- a/src/Base/PlacementPyImp.cpp +++ b/src/Base/PlacementPyImp.cpp @@ -26,7 +26,7 @@ #include "GeometryPyCXX.h" #include -// inclusion of the generated files (generated out of PlacementPy.xml) +// inclusion of the generated files (generated out of PlacementPy.pyi) #include "PlacementPy.h" #include "PlacementPy.cpp" #include "Matrix.h" diff --git a/src/Base/QuantityPyImp.cpp b/src/Base/QuantityPyImp.cpp index a246a13ce7..e0b9333a8a 100644 --- a/src/Base/QuantityPyImp.cpp +++ b/src/Base/QuantityPyImp.cpp @@ -26,7 +26,7 @@ #include #endif -// inclusion of the generated files (generated out of QuantityPy.xml) +// inclusion of the generated files (generated out of QuantityPy.pyi) #include "QuantityPy.h" #include "UnitPy.h" #include "QuantityPy.cpp" diff --git a/src/Base/RotationPyImp.cpp b/src/Base/RotationPyImp.cpp index 7bf620cd28..d1f91f3f35 100644 --- a/src/Base/RotationPyImp.cpp +++ b/src/Base/RotationPyImp.cpp @@ -27,7 +27,7 @@ #include #include -// inclusion of the generated files (generated out of RotationPy.xml) +// inclusion of the generated files (generated out of RotationPy.pyi) #include "RotationPy.h" #include "RotationPy.cpp" #include "VectorPy.h" diff --git a/src/Base/UnitPyImp.cpp b/src/Base/UnitPyImp.cpp index b6d907f01d..29389df0f4 100644 --- a/src/Base/UnitPyImp.cpp +++ b/src/Base/UnitPyImp.cpp @@ -24,7 +24,7 @@ #include -// inclusion of the generated files (generated out of UnitPy.xml) +// inclusion of the generated files (generated out of UnitPy.pyi) #include #include #include diff --git a/src/Base/VectorPyImp.cpp b/src/Base/VectorPyImp.cpp index 9dda4303b8..47abc254fb 100644 --- a/src/Base/VectorPyImp.cpp +++ b/src/Base/VectorPyImp.cpp @@ -29,7 +29,7 @@ #include "Vector3D.h" -// inclusion of the generated files (generated out of VectorPy.xml) +// inclusion of the generated files (generated out of VectorPy.pyi) #include "GeometryPyCXX.h" #include "VectorPy.h" #include "VectorPy.cpp" diff --git a/src/Gui/CMakeLists.txt b/src/Gui/CMakeLists.txt index 3619b60660..0d89a55715 100644 --- a/src/Gui/CMakeLists.txt +++ b/src/Gui/CMakeLists.txt @@ -1361,7 +1361,6 @@ SET(FreeCADGui_SRCS ${FreeCADGui_connexion_SRCS} ${FreeCADGui_connexion_HDRS} ${FreeCADGui_CPP_SRCS} - ${FreeCADGui_XML_SRCS} ${FreeCADGui_Pyi_SRCS} ${qsint_MOC_SRCS} ${Gui_QRC_SRCS} diff --git a/src/Gui/CommandPyImp.cpp b/src/Gui/CommandPyImp.cpp index 64bb610a10..b2cc752ee8 100644 --- a/src/Gui/CommandPyImp.cpp +++ b/src/Gui/CommandPyImp.cpp @@ -37,7 +37,7 @@ #include "Window.h" #include "PythonWrapper.h" -// inclusion of the generated files (generated out of CommandPy.xml) +// inclusion of the generated files (generated out of CommandPy.pyi) #include "CommandPy.h" #include "CommandPy.cpp" #include "ShortcutManager.h" diff --git a/src/Gui/DocumentPyImp.cpp b/src/Gui/DocumentPyImp.cpp index e1e1047fad..47ba85ebed 100644 --- a/src/Gui/DocumentPyImp.cpp +++ b/src/Gui/DocumentPyImp.cpp @@ -36,7 +36,7 @@ #include "MDIView.h" #include "ViewProviderExtern.h" -// inclusion of the generated files (generated out of DocumentPy.xml) +// inclusion of the generated files (generated out of DocumentPy.pyi) #include "DocumentPy.h" #include "DocumentPy.cpp" #include diff --git a/src/Gui/Navigation/NavigationStylePyImp.cpp b/src/Gui/Navigation/NavigationStylePyImp.cpp index c8cb1859ac..a437032df1 100644 --- a/src/Gui/Navigation/NavigationStylePyImp.cpp +++ b/src/Gui/Navigation/NavigationStylePyImp.cpp @@ -21,7 +21,7 @@ #include "PreCompiled.h" -// inclusion of the generated files (generated out of NavigationStylePy.xml) +// inclusion of the generated files (generated out of NavigationStylePy.pyi) #include "Navigation/NavigationStylePy.h" #include "Navigation/NavigationStylePy.cpp" diff --git a/src/Gui/PythonWorkbenchPyImp.cpp b/src/Gui/PythonWorkbenchPyImp.cpp index 33182ddc5a..f56d84b5c8 100644 --- a/src/Gui/PythonWorkbenchPyImp.cpp +++ b/src/Gui/PythonWorkbenchPyImp.cpp @@ -22,7 +22,7 @@ #include "PreCompiled.h" -// inclusion of the generated files (generated out of PythonWorkbenchPy.xml) +// inclusion of the generated files (generated out of PythonWorkbenchPy.pyi) #include "PythonWorkbenchPy.h" #include "PythonWorkbenchPy.cpp" diff --git a/src/Gui/ViewProviderDocumentObjectPyImp.cpp b/src/Gui/ViewProviderDocumentObjectPyImp.cpp index 0ee5f203ba..cceaa813e5 100644 --- a/src/Gui/ViewProviderDocumentObjectPyImp.cpp +++ b/src/Gui/ViewProviderDocumentObjectPyImp.cpp @@ -29,7 +29,7 @@ #include #include "Document.h" -// inclusion of the generated files (generated out of ViewProviderDocumentObjectPy.xml) +// inclusion of the generated files (generated out of ViewProviderDocumentObjectPy.pyi) #include "ViewProviderDocumentObjectPy.h" #include "ViewProviderDocumentObjectPy.cpp" diff --git a/src/Gui/ViewProviderExtensionPyImp.cpp b/src/Gui/ViewProviderExtensionPyImp.cpp index 181c2ea8ab..13992779da 100644 --- a/src/Gui/ViewProviderExtensionPyImp.cpp +++ b/src/Gui/ViewProviderExtensionPyImp.cpp @@ -27,7 +27,7 @@ # include #endif -// inclusion of the generated files (generated out of PropertyContainerPy.xml) +// inclusion of the generated files (generated out of PropertyContainerPy.pyi) #include "ViewProviderExtensionPy.h" #include "ViewProviderExtensionPy.cpp" #include "ViewProviderDocumentObject.h" diff --git a/src/Gui/ViewProviderLinkPyImp.cpp b/src/Gui/ViewProviderLinkPyImp.cpp index 066c87f2e9..288fb26735 100644 --- a/src/Gui/ViewProviderLinkPyImp.cpp +++ b/src/Gui/ViewProviderLinkPyImp.cpp @@ -28,7 +28,7 @@ #include -// inclusion of the generated files (generated out of ViewProviderLinkPy.xml) +// inclusion of the generated files (generated out of ViewProviderLinkPy.pyi) #include "ViewProviderLinkPy.h" #include "ViewProviderLinkPy.cpp" diff --git a/src/Gui/ViewProviderPyImp.cpp b/src/Gui/ViewProviderPyImp.cpp index 340824e476..603a8ae429 100644 --- a/src/Gui/ViewProviderPyImp.cpp +++ b/src/Gui/ViewProviderPyImp.cpp @@ -37,7 +37,7 @@ #include "PythonWrapper.h" #include "SoFCDB.h" -// inclusion of the generated files (generated out of ViewProviderPy.xml) +// inclusion of the generated files (generated out of ViewProviderPy.pyi) #include #include #include