From 62cd83bace8e77cd1ff7028da6cf65d0d1defa27 Mon Sep 17 00:00:00 2001 From: hut Date: Fri, 12 Mar 2010 02:00:53 +0100 Subject: updated pydoc --- doc/pydoc/ranger.fsobject.file.html | 27 ++++++++++++++++----------- 1 file changed, 16 insertions(+), 11 deletions(-) (limited to 'doc/pydoc/ranger.fsobject.file.html') diff --git a/doc/pydoc/ranger.fsobject.file.html b/doc/pydoc/ranger.fsobject.file.html index 8410e2e8..edd39d3f 100644 --- a/doc/pydoc/ranger.fsobject.file.html +++ b/doc/pydoc/ranger.fsobject.file.html @@ -9,19 +9,20 @@  
ranger.fsobject.file
index
/home/hut/ranger/ranger/fsobject/file.py
-

# Copyright (c) 2009, 2010 hut <hut@lavabit.com>
+

# Copyright (C) 2009, 2010  Roman Zimbelmann <romanz@lavabit.com>
#
-# Permission to use, copy, modify, and/or distribute this software for any
-# purpose with or without fee is hereby granted, provided that the above
-# copyright notice and this permission notice appear in all copies.
+# 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.
#
-# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
-# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

+# 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/>.

@@ -84,6 +85,10 @@ or nonexistant.
use(self)
mark the filesystem-object as used at the current time
+
+Data descriptors inherited from ranger.fsobject.fsobject.FileSystemObject:
+
shell_escaped_basename
+

Data and other attributes inherited from ranger.fsobject.fsobject.FileSystemObject:
accessible = False
-- cgit 1.4.1-2-gfad0 From c776804d9db1f0ae837aaafe8ed27eb47bb369f5 Mon Sep 17 00:00:00 2001 From: hut Date: Sun, 21 Mar 2010 03:52:58 +0100 Subject: updated TODO and pydoc --- TODO | 3 +++ doc/pydoc/ranger.colorschemes.html | 12 ++---------- doc/pydoc/ranger.container.bookmarks.html | 2 +- doc/pydoc/ranger.container.history.html | 2 +- doc/pydoc/ranger.defaults.apps.html | 6 +++++- doc/pydoc/ranger.defaults.keys.html | 6 +++--- doc/pydoc/ranger.defaults.options.html | 13 ++++++++----- doc/pydoc/ranger.ext.openstruct.html | 4 ++-- doc/pydoc/ranger.ext.shutil_generatorized.html | 4 ++-- doc/pydoc/ranger.fsobject.directory.html | 6 ++++-- doc/pydoc/ranger.fsobject.file.html | 2 ++ doc/pydoc/ranger.fsobject.fsobject.html | 2 ++ doc/pydoc/ranger.fsobject.html | 2 +- doc/pydoc/ranger.gui.bar.html | 2 +- doc/pydoc/ranger.gui.colorscheme.html | 8 ++++++-- doc/pydoc/ranger.gui.ui.html | 16 ++++++++++++---- doc/pydoc/ranger.gui.widgets.browsercolumn.html | 19 +++++++++---------- doc/pydoc/ranger.gui.widgets.browserview.html | 8 ++++++++ doc/pydoc/ranger.gui.widgets.pager.html | 8 ++++---- doc/pydoc/ranger.shared.mimetype.html | 8 ++++++++ doc/pydoc/ranger.shared.settings.html | 7 ++++--- 21 files changed, 88 insertions(+), 52 deletions(-) (limited to 'doc/pydoc/ranger.fsobject.file.html') diff --git a/TODO b/TODO index f20d542e..fa6d4d91 100644 --- a/TODO +++ b/TODO @@ -48,6 +48,7 @@ General ( ) #64 10/02/25 scroll in previews (X) #66 10/02/28 explain how colorschemes work ( ) #70 10/03/14 mouse handler for titlebar + ( ) #71 10/03/21 previews: black/whitelist + read file Bugs @@ -71,6 +72,7 @@ Bugs (X) #65 10/02/16 "source ranger ranger some/file.txt" shouldn't cd after exit ( ) #67 10/03/08 terminal title in tty (X) #69 10/03/11 tab-completion breaks with Apps subclass + ( ) #73 10/03/21 when clicking on the first column, it goes 1x down Ideas @@ -83,4 +85,5 @@ Ideas ( ) #45 10/01/18 hooks for events like setting changes ( ) #53 10/01/23 merge fm and environment ( ) #68 10/03/10 threads, to seperate ui and loading + ( ) #72 10/03/21 ranger daemon which does the slow io tasks diff --git a/doc/pydoc/ranger.colorschemes.html b/doc/pydoc/ranger.colorschemes.html index f6793175..5dcb0f83 100644 --- a/doc/pydoc/ranger.colorschemes.html +++ b/doc/pydoc/ranger.colorschemes.html @@ -9,8 +9,7 @@  
ranger.colorschemes
index
/home/hut/ranger/ranger/colorschemes/__init__.py
-

