From 606df33e73c6d832b6bb7a4012297c51a368ee89 Mon Sep 17 00:00:00 2001 From: hut Date: Thu, 25 Mar 2010 15:19:28 +0100 Subject: fixed make clean --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index ac7b0502..884bae5d 100644 --- a/Makefile +++ b/Makefile @@ -71,7 +71,7 @@ cleandoc: test -d $(DOCDIR) && rm -f -- $(DOCDIR)/*.html clean: - find . -regex [^\s]\*.py[co]$ | xargs rm -f -- + find . -regex [^\ ]\*.py[co]$ | xargs rm -f -- test: ./all_tests.py -- cgit 1.4.1-2-gfad0 From 75682d43d3e99e8469ede7df9da31eccaf15180a Mon Sep 17 00:00:00 2001 From: hut Date: Fri, 26 Mar 2010 03:29:20 +0100 Subject: make test: reduce verbosity --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 884bae5d..06f3dc92 100644 --- a/Makefile +++ b/Makefile @@ -74,7 +74,7 @@ clean: find . -regex [^\ ]\*.py[co]$ | xargs rm -f -- test: - ./all_tests.py + ./all_tests.py 1 edit: @$(EDITOR) ranger.py Makefile README COPYING HACKING INSTALL $(shell find ranger test -regex .\*py$ ) -- cgit 1.4.1-2-gfad0 From fa1b534545a667a25994f845ecb3a4525a58b845 Mon Sep 17 00:00:00 2001 From: hut Date: Wed, 31 Mar 2010 05:28:08 +0200 Subject: clean up --- INSTALL | 10 ---------- Makefile | 12 ------------ ranger/fsobject/directory.py | 1 - ranger/gui/ui.py | 6 ------ ranger/gui/widgets/pager.py | 1 - 5 files changed, 30 deletions(-) (limited to 'Makefile') diff --git a/INSTALL b/INSTALL index d14d3891..5fc5ca6b 100644 --- a/INSTALL +++ b/INSTALL @@ -35,16 +35,6 @@ though you might want to read the Makefile first) python -c 'import sys; print("\n".join(sys.path))' -3. Optionally, you can activate an extra feature: When you exit ranger, - the directory of the current shell can be changed to the last visited - directory in ranger. To do so, add this alias to your shell rc file: - - alias rng="source ranger ranger" - - (Unfortunately this feature is shell dependent. It has been - successfully tested with BASH and ZSH only.) - - Uninstalling ============ diff --git a/Makefile b/Makefile index 06f3dc92..2acb95a1 100644 --- a/Makefile +++ b/Makefile @@ -90,15 +90,3 @@ commit: test snapshot: git archive HEAD | gzip > $(NAME)-$(VERSION)-$(shell git rev-list HEAD | head -n 1 | cut -b 1-8).tar.gz - -minimal_snapshot: - @echo 'This is not quite working well. I will abort now' && false - git checkout -b no_help - git rm -rf doc - git rm -rf test - git rm all_tests.py - git rm TODO - git commit -a -m'removed documentation' - git archive HEAD | gzip > $(NAME)-$(VERSION)-$(shell git rev-list HEAD | head -n 1 | cut -b 1-8).tar.gz - git reset --hard no_help^ - git branch -D no_help diff --git a/ranger/fsobject/directory.py b/ranger/fsobject/directory.py index 86e78b33..140faef1 100644 --- a/ranger/fsobject/directory.py +++ b/ranger/fsobject/directory.py @@ -17,7 +17,6 @@ import os from collections import deque from time import time -from ranger import log from ranger.fsobject import BAD_INFO, File, FileSystemObject from ranger.shared import SettingsAware from ranger.ext.accumulator import Accumulator diff --git a/ranger/gui/ui.py b/ranger/gui/ui.py index ba8acea9..68285718 100644 --- a/ranger/gui/ui.py +++ b/ranger/gui/ui.py @@ -84,8 +84,6 @@ class UI(DisplayableContainer): def suspend(self): """Turn off curses""" - # from ranger import log - # log("suspending ui!") self.win.keypad(0) curses.nocbreak() curses.echo() @@ -121,10 +119,6 @@ class UI(DisplayableContainer): except _curses.error: return - # from ranger import log - # log('{0:0>28b} ({0})'.format(event.bstate)) - # log('y: {0} x: {1}'.format(event.y, event.x)) - DisplayableContainer.click(self, event) def handle_key(self, key): diff --git a/ranger/gui/widgets/pager.py b/ranger/gui/widgets/pager.py index e376a2a6..08702f3f 100644 --- a/ranger/gui/widgets/pager.py +++ b/ranger/gui/widgets/pager.py @@ -20,7 +20,6 @@ import re from . import Widget from ranger.container.commandlist import CommandList from ranger.ext.move import move_between -from ranger import log BAR_REGEXP = re.compile(r'\|\d+\?\|') QUOTES_REGEXP = re.compile(r'"[^"]+?"') -- cgit 1.4.1-2-gfad0 From 30ae21371fbce8e34bf29ea32e6437f08103c54a Mon Sep 17 00:00:00 2001 From: hut Date: Sat, 3 Apr 2010 02:03:12 +0200 Subject: Makefile: improvements --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 2acb95a1..f3e00ee8 100644 --- a/Makefile +++ b/Makefile @@ -71,7 +71,7 @@ cleandoc: test -d $(DOCDIR) && rm -f -- $(DOCDIR)/*.html clean: - find . -regex [^\ ]\*.py[co]$ | xargs rm -f -- + find . -regex \*.py[co]\$$ -exec rm -f -- {} \; test: ./all_tests.py 1 @@ -89,4 +89,4 @@ commit: test @git citool snapshot: - git archive HEAD | gzip > $(NAME)-$(VERSION)-$(shell git rev-list HEAD | head -n 1 | cut -b 1-8).tar.gz + git archive HEAD | gzip > $(NAME)-$(VERSION)-$(shell git rev-parse HEAD | cut -b 1-8).tar.gz -- cgit 1.4.1-2-gfad0 From 26aa5c8e7272105a15b9cc7cbbfb0ca789701d55 Mon Sep 17 00:00:00 2001 From: hut Date: Wed, 7 Apr 2010 00:57:26 +0200 Subject: make clean: fixed --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index f3e00ee8..05c565e6 100644 --- a/Makefile +++ b/Makefile @@ -71,7 +71,7 @@ cleandoc: test -d $(DOCDIR) && rm -f -- $(DOCDIR)/*.html clean: - find . -regex \*.py[co]\$$ -exec rm -f -- {} \; + find . -regex .\*.py[co]\$$ -exec rm -f -- {} \; test: ./all_tests.py 1 -- cgit 1.4.1-2-gfad0