Fix whitespace issues

This commit is contained in:
luzpaz
2023-02-05 14:18:59 +00:00
committed by Chris Hennes
parent 2a4e87b64d
commit b4780be1d1
14 changed files with 18 additions and 21 deletions

View File

@@ -55,7 +55,7 @@ body:
id: description id: description
attributes: attributes:
label: Problem description label: Problem description
description: Describe the problem and how it impacts user experience, workflow, maintainability or speed of the code. If the problem appears to be a bug with the current functionality, provide as test case or recipe that reproduces the error. description: Describe the problem and how it impacts user experience, workflow, maintainability or speed of the code. If the problem appears to be a bug with the current functionality, provide as test case or recipe that reproduces the error.
placeholder: Description of the problem placeholder: Description of the problem
validations: validations:
required: true required: true
@@ -65,7 +65,7 @@ body:
label: Anything else? label: Anything else?
description: | description: |
Links? References? Anything that will give us more context about the issue you are encountering! Links? References? Anything that will give us more context about the issue you are encountering!
If there is a discussion about the problem on the forum, provide link(s) here. If there is a discussion about the problem on the forum, provide link(s) here.
Tip: You can attach images or log files by clicking this area to highlight it and then dragging files in. To attach a FCStd file, ZIP it first (GitHub won't recognize the extension otherwise). Tip: You can attach images or log files by clicking this area to highlight it and then dragging files in. To attach a FCStd file, ZIP it first (GitHub won't recognize the extension otherwise).
validations: validations:

2
.github/labels.yml vendored
View File

@@ -31,7 +31,7 @@ WB MeshPart:
WB OpenSCAD: WB OpenSCAD:
- 'src/Mod/OpenSCAD/**/*' - 'src/Mod/OpenSCAD/**/*'
WB Part: WB Part:
- 'src/Mod/Part/**/*' - 'src/Mod/Part/**/*'
WB PartDesign: WB PartDesign:

View File