Colorschemes are required to be located here,
-or in the CONFDIR/colorschemes/ directory

+

Colorschemes are required to be located here or in CONFDIR/colorschemes/

@@ -23,12 +22,5 @@ or in the CONFDIR/colorschemes/ directory

jungle
snow
texas
-

- - - - - -
 
-Data
       __all__ = ['default88', 'snow', 'jungle', 'texas', 'default']
+ \ No newline at end of file diff --git a/doc/pydoc/ranger.container.bookmarks.html b/doc/pydoc/ranger.container.bookmarks.html index bc19d5ca..2868a5ae 100644 --- a/doc/pydoc/ranger.container.bookmarks.html +++ b/doc/pydoc/ranger.container.bookmarks.html @@ -110,7 +110,7 @@ Data and other attributes defined here:

last_mtime = None
-
load_pattern = <_sre.SRE_Pattern object at 0x1be2db0>
+
load_pattern = <_sre.SRE_Pattern object>

diff --git a/doc/pydoc/ranger.container.history.html b/doc/pydoc/ranger.container.history.html index 3820f2de..5a98f7ec 100644 --- a/doc/pydoc/ranger.container.history.html +++ b/doc/pydoc/ranger.container.history.html @@ -110,7 +110,7 @@ Methods inherited from exceptions.Exception<
Data and other attributes inherited from
exceptions.Exception:
-
__new__ = <built-in method __new__ of type object at 0x2ae9659f6000>
T.__new__(S, ...) -> a new object with type S, a subtype of T
+
__new__ = <built-in method __new__ of type object>
T.__new__(S, ...) -> a new object with type S, a subtype of T

Methods inherited from exceptions.BaseException:
diff --git a/doc/pydoc/ranger.defaults.apps.html b/doc/pydoc/ranger.defaults.apps.html index 00034e0b..a759a187 100644 --- a/doc/pydoc/ranger.defaults.apps.html +++ b/doc/pydoc/ranger.defaults.apps.html @@ -99,6 +99,8 @@ Methods defined here:
app_firefox(self, c)
+
app_gimp(self, c)
+
app_java(self, c)
app_javac(self, c)
@@ -119,6 +121,8 @@ Methods defined here:
app_wine(self, c)
+
app_zathura(self, c)
+
app_zsnes(self, c)

@@ -154,6 +158,6 @@ Data descriptors inherited from ranger.sh Data -
       INTERPRETED_LANGUAGES = <_sre.SRE_Pattern object at 0x1d24430>
