diff options
author | hut <hut@lavabit.com> | 2011-10-05 18:16:06 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2011-10-05 18:16:06 +0200 |
commit | 506fbaa36f58c93230f1dee7631d336ccc6ca223 (patch) | |
tree | 1d5e1af6024c83f3080708cee7a0af74c91a56bb /ranger | |
parent | 240394a494b0bbb854687a34941bf90a5ccd5b4d (diff) | |
download | ranger-506fbaa36f58c93230f1dee7631d336ccc6ca223.tar.gz |
removed doc/TODO; use "make todo"
Diffstat (limited to 'ranger')
-rw-r--r-- | ranger/core/actions.py | 1 | ||||
-rw-r--r-- | ranger/fsobject/directory.py | 3 | ||||
-rw-r--r-- | ranger/gui/ui.py | 2 | ||||
-rw-r--r-- | ranger/gui/widgets/pager.py | 1 | ||||
-rw-r--r-- | ranger/gui/widgets/titlebar.py | 1 |
5 files changed, 8 insertions, 0 deletions
diff --git a/ranger/core/actions.py b/ranger/core/actions.py index 42f2699d..87961cc5 100644 --- a/ranger/core/actions.py +++ b/ranger/core/actions.py @@ -851,6 +851,7 @@ class Actions(FileManagerAware, EnvironmentAware, SettingsAware): self.loader.add(obj) def delete(self): + # XXX: warn when deleting mount points/unseen marked files? self.notify("Deleting!") selected = self.env.get_selection() self.env.copy -= set(selected) diff --git a/ranger/fsobject/directory.py b/ranger/fsobject/directory.py index 6b0666e0..f5803032 100644 --- a/ranger/fsobject/directory.py +++ b/ranger/fsobject/directory.py @@ -146,6 +146,8 @@ class Directory(FileSystemObject, Accumulator, Loadable, SettingsAware): del self.marked_items[:] self._clear_marked_items() + # XXX: Is it really necessary to have the marked items in a list? + # Can't we just recalculate them with [f for f in self.files if f.marked]? def _gc_marked_items(self): for item in list(self.marked_items): if item.path not in self.filenames: @@ -166,6 +168,7 @@ class Directory(FileSystemObject, Accumulator, Loadable, SettingsAware): else: return [] + # XXX: Check for possible race conditions def load_bit_by_bit(self): """ Returns a generator which load a part of the directory diff --git a/ranger/gui/ui.py b/ranger/gui/ui.py index c5dfa5ad..9d36628f 100644 --- a/ranger/gui/ui.py +++ b/ranger/gui/ui.py @@ -44,6 +44,8 @@ def _setup_mouse(signal): else: curses.mousemask(0) +# TODO: progress bar +# TODO: branch view class UI(DisplayableContainer): is_set_up = False load_mode = False diff --git a/ranger/gui/widgets/pager.py b/ranger/gui/widgets/pager.py index a95d3254..23b18a99 100644 --- a/ranger/gui/widgets/pager.py +++ b/ranger/gui/widgets/pager.py @@ -22,6 +22,7 @@ from . import Widget from ranger.gui import ansi from ranger.ext.direction import Direction +# TODO: Scrolling in embedded pager class Pager(Widget): source = None source_is_stream = False diff --git a/ranger/gui/widgets/titlebar.py b/ranger/gui/widgets/titlebar.py index c1994b5b..9f97bbbe 100644 --- a/ranger/gui/widgets/titlebar.py +++ b/ranger/gui/widgets/titlebar.py @@ -131,6 +131,7 @@ class TitleBar(Widget): bar.add(self.env.cf.basename, 'file') def _get_right_part(self, bar): + # TODO: fix that pressed keys are cut off when chaining CTRL keys kb = str(self.env.keybuffer) self.old_keybuffer = kb bar.addright(kb, 'keybuffer', fixed=True) |