@@ -13,7 +13,7 @@ find_package(VTK REQUIRED)
if(CMAKE_SIZEOF_VOID_P EQUAL 8) if(CMAKE_SIZEOF_VOID_P EQUAL 8)
add_definitions(-DSALOME_USE_64BIT_IDS) add_definitions(-DSALOME_USE_64BIT_IDS)
endif(CMAKE_SIZEOF_VOID_P EQUAL 8) endif(CMAKE_SIZEOF_VOID_P EQUAL 8)
IF (CMAKE_COMPILER_IS_GNUCC) IF (CMAKE_COMPILER_IS_GNUCC)
FIND_PATH(SMESH_INCLUDE_DIR SMESH_Mesh.hxx FIND_PATH(SMESH_INCLUDE_DIR SMESH_Mesh.hxx
# These are default search paths, why specify them? # These are default search paths, why specify them?
@@ -27,7 +27,7 @@ ENDIF (CMAKE_COMPILER_IS_GNUCC)
IF(SMESH_INCLUDE_DIR) IF(SMESH_INCLUDE_DIR)
SET(SMESH_INC_ROOT "${SMESH_INCLUDE_DIR}/..") SET(SMESH_INC_ROOT "${SMESH_INCLUDE_DIR}/..")
# Append extra include dirs # Append extra include dirs
SET(SMESH_INCLUDE_DIR SET(SMESH_INCLUDE_DIR
"${SMESH_INCLUDE_DIR}; "${SMESH_INCLUDE_DIR};
${SMESH_INC_ROOT}/Controls; ${SMESH_INC_ROOT}/Controls;
${SMESH_INC_ROOT}/Driver; ${SMESH_INC_ROOT}/Driver;
@@ -53,7 +53,7 @@ SET(SMESH_FOUND FALSE)
IF(SMESH_LIBRARY) IF(SMESH_LIBRARY)
SET(SMESH_FOUND TRUE) SET(SMESH_FOUND TRUE)
GET_FILENAME_COMPONENT(SMESH_LIBRARY_DIR ${SMESH_LIBRARY} PATH) GET_FILENAME_COMPONENT(SMESH_LIBRARY_DIR ${SMESH_LIBRARY} PATH)
set(SMESH_LIBRARIES set(SMESH_LIBRARIES
${SMESH_LIBRARY_DIR}/libDriver.so ${SMESH_LIBRARY_DIR}/libDriver.so
${SMESH_LIBRARY_DIR}/libDriverDAT.so ${SMESH_LIBRARY_DIR}/libDriverDAT.so
${SMESH_LIBRARY_DIR}/libDriverSTL.so ${SMESH_LIBRARY_DIR}/libDriverSTL.so

View File

@@ -1,5 +1,5 @@
SET(Examples_Files SET(Examples_Files
Schenkel.stp Schenkel.stp
draft_test_objects.FCStd draft_test_objects.FCStd
EngineBlock.FCStd EngineBlock.FCStd

View File

@@ -20,7 +20,7 @@ JtReader export-ignore
# find AddonManager Arch Complete Draft Idf Fem Material OpenSCAD Show Tux -type f -name '*.*' | sed 's|.*\.||' | sort -u # find AddonManager Arch Complete Draft Idf Fem Material OpenSCAD Show Tux -type f -name '*.*' | sed 's|.*\.||' | sort -u
# search for a specific file ending in normalized folders # search for a specific file ending in normalized folders
# find AddonManager Arch Complete Draft Idf Fem Material OpenSCAD Show Tux -type f -name '*.emn' # find AddonManager Arch Complete Draft Idf Fem Material OpenSCAD Show Tux -type f -name '*.emn'
# normalize the line endings of the following files # normalize the line endings of the following files

View File

@@ -1,7 +1,7 @@
; Graphite ; Graphite
; Uwe Stöhr, LGPL ; Uwe Stöhr, LGPL
; information about the content of such cards can be found on the wiki: ; information about the content of such cards can be found on the wiki:
; https://www.freecadweb.org/wiki/Material ; https://www.freecadweb.org/wiki/Material
; file created by FreeCAD 0.20.24516 (Git) ; file created by FreeCAD 0.20.24516 (Git)
[General] [General]

View File

@@ -35,11 +35,11 @@ namespace SpreadsheetGui {
class DlgBindSheet : public QDialog class DlgBindSheet : public QDialog
{ {
Q_OBJECT Q_OBJECT
public: public:
explicit DlgBindSheet(Spreadsheet::Sheet *sheet, const std::vector<App::Range> &range, QWidget *parent = nullptr); explicit DlgBindSheet(Spreadsheet::Sheet *sheet, const std::vector<App::Range> &range, QWidget *parent = nullptr);
~DlgBindSheet() override; ~DlgBindSheet() override;
void accept() override; void accept() override;
public Q_SLOTS: public Q_SLOTS:

View File

@@ -34,7 +34,7 @@ class SpreadsheetGuiCases(unittest.TestCase):
self.doc = FreeCAD.newDocument() self.doc = FreeCAD.newDocument()
self.sheet = self.doc.addObject("Spreadsheet::Sheet", "Spreadsheet") self.sheet = self.doc.addObject("Spreadsheet::Sheet", "Spreadsheet")
self.view_provider = self.sheet.ViewObject self.view_provider = self.sheet.ViewObject
def getTableView(self): def getTableView(self):
return self.view_provider.getView() return self.view_provider.getView()
@@ -75,4 +75,3 @@ class SpreadsheetGuiCases(unittest.TestCase):
FreeCAD.Gui.runCommand("Std_Paste", 0) FreeCAD.Gui.runCommand("Std_Paste", 0)
self.doc.recompute() self.doc.recompute()
self.assertEqual(self.sheet.get("A1"), self.sheet.get("E5")) self.assertEqual(self.sheet.get("A1"), self.sheet.get("E5"))

View File

@@ -4,5 +4,5 @@ Original Y14.5-2018.ttf courtesy of Peter Kanold (https://peterkanold.com/)
"This font is free to use for all personal and commercial applications. Copying and redistribution of the font is encouraged. Credit to me as the creator of the font is appreciated but not necessary." "This font is free to use for all personal and commercial applications. Copying and redistribution of the font is encouraged. Credit to me as the creator of the font is appreciated but not necessary."
Modified 2023 for the FreeCAD CAx development system by WandererFan (wandererfan@gmail.com). Modifications are distributed under LGPL2 or later. Modified 2023 for the FreeCAD CAx development system by WandererFan (wandererfan@gmail.com). Modifications are distributed under LGPL2 or later.

View File

@@ -41,8 +41,6 @@ def runUpdate(filename):
def main(): def main():
runUpdate(sys.argv[1]) runUpdate(sys.argv[1])
if __name__ == "__main__": if __name__ == "__main__":
main() main()

View File

@@ -1,4 +1,4 @@
#!/bin/sh #!/bin/sh
apt-get install --no-install-recommends --yes build-essential cmake doxygen \ apt-get install --no-install-recommends --yes build-essential cmake doxygen \
git libboost-date-time-dev libboost-dev libboost-filesystem-dev \ git libboost-date-time-dev libboost-dev libboost-filesystem-dev \
libboost-graph-dev libboost-iostreams-dev libboost-program-options-dev \ libboost-graph-dev libboost-iostreams-dev libboost-program-options-dev \

View File

@@ -1,4 +1,4 @@
#!/bin/sh #!/bin/sh
dnf --assumeyes install boost-devel cmake Coin3 Coin3-devel desktop-file-utils doxygen \ dnf --assumeyes install boost-devel cmake Coin3 Coin3-devel desktop-file-utils doxygen \
eigen3-devel freeimage-devel freetype freetype-devel gcc gettext git libspnav-devel \ eigen3-devel freeimage-devel freetype freetype-devel gcc gettext git libspnav-devel \
libXmu-devel med med-devel mesa-libGLU-devel ode-devel opencascade-devel \ libXmu-devel med med-devel mesa-libGLU-devel ode-devel opencascade-devel \

View File

@@ -3,5 +3,5 @@ pacman --noconfirm --sync boost boost-libs cmake coin curl desktop-file-utils do
eigen gc gcc-fortran git glew gnu-free-fonts guile hicolor-icon-theme jsoncpp \ eigen gc gcc-fortran git glew gnu-free-fonts guile hicolor-icon-theme jsoncpp \
libspnav libtool make med opencascade pyside2 pyside2-tools python-matplotlib \ libspnav libtool make med opencascade pyside2 pyside2-tools python-matplotlib \
python-netcdf4 python-pivy qt5-svg qt5-tools qt5-webengine qt5-webkit \ python-netcdf4 python-pivy qt5-svg qt5-tools qt5-webengine qt5-webkit \
shared-mime-info shiboken2 swig texinfo xerces-c shared-mime-info shiboken2 swig texinfo xerces-c

View File

@@ -1,4 +1,4 @@
#!/bin/sh #!/bin/sh
apt-get install --no-install-recommends --yes build-essential cmake doxygen git \ apt-get install --no-install-recommends --yes build-essential cmake doxygen git \
libboost-date-time-dev libboost-dev libboost-filesystem-dev \ libboost-date-time-dev libboost-dev libboost-filesystem-dev \
libboost-graph-dev libboost-iostreams-dev libboost-program-options-dev \ libboost-graph-dev libboost-iostreams-dev libboost-program-options-dev \