+
INTERPRETED_LANGUAGES = <_sre.SRE_Pattern object>
PIPE = -1
\ No newline at end of file diff --git a/doc/pydoc/ranger.defaults.keys.html b/doc/pydoc/ranger.defaults.keys.html index 37e1a637..ee20b40b 100644 --- a/doc/pydoc/ranger.defaults.keys.html +++ b/doc/pydoc/ranger.defaults.keys.html @@ -10,7 +10,7 @@ >index
/home/hut/ranger/ranger/defaults/keys.py

This is the default key configuration file of ranger.
-Syntax for binding keys: bind(*keys, fnc)
+Syntax for binding keys: map(*keys, fnc)
 
keys are one or more key-combinations which are either:
* a string
@@ -374,7 +374,7 @@ Check ranger.keyapi for more information

US = 31
VT = 11
controlnames = ['NUL', 'SOH', 'STX', 'ETX', 'EOT', 'ENQ', 'ACK', 'BEL', 'BS', 'HT', 'LF', 'VT', 'FF', 'CR', 'SO', 'SI', 'DLE', 'DC1', 'DC2', 'DC3', ...]
-fm = <ranger.api.keys.Wrapper object at 0x1c72b90>
+fm = <ranger.api.keys.Wrapper object>
version = '2.2'
-wdg = <ranger.api.keys.Wrapper object at 0x1c72bd0> +wdg = <ranger.api.keys.Wrapper object> \ No newline at end of file diff --git a/doc/pydoc/ranger.defaults.options.html b/doc/pydoc/ranger.defaults.options.html index efc7ad3c..76e7089d 100644 --- a/doc/pydoc/ranger.defaults.options.html +++ b/doc/pydoc/ranger.defaults.options.html @@ -31,10 +31,9 @@ of the values stay the same.

Modules         -
ranger.colorschemes.default
-
ranger.colorschemes
+
ranger.colorschemes
re
-

+

 
@@ -43,16 +42,20 @@ of the values stay the same.

        autosave_bookmarks = True
collapse_preview = True
+colorscheme = 'default'
directories_first = True
+draw_borders = False
flushinput = True
-hidden_filter = <_sre.SRE_Pattern object at 0x1d26810>
+hidden_filter = <_sre.SRE_Pattern object>
max_filesize_for_preview = 307200
max_history_size = 20
+preview_directories = True
preview_files = True
reverse = False
scroll_offset = 2
+shorten_title = 3
show_cursor = False
show_hidden = False
sort = 'basename'
-update_title = False
+update_title = True \ No newline at end of file diff --git a/doc/pydoc/ranger.ext.openstruct.html b/doc/pydoc/ranger.ext.openstruct.html index 50b0ef14..d4340807 100644 --- a/doc/pydoc/ranger.ext.openstruct.html +++ b/doc/pydoc/ranger.ext.openstruct.html @@ -135,9 +135,9 @@ In either case, this is followed by: for  Data and other attributes inherited from __builtin__.dict:

__hash__ = None
-
__new__ = <built-in method __new__ of type object at 0x2ae965a01840>
T.__new__(S, ...) -> a new object with type S, a subtype of T
+
__new__ = <built-in method __new__ of type object>
T.__new__(S, ...) -> a new object with type S, a subtype of T
-
fromkeys = <built-in method fromkeys of type object at 0x1c16510>
dict.fromkeys(S[,v]) -> New dict with keys from S and values equal to v.
+
fromkeys = <built-in method fromkeys of type object>
dict.fromkeys(S[,v]) -> New dict with keys from S and values equal to v.
v defaults to None.
diff --git a/doc/pydoc/ranger.ext.shutil_generatorized.html b/doc/pydoc/ranger.ext.shutil_generatorized.html index bed50870..f9db29b7 100644 --- a/doc/pydoc/ranger.ext.shutil_generatorized.html +++ b/doc/pydoc/ranger.ext.shutil_generatorized.html @@ -80,7 +80,7 @@ Data descriptors inherited from excep

