From 95d89622def574fb337dbda07954fc49961c343e Mon Sep 17 00:00:00 2001 From: luz paz Date: Mon, 28 Nov 2022 08:58:47 -0500 Subject: [PATCH] Fix header uniformity for various workbenches/directories Also includes some trailing whitespace fixes --- src/Doc/mainpage.dox.in | 2 +- src/Mod/Complete/Init.py | 11 ++---- src/Mod/Complete/InitGui.py | 15 +++----- src/Mod/Idf/Init.py | 20 ++++------ src/Mod/Import/App/StepShapePyImp.cpp | 2 +- src/Mod/Inspection/Init.py | 8 ++-- src/Mod/Inspection/InitGui.py | 20 ++++------ src/Mod/Material/Init.py | 5 +-- src/Mod/Material/InitGui.py | 4 +- src/Mod/Material/Material.py | 3 +- src/Mod/Material/importFCMat.py | 3 +- src/Mod/Measure/App/AppMeasure.cpp | 2 +- src/Mod/Measure/App/Measurement.cpp | 2 +- src/Mod/Measure/App/Measurement.h | 2 +- src/Mod/Measure/App/MeasurementPyImp.cpp | 2 +- src/Mod/Measure/App/PreCompiled.cpp | 4 +- src/Mod/Measure/App/PreCompiled.h | 2 +- src/Mod/Measure/Init.py | 8 +--- src/Mod/OpenSCAD/Init.py | 7 ++-- src/Mod/OpenSCAD/InitGui.py | 48 ++++++++++++------------ src/Mod/Points/Init.py | 8 +--- src/Mod/Points/InitGui.py | 16 +++----- src/Mod/Sandbox/Init.py | 8 ++-- src/Mod/Sandbox/InitGui.py | 32 +++++++--------- src/Mod/Start/Init.py | 12 +++--- src/Mod/Start/InitGui.py | 16 +++----- src/Tools/MakeNewBuildNbr.py | 16 ++++---- src/Tools/fcbt/NextBuildNumber.py | 12 +++--- 28 files changed, 118 insertions(+), 172 deletions(-) diff --git a/src/Doc/mainpage.dox.in b/src/Doc/mainpage.dox.in index 532575e016..a09cd19004 100644 --- a/src/Doc/mainpage.dox.in +++ b/src/Doc/mainpage.dox.in @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (c) Jürgen Riegel (juergen.riegel@web.de) 2002 * + * Copyright (c) 2002 Juergen Riegel * * * * This file is part of the FreeCAD CAx development system. * * * diff --git a/src/Mod/Complete/Init.py b/src/Mod/Complete/Init.py index 420a8a45e4..fd4e09ab6f 100644 --- a/src/Mod/Complete/Init.py +++ b/src/Mod/Complete/Init.py @@ -1,8 +1,5 @@ -# FreeCAD init script of the Complete module -# (c) 2001 Juergen Riegel - #*************************************************************************** -#* (c) Juergen Riegel (juergen.riegel@web.de) 2002 * +#* Copyright (c) 2001,2002 Juergen Riegel * #* * #* This file is part of the FreeCAD CAx development system. * #* * @@ -13,15 +10,15 @@ #* for detail see the LICENCE text file. * #* * #* FreeCAD is distributed in the hope that it will be useful, * -#* but WITHOUT ANY WARRANTY; without even the implied warranty of * +#* but WITHOUT ANY WARRANTY; without even the implied warranty of * #* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * #* GNU Lesser General Public License for more details. * #* * #* You should have received a copy of the GNU Library General Public * -#* License along with FreeCAD; if not, write to the Free Software * +#* License along with FreeCAD; if not, write to the Free Software * #* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * #* USA * #* * -#* Juergen Riegel 2002 * #***************************************************************************/ +# FreeCAD init script of the Complete module diff --git a/src/Mod/Complete/InitGui.py b/src/Mod/Complete/InitGui.py index 2517ca601f..07326de920 100644 --- a/src/Mod/Complete/InitGui.py +++ b/src/Mod/Complete/InitGui.py @@ -1,12 +1,5 @@ -# Complete gui init module -# (c) 2003 Juergen Riegel -# -# Gathering all the information to start FreeCAD -# This is the second one of three init scripts, the third one -# runs when the gui is up - #*************************************************************************** -#* (c) Juergen Riegel (juergen.riegel@web.de) 2002 * +#* Copyright (c) 2002,2003 Juergen Riegel * #* * #* This file is part of the FreeCAD CAx development system. * #* * @@ -26,9 +19,13 @@ #* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * #* USA * #* * -#* Juergen Riegel 2002 * #***************************************************************************/ +# Complete gui init module +# +# Gathering all the information to start FreeCAD +# This is the second one of three init scripts, the third one +# runs when the gui is up class CompleteWorkbench(Workbench): "Complete workbench object" diff --git a/src/Mod/Idf/Init.py b/src/Mod/Idf/Init.py index 6f5c273d9f..ec3ce2e95c 100644 --- a/src/Mod/Idf/Init.py +++ b/src/Mod/Idf/Init.py @@ -1,12 +1,5 @@ -# Idf init module -# (c) 2003 Juergen Riegel -# -# Gathering all the information to start FreeCAD -# This is the second one of three init scripts, the third one -# runs when the gui is up - #*************************************************************************** -#* (c) Juergen Riegel (juergen.riegel@web.de) 2002 * +#* Copyright (c) 2002,2003 Juergen Riegel * #* * #* This file is part of the FreeCAD CAx development system. * #* * @@ -26,11 +19,14 @@ #* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * #* USA * #* * -#* Juergen Riegel 2002 * #***************************************************************************/ - +# Idf init module +# +# Gathering all the information to start FreeCAD +# This is the second one of three init scripts, the third one +# runs when the gui is up # two options for IDF added by Milos Koutny (12-Feb-2010) -FreeCAD.addImportType("IDF emn file File Type (*.emn)","Idf") -#FreeCAD.addImportType("IDF emp File Type (*.emp)","Import_Emp") +FreeCAD.addImportType("IDF emn file File Type (*.emn)","Idf") +#FreeCAD.addImportType("IDF emp File Type (*.emp)","Import_Emp") diff --git a/src/Mod/Import/App/StepShapePyImp.cpp b/src/Mod/Import/App/StepShapePyImp.cpp index 1db2fbfadf..94b93de982 100644 --- a/src/Mod/Import/App/StepShapePyImp.cpp +++ b/src/Mod/Import/App/StepShapePyImp.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (c) 2014 Jürgen Riegel * + * Copyright (c) 2014 Jürgen Riegel * * * * This file is part of the FreeCAD CAx development system. * * * diff --git a/src/Mod/Inspection/Init.py b/src/Mod/Inspection/Init.py index 227fa9a0c1..803687116c 100644 --- a/src/Mod/Inspection/Init.py +++ b/src/Mod/Inspection/Init.py @@ -1,8 +1,5 @@ -# FreeCAD init script of the Inspection module -# (c) 2001 Juergen Riegel - #*************************************************************************** -#* (c) Juergen Riegel (juergen.riegel@web.de) 2002 * +#* Copyright (c) 2001,2002 Juergen Riegel * #* * #* This file is part of the FreeCAD CAx development system. * #* * @@ -22,5 +19,6 @@ #* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * #* USA * #* * -#* Juergen Riegel 2002 * #***************************************************************************/ + +# FreeCAD init script of the Inspection module diff --git a/src/Mod/Inspection/InitGui.py b/src/Mod/Inspection/InitGui.py index f5f54b5c49..49cf1f7bba 100644 --- a/src/Mod/Inspection/InitGui.py +++ b/src/Mod/Inspection/InitGui.py @@ -1,12 +1,5 @@ -# Inspection gui init module -# (c) 2003 Juergen Riegel -# -# Gathering all the information to start FreeCAD -# This is the second one of three init scripts, the third one -# runs when the gui is up - #*************************************************************************** -#* (c) Juergen Riegel (juergen.riegel@web.de) 2002 * +#* Copyright (c) 2002,2003 Juergen Riegel * #* * #* This file is part of the FreeCAD CAx development system. * #* * @@ -17,19 +10,22 @@ #* for detail see the LICENCE text file. * #* * #* FreeCAD is distributed in the hope that it will be useful, * -#* but WITHOUT ANY WARRANTY; without even the implied warranty of * +#* but WITHOUT ANY WARRANTY; without even the implied warranty of * #* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * #* GNU Lesser General Public License for more details. * #* * #* You should have received a copy of the GNU Library General Public * -#* License along with FreeCAD; if not, write to the Free Software * +#* License along with FreeCAD; if not, write to the Free Software * #* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * #* USA * #* * -#* Juergen Riegel 2002 * #***************************************************************************/ - +# Inspection gui init module +# +# Gathering all the information to start FreeCAD +# This is the second one of three init scripts, the third one +# runs when the gui is up class InspectionWorkbench ( Workbench ): "Inspection workbench object" diff --git a/src/Mod/Material/Init.py b/src/Mod/Material/Init.py index e5fb3e7305..0d9a0df6b9 100644 --- a/src/Mod/Material/Init.py +++ b/src/Mod/Material/Init.py @@ -1,6 +1,5 @@ # *************************************************************************** -# * * -# * Copyright (c) 2013 - Juergen Riegel * +# * Copyright (c) 2013 Juergen Riegel * # * * # * This program is free software; you can redistribute it and/or modify * # * it under the terms of the GNU Lesser General Public License (LGPL) * @@ -20,9 +19,7 @@ # * * # *************************************************************************** - import FreeCAD - # import for the FreeCAD Material card FreeCAD.addImportType("FreeCAD Material Card (*.FCMat)", "importFCMat") diff --git a/src/Mod/Material/InitGui.py b/src/Mod/Material/InitGui.py index 64fccf8a77..56c021e2f3 100644 --- a/src/Mod/Material/InitGui.py +++ b/src/Mod/Material/InitGui.py @@ -1,6 +1,5 @@ #*************************************************************************** -#* * -#* Copyright (c) 2013 - Juergen Riegel * +#* Copyright (c) 2013 Juergen Riegel * #* * #* This program is free software; you can redistribute it and/or modify * #* it under the terms of the GNU Lesser General Public License (LGPL) * @@ -20,4 +19,3 @@ #* * #*************************************************************************** - diff --git a/src/Mod/Material/Material.py b/src/Mod/Material/Material.py index c111c2592c..e6a628c6e2 100644 --- a/src/Mod/Material/Material.py +++ b/src/Mod/Material/Material.py @@ -1,6 +1,5 @@ # *************************************************************************** -# * * -# * Copyright (c) 2013-2015 - Juergen Riegel * +# * Copyright (c) 2013-2015 Juergen Riegel * # * * # * This program is free software; you can redistribute it and/or modify * # * it under the terms of the GNU Lesser General Public License (LGPL) * diff --git a/src/Mod/Material/importFCMat.py b/src/Mod/Material/importFCMat.py index b2e987995e..cb7d778411 100644 --- a/src/Mod/Material/importFCMat.py +++ b/src/Mod/Material/importFCMat.py @@ -1,6 +1,5 @@ # *************************************************************************** -# * * -# * Copyright (c) 2013 - Juergen Riegel * +# * Copyright (c) 2013 Juergen Riegel * # * * # * This program is free software; you can redistribute it and/or modify * # * it under the terms of the GNU Lesser General Public License (LGPL) * diff --git a/src/Mod/Measure/App/AppMeasure.cpp b/src/Mod/Measure/App/AppMeasure.cpp index acab353ae4..157abda374 100644 --- a/src/Mod/Measure/App/AppMeasure.cpp +++ b/src/Mod/Measure/App/AppMeasure.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (c) 2013 Luke Parry * + * Copyright (c) 2013 Luke Parry * * * * This file is part of the FreeCAD CAx development system. * * * diff --git a/src/Mod/Measure/App/Measurement.cpp b/src/Mod/Measure/App/Measurement.cpp index 63bd63177e..3d624736a6 100644 --- a/src/Mod/Measure/App/Measurement.cpp +++ b/src/Mod/Measure/App/Measurement.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (c) 2013 Luke Parry * + * Copyright (c) 2013 Luke Parry * * * * This file is part of the FreeCAD CAx development system. * * * diff --git a/src/Mod/Measure/App/Measurement.h b/src/Mod/Measure/App/Measurement.h index 03f1f03ad3..3faa2485e5 100644 --- a/src/Mod/Measure/App/Measurement.h +++ b/src/Mod/Measure/App/Measurement.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (c) 2013 Luke Parry * + * Copyright (c) 2013 Luke Parry * * * * This file is part of the FreeCAD CAx development system. * * * diff --git a/src/Mod/Measure/App/MeasurementPyImp.cpp b/src/Mod/Measure/App/MeasurementPyImp.cpp index 3fe1967146..029c089088 100644 --- a/src/Mod/Measure/App/MeasurementPyImp.cpp +++ b/src/Mod/Measure/App/MeasurementPyImp.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (c) Luke Parry (l.parry@warwick.ac.uk) 2013 * + * Copyright (c) 2013 Luke Parry * * * * This file is part of the FreeCAD CAx development system. * * * diff --git a/src/Mod/Measure/App/PreCompiled.cpp b/src/Mod/Measure/App/PreCompiled.cpp index ca3e63613b..cde4369c5b 100644 --- a/src/Mod/Measure/App/PreCompiled.cpp +++ b/src/Mod/Measure/App/PreCompiled.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (c) 2008 Jürgen Riegel (juergen.riegel@web.de) * + * Copyright (c) 2008 Jürgen Riegel * * * * This file is part of the FreeCAD CAx development system. * * * @@ -20,4 +20,4 @@ * * ***************************************************************************/ -#include "PreCompiled.h" +#include "PreCompiled.h" diff --git a/src/Mod/Measure/App/PreCompiled.h b/src/Mod/Measure/App/PreCompiled.h index 5a8dd57ed5..7b91a9c40b 100644 --- a/src/Mod/Measure/App/PreCompiled.h +++ b/src/Mod/Measure/App/PreCompiled.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (c) 2008 Jürgen Riegel (juergen.riegel@web.de) * + * Copyright (c) 2008 Jürgen Riegel * * * * This file is part of the FreeCAD CAx development system. * * * diff --git a/src/Mod/Measure/Init.py b/src/Mod/Measure/Init.py index bf65cae3ac..2d62ffbeff 100644 --- a/src/Mod/Measure/Init.py +++ b/src/Mod/Measure/Init.py @@ -1,7 +1,5 @@ -# (c) 2001 Juergen Riegel - #*************************************************************************** -#* (c) Juergen Riegel (juergen.riegel@web.de) 2002 * +#* Copyright (c) 2002 Juergen Riegel * #* * #* This file is part of the FreeCAD CAx development system. * #* * @@ -21,8 +19,4 @@ #* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * #* USA * #* * -#* Juergen Riegel 2002 * #***************************************************************************/ - - - diff --git a/src/Mod/OpenSCAD/Init.py b/src/Mod/OpenSCAD/Init.py index 0936abb7d4..d3f1da86ba 100644 --- a/src/Mod/OpenSCAD/Init.py +++ b/src/Mod/OpenSCAD/Init.py @@ -1,8 +1,5 @@ -# FreeCAD init script of the OpenSCAD module -# (c) 2001 Juergen Riegel - #*************************************************************************** -#* Copyright (c) 2002 Juergen Riegel * +#* Copyright (c) 2001,2002 Juergen Riegel * #* * #* This file is part of the FreeCAD CAx development system. * #* * @@ -24,6 +21,8 @@ #* * #***************************************************************************/ +# FreeCAD init script of the OpenSCAD module + import os import FreeCAD diff --git a/src/Mod/OpenSCAD/InitGui.py b/src/Mod/OpenSCAD/InitGui.py index b67c806da5..fa294c47d7 100644 --- a/src/Mod/OpenSCAD/InitGui.py +++ b/src/Mod/OpenSCAD/InitGui.py @@ -1,32 +1,32 @@ +#*************************************************************************** +#* Copyright (c) 2002 Juergen Riegel * +#* * +#* This file is part of the FreeCAD CAx development system. * +#* * +#* This program is free software; you can redistribute it and/or modify * +#* it under the terms of the GNU Lesser General Public License (LGPL) * +#* as published by the Free Software Foundation; either version 2 of * +#* the License, or (at your option) any later version. * +#* for detail see the LICENCE text file. * +#* * +#* FreeCAD is distributed in the hope that it will be useful, * +#* but WITHOUT ANY WARRANTY; without even the implied warranty of * +#* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * +#* GNU Lesser General Public License for more details. * +#* * +#* You should have received a copy of the GNU Library General Public * +#* License along with FreeCAD; if not, write to the Free Software * +#* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * +#* USA * +#* * +#***************************************************************************/ + # OpenSCAD gui init module # # Gathering all the information to start FreeCAD # This is the second one of three init scripts, the third one # runs when the gui is up -# *************************************************************************** -# * Copyright (c) 2002 Juergen Riegel * -# * * -# * This file is part of the FreeCAD CAx development system. * -# * * -# * This program is free software; you can redistribute it and/or modify * -# * it under the terms of the GNU Lesser General Public License (LGPL) * -# * as published by the Free Software Foundation; either version 2 of * -# * the License, or (at your option) any later version. * -# * for detail see the LICENCE text file. * -# * * -# * FreeCAD is distributed in the hope that it will be useful, * -# * but WITHOUT ANY WARRANTY; without even the implied warranty of * -# * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * -# * GNU Lesser General Public License for more details. * -# * * -# * You should have received a copy of the GNU Library General Public * -# * License along with FreeCAD; if not, write to the Free Software * -# * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * -# * USA * -# * * -# ***************************************************************************/ - import FreeCAD import sys @@ -119,7 +119,7 @@ class OpenSCADWorkbench(Workbench): FreeCAD.Console.PrintWarning("OpenSCAD executable not found\n") transferMechanism = param.GetInt("transfermechanism", 0) - if openscadfilename and transferMechanism == 0: + if openscadfilename and transferMechanism == 0: # We are using the Python temp-directory creation function if "snap" in openscadfilename: FreeCAD.Console.PrintMessage( diff --git a/src/Mod/Points/Init.py b/src/Mod/Points/Init.py index d504bd0e12..c2e0a6f0e2 100644 --- a/src/Mod/Points/Init.py +++ b/src/Mod/Points/Init.py @@ -1,8 +1,5 @@ -# FreeCAD init script of the Points module -# (c) 2005 Juergen Riegel - #*************************************************************************** -#* (c) Juergen Riegel (juergen.riegel@web.de) 2005 * +#* Copyright (c) 2004,2005 Juergen Riegel * #* * #* This file is part of the FreeCAD CAx development system. * #* * @@ -22,10 +19,9 @@ #* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * #* USA * #* * -#* Juergen Riegel 2002 * #***************************************************************************/ - +# FreeCAD init script of the Points module # Append the open handler FreeCAD.addImportType("Point formats (*.asc *.pcd *.ply *.e57)","Points") diff --git a/src/Mod/Points/InitGui.py b/src/Mod/Points/InitGui.py index a1c290f99a..9bbcf39b0f 100644 --- a/src/Mod/Points/InitGui.py +++ b/src/Mod/Points/InitGui.py @@ -1,12 +1,5 @@ -# Points gui init module -# (c) 2003 Juergen Riegel -# -# Gathering all the information to start FreeCAD -# This is the second one of three init scripts, the third one -# runs when the gui is up - #*************************************************************************** -#* (c) Juergen Riegel (juergen.riegel@web.de) 2002 * +#* Copyright (c) 2002,2003 Juergen Riegel * #* * #* This file is part of the FreeCAD CAx development system. * #* * @@ -26,10 +19,13 @@ #* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * #* USA * #* * -#* Juergen Riegel 2002 * #***************************************************************************/ - +# Points gui init module +# +# Gathering all the information to start FreeCAD +# This is the second one of three init scripts, the third one +# runs when the gui is up class PointsWorkbench ( Workbench ): "Points workbench object" diff --git a/src/Mod/Sandbox/Init.py b/src/Mod/Sandbox/Init.py index f00f56f12e..eb77f3b838 100644 --- a/src/Mod/Sandbox/Init.py +++ b/src/Mod/Sandbox/Init.py @@ -1,8 +1,5 @@ -# FreeCAD init script of the Sandbox module -# (c) 2001 Juergen Riegel - #*************************************************************************** -#* (c) Juergen Riegel (juergen.riegel@web.de) 2002 * +#* Copyright (c) 2001,2002 Juergen Riegel * #* * #* This file is part of the FreeCAD CAx development system. * #* * @@ -22,9 +19,10 @@ #* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * #* USA * #* * -#* Juergen Riegel 2002 * #***************************************************************************/ +# FreeCAD init script of the Sandbox module + import FreeCAD FreeCAD.addExportType("DRAWEXE script (*.tcl)","exportDRAWEXE") diff --git a/src/Mod/Sandbox/InitGui.py b/src/Mod/Sandbox/InitGui.py index f6ebf88b09..d2a5806ccb 100644 --- a/src/Mod/Sandbox/InitGui.py +++ b/src/Mod/Sandbox/InitGui.py @@ -1,12 +1,5 @@ -# Sandbox gui init module -# (c) 2003 Juergen Riegel -# -# Gathering all the information to start FreeCAD -# This is the second one of three init scripts, the third one -# runs when the gui is up - #*************************************************************************** -#* (c) Juergen Riegel (juergen.riegel@web.de) 2002 * +#* Copyright (c) 2002,2003 Juergen Riegel * #* * #* This file is part of the FreeCAD CAx development system. * #* * @@ -26,19 +19,22 @@ #* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * #* USA * #* * -#* Juergen Riegel 2002 * #***************************************************************************/ - +# Sandbox gui init module +# +# Gathering all the information to start FreeCAD +# This is the second one of three init scripts, the third one +# runs when the gui is up class SandboxWorkbench ( Workbench ): - "Sandbox workbench object" - MenuText = "Sandbox" - ToolTip = "Sandbox workbench" - def Initialize(self): - # load the module - import SandboxGui - def GetClassName(self): - return "SandboxGui::Workbench" + "Sandbox workbench object" + MenuText = "Sandbox" + ToolTip = "Sandbox workbench" + def Initialize(self): + # load the module + import SandboxGui + def GetClassName(self): + return "SandboxGui::Workbench" Gui.addWorkbench(SandboxWorkbench()) diff --git a/src/Mod/Start/Init.py b/src/Mod/Start/Init.py index 094d9698ff..ebe8d28707 100644 --- a/src/Mod/Start/Init.py +++ b/src/Mod/Start/Init.py @@ -1,8 +1,5 @@ -# FreeCAD init script of the Start module -# (c) 2001 Juergen Riegel - #*************************************************************************** -#* (c) Juergen Riegel (juergen.riegel@web.de) 2002 * +#* Copyright (c) 2001,2002 Juergen Riegel * #* * #* This file is part of the FreeCAD CAx development system. * #* * @@ -13,14 +10,15 @@ #* for detail see the LICENCE text file. * #* * #* FreeCAD is distributed in the hope that it will be useful, * -#* but WITHOUT ANY WARRANTY; without even the implied warranty of * +#* but WITHOUT ANY WARRANTY; without even the implied warranty of * #* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * #* GNU Lesser General Public License for more details. * #* * #* You should have received a copy of the GNU Library General Public * -#* License along with FreeCAD; if not, write to the Free Software * +#* License along with FreeCAD; if not, write to the Free Software * #* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * #* USA * #* * -#* Juergen Riegel 2002 * #***************************************************************************/ + +# FreeCAD init script of the Start module diff --git a/src/Mod/Start/InitGui.py b/src/Mod/Start/InitGui.py index f324325b7b..cbc185c6c3 100644 --- a/src/Mod/Start/InitGui.py +++ b/src/Mod/Start/InitGui.py @@ -1,12 +1,5 @@ -# Start gui init module -# (c) 2003 Juergen Riegel -# -# Gathering all the information to start FreeCAD -# This is the second one of three init scripts, the third one -# runs when the gui is up - #*************************************************************************** -#* (c) Juergen Riegel (juergen.riegel@web.de) 2002 * +#* Copyright (c) 2002,2003 Juergen Riegel * #* * #* This file is part of the FreeCAD CAx development system. * #* * @@ -26,10 +19,13 @@ #* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * #* USA * #* * -#* Juergen Riegel 2002 * #***************************************************************************/ - +# Start gui init module +# +# Gathering all the information to start FreeCAD +# This is the second one of three init scripts, the third one +# runs when the gui is up class StartWorkbench ( Workbench ): "Start workbench object" diff --git a/src/Tools/MakeNewBuildNbr.py b/src/Tools/MakeNewBuildNbr.py index 9dc1fb90e6..e07914926f 100644 --- a/src/Tools/MakeNewBuildNbr.py +++ b/src/Tools/MakeNewBuildNbr.py @@ -1,10 +1,5 @@ -# FreeCAD MakeNewBuildNbr script -# (c) 2002 Jürgen Riegel -# -# Increase the Build Number in Version.h - #*************************************************************************** -#* (c) Jürgen Riegel (juergen.riegel@web.de) 2002 * +#* Copyright (c) 2002 Jürgen Riegel * #* * #* This file is part of the FreeCAD CAx development system. * #* * @@ -15,18 +10,21 @@ #* for detail see the LICENCE text file. * #* * #* FreeCAD is distributed in the hope that it will be useful, * -#* but WITHOUT ANY WARRANTY; without even the implied warranty of * +#* but WITHOUT ANY WARRANTY; without even the implied warranty of * #* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * #* GNU Library General Public License for more details. * #* * #* You should have received a copy of the GNU Library General Public * -#* License along with FreeCAD; if not, write to the Free Software * +#* License along with FreeCAD; if not, write to the Free Software * #* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * #* USA * #* * -#* Juergen Riegel 2002 * #***************************************************************************/ +# FreeCAD MakeNewBuildNbr script +# +# Increase the Build Number in Version.h + import time # reading the last Version information diff --git a/src/Tools/fcbt/NextBuildNumber.py b/src/Tools/fcbt/NextBuildNumber.py index 34b0832784..3faefee4a0 100644 --- a/src/Tools/fcbt/NextBuildNumber.py +++ b/src/Tools/fcbt/NextBuildNumber.py @@ -1,10 +1,5 @@ -# FreeCAD MakeNewBuildNbr script -# (c) 2002 Juergen Riegel -# -# Increase the Build Number in Version.h - #*************************************************************************** -#* (c) Juergen Riegel (juergen.riegel@web.de) 2002 * +#* Copyright (c) 2002 Juergen Riegel * #* * #* This file is part of the FreeCAD CAx development system. * #* * @@ -24,9 +19,12 @@ #* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * #* USA * #* * -#* Juergen Riegel 2002 * #***************************************************************************/ +# FreeCAD MakeNewBuildNbr script +# +# Increase the Build Number in Version.h + import time # reading the last Version information