beremiz

Parents 0925da818853
Children 078c760620d7
fix license notices in source files and license files under GPLv2+

Previously a lot of files were referenced to GNU Public License 2.1,
which never existed.
All copyright attributions are kept the same.
  • +15 -16
    Beremiz.py
  • +15 -15
    Beremiz_service.py
  • +15 -15
    PLCControler.py
  • +15 -15
    PLCGenerator.py
  • +15 -15
    PLCOpenEditor.py
  • +15 -15
    canfestival/config_utils.py
  • +14 -10
    connectors/PYRO/__init__.py
  • +16 -13
    connectors/WAMP/__init__.py
  • +13 -10
    connectors/__init__.py
  • +15 -15
    controls/CustomEditableListBox.py
  • +15 -15
    controls/CustomGrid.py
  • +18 -11
    controls/CustomTable.py
  • +15 -15
    controls/CustomToolTip.py
  • +18 -11
    controls/CustomTree.py
  • +15 -15
    controls/DebugVariablePanel/DebugVariableGraphicViewer.py
  • +15 -15
    controls/DebugVariablePanel/DebugVariableItem.py
  • +15 -15
    controls/DebugVariablePanel/DebugVariablePanel.py
  • +15 -15
    controls/DebugVariablePanel/DebugVariableTextViewer.py
  • +15 -15
    controls/DebugVariablePanel/DebugVariableViewer.py
  • +15 -15
    controls/DebugVariablePanel/GraphButton.py
  • +1 -1
    controls/DebugVariablePanel/__init__.py
  • +15 -15
    controls/DurationCellEditor.py
  • +15 -15
    controls/FolderTree.py
  • +15 -15
    controls/LibraryPanel.py
  • +15 -15
    controls/LocationCellEditor.py
  • +16 -15
    controls/LogViewer.py
  • +15 -15
    controls/PouInstanceVariablesPanel.py
  • +15 -15
    controls/ProjectPropertiesPanel.py
  • +15 -15
    controls/SearchResultPanel.py
  • +15 -15
    controls/TextCtrlAutoComplete.py
  • +15 -15
    controls/VariablePanel.py
  • +15 -15
    controls/__init__.py
  • +15 -15
    dialogs/ActionBlockDialog.py
  • +15 -15
    dialogs/ArrayTypeDialog.py
  • +16 -16
    dialogs/BlockPreviewDialog.py
  • +18 -13
    dialogs/BrowseLocationsDialog.py
  • +15 -15
    dialogs/BrowseValuesLibraryDialog.py
  • +15 -15
    dialogs/ConnectionDialog.py
  • +16 -15
    dialogs/DiscoveryDialog.py
  • +15 -15
    dialogs/DurationEditorDialog.py
  • +15 -15
    dialogs/FBDBlockDialog.py
  • +16 -16
    dialogs/FBDVariableDialog.py
  • +15 -15
    dialogs/FindInPouDialog.py
  • +15 -15
    dialogs/ForceVariableDialog.py
  • +15 -15
    dialogs/LDElementDialog.py
  • +16 -15
    dialogs/LDPowerRailDialog.py
  • +15 -15
    dialogs/PouActionDialog.py
  • +15 -15
    dialogs/PouDialog.py
  • +16 -15
    dialogs/PouNameDialog.py
  • +15 -15
    dialogs/PouTransitionDialog.py
  • +15 -15
    dialogs/ProjectDialog.py
  • +17 -16
    dialogs/SFCDivergenceDialog.py
  • +16 -15
    dialogs/SFCStepDialog.py
  • +16 -15
    dialogs/SFCStepNameDialog.py
  • +16 -15
    dialogs/SFCTransitionDialog.py
  • +15 -15
    dialogs/SearchInProjectDialog.py
  • +16 -15
    dialogs/__init__.py
  • +16 -16
    docutil/__init__.py
  • +16 -16
    docutil/dochtml.py
  • +15 -15
    docutil/docpdf.py
  • +15 -15
    docutil/docsvg.py
  • +15 -15
    editors/DataTypeEditor.py
  • +15 -15
    editors/DebugViewer.py
  • +15 -15
    editors/EditorPanel.py
  • +16 -16
    editors/FileManagementPanel.py
  • +15 -15
    editors/LDViewer.py
  • +15 -15
    editors/ResourceEditor.py
  • +15 -15
    editors/SFCViewer.py
  • +15 -15
    editors/TextViewer.py
  • +15 -15
    editors/Viewer.py
  • +15 -15
    graphics/DebugDataConsumer.py
  • +15 -15
    graphics/FBD_Objects.py
  • +15 -15
    graphics/GraphicCommons.py
  • +15 -15
    graphics/LD_Objects.py
  • +15 -15
    graphics/RubberBand.py
  • +15 -15
    graphics/SFC_Objects.py
  • +15 -15
    graphics/ToolTipProducer.py
  • +16 -16
    graphics/__init__.py
  • +15 -15
    plcopen/__init__.py
  • +15 -15
    plcopen/plcopen.py
  • +15 -15
    plcopen/structures.py
  • +15 -15
    runtime/PLCObject.py
  • +15 -15
    runtime/ServicePublisher.py
  • +16 -13
    targets/__init__.py
  • +16 -13
    targets/typemapping.py
  • +15 -15
    util/BitmapLibrary.py
  • +15 -16
    util/ProcessLogger.py
  • +15 -15
    xmlclass/__init__.py
  • +15 -15
    xmlclass/xmlclass.py
  • +15 -15
    xmlclass/xsdschema.py
  • --- a/Beremiz.py Thu Nov 17 22:57:20 2016 +0300
    +++ b/Beremiz.py Fri Nov 18 13:57:42 2016 +0300
    @@ -1,27 +1,26 @@
    #!/usr/bin/env python
    # -*- coding: utf-8 -*-
    -#This file is part of Beremiz, a Integrated Development Environment for
    -#programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    +# This file is part of Beremiz, a Integrated Development Environment for
    +# programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    #
    -#Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    +# Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    #
    -#See COPYING file for copyrights details.
    +# See COPYING file for copyrights details.
    #
    -#This library is free software; you can redistribute it and/or
    -#modify it under the terms of the GNU General Public
    -#License as published by the Free Software Foundation; either
    -#version 2.1 of the License, or (at your option) any later version.
    +# This program is free software; you can redistribute it and/or
    +# modify it under the terms of the GNU General Public License
    +# as published by the Free Software Foundation; either version 2
    +# of the License, or (at your option) any later version.
    #
    -#This library 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
    -#General Public License for more details.
    +# This program 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 General Public License for more details.
    #
    -#You should have received a copy of the GNU General Public
    -#License along with this library; if not, write to the Free Software
    -#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    -
    +# You should have received a copy of the GNU General Public License
    +# along with this program; if not, write to the Free Software
    +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    updateinfo_url = None
    --- a/Beremiz_service.py Thu Nov 17 22:57:20 2016 +0300
    +++ b/Beremiz_service.py Fri Nov 18 13:57:42 2016 +0300
    @@ -1,26 +1,26 @@
    #!/usr/bin/env python
    # -*- coding: utf-8 -*-
    -#This file is part of Beremiz, a Integrated Development Environment for
    -#programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    +# This file is part of Beremiz, a Integrated Development Environment for
    +# programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    #
    -#Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    +# Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    #
    -#See COPYING file for copyrights details.
    +# See COPYING file for copyrights details.
    #
    -#This library is free software; you can redistribute it and/or
    -#modify it under the terms of the GNU General Public
    -#License as published by the Free Software Foundation; either
    -#version 2.1 of the License, or (at your option) any later version.
    +# This program is free software; you can redistribute it and/or
    +# modify it under the terms of the GNU General Public License
    +# as published by the Free Software Foundation; either version 2
    +# of the License, or (at your option) any later version.
    #
    -#This library 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
    -#General Public License for more details.
    +# This program 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 General Public License for more details.
    #
    -#You should have received a copy of the GNU General Public
    -#License along with this library; if not, write to the Free Software
    -#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    +# You should have received a copy of the GNU General Public License
    +# along with this program; if not, write to the Free Software
    +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    import os, sys, getopt
    from threading import Thread
    --- a/PLCControler.py Thu Nov 17 22:57:20 2016 +0300
    +++ b/PLCControler.py Fri Nov 18 13:57:42 2016 +0300
    @@ -1,26 +1,26 @@
    #!/usr/bin/env python
    # -*- coding: utf-8 -*-
    -#This file is part of PLCOpenEditor, a library implementing an IEC 61131-3 editor
    -#based on the plcopen standard.
    +# This file is part of Beremiz, a Integrated Development Environment for
    +# programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    #
    -#Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    +# Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    #
    -#See COPYING file for copyrights details.
    +# See COPYING file for copyrights details.
    #
    -#This library is free software; you can redistribute it and/or
    -#modify it under the terms of the GNU General Public
    -#License as published by the Free Software Foundation; either
    -#version 2.1 of the License, or (at your option) any later version.
    +# This program is free software; you can redistribute it and/or
    +# modify it under the terms of the GNU General Public License
    +# as published by the Free Software Foundation; either version 2
    +# of the License, or (at your option) any later version.
    #
    -#This library 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
    -#General Public License for more details.
    +# This program 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 General Public License for more details.
    #
    -#You should have received a copy of the GNU General Public
    -#License along with this library; if not, write to the Free Software
    -#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    +# You should have received a copy of the GNU General Public License
    +# along with this program; if not, write to the Free Software
    +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    from xml.dom import minidom
    from types import StringType, UnicodeType, TupleType
    --- a/PLCGenerator.py Thu Nov 17 22:57:20 2016 +0300
    +++ b/PLCGenerator.py Fri Nov 18 13:57:42 2016 +0300
    @@ -1,26 +1,26 @@
    #!/usr/bin/env python
    # -*- coding: utf-8 -*-
    -#This file is part of PLCOpenEditor, a library implementing an IEC 61131-3 editor
    -#based on the plcopen standard.
    +# This file is part of Beremiz, a Integrated Development Environment for
    +# programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    #
    -#Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    +# Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    #
    -#See COPYING file for copyrights details.
    +# See COPYING file for copyrights details.
    #
    -#This library is free software; you can redistribute it and/or
    -#modify it under the terms of the GNU General Public
    -#License as published by the Free Software Foundation; either
    -#version 2.1 of the License, or (at your option) any later version.
    +# This program is free software; you can redistribute it and/or
    +# modify it under the terms of the GNU General Public License
    +# as published by the Free Software Foundation; either version 2
    +# of the License, or (at your option) any later version.
    #
    -#This library 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
    -#General Public License for more details.
    +# This program 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 General Public License for more details.
    #
    -#You should have received a copy of the GNU General Public
    -#License along with this library; if not, write to the Free Software
    -#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    +# You should have received a copy of the GNU General Public License
    +# along with this program; if not, write to the Free Software
    +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    from plcopen import PLCOpenParser
    from plcopen.structures import *
    --- a/PLCOpenEditor.py Thu Nov 17 22:57:20 2016 +0300
    +++ b/PLCOpenEditor.py Fri Nov 18 13:57:42 2016 +0300
    @@ -1,26 +1,26 @@
    #!/usr/bin/env python
    # -*- coding: utf-8 -*-
    -#This file is part of PLCOpenEditor, a library implementing an IEC 61131-3 editor
    -#based on the plcopen standard.
    +# This file is part of Beremiz, a Integrated Development Environment for
    +# programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    #
    -#Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    +# Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    #
    -#See COPYING file for copyrights details.
    +# See COPYING file for copyrights details.
    #
    -#This library is free software; you can redistribute it and/or
    -#modify it under the terms of the GNU General Public
    -#License as published by the Free Software Foundation; either
    -#version 2.1 of the License, or (at your option) any later version.
    +# This program is free software; you can redistribute it and/or
    +# modify it under the terms of the GNU General Public License
    +# as published by the Free Software Foundation; either version 2
    +# of the License, or (at your option) any later version.
    #
    -#This library 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
    -#General Public License for more details.
    +# This program 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 General Public License for more details.
    #
    -#You should have received a copy of the GNU General Public
    -#License along with this library; if not, write to the Free Software
    -#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    +# You should have received a copy of the GNU General Public License
    +# along with this program; if not, write to the Free Software
    +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    import wx
    import os, sys, platform, time, traceback, getopt
    --- a/canfestival/config_utils.py Thu Nov 17 22:57:20 2016 +0300
    +++ b/canfestival/config_utils.py Fri Nov 18 13:57:42 2016 +0300
    @@ -1,26 +1,26 @@
    #!/usr/bin/env python
    # -*- coding: utf-8 -*-
    -#This file is part of Beremiz, a Integrated Development Environment for
    -#programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    +# This file is part of Beremiz, a Integrated Development Environment for
    +# programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    #
    -#Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    +# Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    #
    -#See COPYING file for copyrights details.
    +# See COPYING file for copyrights details.
    #
    -#This library is free software; you can redistribute it and/or
    -#modify it under the terms of the GNU General Public
    -#License as published by the Free Software Foundation; either
    -#version 2.1 of the License, or (at your option) any later version.
    +# This program is free software; you can redistribute it and/or
    +# modify it under the terms of the GNU General Public License
    +# as published by the Free Software Foundation; either version 2
    +# of the License, or (at your option) any later version.
    #
    -#This library 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
    -#General Public License for more details.
    +# This program 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 General Public License for more details.
    #
    -#You should have received a copy of the GNU General Public
    -#License along with this library; if not, write to the Free Software
    -#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    +# You should have received a copy of the GNU General Public License
    +# along with this program; if not, write to the Free Software
    +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    from types import *
    --- a/connectors/PYRO/__init__.py Thu Nov 17 22:57:20 2016 +0300
    +++ b/connectors/PYRO/__init__.py Fri Nov 18 13:57:42 2016 +0300
    @@ -1,23 +1,27 @@
    #!/usr/bin/env python
    # -*- coding: utf-8 -*-
    +
    +# This file is part of Beremiz, a Integrated Development Environment for
    +# programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    #
    # Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    #
    # See COPYING file for copyrights details.
    #
    -# This library is free software; you can redistribute it and/or
    -# modify it under the terms of the GNU General Public
    -# License as published by the Free Software Foundation; either
    -# version 2.1 of the License, or (at your option) any later version.
    +# This program is free software; you can redistribute it and/or
    +# modify it under the terms of the GNU General Public License
    +# as published by the Free Software Foundation; either version 2
    +# of the License, or (at your option) any later version.
    #
    -# This library is distributed in the hope that it will be useful,
    +# This program 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
    -# General Public License for more details.
    +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    +# GNU General Public License for more details.
    #
    -# You should have received a copy of the GNU General Public
    -# License along with this library; if not, write to the Free Software
    -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    +# You should have received a copy of the GNU General Public License
    +# along with this program; if not, write to the Free Software
    +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    +
    import Pyro
    import Pyro.core
    import Pyro.util
    --- a/connectors/WAMP/__init__.py Thu Nov 17 22:57:20 2016 +0300
    +++ b/connectors/WAMP/__init__.py Fri Nov 18 13:57:42 2016 +0300
    @@ -1,23 +1,26 @@
    #!/usr/bin/env python
    # -*- coding: utf-8 -*-
    +
    +# This file is part of Beremiz, a Integrated Development Environment for
    +# programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    #
    -#Copyright (C) 2015: Edouard TISSERANT
    +# Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    #
    -#See COPYING file for copyrights details.
    +# See COPYING file for copyrights details.
    #
    -#This library is free software; you can redistribute it and/or
    -#modify it under the terms of the GNU General Public
    -#License as published by the Free Software Foundation; either
    -#version 2.1 of the License, or (at your option) any later version.
    +# This program is free software; you can redistribute it and/or
    +# modify it under the terms of the GNU General Public License
    +# as published by the Free Software Foundation; either version 2
    +# of the License, or (at your option) any later version.
    #
    -#This library 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
    -#General Public License for more details.
    +# This program 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 General Public License for more details.
    #
    -#You should have received a copy of the GNU General Public
    -#License along with this library; if not, write to the Free Software
    -#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    +# You should have received a copy of the GNU General Public License
    +# along with this program; if not, write to the Free Software
    +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    import sys, traceback, atexit
    #from twisted.python import log
    --- a/connectors/__init__.py Thu Nov 17 22:57:20 2016 +0300
    +++ b/connectors/__init__.py Fri Nov 18 13:57:42 2016 +0300
    @@ -1,23 +1,26 @@
    #!/usr/bin/env python
    # -*- coding: utf-8 -*-
    +
    +# This file is part of Beremiz, a Integrated Development Environment for
    +# programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    #
    # Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    #
    # See COPYING file for copyrights details.
    #
    -# This library is free software; you can redistribute it and/or
    -# modify it under the terms of the GNU General Public
    -# License as published by the Free Software Foundation; either
    -# version 2.1 of the License, or (at your option) any later version.
    +# This program is free software; you can redistribute it and/or
    +# modify it under the terms of the GNU General Public License
    +# as published by the Free Software Foundation; either version 2
    +# of the License, or (at your option) any later version.
    #
    -# This library is distributed in the hope that it will be useful,
    +# This program 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
    -# General Public License for more details.
    +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    +# GNU General Public License for more details.
    #
    -# You should have received a copy of the GNU General Public
    -# License along with this library; if not, write to the Free Software
    -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    +# You should have received a copy of the GNU General Public License
    +# along with this program; if not, write to the Free Software
    +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    # Package initialisation
    --- a/controls/CustomEditableListBox.py Thu Nov 17 22:57:20 2016 +0300
    +++ b/controls/CustomEditableListBox.py Fri Nov 18 13:57:42 2016 +0300
    @@ -1,26 +1,26 @@
    #!/usr/bin/env python
    # -*- coding: utf-8 -*-
    -#This file is part of PLCOpenEditor, a library implementing an IEC 61131-3 editor
    -#based on the plcopen standard.
    +# This file is part of Beremiz, a Integrated Development Environment for
    +# programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    #
    -#Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    +# Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    #
    -#See COPYING file for copyrights details.
    +# See COPYING file for copyrights details.
    #
    -#This library is free software; you can redistribute it and/or
    -#modify it under the terms of the GNU General Public
    -#License as published by the Free Software Foundation; either
    -#version 2.1 of the License, or (at your option) any later version.
    +# This program is free software; you can redistribute it and/or
    +# modify it under the terms of the GNU General Public License
    +# as published by the Free Software Foundation; either version 2
    +# of the License, or (at your option) any later version.
    #
    -#This library 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
    -#General Public License for more details.
    +# This program 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 General Public License for more details.
    #
    -#You should have received a copy of the GNU General Public
    -#License along with this library; if not, write to the Free Software
    -#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    +# You should have received a copy of the GNU General Public License
    +# along with this program; if not, write to the Free Software
    +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    import wx
    import wx.gizmos
    --- a/controls/CustomGrid.py Thu Nov 17 22:57:20 2016 +0300
    +++ b/controls/CustomGrid.py Fri Nov 18 13:57:42 2016 +0300
    @@ -1,26 +1,26 @@
    #!/usr/bin/env python
    # -*- coding: utf-8 -*-
    -#This file is part of PLCOpenEditor, a library implementing an IEC 61131-3 editor
    -#based on the plcopen standard.
    +# This file is part of Beremiz, a Integrated Development Environment for
    +# programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    #
    -#Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    +# Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    #
    -#See COPYING file for copyrights details.
    +# See COPYING file for copyrights details.
    #
    -#This library is free software; you can redistribute it and/or
    -#modify it under the terms of the GNU General Public
    -#License as published by the Free Software Foundation; either
    -#version 2.1 of the License, or (at your option) any later version.
    +# This program is free software; you can redistribute it and/or
    +# modify it under the terms of the GNU General Public License
    +# as published by the Free Software Foundation; either version 2
    +# of the License, or (at your option) any later version.
    #
    -#This library 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
    -#General Public License for more details.
    +# This program 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 General Public License for more details.
    #
    -#You should have received a copy of the GNU General Public
    -#License along with this library; if not, write to the Free Software
    -#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    +# You should have received a copy of the GNU General Public License
    +# along with this program; if not, write to the Free Software
    +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    import wx
    import wx.grid
    --- a/controls/CustomTable.py Thu Nov 17 22:57:20 2016 +0300
    +++ b/controls/CustomTable.py Fri Nov 18 13:57:42 2016 +0300
    @@ -1,19 +1,26 @@
    #!/usr/bin/env python
    # -*- coding: utf-8 -*-
    -#This library is free software; you can redistribute it and/or
    -#modify it under the terms of the GNU General Public
    -#License as published by the Free Software Foundation; either
    -#version 2.1 of the License, or (at your option) any later version.
    +# This file is part of Beremiz, a Integrated Development Environment for
    +# programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    +#
    +# Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    +#
    +# See COPYING file for copyrights details.
    #
    -#This library 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
    -#General Public License for more details.
    +# This program is free software; you can redistribute it and/or
    +# modify it under the terms of the GNU General Public License
    +# as published by the Free Software Foundation; either version 2
    +# of the License, or (at your option) any later version.
    #
    -#You should have received a copy of the GNU General Public
    -#License along with this library; if not, write to the Free Software
    -#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    +# This program 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 General Public License for more details.
    +#
    +# You should have received a copy of the GNU General Public License
    +# along with this program; if not, write to the Free Software
    +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    import wx
    import wx.grid
    --- a/controls/CustomToolTip.py Thu Nov 17 22:57:20 2016 +0300
    +++ b/controls/CustomToolTip.py Fri Nov 18 13:57:42 2016 +0300
    @@ -1,26 +1,26 @@
    #!/usr/bin/env python
    # -*- coding: utf-8 -*-
    -#This file is part of PLCOpenEditor, a library implementing an IEC 61131-3 editor
    -#based on the plcopen standard.
    +# This file is part of Beremiz, a Integrated Development Environment for
    +# programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    #
    -#Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    +# Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    #
    -#See COPYING file for copyrights details.
    +# See COPYING file for copyrights details.
    #
    -#This library is free software; you can redistribute it and/or
    -#modify it under the terms of the GNU General Public
    -#License as published by the Free Software Foundation; either
    -#version 2.1 of the License, or (at your option) any later version.
    +# This program is free software; you can redistribute it and/or
    +# modify it under the terms of the GNU General Public License
    +# as published by the Free Software Foundation; either version 2
    +# of the License, or (at your option) any later version.
    #
    -#This library 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
    -#General Public License for more details.
    +# This program 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 General Public License for more details.
    #
    -#You should have received a copy of the GNU General Public
    -#License along with this library; if not, write to the Free Software
    -#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    +# You should have received a copy of the GNU General Public License
    +# along with this program; if not, write to the Free Software
    +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    import wx
    --- a/controls/CustomTree.py Thu Nov 17 22:57:20 2016 +0300
    +++ b/controls/CustomTree.py Fri Nov 18 13:57:42 2016 +0300
    @@ -1,19 +1,26 @@
    #!/usr/bin/env python
    # -*- coding: utf-8 -*-
    -#This library is free software; you can redistribute it and/or
    -#modify it under the terms of the GNU General Public
    -#License as published by the Free Software Foundation; either
    -#version 2.1 of the License, or (at your option) any later version.
    +# This file is part of Beremiz, a Integrated Development Environment for
    +# programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    +#
    +# Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    +#
    +# See COPYING file for copyrights details.
    #
    -#This library 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
    -#General Public License for more details.
    +# This program is free software; you can redistribute it and/or
    +# modify it under the terms of the GNU General Public License
    +# as published by the Free Software Foundation; either version 2
    +# of the License, or (at your option) any later version.
    #
    -#You should have received a copy of the GNU General Public
    -#License along with this library; if not, write to the Free Software
    -#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    +# This program 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 General Public License for more details.
    +#
    +# You should have received a copy of the GNU General Public License
    +# along with this program; if not, write to the Free Software
    +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    import wx
    import wx.lib.agw.customtreectrl as CT
    --- a/controls/DebugVariablePanel/DebugVariableGraphicViewer.py Thu Nov 17 22:57:20 2016 +0300
    +++ b/controls/DebugVariablePanel/DebugVariableGraphicViewer.py Fri Nov 18 13:57:42 2016 +0300
    @@ -1,26 +1,26 @@
    #!/usr/bin/env python
    # -*- coding: utf-8 -*-
    -#This file is part of PLCOpenEditor, a library implementing an IEC 61131-3 editor
    -#based on the plcopen standard.
    +# This file is part of Beremiz, a Integrated Development Environment for
    +# programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    #
    -#Copyright (C) 2012: Edouard TISSERANT and Laurent BESSARD
    +# Copyright (C) 2012: Edouard TISSERANT and Laurent BESSARD
    #
    -#See COPYING file for copyrights details.
    +# See COPYING file for copyrights details.
    #
    -#This library is free software; you can redistribute it and/or
    -#modify it under the terms of the GNU General Public
    -#License as published by the Free Software Foundation; either
    -#version 2.1 of the License, or (at your option) any later version.
    +# This program is free software; you can redistribute it and/or
    +# modify it under the terms of the GNU General Public License
    +# as published by the Free Software Foundation; either version 2
    +# of the License, or (at your option) any later version.
    #
    -#This library 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
    -#General Public License for more details.
    +# This program 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 General Public License for more details.
    #
    -#You should have received a copy of the GNU General Public
    -#License along with this library; if not, write to the Free Software
    -#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    +# You should have received a copy of the GNU General Public License
    +# along with this program; if not, write to the Free Software
    +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    from types import TupleType
    from time import time as gettime
    --- a/controls/DebugVariablePanel/DebugVariableItem.py Thu Nov 17 22:57:20 2016 +0300
    +++ b/controls/DebugVariablePanel/DebugVariableItem.py Fri Nov 18 13:57:42 2016 +0300
    @@ -1,26 +1,26 @@
    #!/usr/bin/env python
    # -*- coding: utf-8 -*-
    -#This file is part of PLCOpenEditor, a library implementing an IEC 61131-3 editor
    -#based on the plcopen standard.
    +# This file is part of Beremiz, a Integrated Development Environment for
    +# programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    #
    -#Copyright (C) 2012: Edouard TISSERANT and Laurent BESSARD
    +# Copyright (C) 2012: Edouard TISSERANT and Laurent BESSARD
    #
    -#See COPYING file for copyrights details.
    +# See COPYING file for copyrights details.
    #
    -#This library is free software; you can redistribute it and/or
    -#modify it under the terms of the GNU General Public
    -#License as published by the Free Software Foundation; either
    -#version 2.1 of the License, or (at your option) any later version.
    +# This program is free software; you can redistribute it and/or
    +# modify it under the terms of the GNU General Public License
    +# as published by the Free Software Foundation; either version 2
    +# of the License, or (at your option) any later version.
    #
    -#This library 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
    -#General Public License for more details.
    +# This program 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 General Public License for more details.
    #
    -#You should have received a copy of the GNU General Public
    -#License along with this library; if not, write to the Free Software
    -#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    +# You should have received a copy of the GNU General Public License
    +# along with this program; if not, write to the Free Software
    +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    import numpy
    import binascii
    --- a/controls/DebugVariablePanel/DebugVariablePanel.py Thu Nov 17 22:57:20 2016 +0300
    +++ b/controls/DebugVariablePanel/DebugVariablePanel.py Fri Nov 18 13:57:42 2016 +0300
    @@ -1,26 +1,26 @@
    #!/usr/bin/env python
    # -*- coding: utf-8 -*-
    -#This file is part of PLCOpenEditor, a library implementing an IEC 61131-3 editor
    -#based on the plcopen standard.
    +# This file is part of Beremiz, a Integrated Development Environment for
    +# programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    #
    -#Copyright (C) 2012: Edouard TISSERANT and Laurent BESSARD
    +# Copyright (C) 2012: Edouard TISSERANT and Laurent BESSARD
    #
    -#See COPYING file for copyrights details.
    +# See COPYING file for copyrights details.
    #
    -#This library is free software; you can redistribute it and/or
    -#modify it under the terms of the GNU General Public
    -#License as published by the Free Software Foundation; either
    -#version 2.1 of the License, or (at your option) any later version.
    +# This program is free software; you can redistribute it and/or
    +# modify it under the terms of the GNU General Public License
    +# as published by the Free Software Foundation; either version 2
    +# of the License, or (at your option) any later version.
    #
    -#This library 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
    -#General Public License for more details.
    +# This program 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 General Public License for more details.
    #
    -#You should have received a copy of the GNU General Public
    -#License along with this library; if not, write to the Free Software
    -#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    +# You should have received a copy of the GNU General Public License
    +# along with this program; if not, write to the Free Software
    +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    from types import TupleType
    import math
    --- a/controls/DebugVariablePanel/DebugVariableTextViewer.py Thu Nov 17 22:57:20 2016 +0300
    +++ b/controls/DebugVariablePanel/DebugVariableTextViewer.py Fri Nov 18 13:57:42 2016 +0300
    @@ -1,26 +1,26 @@
    #!/usr/bin/env python
    # -*- coding: utf-8 -*-
    -#This file is part of PLCOpenEditor, a library implementing an IEC 61131-3 editor
    -#based on the plcopen standard.
    +# This file is part of Beremiz, a Integrated Development Environment for
    +# programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    #
    -#Copyright (C) 2012: Edouard TISSERANT and Laurent BESSARD
    +# Copyright (C) 2012: Edouard TISSERANT and Laurent BESSARD
    #
    -#See COPYING file for copyrights details.
    +# See COPYING file for copyrights details.
    #
    -#This library is free software; you can redistribute it and/or
    -#modify it under the terms of the GNU General Public
    -#License as published by the Free Software Foundation; either
    -#version 2.1 of the License, or (at your option) any later version.
    +# This program is free software; you can redistribute it and/or
    +# modify it under the terms of the GNU General Public License
    +# as published by the Free Software Foundation; either version 2
    +# of the License, or (at your option) any later version.
    #
    -#This library 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
    -#General Public License for more details.
    +# This program 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 General Public License for more details.
    #
    -#You should have received a copy of the GNU General Public
    -#License along with this library; if not, write to the Free Software
    -#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    +# You should have received a copy of the GNU General Public License
    +# along with this program; if not, write to the Free Software
    +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    from types import TupleType
    --- a/controls/DebugVariablePanel/DebugVariableViewer.py Thu Nov 17 22:57:20 2016 +0300
    +++ b/controls/DebugVariablePanel/DebugVariableViewer.py Fri Nov 18 13:57:42 2016 +0300
    @@ -1,26 +1,26 @@
    #!/usr/bin/env python
    # -*- coding: utf-8 -*-
    -#This file is part of PLCOpenEditor, a library implementing an IEC 61131-3 editor
    -#based on the plcopen standard.
    +# This file is part of Beremiz, a Integrated Development Environment for
    +# programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    #
    -#Copyright (C) 2012: Edouard TISSERANT and Laurent BESSARD
    +# Copyright (C) 2012: Edouard TISSERANT and Laurent BESSARD
    #
    -#See COPYING file for copyrights details.
    +# See COPYING file for copyrights details.
    #
    -#This library is free software; you can redistribute it and/or
    -#modify it under the terms of the GNU General Public
    -#License as published by the Free Software Foundation; either
    -#version 2.1 of the License, or (at your option) any later version.
    +# This program is free software; you can redistribute it and/or
    +# modify it under the terms of the GNU General Public License
    +# as published by the Free Software Foundation; either version 2
    +# of the License, or (at your option) any later version.
    #
    -#This library 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
    -#General Public License for more details.
    +# This program 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 General Public License for more details.
    #
    -#You should have received a copy of the GNU General Public
    -#License along with this library; if not, write to the Free Software
    -#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    +# You should have received a copy of the GNU General Public License
    +# along with this program; if not, write to the Free Software
    +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    from collections import OrderedDict
    --- a/controls/DebugVariablePanel/GraphButton.py Thu Nov 17 22:57:20 2016 +0300
    +++ b/controls/DebugVariablePanel/GraphButton.py Fri Nov 18 13:57:42 2016 +0300
    @@ -1,26 +1,26 @@
    #!/usr/bin/env python
    # -*- coding: utf-8 -*-
    -#This file is part of PLCOpenEditor, a library implementing an IEC 61131-3 editor
    -#based on the plcopen standard.
    +# This file is part of Beremiz, a Integrated Development Environment for
    +# programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    #
    -#Copyright (C) 2012: Edouard TISSERANT and Laurent BESSARD
    +# Copyright (C) 2012: Edouard TISSERANT and Laurent BESSARD
    #
    -#See COPYING file for copyrights details.
    +# See COPYING file for copyrights details.
    #
    -#This library is free software; you can redistribute it and/or
    -#modify it under the terms of the GNU General Public
    -#License as published by the Free Software Foundation; either
    -#version 2.1 of the License, or (at your option) any later version.
    +# This program is free software; you can redistribute it and/or
    +# modify it under the terms of the GNU General Public License
    +# as published by the Free Software Foundation; either version 2
    +# of the License, or (at your option) any later version.
    #
    -#This library 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
    -#General Public License for more details.
    +# This program 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 General Public License for more details.
    #
    -#You should have received a copy of the GNU General Public
    -#License along with this library; if not, write to the Free Software
    -#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    +# You should have received a copy of the GNU General Public License
    +# along with this program; if not, write to the Free Software
    +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    import wx
    --- a/controls/DebugVariablePanel/__init__.py Thu Nov 17 22:57:20 2016 +0300
    +++ b/controls/DebugVariablePanel/__init__.py Fri Nov 18 13:57:42 2016 +0300
    @@ -4,7 +4,7 @@
    # This file is part of Beremiz, a Integrated Development Environment for
    # programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    #
    -# Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    +# Copyright (C) 2012: Edouard TISSERANT and Laurent BESSARD
    #
    # See COPYING file for copyrights details.
    #
    --- a/controls/DurationCellEditor.py Thu Nov 17 22:57:20 2016 +0300
    +++ b/controls/DurationCellEditor.py Fri Nov 18 13:57:42 2016 +0300
    @@ -1,26 +1,26 @@
    #!/usr/bin/env python
    # -*- coding: utf-8 -*-
    -#This file is part of PLCOpenEditor, a library implementing an IEC 61131-3 editor
    -#based on the plcopen standard.
    +# This file is part of Beremiz, a Integrated Development Environment for
    +# programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    #
    -#Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    +# Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    #
    -#See COPYING file for copyrights details.
    +# See COPYING file for copyrights details.
    #
    -#This library is free software; you can redistribute it and/or
    -#modify it under the terms of the GNU General Public
    -#License as published by the Free Software Foundation; either
    -#version 2.1 of the License, or (at your option) any later version.
    +# This program is free software; you can redistribute it and/or
    +# modify it under the terms of the GNU General Public License
    +# as published by the Free Software Foundation; either version 2
    +# of the License, or (at your option) any later version.
    #
    -#This library 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
    -#General Public License for more details.
    +# This program 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 General Public License for more details.
    #
    -#You should have received a copy of the GNU General Public
    -#License along with this library; if not, write to the Free Software
    -#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    +# You should have received a copy of the GNU General Public License
    +# along with this program; if not, write to the Free Software
    +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    import wx
    --- a/controls/FolderTree.py Thu Nov 17 22:57:20 2016 +0300
    +++ b/controls/FolderTree.py Fri Nov 18 13:57:42 2016 +0300
    @@ -1,26 +1,26 @@
    #!/usr/bin/env python
    # -*- coding: utf-8 -*-
    -#This file is part of PLCOpenEditor, a library implementing an IEC 61131-3 editor
    -#based on the plcopen standard.
    +# This file is part of Beremiz, a Integrated Development Environment for
    +# programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    #
    -#Copyright (C) 2013: Edouard TISSERANT and Laurent BESSARD
    +# Copyright (C) 2013: Edouard TISSERANT and Laurent BESSARD
    #
    -#See COPYING file for copyrights details.
    +# See COPYING file for copyrights details.
    #
    -#This library is free software; you can redistribute it and/or
    -#modify it under the terms of the GNU General Public
    -#License as published by the Free Software Foundation; either
    -#version 2.1 of the License, or (at your option) any later version.
    +# This program is free software; you can redistribute it and/or
    +# modify it under the terms of the GNU General Public License
    +# as published by the Free Software Foundation; either version 2
    +# of the License, or (at your option) any later version.
    #
    -#This library 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
    -#General Public License for more details.
    +# This program 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 General Public License for more details.
    #
    -#You should have received a copy of the GNU General Public
    -#License along with this library; if not, write to the Free Software
    -#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    +# You should have received a copy of the GNU General Public License
    +# along with this program; if not, write to the Free Software
    +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    import os
    --- a/controls/LibraryPanel.py Thu Nov 17 22:57:20 2016 +0300
    +++ b/controls/LibraryPanel.py Fri Nov 18 13:57:42 2016 +0300
    @@ -1,26 +1,26 @@
    #!/usr/bin/env python
    # -*- coding: utf-8 -*-
    -#This file is part of PLCOpenEditor, a library implementing an IEC 61131-3 editor
    -#based on the plcopen standard.
    +# This file is part of Beremiz, a Integrated Development Environment for
    +# programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    #
    -#Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    +# Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    #
    -#See COPYING file for copyrights details.
    +# See COPYING file for copyrights details.
    #
    -#This library is free software; you can redistribute it and/or
    -#modify it under the terms of the GNU General Public
    -#License as published by the Free Software Foundation; either
    -#version 2.1 of the License, or (at your option) any later version.
    +# This program is free software; you can redistribute it and/or
    +# modify it under the terms of the GNU General Public License
    +# as published by the Free Software Foundation; either version 2
    +# of the License, or (at your option) any later version.
    #
    -#This library 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
    -#General Public License for more details.
    +# This program 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 General Public License for more details.
    #
    -#You should have received a copy of the GNU General Public
    -#License along with this library; if not, write to the Free Software
    -#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    +# You should have received a copy of the GNU General Public License
    +# along with this program; if not, write to the Free Software
    +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    import wx
    --- a/controls/LocationCellEditor.py Thu Nov 17 22:57:20 2016 +0300
    +++ b/controls/LocationCellEditor.py Fri Nov 18 13:57:42 2016 +0300
    @@ -1,26 +1,26 @@
    #!/usr/bin/env python
    # -*- coding: utf-8 -*-
    -#This file is part of PLCOpenEditor, a library implementing an IEC 61131-3 editor
    -#based on the plcopen standard.
    +# This file is part of Beremiz, a Integrated Development Environment for
    +# programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    #
    -#Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    +# Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    #
    -#See COPYING file for copyrights details.
    +# See COPYING file for copyrights details.
    #
    -#This library is free software; you can redistribute it and/or
    -#modify it under the terms of the GNU General Public
    -#License as published by the Free Software Foundation; either
    -#version 2.1 of the License, or (at your option) any later version.
    +# This program is free software; you can redistribute it and/or
    +# modify it under the terms of the GNU General Public License
    +# as published by the Free Software Foundation; either version 2
    +# of the License, or (at your option) any later version.
    #
    -#This library 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
    -#General Public License for more details.
    +# This program 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 General Public License for more details.
    #
    -#You should have received a copy of the GNU General Public
    -#License along with this library; if not, write to the Free Software
    -#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    +# You should have received a copy of the GNU General Public License
    +# along with this program; if not, write to the Free Software
    +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    import wx
    --- a/controls/LogViewer.py Thu Nov 17 22:57:20 2016 +0300
    +++ b/controls/LogViewer.py Fri Nov 18 13:57:42 2016 +0300
    @@ -1,26 +1,27 @@
    #!/usr/bin/env python
    # -*- coding: utf-8 -*-
    -#This file is part of PLCOpenEditor, a library implementing an IEC 61131-3 editor
    -#based on the plcopen standard.
    +# This file is part of Beremiz, a Integrated Development Environment for
    +# programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    #
    -#Copyright (C) 2013: Edouard TISSERANT and Laurent BESSARD
    +# Copyright (C) 2013: Edouard TISSERANT and Laurent BESSARD
    #
    -#See COPYING file for copyrights details.
    +# See COPYING file for copyrights details.
    #
    -#This library is free software; you can redistribute it and/or
    -#modify it under the terms of the GNU General Public
    -#License as published by the Free Software Foundation; either
    -#version 2.1 of the License, or (at your option) any later version.
    +# This program is free software; you can redistribute it and/or
    +# modify it under the terms of the GNU General Public License
    +# as published by the Free Software Foundation; either version 2
    +# of the License, or (at your option) any later version.
    #
    -#This library 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
    -#General Public License for more details.
    +# This program 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 General Public License for more details.
    #
    -#You should have received a copy of the GNU General Public
    -#License along with this library; if not, write to the Free Software
    -#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    +# You should have received a copy of the GNU General Public License
    +# along with this program; if not, write to the Free Software
    +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    +
    from datetime import datetime
    from time import time as gettime
    --- a/controls/PouInstanceVariablesPanel.py Thu Nov 17 22:57:20 2016 +0300
    +++ b/controls/PouInstanceVariablesPanel.py Fri Nov 18 13:57:42 2016 +0300
    @@ -1,26 +1,26 @@
    #!/usr/bin/env python
    # -*- coding: utf-8 -*-
    -#This file is part of PLCOpenEditor, a library implementing an IEC 61131-3 editor
    -#based on the plcopen standard.
    +# This file is part of Beremiz, a Integrated Development Environment for
    +# programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    #
    -#Copyright (C) 2012: Edouard TISSERANT and Laurent BESSARD
    +# Copyright (C) 2012: Edouard TISSERANT and Laurent BESSARD
    #
    -#See COPYING file for copyrights details.
    +# See COPYING file for copyrights details.
    #
    -#This library is free software; you can redistribute it and/or
    -#modify it under the terms of the GNU General Public
    -#License as published by the Free Software Foundation; either
    -#version 2.1 of the License, or (at your option) any later version.
    +# This program is free software; you can redistribute it and/or
    +# modify it under the terms of the GNU General Public License
    +# as published by the Free Software Foundation; either version 2
    +# of the License, or (at your option) any later version.
    #
    -#This library 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
    -#General Public License for more details.
    +# This program 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 General Public License for more details.
    #
    -#You should have received a copy of the GNU General Public
    -#License along with this library; if not, write to the Free Software
    -#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    +# You should have received a copy of the GNU General Public License
    +# along with this program; if not, write to the Free Software
    +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    from collections import namedtuple
    --- a/controls/ProjectPropertiesPanel.py Thu Nov 17 22:57:20 2016 +0300
    +++ b/controls/ProjectPropertiesPanel.py Fri Nov 18 13:57:42 2016 +0300
    @@ -1,26 +1,26 @@
    #!/usr/bin/env python
    # -*- coding: utf-8 -*-
    -#This file is part of PLCOpenEditor, a library implementing an IEC 61131-3 editor
    -#based on the plcopen standard.
    +# This file is part of Beremiz, a Integrated Development Environment for
    +# programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    #
    -#Copyright (C) 2012: Edouard TISSERANT and Laurent BESSARD
    +# Copyright (C) 2012: Edouard TISSERANT and Laurent BESSARD
    #
    -#See COPYING file for copyrights details.
    +# See COPYING file for copyrights details.
    #
    -#This library is free software; you can redistribute it and/or
    -#modify it under the terms of the GNU General Public
    -#License as published by the Free Software Foundation; either
    -#version 2.1 of the License, or (at your option) any later version.
    +# This program is free software; you can redistribute it and/or
    +# modify it under the terms of the GNU General Public License
    +# as published by the Free Software Foundation; either version 2
    +# of the License, or (at your option) any later version.
    #
    -#This library 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
    -#General Public License for more details.
    +# This program 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 General Public License for more details.
    #
    -#You should have received a copy of the GNU General Public
    -#License along with this library; if not, write to the Free Software
    -#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    +# You should have received a copy of the GNU General Public License
    +# along with this program; if not, write to the Free Software
    +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    import wx
    --- a/controls/SearchResultPanel.py Thu Nov 17 22:57:20 2016 +0300
    +++ b/controls/SearchResultPanel.py Fri Nov 18 13:57:42 2016 +0300
    @@ -1,26 +1,26 @@
    #!/usr/bin/env python
    # -*- coding: utf-8 -*-
    -#This file is part of PLCOpenEditor, a library implementing an IEC 61131-3 editor
    -#based on the plcopen standard.
    +# This file is part of Beremiz, a Integrated Development Environment for
    +# programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    #
    -#Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    +# Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    #
    -#See COPYING file for copyrights details.
    +# See COPYING file for copyrights details.
    #
    -#This library is free software; you can redistribute it and/or
    -#modify it under the terms of the GNU General Public
    -#License as published by the Free Software Foundation; either
    -#version 2.1 of the License, or (at your option) any later version.
    +# This program is free software; you can redistribute it and/or
    +# modify it under the terms of the GNU General Public License
    +# as published by the Free Software Foundation; either version 2
    +# of the License, or (at your option) any later version.
    #
    -#This library 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
    -#General Public License for more details.
    +# This program 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 General Public License for more details.
    #
    -#You should have received a copy of the GNU General Public
    -#License along with this library; if not, write to the Free Software
    -#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    +# You should have received a copy of the GNU General Public License
    +# along with this program; if not, write to the Free Software
    +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    from types import TupleType
    --- a/controls/TextCtrlAutoComplete.py Thu Nov 17 22:57:20 2016 +0300
    +++ b/controls/TextCtrlAutoComplete.py Fri Nov 18 13:57:42 2016 +0300
    @@ -1,26 +1,26 @@
    #!/usr/bin/env python
    # -*- coding: utf-8 -*-
    -#This file is part of Beremiz, a Integrated Development Environment for
    -#programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    +# This file is part of Beremiz, a Integrated Development Environment for
    +# programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    #
    -#Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    +# Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    #
    -#See COPYING file for copyrights details.
    +# See COPYING file for copyrights details.
    #
    -#This library is free software; you can redistribute it and/or
    -#modify it under the terms of the GNU General Public
    -#License as published by the Free Software Foundation; either
    -#version 2.1 of the License, or (at your option) any later version.
    +# This program is free software; you can redistribute it and/or
    +# modify it under the terms of the GNU General Public License
    +# as published by the Free Software Foundation; either version 2
    +# of the License, or (at your option) any later version.
    #
    -#This library 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
    -#General Public License for more details.
    +# This program 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 General Public License for more details.
    #
    -#You should have received a copy of the GNU General Public
    -#License along with this library; if not, write to the Free Software
    -#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    +# You should have received a copy of the GNU General Public License
    +# along with this program; if not, write to the Free Software
    +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    import wx
    import cPickle
    --- a/controls/VariablePanel.py Thu Nov 17 22:57:20 2016 +0300
    +++ b/controls/VariablePanel.py Fri Nov 18 13:57:42 2016 +0300
    @@ -1,26 +1,26 @@
    #!/usr/bin/env python
    # -*- coding: utf-8 -*-
    -#This file is part of PLCOpenEditor, a library implementing an IEC 61131-3 editor
    -#based on the plcopen standard.
    +# This file is part of Beremiz, a Integrated Development Environment for
    +# programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    #
    -#Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    +# Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    #
    -#See COPYING file for copyrights details.
    +# See COPYING file for copyrights details.
    #
    -#This library is free software; you can redistribute it and/or
    -#modify it under the terms of the GNU General Public
    -#License as published by the Free Software Foundation; either
    -#version 2.1 of the License, or (at your option) any later version.
    +# This program is free software; you can redistribute it and/or
    +# modify it under the terms of the GNU General Public License
    +# as published by the Free Software Foundation; either version 2
    +# of the License, or (at your option) any later version.
    #
    -#This library 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
    -#General Public License for more details.
    +# This program 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 General Public License for more details.
    #
    -#You should have received a copy of the GNU General Public
    -#License along with this library; if not, write to the Free Software
    -#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    +# You should have received a copy of the GNU General Public License
    +# along with this program; if not, write to the Free Software
    +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    import os
    import re
    --- a/controls/__init__.py Thu Nov 17 22:57:20 2016 +0300
    +++ b/controls/__init__.py Fri Nov 18 13:57:42 2016 +0300
    @@ -1,26 +1,26 @@
    #!/usr/bin/env python
    # -*- coding: utf-8 -*-
    -#This file is part of PLCOpenEditor, a library implementing an IEC 61131-3 editor
    -#based on the plcopen standard.
    +# This file is part of Beremiz, a Integrated Development Environment for
    +# programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    #
    -#Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    +# Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    #
    -#See COPYING file for copyrights details.
    +# See COPYING file for copyrights details.
    #
    -#This library is free software; you can redistribute it and/or
    -#modify it under the terms of the GNU General Public
    -#License as published by the Free Software Foundation; either
    -#version 2.1 of the License, or (at your option) any later version.
    +# This program is free software; you can redistribute it and/or
    +# modify it under the terms of the GNU General Public License
    +# as published by the Free Software Foundation; either version 2
    +# of the License, or (at your option) any later version.
    #
    -#This library 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
    -#General Public License for more details.
    +# This program 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 General Public License for more details.
    #
    -#You should have received a copy of the GNU General Public
    -#License along with this library; if not, write to the Free Software
    -#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    +# You should have received a copy of the GNU General Public License
    +# along with this program; if not, write to the Free Software
    +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    # Package initialization
    --- a/dialogs/ActionBlockDialog.py Thu Nov 17 22:57:20 2016 +0300
    +++ b/dialogs/ActionBlockDialog.py Fri Nov 18 13:57:42 2016 +0300
    @@ -1,25 +1,25 @@
    # -*- coding: utf-8 -*-
    -#This file is part of PLCOpenEditor, a library implementing an IEC 61131-3 editor
    -#based on the plcopen standard.
    +# This file is part of Beremiz, a Integrated Development Environment for
    +# programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    #
    -#Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    +# Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    #
    -#See COPYING file for copyrights details.
    +# See COPYING file for copyrights details.
    #
    -#This library is free software; you can redistribute it and/or
    -#modify it under the terms of the GNU General Public
    -#License as published by the Free Software Foundation; either
    -#version 2.1 of the License, or (at your option) any later version.
    +# This program is free software; you can redistribute it and/or
    +# modify it under the terms of the GNU General Public License
    +# as published by the Free Software Foundation; either version 2
    +# of the License, or (at your option) any later version.
    #
    -#This library 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
    -#General Public License for more details.
    +# This program 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 General Public License for more details.
    #
    -#You should have received a copy of the GNU General Public
    -#License along with this library; if not, write to the Free Software
    -#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    +# You should have received a copy of the GNU General Public License
    +# along with this program; if not, write to the Free Software
    +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    import wx
    import wx.grid
    --- a/dialogs/ArrayTypeDialog.py Thu Nov 17 22:57:20 2016 +0300
    +++ b/dialogs/ArrayTypeDialog.py Fri Nov 18 13:57:42 2016 +0300
    @@ -1,25 +1,25 @@
    # -*- coding: utf-8 -*-
    -#This file is part of PLCOpenEditor, a library implementing an IEC 61131-3 editor
    -#based on the plcopen standard.
    +# This file is part of Beremiz, a Integrated Development Environment for
    +# programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    #
    -#Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    +# Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    #
    -#See COPYING file for copyrights details.
    +# See COPYING file for copyrights details.
    #
    -#This library is free software; you can redistribute it and/or
    -#modify it under the terms of the GNU General Public
    -#License as published by the Free Software Foundation; either
    -#version 2.1 of the License, or (at your option) any later version.
    +# This program is free software; you can redistribute it and/or
    +# modify it under the terms of the GNU General Public License
    +# as published by the Free Software Foundation; either version 2
    +# of the License, or (at your option) any later version.
    #
    -#This library 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
    -#General Public License for more details.
    +# This program 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 General Public License for more details.
    #
    -#You should have received a copy of the GNU General Public
    -#License along with this library; if not, write to the Free Software
    -#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    +# You should have received a copy of the GNU General Public License
    +# along with this program; if not, write to the Free Software
    +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    import re
    from types import TupleType
    --- a/dialogs/BlockPreviewDialog.py Thu Nov 17 22:57:20 2016 +0300
    +++ b/dialogs/BlockPreviewDialog.py Fri Nov 18 13:57:42 2016 +0300
    @@ -1,26 +1,26 @@
    #!/usr/bin/env python
    # -*- coding: utf-8 -*-
    -#This file is part of PLCOpenEditor, a library implementing an IEC 61131-3 editor
    -#based on the plcopen standard.
    +# This file is part of Beremiz, a Integrated Development Environment for
    +# programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    #
    -#Copyright (C) 2013: Edouard TISSERANT and Laurent BESSARD
    +# Copyright (C) 2013: Edouard TISSERANT and Laurent BESSARD
    #
    -#See COPYING file for copyrights details.
    +# See COPYING file for copyrights details.
    #
    -#This library is free software; you can redistribute it and/or
    -#modify it under the terms of the GNU General Public
    -#License as published by the Free Software Foundation; either
    -#version 2.1 of the License, or (at your option) any later version.
    +# This program is free software; you can redistribute it and/or
    +# modify it under the terms of the GNU General Public License
    +# as published by the Free Software Foundation; either version 2
    +# of the License, or (at your option) any later version.
    #
    -#This library 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
    -#General Public License for more details.
    +# This program 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 General Public License for more details.
    #
    -#You should have received a copy of the GNU General Public
    -#License along with this library; if not, write to the Free Software
    -#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    +# You should have received a copy of the GNU General Public License
    +# along with this program; if not, write to the Free Software
    +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    import wx
    @@ -300,4 +300,4 @@
    """
    self.RefreshPreview()
    event.Skip()
    -
    \ No newline at end of file
    +
    --- a/dialogs/BrowseLocationsDialog.py Thu Nov 17 22:57:20 2016 +0300
    +++ b/dialogs/BrowseLocationsDialog.py Fri Nov 18 13:57:42 2016 +0300
    @@ -1,21 +1,26 @@
    +#!/usr/bin/env python
    +# -*- coding: utf-8 -*-
    +
    +# This file is part of Beremiz, a Integrated Development Environment for
    +# programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    #
    -#Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    +# Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    #
    -#See COPYING file for copyrights details.
    +# See COPYING file for copyrights details.
    #
    -#This library is free software; you can redistribute it and/or
    -#modify it under the terms of the GNU General Public
    -#License as published by the Free Software Foundation; either
    -#version 2.1 of the License, or (at your option) any later version.
    +# This program is free software; you can redistribute it and/or
    +# modify it under the terms of the GNU General Public License
    +# as published by the Free Software Foundation; either version 2
    +# of the License, or (at your option) any later version.
    #
    -#This library 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
    -#General Public License for more details.
    +# This program 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 General Public License for more details.
    #
    -#You should have received a copy of the GNU General Public
    -#License along with this library; if not, write to the Free Software
    -#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    +# You should have received a copy of the GNU General Public License
    +# along with this program; if not, write to the Free Software
    +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.#
    import os
    --- a/dialogs/BrowseValuesLibraryDialog.py Thu Nov 17 22:57:20 2016 +0300
    +++ b/dialogs/BrowseValuesLibraryDialog.py Fri Nov 18 13:57:42 2016 +0300
    @@ -1,26 +1,26 @@
    #!/usr/bin/env python
    # -*- coding: utf-8 -*-
    -#This file is part of Beremiz, a Integrated Development Environment for
    -#programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    +# This file is part of Beremiz, a Integrated Development Environment for
    +# programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    #
    -#Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    +# Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    #
    -#See COPYING file for copyrights details.
    +# See COPYING file for copyrights details.
    #
    -#This library is free software; you can redistribute it and/or
    -#modify it under the terms of the GNU General Public
    -#License as published by the Free Software Foundation; either
    -#version 2.1 of the License, or (at your option) any later version.
    +# This program is free software; you can redistribute it and/or
    +# modify it under the terms of the GNU General Public License
    +# as published by the Free Software Foundation; either version 2
    +# of the License, or (at your option) any later version.
    #
    -#This library 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
    -#General Public License for more details.
    +# This program 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 General Public License for more details.
    #
    -#You should have received a copy of the GNU General Public
    -#License along with this library; if not, write to the Free Software
    -#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    +# You should have received a copy of the GNU General Public License
    +# along with this program; if not, write to the Free Software
    +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    import wx
    --- a/dialogs/ConnectionDialog.py Thu Nov 17 22:57:20 2016 +0300
    +++ b/dialogs/ConnectionDialog.py Fri Nov 18 13:57:42 2016 +0300
    @@ -1,26 +1,26 @@
    #!/usr/bin/env python
    # -*- coding: utf-8 -*-
    -#This file is part of PLCOpenEditor, a library implementing an IEC 61131-3 editor
    -#based on the plcopen standard.
    +# This file is part of Beremiz, a Integrated Development Environment for
    +# programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    #
    -#Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    +# Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    #
    -#See COPYING file for copyrights details.
    +# See COPYING file for copyrights details.
    #
    -#This library is free software; you can redistribute it and/or
    -#modify it under the terms of the GNU General Public
    -#License as published by the Free Software Foundation; either
    -#version 2.1 of the License, or (at your option) any later version.
    +# This program is free software; you can redistribute it and/or
    +# modify it under the terms of the GNU General Public License
    +# as published by the Free Software Foundation; either version 2
    +# of the License, or (at your option) any later version.
    #
    -#This library 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
    -#General Public License for more details.
    +# This program 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 General Public License for more details.
    #
    -#You should have received a copy of the GNU General Public
    -#License along with this library; if not, write to the Free Software
    -#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    +# You should have received a copy of the GNU General Public License
    +# along with this program; if not, write to the Free Software
    +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    import wx
    --- a/dialogs/DiscoveryDialog.py Thu Nov 17 22:57:20 2016 +0300
    +++ b/dialogs/DiscoveryDialog.py Fri Nov 18 13:57:42 2016 +0300
    @@ -1,25 +1,26 @@
    +#!/usr/bin/env python
    # -*- coding: utf-8 -*-
    -#This file is part of Beremiz, a Integrated Development Environment for
    -#programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    +# This file is part of Beremiz, a Integrated Development Environment for
    +# programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    #
    -#Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    +# Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    #
    -#See COPYING file for copyrights details.
    +# See COPYING file for copyrights details.
    #
    -#This library is free software; you can redistribute it and/or
    -#modify it under the terms of the GNU General Public
    -#License as published by the Free Software Foundation; either
    -#version 2.1 of the License, or (at your option) any later version.
    +# This program is free software; you can redistribute it and/or
    +# modify it under the terms of the GNU General Public License
    +# as published by the Free Software Foundation; either version 2
    +# of the License, or (at your option) any later version.
    #
    -#This library 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
    -#General Public License for more details.
    +# This program 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 General Public License for more details.
    #
    -#You should have received a copy of the GNU General Public
    -#License along with this library; if not, write to the Free Software
    -#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    +# You should have received a copy of the GNU General Public License
    +# along with this program; if not, write to the Free Software
    +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    import socket
    import wx
    --- a/dialogs/DurationEditorDialog.py Thu Nov 17 22:57:20 2016 +0300
    +++ b/dialogs/DurationEditorDialog.py Fri Nov 18 13:57:42 2016 +0300
    @@ -1,26 +1,26 @@
    #!/usr/bin/env python
    # -*- coding: utf-8 -*-
    -#This file is part of PLCOpenEditor, a library implementing an IEC 61131-3 editor
    -#based on the plcopen standard.
    +# This file is part of Beremiz, a Integrated Development Environment for
    +# programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    #
    -#Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    +# Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    #
    -#See COPYING file for copyrights details.
    +# See COPYING file for copyrights details.
    #
    -#This library is free software; you can redistribute it and/or
    -#modify it under the terms of the GNU General Public
    -#License as published by the Free Software Foundation; either
    -#version 2.1 of the License, or (at your option) any later version.
    +# This program is free software; you can redistribute it and/or
    +# modify it under the terms of the GNU General Public License
    +# as published by the Free Software Foundation; either version 2
    +# of the License, or (at your option) any later version.
    #
    -#This library 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
    -#General Public License for more details.
    +# This program 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 General Public License for more details.
    #
    -#You should have received a copy of the GNU General Public
    -#License along with this library; if not, write to the Free Software
    -#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    +# You should have received a copy of the GNU General Public License
    +# along with this program; if not, write to the Free Software
    +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    import re
    --- a/dialogs/FBDBlockDialog.py Thu Nov 17 22:57:20 2016 +0300
    +++ b/dialogs/FBDBlockDialog.py Fri Nov 18 13:57:42 2016 +0300
    @@ -1,26 +1,26 @@
    #!/usr/bin/env python
    # -*- coding: utf-8 -*-
    -#This file is part of PLCOpenEditor, a library implementing an IEC 61131-3 editor
    -#based on the plcopen standard.
    +# This file is part of Beremiz, a Integrated Development Environment for
    +# programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    #
    -#Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    +# Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    #
    -#See COPYING file for copyrights details.
    +# See COPYING file for copyrights details.
    #
    -#This library is free software; you can redistribute it and/or
    -#modify it under the terms of the GNU General Public
    -#License as published by the Free Software Foundation; either
    -#version 2.1 of the License, or (at your option) any later version.
    +# This program is free software; you can redistribute it and/or
    +# modify it under the terms of the GNU General Public License
    +# as published by the Free Software Foundation; either version 2
    +# of the License, or (at your option) any later version.
    #
    -#This library 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
    -#General Public License for more details.
    +# This program 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 General Public License for more details.
    #
    -#You should have received a copy of the GNU General Public
    -#License along with this library; if not, write to the Free Software
    -#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    +# You should have received a copy of the GNU General Public License
    +# along with this program; if not, write to the Free Software
    +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    import re
    --- a/dialogs/FBDVariableDialog.py Thu Nov 17 22:57:20 2016 +0300
    +++ b/dialogs/FBDVariableDialog.py Fri Nov 18 13:57:42 2016 +0300
    @@ -1,26 +1,26 @@
    #!/usr/bin/env python
    # -*- coding: utf-8 -*-
    -#This file is part of PLCOpenEditor, a library implementing an IEC 61131-3 editor
    -#based on the plcopen standard.
    +# This file is part of Beremiz, a Integrated Development Environment for
    +# programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    #
    -#Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    +# Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    #
    -#See COPYING file for copyrights details.
    +# See COPYING file for copyrights details.
    #
    -#This library is free software; you can redistribute it and/or
    -#modify it under the terms of the GNU General Public
    -#License as published by the Free Software Foundation; either
    -#version 2.1 of the License, or (at your option) any later version.
    +# This program is free software; you can redistribute it and/or
    +# modify it under the terms of the GNU General Public License
    +# as published by the Free Software Foundation; either version 2
    +# of the License, or (at your option) any later version.
    #
    -#This library 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
    -#General Public License for more details.
    +# This program 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 General Public License for more details.
    #
    -#You should have received a copy of the GNU General Public
    -#License along with this library; if not, write to the Free Software
    -#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    +# You should have received a copy of the GNU General Public License
    +# along with this program; if not, write to the Free Software
    +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    import wx
    @@ -287,4 +287,4 @@
    # Call BlockPreviewDialog function
    BlockPreviewDialog.RefreshPreview(self)
    -
    \ No newline at end of file
    +
    --- a/dialogs/FindInPouDialog.py Thu Nov 17 22:57:20 2016 +0300
    +++ b/dialogs/FindInPouDialog.py Fri Nov 18 13:57:42 2016 +0300
    @@ -1,26 +1,26 @@
    #!/usr/bin/env python
    # -*- coding: utf-8 -*-
    -#This file is part of PLCOpenEditor, a library implementing an IEC 61131-3 editor
    -#based on the plcopen standard.
    +# This file is part of Beremiz, a Integrated Development Environment for
    +# programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    #
    -#Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    +# Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    #
    -#See COPYING file for copyrights details.
    +# See COPYING file for copyrights details.
    #
    -#This library is free software; you can redistribute it and/or
    -#modify it under the terms of the GNU General Public
    -#License as published by the Free Software Foundation; either
    -#version 2.1 of the License, or (at your option) any later version.
    +# This program is free software; you can redistribute it and/or
    +# modify it under the terms of the GNU General Public License
    +# as published by the Free Software Foundation; either version 2
    +# of the License, or (at your option) any later version.
    #
    -#This library 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
    -#General Public License for more details.
    +# This program 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 General Public License for more details.
    #
    -#You should have received a copy of the GNU General Public
    -#License along with this library; if not, write to the Free Software
    -#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    +# You should have received a copy of the GNU General Public License
    +# along with this program; if not, write to the Free Software
    +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    import wx
    from plcopen.plcopen import *
    --- a/dialogs/ForceVariableDialog.py Thu Nov 17 22:57:20 2016 +0300
    +++ b/dialogs/ForceVariableDialog.py Fri Nov 18 13:57:42 2016 +0300
    @@ -1,25 +1,25 @@
    # -*- coding: utf-8 -*-
    -#This file is part of PLCOpenEditor, a library implementing an IEC 61131-3 editor
    -#based on the plcopen standard.
    +# This file is part of Beremiz, a Integrated Development Environment for
    +# programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    #
    -#Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    +# Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    #
    -#See COPYING file for copyrights details.
    +# See COPYING file for copyrights details.
    #
    -#This library is free software; you can redistribute it and/or
    -#modify it under the terms of the GNU General Public
    -#License as published by the Free Software Foundation; either
    -#version 2.1 of the License, or (at your option) any later version.
    +# This program is free software; you can redistribute it and/or
    +# modify it under the terms of the GNU General Public License
    +# as published by the Free Software Foundation; either version 2
    +# of the License, or (at your option) any later version.
    #
    -#This library 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
    -#General Public License for more details.
    +# This program 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 General Public License for more details.
    #
    -#You should have received a copy of the GNU General Public
    -#License along with this library; if not, write to the Free Software
    -#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    +# You should have received a copy of the GNU General Public License
    +# along with this program; if not, write to the Free Software
    +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    import re
    import datetime
    --- a/dialogs/LDElementDialog.py Thu Nov 17 22:57:20 2016 +0300
    +++ b/dialogs/LDElementDialog.py Fri Nov 18 13:57:42 2016 +0300
    @@ -1,26 +1,26 @@
    #!/usr/bin/env python
    # -*- coding: utf-8 -*-
    -#This file is part of PLCOpenEditor, a library implementing an IEC 61131-3 editor
    -#based on the plcopen standard.
    +# This file is part of Beremiz, a Integrated Development Environment for
    +# programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    #
    -#Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    +# Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    #
    -#See COPYING file for copyrights details.
    +# See COPYING file for copyrights details.
    #
    -#This library is free software; you can redistribute it and/or
    -#modify it under the terms of the GNU General Public
    -#License as published by the Free Software Foundation; either
    -#version 2.1 of the License, or (at your option) any later version.
    +# This program is free software; you can redistribute it and/or
    +# modify it under the terms of the GNU General Public License
    +# as published by the Free Software Foundation; either version 2
    +# of the License, or (at your option) any later version.
    #
    -#This library 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
    -#General Public License for more details.
    +# This program 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 General Public License for more details.
    #
    -#You should have received a copy of the GNU General Public
    -#License along with this library; if not, write to the Free Software
    -#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    +# You should have received a copy of the GNU General Public License
    +# along with this program; if not, write to the Free Software
    +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    import wx
    --- a/dialogs/LDPowerRailDialog.py Thu Nov 17 22:57:20 2016 +0300
    +++ b/dialogs/LDPowerRailDialog.py Fri Nov 18 13:57:42 2016 +0300
    @@ -1,25 +1,26 @@
    +#!/usr/bin/env python
    # -*- coding: utf-8 -*-
    -#This file is part of PLCOpenEditor, a library implementing an IEC 61131-3 editor
    -#based on the plcopen standard.
    +# This file is part of Beremiz, a Integrated Development Environment for
    +# programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    #
    -#Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    +# Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    #
    -#See COPYING file for copyrights details.
    +# See COPYING file for copyrights details.
    #
    -#This library is free software; you can redistribute it and/or
    -#modify it under the terms of the GNU General Public
    -#License as published by the Free Software Foundation; either
    -#version 2.1 of the License, or (at your option) any later version.
    +# This program is free software; you can redistribute it and/or
    +# modify it under the terms of the GNU General Public License
    +# as published by the Free Software Foundation; either version 2
    +# of the License, or (at your option) any later version.
    #
    -#This library 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
    -#General Public License for more details.
    +# This program 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 General Public License for more details.
    #
    -#You should have received a copy of the GNU General Public
    -#License along with this library; if not, write to the Free Software
    -#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    +# You should have received a copy of the GNU General Public License
    +# along with this program; if not, write to the Free Software
    +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    import wx
    --- a/dialogs/PouActionDialog.py Thu Nov 17 22:57:20 2016 +0300
    +++ b/dialogs/PouActionDialog.py Fri Nov 18 13:57:42 2016 +0300
    @@ -1,26 +1,26 @@
    #!/usr/bin/env python
    # -*- coding: utf-8 -*-
    -#This file is part of PLCOpenEditor, a library implementing an IEC 61131-3 editor
    -#based on the plcopen standard.
    +# This file is part of Beremiz, a Integrated Development Environment for
    +# programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    #
    -#Copyright (C) 2012: Edouard TISSERANT and Laurent BESSARD
    +# Copyright (C) 2012: Edouard TISSERANT and Laurent BESSARD
    #
    -#See COPYING file for copyrights details.
    +# See COPYING file for copyrights details.
    #
    -#This library is free software; you can redistribute it and/or
    -#modify it under the terms of the GNU General Public
    -#License as published by the Free Software Foundation; either
    -#version 2.1 of the License, or (at your option) any later version.
    +# This program is free software; you can redistribute it and/or
    +# modify it under the terms of the GNU General Public License
    +# as published by the Free Software Foundation; either version 2
    +# of the License, or (at your option) any later version.
    #
    -#This library 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
    -#General Public License for more details.
    +# This program 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 General Public License for more details.
    #
    -#You should have received a copy of the GNU General Public
    -#License along with this library; if not, write to the Free Software
    -#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    +# You should have received a copy of the GNU General Public License
    +# along with this program; if not, write to the Free Software
    +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    import wx
    --- a/dialogs/PouDialog.py Thu Nov 17 22:57:20 2016 +0300
    +++ b/dialogs/PouDialog.py Fri Nov 18 13:57:42 2016 +0300
    @@ -1,26 +1,26 @@
    #!/usr/bin/env python
    # -*- coding: utf-8 -*-
    -#This file is part of PLCOpenEditor, a library implementing an IEC 61131-3 editor
    -#based on the plcopen standard.
    +# This file is part of Beremiz, a Integrated Development Environment for
    +# programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    #
    -#Copyright (C) 2012: Edouard TISSERANT and Laurent BESSARD
    +# Copyright (C) 2012: Edouard TISSERANT and Laurent BESSARD
    #
    -#See COPYING file for copyrights details.
    +# See COPYING file for copyrights details.
    #
    -#This library is free software; you can redistribute it and/or
    -#modify it under the terms of the GNU General Public
    -#License as published by the Free Software Foundation; either
    -#version 2.1 of the License, or (at your option) any later version.
    +# This program is free software; you can redistribute it and/or
    +# modify it under the terms of the GNU General Public License
    +# as published by the Free Software Foundation; either version 2
    +# of the License, or (at your option) any later version.
    #
    -#This library 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
    -#General Public License for more details.
    +# This program 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 General Public License for more details.
    #
    -#You should have received a copy of the GNU General Public
    -#License along with this library; if not, write to the Free Software
    -#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    +# You should have received a copy of the GNU General Public License
    +# along with this program; if not, write to the Free Software
    +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    import wx
    --- a/dialogs/PouNameDialog.py Thu Nov 17 22:57:20 2016 +0300
    +++ b/dialogs/PouNameDialog.py Fri Nov 18 13:57:42 2016 +0300
    @@ -1,25 +1,26 @@
    +#!/usr/bin/env python
    # -*- coding: utf-8 -*-
    -#This file is part of PLCOpenEditor, a library implementing an IEC 61131-3 editor
    -#based on the plcopen standard.
    +# This file is part of Beremiz, a Integrated Development Environment for
    +# programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    #
    -#Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    +# Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    #
    -#See COPYING file for copyrights details.
    +# See COPYING file for copyrights details.
    #
    -#This library is free software; you can redistribute it and/or
    -#modify it under the terms of the GNU General Public
    -#License as published by the Free Software Foundation; either
    -#version 2.1 of the License, or (at your option) any later version.
    +# This program is free software; you can redistribute it and/or
    +# modify it under the terms of the GNU General Public License
    +# as published by the Free Software Foundation; either version 2
    +# of the License, or (at your option) any later version.
    #
    -#This library 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
    -#General Public License for more details.
    +# This program 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 General Public License for more details.
    #
    -#You should have received a copy of the GNU General Public
    -#License along with this library; if not, write to the Free Software
    -#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    +# You should have received a copy of the GNU General Public License
    +# along with this program; if not, write to the Free Software
    +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    import wx
    --- a/dialogs/PouTransitionDialog.py Thu Nov 17 22:57:20 2016 +0300
    +++ b/dialogs/PouTransitionDialog.py Fri Nov 18 13:57:42 2016 +0300
    @@ -1,26 +1,26 @@
    #!/usr/bin/env python
    # -*- coding: utf-8 -*-
    -#This file is part of PLCOpenEditor, a library implementing an IEC 61131-3 editor
    -#based on the plcopen standard.
    +# This file is part of Beremiz, a Integrated Development Environment for
    +# programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    #
    -#Copyright (C) 2012: Edouard TISSERANT and Laurent BESSARD
    +# Copyright (C) 2012: Edouard TISSERANT and Laurent BESSARD
    #
    -#See COPYING file for copyrights details.
    +# See COPYING file for copyrights details.
    #
    -#This library is free software; you can redistribute it and/or
    -#modify it under the terms of the GNU General Public
    -#License as published by the Free Software Foundation; either
    -#version 2.1 of the License, or (at your option) any later version.
    +# This program is free software; you can redistribute it and/or
    +# modify it under the terms of the GNU General Public License
    +# as published by the Free Software Foundation; either version 2
    +# of the License, or (at your option) any later version.
    #
    -#This library 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
    -#General Public License for more details.
    +# This program 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 General Public License for more details.
    #
    -#You should have received a copy of the GNU General Public
    -#License along with this library; if not, write to the Free Software
    -#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    +# You should have received a copy of the GNU General Public License
    +# along with this program; if not, write to the Free Software
    +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    import wx
    --- a/dialogs/ProjectDialog.py Thu Nov 17 22:57:20 2016 +0300
    +++ b/dialogs/ProjectDialog.py Fri Nov 18 13:57:42 2016 +0300
    @@ -1,26 +1,26 @@
    #!/usr/bin/env python
    # -*- coding: utf-8 -*-
    -#This file is part of PLCOpenEditor, a library implementing an IEC 61131-3 editor
    -#based on the plcopen standard.
    +# This file is part of Beremiz, a Integrated Development Environment for
    +# programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    #
    -#Copyright (C) 2012: Edouard TISSERANT and Laurent BESSARD
    +# Copyright (C) 2012: Edouard TISSERANT and Laurent BESSARD
    #
    -#See COPYING file for copyrights details.
    +# See COPYING file for copyrights details.
    #
    -#This library is free software; you can redistribute it and/or
    -#modify it under the terms of the GNU General Public
    -#License as published by the Free Software Foundation; either
    -#version 2.1 of the License, or (at your option) any later version.
    +# This program is free software; you can redistribute it and/or
    +# modify it under the terms of the GNU General Public License
    +# as published by the Free Software Foundation; either version 2
    +# of the License, or (at your option) any later version.
    #
    -#This library 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
    -#General Public License for more details.
    +# This program 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 General Public License for more details.
    #
    -#You should have received a copy of the GNU General Public
    -#License along with this library; if not, write to the Free Software
    -#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    +# You should have received a copy of the GNU General Public License
    +# along with this program; if not, write to the Free Software
    +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    import wx
    --- a/dialogs/SFCDivergenceDialog.py Thu Nov 17 22:57:20 2016 +0300
    +++ b/dialogs/SFCDivergenceDialog.py Fri Nov 18 13:57:42 2016 +0300
    @@ -1,25 +1,26 @@
    +#!/usr/bin/env python
    # -*- coding: utf-8 -*-
    -#This file is part of PLCOpenEditor, a library implementing an IEC 61131-3 editor
    -#based on the plcopen standard.
    +# This file is part of Beremiz, a Integrated Development Environment for
    +# programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    #
    -#Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    +# Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    #
    -#See COPYING file for copyrights details.
    +# See COPYING file for copyrights details.
    #
    -#This library is free software; you can redistribute it and/or
    -#modify it under the terms of the GNU General Public
    -#License as published by the Free Software Foundation; either
    -#version 2.1 of the License, or (at your option) any later version.
    +# This program is free software; you can redistribute it and/or
    +# modify it under the terms of the GNU General Public License
    +# as published by the Free Software Foundation; either version 2
    +# of the License, or (at your option) any later version.
    #
    -#This library 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
    -#General Public License for more details.
    +# This program 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 General Public License for more details.
    #
    -#You should have received a copy of the GNU General Public
    -#License along with this library; if not, write to the Free Software
    -#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    +# You should have received a copy of the GNU General Public License
    +# along with this program; if not, write to the Free Software
    +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    import wx
    @@ -151,4 +152,4 @@
    # Call BlockPreviewDialog function
    BlockPreviewDialog.RefreshPreview(self)
    -
    \ No newline at end of file
    +
    --- a/dialogs/SFCStepDialog.py Thu Nov 17 22:57:20 2016 +0300
    +++ b/dialogs/SFCStepDialog.py Fri Nov 18 13:57:42 2016 +0300
    @@ -1,25 +1,26 @@
    +#!/usr/bin/env python
    # -*- coding: utf-8 -*-
    -#This file is part of PLCOpenEditor, a library implementing an IEC 61131-3 editor
    -#based on the plcopen standard.
    +# This file is part of Beremiz, a Integrated Development Environment for
    +# programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    #
    -#Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    +# Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    #
    -#See COPYING file for copyrights details.
    +# See COPYING file for copyrights details.
    #
    -#This library is free software; you can redistribute it and/or
    -#modify it under the terms of the GNU General Public
    -#License as published by the Free Software Foundation; either
    -#version 2.1 of the License, or (at your option) any later version.
    +# This program is free software; you can redistribute it and/or
    +# modify it under the terms of the GNU General Public License
    +# as published by the Free Software Foundation; either version 2
    +# of the License, or (at your option) any later version.
    #
    -#This library 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
    -#General Public License for more details.
    +# This program 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 General Public License for more details.
    #
    -#You should have received a copy of the GNU General Public
    -#License along with this library; if not, write to the Free Software
    -#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    +# You should have received a copy of the GNU General Public License
    +# along with this program; if not, write to the Free Software
    +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    import wx
    --- a/dialogs/SFCStepNameDialog.py Thu Nov 17 22:57:20 2016 +0300
    +++ b/dialogs/SFCStepNameDialog.py Fri Nov 18 13:57:42 2016 +0300
    @@ -1,25 +1,26 @@
    +#!/usr/bin/env python
    # -*- coding: utf-8 -*-
    -#This file is part of PLCOpenEditor, a library implementing an IEC 61131-3 editor
    -#based on the plcopen standard.
    +# This file is part of Beremiz, a Integrated Development Environment for
    +# programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    #
    -#Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    +# Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    #
    -#See COPYING file for copyrights details.
    +# See COPYING file for copyrights details.
    #
    -#This library is free software; you can redistribute it and/or
    -#modify it under the terms of the GNU General Public
    -#License as published by the Free Software Foundation; either
    -#version 2.1 of the License, or (at your option) any later version.
    +# This program is free software; you can redistribute it and/or
    +# modify it under the terms of the GNU General Public License
    +# as published by the Free Software Foundation; either version 2
    +# of the License, or (at your option) any later version.
    #
    -#This library 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
    -#General Public License for more details.
    +# This program 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 General Public License for more details.
    #
    -#You should have received a copy of the GNU General Public
    -#License along with this library; if not, write to the Free Software
    -#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    +# You should have received a copy of the GNU General Public License
    +# along with this program; if not, write to the Free Software
    +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    import wx
    --- a/dialogs/SFCTransitionDialog.py Thu Nov 17 22:57:20 2016 +0300
    +++ b/dialogs/SFCTransitionDialog.py Fri Nov 18 13:57:42 2016 +0300
    @@ -1,25 +1,26 @@
    +#!/usr/bin/env python
    # -*- coding: utf-8 -*-
    -#This file is part of PLCOpenEditor, a library implementing an IEC 61131-3 editor
    -#based on the plcopen standard.
    +# This file is part of Beremiz, a Integrated Development Environment for
    +# programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    #
    -#Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    +# Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    #
    -#See COPYING file for copyrights details.
    +# See COPYING file for copyrights details.
    #
    -#This library is free software; you can redistribute it and/or
    -#modify it under the terms of the GNU General Public
    -#License as published by the Free Software Foundation; either
    -#version 2.1 of the License, or (at your option) any later version.
    +# This program is free software; you can redistribute it and/or
    +# modify it under the terms of the GNU General Public License
    +# as published by the Free Software Foundation; either version 2
    +# of the License, or (at your option) any later version.
    #
    -#This library 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
    -#General Public License for more details.
    +# This program 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 General Public License for more details.
    #
    -#You should have received a copy of the GNU General Public
    -#License along with this library; if not, write to the Free Software
    -#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    +# You should have received a copy of the GNU General Public License
    +# along with this program; if not, write to the Free Software
    +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    import wx
    --- a/dialogs/SearchInProjectDialog.py Thu Nov 17 22:57:20 2016 +0300
    +++ b/dialogs/SearchInProjectDialog.py Fri Nov 18 13:57:42 2016 +0300
    @@ -1,26 +1,26 @@
    #!/usr/bin/env python
    # -*- coding: utf-8 -*-
    -#This file is part of PLCOpenEditor, a library implementing an IEC 61131-3 editor
    -#based on the plcopen standard.
    +# This file is part of Beremiz, a Integrated Development Environment for
    +# programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    #
    -#Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    +# Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    #
    -#See COPYING file for copyrights details.
    +# See COPYING file for copyrights details.
    #
    -#This library is free software; you can redistribute it and/or
    -#modify it under the terms of the GNU General Public
    -#License as published by the Free Software Foundation; either
    -#version 2.1 of the License, or (at your option) any later version.
    +# This program is free software; you can redistribute it and/or
    +# modify it under the terms of the GNU General Public License
    +# as published by the Free Software Foundation; either version 2
    +# of the License, or (at your option) any later version.
    #
    -#This library 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
    -#General Public License for more details.
    +# This program 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 General Public License for more details.
    #
    -#You should have received a copy of the GNU General Public
    -#License along with this library; if not, write to the Free Software
    -#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    +# You should have received a copy of the GNU General Public License
    +# along with this program; if not, write to the Free Software
    +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    import re
    from plcopen.plcopen import *
    --- a/dialogs/__init__.py Thu Nov 17 22:57:20 2016 +0300
    +++ b/dialogs/__init__.py Fri Nov 18 13:57:42 2016 +0300
    @@ -1,26 +1,27 @@
    #!/usr/bin/env python
    # -*- coding: utf-8 -*-
    -#This file is part of PLCOpenEditor, a library implementing an IEC 61131-3 editor
    -#based on the plcopen standard.
    +# This file is part of Beremiz, a Integrated Development Environment for
    +# programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    #
    -#Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    +# Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    #
    -#See COPYING file for copyrights details.
    +# See COPYING file for copyrights details.
    #
    -#This library is free software; you can redistribute it and/or
    -#modify it under the terms of the GNU General Public
    -#License as published by the Free Software Foundation; either
    -#version 2.1 of the License, or (at your option) any later version.
    +# This program is free software; you can redistribute it and/or
    +# modify it under the terms of the GNU General Public License
    +# as published by the Free Software Foundation; either version 2
    +# of the License, or (at your option) any later version.
    #
    -#This library 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
    -#General Public License for more details.
    +# This program 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 General Public License for more details.
    #
    -#You should have received a copy of the GNU General Public
    -#License along with this library; if not, write to the Free Software
    -#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    +# You should have received a copy of the GNU General Public License
    +# along with this program; if not, write to the Free Software
    +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    +
    # Package initialization
    --- a/docutil/__init__.py Thu Nov 17 22:57:20 2016 +0300
    +++ b/docutil/__init__.py Fri Nov 18 13:57:42 2016 +0300
    @@ -1,27 +1,27 @@
    #!/usr/bin/env python
    # -*- coding: utf-8 -*-
    -#This file is part of PLCOpenEditor, a library implementing an IEC 61131-3 editor
    -#based on the plcopen standard.
    +# This file is part of Beremiz, a Integrated Development Environment for
    +# programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    #
    -#Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    +# Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    #
    -#See COPYING file for copyrights details.
    +# See COPYING file for copyrights details.
    #
    -#This library is free software; you can redistribute it and/or
    -#modify it under the terms of the GNU General Public
    -#License as published by the Free Software Foundation; either
    -#version 2.1 of the License, or (at your option) any later version.
    +# This program is free software; you can redistribute it and/or
    +# modify it under the terms of the GNU General Public License
    +# as published by the Free Software Foundation; either version 2
    +# of the License, or (at your option) any later version.
    #
    -#This library 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
    -#General Public License for more details.
    +# This program 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 General Public License for more details.
    #
    -#You should have received a copy of the GNU General Public
    -#License along with this library; if not, write to the Free Software
    -#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    +# You should have received a copy of the GNU General Public License
    +# along with this program; if not, write to the Free Software
    +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    from dochtml import *
    from docpdf import *
    -from docsvg import *
    \ No newline at end of file
    +from docsvg import *
    --- a/docutil/dochtml.py Thu Nov 17 22:57:20 2016 +0300
    +++ b/docutil/dochtml.py Fri Nov 18 13:57:42 2016 +0300
    @@ -1,26 +1,26 @@
    #!/usr/bin/env python
    # -*- coding: utf-8 -*-
    -#This file is part of PLCOpenEditor, a library implementing an IEC 61131-3 editor
    -#based on the plcopen standard.
    +# This file is part of Beremiz, a Integrated Development Environment for
    +# programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    #
    -#Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    +# Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    #
    -#See COPYING file for copyrights details.
    +# See COPYING file for copyrights details.
    #
    -#This library is free software; you can redistribute it and/or
    -#modify it under the terms of the GNU General Public
    -#License as published by the Free Software Foundation; either
    -#version 2.1 of the License, or (at your option) any later version.
    +# This program is free software; you can redistribute it and/or
    +# modify it under the terms of the GNU General Public License
    +# as published by the Free Software Foundation; either version 2
    +# of the License, or (at your option) any later version.
    #
    -#This library 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
    -#General Public License for more details.
    +# This program 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 General Public License for more details.
    #
    -#You should have received a copy of the GNU General Public
    -#License along with this library; if not, write to the Free Software
    -#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    +# You should have received a copy of the GNU General Public License
    +# along with this program; if not, write to the Free Software
    +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    import wx, os, wx.html, subprocess
    @@ -94,4 +94,4 @@
    elif subprocess.call("firefox %s"%url, shell=True) != 0:
    wx.MessageBox("""Firefox browser not found.\nPlease point your browser at :\n%s""" % url)
    except ImportError:
    - wx.MessageBox('Please point your browser at: %s' % url)
    \ No newline at end of file
    + wx.MessageBox('Please point your browser at: %s' % url)
    --- a/docutil/docpdf.py Thu Nov 17 22:57:20 2016 +0300
    +++ b/docutil/docpdf.py Fri Nov 18 13:57:42 2016 +0300
    @@ -1,26 +1,26 @@
    #!/usr/bin/env python
    # -*- coding: utf-8 -*-
    -#This file is part of PLCOpenEditor, a library implementing an IEC 61131-3 editor
    -#based on the plcopen standard.
    +# This file is part of Beremiz, a Integrated Development Environment for
    +# programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    #
    -#Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    +# Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    #
    -#See COPYING file for copyrights details.
    +# See COPYING file for copyrights details.
    #
    -#This library is free software; you can redistribute it and/or
    -#modify it under the terms of the GNU General Public
    -#License as published by the Free Software Foundation; either
    -#version 2.1 of the License, or (at your option) any later version.
    +# This program is free software; you can redistribute it and/or
    +# modify it under the terms of the GNU General Public License
    +# as published by the Free Software Foundation; either version 2
    +# of the License, or (at your option) any later version.
    #
    -#This library 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
    -#General Public License for more details.
    +# This program 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 General Public License for more details.
    #
    -#You should have received a copy of the GNU General Public
    -#License along with this library; if not, write to the Free Software
    -#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    +# You should have received a copy of the GNU General Public License
    +# along with this program; if not, write to the Free Software
    +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    import wx, os
    --- a/docutil/docsvg.py Thu Nov 17 22:57:20 2016 +0300
    +++ b/docutil/docsvg.py Fri Nov 18 13:57:42 2016 +0300
    @@ -1,26 +1,26 @@
    #!/usr/bin/env python
    # -*- coding: utf-8 -*-
    -#This file is part of PLCOpenEditor, a library implementing an IEC 61131-3 editor
    -#based on the plcopen standard.
    +# This file is part of Beremiz, a Integrated Development Environment for
    +# programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    #
    -#Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    +# Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    #
    -#See COPYING file for copyrights details.
    +# See COPYING file for copyrights details.
    #
    -#This library is free software; you can redistribute it and/or
    -#modify it under the terms of the GNU General Public
    -#License as published by the Free Software Foundation; either
    -#version 2.1 of the License, or (at your option) any later version.
    +# This program is free software; you can redistribute it and/or
    +# modify it under the terms of the GNU General Public License
    +# as published by the Free Software Foundation; either version 2
    +# of the License, or (at your option) any later version.
    #
    -#This library 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
    -#General Public License for more details.
    +# This program 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 General Public License for more details.
    #
    -#You should have received a copy of the GNU General Public
    -#License along with this library; if not, write to the Free Software
    -#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    +# You should have received a copy of the GNU General Public License
    +# along with this program; if not, write to the Free Software
    +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    import wx, os, subprocess
    --- a/editors/DataTypeEditor.py Thu Nov 17 22:57:20 2016 +0300
    +++ b/editors/DataTypeEditor.py Fri Nov 18 13:57:42 2016 +0300
    @@ -1,26 +1,26 @@
    #!/usr/bin/env python
    # -*- coding: utf-8 -*-
    -#This file is part of PLCOpenEditor, a library implementing an IEC 61131-3 editor
    -#based on the plcopen standard.
    +# This file is part of Beremiz, a Integrated Development Environment for
    +# programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    #
    -#Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    +# Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    #
    -#See COPYING file for copyrights details.
    +# See COPYING file for copyrights details.
    #
    -#This library is free software; you can redistribute it and/or
    -#modify it under the terms of the GNU General Public
    -#License as published by the Free Software Foundation; either
    -#version 2.1 of the License, or (at your option) any later version.
    +# This program is free software; you can redistribute it and/or
    +# modify it under the terms of the GNU General Public License
    +# as published by the Free Software Foundation; either version 2
    +# of the License, or (at your option) any later version.
    #
    -#This library 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
    -#General Public License for more details.
    +# This program 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 General Public License for more details.
    #
    -#You should have received a copy of the GNU General Public
    -#License along with this library; if not, write to the Free Software
    -#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    +# You should have received a copy of the GNU General Public License
    +# along with this program; if not, write to the Free Software
    +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    import re
    from types import TupleType
    --- a/editors/DebugViewer.py Thu Nov 17 22:57:20 2016 +0300
    +++ b/editors/DebugViewer.py Fri Nov 18 13:57:42 2016 +0300
    @@ -1,26 +1,26 @@
    #!/usr/bin/env python
    # -*- coding: utf-8 -*-
    -#This file is part of PLCOpenEditor, a library implementing an IEC 61131-3 editor
    -#based on the plcopen standard.
    +# This file is part of Beremiz, a Integrated Development Environment for
    +# programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    #
    -#Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    +# Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    #
    -#See COPYING file for copyrights details.
    +# See COPYING file for copyrights details.
    #
    -#This library is free software; you can redistribute it and/or
    -#modify it under the terms of the GNU General Public
    -#License as published by the Free Software Foundation; either
    -#version 2.1 of the License, or (at your option) any later version.
    +# This program is free software; you can redistribute it and/or
    +# modify it under the terms of the GNU General Public License
    +# as published by the Free Software Foundation; either version 2
    +# of the License, or (at your option) any later version.
    #
    -#This library 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
    -#General Public License for more details.
    +# This program 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 General Public License for more details.
    #
    -#You should have received a copy of the GNU General Public
    -#License along with this library; if not, write to the Free Software
    -#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    +# You should have received a copy of the GNU General Public License
    +# along with this program; if not, write to the Free Software
    +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    from threading import Lock, Timer
    from time import time as gettime
    --- a/editors/EditorPanel.py Thu Nov 17 22:57:20 2016 +0300
    +++ b/editors/EditorPanel.py Fri Nov 18 13:57:42 2016 +0300
    @@ -1,26 +1,26 @@
    #!/usr/bin/env python
    # -*- coding: utf-8 -*-
    -#This file is part of PLCOpenEditor, a library implementing an IEC 61131-3 editor
    -#based on the plcopen standard.
    +# This file is part of Beremiz, a Integrated Development Environment for
    +# programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    #
    -#Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    +# Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    #
    -#See COPYING file for copyrights details.
    +# See COPYING file for copyrights details.
    #
    -#This library is free software; you can redistribute it and/or
    -#modify it under the terms of the GNU General Public
    -#License as published by the Free Software Foundation; either
    -#version 2.1 of the License, or (at your option) any later version.
    +# This program is free software; you can redistribute it and/or
    +# modify it under the terms of the GNU General Public License
    +# as published by the Free Software Foundation; either version 2
    +# of the License, or (at your option) any later version.
    #
    -#This library 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
    -#General Public License for more details.
    +# This program 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 General Public License for more details.
    #
    -#You should have received a copy of the GNU General Public
    -#License along with this library; if not, write to the Free Software
    -#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    +# You should have received a copy of the GNU General Public License
    +# along with this program; if not, write to the Free Software
    +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    import wx
    --- a/editors/FileManagementPanel.py Thu Nov 17 22:57:20 2016 +0300
    +++ b/editors/FileManagementPanel.py Fri Nov 18 13:57:42 2016 +0300
    @@ -1,26 +1,26 @@
    #!/usr/bin/env python
    # -*- coding: utf-8 -*-
    -#This file is part of Beremiz, a Integrated Development Environment for
    -#programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    +# This file is part of Beremiz, a Integrated Development Environment for
    +# programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    #
    -#Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    +# Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    #
    -#See COPYING file for copyrights details.
    +# See COPYING file for copyrights details.
    #
    -#This library is free software; you can redistribute it and/or
    -#modify it under the terms of the GNU General Public
    -#License as published by the Free Software Foundation; either
    -#version 2.1 of the License, or (at your option) any later version.
    +# This program is free software; you can redistribute it and/or
    +# modify it under the terms of the GNU General Public License
    +# as published by the Free Software Foundation; either version 2
    +# of the License, or (at your option) any later version.
    #
    -#This library 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
    -#General Public License for more details.
    +# This program 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 General Public License for more details.
    #
    -#You should have received a copy of the GNU General Public
    -#License along with this library; if not, write to the Free Software
    -#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    +# You should have received a copy of the GNU General Public License
    +# along with this program; if not, write to the Free Software
    +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    import os
    import shutil
    @@ -211,4 +211,4 @@
    dragSource = wx.DropSource(self)
    dragSource.SetData(data)
    dragSource.DoDragDrop()
    -
    \ No newline at end of file
    +
    --- a/editors/LDViewer.py Thu Nov 17 22:57:20 2016 +0300
    +++ b/editors/LDViewer.py Fri Nov 18 13:57:42 2016 +0300
    @@ -1,26 +1,26 @@
    #!/usr/bin/env python
    # -*- coding: utf-8 -*-
    -#This file is part of PLCOpenEditor, a library implementing an IEC 61131-3 editor
    -#based on the plcopen standard.
    +# This file is part of Beremiz, a Integrated Development Environment for
    +# programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    #
    -#Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    +# Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    #
    -#See COPYING file for copyrights details.
    +# See COPYING file for copyrights details.
    #
    -#This library is free software; you can redistribute it and/or
    -#modify it under the terms of the GNU General Public
    -#License as published by the Free Software Foundation; either
    -#version 2.1 of the License, or (at your option) any later version.
    +# This program is free software; you can redistribute it and/or
    +# modify it under the terms of the GNU General Public License
    +# as published by the Free Software Foundation; either version 2
    +# of the License, or (at your option) any later version.
    #
    -#This library 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
    -#General Public License for more details.
    +# This program 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 General Public License for more details.
    #
    -#You should have received a copy of the GNU General Public
    -#License along with this library; if not, write to the Free Software
    -#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    +# You should have received a copy of the GNU General Public License
    +# along with this program; if not, write to the Free Software
    +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    import wx
    import time
    --- a/editors/ResourceEditor.py Thu Nov 17 22:57:20 2016 +0300
    +++ b/editors/ResourceEditor.py Fri Nov 18 13:57:42 2016 +0300
    @@ -1,26 +1,26 @@
    #!/usr/bin/env python
    # -*- coding: utf-8 -*-
    -#This file is part of PLCOpenEditor, a library implementing an IEC 61131-3 editor
    -#based on the plcopen standard.
    +# This file is part of Beremiz, a Integrated Development Environment for
    +# programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    #
    -#Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    +# Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    #
    -#See COPYING file for copyrights details.
    +# See COPYING file for copyrights details.
    #
    -#This library is free software; you can redistribute it and/or
    -#modify it under the terms of the GNU General Public
    -#License as published by the Free Software Foundation; either
    -#version 2.1 of the License, or (at your option) any later version.
    +# This program is free software; you can redistribute it and/or
    +# modify it under the terms of the GNU General Public License
    +# as published by the Free Software Foundation; either version 2
    +# of the License, or (at your option) any later version.
    #
    -#This library 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
    -#General Public License for more details.
    +# This program 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 General Public License for more details.
    #
    -#You should have received a copy of the GNU General Public
    -#License along with this library; if not, write to the Free Software
    -#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    +# You should have received a copy of the GNU General Public License
    +# along with this program; if not, write to the Free Software
    +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    import wx
    import wx.lib.buttons
    --- a/editors/SFCViewer.py Thu Nov 17 22:57:20 2016 +0300
    +++ b/editors/SFCViewer.py Fri Nov 18 13:57:42 2016 +0300
    @@ -1,26 +1,26 @@
    #!/usr/bin/env python
    # -*- coding: utf-8 -*-
    -#This file is part of PLCOpenEditor, a library implementing an IEC 61131-3 editor
    -#based on the plcopen standard.
    +# This file is part of Beremiz, a Integrated Development Environment for
    +# programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    #
    -#Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    +# Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    #
    -#See COPYING file for copyrights details.
    +# See COPYING file for copyrights details.
    #
    -#This library is free software; you can redistribute it and/or
    -#modify it under the terms of the GNU General Public
    -#License as published by the Free Software Foundation; either
    -#version 2.1 of the License, or (at your option) any later version.
    +# This program is free software; you can redistribute it and/or
    +# modify it under the terms of the GNU General Public License
    +# as published by the Free Software Foundation; either version 2
    +# of the License, or (at your option) any later version.
    #
    -#This library 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
    -#General Public License for more details.
    +# This program 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 General Public License for more details.
    #
    -#You should have received a copy of the GNU General Public
    -#License along with this library; if not, write to the Free Software
    -#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    +# You should have received a copy of the GNU General Public License
    +# along with this program; if not, write to the Free Software
    +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    from types import *
    --- a/editors/TextViewer.py Thu Nov 17 22:57:20 2016 +0300
    +++ b/editors/TextViewer.py Fri Nov 18 13:57:42 2016 +0300
    @@ -1,26 +1,26 @@
    #!/usr/bin/env python
    # -*- coding: utf-8 -*-
    -#This file is part of PLCOpenEditor, a library implementing an IEC 61131-3 editor
    -#based on the plcopen standard.
    +# This file is part of Beremiz, a Integrated Development Environment for
    +# programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    #
    -#Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    +# Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    #
    -#See COPYING file for copyrights details.
    +# See COPYING file for copyrights details.
    #
    -#This library is free software; you can redistribute it and/or
    -#modify it under the terms of the GNU General Public
    -#License as published by the Free Software Foundation; either
    -#version 2.1 of the License, or (at your option) any later version.
    +# This program is free software; you can redistribute it and/or
    +# modify it under the terms of the GNU General Public License
    +# as published by the Free Software Foundation; either version 2
    +# of the License, or (at your option) any later version.
    #
    -#This library 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
    -#General Public License for more details.
    +# This program 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 General Public License for more details.
    #
    -#You should have received a copy of the GNU General Public
    -#License along with this library; if not, write to the Free Software
    -#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    +# You should have received a copy of the GNU General Public License
    +# along with this program; if not, write to the Free Software
    +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    import re
    from types import *
    --- a/editors/Viewer.py Thu Nov 17 22:57:20 2016 +0300
    +++ b/editors/Viewer.py Fri Nov 18 13:57:42 2016 +0300
    @@ -1,26 +1,26 @@
    #!/usr/bin/env python
    # -*- coding: utf-8 -*-
    -#This file is part of PLCOpenEditor, a library implementing an IEC 61131-3 editor
    -#based on the plcopen standard.
    +# This file is part of Beremiz, a Integrated Development Environment for
    +# programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    #
    -#Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    +# Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    #
    -#See COPYING file for copyrights details.
    +# See COPYING file for copyrights details.
    #
    -#This library is free software; you can redistribute it and/or
    -#modify it under the terms of the GNU General Public
    -#License as published by the Free Software Foundation; either
    -#version 2.1 of the License, or (at your option) any later version.
    +# This program is free software; you can redistribute it and/or
    +# modify it under the terms of the GNU General Public License
    +# as published by the Free Software Foundation; either version 2
    +# of the License, or (at your option) any later version.
    #
    -#This library 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
    -#General Public License for more details.
    +# This program 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 General Public License for more details.
    #
    -#You should have received a copy of the GNU General Public
    -#License along with this library; if not, write to the Free Software
    -#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    +# You should have received a copy of the GNU General Public License
    +# along with this program; if not, write to the Free Software
    +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    import re
    import math
    --- a/graphics/DebugDataConsumer.py Thu Nov 17 22:57:20 2016 +0300
    +++ b/graphics/DebugDataConsumer.py Fri Nov 18 13:57:42 2016 +0300
    @@ -1,26 +1,26 @@
    #!/usr/bin/env python
    # -*- coding: utf-8 -*-
    -#This file is part of PLCOpenEditor, a library implementing an IEC 61131-3 editor
    -#based on the plcopen standard.
    +# This file is part of Beremiz, a Integrated Development Environment for
    +# programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    #
    -#Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    +# Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    #
    -#See COPYING file for copyrights details.
    +# See COPYING file for copyrights details.
    #
    -#This library is free software; you can redistribute it and/or
    -#modify it under the terms of the GNU General Public
    -#License as published by the Free Software Foundation; either
    -#version 2.1 of the License, or (at your option) any later version.
    +# This program is free software; you can redistribute it and/or
    +# modify it under the terms of the GNU General Public License
    +# as published by the Free Software Foundation; either version 2
    +# of the License, or (at your option) any later version.
    #
    -#This library 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
    -#General Public License for more details.
    +# This program 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 General Public License for more details.
    #
    -#You should have received a copy of the GNU General Public
    -#License along with this library; if not, write to the Free Software
    -#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    +# You should have received a copy of the GNU General Public License
    +# along with this program; if not, write to the Free Software
    +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    import datetime
    --- a/graphics/FBD_Objects.py Thu Nov 17 22:57:20 2016 +0300
    +++ b/graphics/FBD_Objects.py Fri Nov 18 13:57:42 2016 +0300
    @@ -1,26 +1,26 @@
    #!/usr/bin/env python
    # -*- coding: utf-8 -*-
    -#This file is part of PLCOpenEditor, a library implementing an IEC 61131-3 editor
    -#based on the plcopen standard.
    +# This file is part of Beremiz, a Integrated Development Environment for
    +# programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    #
    -#Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    +# Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    #
    -#See COPYING file for copyrights details.
    +# See COPYING file for copyrights details.
    #
    -#This library is free software; you can redistribute it and/or
    -#modify it under the terms of the GNU General Public
    -#License as published by the Free Software Foundation; either
    -#version 2.1 of the License, or (at your option) any later version.
    +# This program is free software; you can redistribute it and/or
    +# modify it under the terms of the GNU General Public License
    +# as published by the Free Software Foundation; either version 2
    +# of the License, or (at your option) any later version.
    #
    -#This library 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
    -#General Public License for more details.
    +# This program 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 General Public License for more details.
    #
    -#You should have received a copy of the GNU General Public
    -#License along with this library; if not, write to the Free Software
    -#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    +# You should have received a copy of the GNU General Public License
    +# along with this program; if not, write to the Free Software
    +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    import wx
    --- a/graphics/GraphicCommons.py Thu Nov 17 22:57:20 2016 +0300
    +++ b/graphics/GraphicCommons.py Fri Nov 18 13:57:42 2016 +0300
    @@ -1,26 +1,26 @@
    #!/usr/bin/env python
    # -*- coding: utf-8 -*-
    -#This file is part of PLCOpenEditor, a library implementing an IEC 61131-3 editor
    -#based on the plcopen standard.
    +# This file is part of Beremiz, a Integrated Development Environment for
    +# programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    #
    -#Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    +# Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    #
    -#See COPYING file for copyrights details.
    +# See COPYING file for copyrights details.
    #
    -#This library is free software; you can redistribute it and/or
    -#modify it under the terms of the GNU General Public
    -#License as published by the Free Software Foundation; either
    -#version 2.1 of the License, or (at your option) any later version.
    +# This program is free software; you can redistribute it and/or
    +# modify it under the terms of the GNU General Public License
    +# as published by the Free Software Foundation; either version 2
    +# of the License, or (at your option) any later version.
    #
    -#This library 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
    -#General Public License for more details.
    +# This program 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 General Public License for more details.
    #
    -#You should have received a copy of the GNU General Public
    -#License along with this library; if not, write to the Free Software
    -#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    +# You should have received a copy of the GNU General Public License
    +# along with this program; if not, write to the Free Software
    +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    import wx
    from math import *
    --- a/graphics/LD_Objects.py Thu Nov 17 22:57:20 2016 +0300
    +++ b/graphics/LD_Objects.py Fri Nov 18 13:57:42 2016 +0300
    @@ -1,26 +1,26 @@
    #!/usr/bin/env python
    # -*- coding: utf-8 -*-
    -#This file is part of PLCOpenEditor, a library implementing an IEC 61131-3 editor
    -#based on the plcopen standard.
    +# This file is part of Beremiz, a Integrated Development Environment for
    +# programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    #
    -#Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    +# Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    #
    -#See COPYING file for copyrights details.
    +# See COPYING file for copyrights details.
    #
    -#This library is free software; you can redistribute it and/or
    -#modify it under the terms of the GNU General Public
    -#License as published by the Free Software Foundation; either
    -#version 2.1 of the License, or (at your option) any later version.
    +# This program is free software; you can redistribute it and/or
    +# modify it under the terms of the GNU General Public License
    +# as published by the Free Software Foundation; either version 2
    +# of the License, or (at your option) any later version.
    #
    -#This library 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
    -#General Public License for more details.
    +# This program 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 General Public License for more details.
    #
    -#You should have received a copy of the GNU General Public
    -#License along with this library; if not, write to the Free Software
    -#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    +# You should have received a copy of the GNU General Public License
    +# along with this program; if not, write to the Free Software
    +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    import wx
    --- a/graphics/RubberBand.py Thu Nov 17 22:57:20 2016 +0300
    +++ b/graphics/RubberBand.py Fri Nov 18 13:57:42 2016 +0300
    @@ -1,26 +1,26 @@
    #!/usr/bin/env python
    # -*- coding: utf-8 -*-
    -#This file is part of PLCOpenEditor, a library implementing an IEC 61131-3 editor
    -#based on the plcopen standard.
    +# This file is part of Beremiz, a Integrated Development Environment for
    +# programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    #
    -#Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    +# Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    #
    -#See COPYING file for copyrights details.
    +# See COPYING file for copyrights details.
    #
    -#This library is free software; you can redistribute it and/or
    -#modify it under the terms of the GNU General Public
    -#License as published by the Free Software Foundation; either
    -#version 2.1 of the License, or (at your option) any later version.
    +# This program is free software; you can redistribute it and/or
    +# modify it under the terms of the GNU General Public License
    +# as published by the Free Software Foundation; either version 2
    +# of the License, or (at your option) any later version.
    #
    -#This library 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
    -#General Public License for more details.
    +# This program 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 General Public License for more details.
    #
    -#You should have received a copy of the GNU General Public
    -#License along with this library; if not, write to the Free Software
    -#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    +# You should have received a copy of the GNU General Public License
    +# along with this program; if not, write to the Free Software
    +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    import wx
    --- a/graphics/SFC_Objects.py Thu Nov 17 22:57:20 2016 +0300
    +++ b/graphics/SFC_Objects.py Fri Nov 18 13:57:42 2016 +0300
    @@ -1,26 +1,26 @@
    #!/usr/bin/env python
    # -*- coding: utf-8 -*-
    -#This file is part of PLCOpenEditor, a library implementing an IEC 61131-3 editor
    -#based on the plcopen standard.
    +# This file is part of Beremiz, a Integrated Development Environment for
    +# programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    #
    -#Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    +# Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    #
    -#See COPYING file for copyrights details.
    +# See COPYING file for copyrights details.
    #
    -#This library is free software; you can redistribute it and/or
    -#modify it under the terms of the GNU General Public
    -#License as published by the Free Software Foundation; either
    -#version 2.1 of the License, or (at your option) any later version.
    +# This program is free software; you can redistribute it and/or
    +# modify it under the terms of the GNU General Public License
    +# as published by the Free Software Foundation; either version 2
    +# of the License, or (at your option) any later version.
    #
    -#This library 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
    -#General Public License for more details.
    +# This program 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 General Public License for more details.
    #
    -#You should have received a copy of the GNU General Public
    -#License along with this library; if not, write to the Free Software
    -#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    +# You should have received a copy of the GNU General Public License
    +# along with this program; if not, write to the Free Software
    +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    import wx
    --- a/graphics/ToolTipProducer.py Thu Nov 17 22:57:20 2016 +0300
    +++ b/graphics/ToolTipProducer.py Fri Nov 18 13:57:42 2016 +0300
    @@ -1,26 +1,26 @@
    #!/usr/bin/env python
    # -*- coding: utf-8 -*-
    -#This file is part of PLCOpenEditor, a library implementing an IEC 61131-3 editor
    -#based on the plcopen standard.
    +# This file is part of Beremiz, a Integrated Development Environment for
    +# programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    #
    -#Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    +# Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    #
    -#See COPYING file for copyrights details.
    +# See COPYING file for copyrights details.
    #
    -#This library is free software; you can redistribute it and/or
    -#modify it under the terms of the GNU General Public
    -#License as published by the Free Software Foundation; either
    -#version 2.1 of the License, or (at your option) any later version.
    +# This program is free software; you can redistribute it and/or
    +# modify it under the terms of the GNU General Public License
    +# as published by the Free Software Foundation; either version 2
    +# of the License, or (at your option) any later version.
    #
    -#This library 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
    -#General Public License for more details.
    +# This program 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 General Public License for more details.
    #
    -#You should have received a copy of the GNU General Public
    -#License along with this library; if not, write to the Free Software
    -#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    +# You should have received a copy of the GNU General Public License
    +# along with this program; if not, write to the Free Software
    +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    import wx
    --- a/graphics/__init__.py Thu Nov 17 22:57:20 2016 +0300
    +++ b/graphics/__init__.py Fri Nov 18 13:57:42 2016 +0300
    @@ -1,26 +1,26 @@
    #!/usr/bin/env python
    # -*- coding: utf-8 -*-
    -#This file is part of PLCOpenEditor, a library implementing an IEC 61131-3 editor
    -#based on the plcopen standard.
    +# This file is part of Beremiz, a Integrated Development Environment for
    +# programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    #
    -#Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    +# Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    #
    -#See COPYING file for copyrights details.
    +# See COPYING file for copyrights details.
    #
    -#This library is free software; you can redistribute it and/or
    -#modify it under the terms of the GNU General Public
    -#License as published by the Free Software Foundation; either
    -#version 2.1 of the License, or (at your option) any later version.
    +# This program is free software; you can redistribute it and/or
    +# modify it under the terms of the GNU General Public License
    +# as published by the Free Software Foundation; either version 2
    +# of the License, or (at your option) any later version.
    #
    -#This library 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
    -#General Public License for more details.
    +# This program 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 General Public License for more details.
    #
    -#You should have received a copy of the GNU General Public
    -#License along with this library; if not, write to the Free Software
    -#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    +# You should have received a copy of the GNU General Public License
    +# along with this program; if not, write to the Free Software
    +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    # Package initialisation
    @@ -29,4 +29,4 @@
    from LD_Objects import *
    from SFC_Objects import *
    from RubberBand import RubberBand
    -from DebugDataConsumer import DebugDataConsumer
    \ No newline at end of file
    +from DebugDataConsumer import DebugDataConsumer
    --- a/plcopen/__init__.py Thu Nov 17 22:57:20 2016 +0300
    +++ b/plcopen/__init__.py Fri Nov 18 13:57:42 2016 +0300
    @@ -1,26 +1,26 @@
    #!/usr/bin/env python
    # -*- coding: utf-8 -*-
    -#This file is part of PLCOpenEditor, a library implementing an IEC 61131-3 editor
    -#based on the plcopen standard.
    +# This file is part of Beremiz, a Integrated Development Environment for
    +# programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    #
    -#Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    +# Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    #
    -#See COPYING file for copyrights details.
    +# See COPYING file for copyrights details.
    #
    -#This library is free software; you can redistribute it and/or
    -#modify it under the terms of the GNU General Public
    -#License as published by the Free Software Foundation; either
    -#version 2.1 of the License, or (at your option) any later version.
    +# This program is free software; you can redistribute it and/or
    +# modify it under the terms of the GNU General Public License
    +# as published by the Free Software Foundation; either version 2
    +# of the License, or (at your option) any later version.
    #
    -#This library 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
    -#General Public License for more details.
    +# This program 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 General Public License for more details.
    #
    -#You should have received a copy of the GNU General Public
    -#License along with this library; if not, write to the Free Software
    -#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    +# You should have received a copy of the GNU General Public License
    +# along with this program; if not, write to the Free Software
    +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    # Package initialisation
    --- a/plcopen/plcopen.py Thu Nov 17 22:57:20 2016 +0300
    +++ b/plcopen/plcopen.py Fri Nov 18 13:57:42 2016 +0300
    @@ -1,26 +1,26 @@
    #!/usr/bin/env python
    # -*- coding: utf-8 -*-
    -#This file is part of PLCOpenEditor, a library implementing an IEC 61131-3 editor
    -#based on the plcopen standard.
    +# This file is part of Beremiz, a Integrated Development Environment for
    +# programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    #
    -#Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    +# Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    #
    -#See COPYING file for copyrights details.
    +# See COPYING file for copyrights details.
    #
    -#This library is free software; you can redistribute it and/or
    -#modify it under the terms of the GNU General Public
    -#License as published by the Free Software Foundation; either
    -#version 2.1 of the License, or (at your option) any later version.
    +# This program is free software; you can redistribute it and/or
    +# modify it under the terms of the GNU General Public License
    +# as published by the Free Software Foundation; either version 2
    +# of the License, or (at your option) any later version.
    #
    -#This library 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
    -#General Public License for more details.
    +# This program 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 General Public License for more details.
    #
    -#You should have received a copy of the GNU General Public
    -#License along with this library; if not, write to the Free Software
    -#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    +# You should have received a copy of the GNU General Public License
    +# along with this program; if not, write to the Free Software
    +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    from xmlclass import *
    from types import *
    --- a/plcopen/structures.py Thu Nov 17 22:57:20 2016 +0300
    +++ b/plcopen/structures.py Fri Nov 18 13:57:42 2016 +0300
    @@ -1,26 +1,26 @@
    #!/usr/bin/env python
    # -*- coding: utf-8 -*-
    -#This file is part of PLCOpenEditor, a library implementing an IEC 61131-3 editor
    -#based on the plcopen standard.
    +# This file is part of Beremiz, a Integrated Development Environment for
    +# programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    #
    -#Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    +# Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    #
    -#See COPYING file for copyrights details.
    +# See COPYING file for copyrights details.
    #
    -#This library is free software; you can redistribute it and/or
    -#modify it under the terms of the GNU General Public
    -#License as published by the Free Software Foundation; either
    -#version 2.1 of the License, or (at your option) any later version.
    +# This program is free software; you can redistribute it and/or
    +# modify it under the terms of the GNU General Public License
    +# as published by the Free Software Foundation; either version 2
    +# of the License, or (at your option) any later version.
    #
    -#This library 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
    -#General Public License for more details.
    +# This program 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 General Public License for more details.
    #
    -#You should have received a copy of the GNU General Public
    -#License along with this library; if not, write to the Free Software
    -#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    +# You should have received a copy of the GNU General Public License
    +# along with this program; if not, write to the Free Software
    +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    import string, re
    from plcopen import LoadProject
    --- a/runtime/PLCObject.py Thu Nov 17 22:57:20 2016 +0300
    +++ b/runtime/PLCObject.py Fri Nov 18 13:57:42 2016 +0300
    @@ -1,26 +1,26 @@
    #!/usr/bin/env python
    # -*- coding: utf-8 -*-
    -#This file is part of Beremiz, a Integrated Development Environment for
    -#programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    +# This file is part of Beremiz, a Integrated Development Environment for
    +# programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    #
    -#Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    +# Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    #
    -#See COPYING file for copyrights details.
    +# See COPYING file for copyrights details.
    #
    -#This library is free software; you can redistribute it and/or
    -#modify it under the terms of the GNU General Public
    -#License as published by the Free Software Foundation; either
    -#version 2.1 of the License, or (at your option) any later version.
    +# This program is free software; you can redistribute it and/or
    +# modify it under the terms of the GNU General Public License
    +# as published by the Free Software Foundation; either version 2
    +# of the License, or (at your option) any later version.
    #
    -#This library 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
    -#General Public License for more details.
    +# This program 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 General Public License for more details.
    #
    -#You should have received a copy of the GNU General Public
    -#License along with this library; if not, write to the Free Software
    -#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    +# You should have received a copy of the GNU General Public License
    +# along with this program; if not, write to the Free Software
    +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    import Pyro.core as pyro
    from threading import Timer, Thread, Lock, Semaphore, Event
    --- a/runtime/ServicePublisher.py Thu Nov 17 22:57:20 2016 +0300
    +++ b/runtime/ServicePublisher.py Fri Nov 18 13:57:42 2016 +0300
    @@ -1,26 +1,26 @@
    #!/usr/bin/env python
    # -*- coding: utf-8 -*-
    -#This file is part of Beremiz, a Integrated Development Environment for
    -#programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    +# This file is part of Beremiz, a Integrated Development Environment for
    +# programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    #
    -#Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    +# Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    #
    -#See COPYING file for copyrights details.
    +# See COPYING file for copyrights details.
    #
    -#This library is free software; you can redistribute it and/or
    -#modify it under the terms of the GNU General Public
    -#License as published by the Free Software Foundation; either
    -#version 2.1 of the License, or (at your option) any later version.
    +# This program is free software; you can redistribute it and/or
    +# modify it under the terms of the GNU General Public License
    +# as published by the Free Software Foundation; either version 2
    +# of the License, or (at your option) any later version.
    #
    -#This library 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
    -#General Public License for more details.
    +# This program 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 General Public License for more details.
    #
    -#You should have received a copy of the GNU General Public
    -#License along with this library; if not, write to the Free Software
    -#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    +# You should have received a copy of the GNU General Public License
    +# along with this program; if not, write to the Free Software
    +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    import socket, threading
    from util import Zeroconf
    --- a/targets/__init__.py Thu Nov 17 22:57:20 2016 +0300
    +++ b/targets/__init__.py Fri Nov 18 13:57:42 2016 +0300
    @@ -1,23 +1,26 @@
    #!/usr/bin/env python
    # -*- coding: utf-8 -*-
    +
    +# This file is part of Beremiz, a Integrated Development Environment for
    +# programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    #
    -#Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    +# Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    #
    -#See COPYING file for copyrights details.
    +# See COPYING file for copyrights details.
    #
    -#This library is free software; you can redistribute it and/or
    -#modify it under the terms of the GNU General Public
    -#License as published by the Free Software Foundation; either
    -#version 2.1 of the License, or (at your option) any later version.
    +# This program is free software; you can redistribute it and/or
    +# modify it under the terms of the GNU General Public License
    +# as published by the Free Software Foundation; either version 2
    +# of the License, or (at your option) any later version.
    #
    -#This library 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
    -#General Public License for more details.
    +# This program 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 General Public License for more details.
    #
    -#You should have received a copy of the GNU General Public
    -#License along with this library; if not, write to the Free Software
    -#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    +# You should have received a copy of the GNU General Public License
    +# along with this program; if not, write to the Free Software
    +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    # Package initialisation
    #import targets
    --- a/targets/typemapping.py Thu Nov 17 22:57:20 2016 +0300
    +++ b/targets/typemapping.py Fri Nov 18 13:57:42 2016 +0300
    @@ -1,23 +1,26 @@
    #!/usr/bin/env python
    # -*- coding: utf-8 -*-
    +
    +# This file is part of Beremiz, a Integrated Development Environment for
    +# programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    #
    -#Copyright (C) 2011: Edouard TISSERANT and Laurent BESSARD
    +# Copyright (C) 2011: Edouard TISSERANT and Laurent BESSARD
    #
    -#See COPYING file for copyrights details.
    +# See COPYING file for copyrights details.
    #
    -#This library is free software; you can redistribute it and/or
    -#modify it under the terms of the GNU General Public
    -#License as published by the Free Software Foundation; either
    -#version 2.1 of the License, or (at your option) any later version.
    +# This program is free software; you can redistribute it and/or
    +# modify it under the terms of the GNU General Public License
    +# as published by the Free Software Foundation; either version 2
    +# of the License, or (at your option) any later version.
    #
    -#This library 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
    -#General Public License for more details.
    +# This program 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 General Public License for more details.
    #
    -#You should have received a copy of the GNU General Public
    -#License along with this library; if not, write to the Free Software
    -#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    +# You should have received a copy of the GNU General Public License
    +# along with this program; if not, write to the Free Software
    +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    import ctypes
    ctypes.pythonapi.PyString_AsString.argtypes = (ctypes.c_void_p,)
    --- a/util/BitmapLibrary.py Thu Nov 17 22:57:20 2016 +0300
    +++ b/util/BitmapLibrary.py Fri Nov 18 13:57:42 2016 +0300
    @@ -1,26 +1,26 @@
    #!/usr/bin/env python
    # -*- coding: utf-8 -*-
    -#This file is part of PLCOpenEditor, a library implementing an IEC 61131-3 editor
    -#based on the plcopen standard.
    +# This file is part of Beremiz, a Integrated Development Environment for
    +# programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    #
    -#Copyright (C) 2012: Edouard TISSERANT and Laurent BESSARD
    +# Copyright (C) 2012: Edouard TISSERANT and Laurent BESSARD
    #
    -#See COPYING file for copyrights details.
    +# See COPYING file for copyrights details.
    #
    -#This library is free software; you can redistribute it and/or
    -#modify it under the terms of the GNU General Public
    -#License as published by the Free Software Foundation; either
    -#version 2.1 of the License, or (at your option) any later version.
    +# This program is free software; you can redistribute it and/or
    +# modify it under the terms of the GNU General Public License
    +# as published by the Free Software Foundation; either version 2
    +# of the License, or (at your option) any later version.
    #
    -#This library 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
    -#General Public License for more details.
    +# This program 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 General Public License for more details.
    #
    -#You should have received a copy of the GNU General Public
    -#License along with this library; if not, write to the Free Software
    -#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    +# You should have received a copy of the GNU General Public License
    +# along with this program; if not, write to the Free Software
    +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    import os
    --- a/util/ProcessLogger.py Thu Nov 17 22:57:20 2016 +0300
    +++ b/util/ProcessLogger.py Fri Nov 18 13:57:42 2016 +0300
    @@ -1,27 +1,26 @@
    #!/usr/bin/env python
    # -*- coding: utf-8 -*-
    -#This file is part of Beremiz, a Integrated Development Environment for
    -#programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    +# This file is part of Beremiz, a Integrated Development Environment for
    +# programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    #
    -#Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    +# Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    #
    -#See COPYING file for copyrights details.
    +# See COPYING file for copyrights details.
    #
    -#This library is free software; you can redistribute it and/or
    -#modify it under the terms of the GNU General Public
    -#License as published by the Free Software Foundation; either
    -#version 2.1 of the License, or (at your option) any later version.
    +# This program is free software; you can redistribute it and/or
    +# modify it under the terms of the GNU General Public License
    +# as published by the Free Software Foundation; either version 2
    +# of the License, or (at your option) any later version.
    #
    -#This library 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
    -#General Public License for more details.
    +# This program 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 General Public License for more details.
    #
    -#You should have received a copy of the GNU General Public
    -#License along with this library; if not, write to the Free Software
    -#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    -
    +# You should have received a copy of the GNU General Public License
    +# along with this program; if not, write to the Free Software
    +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    import time
    import wx
    --- a/xmlclass/__init__.py Thu Nov 17 22:57:20 2016 +0300
    +++ b/xmlclass/__init__.py Fri Nov 18 13:57:42 2016 +0300
    @@ -1,26 +1,26 @@
    #!/usr/bin/env python
    # -*- coding: utf-8 -*-
    -#This file is part of PLCOpenEditor, a library implementing an IEC 61131-3 editor
    -#based on the plcopen standard.
    +# This file is part of Beremiz, a Integrated Development Environment for
    +# programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    #
    -#Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    +# Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    #
    -#See COPYING file for copyrights details.
    +# See COPYING file for copyrights details.
    #
    -#This library is free software; you can redistribute it and/or
    -#modify it under the terms of the GNU General Public
    -#License as published by the Free Software Foundation; either
    -#version 2.1 of the License, or (at your option) any later version.
    +# This program is free software; you can redistribute it and/or
    +# modify it under the terms of the GNU General Public License
    +# as published by the Free Software Foundation; either version 2
    +# of the License, or (at your option) any later version.
    #
    -#This library 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
    -#General Public License for more details.
    +# This program 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 General Public License for more details.
    #
    -#You should have received a copy of the GNU General Public
    -#License along with this library; if not, write to the Free Software
    -#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    +# You should have received a copy of the GNU General Public License
    +# along with this program; if not, write to the Free Software
    +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    # Package initialisation
    --- a/xmlclass/xmlclass.py Thu Nov 17 22:57:20 2016 +0300
    +++ b/xmlclass/xmlclass.py Fri Nov 18 13:57:42 2016 +0300
    @@ -1,26 +1,26 @@
    #!/usr/bin/env python
    # -*- coding: utf-8 -*-
    -#This file is part of PLCOpenEditor, a library implementing an IEC 61131-3 editor
    -#based on the plcopen standard.
    +# This file is part of Beremiz, a Integrated Development Environment for
    +# programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    #
    -#Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    +# Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    #
    -#See COPYING file for copyrights details.
    +# See COPYING file for copyrights details.
    #
    -#This library is free software; you can redistribute it and/or
    -#modify it under the terms of the GNU General Public
    -#License as published by the Free Software Foundation; either
    -#version 2.1 of the License, or (at your option) any later version.
    +# This program is free software; you can redistribute it and/or
    +# modify it under the terms of the GNU General Public License
    +# as published by the Free Software Foundation; either version 2
    +# of the License, or (at your option) any later version.
    #
    -#This library 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
    -#General Public License for more details.
    +# This program 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 General Public License for more details.
    #
    -#You should have received a copy of the GNU General Public
    -#License along with this library; if not, write to the Free Software
    -#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    +# You should have received a copy of the GNU General Public License
    +# along with this program; if not, write to the Free Software
    +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    import os, sys
    import re
    --- a/xmlclass/xsdschema.py Thu Nov 17 22:57:20 2016 +0300
    +++ b/xmlclass/xsdschema.py Fri Nov 18 13:57:42 2016 +0300
    @@ -1,26 +1,26 @@
    #!/usr/bin/env python
    # -*- coding: utf-8 -*-
    -#This file is part of PLCOpenEditor, a library implementing an IEC 61131-3 editor
    -#based on the plcopen standard.
    +# This file is part of Beremiz, a Integrated Development Environment for
    +# programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
    #
    -#Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    +# Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
    #
    -#See COPYING file for copyrights details.
    +# See COPYING file for copyrights details.
    #
    -#This library is free software; you can redistribute it and/or
    -#modify it under the terms of the GNU General Public
    -#License as published by the Free Software Foundation; either
    -#version 2.1 of the License, or (at your option) any later version.
    +# This program is free software; you can redistribute it and/or
    +# modify it under the terms of the GNU General Public License
    +# as published by the Free Software Foundation; either version 2
    +# of the License, or (at your option) any later version.
    #
    -#This library 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
    -#General Public License for more details.
    +# This program 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 General Public License for more details.
    #
    -#You should have received a copy of the GNU General Public
    -#License along with this library; if not, write to the Free Software
    -#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    +# You should have received a copy of the GNU General Public License
    +# along with this program; if not, write to the Free Software
    +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    import os, re
    import datetime