From 9d7e460b500b67bea7bf70a4c08de43951b90fcb Mon Sep 17 00:00:00 2001 From: Arjen Hiemstra Date: Mon, 11 May 2015 12:18:05 +0200 Subject: [PATCH] Add missing copyright headers Fixes #5 --- cura.py | 3 +++ plugins/CuraEngineBackend/CuraEngineBackend.py | 3 +++ plugins/CuraEngineBackend/Cura_pb2.py | 3 +++ plugins/CuraEngineBackend/LayerData.py | 3 +++ plugins/CuraEngineBackend/ProcessGCodeJob.py | 3 +++ plugins/CuraEngineBackend/ProcessSlicedObjectListJob.py | 3 +++ plugins/CuraEngineBackend/__init__.py | 3 +++ plugins/GCodeWriter/GCodeWriter.py | 3 +++ plugins/GCodeWriter/__init__.py | 3 +++ plugins/LayerView/LayerView.py | 3 +++ plugins/LayerView/LayerView.qml | 3 +++ plugins/LayerView/__init__.py | 3 +++ plugins/USBPrinting/ControlWindow.qml | 3 +++ plugins/USBPrinting/FirmwareUpdateWindow.qml | 3 +++ plugins/USBPrinting/PrinterConnection.py | 3 +++ plugins/USBPrinting/USBPrinterManager.py | 3 +++ plugins/USBPrinting/__init__.py | 3 +++ resources/qml/AboutDialog.qml | 3 +++ resources/qml/Actions.qml | 3 +++ resources/qml/AddMachineWizard.qml | 3 +++ resources/qml/Cura.qml | 3 +++ resources/qml/EngineLog.qml | 3 +++ resources/qml/SaveButton.qml | 3 +++ resources/qml/Sidebar.qml | 3 +++ resources/qml/SidebarAdvanced.qml | 3 +++ resources/qml/SidebarHeader.qml | 3 +++ resources/qml/SidebarSimple.qml | 3 +++ resources/qml/SidebarTooltip.qml | 3 +++ resources/qml/Toolbar.qml | 3 +++ resources/qml/ViewPage.qml | 3 +++ resources/themes/cura/styles.qml | 3 +++ setup.py | 3 +++ src/BuildVolume.py | 3 +++ src/CameraAnimation.py | 3 +++ src/ConvexHullJob.py | 3 +++ src/ConvexHullNode.py | 3 +++ src/CuraApplication.py | 3 +++ src/PlatformPhysics.py | 3 +++ src/PlatformPhysicsOperation.py | 3 +++ src/PrintInformation.py | 3 +++ 40 files changed, 120 insertions(+) mode change 100755 => 100644 cura.py diff --git a/cura.py b/cura.py old mode 100755 new mode 100644 index 7ec66e3913..1d7a515e9b --- a/cura.py +++ b/cura.py @@ -1,5 +1,8 @@ #!/usr/bin/env python3 +# Copyright (c) 2015 Ultimaker B.V. +# Cura is released under the terms of the AGPLv3 or higher. + from src.CuraApplication import CuraApplication app = CuraApplication.getInstance() diff --git a/plugins/CuraEngineBackend/CuraEngineBackend.py b/plugins/CuraEngineBackend/CuraEngineBackend.py index 8d549d45a9..9655a4d08e 100644 --- a/plugins/CuraEngineBackend/CuraEngineBackend.py +++ b/plugins/CuraEngineBackend/CuraEngineBackend.py @@ -1,3 +1,6 @@ +# Copyright (c) 2015 Ultimaker B.V. +# Cura is released under the terms of the AGPLv3 or higher. + from UM.Backend.Backend import Backend from UM.Application import Application from UM.Scene.SceneNode import SceneNode diff --git a/plugins/CuraEngineBackend/Cura_pb2.py b/plugins/CuraEngineBackend/Cura_pb2.py index c577ef0f71..cf95bd2832 100644 --- a/plugins/CuraEngineBackend/Cura_pb2.py +++ b/plugins/CuraEngineBackend/Cura_pb2.py @@ -1,3 +1,6 @@ +# Copyright (c) 2015 Ultimaker B.V. +# Cura is released under the terms of the AGPLv3 or higher. + # Generated by the protocol buffer compiler. DO NOT EDIT! # source: Cura.proto diff --git a/plugins/CuraEngineBackend/LayerData.py b/plugins/CuraEngineBackend/LayerData.py index 33ec83cd81..546397e460 100644 --- a/plugins/CuraEngineBackend/LayerData.py +++ b/plugins/CuraEngineBackend/LayerData.py @@ -1,3 +1,6 @@ +# Copyright (c) 2015 Ultimaker B.V. +# Cura is released under the terms of the AGPLv3 or higher. + from UM.Mesh.MeshData import MeshData from UM.Math.Color import Color diff --git a/plugins/CuraEngineBackend/ProcessGCodeJob.py b/plugins/CuraEngineBackend/ProcessGCodeJob.py index 22f3c273aa..59ab380503 100644 --- a/plugins/CuraEngineBackend/ProcessGCodeJob.py +++ b/plugins/CuraEngineBackend/ProcessGCodeJob.py @@ -1,3 +1,6 @@ +# Copyright (c) 2015 Ultimaker B.V. +# Cura is released under the terms of the AGPLv3 or higher. + from UM.Job import Job from UM.Application import Application diff --git a/plugins/CuraEngineBackend/ProcessSlicedObjectListJob.py b/plugins/CuraEngineBackend/ProcessSlicedObjectListJob.py index 75b3be40c4..804338e4dc 100644 --- a/plugins/CuraEngineBackend/ProcessSlicedObjectListJob.py +++ b/plugins/CuraEngineBackend/ProcessSlicedObjectListJob.py @@ -1,3 +1,6 @@ +# Copyright (c) 2015 Ultimaker B.V. +# Cura is released under the terms of the AGPLv3 or higher. + from UM.Job import Job from UM.Scene.Iterator.DepthFirstIterator import DepthFirstIterator from UM.Scene.SceneNode import SceneNode diff --git a/plugins/CuraEngineBackend/__init__.py b/plugins/CuraEngineBackend/__init__.py index fd0aad847c..0c9588b1e7 100644 --- a/plugins/CuraEngineBackend/__init__.py +++ b/plugins/CuraEngineBackend/__init__.py @@ -1,3 +1,6 @@ +# Copyright (c) 2015 Ultimaker B.V. +# Cura is released under the terms of the AGPLv3 or higher. + #Shoopdawoop from . import CuraEngineBackend diff --git a/plugins/GCodeWriter/GCodeWriter.py b/plugins/GCodeWriter/GCodeWriter.py index 65bce874be..f776c6f0c1 100644 --- a/plugins/GCodeWriter/GCodeWriter.py +++ b/plugins/GCodeWriter/GCodeWriter.py @@ -1,3 +1,6 @@ +# Copyright (c) 2015 Ultimaker B.V. +# Cura is released under the terms of the AGPLv3 or higher. + from UM.Mesh.MeshWriter import MeshWriter from UM.Logger import Logger from UM.Application import Application diff --git a/plugins/GCodeWriter/__init__.py b/plugins/GCodeWriter/__init__.py index d0bbd52c16..3897cc3f75 100644 --- a/plugins/GCodeWriter/__init__.py +++ b/plugins/GCodeWriter/__init__.py @@ -1,3 +1,6 @@ +# Copyright (c) 2015 Ultimaker B.V. +# Cura is released under the terms of the AGPLv3 or higher. + from . import GCodeWriter from UM.i18n import i18nCatalog diff --git a/plugins/LayerView/LayerView.py b/plugins/LayerView/LayerView.py index 73d70ee758..576feb6cb4 100644 --- a/plugins/LayerView/LayerView.py +++ b/plugins/LayerView/LayerView.py @@ -1,3 +1,6 @@ +# Copyright (c) 2015 Ultimaker B.V. +# Cura is released under the terms of the AGPLv3 or higher. + from UM.View.View import View from UM.View.Renderer import Renderer from UM.Scene.Iterator.DepthFirstIterator import DepthFirstIterator diff --git a/plugins/LayerView/LayerView.qml b/plugins/LayerView/LayerView.qml index fc88051d32..fc598bfb75 100644 --- a/plugins/LayerView/LayerView.qml +++ b/plugins/LayerView/LayerView.qml @@ -1,3 +1,6 @@ +// Copyright (c) 2015 Ultimaker B.V. +// Cura is released under the terms of the AGPLv3 or higher. + import QtQuick 2.2 import QtQuick.Controls 1.2 import QtQuick.Layouts 1.1 diff --git a/plugins/LayerView/__init__.py b/plugins/LayerView/__init__.py index c83caf0643..93aa856175 100644 --- a/plugins/LayerView/__init__.py +++ b/plugins/LayerView/__init__.py @@ -1,3 +1,6 @@ +# Copyright (c) 2015 Ultimaker B.V. +# Cura is released under the terms of the AGPLv3 or higher. + from . import LayerView from UM.i18n import i18nCatalog diff --git a/plugins/USBPrinting/ControlWindow.qml b/plugins/USBPrinting/ControlWindow.qml index 5eb9ee2884..e2ff1b5d23 100644 --- a/plugins/USBPrinting/ControlWindow.qml +++ b/plugins/USBPrinting/ControlWindow.qml @@ -1,3 +1,6 @@ +// Copyright (c) 2015 Ultimaker B.V. +// Cura is released under the terms of the AGPLv3 or higher. + import QtQuick 2.1 import QtQuick.Controls 1.1 import QtQuick.Layouts 1.1 diff --git a/plugins/USBPrinting/FirmwareUpdateWindow.qml b/plugins/USBPrinting/FirmwareUpdateWindow.qml index 3cb69d2a8b..ba5aa4e439 100644 --- a/plugins/USBPrinting/FirmwareUpdateWindow.qml +++ b/plugins/USBPrinting/FirmwareUpdateWindow.qml @@ -1,3 +1,6 @@ +// Copyright (c) 2015 Ultimaker B.V. +// Cura is released under the terms of the AGPLv3 or higher. + import QtQuick 2.1 import QtQuick.Controls 1.1 import QtQuick.Layouts 1.1 diff --git a/plugins/USBPrinting/PrinterConnection.py b/plugins/USBPrinting/PrinterConnection.py index 442cbe2e43..ad231f5207 100644 --- a/plugins/USBPrinting/PrinterConnection.py +++ b/plugins/USBPrinting/PrinterConnection.py @@ -1,3 +1,6 @@ +# Copyright (c) 2015 Ultimaker B.V. +# Cura is released under the terms of the AGPLv3 or higher. + from .avr_isp import stk500v2, ispBase, intelHex import serial import threading diff --git a/plugins/USBPrinting/USBPrinterManager.py b/plugins/USBPrinting/USBPrinterManager.py index a683f12c7a..ba515594ae 100644 --- a/plugins/USBPrinting/USBPrinterManager.py +++ b/plugins/USBPrinting/USBPrinterManager.py @@ -1,3 +1,6 @@ +# Copyright (c) 2015 Ultimaker B.V. +# Cura is released under the terms of the AGPLv3 or higher. + from UM.Signal import Signal, SignalEmitter from . import PrinterConnection from UM.Application import Application diff --git a/plugins/USBPrinting/__init__.py b/plugins/USBPrinting/__init__.py index e9bbb22c1a..1afa25c8a2 100644 --- a/plugins/USBPrinting/__init__.py +++ b/plugins/USBPrinting/__init__.py @@ -1,3 +1,6 @@ +# Copyright (c) 2015 Ultimaker B.V. +# Cura is released under the terms of the AGPLv3 or higher. + from . import USBPrinterManager from UM.i18n import i18nCatalog diff --git a/resources/qml/AboutDialog.qml b/resources/qml/AboutDialog.qml index 180c40fdd5..df2ecf4172 100644 --- a/resources/qml/AboutDialog.qml +++ b/resources/qml/AboutDialog.qml @@ -1,3 +1,6 @@ +// Copyright (c) 2015 Ultimaker B.V. +// Cura is released under the terms of the AGPLv3 or higher. + import QtQuick 2.2 import QtQuick.Controls 1.1 import QtQuick.Layouts 1.1 diff --git a/resources/qml/Actions.qml b/resources/qml/Actions.qml index 4205414ef1..b29b260f28 100644 --- a/resources/qml/Actions.qml +++ b/resources/qml/Actions.qml @@ -1,3 +1,6 @@ +// Copyright (c) 2015 Ultimaker B.V. +// Cura is released under the terms of the AGPLv3 or higher. + import QtQuick 2.2 import QtQuick.Controls 1.1 diff --git a/resources/qml/AddMachineWizard.qml b/resources/qml/AddMachineWizard.qml index 5ff8bab1ac..d2cd54b5b0 100644 --- a/resources/qml/AddMachineWizard.qml +++ b/resources/qml/AddMachineWizard.qml @@ -1,3 +1,6 @@ +// Copyright (c) 2015 Ultimaker B.V. +// Cura is released under the terms of the AGPLv3 or higher. + import QtQuick 2.2 import QtQuick.Controls 1.1 import QtQuick.Layouts 1.1 diff --git a/resources/qml/Cura.qml b/resources/qml/Cura.qml index d79c68bad2..7e48765f17 100644 --- a/resources/qml/Cura.qml +++ b/resources/qml/Cura.qml @@ -1,3 +1,6 @@ +// Copyright (c) 2015 Ultimaker B.V. +// Cura is released under the terms of the AGPLv3 or higher. + import QtQuick 2.2 import QtQuick.Controls 1.1 import QtQuick.Controls.Styles 1.1 diff --git a/resources/qml/EngineLog.qml b/resources/qml/EngineLog.qml index 3ce1073796..0248ba0ea7 100644 --- a/resources/qml/EngineLog.qml +++ b/resources/qml/EngineLog.qml @@ -1,3 +1,6 @@ +// Copyright (c) 2015 Ultimaker B.V. +// Cura is released under the terms of the AGPLv3 or higher. + import QtQuick 2.2 import QtQuick.Controls 1.1 import QtQuick.Layouts 1.1 diff --git a/resources/qml/SaveButton.qml b/resources/qml/SaveButton.qml index 60caa47ac5..07bc0a9ccc 100644 --- a/resources/qml/SaveButton.qml +++ b/resources/qml/SaveButton.qml @@ -1,3 +1,6 @@ +// Copyright (c) 2015 Ultimaker B.V. +// Cura is released under the terms of the AGPLv3 or higher. + import QtQuick 2.2 import QtQuick.Controls 1.1 import QtQuick.Controls.Styles 1.1 diff --git a/resources/qml/Sidebar.qml b/resources/qml/Sidebar.qml index d5b824382d..0d4d0df599 100644 --- a/resources/qml/Sidebar.qml +++ b/resources/qml/Sidebar.qml @@ -1,3 +1,6 @@ +// Copyright (c) 2015 Ultimaker B.V. +// Cura is released under the terms of the AGPLv3 or higher. + import QtQuick 2.2 import QtQuick.Controls 1.1 import QtQuick.Controls.Styles 1.1 diff --git a/resources/qml/SidebarAdvanced.qml b/resources/qml/SidebarAdvanced.qml index bdd91fd2f9..7d0e391768 100644 --- a/resources/qml/SidebarAdvanced.qml +++ b/resources/qml/SidebarAdvanced.qml @@ -1,3 +1,6 @@ +// Copyright (c) 2015 Ultimaker B.V. +// Cura is released under the terms of the AGPLv3 or higher. + import UM 1.0 as UM UM.SettingView { } diff --git a/resources/qml/SidebarHeader.qml b/resources/qml/SidebarHeader.qml index ddaa1e0c2a..6059d48155 100644 --- a/resources/qml/SidebarHeader.qml +++ b/resources/qml/SidebarHeader.qml @@ -1,3 +1,6 @@ +// Copyright (c) 2015 Ultimaker B.V. +// Cura is released under the terms of the AGPLv3 or higher. + import QtQuick 2.2 import QtQuick.Controls 1.1 import QtQuick.Controls.Styles 1.1 diff --git a/resources/qml/SidebarSimple.qml b/resources/qml/SidebarSimple.qml index 4929d76794..1b41da7d6f 100644 --- a/resources/qml/SidebarSimple.qml +++ b/resources/qml/SidebarSimple.qml @@ -1,3 +1,6 @@ +// Copyright (c) 2015 Ultimaker B.V. +// Cura is released under the terms of the AGPLv3 or higher. + import QtQuick 2.2 import QtQuick.Controls 1.1 import QtQuick.Controls.Styles 1.1 diff --git a/resources/qml/SidebarTooltip.qml b/resources/qml/SidebarTooltip.qml index 643e6b75e0..9003faf995 100644 --- a/resources/qml/SidebarTooltip.qml +++ b/resources/qml/SidebarTooltip.qml @@ -1,3 +1,6 @@ +// Copyright (c) 2015 Ultimaker B.V. +// Cura is released under the terms of the AGPLv3 or higher. + import QtQuick 2.2 import QtQuick.Controls 1.1 import QtQuick.Controls.Styles 1.1 diff --git a/resources/qml/Toolbar.qml b/resources/qml/Toolbar.qml index ee051416aa..e24d929ed7 100644 --- a/resources/qml/Toolbar.qml +++ b/resources/qml/Toolbar.qml @@ -1,3 +1,6 @@ +// Copyright (c) 2015 Ultimaker B.V. +// Cura is released under the terms of the AGPLv3 or higher. + import QtQuick 2.2 import QtQuick.Controls 1.1 import QtQuick.Controls.Styles 1.1 diff --git a/resources/qml/ViewPage.qml b/resources/qml/ViewPage.qml index a388bd8e6f..5ff44478c2 100644 --- a/resources/qml/ViewPage.qml +++ b/resources/qml/ViewPage.qml @@ -1,3 +1,6 @@ +// Copyright (c) 2015 Ultimaker B.V. +// Cura is released under the terms of the AGPLv3 or higher. + import QtQuick 2.1 import QtQuick.Controls 1.1 import QtQuick.Layouts 1.1 diff --git a/resources/themes/cura/styles.qml b/resources/themes/cura/styles.qml index ef4ab8936e..d17560d976 100644 --- a/resources/themes/cura/styles.qml +++ b/resources/themes/cura/styles.qml @@ -1,3 +1,6 @@ +// Copyright (c) 2015 Ultimaker B.V. +// Cura is released under the terms of the AGPLv3 or higher. + import QtQuick 2.1 import QtQuick.Controls 1.1 import QtQuick.Controls.Styles 1.1 diff --git a/setup.py b/setup.py index f49933be88..c7804d1534 100644 --- a/setup.py +++ b/setup.py @@ -1,3 +1,6 @@ +# Copyright (c) 2015 Ultimaker B.V. +# Cura is released under the terms of the AGPLv3 or higher. + from distutils.core import setup import py2exe import UM diff --git a/src/BuildVolume.py b/src/BuildVolume.py index c6293e1d5d..85806542f8 100644 --- a/src/BuildVolume.py +++ b/src/BuildVolume.py @@ -1,3 +1,6 @@ +# Copyright (c) 2015 Ultimaker B.V. +# Cura is released under the terms of the AGPLv3 or higher. + from UM.View.Renderer import Renderer from UM.Scene.SceneNode import SceneNode from UM.Application import Application diff --git a/src/CameraAnimation.py b/src/CameraAnimation.py index 653dbb79e7..e31cbb93a4 100644 --- a/src/CameraAnimation.py +++ b/src/CameraAnimation.py @@ -1,3 +1,6 @@ +# Copyright (c) 2015 Ultimaker B.V. +# Cura is released under the terms of the AGPLv3 or higher. + from PyQt5.QtCore import QVariantAnimation, QEasingCurve from PyQt5.QtGui import QVector3D diff --git a/src/ConvexHullJob.py b/src/ConvexHullJob.py index f233352d1a..f796c6158e 100644 --- a/src/ConvexHullJob.py +++ b/src/ConvexHullJob.py @@ -1,3 +1,6 @@ +# Copyright (c) 2015 Ultimaker B.V. +# Cura is released under the terms of the AGPLv3 or higher. + from UM.Job import Job from UM.Application import Application from UM.Math.Polygon import Polygon diff --git a/src/ConvexHullNode.py b/src/ConvexHullNode.py index 647737fbce..a94ae60897 100644 --- a/src/ConvexHullNode.py +++ b/src/ConvexHullNode.py @@ -1,3 +1,6 @@ +# Copyright (c) 2015 Ultimaker B.V. +# Cura is released under the terms of the AGPLv3 or higher. + from UM.Scene.SceneNode import SceneNode from UM.Resources import Resources from UM.Math.Color import Color diff --git a/src/CuraApplication.py b/src/CuraApplication.py index 40084255b4..ddc2f2e404 100644 --- a/src/CuraApplication.py +++ b/src/CuraApplication.py @@ -1,3 +1,6 @@ +# Copyright (c) 2015 Ultimaker B.V. +# Cura is released under the terms of the AGPLv3 or higher. + from UM.Qt.QtApplication import QtApplication from UM.Scene.SceneNode import SceneNode from UM.Scene.Camera import Camera diff --git a/src/PlatformPhysics.py b/src/PlatformPhysics.py index 0b27c27460..8ddf206aea 100644 --- a/src/PlatformPhysics.py +++ b/src/PlatformPhysics.py @@ -1,3 +1,6 @@ +# Copyright (c) 2015 Ultimaker B.V. +# Cura is released under the terms of the AGPLv3 or higher. + from PyQt5.QtCore import QTimer from UM.Scene.SceneNode import SceneNode diff --git a/src/PlatformPhysicsOperation.py b/src/PlatformPhysicsOperation.py index 7a73b38297..c307ae5ae9 100644 --- a/src/PlatformPhysicsOperation.py +++ b/src/PlatformPhysicsOperation.py @@ -1,3 +1,6 @@ +# Copyright (c) 2015 Ultimaker B.V. +# Cura is released under the terms of the AGPLv3 or higher. + from UM.Operations.Operation import Operation from UM.Operations.AddSceneNodeOperation import AddSceneNodeOperation from UM.Operations.TranslateOperation import TranslateOperation diff --git a/src/PrintInformation.py b/src/PrintInformation.py index 88786085f6..f36f2509cf 100644 --- a/src/PrintInformation.py +++ b/src/PrintInformation.py @@ -1,3 +1,6 @@ +# Copyright (c) 2015 Ultimaker B.V. +# Cura is released under the terms of the AGPLv3 or higher. + from PyQt5.QtCore import QObject, QDateTime, QTimer, pyqtSignal, pyqtSlot, pyqtProperty from UM.Application import Application