diff options
author | hut <hut@lepus.uberspace.de> | 2015-03-19 01:06:02 +0100 |
---|---|---|
committer | hut <hut@lepus.uberspace.de> | 2015-03-19 01:06:02 +0100 |
commit | dc92d37539565a6ec2cb487dc0b26ed875b8ede4 (patch) | |
tree | 1bfbd02a2ee9dd539ac086b92cd80826b3ca9ef7 /ranger | |
parent | bc79568d49652375c08a5c8d58262b1ef03d44e7 (diff) | |
download | ranger-dc92d37539565a6ec2cb487dc0b26ed875b8ede4.tar.gz |
Neater copyright header
Diffstat (limited to 'ranger')
66 files changed, 143 insertions, 194 deletions
diff --git a/ranger/__init__.py b/ranger/__init__.py index af7cee33..b850f455 100644 --- a/ranger/__init__.py +++ b/ranger/__init__.py @@ -1,5 +1,5 @@ -# Copyright (C) 2009-2013 Roman Zimbelmann <hut@hut.pm> -# This software is distributed under the terms of the GNU GPL version 3. +# This file is part of ranger, the console file manager. +# License: GNU GPL version 3, see the file "AUTHORS" for details. """A console file manager with VI key bindings. diff --git a/ranger/api/__init__.py b/ranger/api/__init__.py index 572cf1a4..7baa661d 100644 --- a/ranger/api/__init__.py +++ b/ranger/api/__init__.py @@ -1,3 +1,6 @@ +# This file is part of ranger, the console file manager. +# License: GNU GPL version 3, see the file "AUTHORS" for details. + """Files in this module contain helper functions used in configuration files.""" # Hooks for use in plugins: diff --git a/ranger/api/commands.py b/ranger/api/commands.py index 52028128..cf8d28a7 100644 --- a/ranger/api/commands.py +++ b/ranger/api/commands.py @@ -1,5 +1,5 @@ -# Copyright (C) 2009-2013 Roman Zimbelmann <hut@hut.pm> -# This software is distributed under the terms of the GNU GPL version 3. +# This file is part of ranger, the console file manager. +# License: GNU GPL version 3, see the file "AUTHORS" for details. # TODO: Add an optional "!" to all commands and set a flag if it's there diff --git a/ranger/api/options.py b/ranger/api/options.py index d30c7995..0cce1364 100644 --- a/ranger/api/options.py +++ b/ranger/api/options.py @@ -1,5 +1,5 @@ -# Copyright (C) 2009-2013 Roman Zimbelmann <hut@hut.pm> -# This software is distributed under the terms of the GNU GPL version 3. +# This file is part of ranger, the console file manager. +# License: GNU GPL version 3, see the file "AUTHORS" for details. # THIS WHOLE FILE IS OBSOLETE AND EXISTS FOR BACKWARDS COMPATIBILITIY import re diff --git a/ranger/colorschemes/default.py b/ranger/colorschemes/default.py index 47ebff27..80fa9e39 100644 --- a/ranger/colorschemes/default.py +++ b/ranger/colorschemes/default.py @@ -1,5 +1,5 @@ -# Copyright (C) 2009-2013 Roman Zimbelmann <hut@hut.pm> -# This software is distributed under the terms of the GNU GPL version 3. +# This file is part of ranger, the console file manager. +# License: GNU GPL version 3, see the file "AUTHORS" for details. from ranger.gui.colorscheme import ColorScheme from ranger.gui.color import * diff --git a/ranger/colorschemes/jungle.py b/ranger/colorschemes/jungle.py index 91ffc9c6..a4fb1c1d 100644 --- a/ranger/colorschemes/jungle.py +++ b/ranger/colorschemes/jungle.py @@ -1,5 +1,5 @@ -# Copyright (C) 2009-2013 Roman Zimbelmann <hut@hut.pm> -# This software is distributed under the terms of the GNU GPL version 3. +# This file is part of ranger, the console file manager. +# License: GNU GPL version 3, see the file "AUTHORS" for details. from ranger.gui.color import * from ranger.colorschemes.default import Default diff --git a/ranger/colorschemes/snow.py b/ranger/colorschemes/snow.py index c7793a26..849f15e4 100644 --- a/ranger/colorschemes/snow.py +++ b/ranger/colorschemes/snow.py @@ -1,5 +1,5 @@ -# Copyright (C) 2009-2013 Roman Zimbelmann <hut@hut.pm> -# This software is distributed under the terms of the GNU GPL version 3. +# This file is part of ranger, the console file manager. +# License: GNU GPL version 3, see the file "AUTHORS" for details. from ranger.gui.colorscheme import ColorScheme from ranger.gui.color import * diff --git a/ranger/colorschemes/solarized.py b/ranger/colorschemes/solarized.py index 7d209ef9..07552ce2 100644 --- a/ranger/colorschemes/solarized.py +++ b/ranger/colorschemes/solarized.py @@ -1,8 +1,9 @@ -# Joseph Tannhuber <sepp.tannhuber@yahoo.de>, 2013 +# This file is part of ranger, the console file manager. +# License: GNU GPL version 3, see the file "AUTHORS" for details. +# Author: Joseph Tannhuber <sepp.tannhuber@yahoo.de>, 2013 # Solarized like colorscheme, similar to solarized-dircolors # from https://github.com/seebi/dircolors-solarized. # This is a modification of Roman Zimbelmann's default colorscheme. -# This software is distributed under the terms of the GNU GPL version 3. from ranger.gui.colorscheme import ColorScheme from ranger.gui.color import * diff --git a/ranger/config/commands.py b/ranger/config/commands.py index 581ea090..8797cb6b 100644 --- a/ranger/config/commands.py +++ b/ranger/config/commands.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright (C) 2009-2013 Roman Zimbelmann <hut@hut.pm> +# This file is part of ranger, the console file manager. # This configuration file is licensed under the same terms as ranger. # =================================================================== # diff --git a/ranger/container/bookmarks.py b/ranger/container/bookmarks.py index d664991b..5f163e89 100644 --- a/ranger/container/bookmarks.py +++ b/ranger/container/bookmarks.py @@ -1,5 +1,5 @@ -# Copyright (C) 2009-2013 Roman Zimbelmann <hut@hut.pm> -# This software is distributed under the terms of the GNU GPL version 3. +# This file is part of ranger, the console file manager. +# License: GNU GPL version 3, see the file "AUTHORS" for details. import string import re diff --git a/ranger/container/directory.py b/ranger/container/directory.py index 256dd729..9f554ad1 100644 --- a/ranger/container/directory.py +++ b/ranger/container/directory.py @@ -1,5 +1,5 @@ -# Copyright (C) 2009-2013 Roman Zimbelmann <hut@hut.pm> -# This software is distributed under the terms of the GNU GPL version 3. +# This file is part of ranger, the console file manager. +# License: GNU GPL version 3, see the file "AUTHORS" for details. import locale import os.path diff --git a/ranger/container/file.py b/ranger/container/file.py index fb8094a6..6be60f85 100644 --- a/ranger/container/file.py +++ b/ranger/container/file.py @@ -1,5 +1,5 @@ -# Copyright (C) 2009-2013 Roman Zimbelmann <hut@hut.pm> -# This software is distributed under the terms of the GNU GPL version 3. +# This file is part of ranger, the console file manager. +# License: GNU GPL version 3, see the file "AUTHORS" for details. import re from ranger.container.fsobject import FileSystemObject diff --git a/ranger/container/fsobject.py b/ranger/container/fsobject.py index 6cdaa727..131e2304 100644 --- a/ranger/container/fsobject.py +++ b/ranger/container/fsobject.py @@ -1,5 +1,5 @@ -# Copyright (C) 2009-2013 Roman Zimbelmann <hut@hut.pm> -# This software is distributed under the terms of the GNU GPL version 3. +# This file is part of ranger, the console file manager. +# License: GNU GPL version 3, see the file "AUTHORS" for details. CONTAINER_EXTENSIONS = ('7z', 'ace', 'ar', 'arc', 'bz', 'bz2', 'cab', 'cpio', 'cpt', 'deb', 'dgc', 'dmg', 'gz', 'iso', 'jar', 'msi', 'pkg', 'rar', diff --git a/ranger/container/history.py b/ranger/container/history.py index 5cd9d48f..8300edae 100644 --- a/ranger/container/history.py +++ b/ranger/container/history.py @@ -1,5 +1,5 @@ -# Copyright (C) 2009-2013 Roman Zimbelmann <hut@hut.pm> -# This software is distributed under the terms of the GNU GPL version 3. +# This file is part of ranger, the console file manager. +# License: GNU GPL version 3, see the file "AUTHORS" for details. # TODO: rewrite to use deque instead of list diff --git a/ranger/container/settings.py b/ranger/container/settings.py index 27737eb1..1d91495f 100644 --- a/ranger/container/settings.py +++ b/ranger/container/settings.py @@ -1,5 +1,5 @@ -# Copyright (C) 2009-2013 Roman Zimbelmann <hut@hut.pm> -# This software is distributed under the terms of the GNU GPL version 3. +# This file is part of ranger, the console file manager. +# License: GNU GPL version 3, see the file "AUTHORS" for details. from inspect import isfunction from ranger.ext.signals import SignalDispatcher, Signal diff --git a/ranger/container/tags.py b/ranger/container/tags.py index e9175e5f..7ecef603 100644 --- a/ranger/container/tags.py +++ b/ranger/container/tags.py @@ -1,5 +1,5 @@ -# Copyright (C) 2009-2013 Roman Zimbelmann <hut@hut.pm> -# This software is distributed under the terms of the GNU GPL version 3. +# This file is part of ranger, the console file manager. +# License: GNU GPL version 3, see the file "AUTHORS" for details. # TODO: add a __getitem__ method to get the tag of a file diff --git a/ranger/core/actions.py b/ranger/core/actions.py index d1e383ba..377df309 100644 --- a/ranger/core/actions.py +++ b/ranger/core/actions.py @@ -1,5 +1,5 @@ -# Copyright (C) 2009-2013 Roman Zimbelmann <hut@hut.pm> -# This software is distributed under the terms of the GNU GPL version 3. +# This file is part of ranger, the console file manager. +# License: GNU GPL version 3, see the file "AUTHORS" for details. import codecs import os diff --git a/ranger/core/environment.py b/ranger/core/environment.py index 5e57ab2c..fddb8f9f 100644 --- a/ranger/core/environment.py +++ b/ranger/core/environment.py @@ -1,5 +1,5 @@ -# Copyright (C) 2009-2013 Roman Zimbelmann <hut@hut.pm> -# This software is distributed under the terms of the GNU GPL version 3. +# This file is part of ranger, the console file manager. +# License: GNU GPL version 3, see the file "AUTHORS" for details. # THIS WHOLE FILE IS OBSOLETE AND EXISTS FOR BACKWARDS COMPATIBILITIY diff --git a/ranger/core/fm.py b/ranger/core/fm.py index b32a2c33..8ae1e753 100644 --- a/ranger/core/fm.py +++ b/ranger/core/fm.py @@ -1,5 +1,5 @@ -# Copyright (C) 2009-2013 Roman Zimbelmann <hut@hut.pm> -# This software is distributed under the terms of the GNU GPL version 3. +# This file is part of ranger, the console file manager. +# License: GNU GPL version 3, see the file "AUTHORS" for details. """The File Manager, putting the pieces together""" diff --git a/ranger/core/linemode.py b/ranger/core/linemode.py index 166829cf..5c138449 100644 --- a/ranger/core/linemode.py +++ b/ranger/core/linemode.py @@ -1,4 +1,7 @@ # -*- coding: utf-8 -*- +# This file is part of ranger, the console file manager. +# License: GNU GPL version 3, see the file "AUTHORS" for details. +# Author: Wojciech Siewierski <wojciech.siewierski@onet.pl>, 2015 from abc import * diff --git a/ranger/core/loader.py b/ranger/core/loader.py index cc1d6a20..86a591f0 100644 --- a/ranger/core/loader.py +++ b/ranger/core/loader.py @@ -1,5 +1,5 @@ -# Copyright (C) 2009-2013 Roman Zimbelmann <hut@hut.pm> -# This software is distributed under the terms of the GNU GPL version 3. +# This file is part of ranger, the console file manager. +# License: GNU GPL version 3, see the file "AUTHORS" for details. from collections import deque from time import time, sleep diff --git a/ranger/core/main.py b/ranger/core/main.py index 2a3cb48f..524a9a19 100644 --- a/ranger/core/main.py +++ b/ranger/core/main.py @@ -1,5 +1,5 @@ -# Copyright (C) 2009-2013 Roman Zimbelmann <hut@hut.pm> -# This software is distributed under the terms of the GNU GPL version 3. +# This file is part of ranger, the console file manager. +# License: GNU GPL version 3, see the file "AUTHORS" for details. """The main function responsible to initialize the FM object and stuff.""" diff --git a/ranger/core/metadata.py b/ranger/core/metadata.py index fc545b9c..e7f90efd 100644 --- a/ranger/core/metadata.py +++ b/ranger/core/metadata.py @@ -1,5 +1,5 @@ -# Copyright (C) 2014 Roman Zimbelmann <hut@hut.pm> -# This software is distributed under the terms of the GNU GPL version 3. +# This file is part of ranger, the console file manager. +# License: GNU GPL version 3, see the file "AUTHORS" for details. """ A Metadata Manager that reads information about files from a json database. diff --git a/ranger/core/runner.py b/ranger/core/runner.py index 001b6e9a..713f8027 100644 --- a/ranger/core/runner.py +++ b/ranger/core/runner.py @@ -1,5 +1,5 @@ -# Copyright (C) 2009-2013 Roman Zimbelmann <hut@hut.pm> -# This software is distributed under the terms of the GNU GPL version 3. +# This file is part of ranger, the console file manager. +# License: GNU GPL version 3, see the file "AUTHORS" for details. """This module is an abstract layer over subprocess.Popen diff --git a/ranger/core/shared.py b/ranger/core/shared.py index 0e78437f..ab76b511 100644 --- a/ranger/core/shared.py +++ b/ranger/core/shared.py @@ -1,5 +1,5 @@ -# Copyright (C) 2009-2013 Roman Zimbelmann <hut@hut.pm> -# This software is distributed under the terms of the GNU GPL version 3. +# This file is part of ranger, the console file manager. +# License: GNU GPL version 3, see the file "AUTHORS" for details. """Shared objects contain singletons for shared use.""" diff --git a/ranger/core/tab.py b/ranger/core/tab.py index f3320e0e..8e483e7d 100644 --- a/ranger/core/tab.py +++ b/ranger/core/tab.py @@ -1,5 +1,5 @@ -# Copyright (C) 2009-2013 Roman Zimbelmann <hut@hut.pm> -# This software is distributed under the terms of the GNU GPL version 3. +# This file is part of ranger, the console file manager. +# License: GNU GPL version 3, see the file "AUTHORS" for details. import os import sys diff --git a/ranger/ext/accumulator.py b/ranger/ext/accumulator.py index 2228f55e..278600c7 100644 --- a/ranger/ext/accumulator.py +++ b/ranger/ext/accumulator.py @@ -1,5 +1,5 @@ -# Copyright (C) 2009-2013 Roman Zimbelmann <hut@hut.pm> -# This software is distributed under the terms of the GNU GPL version 3. +# This file is part of ranger, the console file manager. +# License: GNU GPL version 3, see the file "AUTHORS" for details. from ranger.ext.direction import Direction diff --git a/ranger/ext/cached_function.py b/ranger/ext/cached_function.py index 438233b8..bce2b5ca 100644 --- a/ranger/ext/cached_function.py +++ b/ranger/ext/cached_function.py @@ -1,5 +1,5 @@ -# Copyright (C) 2012-2013 Roman Zimbelmann <hut@hut.pm> -# This software is distributed under the terms of the GNU GPL version 3. +# This file is part of ranger, the console file manager. +# License: GNU GPL version 3, see the file "AUTHORS" for details. def cached_function(fnc): cache = {} diff --git a/ranger/ext/curses_interrupt_handler.py b/ranger/ext/curses_interrupt_handler.py index cc04a06d..9ee12846 100644 --- a/ranger/ext/curses_interrupt_handler.py +++ b/ranger/ext/curses_interrupt_handler.py @@ -1,5 +1,5 @@ -# Copyright (C) 2009-2013 Roman Zimbelmann <hut@hut.pm> -# This software is distributed under the terms of the GNU GPL version 3. +# This file is part of ranger, the console file manager. +# License: GNU GPL version 3, see the file "AUTHORS" for details. """Interrupt Signal handler for curses diff --git a/ranger/ext/direction.py b/ranger/ext/direction.py index e85aefb2..572ce271 100644 --- a/ranger/ext/direction.py +++ b/ranger/ext/direction.py @@ -1,5 +1,5 @@ -# Copyright (C) 2009-2013 Roman Zimbelmann <hut@hut.pm> -# This software is distributed under the terms of the GNU GPL version 3. +# This file is part of ranger, the console file manager. +# License: GNU GPL version 3, see the file "AUTHORS" for details. """This class provides convenient methods for movement operations. diff --git a/ranger/ext/get_executables.py b/ranger/ext/get_executables.py index e127f1d2..6479f2cc 100644 --- a/ranger/ext/get_executables.py +++ b/ranger/ext/get_executables.py @@ -1,5 +1,5 @@ -# Copyright (C) 2009-2013 Roman Zimbelmann <hut@hut.pm> -# This software is distributed under the terms of the GNU GPL version 3. +# This file is part of ranger, the console file manager. +# License: GNU GPL version 3, see the file "AUTHORS" for details. from stat import S_IXOTH, S_IFREG from ranger.ext.iter_tools import unique diff --git a/ranger/ext/human_readable.py b/ranger/ext/human_readable.py index 53a114ab..af371370 100644 --- a/ranger/ext/human_readable.py +++ b/ranger/ext/human_readable.py @@ -1,5 +1,5 @@ -# Copyright (C) 2009-2013 Roman Zimbelmann <hut@hut.pm> -# This software is distributed under the terms of the GNU GPL version 3. +# This file is part of ranger, the console file manager. +# License: GNU GPL version 3, see the file "AUTHORS" for details. def human_readable(byte, separator=' '): """Convert a large number of bytes to an easily readable format. diff --git a/ranger/ext/img_display.py b/ranger/ext/img_display.py index 1f5be2be..6af717b5 100644 --- a/ranger/ext/img_display.py +++ b/ranger/ext/img_display.py @@ -1,4 +1,8 @@ -# This software is distributed under the terms of the GNU GPL version 3. +# This file is part of ranger, the console file manager. +# License: GNU GPL version 3, see the file "AUTHORS" for details. +# Author: Emanuel Guevel, 2013 +# Author: Delisa Mason, 2015 + """Interface for drawing images into the console This module provides functions to draw images in the terminal using supported diff --git a/ranger/ext/iter_tools.py b/ranger/ext/iter_tools.py index e70bfeee..d583d060 100644 --- a/ranger/ext/iter_tools.py +++ b/ranger/ext/iter_tools.py @@ -1,5 +1,5 @@ -# Copyright (C) 2009-2013 Roman Zimbelmann <hut@hut.pm> -# This software is distributed under the terms of the GNU GPL version 3. +# This file is part of ranger, the console file manager. +# License: GNU GPL version 3, see the file "AUTHORS" for details. from collections import deque diff --git a/ranger/ext/keybinding_parser.py b/ranger/ext/keybinding_parser.py index 0dbb26bd..780359f5 100644 --- a/ranger/ext/keybinding_parser.py +++ b/ranger/ext/keybinding_parser.py @@ -1,5 +1,5 @@ -# Copyright (C) 2009-2013 Roman Zimbelmann <hut@hut.pm> -# This software is distributed under the terms of the GNU GPL version 3. +# This file is part of ranger, the console file manager. +# License: GNU GPL version 3, see the file "AUTHORS" for details. import sys import copy diff --git a/ranger/ext/mount_path.py b/ranger/ext/mount_path.py index c2e01927..fdf11883 100644 --- a/ranger/ext/mount_path.py +++ b/ranger/ext/mount_path.py @@ -1,5 +1,5 @@ -# Copyright (C) 2009-2013 Roman Zimbelmann <hut@hut.pm> -# This software is distributed under the terms of the GNU GPL version 3. +# This file is part of ranger, the console file manager. +# License: GNU GPL version 3, see the file "AUTHORS" for details. from os.path import realpath, abspath, dirname, ismount diff --git a/ranger/ext/next_available_filename.py b/ranger/ext/next_available_filename.py index 74bb48ce..77a73c00 100644 --- a/ranger/ext/next_available_filename.py +++ b/ranger/ext/next_available_filename.py @@ -1,5 +1,5 @@ -# Copyright (C) 2011-2013 Roman Zimbelmann <hut@hut.pm> -# This software is distributed under the terms of the GNU GPL version 3. +# This file is part of ranger, the console file manager. +# License: GNU GPL version 3, see the file "AUTHORS" for details. import os.path diff --git a/ranger/ext/openstruct.py b/ranger/ext/openstruct.py index 55dd0a40..8737a84f 100644 --- a/ranger/ext/openstruct.py +++ b/ranger/ext/openstruct.py @@ -1,5 +1,5 @@ -# Copyright (C) 2009-2013 Roman Zimbelmann <hut@hut.pm> -# This software is distributed under the terms of the GNU GPL version 3. +# This file is part of ranger, the console file manager. +# License: GNU GPL version 3, see the file "AUTHORS" for details. import collections diff --git a/ranger/ext/popen_forked.py b/ranger/ext/popen_forked.py index b3b34e1b..ffe8438e 100644 --- a/ranger/ext/popen_forked.py +++ b/ranger/ext/popen_forked.py @@ -1,5 +1,5 @@ -# Copyright (C) 2012-2013 Roman Zimbelmann <hut@hut.pm> -# This software is distributed under the terms of the GNU GPL version 3. +# This file is part of ranger, the console file manager. +# License: GNU GPL version 3, see the file "AUTHORS" for details. import os import subprocess diff --git a/ranger/ext/relative_symlink.py b/ranger/ext/relative_symlink.py index 78a7422e..fe15a98a 100644 --- a/ranger/ext/relative_symlink.py +++ b/ranger/ext/relative_symlink.py @@ -1,5 +1,5 @@ -# Copyright (C) 2009-2013 Roman Zimbelmann <hut@hut.pm> -# This software is distributed under the terms of the GNU GPL version 3. +# This file is part of ranger, the console file manager. +# License: GNU GPL version 3, see the file "AUTHORS" for details. from os import symlink, sep diff --git a/ranger/ext/rifle.py b/ranger/ext/rifle.py index ad24b780..640cb382 100755 --- a/ranger/ext/rifle.py +++ b/ranger/ext/rifle.py @@ -1,6 +1,6 @@ #!/usr/bin/python -# Copyright (C) 2012-2013 Roman Zimbelmann <hut@hut.pm> -# This software is distributed under the terms of the GNU GPL version 3. +# This file is part of ranger, the console file manager. +# License: GNU GPL version 3, see the file "AUTHORS" for details. """rifle, the file executor/opener of ranger diff --git a/ranger/ext/shell_escape.py b/ranger/ext/shell_escape.py index ba03ae63..a7be2068 100644 --- a/ranger/ext/shell_escape.py +++ b/ranger/ext/shell_escape.py @@ -1,5 +1,5 @@ -# Copyright (C) 2009-2013 Roman Zimbelmann <hut@hut.pm> -# This software is distributed under the terms of the GNU GPL version 3. +# This file is part of ranger, the console file manager. +# License: GNU GPL version 3, see the file "AUTHORS" for details. """Functions to escape metacharacters of arguments for shell commands.""" diff --git a/ranger/ext/signals.py b/ranger/ext/signals.py index 33996b16..bcac66fe 100644 --- a/ranger/ext/signals.py +++ b/ranger/ext/signals.py @@ -1,5 +1,5 @@ -# Copyright (C) 2009-2013 Roman Zimbelmann <hut@hut.pm> -# This software is distributed under the terms of the GNU GPL version 3. +# This file is part of ranger, the console file manager. +# License: GNU GPL version 3, see the file "AUTHORS" for details. """An efficient and minimalistic signaling/hook module. diff --git a/ranger/ext/spawn.py b/ranger/ext/spawn.py index 6ef8d4c3..6c1b17b4 100644 --- a/ranger/ext/spawn.py +++ b/ranger/ext/spawn.py @@ -1,5 +1,5 @@ -# Copyright (C) 2009-2013 Roman Zimbelmann <hut@hut.pm> -# This software is distributed under the terms of the GNU GPL version 3. +# This file is part of ranger, the console file manager. +# License: GNU GPL version 3, see the file "AUTHORS" for details. from subprocess import Popen, PIPE ENCODING = 'utf-8' diff --git a/ranger/ext/vcs/__init__.py b/ranger/ext/vcs/__init__.py index bb696178..3f8e8138 100644 --- a/ranger/ext/vcs/__init__.py +++ b/ranger/ext/vcs/__init__.py @@ -1,21 +1,9 @@ -#!/usr/bin/env python3 # -*- coding: utf-8 -*- +# This file is part of ranger, the console file manager. +# License: GNU GPL version 3, see the file "AUTHORS" for details. +# Author: Abdó Roig-Maranges <abdo.roig@gmail.com>, 2011 # # vcs - a python module to handle various version control systems -# Copyright 2011 Abdó Roig-Maranges <abdo.roig@gmail.com> -# -# 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 3 of the License, or -# (at your option) any later version. -# -# 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, see <http://www.gnu.org/licenses/>. import os diff --git a/ranger/ext/vcs/bzr.py b/ranger/ext/vcs/bzr.py index ad82ce4d..2a52cf02 100644 --- a/ranger/ext/vcs/bzr.py +++ b/ranger/ext/vcs/bzr.py @@ -1,21 +1,9 @@ -#!/usr/bin/env python3 # -*- coding: utf-8 -*- +# This file is part of ranger, the console file manager. +# License: GNU GPL version 3, see the file "AUTHORS" for details. +# Author: Abdó Roig-Maranges <abdo.roig@gmail.com>, 2012 # # vcs - a python module to handle various version control systems -# Copyright 2012 Abdó Roig-Maranges <abdo.roig@gmail.com> -# -# 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 3 of the License, or -# (at your option) any later version. -# -# 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, see <http://www.gnu.org/licenses/>. import os import re diff --git a/ranger/ext/vcs/git.py b/ranger/ext/vcs/git.py index e462b003..f4950822 100644 --- a/ranger/ext/vcs/git.py +++ b/ranger/ext/vcs/git.py @@ -1,21 +1,9 @@ -#!/usr/bin/env python3 # -*- coding: utf-8 -*- +# This file is part of ranger, the console file manager. +# License: GNU GPL version 3, see the file "AUTHORS" for details. +# Author: Abdó Roig-Maranges <abdo.roig@gmail.com>, 2011-2012 # # vcs - a python module to handle various version control systems -# Copyright 2011, 2012 Abdó Roig-Maranges <abdo.roig@gmail.com> -# -# 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 3 of the License, or -# (at your option) any later version. -# -# 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, see <http://www.gnu.org/licenses/>. import os import re diff --git a/ranger/ext/vcs/hg.py b/ranger/ext/vcs/hg.py index 92aae349..b8731dbf 100644 --- a/ranger/ext/vcs/hg.py +++ b/ranger/ext/vcs/hg.py @@ -1,21 +1,9 @@ -#!/usr/bin/env python3 # -*- coding: utf-8 -*- +# This file is part of ranger, the console file manager. +# License: GNU GPL version 3, see the file "AUTHORS" for details. +# Author: Abdó Roig-Maranges <abdo.roig@gmail.com>, 2011-2012 # # vcs - a python module to handle various version control systems -# Copyright 2011, 2012 Abdó Roig-Maranges <abdo.roig@gmail.com> -# -# 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 3 of the License, or -# (at your option) any later version. -# -# 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, see <http://www.gnu.org/licenses/>. import os import re diff --git a/ranger/ext/vcs/vcs.py b/ranger/ext/vcs/vcs.py index 52802cfa..9bbb1779 100644 --- a/ranger/ext/vcs/vcs.py +++ b/ranger/ext/vcs/vcs.py @@ -1,21 +1,9 @@ -#!/usr/bin/env python3 # -*- coding: utf-8 -*- +# This file is part of ranger, the console file manager. +# License: GNU GPL version 3, see the file "AUTHORS" for details. +# Author: Abdó Roig-Maranges <abdo.roig@gmail.com>, 2011-2012 # # vcs - a python module to handle various version control systems -# Copyright 2011, 2012 Abdó Roig-Maranges <abdo.roig@gmail.com> -# -# 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 3 of the License, or -# (at your option) any later version. -# -# 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, see <http://www.gnu.org/licenses/>. import os import subprocess diff --git a/ranger/ext/widestring.py b/ranger/ext/widestring.py index 15ccaffe..06d32830 100644 --- a/ranger/ext/widestring.py +++ b/ranger/ext/widestring.py @@ -1,6 +1,6 @@ # -*- encoding: utf8 -*- -# Copyright (C) 2009-2013 Roman Zimbelmann <hut@hut.pm> -# This software is distributed under the terms of the GNU GPL version 3. +# This file is part of ranger, the console file manager. +# License: GNU GPL version 3, see the file "AUTHORS" for details. import sys from unicodedata import east_asian_width diff --git a/ranger/gui/ansi.py b/ranger/gui/ansi.py index 429395e4..601d6004 100644 --- a/ranger/gui/ansi.py +++ b/ranger/gui/ansi.py @@ -1,6 +1,6 @@ -# Copyright (C) 2010 David Barnett <davidbarnett2@gmail.com> -# Copyright (C) 2010-2013 Roman Zimbelmann <hut@hut.pm> -# This software is distributed under the terms of the GNU GPL version 3. +# This file is part of ranger, the console file manager. +# License: GNU GPL version 3, see the file "AUTHORS" for details. +# Author: David Barnett <davidbarnett2@gmail.com>, 2010 """A library to help to convert ANSI codes to curses instructions.""" diff --git a/ranger/gui/bar.py b/ranger/gui/bar.py index e37e21be..27462e54 100644 --- a/ranger/gui/bar.py +++ b/ranger/gui/bar.py @@ -1,5 +1,5 @@ -# Copyright (C) 2009-2013 Roman Zimbelmann <hut@hut.pm> -# This software is distributed under the terms of the GNU GPL version 3. +# This file is part of ranger, the console file manager. +# License: GNU GPL version 3, see the file "AUTHORS" for details. from ranger.ext.widestring import WideString, utf_char_width import sys diff --git a/ranger/gui/color.py b/ranger/gui/color.py index c3ecf4c8..2fa68a33 100644 --- a/ranger/gui/color.py +++ b/ranger/gui/color.py @@ -1,5 +1,5 @@ -# Copyright (C) 2009-2013 Roman Zimbelmann <hut@hut.pm> -# This software is distributed under the terms of the GNU GPL version 3. +# This file is part of ranger, the console file manager. +# License: GNU GPL version 3, see the file "AUTHORS" for details. """Contains abbreviations to curses color/attribute constants. diff --git a/ranger/gui/colorscheme.py b/ranger/gui/colorscheme.py index d281c43a..d6afcacc 100644 --- a/ranger/gui/colorscheme.py +++ b/ranger/gui/colorscheme.py @@ -1,5 +1,5 @@ -# Copyright (C) 2009-2013 Roman Zimbelmann <hut@hut.pm> -# This software is distributed under the terms of the GNU GPL version 3. +# This file is part of ranger, the console file manager. +# License: GNU GPL version 3, see the file "AUTHORS" for details. """Colorschemes define colors for specific contexts. diff --git a/ranger/gui/context.py b/ranger/gui/context.py index 7301717f..2ad27434 100644 --- a/ranger/gui/context.py +++ b/ranger/gui/context.py @@ -1,5 +1,5 @@ -# Copyright (C) 2009-2013 Roman Zimbelmann <hut@hut.pm> -# This software is distributed under the terms of the GNU GPL version 3. +# This file is part of ranger, the console file manager. +# License: GNU GPL version 3, see the file "AUTHORS" for details. CONTEXT_KEYS = ['reset', 'error', 'badinfo', 'in_browser', 'in_statusbar', 'in_titlebar', 'in_console', diff --git a/ranger/gui/curses_shortcuts.py b/ranger/gui/curses_shortcuts.py index 35975940..187891c6 100644 --- a/ranger/gui/curses_shortcuts.py +++ b/ranger/gui/curses_shortcuts.py @@ -1,6 +1,5 @@ -# Copyright (C) 2009-2013 Roman Zimbelmann <hut@hut.pm> -# Copyright (C) 2010 David Barnett <davidbarnett2@gmail.com> -# This software is distributed under the terms of the GNU GPL version 3. +# This file is part of ranger, the console file manager. +# License: GNU GPL version 3, see the file "AUTHORS" for details. import curses import _curses diff --git a/ranger/gui/displayable.py b/ranger/gui/displayable.py index 38b58541..7e4290ee 100644 --- a/ranger/gui/displayable.py +++ b/ranger/gui/displayable.py @@ -1,5 +1,5 @@ -# Copyright (C) 2009-2013 Roman Zimbelmann <hut@hut.pm> -# This software is distributed under the terms of the GNU GPL version 3. +# This file is part of ranger, the console file manager. +# License: GNU GPL version 3, see the file "AUTHORS" for details. from ranger.core.shared import FileManagerAware, EnvironmentAware from ranger.gui.curses_shortcuts import CursesShortcuts diff --git a/ranger/gui/mouse_event.py b/ranger/gui/mouse_event.py index 617d42e4..f9207138 100644 --- a/ranger/gui/mouse_event.py +++ b/ranger/gui/mouse_event.py @@ -1,5 +1,5 @@ -# Copyright (C) 2009-2013 Roman Zimbelmann <hut@hut.pm> -# This software is distributed under the terms of the GNU GPL version 3. +# This file is part of ranger, the console file manager. +# License: GNU GPL version 3, see the file "AUTHORS" for details. import curses diff --git a/ranger/gui/ui.py b/ranger/gui/ui.py index 3898a7a5..1d125acf 100644 --- a/ranger/gui/ui.py +++ b/ranger/gui/ui.py @@ -1,5 +1,5 @@ -# Copyright (C) 2009-2013 Roman Zimbelmann <hut@hut.pm> -# This software is distributed under the terms of the GNU GPL version 3. +# This file is part of ranger, the console file manager. +# License: GNU GPL version 3, see the file "AUTHORS" for details. import os import sys diff --git a/ranger/gui/widgets/browsercolumn.py b/ranger/gui/widgets/browsercolumn.py index 0340b565..5d055a0b 100644 --- a/ranger/gui/widgets/browsercolumn.py +++ b/ranger/gui/widgets/browsercolumn.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- -# Copyright (C) 2009-2013 Roman Zimbelmann <hut@hut.pm> -# This software is distributed under the terms of the GNU GPL version 3. +# This file is part of ranger, the console file manager. +# License: GNU GPL version 3, see the file "AUTHORS" for details. """The BrowserColumn widget displays the contents of a directory or file.""" diff --git a/ranger/gui/widgets/browserview.py b/ranger/gui/widgets/browserview.py index 5413fc86..eb99369b 100644 --- a/ranger/gui/widgets/browserview.py +++ b/ranger/gui/widgets/browserview.py @@ -1,5 +1,5 @@ -# Copyright (C) 2009-2013 Roman Zimbelmann <hut@hut.pm> -# This software is distributed under the terms of the GNU GPL version 3. +# This file is part of ranger, the console file manager. +# License: GNU GPL version 3, see the file "AUTHORS" for details. """The BrowserView manages a set of BrowserColumns.""" diff --git a/ranger/gui/widgets/console.py b/ranger/gui/widgets/console.py index 97efed8a..5b9dbf3f 100644 --- a/ranger/gui/widgets/console.py +++ b/ranger/gui/widgets/console.py @@ -1,5 +1,5 @@ -# Copyright (C) 2009-2013 Roman Zimbelmann <hut@hut.pm> -# This software is distributed under the terms of the GNU GPL version 3. +# This file is part of ranger, the console file manager. +# License: GNU GPL version 3, see the file "AUTHORS" for details. """The Console widget implements a vim-like console""" diff --git a/ranger/gui/widgets/pager.py b/ranger/gui/widgets/pager.py index 1dfe72c2..ca4e2970 100644 --- a/ranger/gui/widgets/pager.py +++ b/ranger/gui/widgets/pager.py @@ -1,6 +1,5 @@ -# Copyright (C) 2009-2013 Roman Zimbelmann <hut@hut.pm> -# Copyright (C) 2010 David Barnett <davidbarnett2@gmail.com> -# This software is distributed under the terms of the GNU GPL version 3. +# This file is part of ranger, the console file manager. +# License: GNU GPL version 3, see the file "AUTHORS" for details. """The pager displays text and allows you to scroll inside it.""" diff --git a/ranger/gui/widgets/statusbar.py b/ranger/gui/widgets/statusbar.py index 22b28165..9ff331a0 100644 --- a/ranger/gui/widgets/statusbar.py +++ b/ranger/gui/widgets/statusbar.py @@ -1,5 +1,5 @@ -# Copyright (C) 2009-2013 Roman Zimbelmann <hut@hut.pm> -# This software is distributed under the terms of the GNU GPL version 3. +# This file is part of ranger, the console file manager. +# License: GNU GPL version 3, see the file "AUTHORS" for details. """The statusbar displays information about the current file and directory. diff --git a/ranger/gui/widgets/taskview.py b/ranger/gui/widgets/taskview.py index de31e807..04fdfe0e 100644 --- a/ranger/gui/widgets/taskview.py +++ b/ranger/gui/widgets/taskview.py @@ -1,5 +1,5 @@ -# Copyright (C) 2009-2013 Roman Zimbelmann <hut@hut.pm> -# This software is distributed under the terms of the GNU GPL version 3. +# This file is part of ranger, the console file manager. +# License: GNU GPL version 3, see the file "AUTHORS" for details. """The TaskView allows you to modify what the loader is doing.""" diff --git a/ranger/gui/widgets/titlebar.py b/ranger/gui/widgets/titlebar.py index 52726b1c..c3785986 100644 --- a/ranger/gui/widgets/titlebar.py +++ b/ranger/gui/widgets/titlebar.py @@ -1,5 +1,5 @@ -# Copyright (C) 2009-2013 Roman Zimbelmann <hut@hut.pm> -# This software is distributed under the terms of the GNU GPL version 3. +# This file is part of ranger, the console file manager. +# License: GNU GPL version 3, see the file "AUTHORS" for details. """The titlebar is the widget at the top, giving you broad overview. |