Data and other attributes inherited from
exceptions.EnvironmentError:
-
__new__ = <built-in method __new__ of type object at 0x2ae9659f6d00>
T.__new__(S, ...) -> a new object with type S, a subtype of T
+
__new__ = <built-in method __new__ of type object>
T.__new__(S, ...) -> a new object with type S, a subtype of T

Methods inherited from exceptions.BaseException:
@@ -154,7 +154,7 @@ Data descriptors inherited from excep
Data and other attributes inherited from
exceptions.EnvironmentError:
-
__new__ = <built-in method __new__ of type object at 0x2ae9659f6d00>
T.__new__(S, ...) -> a new object with type S, a subtype of T
+
__new__ = <built-in method __new__ of type object>
T.__new__(S, ...) -> a new object with type S, a subtype of T

Methods inherited from exceptions.BaseException:
diff --git a/doc/pydoc/ranger.fsobject.directory.html b/doc/pydoc/ranger.fsobject.directory.html index b7f77952..3def97f7 100644 --- a/doc/pydoc/ranger.fsobject.directory.html +++ b/doc/pydoc/ranger.fsobject.directory.html @@ -183,7 +183,7 @@ Data and other attributes defined here:
scroll_offset = 0
-
sort_dict = {'basename': <function sort_by_basename at 0x1ce2c08>, 'mtime': <function <lambda> at 0x1ce51b8>, 'size': <function <lambda> at 0x1ce5140>, 'type': <function <lambda> at 0x1ce5230>}
+
sort_dict = {'basename': <function sort_by_basename>, 'mtime': <function <lambda>>, 'size': <function <lambda>>, 'type': <function <lambda>>}

Methods inherited from ranger.fsobject.fsobject.FileSystemObject:
@@ -213,6 +213,8 @@ or nonexistant.

Data descriptors inherited from ranger.fsobject.fsobject.FileSystemObject:
+
filetype
+
shell_escaped_basename

@@ -331,7 +333,7 @@ Methods inherited from exceptions.Exception<
Data and other attributes inherited from
exceptions.Exception:
-
__new__ = <built-in method __new__ of type object at 0x2ae9659f6000>
T.__new__(S, ...) -> a new object with type S, a subtype of T
+
__new__ = <built-in method __new__ of type object>
T.__new__(S, ...) -> a new object with type S, a subtype of T

Methods inherited from exceptions.BaseException:
diff --git a/doc/pydoc/ranger.fsobject.file.html b/doc/pydoc/ranger.fsobject.file.html index edd39d3f..b0816bd0 100644 --- a/doc/pydoc/ranger.fsobject.file.html +++ b/doc/pydoc/ranger.fsobject.file.html @@ -87,6 +87,8 @@ or nonexistant.
Data descriptors inherited from ranger.fsobject.fsobject.FileSystemObject:
+
filetype
+
shell_escaped_basename

diff --git a/doc/pydoc/ranger.fsobject.fsobject.html b/doc/pydoc/ranger.fsobject.fsobject.html index d4ce99ae..0681dfaa 100644 --- a/doc/pydoc/ranger.fsobject.fsobject.html +++ b/doc/pydoc/ranger.fsobject.fsobject.html @@ -88,6 +88,8 @@ or nonexistant.
Data descriptors defined here:
+
filetype
+
shell_escaped_basename

diff --git a/doc/pydoc/ranger.fsobject.html b/doc/pydoc/ranger.fsobject.html index 1993e467..864aef98 100644 --- a/doc/pydoc/ranger.fsobject.html +++ b/doc/pydoc/ranger.fsobject.html @@ -61,7 +61,7 @@ Methods inherited from exceptions.Exception<
Data and other attributes inherited from
exceptions.Exception:
-
__new__ = <built-in method __new__ of type object at 0x2ae9659f6000>
T.__new__(S, ...) -> a new object with type S, a subtype of T
+
__new__ = <built-in method __new__ of type object>
T.__new__(S, ...) -> a new object with type S, a subtype of T

Methods inherited from exceptions.BaseException:
diff --git a/doc/pydoc/ranger.gui.bar.html b/doc/pydoc/ranger.gui.bar.html index 9e9bbebd..b4036c14 100644 --- a/doc/pydoc/ranger.gui.bar.html +++ b/doc/pydoc/ranger.gui.bar.html @@ -203,7 +203,7 @@ cmp(x, y) -> -1, 0, 1 Data and other attributes inherited from __builtin__.list:
__hash__ = None
-
__new__ = <built-in method __new__ of type object at 0x2ae9659ffbc0>
T.__new__(S, ...) -> a new object with type S, a subtype of T
+
__new__ = <built-in method __new__ of type object>
T.__new__(S, ...) -> a new object with type S, a subtype of T

diff --git a/doc/pydoc/ranger.gui.colorscheme.html b/doc/pydoc/ranger.gui.colorscheme.html index 6e14b5ca..52b56a83 100644 --- a/doc/pydoc/ranger.gui.colorscheme.html +++ b/doc/pydoc/ranger.gui.colorscheme.html @@ -75,8 +75,12 @@ colors for faster access. Ready to use for curses.setattr()
use(self, context)
Use the colorscheme to determine the (fg, bg, attr) tuple.
-This is a dummy function which always returns default_colors.
-Override this in your custom colorscheme!

+When no colorscheme is found, ranger will fall back to this very
+basic colorscheme where directories are blue and bold, and
+selected files have the color inverted.

+Override this method in your own colorscheme.
Data descriptors defined here:
diff --git a/doc/pydoc/ranger.gui.ui.html b/doc/pydoc/ranger.gui.ui.html index 6f213ba6..abd01711 100644 --- a/doc/pydoc/ranger.gui.ui.html +++ b/doc/pydoc/ranger.gui.ui.html @@ -31,10 +31,11 @@
       
_curses
-
curses
-
socket
+curses
+
os
+socket
sys
-

+

 
@@ -167,5 +168,12 @@ Methods inherited from ranger.shared.settings.SettingsAware:
settings = {}
-
+

+ + + + + +
 
+Data
       TERMINALS_WITH_TITLE = ('xterm', 'xterm-256color', 'rxvt', 'rxvt-256color', 'rxvt-unicode', 'aterm', 'Eterm', 'screen', 'screen-256color')
\ No newline at end of file diff --git a/doc/pydoc/ranger.gui.widgets.browsercolumn.html b/doc/pydoc/ranger.gui.widgets.browsercolumn.html index a34d6fa3..98700199 100644 --- a/doc/pydoc/ranger.gui.widgets.browsercolumn.html +++ b/doc/pydoc/ranger.gui.widgets.browsercolumn.html @@ -26,16 +26,10 @@        

-
ranger.gui.widgets.Widget(ranger.gui.displayable.Displayable) -
-
-
BrowserColumn(ranger.gui.widgets.pager.Pager, ranger.gui.widgets.Widget) -
-
ranger.gui.widgets.pager.Pager(ranger.gui.widgets.Widget)
-
BrowserColumn(ranger.gui.widgets.pager.Pager, ranger.gui.widgets.Widget) +
BrowserColumn
@@ -43,7 +37,7 @@ +class BrowserColumn(ranger.gui.widgets.pager.Pager) -
 
-class BrowserColumn(ranger.gui.widgets.pager.Pager, ranger.gui.widgets.Widget)
    
Method resolution order:
@@ -60,7 +54,12 @@

Methods defined here:
-
__init__(self, win, level)
+
__init__(self, win, level)
win = the curses window object of the BrowserView
+level = what to display?

+level >0 => previews
+level 0 => current file/directory
+level <0 => parent directories
__str__(self)
@@ -187,5 +186,5 @@ Fractions of a second may be present if  Data
       PREVIEW_BLACKLIST = <_sre.SRE_Pattern object at 0x1df5760>
+PREVIEW_BLACKLIST = <_sre.SRE_Pattern object> \ No newline at end of file diff --git a/doc/pydoc/ranger.gui.widgets.browserview.html b/doc/pydoc/ranger.gui.widgets.browserview.html index 8bf98c20..627a62bf 100644 --- a/doc/pydoc/ranger.gui.widgets.browserview.html +++ b/doc/pydoc/ranger.gui.widgets.browserview.html @@ -12,6 +12,14 @@

The BrowserView manages a set of BrowserColumns.

+ + + + +
 
+Modules
       
curses
+

+ diff --git a/doc/pydoc/ranger.gui.widgets.pager.html b/doc/pydoc/ranger.gui.widgets.pager.html index da82b394..9705600f 100644 --- a/doc/pydoc/ranger.gui.widgets.pager.html +++ b/doc/pydoc/ranger.gui.widgets.pager.html @@ -145,8 +145,8 @@ Data and other attributes inherited from Data -
 
Classes
       BAR_REGEXP = <_sre.SRE_Pattern object at 0x1dba390>
-QUOTES_REGEXP = <_sre.SRE_Pattern object at 0x1d91718>
-SPECIAL_CHARS_REGEXP = <_sre.SRE_Pattern object at 0x1db4450>
-TITLE_REGEXP = <_sre.SRE_Pattern object at 0x1d933b0>
+BAR_REGEXP = <_sre.SRE_Pattern object>
+QUOTES_REGEXP = <_sre.SRE_Pattern object>
+SPECIAL_CHARS_REGEXP = <_sre.SRE_Pattern object>
+TITLE_REGEXP = <_sre.SRE_Pattern object> \ No newline at end of file diff --git a/doc/pydoc/ranger.shared.mimetype.html b/doc/pydoc/ranger.shared.mimetype.html index 2308a9bc..5ed1c0ba 100644 --- a/doc/pydoc/ranger.shared.mimetype.html +++ b/doc/pydoc/ranger.shared.mimetype.html @@ -25,6 +25,14 @@ # along with this program.  If not, see <
http://www.gnu.org/licenses/>.

+ + + + +
 
+Modules
       
mimetypes
+

+ diff --git a/doc/pydoc/ranger.shared.settings.html b/doc/pydoc/ranger.shared.settings.html index e6d09a32..29d43fc6 100644 --- a/doc/pydoc/ranger.shared.settings.html +++ b/doc/pydoc/ranger.shared.settings.html @@ -30,9 +30,10 @@ Modules -
 
Classes
       
ranger
+
os
+
ranger
types
-

+

-
 
@@ -82,5 +83,5 @@ Data and other attributes defined here:
Data
       ALLOWED_SETTINGS = {'autosave_bookmarks': <type 'bool'>, 'collapse_preview': <type 'bool'>, 'colorscheme': (<class 'ranger.gui.colorscheme.ColorScheme'>, <type 'module'>), 'directories_first': <type 'bool'>, 'flushinput': <type 'bool'>, 'hidden_filter': <function <lambda> at 0x1bf4c80>, 'max_filesize_for_preview': (<type 'int'>, <type 'NoneType'>), 'max_history_size': (<type 'int'>, <type 'NoneType'>), 'preview_files': <type 'bool'>, 'reverse': <type 'bool'>, ...}
+ALLOWED_SETTINGS = {'autosave_bookmarks': <type 'bool'>, 'collapse_preview': <type 'bool'>, 'colorscheme': <type 'str'>, 'directories_first': <type 'bool'>, 'draw_borders': <type 'bool'>, 'flushinput': <type 'bool'>, 'hidden_filter': <function <lambda>>, 'max_filesize_for_preview': (<type 'int'>, <type 'NoneType'>), 'max_history_size': (<type 'int'>, <type 'NoneType'>), 'preview_directories': <type 'bool'>, ...} \ No newline at end of file -- cgit 1.4.1-2-gfad0