From 94cb60a6bde75a385c6ad9afbae2c8e738fdc0a0 Mon Sep 17 00:00:00 2001 From: hut Date: Fri, 25 Dec 2009 21:55:36 +0100 Subject: moved pydoc pages to doc/pydoc --- doc/all_tests.html | 14 - doc/curses.ascii.html | 83 -- doc/curses.html | 331 -------- doc/make_doc.html | 26 - doc/os.html | 908 --------------------- doc/os.path.html | 95 --- doc/pydoc/all_tests.html | 14 + doc/pydoc/curses.ascii.html | 83 ++ doc/pydoc/curses.html | 331 ++++++++ doc/pydoc/make_doc.html | 26 + doc/pydoc/os.html | 908 +++++++++++++++++++++ doc/pydoc/os.path.html | 95 +++ doc/pydoc/ranger.actions.html | 155 ++++ doc/pydoc/ranger.applications.html | 77 ++ doc/pydoc/ranger.colorschemes.default.html | 91 +++ doc/pydoc/ranger.colorschemes.html | 32 + doc/pydoc/ranger.colorschemes.jungle.html | 91 +++ doc/pydoc/ranger.colorschemes.snow.html | 91 +++ doc/pydoc/ranger.commands.html | 430 ++++++++++ doc/pydoc/ranger.container.bookmarks.html | 173 ++++ doc/pydoc/ranger.container.commandlist.html | 129 +++ doc/pydoc/ranger.container.environment.html | 105 +++ doc/pydoc/ranger.container.history.html | 136 +++ doc/pydoc/ranger.container.html | 27 + doc/pydoc/ranger.container.keybuffer.html | 76 ++ doc/pydoc/ranger.defaults.apps.html | 75 ++ doc/pydoc/ranger.defaults.html | 24 + doc/pydoc/ranger.defaults.keys.html | 357 ++++++++ doc/pydoc/ranger.defaults.options.html | 41 + doc/pydoc/ranger.ext.accumulator.html | 59 ++ doc/pydoc/ranger.ext.debug.html | 31 + doc/pydoc/ranger.ext.get_all_modules.html | 22 + doc/pydoc/ranger.ext.html | 29 + doc/pydoc/ranger.ext.human_readable.html | 31 + doc/pydoc/ranger.ext.openstruct.html | 53 ++ doc/pydoc/ranger.ext.relpath.html | 32 + doc/pydoc/ranger.ext.shutil_generatorized.html | 257 ++++++ doc/pydoc/ranger.ext.waitpid_no_intr.html | 22 + doc/pydoc/ranger.fm.html | 182 +++++ doc/pydoc/ranger.fsobject.directory.html | 344 ++++++++ doc/pydoc/ranger.fsobject.file.html | 148 ++++ doc/pydoc/ranger.fsobject.fsobject.html | 167 ++++ doc/pydoc/ranger.fsobject.html | 111 +++ doc/pydoc/ranger.fsobject.loader.html | 122 +++ doc/pydoc/ranger.gui.color.html | 52 ++ doc/pydoc/ranger.gui.colorscheme.html | 62 ++ doc/pydoc/ranger.gui.defaultui.html | 173 ++++ doc/pydoc/ranger.gui.displayable.html | 297 +++++++ doc/pydoc/ranger.gui.html | 28 + doc/pydoc/ranger.gui.mouse_event.html | 69 ++ doc/pydoc/ranger.gui.ui.html | 157 ++++ doc/pydoc/ranger.gui.widgets.console.html | 908 +++++++++++++++++++++ doc/pydoc/ranger.gui.widgets.filelist.html | 135 +++ .../ranger.gui.widgets.filelistcontainer.html | 136 +++ doc/pydoc/ranger.gui.widgets.html | 128 +++ doc/pydoc/ranger.gui.widgets.notify.html | 174 ++++ doc/pydoc/ranger.gui.widgets.process_manager.html | 207 +++++ doc/pydoc/ranger.gui.widgets.statusbar.html | 164 ++++ doc/pydoc/ranger.gui.widgets.titlebar.html | 325 ++++++++ doc/pydoc/ranger.html | 70 ++ doc/pydoc/ranger.shared.html | 107 +++ doc/pydoc/ranger.shared.mimetype.html | 51 ++ doc/pydoc/ranger.shared.settings.html | 54 ++ doc/pydoc/sys.html | 244 ++++++ doc/pydoc/test.html | 34 + doc/pydoc/test.tc_colorscheme.html | 298 +++++++ doc/pydoc/test.tc_directory.html | 306 +++++++ doc/pydoc/test.tc_displayable.html | 551 +++++++++++++ doc/pydoc/test.tc_history.html | 290 +++++++ doc/pydoc/test.tc_ui.html | 294 +++++++ doc/pydoc/test.test.html | 14 + doc/ranger.actions.html | 155 ---- doc/ranger.applications.html | 77 -- doc/ranger.colorschemes.default.html | 91 --- doc/ranger.colorschemes.html | 32 - doc/ranger.colorschemes.jungle.html | 91 --- doc/ranger.colorschemes.snow.html | 91 --- doc/ranger.commands.html | 430 ---------- doc/ranger.container.bookmarks.html | 173 ---- doc/ranger.container.commandlist.html | 129 --- doc/ranger.container.environment.html | 105 --- doc/ranger.container.history.html | 136 --- doc/ranger.container.html | 27 - doc/ranger.container.keybuffer.html | 76 -- doc/ranger.defaults.apps.html | 75 -- doc/ranger.defaults.html | 24 - doc/ranger.defaults.keys.html | 357 -------- doc/ranger.defaults.options.html | 41 - doc/ranger.ext.accumulator.html | 59 -- doc/ranger.ext.debug.html | 31 - doc/ranger.ext.get_all_modules.html | 22 - doc/ranger.ext.html | 29 - doc/ranger.ext.human_readable.html | 31 - doc/ranger.ext.openstruct.html | 53 -- doc/ranger.ext.relpath.html | 32 - doc/ranger.ext.shutil_generatorized.html | 257 ------ doc/ranger.ext.waitpid_no_intr.html | 22 - doc/ranger.fm.html | 182 ----- doc/ranger.fsobject.directory.html | 344 -------- doc/ranger.fsobject.file.html | 148 ---- doc/ranger.fsobject.fsobject.html | 167 ---- doc/ranger.fsobject.html | 111 --- doc/ranger.fsobject.loader.html | 122 --- doc/ranger.gui.color.html | 52 -- doc/ranger.gui.colorscheme.html | 62 -- doc/ranger.gui.defaultui.html | 173 ---- doc/ranger.gui.displayable.html | 297 ------- doc/ranger.gui.html | 28 - doc/ranger.gui.mouse_event.html | 69 -- doc/ranger.gui.ui.html | 157 ---- doc/ranger.gui.widgets.console.html | 908 --------------------- doc/ranger.gui.widgets.filelist.html | 135 --- doc/ranger.gui.widgets.filelistcontainer.html | 136 --- doc/ranger.gui.widgets.html | 128 --- doc/ranger.gui.widgets.notify.html | 174 ---- doc/ranger.gui.widgets.process_manager.html | 207 ----- doc/ranger.gui.widgets.statusbar.html | 164 ---- doc/ranger.gui.widgets.titlebar.html | 325 -------- doc/ranger.html | 70 -- doc/ranger.shared.html | 107 --- doc/ranger.shared.mimetype.html | 51 -- doc/ranger.shared.settings.html | 54 -- doc/sys.html | 244 ------ doc/test.html | 34 - doc/test.tc_colorscheme.html | 298 ------- doc/test.tc_directory.html | 306 ------- doc/test.tc_displayable.html | 551 ------------- doc/test.tc_history.html | 290 ------- doc/test.tc_ui.html | 294 ------- doc/test.test.html | 14 - 130 files changed, 10505 insertions(+), 10505 deletions(-) delete mode 100644 doc/all_tests.html delete mode 100644 doc/curses.ascii.html delete mode 100644 doc/curses.html delete mode 100644 doc/make_doc.html delete mode 100644 doc/os.html delete mode 100644 doc/os.path.html create mode 100644 doc/pydoc/all_tests.html create mode 100644 doc/pydoc/curses.ascii.html create mode 100644 doc/pydoc/curses.html create mode 100644 doc/pydoc/make_doc.html create mode 100644 doc/pydoc/os.html create mode 100644 doc/pydoc/os.path.html create mode 100644 doc/pydoc/ranger.actions.html create mode 100644 doc/pydoc/ranger.applications.html create mode 100644 doc/pydoc/ranger.colorschemes.default.html create mode 100644 doc/pydoc/ranger.colorschemes.html create mode 100644 doc/pydoc/ranger.colorschemes.jungle.html create mode 100644 doc/pydoc/ranger.colorschemes.snow.html create mode 100644 doc/pydoc/ranger.commands.html create mode 100644 doc/pydoc/ranger.container.bookmarks.html create mode 100644 doc/pydoc/ranger.container.commandlist.html create mode 100644 doc/pydoc/ranger.container.environment.html create mode 100644 doc/pydoc/ranger.container.history.html create mode 100644 doc/pydoc/ranger.container.html create mode 100644 doc/pydoc/ranger.container.keybuffer.html create mode 100644 doc/pydoc/ranger.defaults.apps.html create mode 100644 doc/pydoc/ranger.defaults.html create mode 100644 doc/pydoc/ranger.defaults.keys.html create mode 100644 doc/pydoc/ranger.defaults.options.html create mode 100644 doc/pydoc/ranger.ext.accumulator.html create mode 100644 doc/pydoc/ranger.ext.debug.html create mode 100644 doc/pydoc/ranger.ext.get_all_modules.html create mode 100644 doc/pydoc/ranger.ext.html create mode 100644 doc/pydoc/ranger.ext.human_readable.html create mode 100644 doc/pydoc/ranger.ext.openstruct.html create mode 100644 doc/pydoc/ranger.ext.relpath.html create mode 100644 doc/pydoc/ranger.ext.shutil_generatorized.html create mode 100644 doc/pydoc/ranger.ext.waitpid_no_intr.html create mode 100644 doc/pydoc/ranger.fm.html create mode 100644 doc/pydoc/ranger.fsobject.directory.html create mode 100644 doc/pydoc/ranger.fsobject.file.html create mode 100644 doc/pydoc/ranger.fsobject.fsobject.html create mode 100644 doc/pydoc/ranger.fsobject.html create mode 100644 doc/pydoc/ranger.fsobject.loader.html create mode 100644 doc/pydoc/ranger.gui.color.html create mode 100644 doc/pydoc/ranger.gui.colorscheme.html create mode 100644 doc/pydoc/ranger.gui.defaultui.html create mode 100644 doc/pydoc/ranger.gui.displayable.html create mode 100644 doc/pydoc/ranger.gui.html create mode 100644 doc/pydoc/ranger.gui.mouse_event.html create mode 100644 doc/pydoc/ranger.gui.ui.html create mode 100644 doc/pydoc/ranger.gui.widgets.console.html create mode 100644 doc/pydoc/ranger.gui.widgets.filelist.html create mode 100644 doc/pydoc/ranger.gui.widgets.filelistcontainer.html create mode 100644 doc/pydoc/ranger.gui.widgets.html create mode 100644 doc/pydoc/ranger.gui.widgets.notify.html create mode 100644 doc/pydoc/ranger.gui.widgets.process_manager.html create mode 100644 doc/pydoc/ranger.gui.widgets.statusbar.html create mode 100644 doc/pydoc/ranger.gui.widgets.titlebar.html create mode 100644 doc/pydoc/ranger.html create mode 100644 doc/pydoc/ranger.shared.html create mode 100644 doc/pydoc/ranger.shared.mimetype.html create mode 100644 doc/pydoc/ranger.shared.settings.html create mode 100644 doc/pydoc/sys.html create mode 100644 doc/pydoc/test.html create mode 100644 doc/pydoc/test.tc_colorscheme.html create mode 100644 doc/pydoc/test.tc_directory.html create mode 100644 doc/pydoc/test.tc_displayable.html create mode 100644 doc/pydoc/test.tc_history.html create mode 100644 doc/pydoc/test.tc_ui.html create mode 100644 doc/pydoc/test.test.html delete mode 100644 doc/ranger.actions.html delete mode 100644 doc/ranger.applications.html delete mode 100644 doc/ranger.colorschemes.default.html delete mode 100644 doc/ranger.colorschemes.html delete mode 100644 doc/ranger.colorschemes.jungle.html delete mode 100644 doc/ranger.colorschemes.snow.html delete mode 100644 doc/ranger.commands.html delete mode 100644 doc/ranger.container.bookmarks.html delete mode 100644 doc/ranger.container.commandlist.html delete mode 100644 doc/ranger.container.environment.html delete mode 100644 doc/ranger.container.history.html delete mode 100644 doc/ranger.container.html delete mode 100644 doc/ranger.container.keybuffer.html delete mode 100644 doc/ranger.defaults.apps.html delete mode 100644 doc/ranger.defaults.html delete mode 100644 doc/ranger.defaults.keys.html delete mode 100644 doc/ranger.defaults.options.html delete mode 100644 doc/ranger.ext.accumulator.html delete mode 100644 doc/ranger.ext.debug.html delete mode 100644 doc/ranger.ext.get_all_modules.html delete mode 100644 doc/ranger.ext.html delete mode 100644 doc/ranger.ext.human_readable.html delete mode 100644 doc/ranger.ext.openstruct.html delete mode 100644 doc/ranger.ext.relpath.html delete mode 100644 doc/ranger.ext.shutil_generatorized.html delete mode 100644 doc/ranger.ext.waitpid_no_intr.html delete mode 100644 doc/ranger.fm.html delete mode 100644 doc/ranger.fsobject.directory.html delete mode 100644 doc/ranger.fsobject.file.html delete mode 100644 doc/ranger.fsobject.fsobject.html delete mode 100644 doc/ranger.fsobject.html delete mode 100644 doc/ranger.fsobject.loader.html delete mode 100644 doc/ranger.gui.color.html delete mode 100644 doc/ranger.gui.colorscheme.html delete mode 100644 doc/ranger.gui.defaultui.html delete mode 100644 doc/ranger.gui.displayable.html delete mode 100644 doc/ranger.gui.html delete mode 100644 doc/ranger.gui.mouse_event.html delete mode 100644 doc/ranger.gui.ui.html delete mode 100644 doc/ranger.gui.widgets.console.html delete mode 100644 doc/ranger.gui.widgets.filelist.html delete mode 100644 doc/ranger.gui.widgets.filelistcontainer.html delete mode 100644 doc/ranger.gui.widgets.html delete mode 100644 doc/ranger.gui.widgets.notify.html delete mode 100644 doc/ranger.gui.widgets.process_manager.html delete mode 100644 doc/ranger.gui.widgets.statusbar.html delete mode 100644 doc/ranger.gui.widgets.titlebar.html delete mode 100644 doc/ranger.html delete mode 100644 doc/ranger.shared.html delete mode 100644 doc/ranger.shared.mimetype.html delete mode 100644 doc/ranger.shared.settings.html delete mode 100644 doc/sys.html delete mode 100644 doc/test.html delete mode 100644 doc/test.tc_colorscheme.html delete mode 100644 doc/test.tc_directory.html delete mode 100644 doc/test.tc_displayable.html delete mode 100644 doc/test.tc_history.html delete mode 100644 doc/test.tc_ui.html delete mode 100644 doc/test.test.html (limited to 'doc') diff --git a/doc/all_tests.html b/doc/all_tests.html deleted file mode 100644 index 5d206fa8..00000000 --- a/doc/all_tests.html +++ /dev/null @@ -1,14 +0,0 @@ - -Python: module all_tests - - - - - -
 
- 
all_tests
index
/home/hut/work/ranger/all_tests.py
-

Run all the tests inside the test/ directory as a test suite.

- - \ No newline at end of file diff --git a/doc/curses.ascii.html b/doc/curses.ascii.html deleted file mode 100644 index 1c361b0a..00000000 --- a/doc/curses.ascii.html +++ /dev/null @@ -1,83 +0,0 @@ - -Python: module curses.ascii - - - - - -
 
- 
curses.ascii
index
/usr/lib/python3.1/curses/ascii.py
Module Docs
-

Constants and membership tests for ASCII characters

-

- - - - - -
 
-Functions
       
alt(c)
-
ascii(c)
-
ctrl(c)
-
isalnum(c)
-
isalpha(c)
-
isascii(c)
-
isblank(c)
-
iscntrl(c)
-
isctrl(c)
-
isdigit(c)
-
isgraph(c)
-
islower(c)
-
ismeta(c)
-
isprint(c)
-
ispunct(c)
-
isspace(c)
-
isupper(c)
-
isxdigit(c)
-
unctrl(c)
-

- - - - - -
 
-Data
       ACK = 6
-BEL = 7
-BS = 8
-CAN = 24
-CR = 13
-DC1 = 17
-DC2 = 18
-DC3 = 19
-DC4 = 20
-DEL = 127
-DLE = 16
-EM = 25
-ENQ = 5
-EOT = 4
-ESC = 27
-ETB = 23
-ETX = 3
-FF = 12
-FS = 28
-GS = 29
-HT = 9
-LF = 10
-NAK = 21
-NL = 10
-NUL = 0
-RS = 30
-SI = 15
-SO = 14
-SOH = 1
-SP = 32
-STX = 2
-SUB = 26
-SYN = 22
-TAB = 9
-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', ...]
- \ No newline at end of file diff --git a/doc/curses.html b/doc/curses.html deleted file mode 100644 index 04bbb48c..00000000 --- a/doc/curses.html +++ /dev/null @@ -1,331 +0,0 @@ - -Python: package curses - - - - - -
 
- 
curses
index
/usr/lib/python3.1/curses/__init__.py
Module Docs
-

curses

-The main package for curses support for Python.  Normally used by importing
-the package, and perhaps a particular module inside it.

-   import curses
-   from curses import textpad
-   curses.initwin()
-   ...

-

- - - - - -
 
-Package Contents
       
ascii
-has_key
-
panel
-textpad
-
wrapper
-

- - - - - -
 
-Functions
       
baudrate(...)
-
beep(...)
-
can_change_color(...)
-
cbreak(...)
-
color_content(...)
-
color_pair(...)
-
curs_set(...)
-
def_prog_mode(...)
-
def_shell_mode(...)
-
delay_output(...)
-
doupdate(...)
-
echo(...)
-
endwin(...)
-
erasechar(...)
-
filter(...)
-
flash(...)
-
flushinp(...)
-
getmouse(...)
-
getsyx(...)
-
getwin(...)
-
halfdelay(...)
-
has_colors(...)
-
has_ic(...)
-
has_il(...)
-
has_key(...)
-
init_color(...)
-
init_pair(...)
-
initscr()
-
intrflush(...)
-
is_term_resized(...)
-
isendwin(...)
-
keyname(...)
-
killchar(...)
-
longname(...)
-
meta(...)
-
mouseinterval(...)
-
mousemask(...)
-
napms(...)
-
newpad(...)
-
newwin(...)
-
nl(...)
-
nocbreak(...)
-
noecho(...)
-
nonl(...)
-
noqiflush(...)
-
noraw(...)
-
pair_content(...)
-
pair_number(...)
-
putp(...)
-
qiflush(...)
-
raw(...)
-
reset_prog_mode(...)
-
reset_shell_mode(...)
-
resetty(...)
-
resize_term(...)
-
resizeterm(...)
-
savetty(...)
-
setsyx(...)
-
setupterm(...)
-
start_color()
-
termattrs(...)
-
termname(...)
-
tigetflag(...)
-
tigetnum(...)
-
tigetstr(...)
-
tparm(...)
-
typeahead(...)
-
unctrl(...)
-
ungetch(...)
-
ungetmouse(...)
-
use_default_colors(...)
-
use_env(...)
-

- - - - - -
 
-Data
       ALL_MOUSE_EVENTS = 134217727
-A_ALTCHARSET = 4194304
-A_ATTRIBUTES = 4294967040
-A_BLINK = 524288
-A_BOLD = 2097152
-A_CHARTEXT = 255
-A_COLOR = 65280
-A_DIM = 1048576
-A_HORIZONTAL = 33554432
-A_INVIS = 8388608
-A_LEFT = 67108864
-A_LOW = 134217728
-A_NORMAL = 0
-A_PROTECT = 16777216
-A_REVERSE = 262144
-A_RIGHT = 268435456
-A_STANDOUT = 65536
-A_TOP = 536870912
-A_UNDERLINE = 131072
-A_VERTICAL = 1073741824
-BUTTON1_CLICKED = 4
-BUTTON1_DOUBLE_CLICKED = 8
-BUTTON1_PRESSED = 2
-BUTTON1_RELEASED = 1
-BUTTON1_TRIPLE_CLICKED = 16
-BUTTON2_CLICKED = 256
-BUTTON2_DOUBLE_CLICKED = 512
-BUTTON2_PRESSED = 128
-BUTTON2_RELEASED = 64
-BUTTON2_TRIPLE_CLICKED = 1024
-BUTTON3_CLICKED = 16384
-BUTTON3_DOUBLE_CLICKED = 32768
-BUTTON3_PRESSED = 8192
-BUTTON3_RELEASED = 4096
-BUTTON3_TRIPLE_CLICKED = 65536
-BUTTON4_CLICKED = 1048576
-BUTTON4_DOUBLE_CLICKED = 2097152
-BUTTON4_PRESSED = 524288
-BUTTON4_RELEASED = 262144
-BUTTON4_TRIPLE_CLICKED = 4194304
-BUTTON_ALT = 67108864
-BUTTON_CTRL = 16777216
-BUTTON_SHIFT = 33554432
-COLOR_BLACK = 0
-COLOR_BLUE = 4
-COLOR_CYAN = 6
-COLOR_GREEN = 2
-COLOR_MAGENTA = 5
-COLOR_RED = 1
-COLOR_WHITE = 7
-COLOR_YELLOW = 3
-ERR = -1
-KEY_A1 = 348
-KEY_A3 = 349
-KEY_B2 = 350
-KEY_BACKSPACE = 263
-KEY_BEG = 354
-KEY_BREAK = 257
-KEY_BTAB = 353
-KEY_C1 = 351
-KEY_C3 = 352
-KEY_CANCEL = 355
-KEY_CATAB = 342
-KEY_CLEAR = 333
-KEY_CLOSE = 356
-KEY_COMMAND = 357
-KEY_COPY = 358
-KEY_CREATE = 359
-KEY_CTAB = 341
-KEY_DC = 330
-KEY_DL = 328
-KEY_DOWN = 258
-KEY_EIC = 332
-KEY_END = 360
-KEY_ENTER = 343
-KEY_EOL = 335
-KEY_EOS = 334
-KEY_EXIT = 361
-KEY_F0 = 264
-KEY_F1 = 265
-KEY_F10 = 274
-KEY_F11 = 275
-KEY_F12 = 276
-KEY_F13 = 277
-KEY_F14 = 278
-KEY_F15 = 279
-KEY_F16 = 280
-KEY_F17 = 281
-KEY_F18 = 282
-KEY_F19 = 283
-KEY_F2 = 266
-KEY_F20 = 284
-KEY_F21 = 285
-KEY_F22 = 286
-KEY_F23 = 287
-KEY_F24 = 288
-KEY_F25 = 289
-KEY_F26 = 290
-KEY_F27 = 291
-KEY_F28 = 292
-KEY_F29 = 293
-KEY_F3 = 267
-KEY_F30 = 294
-KEY_F31 = 295
-KEY_F32 = 296
-KEY_F33 = 297
-KEY_F34 = 298
-KEY_F35 = 299
-KEY_F36 = 300
-KEY_F37 = 301
-KEY_F38 = 302
-KEY_F39 = 303
-KEY_F4 = 268
-KEY_F40 = 304
-KEY_F41 = 305
-KEY_F42 = 306
-KEY_F43 = 307
-KEY_F44 = 308
-KEY_F45 = 309
-KEY_F46 = 310
-KEY_F47 = 311
-KEY_F48 = 312
-KEY_F49 = 313
-KEY_F5 = 269
-KEY_F50 = 314
-KEY_F51 = 315
-KEY_F52 = 316
-KEY_F53 = 317
-KEY_F54 = 318
-KEY_F55 = 319
-KEY_F56 = 320
-KEY_F57 = 321
-KEY_F58 = 322
-KEY_F59 = 323
-KEY_F6 = 270
-KEY_F60 = 324
-KEY_F61 = 325
-KEY_F62 = 326
-KEY_F63 = 327
-KEY_F7 = 271
-KEY_F8 = 272
-KEY_F9 = 273
-KEY_FIND = 362
-KEY_HELP = 363
-KEY_HOME = 262
-KEY_IC = 331
-KEY_IL = 329
-KEY_LEFT = 260
-KEY_LL = 347
-KEY_MARK = 364
-KEY_MAX = 511
-KEY_MESSAGE = 365
-KEY_MIN = 257
-KEY_MOUSE = 409
-KEY_MOVE = 366
-KEY_NEXT = 367
-KEY_NPAGE = 338
-KEY_OPEN = 368
-KEY_OPTIONS = 369
-KEY_PPAGE = 339
-KEY_PREVIOUS = 370
-KEY_PRINT = 346
-KEY_REDO = 371
-KEY_REFERENCE = 372
-KEY_REFRESH = 373
-KEY_REPLACE = 374
-KEY_RESET = 345
-KEY_RESIZE = 410
-KEY_RESTART = 375
-KEY_RESUME = 376
-KEY_RIGHT = 261
-KEY_SAVE = 377
-KEY_SBEG = 378
-KEY_SCANCEL = 379
-KEY_SCOMMAND = 380
-KEY_SCOPY = 381
-KEY_SCREATE = 382
-KEY_SDC = 383
-KEY_SDL = 384
-KEY_SELECT = 385
-KEY_SEND = 386
-KEY_SEOL = 387
-KEY_SEXIT = 388
-KEY_SF = 336
-KEY_SFIND = 389
-KEY_SHELP = 390
-KEY_SHOME = 391
-KEY_SIC = 392
-KEY_SLEFT = 393
-KEY_SMESSAGE = 394
-KEY_SMOVE = 395
-KEY_SNEXT = 396
-KEY_SOPTIONS = 397
-KEY_SPREVIOUS = 398
-KEY_SPRINT = 399
-KEY_SR = 337
-KEY_SREDO = 400
-KEY_SREPLACE = 401
-KEY_SRESET = 344
-KEY_SRIGHT = 402
-KEY_SRSUME = 403
-KEY_SSAVE = 404
-KEY_SSUSPEND = 405
-KEY_STAB = 340
-KEY_SUNDO = 406
-KEY_SUSPEND = 407
-KEY_UNDO = 408
-KEY_UP = 259
-OK = 0
-REPORT_MOUSE_POSITION = 134217728
-__revision__ = '$Id: __init__.py 61083 2008-02-26 08:18:30Z christian.heimes $'
-version = b'2.2'
- \ No newline at end of file diff --git a/doc/make_doc.html b/doc/make_doc.html deleted file mode 100644 index fb04ba47..00000000 --- a/doc/make_doc.html +++ /dev/null @@ -1,26 +0,0 @@ - -Python: module make_doc - - - - - -
 
- 
make_doc
index
/home/hut/work/ranger/make_doc.py
-

Generate pydoc documentation and move it to the doc directory.
-THIS WILL DELETE ALL EXISTING HTML FILES IN THAT DIRECTORY, so don't
-store important content there.

-

- - - - - -
 
-Modules
       
os
-
pydoc
-
sys
-
- \ No newline at end of file diff --git a/doc/os.html b/doc/os.html deleted file mode 100644 index fc746061..00000000 --- a/doc/os.html +++ /dev/null @@ -1,908 +0,0 @@ - -Python: module os - - - - - -
 
- 
os
index
/usr/lib/python3.1/os.py
Module Docs
-

OS routines for Mac, NT, or Posix depending on what system we're on.

-This exports:
-  - all functions from posix, nt, os2, or ce, e.g. unlink, stat, etc.
-  - os.path is either posixpath or ntpath
-  - os.name is either 'posix', 'nt', 'os2' or 'ce'.
-  - os.curdir is a string representing the current directory ('.' or ':')
-  - os.pardir is a string representing the parent directory ('..' or '::')
-  - os.sep is the (or a most common) pathname separator ('/' or ':' or '\\')
-  - os.extsep is the extension separator (always '.')
-  - os.altsep is the alternate pathname separator (None or '/')
-  - os.pathsep is the component separator used in $PATH etc
-  - os.linesep is the line separator in text files ('\r' or '\n' or '\r\n')
-  - os.defpath is the default search path for executables
-  - os.devnull is the file path of the null device ('/dev/null', etc.)

-Programs that import and use 'os' stand a better chance of being
-portable between different platforms.  Of course, they must then
-only use functions that are defined by all platforms (e.g., unlink
-and opendir), and leave all pathname manipulation to os.path
-(e.g., split and join).

-

- - - - - -
 
-Modules
       
copyreg
-
errno
-
posixpath
-
sys
-

- - - - - -
 
-Classes
       
-
builtins.EnvironmentError(builtins.Exception) -
-
-
builtins.OSError -
-
-
builtins.object -
-
-
posix.stat_result -
posix.statvfs_result -
-
-
-

- - - - - - - -
 
-error = class OSError(EnvironmentError)
   OS system call failed.
 
 
Method resolution order:
-
OSError
-
EnvironmentError
-
Exception
-
BaseException
-
object
-
-
-Methods defined here:
-
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
- -
-Data and other attributes defined here:
-
__new__ = <built-in method __new__ of type object at 0x7f327d94afc0>
T.__new__(S, ...) -> a new object with type S, a subtype of T
- -
-Methods inherited from EnvironmentError:
-
__reduce__(...)
- -
__str__(...)
x.__str__() <==> str(x)
- -
-Data descriptors inherited from EnvironmentError:
-
errno
-
exception errno
-
-
filename
-
exception filename
-
-
strerror
-
exception strerror
-
-
-Methods inherited from BaseException:
-
__delattr__(...)
x.__delattr__('name') <==> del x.name
- -
__getattribute__(...)
x.__getattribute__('name') <==> x.name
- -
__repr__(...)
x.__repr__() <==> repr(x)
- -
__setattr__(...)
x.__setattr__('name', value) <==> x.name = value
- -
__setstate__(...)
- -
with_traceback(...)
Exception.with_traceback(tb) --
-set self.__traceback__ to tb and return self.
- -
-Data descriptors inherited from BaseException:
-
__cause__
-
exception cause
-
-
__context__
-
exception context
-
-
__dict__
-
-
__traceback__
-
-
args
-
-

- - - - - - - -
 
-class stat_result(builtins.object)
   stat_result: Result from stat or lstat.

-This object may be accessed either as a tuple of
-  (mode, ino, dev, nlink, uid, gid, size, atime, mtime, ctime)
-or via the attributes st_mode, st_ino, st_dev, st_nlink, st_uid, and so on.

-Posix/windows: If your platform supports st_blksize, st_blocks, st_rdev,
-or st_flags, they are available as attributes only.

-See os.stat for more information.
 
 Methods defined here:
-
__add__(...)
x.__add__(y) <==> x+y
- -
__contains__(...)
x.__contains__(y) <==> y in x
- -
__eq__(...)
x.__eq__(y) <==> x==y
- -
__ge__(...)
x.__ge__(y) <==> x>=y
- -
__getitem__(...)
x.__getitem__(y) <==> x[y]
- -
__gt__(...)
x.__gt__(y) <==> x>y
- -
__hash__(...)
x.__hash__() <==> hash(x)
- -
__le__(...)
x.__le__(y) <==> x<=y
- -
__len__(...)
x.__len__() <==> len(x)
- -
__lt__(...)
x.__lt__(y) <==> x<y
- -
__mul__(...)
x.__mul__(n) <==> x*n
- -
__ne__(...)
x.__ne__(y) <==> x!=y
- -
__reduce__(...)
- -
__repr__(...)
x.__repr__() <==> repr(x)
- -
__rmul__(...)
x.__rmul__(n) <==> n*x
- -
-Data descriptors defined here:
-
st_atime
-
time of last access
-
-
st_blksize
-
blocksize for filesystem I/O
-
-
st_blocks
-
number of blocks allocated
-
-
st_ctime
-
time of last change
-
-
st_dev
-
device
-
-
st_gid
-
group ID of owner
-
-
st_ino
-
inode
-
-
st_mode
-
protection bits
-
-
st_mtime
-
time of last modification
-
-
st_nlink
-
number of hard links
-
-
st_rdev
-
device type (if inode device)
-
-
st_size
-
total size, in bytes
-
-
st_uid
-
user ID of owner
-
-
-Data and other attributes defined here:
-
__new__ = <built-in method __new__ of type object at 0x7f327d99e840>
T.__new__(S, ...) -> a new object with type S, a subtype of T
- -
n_fields = 16
- -
n_sequence_fields = 10
- -
n_unnamed_fields = 3
- -

- - - - - - - -
 
-class statvfs_result(builtins.object)
   statvfs_result: Result from statvfs or fstatvfs.

-This object may be accessed either as a tuple of
-  (bsize, frsize, blocks, bfree, bavail, files, ffree, favail, flag, namemax),
-or via the attributes f_bsize, f_frsize, f_blocks, f_bfree, and so on.

-See os.statvfs for more information.
 
 Methods defined here:
-
__add__(...)
x.__add__(y) <==> x+y
- -
__contains__(...)
x.__contains__(y) <==> y in x
- -
__eq__(...)
x.__eq__(y) <==> x==y
- -
__ge__(...)
x.__ge__(y) <==> x>=y
- -
__getitem__(...)
x.__getitem__(y) <==> x[y]
- -
__gt__(...)
x.__gt__(y) <==> x>y
- -
__hash__(...)
x.__hash__() <==> hash(x)
- -
__le__(...)
x.__le__(y) <==> x<=y
- -
__len__(...)
x.__len__() <==> len(x)
- -
__lt__(...)
x.__lt__(y) <==> x<y
- -
__mul__(...)
x.__mul__(n) <==> x*n
- -
__ne__(...)
x.__ne__(y) <==> x!=y
- -
__reduce__(...)
- -
__repr__(...)
x.__repr__() <==> repr(x)
- -
__rmul__(...)
x.__rmul__(n) <==> n*x
- -
-Data descriptors defined here:
-
f_bavail
-
-
f_bfree
-
-
f_blocks
-
-
f_bsize
-
-
f_favail
-
-
f_ffree
-
-
f_files
-
-
f_flag
-
-
f_frsize
-
-
f_namemax
-
-
-Data and other attributes defined here:
-
__new__ = <built-in method __new__ of type object at 0x7f327d99e9e0>
T.__new__(S, ...) -> a new object with type S, a subtype of T
- -
n_fields = 10
- -
n_sequence_fields = 10
- -
n_unnamed_fields = 0
- -

- - - - - -
 
-Functions
       
WCOREDUMP(...)
WCOREDUMP(status) -> bool

-Return True if the process returning 'status' was dumped to a core file.
-
WEXITSTATUS(...)
WEXITSTATUS(status) -> integer

-Return the process return code from 'status'.
-
WIFCONTINUED(...)
WIFCONTINUED(status) -> bool

-Return True if the process returning 'status' was continued from a
-job control stop.
-
WIFEXITED(...)
WIFEXITED(status) -> bool

-Return true if the process returning 'status' exited using the exit()
-system call.
-
WIFSIGNALED(...)
WIFSIGNALED(status) -> bool

-Return True if the process returning 'status' was terminated by a signal.
-
WIFSTOPPED(...)
WIFSTOPPED(status) -> bool

-Return True if the process returning 'status' was stopped.
-
WSTOPSIG(...)
WSTOPSIG(status) -> integer

-Return the signal that stopped the process that provided
-the 'status' value.
-
WTERMSIG(...)
WTERMSIG(status) -> integer

-Return the signal that terminated the process that provided the 'status'
-value.
-
abort(...)
abort() -> does not return!

-Abort the interpreter immediately.  This 'dumps core' or otherwise fails
-in the hardest way possible on the hosting operating system.
-
access(...)
access(path, mode) -> True if granted, False otherwise

-Use the real uid/gid to test for access to a path.  Note that most
-operations will use the effective uid/gid, therefore this routine can
-be used in a suid/sgid environment to test if the invoking user has the
-specified access to the path.  The mode argument can be F_OK to test
-existence, or the inclusive-OR of R_OK, W_OK, and X_OK.
-
chdir(...)
chdir(path)

-Change the current working directory to the specified path.
-
chmod(...)
chmod(path, mode)

-Change the access permissions of a file.
-
chown(...)
chown(path, uid, gid)

-Change the owner and group id of path to the numeric uid and gid.
-
chroot(...)
chroot(path)

-Change root directory to path.
-
close(...)
close(fd)

-Close a file descriptor (for low level IO).
-
closerange(...)
closerange(fd_low, fd_high)

-Closes all file descriptors in [fd_low, fd_high), ignoring errors.
-
confstr(...)
confstr(name) -> string

-Return a string-valued system configuration variable.
-
ctermid(...)
ctermid() -> string

-Return the name of the controlling terminal for this process.
-
device_encoding(...)
device_encoding(fd) -> str

-Return a string describing the encoding of the device
-if the output is a terminal; else return None.
-
dup(...)
dup(fd) -> fd2

-Return a duplicate of a file descriptor.
-
dup2(...)
dup2(old_fd, new_fd)

-Duplicate file descriptor.
-
execl(file, *args)
execl(file, *args)

-Execute the executable file with argument list args, replacing the
-current process.
-
execle(file, *args)
execle(file, *args, env)

-Execute the executable file with argument list args and
-environment env, replacing the current process.
-
execlp(file, *args)
execlp(file, *args)

-Execute the executable file (which is searched for along $PATH)
-with argument list args, replacing the current process.
-
execlpe(file, *args)
execlpe(file, *args, env)

-Execute the executable file (which is searched for along $PATH)
-with argument list args and environment env, replacing the current
-process.
-
execv(...)
execv(path, args)

-Execute an executable path with arguments, replacing current process.

-        path: path of executable file
-        args: tuple or list of strings
-
execve(...)
execve(path, args, env)

-Execute a path with arguments and environment, replacing current process.

-        path: path of executable file
-        args: tuple or list of arguments
-        env: dictionary of strings mapping to strings
-
execvp(file, args)
execp(file, args)

-Execute the executable file (which is searched for along $PATH)
-with argument list args, replacing the current process.
-args may be a list or tuple of strings.
-
execvpe(file, args, env)
execvpe(file, args, env)

-Execute the executable file (which is searched for along $PATH)
-with argument list args and environment env , replacing the
-current process.
-args may be a list or tuple of strings.
-
fchdir(...)
fchdir(fildes)

-Change to the directory of the given file descriptor.  fildes must be
-opened on a directory, not a file.
-
fchmod(...)
fchmod(fd, mode)

-Change the access permissions of the file given by file
-descriptor fd.
-
fchown(...)
fchown(fd, uid, gid)

-Change the owner and group id of the file given by file descriptor
-fd to the numeric uid and gid.
-
fdatasync(...)
fdatasync(fildes)

-force write of file with filedescriptor to disk.
- does not force update of metadata.
-
fork(...)
fork() -> pid

-Fork a child process.
-Return 0 to child process and PID of child to parent process.
-
forkpty(...)
forkpty() -> (pid, master_fd)

-Fork a new process with a new pseudo-terminal as controlling tty.

-Like fork(), return 0 as pid to child process, and PID of child to parent.
-To both, return fd of newly opened pseudo-terminal.
-
fpathconf(...)
fpathconf(fd, name) -> integer

-Return the configuration limit name for the file descriptor fd.
-If there is no limit, return -1.
-
fstat(...)
fstat(fd) -> stat result

-Like stat(), but for an open file descriptor.
-
fstatvfs(...)
fstatvfs(fd) -> statvfs result

-Perform an fstatvfs system call on the given fd.
-
fsync(...)
fsync(fildes)

-force write of file with filedescriptor to disk.
-
ftruncate(...)
ftruncate(fd, length)

-Truncate a file to a specified length.
-
getcwd(...)
getcwd() -> path

-Return a unicode string representing the current working directory.
-
getcwdb(...)
getcwdb() -> path

-Return a bytes string representing the current working directory.
-
getegid(...)
getegid() -> egid

-Return the current process's effective group id.
-
getenv(key, default=None)
Get an environment variable, return None if it doesn't exist.
-The optional second argument can specify an alternate default.
-
geteuid(...)
geteuid() -> euid

-Return the current process's effective user id.
-
getgid(...)
getgid() -> gid

-Return the current process's group id.
-
getgroups(...)
getgroups() -> list of group IDs

-Return list of supplemental group IDs for the process.
-
getloadavg(...)
getloadavg() -> (float, float, float)

-Return the number of processes in the system run queue averaged over
-the last 1, 5, and 15 minutes or raises OSError if the load average
-was unobtainable
-
getlogin(...)
getlogin() -> string

-Return the actual login name.
-
getpgid(...)
getpgid(pid) -> pgid

-Call the system call getpgid().
-
getpgrp(...)
getpgrp() -> pgrp

-Return the current process group id.
-
getpid(...)
getpid() -> pid

-Return the current process id
-
getppid(...)
getppid() -> ppid

-Return the parent's process id.
-
getsid(...)
getsid(pid) -> sid

-Call the system call getsid().
-
getuid(...)
getuid() -> uid

-Return the current process's user id.
-
isatty(...)
isatty(fd) -> bool

-Return True if the file descriptor 'fd' is an open file descriptor
-connected to the slave end of a terminal.
-
kill(...)
kill(pid, sig)

-Kill a process with a signal.
-
killpg(...)
killpg(pgid, sig)

-Kill a process group with a signal.
-
lchown(...)
lchown(path, uid, gid)

-Change the owner and group id of path to the numeric uid and gid.
-This function will not follow symbolic links.
-
link(...)
link(src, dst)

-Create a hard link to a file.
-
listdir(...)
listdir(path) -> list_of_strings

-Return a list containing the names of the entries in the directory.

-        path: path of directory to list

-The list is in arbitrary order.  It does not include the special
-entries '.' and '..' even if they are present in the directory.
-
lseek(...)
lseek(fd, pos, how) -> newpos

-Set the current position of a file descriptor.
-
lstat(...)
lstat(path) -> stat result

-Like stat(path), but do not follow symbolic links.
-
major(...)
major(device) -> major number
-Extracts a device major number from a raw device number.
-
makedev(...)
makedev(major, minor) -> device number
-Composes a raw device number from the major and minor device numbers.
-
makedirs(name, mode=511)
makedirs(path [, mode=0o777])

-Super-mkdir; create a leaf directory and all intermediate ones.
-Works like mkdir, except that any intermediate path segment (not
-just the rightmost) will be created if it does not exist.  This is
-recursive.
-
minor(...)
minor(device) -> minor number
-Extracts a device minor number from a raw device number.
-
mkdir(...)
mkdir(path [, mode=0777])

-Create a directory.
-
mkfifo(...)
mkfifo(filename [, mode=0666])

-Create a FIFO (a POSIX named pipe).
-
mknod(...)
mknod(filename [, mode=0600, device])

-Create a filesystem node (file, device special file or named pipe)
-named filename. mode specifies both the permissions to use and the
-type of node to be created, being combined (bitwise OR) with one of
-S_IFREG, S_IFCHR, S_IFBLK, and S_IFIFO. For S_IFCHR and S_IFBLK,
-device defines the newly created device special file (probably using
-os.makedev()), otherwise it is ignored.
-
nice(...)
nice(inc) -> new_priority

-Decrease the priority of process by inc and return the new priority.
-
open(...)
open(filename, flag [, mode=0777]) -> fd

-Open a file (for low level IO).
-
openpty(...)
openpty() -> (master_fd, slave_fd)

-Open a pseudo-terminal, returning open fd's for both master and slave end.
-
pathconf(...)
pathconf(path, name) -> integer

-Return the configuration limit name for the file or directory path.
-If there is no limit, return -1.
-
pipe(...)
pipe() -> (read_end, write_end)

-Create a pipe.
-
putenv(...)
putenv(key, value)

-Change or add an environment variable.
-
read(...)
read(fd, buffersize) -> string

-Read a file descriptor.
-
readlink(...)
readlink(path) -> path

-Return a string representing the path to which the symbolic link points.
-
remove(...)
remove(path)

-Remove a file (same as unlink(path)).
-
removedirs(name)
removedirs(path)

-Super-rmdir; remove a leaf directory and all empty intermediate
-ones.  Works like rmdir except that, if the leaf directory is
-successfully removed, directories corresponding to rightmost path
-segments will be pruned away until either the whole path is
-consumed or an error occurs.  Errors during this latter phase are
-ignored -- they generally mean that a directory was not empty.
-
rename(...)
rename(old, new)

-Rename a file or directory.
-
renames(old, new)
renames(old, new)

-Super-rename; create directories as necessary and delete any left
-empty.  Works like rename, except creation of any intermediate
-directories needed to make the new pathname good is attempted
-first.  After the rename, directories corresponding to rightmost
-path segments of the old name will be pruned way until either the
-whole path is consumed or a nonempty directory is found.

-Note: this function can fail with the new directory structure made
-if you lack permissions needed to unlink the leaf directory or
-file.
-
rmdir(...)
rmdir(path)

-Remove a directory.
-
setegid(...)
setegid(gid)

-Set the current process's effective group id.
-
seteuid(...)
seteuid(uid)

-Set the current process's effective user id.
-
setgid(...)
setgid(gid)

-Set the current process's group id.
-
setgroups(...)
setgroups(list)

-Set the groups of the current process to list.
-
setpgid(...)
setpgid(pid, pgrp)

-Call the system call setpgid().
-
setpgrp(...)
setpgrp()

-Make this process a session leader.
-
setregid(...)
setregid(rgid, egid)

-Set the current process's real and effective group ids.
-
setreuid(...)
setreuid(ruid, euid)

-Set the current process's real and effective user ids.
-
setsid(...)
setsid()

-Call the system call setsid().
-
setuid(...)
setuid(uid)

-Set the current process's user id.
-
spawnl(mode, file, *args)
spawnl(mode, file, *args) -> integer

-Execute file with arguments from args in a subprocess.
-If mode == P_NOWAIT return the pid of the process.
-If mode == P_WAIT return the process's exit code if it exits normally;
-otherwise return -SIG, where SIG is the signal that killed it.
-
spawnle(mode, file, *args)
spawnle(mode, file, *args, env) -> integer

-Execute file with arguments from args in a subprocess with the
-supplied environment.
-If mode == P_NOWAIT return the pid of the process.
-If mode == P_WAIT return the process's exit code if it exits normally;
-otherwise return -SIG, where SIG is the signal that killed it.
-
spawnlp(mode, file, *args)
spawnlp(mode, file, *args) -> integer

-Execute file (which is looked for along $PATH) with arguments from
-args in a subprocess with the supplied environment.
-If mode == P_NOWAIT return the pid of the process.
-If mode == P_WAIT return the process's exit code if it exits normally;
-otherwise return -SIG, where SIG is the signal that killed it.
-
spawnlpe(mode, file, *args)
spawnlpe(mode, file, *args, env) -> integer

-Execute file (which is looked for along $PATH) with arguments from
-args in a subprocess with the supplied environment.
-If mode == P_NOWAIT return the pid of the process.
-If mode == P_WAIT return the process's exit code if it exits normally;
-otherwise return -SIG, where SIG is the signal that killed it.
-
spawnv(mode, file, args)
spawnv(mode, file, args) -> integer

-Execute file with arguments from args in a subprocess.
-If mode == P_NOWAIT return the pid of the process.
-If mode == P_WAIT return the process's exit code if it exits normally;
-otherwise return -SIG, where SIG is the signal that killed it.
-
spawnve(mode, file, args, env)
spawnve(mode, file, args, env) -> integer

-Execute file with arguments from args in a subprocess with the
-specified environment.
-If mode == P_NOWAIT return the pid of the process.
-If mode == P_WAIT return the process's exit code if it exits normally;
-otherwise return -SIG, where SIG is the signal that killed it.
-
spawnvp(mode, file, args)
spawnvp(mode, file, args) -> integer

-Execute file (which is looked for along $PATH) with arguments from
-args in a subprocess.
-If mode == P_NOWAIT return the pid of the process.
-If mode == P_WAIT return the process's exit code if it exits normally;
-otherwise return -SIG, where SIG is the signal that killed it.
-
spawnvpe(mode, file, args, env)
spawnvpe(mode, file, args, env) -> integer

-Execute file (which is looked for along $PATH) with arguments from
-args in a subprocess with the supplied environment.
-If mode == P_NOWAIT return the pid of the process.
-If mode == P_WAIT return the process's exit code if it exits normally;
-otherwise return -SIG, where SIG is the signal that killed it.
-
stat(...)
stat(path) -> stat result

-Perform a stat system call on the given path.
-
stat_float_times(...)
stat_float_times([newval]) -> oldval

-Determine whether os.[lf]stat represents time stamps as float objects.
-If newval is True, future calls to stat() return floats, if it is False,
-future calls return ints. 
-If newval is omitted, return the current setting.
-
statvfs(...)
statvfs(path) -> statvfs result

-Perform a statvfs system call on the given path.
-
strerror(...)
strerror(code) -> string

-Translate an error code to a message string.
-
symlink(...)
symlink(src, dst)

-Create a symbolic link pointing to src named dst.
-
sysconf(...)
sysconf(name) -> integer

-Return an integer-valued system configuration variable.
-
system(...)
system(command) -> exit_status

-Execute the command (a string) in a subshell.
-
tcgetpgrp(...)
tcgetpgrp(fd) -> pgid

-Return the process group associated with the terminal given by a fd.
-
tcsetpgrp(...)
tcsetpgrp(fd, pgid)

-Set the process group associated with the terminal given by a fd.
-
times(...)
times() -> (utime, stime, cutime, cstime, elapsed_time)

-Return a tuple of floating point numbers indicating process times.
-
ttyname(...)
ttyname(fd) -> string

-Return the name of the terminal device connected to 'fd'.
-
umask(...)
umask(new_mask) -> old_mask

-Set the current numeric umask and return the previous umask.
-
uname(...)
uname() -> (sysname, nodename, release, version, machine)

-Return a tuple identifying the current operating system.
-
unlink(...)
unlink(path)

-Remove a file (same as remove(path)).
-
unsetenv(...)
unsetenv(key)

-Delete an environment variable.
-
utime(...)
utime(path, (atime, mtime))
-utime(path, None)

-Set the access and modified time of the file to the given values.  If the
-second form is used, set the access and modified times to the current time.
-
wait(...)
wait() -> (pid, status)

-Wait for completion of a child process.
-
wait3(...)
wait3(options) -> (pid, status, rusage)

-Wait for completion of a child process.
-
wait4(...)
wait4(pid, options) -> (pid, status, rusage)

-Wait for completion of a given child process.
-
waitpid(...)
waitpid(pid, options) -> (pid, status)

-Wait for completion of a given child process.
-
walk(top, topdown=True, onerror=None, followlinks=False)
Directory tree generator.

-For each directory in the directory tree rooted at top (including top
-itself, but excluding '.' and '..'), yields a 3-tuple

-    dirpath, dirnames, filenames

-dirpath is a string, the path to the directory.  dirnames is a list of
-the names of the subdirectories in dirpath (excluding '.' and '..').
-filenames is a list of the names of the non-directory files in dirpath.
-Note that the names in the lists are just names, with no path components.
-To get a full path (which begins with top) to a file or directory in
-dirpath, do os.path.join(dirpath, name).

-If optional arg 'topdown' is true or not specified, the triple for a
-directory is generated before the triples for any of its subdirectories
-(directories are generated top down).  If topdown is false, the triple
-for a directory is generated after the triples for all of its
-subdirectories (directories are generated bottom up).

-When topdown is true, the caller can modify the dirnames list in-place
-(e.g., via del or slice assignment), and walk will only recurse into the
-subdirectories whose names remain in dirnames; this can be used to prune
-the search, or to impose a specific order of visiting.  Modifying
-dirnames when topdown is false is ineffective, since the directories in
-dirnames have already been generated by the time dirnames itself is
-generated.

-By default errors from the os.listdir() call are ignored.  If
-optional arg 'onerror' is specified, it should be a function; it
-will be called with one argument, an os.error instance.  It can
-report the error to continue with the walk, or raise the exception
-to abort the walk.  Note that the filename is available as the
-filename attribute of the exception object.

-By default, os.walk does not follow symbolic links to subdirectories on
-systems that support them.  In order to get this functionality, set the
-optional argument 'followlinks' to true.

-Caution:  if you pass a relative pathname for top, don't change the
-current working directory between resumptions of walk.  walk never
-changes the current directory, and assumes that the client doesn't
-either.

-Example:

-import os
-from os.path import join, getsize
-for root, dirs, files in os.walk('python/Lib/email'):
-    print(root, "consumes", end="")
-    print(sum([getsize(join(root, name)) for name in files]), end="")
-    print("bytes in", len(files), "non-directory files")
-    if 'CVS' in dirs:
-        dirs.remove('CVS')  # don't visit CVS directories
-
write(...)
write(fd, string) -> byteswritten

-Write a string to a file descriptor.
-

- - - - - -
 
-Data
       EX_CANTCREAT = 73
-EX_CONFIG = 78
-EX_DATAERR = 65
-EX_IOERR = 74
-EX_NOHOST = 68
-EX_NOINPUT = 66
-EX_NOPERM = 77
-EX_NOUSER = 67
-EX_OK = 0
-EX_OSERR = 71
-EX_OSFILE = 72
-EX_PROTOCOL = 76
-EX_SOFTWARE = 70
-EX_TEMPFAIL = 75
-EX_UNAVAILABLE = 69
-EX_USAGE = 64
-F_OK = 0
-NGROUPS_MAX = 65536
-O_APPEND = 1024
-O_ASYNC = 8192
-O_CREAT = 64
-O_DIRECT = 16384
-O_DIRECTORY = 65536
-O_DSYNC = 4096
-O_EXCL = 128
-O_LARGEFILE = 0
-O_NDELAY = 2048
-O_NOATIME = 262144
-O_NOCTTY = 256
-O_NOFOLLOW = 131072
-O_NONBLOCK = 2048
-O_RDONLY = 0
-O_RDWR = 2
-O_RSYNC = 4096
-O_SYNC = 4096
-O_TRUNC = 512
-O_WRONLY = 1
-R_OK = 4
-SEEK_CUR = 1
-SEEK_END = 2
-SEEK_SET = 0
-TMP_MAX = 238328
-WCONTINUED = 8
-WNOHANG = 1
-WUNTRACED = 2
-W_OK = 2
-X_OK = 1
-__all__ = ['altsep', 'curdir', 'pardir', 'sep', 'pathsep', 'linesep', 'defpath', 'name', 'path', 'devnull', 'SEEK_SET', 'SEEK_CUR', 'SEEK_END', 'EX_CANTCREAT', 'EX_CONFIG', 'EX_DATAERR', 'EX_IOERR', 'EX_NOHOST', 'EX_NOINPUT', 'EX_NOPERM', ...]
-altsep = None
-confstr_names = {'CS_LFS64_CFLAGS': 1004, 'CS_LFS64_LDFLAGS': 1005, 'CS_LFS64_LIBS': 1006, 'CS_LFS64_LINTFLAGS': 1007, 'CS_LFS_CFLAGS': 1000, 'CS_LFS_LDFLAGS': 1001, 'CS_LFS_LIBS': 1002, 'CS_LFS_LINTFLAGS': 1003, 'CS_PATH': 0, 'CS_XBS5_ILP32_OFF32_CFLAGS': 1100, ...}
-curdir = '.'
-defpath = ':/bin:/usr/bin'
-devnull = '/dev/null'
-environ = <os._Environ object at 0x7f327c987e50>
-linesep = '\n'
-name = 'posix'
-pardir = '..'
-pathconf_names = {'PC_ASYNC_IO': 10, 'PC_CHOWN_RESTRICTED': 6, 'PC_FILESIZEBITS': 13, 'PC_LINK_MAX': 0, 'PC_MAX_CANON': 1, 'PC_MAX_INPUT': 2, 'PC_NAME_MAX': 3, 'PC_NO_TRUNC': 7, 'PC_PATH_MAX': 4, 'PC_PIPE_BUF': 5, ...}
-pathsep = ':'
-sep = '/'
-sysconf_names = {'SC_2_CHAR_TERM': 95, 'SC_2_C_BIND': 47, 'SC_2_C_DEV': 48, 'SC_2_C_VERSION': 96, 'SC_2_FORT_DEV': 49, 'SC_2_FORT_RUN': 50, 'SC_2_LOCALEDEF': 52, 'SC_2_SW_DEV': 51, 'SC_2_UPE': 97, 'SC_2_VERSION': 46, ...}
- \ No newline at end of file diff --git a/doc/os.path.html b/doc/os.path.html deleted file mode 100644 index a5b893f5..00000000 --- a/doc/os.path.html +++ /dev/null @@ -1,95 +0,0 @@ - -Python: module posixpath - - - - - -
 
- 
posixpath
index
/usr/lib/python3.1/posixpath.py
Module Docs
-

Common operations on Posix pathnames.

-Instead of importing this module directly, import os and refer to
-this module as os.path.  The "os.path" name is an alias for this
-module on Posix systems; on other systems (e.g. Mac, Windows),
-os.path provides the same operations in a manner specific to that
-platform, and is an alias to another module (e.g. macpath, ntpath).

-Some of this can actually be useful on non-Posix systems too, e.g.
-for manipulation of the pathname component of URLs.

-

- - - - - -
 
-Modules
       
genericpath
-
os
-
stat
-
sys
-

- - - - - -
 
-Functions
       
abspath(path)
Return an absolute path.
-
basename(p)
Returns the final component of a pathname
-
commonprefix(m)
Given a list of pathnames, returns the longest common leading component
-
dirname(p)
Returns the directory component of a pathname
-
exists(path)
Test whether a path exists.  Returns False for broken symbolic links
-
expanduser(path)
Expand ~ and ~user constructions.  If user or $HOME is unknown,
-do nothing.
-
expandvars(path)
Expand shell variables of form $var and ${var}.  Unknown variables
-are left unchanged.
-
getatime(filename)
Return the last access time of a file, reported by os.stat().
-
getctime(filename)
Return the metadata change time of a file, reported by os.stat().
-
getmtime(filename)
Return the last modification time of a file, reported by os.stat().
-
getsize(filename)
Return the size of a file, reported by os.stat().
-
isabs(s)
Test whether a path is absolute
-
isdir(s)
Return true if the pathname refers to an existing directory.
-
isfile(path)
Test whether a path is a regular file
-
islink(path)
Test whether a path is a symbolic link
-
ismount(path)
Test whether a path is a mount point
-
join(a, *p)
Join two or more pathname components, inserting '/' as needed.
-If any component is an absolute path, all previous path components
-will be discarded.
-
lexists(path)
Test whether a path exists.  Returns True for broken symbolic links
-
normcase(s)
Normalize case of pathname.  Has no effect under Posix
-
normpath(path)
Normalize path, eliminating double slashes, etc.
-
realpath(filename)
Return the canonical path of the specified filename, eliminating any
-symbolic links encountered in the path.
-
relpath(path, start=None)
Return a relative version of a path
-
samefile(f1, f2)
Test whether two pathnames reference the same actual file
-
sameopenfile(fp1, fp2)
Test whether two open file objects reference the same file
-
samestat(s1, s2)
Test whether two stat buffers reference the same file
-
split(p)
Split a pathname.  Returns tuple "(head, tail)" where "tail" is
-everything after the final slash.  Either part may be empty.
-
splitdrive(p)
Split a pathname into drive and path. On Posix, drive is always
-empty.
-
splitext(p)
Split the extension from a pathname.

-Extension is everything from the last dot to the end, ignoring
-leading dots.  Returns "(root, ext)"; ext may be empty.
-

- - - - - -
 
-Data
       __all__ = ['normcase', 'isabs', 'join', 'splitdrive', 'split', 'splitext', 'basename', 'dirname', 'commonprefix', 'getsize', 'getmtime', 'getatime', 'getctime', 'islink', 'exists', 'lexists', 'isdir', 'isfile', 'ismount', 'expanduser', ...]
-altsep = None
-curdir = '.'
-defpath = ':/bin:/usr/bin'
-devnull = '/dev/null'
-extsep = '.'
-pardir = '..'
-pathsep = ':'
-sep = '/'
-supports_unicode_filenames = False
- \ No newline at end of file diff --git a/doc/pydoc/all_tests.html b/doc/pydoc/all_tests.html new file mode 100644 index 00000000..5d206fa8 --- /dev/null +++ b/doc/pydoc/all_tests.html @@ -0,0 +1,14 @@ + +Python: module all_tests + + + + + +
 
+ 
all_tests
index
/home/hut/work/ranger/all_tests.py
+

Run all the tests inside the test/ directory as a test suite.

+ + \ No newline at end of file diff --git a/doc/pydoc/curses.ascii.html b/doc/pydoc/curses.ascii.html new file mode 100644 index 00000000..1c361b0a --- /dev/null +++ b/doc/pydoc/curses.ascii.html @@ -0,0 +1,83 @@ + +Python: module curses.ascii + + + + + +
 
+ 
curses.ascii
index
/usr/lib/python3.1/curses/ascii.py
Module Docs
+

Constants and membership tests for ASCII characters

+

+ + + + + +
 
+Functions
       
alt(c)
+
ascii(c)
+
ctrl(c)
+
isalnum(c)
+
isalpha(c)
+
isascii(c)
+
isblank(c)
+
iscntrl(c)
+
isctrl(c)
+
isdigit(c)
+
isgraph(c)
+
islower(c)
+
ismeta(c)
+
isprint(c)
+
ispunct(c)
+
isspace(c)
+
isupper(c)
+
isxdigit(c)
+
unctrl(c)
+

+ + + + + +
 
+Data
       ACK = 6
+BEL = 7
+BS = 8
+CAN = 24
+CR = 13
+DC1 = 17
+DC2 = 18
+DC3 = 19
+DC4 = 20
+DEL = 127
+DLE = 16
+EM = 25
+ENQ = 5
+EOT = 4
+ESC = 27
+ETB = 23
+ETX = 3
+FF = 12
+FS = 28
+GS = 29
+HT = 9
+LF = 10
+NAK = 21
+NL = 10
+NUL = 0
+RS = 30
+SI = 15
+SO = 14
+SOH = 1
+SP = 32
+STX = 2
+SUB = 26
+SYN = 22
+TAB = 9
+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', ...]
+ \ No newline at end of file diff --git a/doc/pydoc/curses.html b/doc/pydoc/curses.html new file mode 100644 index 00000000..04bbb48c --- /dev/null +++ b/doc/pydoc/curses.html @@ -0,0 +1,331 @@ + +Python: package curses + + + + + +
 
+ 
curses
index
/usr/lib/python3.1/curses/__init__.py
Module Docs
+

curses

+The main package for curses support for Python.  Normally used by importing
+the package, and perhaps a particular module inside it.

+   import curses
+   from curses import textpad
+   curses.initwin()
+   ...

+

+ + + + + +
 
+Package Contents
       
ascii
+has_key
+
panel
+textpad
+
wrapper
+

+ + + + + +
 
+Functions
       
baudrate(...)
+
beep(...)
+
can_change_color(...)
+
cbreak(...)
+
color_content(...)
+
color_pair(...)
+
curs_set(...)
+
def_prog_mode(...)
+
def_shell_mode(...)
+
delay_output(...)
+
doupdate(...)
+
echo(...)
+
endwin(...)
+
erasechar(...)
+
filter(...)
+
flash(...)
+
flushinp(...)
+
getmouse(...)
+
getsyx(...)
+
getwin(...)
+
halfdelay(...)
+
has_colors(...)
+
has_ic(...)
+
has_il(...)
+
has_key(...)
+
init_color(...)
+
init_pair(...)
+
initscr()
+
intrflush(...)
+
is_term_resized(...)
+
isendwin(...)
+
keyname(...)
+
killchar(...)
+
longname(...)
+
meta(...)
+
mouseinterval(...)
+
mousemask(...)
+
napms(...)
+
newpad(...)
+
newwin(...)
+
nl(...)
+
nocbreak(...)
+
noecho(...)
+
nonl(...)
+
noqiflush(...)
+
noraw(...)
+
pair_content(...)
+
pair_number(...)
+
putp(...)
+
qiflush(...)
+
raw(...)
+
reset_prog_mode(...)
+
reset_shell_mode(...)
+
resetty(...)
+
resize_term(...)
+
resizeterm(...)
+
savetty(...)
+
setsyx(...)
+
setupterm(...)
+
start_color()
+
termattrs(...)
+
termname(...)
+
tigetflag(...)
+
tigetnum(...)
+
tigetstr(...)
+
tparm(...)
+
typeahead(...)
+
unctrl(...)
+
ungetch(...)
+
ungetmouse(...)
+
use_default_colors(...)
+
use_env(...)
+

+ + + + + +
 
+Data
       ALL_MOUSE_EVENTS = 134217727
+A_ALTCHARSET = 4194304
+A_ATTRIBUTES = 4294967040
+A_BLINK = 524288
+A_BOLD = 2097152
+A_CHARTEXT = 255
+A_COLOR = 65280
+A_DIM = 1048576
+A_HORIZONTAL = 33554432
+A_INVIS = 8388608
+A_LEFT = 67108864
+A_LOW = 134217728
+A_NORMAL = 0
+A_PROTECT = 16777216
+A_REVERSE = 262144
+A_RIGHT = 268435456
+A_STANDOUT = 65536
+A_TOP = 536870912
+A_UNDERLINE = 131072
+A_VERTICAL = 1073741824
+BUTTON1_CLICKED = 4
+BUTTON1_DOUBLE_CLICKED = 8
+BUTTON1_PRESSED = 2
+BUTTON1_RELEASED = 1
+BUTTON1_TRIPLE_CLICKED = 16
+BUTTON2_CLICKED = 256
+BUTTON2_DOUBLE_CLICKED = 512
+BUTTON2_PRESSED = 128
+BUTTON2_RELEASED = 64
+BUTTON2_TRIPLE_CLICKED = 1024
+BUTTON3_CLICKED = 16384
+BUTTON3_DOUBLE_CLICKED = 32768
+BUTTON3_PRESSED = 8192
+BUTTON3_RELEASED = 4096
+BUTTON3_TRIPLE_CLICKED = 65536
+BUTTON4_CLICKED = 1048576
+BUTTON4_DOUBLE_CLICKED = 2097152
+BUTTON4_PRESSED = 524288
+BUTTON4_RELEASED = 262144
+BUTTON4_TRIPLE_CLICKED = 4194304
+BUTTON_ALT = 67108864
+BUTTON_CTRL = 16777216
+BUTTON_SHIFT = 33554432
+COLOR_BLACK = 0
+COLOR_BLUE = 4
+COLOR_CYAN = 6
+COLOR_GREEN = 2
+COLOR_MAGENTA = 5
+COLOR_RED = 1
+COLOR_WHITE = 7
+COLOR_YELLOW = 3
+ERR = -1
+KEY_A1 = 348
+KEY_A3 = 349
+KEY_B2 = 350
+KEY_BACKSPACE = 263
+KEY_BEG = 354
+KEY_BREAK = 257
+KEY_BTAB = 353
+KEY_C1 = 351
+KEY_C3 = 352
+KEY_CANCEL = 355
+KEY_CATAB = 342
+KEY_CLEAR = 333
+KEY_CLOSE = 356
+KEY_COMMAND = 357
+KEY_COPY = 358
+KEY_CREATE = 359
+KEY_CTAB = 341
+KEY_DC = 330
+KEY_DL = 328
+KEY_DOWN = 258
+KEY_EIC = 332
+KEY_END = 360
+KEY_ENTER = 343
+KEY_EOL = 335
+KEY_EOS = 334
+KEY_EXIT = 361
+KEY_F0 = 264
+KEY_F1 = 265
+KEY_F10 = 274
+KEY_F11 = 275
+KEY_F12 = 276
+KEY_F13 = 277
+KEY_F14 = 278
+KEY_F15 = 279
+KEY_F16 = 280
+KEY_F17 = 281
+KEY_F18 = 282
+KEY_F19 = 283
+KEY_F2 = 266
+KEY_F20 = 284
+KEY_F21 = 285
+KEY_F22 = 286
+KEY_F23 = 287
+KEY_F24 = 288
+KEY_F25 = 289
+KEY_F26 = 290
+KEY_F27 = 291
+KEY_F28 = 292
+KEY_F29 = 293
+KEY_F3 = 267
+KEY_F30 = 294
+KEY_F31 = 295
+KEY_F32 = 296
+KEY_F33 = 297
+KEY_F34 = 298
+KEY_F35 = 299
+KEY_F36 = 300
+KEY_F37 = 301
+KEY_F38 = 302
+KEY_F39 = 303
+KEY_F4 = 268
+KEY_F40 = 304
+KEY_F41 = 305
+KEY_F42 = 306
+KEY_F43 = 307
+KEY_F44 = 308
+KEY_F45 = 309
+KEY_F46 = 310
+KEY_F47 = 311
+KEY_F48 = 312
+KEY_F49 = 313
+KEY_F5 = 269
+KEY_F50 = 314
+KEY_F51 = 315
+KEY_F52 = 316
+KEY_F53 = 317
+KEY_F54 = 318
+KEY_F55 = 319
+KEY_F56 = 320
+KEY_F57 = 321
+KEY_F58 = 322
+KEY_F59 = 323
+KEY_F6 = 270
+KEY_F60 = 324
+KEY_F61 = 325
+KEY_F62 = 326
+KEY_F63 = 327
+KEY_F7 = 271
+KEY_F8 = 272
+KEY_F9 = 273
+KEY_FIND = 362
+KEY_HELP = 363
+KEY_HOME = 262
+KEY_IC = 331
+KEY_IL = 329
+KEY_LEFT = 260
+KEY_LL = 347
+KEY_MARK = 364
+KEY_MAX = 511
+KEY_MESSAGE = 365
+KEY_MIN = 257
+KEY_MOUSE = 409
+KEY_MOVE = 366
+KEY_NEXT = 367
+KEY_NPAGE = 338
+KEY_OPEN = 368
+KEY_OPTIONS = 369
+KEY_PPAGE = 339
+KEY_PREVIOUS = 370
+KEY_PRINT = 346
+KEY_REDO = 371
+KEY_REFERENCE = 372
+KEY_REFRESH = 373
+KEY_REPLACE = 374
+KEY_RESET = 345
+KEY_RESIZE = 410
+KEY_RESTART = 375
+KEY_RESUME = 376
+KEY_RIGHT = 261
+KEY_SAVE = 377
+KEY_SBEG = 378
+KEY_SCANCEL = 379
+KEY_SCOMMAND = 380
+KEY_SCOPY = 381
+KEY_SCREATE = 382
+KEY_SDC = 383
+KEY_SDL = 384
+KEY_SELECT = 385
+KEY_SEND = 386
+KEY_SEOL = 387
+KEY_SEXIT = 388
+KEY_SF = 336
+KEY_SFIND = 389
+KEY_SHELP = 390
+KEY_SHOME = 391
+KEY_SIC = 392
+KEY_SLEFT = 393
+KEY_SMESSAGE = 394
+KEY_SMOVE = 395
+KEY_SNEXT = 396
+KEY_SOPTIONS = 397
+KEY_SPREVIOUS = 398
+KEY_SPRINT = 399
+KEY_SR = 337
+KEY_SREDO = 400
+KEY_SREPLACE = 401
+KEY_SRESET = 344
+KEY_SRIGHT = 402
+KEY_SRSUME = 403
+KEY_SSAVE = 404
+KEY_SSUSPEND = 405
+KEY_STAB = 340
+KEY_SUNDO = 406
+KEY_SUSPEND = 407
+KEY_UNDO = 408
+KEY_UP = 259
+OK = 0
+REPORT_MOUSE_POSITION = 134217728
+__revision__ = '$Id: __init__.py 61083 2008-02-26 08:18:30Z christian.heimes $'
+version = b'2.2'
+ \ No newline at end of file diff --git a/doc/pydoc/make_doc.html b/doc/pydoc/make_doc.html new file mode 100644 index 00000000..fb04ba47 --- /dev/null +++ b/doc/pydoc/make_doc.html @@ -0,0 +1,26 @@ + +Python: module make_doc + + + + + +
 
+ 
make_doc
index
/home/hut/work/ranger/make_doc.py
+

Generate pydoc documentation and move it to the doc directory.
+THIS WILL DELETE ALL EXISTING HTML FILES IN THAT DIRECTORY, so don't
+store important content there.

+

+ + + + + +
 
+Modules
       
os
+
pydoc
+
sys
+
+ \ No newline at end of file diff --git a/doc/pydoc/os.html b/doc/pydoc/os.html new file mode 100644 index 00000000..fc746061 --- /dev/null +++ b/doc/pydoc/os.html @@ -0,0 +1,908 @@ + +Python: module os + + + + + +
 
+ 
os
index
/usr/lib/python3.1/os.py
Module Docs
+

OS routines for Mac, NT, or Posix depending on what system we're on.

+This exports:
+  - all functions from posix, nt, os2, or ce, e.g. unlink, stat, etc.
+  - os.path is either posixpath or ntpath
+  - os.name is either 'posix', 'nt', 'os2' or 'ce'.
+  - os.curdir is a string representing the current directory ('.' or ':')
+  - os.pardir is a string representing the parent directory ('..' or '::')
+  - os.sep is the (or a most common) pathname separator ('/' or ':' or '\\')
+  - os.extsep is the extension separator (always '.')
+  - os.altsep is the alternate pathname separator (None or '/')
+  - os.pathsep is the component separator used in $PATH etc
+  - os.linesep is the line separator in text files ('\r' or '\n' or '\r\n')
+  - os.defpath is the default search path for executables
+  - os.devnull is the file path of the null device ('/dev/null', etc.)

+Programs that import and use 'os' stand a better chance of being
+portable between different platforms.  Of course, they must then
+only use functions that are defined by all platforms (e.g., unlink
+and opendir), and leave all pathname manipulation to os.path
+(e.g., split and join).

+

+ + + + + +
 
+Modules
       
copyreg
+
errno
+
posixpath
+
sys
+

+ + + + + +
 
+Classes
       
+
builtins.EnvironmentError(builtins.Exception) +
+
+
builtins.OSError +
+
+
builtins.object +
+
+
posix.stat_result +
posix.statvfs_result +
+
+
+

+ + + + + + + +
 
+error = class OSError(EnvironmentError)
   OS system call failed.
 
 
Method resolution order:
+
OSError
+
EnvironmentError
+
Exception
+
BaseException
+
object
+
+
+Methods defined here:
+
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
+ +
+Data and other attributes defined here:
+
__new__ = <built-in method __new__ of type object at 0x7f327d94afc0>
T.__new__(S, ...) -> a new object with type S, a subtype of T
+ +
+Methods inherited from EnvironmentError:
+
__reduce__(...)
+ +
__str__(...)
x.__str__() <==> str(x)
+ +
+Data descriptors inherited from EnvironmentError:
+
errno
+
exception errno
+
+
filename
+
exception filename
+
+
strerror
+
exception strerror
+
+
+Methods inherited from BaseException:
+
__delattr__(...)
x.__delattr__('name') <==> del x.name
+ +
__getattribute__(...)
x.__getattribute__('name') <==> x.name
+ +
__repr__(...)
x.__repr__() <==> repr(x)
+ +
__setattr__(...)
x.__setattr__('name', value) <==> x.name = value
+ +
__setstate__(...)
+ +
with_traceback(...)
Exception.with_traceback(tb) --
+set self.__traceback__ to tb and return self.
+ +
+Data descriptors inherited from BaseException:
+
__cause__
+
exception cause
+
+
__context__
+
exception context
+
+
__dict__
+
+
__traceback__
+
+
args
+
+

+ + + + + + + +
 
+class stat_result(builtins.object)
   stat_result: Result from stat or lstat.

+This object may be accessed either as a tuple of
+  (mode, ino, dev, nlink, uid, gid, size, atime, mtime, ctime)
+or via the attributes st_mode, st_ino, st_dev, st_nlink, st_uid, and so on.

+Posix/windows: If your platform supports st_blksize, st_blocks, st_rdev,
+or st_flags, they are available as attributes only.

+See os.stat for more information.
 
 Methods defined here:
+
__add__(...)
x.__add__(y) <==> x+y
+ +
__contains__(...)
x.__contains__(y) <==> y in x
+ +
__eq__(...)
x.__eq__(y) <==> x==y
+ +
__ge__(...)
x.__ge__(y) <==> x>=y
+ +
__getitem__(...)
x.__getitem__(y) <==> x[y]
+ +
__gt__(...)
x.__gt__(y) <==> x>y
+ +
__hash__(...)
x.__hash__() <==> hash(x)
+ +
__le__(...)
x.__le__(y) <==> x<=y
+ +
__len__(...)
x.__len__() <==> len(x)
+ +
__lt__(...)
x.__lt__(y) <==> x<y
+ +
__mul__(...)
x.__mul__(n) <==> x*n
+ +
__ne__(...)
x.__ne__(y) <==> x!=y
+ +
__reduce__(...)
+ +
__repr__(...)
x.__repr__() <==> repr(x)
+ +
__rmul__(...)
x.__rmul__(n) <==> n*x
+ +
+Data descriptors defined here:
+
st_atime
+
time of last access
+
+
st_blksize
+
blocksize for filesystem I/O
+
+
st_blocks
+
number of blocks allocated
+
+
st_ctime
+
time of last change
+
+
st_dev
+
device
+
+
st_gid
+
group ID of owner
+
+
st_ino
+
inode
+
+
st_mode
+
protection bits
+
+
st_mtime
+
time of last modification
+
+
st_nlink
+
number of hard links
+
+
st_rdev
+
device type (if inode device)
+
+
st_size
+
total size, in bytes
+
+
st_uid
+
user ID of owner
+
+
+Data and other attributes defined here:
+
__new__ = <built-in method __new__ of type object at 0x7f327d99e840>
T.__new__(S, ...) -> a new object with type S, a subtype of T
+ +
n_fields = 16
+ +
n_sequence_fields = 10
+ +
n_unnamed_fields = 3
+ +

+ + + + + + + +
 
+class statvfs_result(builtins.object)
   statvfs_result: Result from statvfs or fstatvfs.

+This object may be accessed either as a tuple of
+  (bsize, frsize, blocks, bfree, bavail, files, ffree, favail, flag, namemax),
+or via the attributes f_bsize, f_frsize, f_blocks, f_bfree, and so on.

+See os.statvfs for more information.
 
 Methods defined here:
+
__add__(...)
x.__add__(y) <==> x+y
+ +
__contains__(...)
x.__contains__(y) <==> y in x
+ +
__eq__(...)
x.__eq__(y) <==> x==y
+ +
__ge__(...)
x.__ge__(y) <==> x>=y
+ +
__getitem__(...)
x.__getitem__(y) <==> x[y]
+ +
__gt__(...)
x.__gt__(y) <==> x>y
+ +
__hash__(...)
x.__hash__() <==> hash(x)
+ +
__le__(...)
x.__le__(y) <==> x<=y
+ +
__len__(...)
x.__len__() <==> len(x)
+ +
__lt__(...)
x.__lt__(y) <==> x<y
+ +
__mul__(...)
x.__mul__(n) <==> x*n
+ +
__ne__(...)
x.__ne__(y) <==> x!=y
+ +
__reduce__(...)
+ +
__repr__(...)
x.__repr__() <==> repr(x)
+ +
__rmul__(...)
x.__rmul__(n) <==> n*x
+ +
+Data descriptors defined here:
+
f_bavail
+
+
f_bfree
+
+
f_blocks
+
+
f_bsize
+
+
f_favail
+
+
f_ffree
+
+
f_files
+
+
f_flag
+
+
f_frsize
+
+
f_namemax
+
+
+Data and other attributes defined here:
+
__new__ = <built-in method __new__ of type object at 0x7f327d99e9e0>
T.__new__(S, ...) -> a new object with type S, a subtype of T
+ +
n_fields = 10
+ +
n_sequence_fields = 10
+ +
n_unnamed_fields = 0
+ +

+ + + + + +
 
+Functions
       
WCOREDUMP(...)
WCOREDUMP(status) -> bool

+Return True if the process returning 'status' was dumped to a core file.
+
WEXITSTATUS(...)
WEXITSTATUS(status) -> integer

+Return the process return code from 'status'.
+
WIFCONTINUED(...)
WIFCONTINUED(status) -> bool

+Return True if the process returning 'status' was continued from a
+job control stop.
+
WIFEXITED(...)
WIFEXITED(status) -> bool

+Return true if the process returning 'status' exited using the exit()
+system call.
+
WIFSIGNALED(...)
WIFSIGNALED(status) -> bool

+Return True if the process returning 'status' was terminated by a signal.
+
WIFSTOPPED(...)
WIFSTOPPED(status) -> bool

+Return True if the process returning 'status' was stopped.
+
WSTOPSIG(...)
WSTOPSIG(status) -> integer

+Return the signal that stopped the process that provided
+the 'status' value.
+
WTERMSIG(...)
WTERMSIG(status) -> integer

+Return the signal that terminated the process that provided the 'status'
+value.
+
abort(...)
abort() -> does not return!

+Abort the interpreter immediately.  This 'dumps core' or otherwise fails
+in the hardest way possible on the hosting operating system.
+
access(...)
access(path, mode) -> True if granted, False otherwise

+Use the real uid/gid to test for access to a path.  Note that most
+operations will use the effective uid/gid, therefore this routine can
+be used in a suid/sgid environment to test if the invoking user has the
+specified access to the path.  The mode argument can be F_OK to test
+existence, or the inclusive-OR of R_OK, W_OK, and X_OK.
+
chdir(...)
chdir(path)

+Change the current working directory to the specified path.
+
chmod(...)
chmod(path, mode)

+Change the access permissions of a file.
+
chown(...)
chown(path, uid, gid)

+Change the owner and group id of path to the numeric uid and gid.
+
chroot(...)
chroot(path)

+Change root directory to path.
+
close(...)
close(fd)

+Close a file descriptor (for low level IO).
+
closerange(...)
closerange(fd_low, fd_high)

+Closes all file descriptors in [fd_low, fd_high), ignoring errors.
+
confstr(...)
confstr(name) -> string

+Return a string-valued system configuration variable.
+
ctermid(...)
ctermid() -> string

+Return the name of the controlling terminal for this process.
+
device_encoding(...)
device_encoding(fd) -> str

+Return a string describing the encoding of the device
+if the output is a terminal; else return None.
+
dup(...)
dup(fd) -> fd2

+Return a duplicate of a file descriptor.
+
dup2(...)
dup2(old_fd, new_fd)

+Duplicate file descriptor.
+
execl(file, *args)
execl(file, *args)

+Execute the executable file with argument list args, replacing the
+current process.
+
execle(file, *args)
execle(file, *args, env)

+Execute the executable file with argument list args and
+environment env, replacing the current process.
+
execlp(file, *args)
execlp(file, *args)

+Execute the executable file (which is searched for along $PATH)
+with argument list args, replacing the current process.
+
execlpe(file, *args)
execlpe(file, *args, env)

+Execute the executable file (which is searched for along $PATH)
+with argument list args and environment env, replacing the current
+process.
+
execv(...)
execv(path, args)

+Execute an executable path with arguments, replacing current process.

+        path: path of executable file
+        args: tuple or list of strings
+
execve(...)
execve(path, args, env)

+Execute a path with arguments and environment, replacing current process.

+        path: path of executable file
+        args: tuple or list of arguments
+        env: dictionary of strings mapping to strings
+
execvp(file, args)
execp(file, args)

+Execute the executable file (which is searched for along $PATH)
+with argument list args, replacing the current process.
+args may be a list or tuple of strings.
+
execvpe(file, args, env)
execvpe(file, args, env)

+Execute the executable file (which is searched for along $PATH)
+with argument list args and environment env , replacing the
+current process.
+args may be a list or tuple of strings.
+
fchdir(...)
fchdir(fildes)

+Change to the directory of the given file descriptor.  fildes must be
+opened on a directory, not a file.
+
fchmod(...)
fchmod(fd, mode)

+Change the access permissions of the file given by file
+descriptor fd.
+
fchown(...)
fchown(fd, uid, gid)

+Change the owner and group id of the file given by file descriptor
+fd to the numeric uid and gid.
+
fdatasync(...)
fdatasync(fildes)

+force write of file with filedescriptor to disk.
+ does not force update of metadata.
+
fork(...)
fork() -> pid

+Fork a child process.
+Return 0 to child process and PID of child to parent process.
+
forkpty(...)
forkpty() -> (pid, master_fd)

+Fork a new process with a new pseudo-terminal as controlling tty.

+Like fork(), return 0 as pid to child process, and PID of child to parent.
+To both, return fd of newly opened pseudo-terminal.
+
fpathconf(...)
fpathconf(fd, name) -> integer

+Return the configuration limit name for the file descriptor fd.
+If there is no limit, return -1.
+
fstat(...)
fstat(fd) -> stat result

+Like stat(), but for an open file descriptor.
+
fstatvfs(...)
fstatvfs(fd) -> statvfs result

+Perform an fstatvfs system call on the given fd.
+
fsync(...)
fsync(fildes)

+force write of file with filedescriptor to disk.
+
ftruncate(...)
ftruncate(fd, length)

+Truncate a file to a specified length.
+
getcwd(...)
getcwd() -> path

+Return a unicode string representing the current working directory.
+
getcwdb(...)
getcwdb() -> path

+Return a bytes string representing the current working directory.
+
getegid(...)
getegid() -> egid

+Return the current process's effective group id.
+
getenv(key, default=None)
Get an environment variable, return None if it doesn't exist.
+The optional second argument can specify an alternate default.
+
geteuid(...)
geteuid() -> euid

+Return the current process's effective user id.
+
getgid(...)
getgid() -> gid

+Return the current process's group id.
+
getgroups(...)
getgroups() -> list of group IDs

+Return list of supplemental group IDs for the process.
+
getloadavg(...)
getloadavg() -> (float, float, float)

+Return the number of processes in the system run queue averaged over
+the last 1, 5, and 15 minutes or raises OSError if the load average
+was unobtainable
+
getlogin(...)
getlogin() -> string

+Return the actual login name.
+
getpgid(...)
getpgid(pid) -> pgid

+Call the system call getpgid().
+
getpgrp(...)
getpgrp() -> pgrp

+Return the current process group id.
+
getpid(...)
getpid() -> pid

+Return the current process id
+
getppid(...)
getppid() -> ppid

+Return the parent's process id.
+
getsid(...)
getsid(pid) -> sid

+Call the system call getsid().
+
getuid(...)
getuid() -> uid

+Return the current process's user id.
+
isatty(...)
isatty(fd) -> bool

+Return True if the file descriptor 'fd' is an open file descriptor
+connected to the slave end of a terminal.
+
kill(...)
kill(pid, sig)

+Kill a process with a signal.
+
killpg(...)
killpg(pgid, sig)

+Kill a process group with a signal.
+
lchown(...)
lchown(path, uid, gid)

+Change the owner and group id of path to the numeric uid and gid.
+This function will not follow symbolic links.
+
link(...)
link(src, dst)

+Create a hard link to a file.
+
listdir(...)
listdir(path) -> list_of_strings

+Return a list containing the names of the entries in the directory.

+        path: path of directory to list

+The list is in arbitrary order.  It does not include the special
+entries '.' and '..' even if they are present in the directory.
+
lseek(...)
lseek(fd, pos, how) -> newpos

+Set the current position of a file descriptor.
+
lstat(...)
lstat(path) -> stat result

+Like stat(path), but do not follow symbolic links.
+
major(...)
major(device) -> major number
+Extracts a device major number from a raw device number.
+
makedev(...)
makedev(major, minor) -> device number
+Composes a raw device number from the major and minor device numbers.
+
makedirs(name, mode=511)
makedirs(path [, mode=0o777])

+Super-mkdir; create a leaf directory and all intermediate ones.
+Works like mkdir, except that any intermediate path segment (not
+just the rightmost) will be created if it does not exist.  This is
+recursive.
+
minor(...)
minor(device) -> minor number
+Extracts a device minor number from a raw device number.
+
mkdir(...)
mkdir(path [, mode=0777])

+Create a directory.
+
mkfifo(...)
mkfifo(filename [, mode=0666])

+Create a FIFO (a POSIX named pipe).
+
mknod(...)
mknod(filename [, mode=0600, device])

+Create a filesystem node (file, device special file or named pipe)
+named filename. mode specifies both the permissions to use and the
+type of node to be created, being combined (bitwise OR) with one of
+S_IFREG, S_IFCHR, S_IFBLK, and S_IFIFO. For S_IFCHR and S_IFBLK,
+device defines the newly created device special file (probably using
+os.makedev()), otherwise it is ignored.
+
nice(...)
nice(inc) -> new_priority

+Decrease the priority of process by inc and return the new priority.
+
open(...)
open(filename, flag [, mode=0777]) -> fd

+Open a file (for low level IO).
+
openpty(...)
openpty() -> (master_fd, slave_fd)

+Open a pseudo-terminal, returning open fd's for both master and slave end.
+
pathconf(...)
pathconf(path, name) -> integer

+Return the configuration limit name for the file or directory path.
+If there is no limit, return -1.
+
pipe(...)
pipe() -> (read_end, write_end)

+Create a pipe.
+
putenv(...)
putenv(key, value)

+Change or add an environment variable.
+
read(...)
read(fd, buffersize) -> string

+Read a file descriptor.
+
readlink(...)
readlink(path) -> path

+Return a string representing the path to which the symbolic link points.
+
remove(...)
remove(path)

+Remove a file (same as unlink(path)).
+
removedirs(name)
removedirs(path)

+Super-rmdir; remove a leaf directory and all empty intermediate
+ones.  Works like rmdir except that, if the leaf directory is
+successfully removed, directories corresponding to rightmost path
+segments will be pruned away until either the whole path is
+consumed or an error occurs.  Errors during this latter phase are
+ignored -- they generally mean that a directory was not empty.
+
rename(...)
rename(old, new)

+Rename a file or directory.
+
renames(old, new)
renames(old, new)

+Super-rename; create directories as necessary and delete any left
+empty.  Works like rename, except creation of any intermediate
+directories needed to make the new pathname good is attempted
+first.  After the rename, directories corresponding to rightmost
+path segments of the old name will be pruned way until either the
+whole path is consumed or a nonempty directory is found.

+Note: this function can fail with the new directory structure made
+if you lack permissions needed to unlink the leaf directory or
+file.
+
rmdir(...)
rmdir(path)

+Remove a directory.
+
setegid(...)
setegid(gid)

+Set the current process's effective group id.
+
seteuid(...)
seteuid(uid)

+Set the current process's effective user id.
+
setgid(...)
setgid(gid)

+Set the current process's group id.
+
setgroups(...)
setgroups(list)

+Set the groups of the current process to list.
+
setpgid(...)
setpgid(pid, pgrp)

+Call the system call setpgid().
+
setpgrp(...)
setpgrp()

+Make this process a session leader.
+
setregid(...)
setregid(rgid, egid)

+Set the current process's real and effective group ids.
+
setreuid(...)
setreuid(ruid, euid)

+Set the current process's real and effective user ids.
+
setsid(...)
setsid()

+Call the system call setsid().
+
setuid(...)
setuid(uid)

+Set the current process's user id.
+
spawnl(mode, file, *args)
spawnl(mode, file, *args) -> integer

+Execute file with arguments from args in a subprocess.
+If mode == P_NOWAIT return the pid of the process.
+If mode == P_WAIT return the process's exit code if it exits normally;
+otherwise return -SIG, where SIG is the signal that killed it.
+
spawnle(mode, file, *args)
spawnle(mode, file, *args, env) -> integer

+Execute file with arguments from args in a subprocess with the
+supplied environment.
+If mode == P_NOWAIT return the pid of the process.
+If mode == P_WAIT return the process's exit code if it exits normally;
+otherwise return -SIG, where SIG is the signal that killed it.
+
spawnlp(mode, file, *args)
spawnlp(mode, file, *args) -> integer

+Execute file (which is looked for along $PATH) with arguments from
+args in a subprocess with the supplied environment.
+If mode == P_NOWAIT return the pid of the process.
+If mode == P_WAIT return the process's exit code if it exits normally;
+otherwise return -SIG, where SIG is the signal that killed it.
+
spawnlpe(mode, file, *args)
spawnlpe(mode, file, *args, env) -> integer

+Execute file (which is looked for along $PATH) with arguments from
+args in a subprocess with the supplied environment.
+If mode == P_NOWAIT return the pid of the process.
+If mode == P_WAIT return the process's exit code if it exits normally;
+otherwise return -SIG, where SIG is the signal that killed it.
+
spawnv(mode, file, args)
spawnv(mode, file, args) -> integer

+Execute file with arguments from args in a subprocess.
+If mode == P_NOWAIT return the pid of the process.
+If mode == P_WAIT return the process's exit code if it exits normally;
+otherwise return -SIG, where SIG is the signal that killed it.
+
spawnve(mode, file, args, env)
spawnve(mode, file, args, env) -> integer

+Execute file with arguments from args in a subprocess with the
+specified environment.
+If mode == P_NOWAIT return the pid of the process.
+If mode == P_WAIT return the process's exit code if it exits normally;
+otherwise return -SIG, where SIG is the signal that killed it.
+
spawnvp(mode, file, args)
spawnvp(mode, file, args) -> integer

+Execute file (which is looked for along $PATH) with arguments from
+args in a subprocess.
+If mode == P_NOWAIT return the pid of the process.
+If mode == P_WAIT return the process's exit code if it exits normally;
+otherwise return -SIG, where SIG is the signal that killed it.
+
spawnvpe(mode, file, args, env)
spawnvpe(mode, file, args, env) -> integer

+Execute file (which is looked for along $PATH) with arguments from
+args in a subprocess with the supplied environment.
+If mode == P_NOWAIT return the pid of the process.
+If mode == P_WAIT return the process's exit code if it exits normally;
+otherwise return -SIG, where SIG is the signal that killed it.
+
stat(...)
stat(path) -> stat result

+Perform a stat system call on the given path.
+
stat_float_times(...)
stat_float_times([newval]) -> oldval

+Determine whether os.[lf]stat represents time stamps as float objects.
+If newval is True, future calls to stat() return floats, if it is False,
+future calls return ints. 
+If newval is omitted, return the current setting.
+
statvfs(...)
statvfs(path) -> statvfs result

+Perform a statvfs system call on the given path.
+
strerror(...)
strerror(code) -> string

+Translate an error code to a message string.
+
symlink(...)
symlink(src, dst)

+Create a symbolic link pointing to src named dst.
+
sysconf(...)
sysconf(name) -> integer

+Return an integer-valued system configuration variable.
+
system(...)
system(command) -> exit_status

+Execute the command (a string) in a subshell.
+
tcgetpgrp(...)
tcgetpgrp(fd) -> pgid

+Return the process group associated with the terminal given by a fd.
+
tcsetpgrp(...)
tcsetpgrp(fd, pgid)

+Set the process group associated with the terminal given by a fd.
+
times(...)
times() -> (utime, stime, cutime, cstime, elapsed_time)

+Return a tuple of floating point numbers indicating process times.
+
ttyname(...)
ttyname(fd) -> string

+Return the name of the terminal device connected to 'fd'.
+
umask(...)
umask(new_mask) -> old_mask

+Set the current numeric umask and return the previous umask.
+
uname(...)
uname() -> (sysname, nodename, release, version, machine)

+Return a tuple identifying the current operating system.
+
unlink(...)
unlink(path)

+Remove a file (same as remove(path)).
+
unsetenv(...)
unsetenv(key)

+Delete an environment variable.
+
utime(...)
utime(path, (atime, mtime))
+utime(path, None)

+Set the access and modified time of the file to the given values.  If the
+second form is used, set the access and modified times to the current time.
+
wait(...)
wait() -> (pid, status)

+Wait for completion of a child process.
+
wait3(...)
wait3(options) -> (pid, status, rusage)

+Wait for completion of a child process.
+
wait4(...)
wait4(pid, options) -> (pid, status, rusage)

+Wait for completion of a given child process.
+
waitpid(...)
waitpid(pid, options) -> (pid, status)

+Wait for completion of a given child process.
+
walk(top, topdown=True, onerror=None, followlinks=False)
Directory tree generator.

+For each directory in the directory tree rooted at top (including top
+itself, but excluding '.' and '..'), yields a 3-tuple

+    dirpath, dirnames, filenames

+dirpath is a string, the path to the directory.  dirnames is a list of
+the names of the subdirectories in dirpath (excluding '.' and '..').
+filenames is a list of the names of the non-directory files in dirpath.
+Note that the names in the lists are just names, with no path components.
+To get a full path (which begins with top) to a file or directory in
+dirpath, do os.path.join(dirpath, name).

+If optional arg 'topdown' is true or not specified, the triple for a
+directory is generated before the triples for any of its subdirectories
+(directories are generated top down).  If topdown is false, the triple
+for a directory is generated after the triples for all of its
+subdirectories (directories are generated bottom up).

+When topdown is true, the caller can modify the dirnames list in-place
+(e.g., via del or slice assignment), and walk will only recurse into the
+subdirectories whose names remain in dirnames; this can be used to prune
+the search, or to impose a specific order of visiting.  Modifying
+dirnames when topdown is false is ineffective, since the directories in
+dirnames have already been generated by the time dirnames itself is
+generated.

+By default errors from the os.listdir() call are ignored.  If
+optional arg 'onerror' is specified, it should be a function; it
+will be called with one argument, an os.error instance.  It can
+report the error to continue with the walk, or raise the exception
+to abort the walk.  Note that the filename is available as the
+filename attribute of the exception object.

+By default, os.walk does not follow symbolic links to subdirectories on
+systems that support them.  In order to get this functionality, set the
+optional argument 'followlinks' to true.

+Caution:  if you pass a relative pathname for top, don't change the
+current working directory between resumptions of walk.  walk never
+changes the current directory, and assumes that the client doesn't
+either.

+Example:

+import os
+from os.path import join, getsize
+for root, dirs, files in os.walk('python/Lib/email'):
+    print(root, "consumes", end="")
+    print(sum([getsize(join(root, name)) for name in files]), end="")
+    print("bytes in", len(files), "non-directory files")
+    if 'CVS' in dirs:
+        dirs.remove('CVS')  # don't visit CVS directories
+
write(...)
write(fd, string) -> byteswritten

+Write a string to a file descriptor.
+

+ + + + + +
 
+Data
       EX_CANTCREAT = 73
+EX_CONFIG = 78
+EX_DATAERR = 65
+EX_IOERR = 74
+EX_NOHOST = 68
+EX_NOINPUT = 66
+EX_NOPERM = 77
+EX_NOUSER = 67
+EX_OK = 0
+EX_OSERR = 71
+EX_OSFILE = 72
+EX_PROTOCOL = 76
+EX_SOFTWARE = 70
+EX_TEMPFAIL = 75
+EX_UNAVAILABLE = 69
+EX_USAGE = 64
+F_OK = 0
+NGROUPS_MAX = 65536
+O_APPEND = 1024
+O_ASYNC = 8192
+O_CREAT = 64
+O_DIRECT = 16384
+O_DIRECTORY = 65536
+O_DSYNC = 4096
+O_EXCL = 128
+O_LARGEFILE = 0
+O_NDELAY = 2048
+O_NOATIME = 262144
+O_NOCTTY = 256
+O_NOFOLLOW = 131072
+O_NONBLOCK = 2048
+O_RDONLY = 0
+O_RDWR = 2
+O_RSYNC = 4096
+O_SYNC = 4096
+O_TRUNC = 512
+O_WRONLY = 1
+R_OK = 4
+SEEK_CUR = 1
+SEEK_END = 2
+SEEK_SET = 0
+TMP_MAX = 238328
+WCONTINUED = 8
+WNOHANG = 1
+WUNTRACED = 2
+W_OK = 2
+X_OK = 1
+__all__ = ['altsep', 'curdir', 'pardir', 'sep', 'pathsep', 'linesep', 'defpath', 'name', 'path', 'devnull', 'SEEK_SET', 'SEEK_CUR', 'SEEK_END', 'EX_CANTCREAT', 'EX_CONFIG', 'EX_DATAERR', 'EX_IOERR', 'EX_NOHOST', 'EX_NOINPUT', 'EX_NOPERM', ...]
+altsep = None
+confstr_names = {'CS_LFS64_CFLAGS': 1004, 'CS_LFS64_LDFLAGS': 1005, 'CS_LFS64_LIBS': 1006, 'CS_LFS64_LINTFLAGS': 1007, 'CS_LFS_CFLAGS': 1000, 'CS_LFS_LDFLAGS': 1001, 'CS_LFS_LIBS': 1002, 'CS_LFS_LINTFLAGS': 1003, 'CS_PATH': 0, 'CS_XBS5_ILP32_OFF32_CFLAGS': 1100, ...}
+curdir = '.'
+defpath = ':/bin:/usr/bin'
+devnull = '/dev/null'
+environ = <os._Environ object at 0x7f327c987e50>
+linesep = '\n'
+name = 'posix'
+pardir = '..'
+pathconf_names = {'PC_ASYNC_IO': 10, 'PC_CHOWN_RESTRICTED': 6, 'PC_FILESIZEBITS': 13, 'PC_LINK_MAX': 0, 'PC_MAX_CANON': 1, 'PC_MAX_INPUT': 2, 'PC_NAME_MAX': 3, 'PC_NO_TRUNC': 7, 'PC_PATH_MAX': 4, 'PC_PIPE_BUF': 5, ...}
+pathsep = ':'
+sep = '/'
+sysconf_names = {'SC_2_CHAR_TERM': 95, 'SC_2_C_BIND': 47, 'SC_2_C_DEV': 48, 'SC_2_C_VERSION': 96, 'SC_2_FORT_DEV': 49, 'SC_2_FORT_RUN': 50, 'SC_2_LOCALEDEF': 52, 'SC_2_SW_DEV': 51, 'SC_2_UPE': 97, 'SC_2_VERSION': 46, ...}
+ \ No newline at end of file diff --git a/doc/pydoc/os.path.html b/doc/pydoc/os.path.html new file mode 100644 index 00000000..a5b893f5 --- /dev/null +++ b/doc/pydoc/os.path.html @@ -0,0 +1,95 @@ + +Python: module posixpath + + + + + +
 
+ 
posixpath
index
/usr/lib/python3.1/posixpath.py
Module Docs
+

Common operations on Posix pathnames.

+Instead of importing this module directly, import os and refer to
+this module as os.path.  The "os.path" name is an alias for this
+module on Posix systems; on other systems (e.g. Mac, Windows),
+os.path provides the same operations in a manner specific to that
+platform, and is an alias to another module (e.g. macpath, ntpath).

+Some of this can actually be useful on non-Posix systems too, e.g.
+for manipulation of the pathname component of URLs.

+

+ + + + + +
 
+Modules
       
genericpath
+
os
+
stat
+
sys
+

+ + + + + +
 
+Functions
       
abspath(path)
Return an absolute path.
+
basename(p)
Returns the final component of a pathname
+
commonprefix(m)
Given a list of pathnames, returns the longest common leading component
+
dirname(p)
Returns the directory component of a pathname
+
exists(path)
Test whether a path exists.  Returns False for broken symbolic links
+
expanduser(path)
Expand ~ and ~user constructions.  If user or $HOME is unknown,
+do nothing.
+
expandvars(path)
Expand shell variables of form $var and ${var}.  Unknown variables
+are left unchanged.
+
getatime(filename)
Return the last access time of a file, reported by os.stat().
+
getctime(filename)
Return the metadata change time of a file, reported by os.stat().
+
getmtime(filename)
Return the last modification time of a file, reported by os.stat().
+
getsize(filename)
Return the size of a file, reported by os.stat().
+
isabs(s)
Test whether a path is absolute
+
isdir(s)
Return true if the pathname refers to an existing directory.
+
isfile(path)
Test whether a path is a regular file
+
islink(path)
Test whether a path is a symbolic link
+
ismount(path)
Test whether a path is a mount point
+
join(a, *p)
Join two or more pathname components, inserting '/' as needed.
+If any component is an absolute path, all previous path components
+will be discarded.
+
lexists(path)
Test whether a path exists.  Returns True for broken symbolic links
+
normcase(s)
Normalize case of pathname.  Has no effect under Posix
+
normpath(path)
Normalize path, eliminating double slashes, etc.
+
realpath(filename)
Return the canonical path of the specified filename, eliminating any
+symbolic links encountered in the path.
+
relpath(path, start=None)
Return a relative version of a path
+
samefile(f1, f2)
Test whether two pathnames reference the same actual file
+
sameopenfile(fp1, fp2)
Test whether two open file objects reference the same file
+
samestat(s1, s2)
Test whether two stat buffers reference the same file
+
split(p)
Split a pathname.  Returns tuple "(head, tail)" where "tail" is
+everything after the final slash.  Either part may be empty.
+
splitdrive(p)
Split a pathname into drive and path. On Posix, drive is always
+empty.
+
splitext(p)
Split the extension from a pathname.

+Extension is everything from the last dot to the end, ignoring
+leading dots.  Returns "(root, ext)"; ext may be empty.
+

+ + + + + +
 
+Data
       __all__ = ['normcase', 'isabs', 'join', 'splitdrive', 'split', 'splitext', 'basename', 'dirname', 'commonprefix', 'getsize', 'getmtime', 'getatime', 'getctime', 'islink', 'exists', 'lexists', 'isdir', 'isfile', 'ismount', 'expanduser', ...]
+altsep = None
+curdir = '.'
+defpath = ':/bin:/usr/bin'
+devnull = '/dev/null'
+extsep = '.'
+pardir = '..'
+pathsep = ':'
+sep = '/'
+supports_unicode_filenames = False
+ \ No newline at end of file diff --git a/doc/pydoc/ranger.actions.html b/doc/pydoc/ranger.actions.html new file mode 100644 index 00000000..4d700dc7 --- /dev/null +++ b/doc/pydoc/ranger.actions.html @@ -0,0 +1,155 @@ + +Python: module ranger.actions + + + + + +
 
+ 
ranger.actions
index
/home/hut/work/ranger/ranger/actions.py
+

+

+ + + + + +
 
+Modules
       
ranger.fsobject
+
os
+
shutil
+

+ + + + + +
 
+Classes
       
+
ranger.shared.EnvironmentAware(ranger.shared.Awareness) +
+
+
Actions(ranger.shared.EnvironmentAware, ranger.shared.settings.SettingsAware) +
+
+
ranger.shared.settings.SettingsAware(builtins.object) +
+
+
Actions(ranger.shared.EnvironmentAware, ranger.shared.settings.SettingsAware) +
+
+
+

+ + + + + +
 
+class Actions(ranger.shared.EnvironmentAware, ranger.shared.settings.SettingsAware)
    
Method resolution order:
+
Actions
+
ranger.shared.EnvironmentAware
+
ranger.shared.Awareness
+
ranger.shared.settings.SettingsAware
+
builtins.object
+
+
+Methods defined here:
+
cd = enter_dir(self, path)
+ +
copy(self)
Copy the selected items
+ +
cut(self)
+ +
delete(self)
+ +
edit_file(self)
Calls execute_file with the current file and app='editor'
+ +
enter_bookmark(self, key)
Enter the bookmark with the name <key>
+ +
enter_dir(self, path)
Enter the directory at the given path
+ +
execute_file(self, files, app='', flags='', mode=0)
Execute a file.
+app is the name of a method in Applications, without the "app_"
+flags is a string consisting of applications.ALLOWED_FLAGS
+mode is a positive integer.
+Both flags and mode specify how the program is run.
+ +
exit(self)
Exit the program
+ +
force_load_preview(self)
+ +
handle_mouse(self)
Handle mouse-buttons if one was pressed
+ +
history_go(self, relative)
Move back and forth in the history
+ +
interrupt(self)
Waits a short time.
+If CTRL+C is pressed while waiting, the program will be exited.
+ +
mark(self, all=False, toggle=False, val=None, movedown=None)
A wrapper for the directory.mark_xyz functions.

+Arguments:
+all - change all files of the current directory at once?
+toggle - toggle the marked-status?
+val - mark or unmark?
+ +
mkdir(self, name)
+ +
move_left(self, n=1)
Enter the parent directory
+ +
move_pointer(self, relative=0, absolute=None)
Move the pointer down by <relative> or to <absolute>
+ +
move_pointer_by_pages(self, relative)
Move the pointer down by <relative> pages
+ +
move_pointer_by_percentage(self, relative=0, absolute=None)
Move the pointer down by <relative>% or to <absolute>%
+ +
move_right(self, mode=0)
Enter the current directory or execute the current file
+ +
notify(self, text, duration=4, bad=False)
+ +
open_console(self, mode=':', string='')
Open the console if the current UI supports that
+ +
paste(self)
Paste the selected items into the current directory
+ +
redraw_window(self)
Redraw the window
+ +
reset(self)
Reset the filemanager, clearing the directory buffer
+ +
resize(self)
Update the size of the UI
+ +
scroll(self, relative)
Scroll down by <relative> lines
+ +
search_backward(self)
Search backward for the regexp in self.env.last_search
+ +
search_forward(self)
Search forward for the regexp in self.env.last_search
+ +
set_bookmark(self, key)
Set the bookmark with the name <key> to the current directory
+ +
sort(self, func=None, reverse=None)
+ +
spawn(self, command)
+ +
toggle_boolean_option(self, string)
Toggle a boolean option named <string>
+ +
unset_bookmark(self, key)
Delete the bookmark with the name <key>
+ +
+Data and other attributes inherited from ranger.shared.EnvironmentAware:
+
env = None
+ +
+Data descriptors inherited from ranger.shared.Awareness:
+
__dict__
+
dictionary for instance variables (if defined)
+
+
__weakref__
+
list of weak references to the object (if defined)
+
+
+Data and other attributes inherited from ranger.shared.settings.SettingsAware:
+
settings = <ranger.ext.openstruct.OpenStruct object at 0x154e450>
+ +

+ \ No newline at end of file diff --git a/doc/pydoc/ranger.applications.html b/doc/pydoc/ranger.applications.html new file mode 100644 index 00000000..822ec412 --- /dev/null +++ b/doc/pydoc/ranger.applications.html @@ -0,0 +1,77 @@ + +Python: module ranger.applications + + + + + +
 
+ 
ranger.applications
index
/home/hut/work/ranger/ranger/applications.py
+

+

+ + + + + +
 
+Modules
       
os
+
sys
+

+ + + + + +
 
+Classes
       
+
builtins.object +
+
+
Applications +
+
+
+

+ + + + + +
 
+class Applications(builtins.object)
    Methods defined here:
+
all(self)
Returns a list with all application functions
+ +
get(self, app)
Looks for an application, returns app_default if it doesn't exist
+ +
has(self, app)
Returns whether an application is defined
+ +
+Data descriptors defined here:
+
__dict__
+
dictionary for instance variables (if defined)
+
+
__weakref__
+
list of weak references to the object (if defined)
+
+

+ + + + + +
 
+Functions
       
run(*args, **kw)
Run files with the specified parameters
+
spawn(command, fm=None, suspend=True, wait=True)
+

+ + + + + +
 
+Data
       ALLOWED_FLAGS = 'sdpSDP'
+null = <_io.TextIOWrapper name='/dev/null' encoding='UTF-8'>
+ \ No newline at end of file diff --git a/doc/pydoc/ranger.colorschemes.default.html b/doc/pydoc/ranger.colorschemes.default.html new file mode 100644 index 00000000..815d3229 --- /dev/null +++ b/doc/pydoc/ranger.colorschemes.default.html @@ -0,0 +1,91 @@ + +Python: module ranger.colorschemes.default + + + + + +
 
+ 
ranger.colorschemes.default
index
/home/hut/work/ranger/ranger/colorschemes/default.py
+

+

+ + + + + +
 
+Modules
       
curses
+

+ + + + + +
 
+Classes
       
+
ranger.gui.colorscheme.ColorScheme(builtins.object) +
+
+
Default +
+
+
+

+ + + + + +
 
+class Default(ranger.gui.colorscheme.ColorScheme)
    
Method resolution order:
+
Default
+
ranger.gui.colorscheme.ColorScheme
+
builtins.object
+
+
+Methods defined here:
+
use(self, context)
+ +
+Methods inherited from ranger.gui.colorscheme.ColorScheme:
+
__init__(self)
+ +
get(self, *keys)
Determine the (fg, bg, attr) tuple or get it from cache
+ +
get_attr(self, *keys)
Returns the curses attr integer for the specified keys
+ +
+Data descriptors inherited from ranger.gui.colorscheme.ColorScheme:
+
__dict__
+
dictionary for instance variables (if defined)
+
+
__weakref__
+
list of weak references to the object (if defined)
+
+

+ + + + + +
 
+Data
       COLOR_PAIRS = {10: 0}
+black = 0
+blue = 4
+bold = 2097152
+cyan = 6
+default = -1
+default_colors = (-1, -1, 0)
+green = 2
+invisible = 8388608
+magenta = 5
+normal = 0
+red = 1
+reverse = 262144
+underline = 131072
+white = 7
+yellow = 3
+ \ No newline at end of file diff --git a/doc/pydoc/ranger.colorschemes.html b/doc/pydoc/ranger.colorschemes.html new file mode 100644 index 00000000..362bcb80 --- /dev/null +++ b/doc/pydoc/ranger.colorschemes.html @@ -0,0 +1,32 @@ + +Python: package ranger.colorschemes + + + + + +
 
+ 
ranger.colorschemes
index
/home/hut/work/ranger/ranger/colorschemes/__init__.py
+

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

+

+ + + + + +
 
+Package Contents
       
default
+
jungle
+
snow
+

+ + + + + +
 
+Data
       __all__ = ['jungle', 'default', 'snow']
+ \ No newline at end of file diff --git a/doc/pydoc/ranger.colorschemes.jungle.html b/doc/pydoc/ranger.colorschemes.jungle.html new file mode 100644 index 00000000..1febea96 --- /dev/null +++ b/doc/pydoc/ranger.colorschemes.jungle.html @@ -0,0 +1,91 @@ + +Python: module ranger.colorschemes.jungle + + + + + +
 
+ 
ranger.colorschemes.jungle
index
/home/hut/work/ranger/ranger/colorschemes/jungle.py
+

+

+ + + + + +
 
+Modules
       
curses
+

+ + + + + +
 
+Classes
       
+
ranger.gui.colorscheme.ColorScheme(builtins.object) +
+
+
Default +
+
+
+

+ + + + + +
 
+class Default(ranger.gui.colorscheme.ColorScheme)
    
Method resolution order:
+
Default
+
ranger.gui.colorscheme.ColorScheme
+
builtins.object
+
+
+Methods defined here:
+
use(self, context)
+ +
+Methods inherited from ranger.gui.colorscheme.ColorScheme:
+
__init__(self)
+ +
get(self, *keys)
Determine the (fg, bg, attr) tuple or get it from cache
+ +
get_attr(self, *keys)
Returns the curses attr integer for the specified keys
+ +
+Data descriptors inherited from ranger.gui.colorscheme.ColorScheme:
+
__dict__
+
dictionary for instance variables (if defined)
+
+
__weakref__
+
list of weak references to the object (if defined)
+
+

+ + + + + +
 
+Data
       COLOR_PAIRS = {10: 0}
+black = 0
+blue = 4
+bold = 2097152
+cyan = 6
+default = -1
+default_colors = (-1, -1, 0)
+green = 2
+invisible = 8388608
+magenta = 5
+normal = 0
+red = 1
+reverse = 262144
+underline = 131072
+white = 7
+yellow = 3
+ \ No newline at end of file diff --git a/doc/pydoc/ranger.colorschemes.snow.html b/doc/pydoc/ranger.colorschemes.snow.html new file mode 100644 index 00000000..58f42ffd --- /dev/null +++ b/doc/pydoc/ranger.colorschemes.snow.html @@ -0,0 +1,91 @@ + +Python: module ranger.colorschemes.snow + + + + + +
 
+ 
ranger.colorschemes.snow
index
/home/hut/work/ranger/ranger/colorschemes/snow.py
+

+

+ + + + + +
 
+Modules
       
curses
+

+ + + + + +
 
+Classes
       
+
ranger.gui.colorscheme.ColorScheme(builtins.object) +
+
+
Snow +
+
+
+

+ + + + + +
 
+class Snow(ranger.gui.colorscheme.ColorScheme)
    
Method resolution order:
+
Snow
+
ranger.gui.colorscheme.ColorScheme
+
builtins.object
+
+
+Methods defined here:
+
use(self, context)
+ +
+Methods inherited from ranger.gui.colorscheme.ColorScheme:
+
__init__(self)
+ +
get(self, *keys)
Determine the (fg, bg, attr) tuple or get it from cache
+ +
get_attr(self, *keys)
Returns the curses attr integer for the specified keys
+ +
+Data descriptors inherited from ranger.gui.colorscheme.ColorScheme:
+
__dict__
+
dictionary for instance variables (if defined)
+
+
__weakref__
+
list of weak references to the object (if defined)
+
+

+ + + + + +
 
+Data
       COLOR_PAIRS = {10: 0}
+black = 0
+blue = 4
+bold = 2097152
+cyan = 6
+default = -1
+default_colors = (-1, -1, 0)
+green = 2
+invisible = 8388608
+magenta = 5
+normal = 0
+red = 1
+reverse = 262144
+underline = 131072
+white = 7
+yellow = 3
+ \ No newline at end of file diff --git a/doc/pydoc/ranger.commands.html b/doc/pydoc/ranger.commands.html new file mode 100644 index 00000000..d89a7ff3 --- /dev/null +++ b/doc/pydoc/ranger.commands.html @@ -0,0 +1,430 @@ + +Python: module ranger.commands + + + + + +
 
+ 
ranger.commands
index
/home/hut/work/ranger/ranger/commands.py
+

+

+ + + + + +
 
+Modules
       
os
+

+ + + + + +
 
+Classes
       
+
builtins.object +
+
+
parse +
+
+
ranger.shared.FileManagerAware(ranger.shared.Awareness) +
+
+
Command +
+
+
cd +
delete +
delete +
find +
mkdir +
quit +
+
+
+
+
+

+ + + + + + + +
 
+class Command(ranger.shared.FileManagerAware)
   Abstract command class
 
 
Method resolution order:
+
Command
+
ranger.shared.FileManagerAware
+
ranger.shared.Awareness
+
builtins.object
+
+
+Methods defined here:
+
__init__(self, line, mode)
+ +
execute(self)
+ +
quick_open(self)
+ +
tab(self)
+ +
+Data and other attributes defined here:
+
line = ''
+ +
mode = ':'
+ +
name = None
+ +
+Data and other attributes inherited from ranger.shared.FileManagerAware:
+
fm = None
+ +
+Data descriptors inherited from ranger.shared.Awareness:
+
__dict__
+
dictionary for instance variables (if defined)
+
+
__weakref__
+
list of weak references to the object (if defined)
+
+

+ + + + + + + +
 
+class cd(Command)
   The cd command changes the directory. The command 'cd -' is
+equivalent to typing ``. In the quick console, the directory
+will be entered without the need to press enter, as soon as there
+is one unambiguous match.
 
 
Method resolution order:
+
cd
+
Command
+
ranger.shared.FileManagerAware
+
ranger.shared.Awareness
+
builtins.object
+
+
+Methods defined here:
+
execute(self)
+ +
quick_open(self)
+ +
tab(self)
+ +
+Methods inherited from Command:
+
__init__(self, line, mode)
+ +
+Data and other attributes inherited from Command:
+
line = ''
+ +
mode = ':'
+ +
name = None
+ +
+Data and other attributes inherited from ranger.shared.FileManagerAware:
+
fm = None
+ +
+Data descriptors inherited from ranger.shared.Awareness:
+
__dict__
+
dictionary for instance variables (if defined)
+
+
__weakref__
+
list of weak references to the object (if defined)
+
+

+ + + + + +
 
+class delete(Command)
    
Method resolution order:
+
delete
+
Command
+
ranger.shared.FileManagerAware
+
ranger.shared.Awareness
+
builtins.object
+
+
+Methods defined here:
+
execute(self)
+ +
+Methods inherited from Command:
+
__init__(self, line, mode)
+ +
quick_open(self)
+ +
tab(self)
+ +
+Data and other attributes inherited from Command:
+
line = ''
+ +
mode = ':'
+ +
name = None
+ +
+Data and other attributes inherited from ranger.shared.FileManagerAware:
+
fm = None
+ +
+Data descriptors inherited from ranger.shared.Awareness:
+
__dict__
+
dictionary for instance variables (if defined)
+
+
__weakref__
+
list of weak references to the object (if defined)
+
+

+ + + + + + + +
 
+class find(Command)
   The find command will attempt to find a partial, case insensitive
+match in the filenames of the current directory. In the quick command
+console, once there is one unambiguous match, the file will be run
+automatically.
 
 
Method resolution order:
+
find
+
Command
+
ranger.shared.FileManagerAware
+
ranger.shared.Awareness
+
builtins.object
+
+
+Methods defined here:
+
execute(self)
+ +
quick_open(self)
+ +
+Data and other attributes defined here:
+
count = 0
+ +
+Methods inherited from Command:
+
__init__(self, line, mode)
+ +
tab(self)
+ +
+Data and other attributes inherited from Command:
+
line = ''
+ +
mode = ':'
+ +
name = None
+ +
+Data and other attributes inherited from ranger.shared.FileManagerAware:
+
fm = None
+ +
+Data descriptors inherited from ranger.shared.Awareness:
+
__dict__
+
dictionary for instance variables (if defined)
+
+
__weakref__
+
list of weak references to the object (if defined)
+
+

+ + + + + +
 
+class mkdir(Command)
    
Method resolution order:
+
mkdir
+
Command
+
ranger.shared.FileManagerAware
+
ranger.shared.Awareness
+
builtins.object
+
+
+Methods defined here:
+
execute(self)
+ +
+Methods inherited from Command:
+
__init__(self, line, mode)
+ +
quick_open(self)
+ +
tab(self)
+ +
+Data and other attributes inherited from Command:
+
line = ''
+ +
mode = ':'
+ +
name = None
+ +
+Data and other attributes inherited from ranger.shared.FileManagerAware:
+
fm = None
+ +
+Data descriptors inherited from ranger.shared.Awareness:
+
__dict__
+
dictionary for instance variables (if defined)
+
+
__weakref__
+
list of weak references to the object (if defined)
+
+

+ + + + + + + +
 
+class parse(builtins.object)
   Parse commands and extract information
 
 Methods defined here:
+
__add__(self, newpart)
+ +
__init__(self, line)
+ +
chunk(self, n, otherwise='')
+ +
+Data descriptors defined here:
+
__dict__
+
dictionary for instance variables (if defined)
+
+
__weakref__
+
list of weak references to the object (if defined)
+
+

+ + + + + + + +
 
+class quit(Command)
   Quits the program.
 
 
Method resolution order:
+
quit
+
Command
+
ranger.shared.FileManagerAware
+
ranger.shared.Awareness
+
builtins.object
+
+
+Methods defined here:
+
execute(self)
+ +
+Methods inherited from Command:
+
__init__(self, line, mode)
+ +
quick_open(self)
+ +
tab(self)
+ +
+Data and other attributes inherited from Command:
+
line = ''
+ +
mode = ':'
+ +
name = None
+ +
+Data and other attributes inherited from ranger.shared.FileManagerAware:
+
fm = None
+ +
+Data descriptors inherited from ranger.shared.Awareness:
+
__dict__
+
dictionary for instance variables (if defined)
+
+
__weakref__
+
list of weak references to the object (if defined)
+
+

+ + + + + +
 
+var = class delete(Command)
    
Method resolution order:
+
delete
+
Command
+
ranger.shared.FileManagerAware
+
ranger.shared.Awareness
+
builtins.object
+
+
+Methods defined here:
+
execute(self)
+ +
+Methods inherited from Command:
+
__init__(self, line, mode)
+ +
quick_open(self)
+ +
tab(self)
+ +
+Data and other attributes inherited from Command:
+
line = ''
+ +
mode = ':'
+ +
name = None
+ +
+Data and other attributes inherited from ranger.shared.FileManagerAware:
+
fm = None
+ +
+Data descriptors inherited from ranger.shared.Awareness:
+
__dict__
+
dictionary for instance variables (if defined)
+
+
__weakref__
+
list of weak references to the object (if defined)
+
+

+ + + + + +
 
+Functions
       
alias(**kw)
+

+ + + + + +
 
+Data
       by_name = {'cd': <class 'ranger.commands.cd'>, 'delete': <class 'ranger.commands.delete'>, 'find': <class 'ranger.commands.find'>, 'mkdir': <class 'ranger.commands.mkdir'>, 'q': <class 'ranger.commands.quit'>, 'quit': <class 'ranger.commands.quit'>}
+varname = 'delete'
+ \ No newline at end of file diff --git a/doc/pydoc/ranger.container.bookmarks.html b/doc/pydoc/ranger.container.bookmarks.html new file mode 100644 index 00000000..699524c4 --- /dev/null +++ b/doc/pydoc/ranger.container.bookmarks.html @@ -0,0 +1,173 @@ + +Python: module ranger.container.bookmarks + + + + + +
 
+ 
ranger.container.bookmarks
index
/home/hut/work/ranger/ranger/container/bookmarks.py
+

+

+ + + + + +
 
+Modules
       
os
+
re
+
string
+

+ + + + + +
 
+Classes
       
+
builtins.Exception(builtins.BaseException) +
+
+
NonexistantBookmark +
+
+
builtins.object +
+
+
Bookmarks +
+
+
+

+ + + + + + + +
 
+class Bookmarks(builtins.object)
   Bookmarks is a container which associates keys with bookmarks.

+A key is a string with: len(key) == 1 and key in ALLOWED_KEYS.

+A bookmark is an object with: bookmark == bookmarktype(str(instance))
+Which is true for str or FileSystemObject. This condition is required
+so bookmark-objects can be saved to and loaded from a file.

+Optionally, a bookmark.go() method is used for entering a bookmark.
 
 Methods defined here:
+
__contains__(self, key)
Test whether a bookmark-key is defined
+ +
__getitem__(self, key)
Get the bookmark associated with the key
+ +
__init__(self, bookmarkfile, bookmarktype=<class 'str'>, autosave=False)
<bookmarkfile> specifies the path to the file where
+bookmarks are saved in.
+ +
__setitem__(self, key, value)
Bookmark <value> to the key <key>.
+key is expected to be a 1-character string and element of ALLOWED_KEYS.
+value is expected to be a filesystemobject.
+ +
delete(self, key)
Delete the bookmark with the given key
+ +
enter(self, key)
Enter the bookmark with the given key.
+Requires the bookmark instance to have a go() method.
+ +
load(self)
Load the bookmarks from path/bookmarks
+ +
remember(self, value)
Bookmarks <value> to the keys ` and '
+ +
save(self)
Save the bookmarks to the bookmarkfile.
+This is done automatically after every modification if autosave is True.
+ +
update(self)
Update the bookmarks from the bookmark file.
+Useful if two instances are running which define different bookmarks.
+ +
update_if_outdated(self)
+ +
+Data descriptors defined here:
+
__dict__
+
dictionary for instance variables (if defined)
+
+
__weakref__
+
list of weak references to the object (if defined)
+
+
+Data and other attributes defined here:
+
autosave = True
+ +
last_mtime = None
+ +
load_pattern = <_sre.SRE_Pattern object at 0x15161a0>
+ +

+ + + + + +
 
+class NonexistantBookmark(builtins.Exception)
    
Method resolution order:
+
NonexistantBookmark
+
builtins.Exception
+
builtins.BaseException
+
builtins.object
+
+
+Data descriptors defined here:
+
__weakref__
+
list of weak references to the object (if defined)
+
+
+Methods inherited from builtins.Exception:
+
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
+ +
+Data and other attributes inherited from builtins.Exception:
+
__new__ = <built-in method __new__ of type object at 0x7f327d94a120>
T.__new__(S, ...) -> a new object with type S, a subtype of T
+ +
+Methods inherited from builtins.BaseException:
+
__delattr__(...)
x.__delattr__('name') <==> del x.name
+ +
__getattribute__(...)
x.__getattribute__('name') <==> x.name
+ +
__reduce__(...)
+ +
__repr__(...)
x.__repr__() <==> repr(x)
+ +
__setattr__(...)
x.__setattr__('name', value) <==> x.name = value
+ +
__setstate__(...)
+ +
__str__(...)
x.__str__() <==> str(x)
+ +
with_traceback(...)
Exception.with_traceback(tb) --
+set self.__traceback__ to tb and return self.
+ +
+Data descriptors inherited from builtins.BaseException:
+
__cause__
+
exception cause
+
+
__context__
+
exception context
+
+
__dict__
+
+
__traceback__
+
+
args
+
+

+ + + + + +
 
+Data
       ALLOWED_KEYS = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789`'"
+ \ No newline at end of file diff --git a/doc/pydoc/ranger.container.commandlist.html b/doc/pydoc/ranger.container.commandlist.html new file mode 100644 index 00000000..1620984c --- /dev/null +++ b/doc/pydoc/ranger.container.commandlist.html @@ -0,0 +1,129 @@ + +Python: module ranger.container.commandlist + + + + + +
 
+ 
ranger.container.commandlist
index
/home/hut/work/ranger/ranger/container/commandlist.py
+

+

+ + + + + +
 
+Classes
       
+
builtins.object +
+
+
Command +
CommandList +
Hint +
+
+
+

+ + + + + + + +
 
+class Command(builtins.object)
   Command objects store information about a command
 
 Methods defined here:
+
__init__(self, fnc, keys)
+ +
execute(self, *args)
Execute the command
+ +
+Data descriptors defined here:
+
__dict__
+
dictionary for instance variables (if defined)
+
+
__weakref__
+
list of weak references to the object (if defined)
+
+
+Data and other attributes defined here:
+
keys = []
+ +

+ + + + + + + +
 
+class CommandList(builtins.object)
   CommandLists are dictionary-like objects which give you a command
+for a given key combination.  CommandLists must be filled before use.
 
 Methods defined here:
+
__getitem__(self, key)
Returns the command with the given key combination
+ +
__init__(self)
+ +
bind(self, fnc, *keys)
create a Command object and assign it to the given key combinations.
+ +
hint(self, text, *keys)
create a Hint object and assign it to the given key combinations.
+ +
rebuild_paths(self)
Fill the path dictionary with dummie objects.
+We need to know when to clear the keybuffer (when a wrong key is pressed)
+and when to wait for the rest of the key combination.  For "gg" we
+will assign "g" to a dummy which tells the program to do the latter
+and wait.
+ +
remove_dummies(self)
Remove dummie objects in case you have to rebuild a path dictionary
+which already contains dummie objects.
+ +
+Data descriptors defined here:
+
__dict__
+
dictionary for instance variables (if defined)
+
+
__weakref__
+
list of weak references to the object (if defined)
+
+
+Data and other attributes defined here:
+
commandlist = []
+ +
dummies_in_paths = False
+ +
dummy_object = None
+ +
paths = {}
+ +

+ + + + + + + +
 
+class Hint(builtins.object)
   Hints display text without clearing the keybuffer
 
 Methods defined here:
+
__init__(self, text, keys)
+ +
+Data descriptors defined here:
+
__dict__
+
dictionary for instance variables (if defined)
+
+
__weakref__
+
list of weak references to the object (if defined)
+
+
+Data and other attributes defined here:
+
keys = []
+ +
text = ''
+ +

+ \ No newline at end of file diff --git a/doc/pydoc/ranger.container.environment.html b/doc/pydoc/ranger.container.environment.html new file mode 100644 index 00000000..4909d588 --- /dev/null +++ b/doc/pydoc/ranger.container.environment.html @@ -0,0 +1,105 @@ + +Python: module ranger.container.environment + + + + + +
 
+ 
ranger.container.environment
index
/home/hut/work/ranger/ranger/container/environment.py
+

+

+ + + + + +
 
+Classes
       
+
ranger.shared.settings.SettingsAware(builtins.object) +
+
+
Environment +
+
+
+

+ + + + + + + +
 
+class Environment(ranger.shared.settings.SettingsAware)
   A collection of data which is relevant for more than
+one class.
 
 
Method resolution order:
+
Environment
+
ranger.shared.settings.SettingsAware
+
builtins.object
+
+
+Methods defined here:
+
__init__(self, path)
+ +
assign_correct_cursor_positions(self)
Assign correct cursor positions for subdirectories
+ +
at_level(self, level)
Returns the FileSystemObject at the given level.
+level 1 => preview
+level 0 => current file/directory
+level <0 => parent directories
+ +
enter_dir(self, path, history=True)
Enter given path
+ +
garbage_collect(self)
Delete unused directory objects
+ +
get_directory(self, path)
Get the directory object at the given path
+ +
get_selection(self)
+ +
history_go(self, relative)
Move relative in history
+ +
key_append(self, key)
Append a key to the keybuffer
+ +
key_clear(self)
Clear the keybuffer
+ +
+Data and other attributes defined here:
+
cf = None
+ +
copy = None
+ +
cut = None
+ +
directories = None
+ +
history = None
+ +
keybuffer = None
+ +
last_search = None
+ +
path = None
+ +
pathway = None
+ +
pwd = None
+ +
termsize = None
+ +
+Data descriptors inherited from ranger.shared.settings.SettingsAware:
+
__dict__
+
dictionary for instance variables (if defined)
+
+
__weakref__
+
list of weak references to the object (if defined)
+
+
+Data and other attributes inherited from ranger.shared.settings.SettingsAware:
+
settings = <ranger.ext.openstruct.OpenStruct object at 0x154e450>
+ +

+ \ No newline at end of file diff --git a/doc/pydoc/ranger.container.history.html b/doc/pydoc/ranger.container.history.html new file mode 100644 index 00000000..5094de92 --- /dev/null +++ b/doc/pydoc/ranger.container.history.html @@ -0,0 +1,136 @@ + +Python: module ranger.container.history + + + + + +
 
+ 
ranger.container.history
index
/home/hut/work/ranger/ranger/container/history.py
+

+

+ + + + + +
 
+Classes
       
+
builtins.Exception(builtins.BaseException) +
+
+
HistoryEmptyException +
+
+
builtins.object +
+
+
History +
+
+
+

+ + + + + +
 
+class History(builtins.object)
    Methods defined here:
+
__init__(self, maxlen=None)
+ +
__iter__(self)
+ +
__len__(self)
+ +
add(self, item)
+ +
back(self)
+ +
bottom(self)
+ +
current(self)
+ +
fast_forward(self)
+ +
forward(self)
+ +
modify(self, item)
+ +
move(self, n)
+ +
next(self)
+ +
top(self)
+ +
+Data descriptors defined here:
+
__dict__
+
dictionary for instance variables (if defined)
+
+
__weakref__
+
list of weak references to the object (if defined)
+
+

+ + + + + +
 
+class HistoryEmptyException(builtins.Exception)
    
Method resolution order:
+
HistoryEmptyException
+
builtins.Exception
+
builtins.BaseException
+
builtins.object
+
+
+Data descriptors defined here:
+
__weakref__
+
list of weak references to the object (if defined)
+
+
+Methods inherited from builtins.Exception:
+
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
+ +
+Data and other attributes inherited from builtins.Exception:
+
__new__ = <built-in method __new__ of type object at 0x7f327d94a120>
T.__new__(S, ...) -> a new object with type S, a subtype of T
+ +
+Methods inherited from builtins.BaseException:
+
__delattr__(...)
x.__delattr__('name') <==> del x.name
+ +
__getattribute__(...)
x.__getattribute__('name') <==> x.name
+ +
__reduce__(...)
+ +
__repr__(...)
x.__repr__() <==> repr(x)
+ +
__setattr__(...)
x.__setattr__('name', value) <==> x.name = value
+ +
__setstate__(...)
+ +
__str__(...)
x.__str__() <==> str(x)
+ +
with_traceback(...)
Exception.with_traceback(tb) --
+set self.__traceback__ to tb and return self.
+ +
+Data descriptors inherited from builtins.BaseException:
+
__cause__
+
exception cause
+
+
__context__
+
exception context
+
+
__dict__
+
+
__traceback__
+
+
args
+
+

+ \ No newline at end of file diff --git a/doc/pydoc/ranger.container.html b/doc/pydoc/ranger.container.html new file mode 100644 index 00000000..7154fd15 --- /dev/null +++ b/doc/pydoc/ranger.container.html @@ -0,0 +1,27 @@ + +Python: package ranger.container + + + + + +
 
+ 
ranger.container
index
/home/hut/work/ranger/ranger/container/__init__.py
+

This package includes container-objects which are
+used to manage stored data

+

+ + + + + +
 
+Package Contents
       
bookmarks
+commandlist
+
environment
+history
+
keybuffer
+
+ \ No newline at end of file diff --git a/doc/pydoc/ranger.container.keybuffer.html b/doc/pydoc/ranger.container.keybuffer.html new file mode 100644 index 00000000..4990a3fc --- /dev/null +++ b/doc/pydoc/ranger.container.keybuffer.html @@ -0,0 +1,76 @@ + +Python: module ranger.container.keybuffer + + + + + +
 
+ 
ranger.container.keybuffer
index
/home/hut/work/ranger/ranger/container/keybuffer.py
+

+

+ + + + + +
 
+Classes
       
+
builtins.object +
+
+
KeyBuffer +
+
+
+

+ + + + + +
 
+class KeyBuffer(builtins.object)
    Methods defined here:
+
__init__(self)
+ +
__str__(self)
returns a concatenation of all characters
+ +
append(self, key)
Append a key to the keybuffer, or initial numbers to
+the number attribute.
+ +
clear(self)
Clear the keybuffer and restore the initial state
+ +
tuple_with_numbers(self)
Get a tuple of ascii codes.
+ +
tuple_without_numbers(self)
Get a tuple of ascii codes.
+If the keybuffer starts with numbers, those will
+be left out. To access them, use keybuffer.number
+ +
+Data descriptors defined here:
+
__dict__
+
dictionary for instance variables (if defined)
+
+
__weakref__
+
list of weak references to the object (if defined)
+
+

+ + + + + +
 
+Functions
       
to_string(i)
+

+ + + + + +
 
+Data
       NINE = 57
+ZERO = 48
+ \ No newline at end of file diff --git a/doc/pydoc/ranger.defaults.apps.html b/doc/pydoc/ranger.defaults.apps.html new file mode 100644 index 00000000..f969eebf --- /dev/null +++ b/doc/pydoc/ranger.defaults.apps.html @@ -0,0 +1,75 @@ + +Python: module ranger.defaults.apps + + + + + +
 
+ 
ranger.defaults.apps
index
/home/hut/work/ranger/ranger/defaults/apps.py
+

+

+ + + + + +
 
+Classes
       
+
ranger.applications.Applications(builtins.object) +
+
+
CustomApplications +
+
+
+

+ + + + + +
 
+class CustomApplications(ranger.applications.Applications)
    
Method resolution order:
+
CustomApplications
+
ranger.applications.Applications
+
builtins.object
+
+
+Methods defined here:
+
app_aunpack(self, **kw)
+ +
app_default(self, **kw)
# How to determine the default application? {{{
+ +
app_editor = app_vim(self, **kw)
+ +
app_evince(self, **kw)
+ +
app_feh(self, **kw)
+ +
app_mplayer(self, **kw)
+ +
app_pager(self, **kw)
+ +
app_vim(self, **kw)
+ +
+Methods inherited from ranger.applications.Applications:
+
all(self)
Returns a list with all application functions
+ +
get(self, app)
Looks for an application, returns app_default if it doesn't exist
+ +
has(self, app)
Returns whether an application is defined
+ +
+Data descriptors inherited from ranger.applications.Applications:
+
__dict__
+
dictionary for instance variables (if defined)
+
+
__weakref__
+
list of weak references to the object (if defined)
+
+

+ \ No newline at end of file diff --git a/doc/pydoc/ranger.defaults.html b/doc/pydoc/ranger.defaults.html new file mode 100644 index 00000000..22015dc0 --- /dev/null +++ b/doc/pydoc/ranger.defaults.html @@ -0,0 +1,24 @@ + +Python: package ranger.defaults + + + + + +
 
+ 
ranger.defaults
index
/home/hut/work/ranger/ranger/defaults/__init__.py
+

Default options and configration files

+

+ + + + + +
 
+Package Contents
       
apps
+
keys
+
options
+
+ \ No newline at end of file diff --git a/doc/pydoc/ranger.defaults.keys.html b/doc/pydoc/ranger.defaults.keys.html new file mode 100644 index 00000000..782ee6d2 --- /dev/null +++ b/doc/pydoc/ranger.defaults.keys.html @@ -0,0 +1,357 @@ + +Python: module ranger.defaults.keys + + + + + +
 
+ 
ranger.defaults.keys
index
/home/hut/work/ranger/ranger/defaults/keys.py
+

+

+ + + + + +
 
+Modules
       
curses
+

+ + + + + +
 
+Functions
       
baudrate(...)
+
beep(...)
+
can_change_color(...)
+
cbreak(...)
+
color_content(...)
+
color_pair(...)
+
curs_set(...)
+
def_prog_mode(...)
+
def_shell_mode(...)
+
delay_output(...)
+
doupdate(...)
+
echo(...)
+
endwin(...)
+
erasechar(...)
+
filter(...)
+
flash(...)
+
flushinp(...)
+
getmouse(...)
+
getsyx(...)
+
getwin(...)
+
halfdelay(...)
+
has_colors(...)
+
has_ic(...)
+
has_il(...)
+
has_key(...)
+
init_color(...)
+
init_pair(...)
+
initialize_commands(command_list)
Initialize the commands for the main user interface
+
initialize_console_commands(command_list)
Initialize the commands for the console widget only
+
initialize_process_manager_commands(command_list)
Initialize the commands for the process manager widget
+
intrflush(...)
+
is_term_resized(...)
+
isendwin(...)
+
keyname(...)
+
killchar(...)
+
longname(...)
+
meta(...)
+
mouseinterval(...)
+
mousemask(...)
+
napms(...)
+
newpad(...)
+
newwin(...)
+
nl(...)
+
nocbreak(...)
+
noecho(...)
+
nonl(...)
+
noqiflush(...)
+
noraw(...)
+
pair_content(...)
+
pair_number(...)
+
putp(...)
+
qiflush(...)
+
raw(...)
+
reset_prog_mode(...)
+
reset_shell_mode(...)
+
resetty(...)
+
resize_term(...)
+
resizeterm(...)
+
savetty(...)
+
setsyx(...)
+
setupterm(...)
+
termattrs(...)
+
termname(...)
+
tigetflag(...)
+
tigetnum(...)
+
tigetstr(...)
+
tparm(...)
+
typeahead(...)
+
ungetch(...)
+
ungetmouse(...)
+
use_default_colors(...)
+
use_env(...)
+

+ + + + + +
 
+Data
       ACK = 6
+ALLOWED_BOOKMARK_KEYS = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789`'"
+ALL_MOUSE_EVENTS = 134217727
+A_ALTCHARSET = 4194304
+A_ATTRIBUTES = 4294967040
+A_BLINK = 524288
+A_BOLD = 2097152
+A_CHARTEXT = 255
+A_COLOR = 65280
+A_DIM = 1048576
+A_HORIZONTAL = 33554432
+A_INVIS = 8388608
+A_LEFT = 67108864
+A_LOW = 134217728
+A_NORMAL = 0
+A_PROTECT = 16777216
+A_REVERSE = 262144
+A_RIGHT = 268435456
+A_STANDOUT = 65536
+A_TOP = 536870912
+A_UNDERLINE = 131072
+A_VERTICAL = 1073741824
+BEL = 7
+BS = 8
+BUTTON1_CLICKED = 4
+BUTTON1_DOUBLE_CLICKED = 8
+BUTTON1_PRESSED = 2
+BUTTON1_RELEASED = 1
+BUTTON1_TRIPLE_CLICKED = 16
+BUTTON2_CLICKED = 256
+BUTTON2_DOUBLE_CLICKED = 512
+BUTTON2_PRESSED = 128
+BUTTON2_RELEASED = 64
+BUTTON2_TRIPLE_CLICKED = 1024
+BUTTON3_CLICKED = 16384
+BUTTON3_DOUBLE_CLICKED = 32768
+BUTTON3_PRESSED = 8192
+BUTTON3_RELEASED = 4096
+BUTTON3_TRIPLE_CLICKED = 65536
+BUTTON4_CLICKED = 1048576
+BUTTON4_DOUBLE_CLICKED = 2097152
+BUTTON4_PRESSED = 524288
+BUTTON4_RELEASED = 262144
+BUTTON4_TRIPLE_CLICKED = 4194304
+BUTTON_ALT = 67108864
+BUTTON_CTRL = 16777216
+BUTTON_SHIFT = 33554432
+CAN = 24
+COLOR_BLACK = 0
+COLOR_BLUE = 4
+COLOR_CYAN = 6
+COLOR_GREEN = 2
+COLOR_MAGENTA = 5
+COLOR_RED = 1
+COLOR_WHITE = 7
+COLOR_YELLOW = 3
+CR = 13
+DC1 = 17
+DC2 = 18
+DC3 = 19
+DC4 = 20
+DEL = 127
+DLE = 16
+EM = 25
+ENQ = 5
+EOT = 4
+ERR = -1
+ESC = 27
+ETB = 23
+ETX = 3
+FF = 12
+FS = 28
+GS = 29
+HT = 9
+KEY_A1 = 348
+KEY_A3 = 349
+KEY_B2 = 350
+KEY_BACKSPACE = 263
+KEY_BEG = 354
+KEY_BREAK = 257
+KEY_BTAB = 353
+KEY_C1 = 351
+KEY_C3 = 352
+KEY_CANCEL = 355
+KEY_CATAB = 342
+KEY_CLEAR = 333
+KEY_CLOSE = 356
+KEY_COMMAND = 357
+KEY_COPY = 358
+KEY_CREATE = 359
+KEY_CTAB = 341
+KEY_DC = 330
+KEY_DL = 328
+KEY_DOWN = 258
+KEY_EIC = 332
+KEY_END = 360
+KEY_ENTER = 343
+KEY_EOL = 335
+KEY_EOS = 334
+KEY_EXIT = 361
+KEY_F0 = 264
+KEY_F1 = 265
+KEY_F10 = 274
+KEY_F11 = 275
+KEY_F12 = 276
+KEY_F13 = 277
+KEY_F14 = 278
+KEY_F15 = 279
+KEY_F16 = 280
+KEY_F17 = 281
+KEY_F18 = 282
+KEY_F19 = 283
+KEY_F2 = 266
+KEY_F20 = 284
+KEY_F21 = 285
+KEY_F22 = 286
+KEY_F23 = 287
+KEY_F24 = 288
+KEY_F25 = 289
+KEY_F26 = 290
+KEY_F27 = 291
+KEY_F28 = 292
+KEY_F29 = 293
+KEY_F3 = 267
+KEY_F30 = 294
+KEY_F31 = 295
+KEY_F32 = 296
+KEY_F33 = 297
+KEY_F34 = 298
+KEY_F35 = 299
+KEY_F36 = 300
+KEY_F37 = 301
+KEY_F38 = 302
+KEY_F39 = 303
+KEY_F4 = 268
+KEY_F40 = 304
+KEY_F41 = 305
+KEY_F42 = 306
+KEY_F43 = 307
+KEY_F44 = 308
+KEY_F45 = 309
+KEY_F46 = 310
+KEY_F47 = 311
+KEY_F48 = 312
+KEY_F49 = 313
+KEY_F5 = 269
+KEY_F50 = 314
+KEY_F51 = 315
+KEY_F52 = 316
+KEY_F53 = 317
+KEY_F54 = 318
+KEY_F55 = 319
+KEY_F56 = 320
+KEY_F57 = 321
+KEY_F58 = 322
+KEY_F59 = 323
+KEY_F6 = 270
+KEY_F60 = 324
+KEY_F61 = 325
+KEY_F62 = 326
+KEY_F63 = 327
+KEY_F7 = 271
+KEY_F8 = 272
+KEY_F9 = 273
+KEY_FIND = 362
+KEY_HELP = 363
+KEY_HOME = 262
+KEY_IC = 331
+KEY_IL = 329
+KEY_LEFT = 260
+KEY_LL = 347
+KEY_MARK = 364
+KEY_MAX = 511
+KEY_MESSAGE = 365
+KEY_MIN = 257
+KEY_MOUSE = 409
+KEY_MOVE = 366
+KEY_NEXT = 367
+KEY_NPAGE = 338
+KEY_OPEN = 368
+KEY_OPTIONS = 369
+KEY_PPAGE = 339
+KEY_PREVIOUS = 370
+KEY_PRINT = 346
+KEY_REDO = 371
+KEY_REFERENCE = 372
+KEY_REFRESH = 373
+KEY_REPLACE = 374
+KEY_RESET = 345
+KEY_RESIZE = 410
+KEY_RESTART = 375
+KEY_RESUME = 376
+KEY_RIGHT = 261
+KEY_SAVE = 377
+KEY_SBEG = 378
+KEY_SCANCEL = 379
+KEY_SCOMMAND = 380
+KEY_SCOPY = 381
+KEY_SCREATE = 382
+KEY_SDC = 383
+KEY_SDL = 384
+KEY_SELECT = 385
+KEY_SEND = 386
+KEY_SEOL = 387
+KEY_SEXIT = 388
+KEY_SF = 336
+KEY_SFIND = 389
+KEY_SHELP = 390
+KEY_SHOME = 391
+KEY_SIC = 392
+KEY_SLEFT = 393
+KEY_SMESSAGE = 394
+KEY_SMOVE = 395
+KEY_SNEXT = 396
+KEY_SOPTIONS = 397
+KEY_SPREVIOUS = 398
+KEY_SPRINT = 399
+KEY_SR = 337
+KEY_SREDO = 400
+KEY_SREPLACE = 401
+KEY_SRESET = 344
+KEY_SRIGHT = 402
+KEY_SRSUME = 403
+KEY_SSAVE = 404
+KEY_SSUSPEND = 405
+KEY_STAB = 340
+KEY_SUNDO = 406
+KEY_SUSPEND = 407
+KEY_UNDO = 408
+KEY_UP = 259
+LF = 10
+NAK = 21
+NL = 10
+NUL = 0
+OK = 0
+RANGERDIR = '/home/hut/work/ranger/ranger'
+REPORT_MOUSE_POSITION = 134217728
+RS = 30
+SI = 15
+SO = 14
+SOH = 1
+SP = 32
+STX = 2
+SUB = 26
+SYN = 22
+TAB = 9
+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', ...]
+version = b'2.2'
+ \ No newline at end of file diff --git a/doc/pydoc/ranger.defaults.options.html b/doc/pydoc/ranger.defaults.options.html new file mode 100644 index 00000000..09542348 --- /dev/null +++ b/doc/pydoc/ranger.defaults.options.html @@ -0,0 +1,41 @@ + +Python: module ranger.defaults.options + + + + + +
 
+ 
ranger.defaults.options
index
/home/hut/work/ranger/ranger/defaults/options.py
+

+

+ + + + + +
 
+Modules
       
ranger.defaults.apps
+
ranger.colorschemes.default
+
ranger.colorschemes
+
ranger.defaults.keys
+

+ + + + + +
 
+Data
       auto_load_preview = True
+collapse_preview = True
+directories_first = True
+max_dirsize_for_autopreview = None
+max_history_size = 20
+preview_files = False
+reverse = False
+scroll_offset = 2
+show_hidden = False
+sort = 'basename'
+ \ No newline at end of file diff --git a/doc/pydoc/ranger.ext.accumulator.html b/doc/pydoc/ranger.ext.accumulator.html new file mode 100644 index 00000000..7a1a2304 --- /dev/null +++ b/doc/pydoc/ranger.ext.accumulator.html @@ -0,0 +1,59 @@ + +Python: module ranger.ext.accumulator + + + + + +
 
+ 
ranger.ext.accumulator
index
/home/hut/work/ranger/ranger/ext/accumulator.py
+

+

+ + + + + +
 
+Classes
       
+
builtins.object +
+
+
Accumulator +
+
+
+

+ + + + + +
 
+class Accumulator(builtins.object)
    Methods defined here:
+
__init__(self)
+ +
correct_pointer(self)
+ +
get_list(self)
OVERRIDE THIS
+ +
move(self, relative=0, absolute=None)
+ +
move_to_obj(self, arg, attr=None)
+ +
pointer_is_synced(self)
+ +
sync_index(self, **kw)
+ +
+Data descriptors defined here:
+
__dict__
+
dictionary for instance variables (if defined)
+
+
__weakref__
+
list of weak references to the object (if defined)
+
+

+ \ No newline at end of file diff --git a/doc/pydoc/ranger.ext.debug.html b/doc/pydoc/ranger.ext.debug.html new file mode 100644 index 00000000..e3a49ead --- /dev/null +++ b/doc/pydoc/ranger.ext.debug.html @@ -0,0 +1,31 @@ + +Python: module ranger.ext.debug + + + + + +
 
+ 
ranger.ext.debug
index
/home/hut/work/ranger/ranger/ext/debug.py
+

+

+ + + + + +
 
+Functions
       
log(*objects, **keywords)
Writes objects to a logfile.
+Has the same arguments as print() in python3
+
trace()
+

+ + + + + +
 
+Data
       LOGFILE = '/tmp/errorlog'
+ \ No newline at end of file diff --git a/doc/pydoc/ranger.ext.get_all_modules.html b/doc/pydoc/ranger.ext.get_all_modules.html new file mode 100644 index 00000000..b7698581 --- /dev/null +++ b/doc/pydoc/ranger.ext.get_all_modules.html @@ -0,0 +1,22 @@ + +Python: module ranger.ext.get_all_modules + + + + + +
 
+ 
ranger.ext.get_all_modules
index
/home/hut/work/ranger/ranger/ext/get_all_modules.py
+

+

+ + + + + +
 
+Functions
       
get_all_modules(dirname)
returns a list of strings containing the names of modules in a directory
+
+ \ No newline at end of file diff --git a/doc/pydoc/ranger.ext.html b/doc/pydoc/ranger.ext.html new file mode 100644 index 00000000..06848c5d --- /dev/null +++ b/doc/pydoc/ranger.ext.html @@ -0,0 +1,29 @@ + +Python: package ranger.ext + + + + + +
 
+ 
ranger.ext
index
/home/hut/work/ranger/ranger/ext/__init__.py
+

This package includes extensions with broader usability

+

+ + + + + +
 
+Package Contents
       
accumulator
+debug
+
get_all_modules
+human_readable
+
openstruct
+relpath
+
shutil_generatorized
+waitpid_no_intr
+
+ \ No newline at end of file diff --git a/doc/pydoc/ranger.ext.human_readable.html b/doc/pydoc/ranger.ext.human_readable.html new file mode 100644 index 00000000..d1815c9b --- /dev/null +++ b/doc/pydoc/ranger.ext.human_readable.html @@ -0,0 +1,31 @@ + +Python: module ranger.ext.human_readable + + + + + +
 
+ 
ranger.ext.human_readable
index
/home/hut/work/ranger/ranger/ext/human_readable.py
+

+

+ + + + + +
 
+Functions
       
human_readable(byte)
+

+ + + + + +
 
+Data
       MAX_EXPONENT = 5
+ONE_KB = 1024
+UNITS = 'BKMGTP'
+ \ No newline at end of file diff --git a/doc/pydoc/ranger.ext.openstruct.html b/doc/pydoc/ranger.ext.openstruct.html new file mode 100644 index 00000000..798c7352 --- /dev/null +++ b/doc/pydoc/ranger.ext.openstruct.html @@ -0,0 +1,53 @@ + +Python: module ranger.ext.openstruct + + + + + +
 
+ 
ranger.ext.openstruct
index
/home/hut/work/ranger/ranger/ext/openstruct.py
+

+

+ + + + + +
 
+Classes
       
+
builtins.object +
+
+
OpenStruct +
+
+
+

+ + + + + +
 
+class OpenStruct(builtins.object)
    Methods defined here:
+
__contains__(self, key)
+ +
__getitem__(self, key)
+ +
__init__(self, _OpenStruct__dictionary=None, **_OpenStruct__keywords)
+ +
__setitem__(self, key, value)
+ +
+Data descriptors defined here:
+
__dict__
+
dictionary for instance variables (if defined)
+
+
__weakref__
+
list of weak references to the object (if defined)
+
+

+ \ No newline at end of file diff --git a/doc/pydoc/ranger.ext.relpath.html b/doc/pydoc/ranger.ext.relpath.html new file mode 100644 index 00000000..0e431e12 --- /dev/null +++ b/doc/pydoc/ranger.ext.relpath.html @@ -0,0 +1,32 @@ + +Python: module ranger.ext.relpath + + + + + +
 
+ 
ranger.ext.relpath
index
/home/hut/work/ranger/ranger/ext/relpath.py
+

+

+ + + + + +
 
+Modules
       
os
+
ranger
+

+ + + + + +
 
+Functions
       
relpath(*paths)
returns the path relative to rangers library directory
+
relpath_conf(*paths)
returns the path relative to rangers configuration directory
+
+ \ No newline at end of file diff --git a/doc/pydoc/ranger.ext.shutil_generatorized.html b/doc/pydoc/ranger.ext.shutil_generatorized.html new file mode 100644 index 00000000..bee4db77 --- /dev/null +++ b/doc/pydoc/ranger.ext.shutil_generatorized.html @@ -0,0 +1,257 @@ + +Python: module ranger.ext.shutil_generatorized + + + + + +
 
+ 
ranger.ext.shutil_generatorized
index
/home/hut/work/ranger/ranger/ext/shutil_generatorized.py
+

Utility functions for copying files and directory trees.

+XXX The functions here don't copy the resource fork or other metadata on Mac.

+

+ + + + + +
 
+Modules
       
fnmatch
+
os
+
stat
+
sys
+

+ + + + + +
 
+Classes
       
+
builtins.EnvironmentError(builtins.Exception) +
+
+
Error +
SpecialFileError +
+
+
+

+ + + + + +
 
+class Error(builtins.EnvironmentError)
    
Method resolution order:
+
Error
+
builtins.EnvironmentError
+
builtins.Exception
+
builtins.BaseException
+
builtins.object
+
+
+Data descriptors defined here:
+
__weakref__
+
list of weak references to the object (if defined)
+
+
+Methods inherited from builtins.EnvironmentError:
+
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
+ +
__reduce__(...)
+ +
__str__(...)
x.__str__() <==> str(x)
+ +
+Data descriptors inherited from builtins.EnvironmentError:
+
errno
+
exception errno
+
+
filename
+
exception filename
+
+
strerror
+
exception strerror
+
+
+Data and other attributes inherited from builtins.EnvironmentError:
+
__new__ = <built-in method __new__ of type object at 0x7f327d94ac80>
T.__new__(S, ...) -> a new object with type S, a subtype of T
+ +
+Methods inherited from builtins.BaseException:
+
__delattr__(...)
x.__delattr__('name') <==> del x.name
+ +
__getattribute__(...)
x.__getattribute__('name') <==> x.name
+ +
__repr__(...)
x.__repr__() <==> repr(x)
+ +
__setattr__(...)
x.__setattr__('name', value) <==> x.name = value
+ +
__setstate__(...)
+ +
with_traceback(...)
Exception.with_traceback(tb) --
+set self.__traceback__ to tb and return self.
+ +
+Data descriptors inherited from builtins.BaseException:
+
__cause__
+
exception cause
+
+
__context__
+
exception context
+
+
__dict__
+
+
__traceback__
+
+
args
+
+

+ + + + + + + +
 
+class SpecialFileError(builtins.EnvironmentError)
   Raised when trying to do a kind of operation (e.g. copying) which is
+not supported on a special file (e.g. a named pipe)
 
 
Method resolution order:
+
SpecialFileError
+
builtins.EnvironmentError
+
builtins.Exception
+
builtins.BaseException
+
builtins.object
+
+
+Data descriptors defined here:
+
__weakref__
+
list of weak references to the object (if defined)
+
+
+Methods inherited from builtins.EnvironmentError:
+
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
+ +
__reduce__(...)
+ +
__str__(...)
x.__str__() <==> str(x)
+ +
+Data descriptors inherited from builtins.EnvironmentError:
+
errno
+
exception errno
+
+
filename
+
exception filename
+
+
strerror
+
exception strerror
+
+
+Data and other attributes inherited from builtins.EnvironmentError:
+
__new__ = <built-in method __new__ of type object at 0x7f327d94ac80>
T.__new__(S, ...) -> a new object with type S, a subtype of T
+ +
+Methods inherited from builtins.BaseException:
+
__delattr__(...)
x.__delattr__('name') <==> del x.name
+ +
__getattribute__(...)
x.__getattribute__('name') <==> x.name
+ +
__repr__(...)
x.__repr__() <==> repr(x)
+ +
__setattr__(...)
x.__setattr__('name', value) <==> x.name = value
+ +
__setstate__(...)
+ +
with_traceback(...)
Exception.with_traceback(tb) --
+set self.__traceback__ to tb and return self.
+ +
+Data descriptors inherited from builtins.BaseException:
+
__cause__
+
exception cause
+
+
__context__
+
exception context
+
+
__dict__
+
+
__traceback__
+
+
args
+
+

+ + + + + +
 
+Functions
       
copy(src, dst)
Copy data and mode bits ("cp src dst").

+The destination may be a directory.
+
copy2(src, dst)
Copy data and all stat info ("cp -p src dst").

+The destination may be a directory.
+
copyfile(src, dst)
Copy data from src to dst
+
copyfileobj(fsrc, fdst, length=16384)
copy data from file-like object fsrc to file-like object fdst
+
copymode(src, dst)
Copy mode bits from src to dst
+
copystat(src, dst)
Copy all stat info (mode bits, atime, mtime, flags) from src to dst
+
copytree(src, dst, symlinks=False, ignore=None)
Recursively copy a directory tree using copy2().

+The destination directory must not already exist.
+If exception(s) occur, an Error is raised with a list of reasons.

+If the optional symlinks flag is true, symbolic links in the
+source tree result in symbolic links in the destination tree; if
+it is false, the contents of the files pointed to by symbolic
+links are copied.

+The optional ignore argument is a callable. If given, it
+is called with the `src` parameter, which is the directory
+being visited by copytree(), and `names` which is the list of
+`src` contents, as returned by os.listdir():

+    callable(src, names) -> ignored_names

+Since copytree() is called recursively, the callable will be
+called once for each directory that is copied. It returns a
+list of names relative to the `src` directory that should
+not be copied.

+XXX Consider this example code rather than the ultimate tool.
+
move(src, dst)
Recursively move a file or directory to another location. This is
+similar to the Unix "mv" command.

+If the destination is a directory or a symlink to a directory, the source
+is moved inside the directory. The destination path must not already
+exist.

+If the destination already exists but is not a directory, it may be
+overwritten depending on os.rename() semantics.

+If the destination is on our current filesystem, then rename() is used.
+Otherwise, src is copied to the destination and then removed.
+A lot more could be done here...  A look at a mv.c shows a lot of
+the issues this implementation glosses over.
+
rmtree(path, ignore_errors=False, onerror=None)
Recursively delete a directory tree.

+If ignore_errors is set, errors are ignored; otherwise, if onerror
+is set, it is called to handle the error with arguments (func,
+path, exc_info) where func is os.listdir, os.remove, or os.rmdir;
+path is the argument to that function that caused it to fail; and
+exc_info is a tuple returned by sys.exc_info().  If ignore_errors
+is false and onerror is None, an exception is raised.
+

+ + + + + +
 
+Data
       __all__ = ['copyfileobj', 'copyfile', 'copymode', 'copystat', 'copy', 'copy2', 'copytree', 'move', 'rmtree', 'Error', 'SpecialFileError']
+ \ No newline at end of file diff --git a/doc/pydoc/ranger.ext.waitpid_no_intr.html b/doc/pydoc/ranger.ext.waitpid_no_intr.html new file mode 100644 index 00000000..147d6896 --- /dev/null +++ b/doc/pydoc/ranger.ext.waitpid_no_intr.html @@ -0,0 +1,22 @@ + +Python: module ranger.ext.waitpid_no_intr + + + + + +
 
+ 
ranger.ext.waitpid_no_intr
index
/home/hut/work/ranger/ranger/ext/waitpid_no_intr.py
+

+

+ + + + + +
 
+Functions
       
waitpid_no_intr(pid)
catch interrupts which occur while using os.waitpid
+
+ \ No newline at end of file diff --git a/doc/pydoc/ranger.fm.html b/doc/pydoc/ranger.fm.html new file mode 100644 index 00000000..2d4f7f62 --- /dev/null +++ b/doc/pydoc/ranger.fm.html @@ -0,0 +1,182 @@ + +Python: module ranger.fm + + + + + +
 
+ 
ranger.fm (version 1.0.0)
index
/home/hut/work/ranger/ranger/fm.py
+

+

+ + + + + +
 
+Classes
       
+
ranger.actions.Actions(ranger.shared.EnvironmentAware, ranger.shared.settings.SettingsAware) +
+
+
FM +
+
+
+

+ + + + + +
 
+class FM(ranger.actions.Actions)
    
Method resolution order:
+
FM
+
ranger.actions.Actions
+
ranger.shared.EnvironmentAware
+
ranger.shared.Awareness
+
ranger.shared.settings.SettingsAware
+
builtins.object
+
+
+Methods defined here:
+
__init__(self, ui=None, bookmarks=None)
Initialize FM.
+ +
block_input(self, sec=0)
+ +
initialize(self)
If ui/bookmarks are None, they will be initialized here.
+ +
loop(self)
The main loop consists of:
+1. reloading bookmarks if outdated
+2. drawing and finalizing ui
+3. reading and handling user input
+4. after X loops: collecting unused directory objects
+ +
+Data and other attributes defined here:
+
input_blocked = False
+ +
input_blocked_until = 0
+ +
stderr_to_out = False
+ +
+Methods inherited from ranger.actions.Actions:
+
cd = enter_dir(self, path)
Enter the directory at the given path
+ +
copy(self)
Copy the selected items
+ +
cut(self)
+ +
delete(self)
+ +
edit_file(self)
Calls execute_file with the current file and app='editor'
+ +
enter_bookmark(self, key)
Enter the bookmark with the name <key>
+ +
enter_dir(self, path)
Enter the directory at the given path
+ +
execute_file(self, files, app='', flags='', mode=0)
Execute a file.
+app is the name of a method in Applications, without the "app_"
+flags is a string consisting of applications.ALLOWED_FLAGS
+mode is a positive integer.
+Both flags and mode specify how the program is run.
+ +
exit(self)
Exit the program
+ +
force_load_preview(self)
+ +
handle_mouse(self)
Handle mouse-buttons if one was pressed
+ +
history_go(self, relative)
Move back and forth in the history
+ +
interrupt(self)
Waits a short time.
+If CTRL+C is pressed while waiting, the program will be exited.
+ +
mark(self, all=False, toggle=False, val=None, movedown=None)
A wrapper for the directory.mark_xyz functions.

+Arguments:
+all - change all files of the current directory at once?
+toggle - toggle the marked-status?
+val - mark or unmark?
+ +
mkdir(self, name)
+ +
move_left(self, n=1)
Enter the parent directory
+ +
move_pointer(self, relative=0, absolute=None)
Move the pointer down by <relative> or to <absolute>
+ +
move_pointer_by_pages(self, relative)
Move the pointer down by <relative> pages
+ +
move_pointer_by_percentage(self, relative=0, absolute=None)
Move the pointer down by <relative>% or to <absolute>%
+ +
move_right(self, mode=0)
Enter the current directory or execute the current file
+ +
notify(self, text, duration=4, bad=False)
+ +
open_console(self, mode=':', string='')
Open the console if the current UI supports that
+ +
paste(self)
Paste the selected items into the current directory
+ +
redraw_window(self)
Redraw the window
+ +
reset(self)
Reset the filemanager, clearing the directory buffer
+ +
resize(self)
Update the size of the UI
+ +
scroll(self, relative)
Scroll down by <relative> lines
+ +
search_backward(self)
Search backward for the regexp in self.env.last_search
+ +
search_forward(self)
Search forward for the regexp in self.env.last_search
+ +
set_bookmark(self, key)
Set the bookmark with the name <key> to the current directory
+ +
sort(self, func=None, reverse=None)
+ +
spawn(self, command)
+ +
toggle_boolean_option(self, string)
Toggle a boolean option named <string>
+ +
unset_bookmark(self, key)
Delete the bookmark with the name <key>
+ +
+Data and other attributes inherited from ranger.shared.EnvironmentAware:
+
env = None
+ +
+Data descriptors inherited from ranger.shared.Awareness:
+
__dict__
+
dictionary for instance variables (if defined)
+
+
__weakref__
+
list of weak references to the object (if defined)
+
+
+Data and other attributes inherited from ranger.shared.settings.SettingsAware:
+
settings = <ranger.ext.openstruct.OpenStruct object at 0x154e450>
+ +

+ + + + + +
 
+Functions
       
time(...)
time() -> floating point number

+Return the current time in seconds since the Epoch.
+Fractions of a second may be present if the system clock provides them.
+

+ + + + + +
 
+Data
       CTRL_C = 3
+TICKS_BEFORE_COLLECTING_GARBAGE = 100
+__version__ = '1.0.0'
+ \ No newline at end of file diff --git a/doc/pydoc/ranger.fsobject.directory.html b/doc/pydoc/ranger.fsobject.directory.html new file mode 100644 index 00000000..ee87c5bb --- /dev/null +++ b/doc/pydoc/ranger.fsobject.directory.html @@ -0,0 +1,344 @@ + +Python: module ranger.fsobject.directory + + + + + +
 
+ 
ranger.fsobject.directory
index
/home/hut/work/ranger/ranger/fsobject/directory.py
+

+

+ + + + + +
 
+Modules
       
ranger
+

+ + + + + +
 
+Classes
       
+
builtins.Exception(builtins.BaseException) +
+
+
NoDirectoryGiven +
+
+
ranger.ext.accumulator.Accumulator(builtins.object) +
+
+
Directory(ranger.fsobject.fsobject.FileSystemObject, ranger.ext.accumulator.Accumulator, ranger.shared.settings.SettingsAware) +
+
+
ranger.fsobject.fsobject.FileSystemObject(ranger.shared.mimetype.MimeTypeAware, ranger.shared.FileManagerAware) +
+
+
Directory(ranger.fsobject.fsobject.FileSystemObject, ranger.ext.accumulator.Accumulator, ranger.shared.settings.SettingsAware) +
+
+
ranger.shared.settings.SettingsAware(builtins.object) +
+
+
Directory(ranger.fsobject.fsobject.FileSystemObject, ranger.ext.accumulator.Accumulator, ranger.shared.settings.SettingsAware) +
+
+
+

+ + + + + +
 
+class Directory(ranger.fsobject.fsobject.FileSystemObject, ranger.ext.accumulator.Accumulator, ranger.shared.settings.SettingsAware)
    
Method resolution order:
+
Directory
+
ranger.fsobject.fsobject.FileSystemObject
+
ranger.shared.mimetype.MimeTypeAware
+
ranger.shared.FileManagerAware
+
ranger.shared.Awareness
+
ranger.ext.accumulator.Accumulator
+
ranger.shared.settings.SettingsAware
+
builtins.object
+
+
+Methods defined here:
+
__eq__(self, other)
Check for equality of the directories paths
+ +
__getitem__(self, key)
Get the file by its index
+ +
__hash__(self)
+ +
__init__(self, path)
+ +
__len__(self)
The number of containing files
+ +
__neq__(self, other)
Check for inequality of the directories paths
+ +
__nonzero__(self)
Always True
+ +
correct_pointer(self)
Make sure the pointer is in the valid range
+ +
empty(self)
Is the directory empty?
+ +
get_list(self)
+ +
get_selection(self)
READ ONLY
+ +
load_bit_by_bit(self)
Returns a generator which load a part of the directory
+in each iteration.
+ +
load_content(self, schedule=None)
Loads the contents of the directory. Use this sparingly since
+it takes rather long.
+ +
load_content_if_outdated(self, *a, **k)
Load the contents of the directory if it's
+outdated or not done yet
+ +
load_content_once(self, *a, **k)
Load the contents of the directory if not done yet
+ +
mark_all(self, val)
+ +
mark_item(self, item, val)
+ +
move_to_obj(self, arg)
+ +
search(self, arg, direction=1)
Search for a regular expression
+ +
sort(self)
Sort the containing files
+ +
sort_if_outdated(self)
Sort the containing files if they are outdated
+ +
toggle_all_marks(self)
+ +
toggle_mark(self, item)
+ +
unload(self)
+ +
+Data and other attributes defined here:
+
enterable = False
+ +
filenames = None
+ +
files = None
+ +
filter = None
+ +
load_generator = None
+ +
loading = False
+ +
marked_items = None
+ +
old_directories_first = None
+ +
old_reverse = None
+ +
old_show_hidden = None
+ +
old_sort = None
+ +
scroll_begin = 0
+ +
scroll_offset = 0
+ +
sort_dict = {'basename': <function sort_by_basename at 0x154a408>, 'mtime': <function <lambda> at 0x1569518>, 'size': <function <lambda> at 0x1569490>, 'type': <function <lambda> at 0x15695a0>}
+ +
+Methods inherited from ranger.fsobject.fsobject.FileSystemObject:
+
__str__(self)
returns a string containing the absolute path
+ +
get_description(self)
+ +
get_permission_string(self)
+ +
go(self)
enter the directory if the filemanager is running
+ +
is_older_than(self, seconds)
returns whether this object wasn't use()d in the last n seconds
+ +
load(self)
reads useful information about the filesystem-object from the
+filesystem and caches it for later use
+ +
load_if_outdated(self)
Calls load() if the currently cached information is outdated
+or nonexistant.
+ +
load_once(self)
calls load() if it has not been called at least once yet
+ +
mark(self, boolean)
+ +
set_mimetype(self)
assign attributes such as self.video according to the mimetype
+ +
use(self)
mark the filesystem-object as used at the current time
+ +
+Data and other attributes inherited from ranger.fsobject.fsobject.FileSystemObject:
+
accessible = False
+ +
audio = False
+ +
basename = None
+ +
basename_lower = None
+ +
container = False
+ +
content_loaded = False
+ +
dirname = None
+ +
document = False
+ +
exists = False
+ +
extension = None
+ +
force_load = False
+ +
image = False
+ +
infostring = None
+ +
islink = False
+ +
last_used = None
+ +
loaded = False
+ +
marked = False
+ +
media = False
+ +
mimetype_tuple = ()
+ +
path = None
+ +
permissions = None
+ +
readlink = None
+ +
runnable = False
+ +
size = 0
+ +
stat = None
+ +
stopped = False
+ +
tagged = False
+ +
type = 'unknown'
+ +
video = False
+ +
+Data descriptors inherited from ranger.shared.mimetype.MimeTypeAware:
+
__dict__
+
dictionary for instance variables (if defined)
+
+
__weakref__
+
list of weak references to the object (if defined)
+
+
+Data and other attributes inherited from ranger.shared.mimetype.MimeTypeAware:
+
mimetypes = {}
+ +
+Data and other attributes inherited from ranger.shared.FileManagerAware:
+
fm = None
+ +
+Methods inherited from ranger.ext.accumulator.Accumulator:
+
move(self, relative=0, absolute=None)
+ +
pointer_is_synced(self)
+ +
sync_index(self, **kw)
+ +
+Data and other attributes inherited from ranger.shared.settings.SettingsAware:
+
settings = <ranger.ext.openstruct.OpenStruct object at 0x154e450>
+ +

+ + + + + +
 
+class NoDirectoryGiven(builtins.Exception)
    
Method resolution order:
+
NoDirectoryGiven
+
builtins.Exception
+
builtins.BaseException
+
builtins.object
+
+
+Data descriptors defined here:
+
__weakref__
+
list of weak references to the object (if defined)
+
+
+Methods inherited from builtins.Exception:
+
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
+ +
+Data and other attributes inherited from builtins.Exception:
+
__new__ = <built-in method __new__ of type object at 0x7f327d94a120>
T.__new__(S, ...) -> a new object with type S, a subtype of T
+ +
+Methods inherited from builtins.BaseException:
+
__delattr__(...)
x.__delattr__('name') <==> del x.name
+ +
__getattribute__(...)
x.__getattribute__('name') <==> x.name
+ +
__reduce__(...)
+ +
__repr__(...)
x.__repr__() <==> repr(x)
+ +
__setattr__(...)
x.__setattr__('name', value) <==> x.name = value
+ +
__setstate__(...)
+ +
__str__(...)
x.__str__() <==> str(x)
+ +
with_traceback(...)
Exception.with_traceback(tb) --
+set self.__traceback__ to tb and return self.
+ +
+Data descriptors inherited from builtins.BaseException:
+
__cause__
+
exception cause
+
+
__context__
+
exception context
+
+
__dict__
+
+
__traceback__
+
+
args
+
+

+ + + + + +
 
+Functions
       
sort_by_basename(path)
returns path.basename (for sorting)
+
sort_by_directory(path)
returns 0 if path is a directory, otherwise 1 (for sorting)
+

+ + + + + +
 
+Data
       BAD_INFO = None
+ \ No newline at end of file diff --git a/doc/pydoc/ranger.fsobject.file.html b/doc/pydoc/ranger.fsobject.file.html new file mode 100644 index 00000000..b2929879 --- /dev/null +++ b/doc/pydoc/ranger.fsobject.file.html @@ -0,0 +1,148 @@ + +Python: module ranger.fsobject.file + + + + + +
 
+ 
ranger.fsobject.file
index
/home/hut/work/ranger/ranger/fsobject/file.py
+

+

+ + + + + +
 
+Classes
       
+
ranger.fsobject.fsobject.FileSystemObject(ranger.shared.mimetype.MimeTypeAware, ranger.shared.FileManagerAware) +
+
+
File +
+
+
+

+ + + + + +
 
+class File(ranger.fsobject.fsobject.FileSystemObject)
    
Method resolution order:
+
File
+
ranger.fsobject.fsobject.FileSystemObject
+
ranger.shared.mimetype.MimeTypeAware
+
ranger.shared.FileManagerAware
+
ranger.shared.Awareness
+
builtins.object
+
+
+Methods inherited from ranger.fsobject.fsobject.FileSystemObject:
+
__init__(self, path)
+ +
__str__(self)
returns a string containing the absolute path
+ +
get_description(self)
+ +
get_permission_string(self)
+ +
go(self)
enter the directory if the filemanager is running
+ +
is_older_than(self, seconds)
returns whether this object wasn't use()d in the last n seconds
+ +
load(self)
reads useful information about the filesystem-object from the
+filesystem and caches it for later use
+ +
load_if_outdated(self)
Calls load() if the currently cached information is outdated
+or nonexistant.
+ +
load_once(self)
calls load() if it has not been called at least once yet
+ +
mark(self, boolean)
+ +
set_mimetype(self)
assign attributes such as self.video according to the mimetype
+ +
use(self)
mark the filesystem-object as used at the current time
+ +
+Data and other attributes inherited from ranger.fsobject.fsobject.FileSystemObject:
+
accessible = False
+ +
audio = False
+ +
basename = None
+ +
basename_lower = None
+ +
container = False
+ +
content_loaded = False
+ +
dirname = None
+ +
document = False
+ +
exists = False
+ +
extension = None
+ +
force_load = False
+ +
image = False
+ +
infostring = None
+ +
islink = False
+ +
last_used = None
+ +
loaded = False
+ +
marked = False
+ +
media = False
+ +
mimetype_tuple = ()
+ +
path = None
+ +
permissions = None
+ +
readlink = None
+ +
runnable = False
+ +
size = 0
+ +
stat = None
+ +
stopped = False
+ +
tagged = False
+ +
type = 'unknown'
+ +
video = False
+ +
+Data descriptors inherited from ranger.shared.mimetype.MimeTypeAware:
+
__dict__
+
dictionary for instance variables (if defined)
+
+
__weakref__
+
list of weak references to the object (if defined)
+
+
+Data and other attributes inherited from ranger.shared.mimetype.MimeTypeAware:
+
mimetypes = {}
+ +
+Data and other attributes inherited from ranger.shared.FileManagerAware:
+
fm = None
+ +

+ \ No newline at end of file diff --git a/doc/pydoc/ranger.fsobject.fsobject.html b/doc/pydoc/ranger.fsobject.fsobject.html new file mode 100644 index 00000000..ecdf11f8 --- /dev/null +++ b/doc/pydoc/ranger.fsobject.fsobject.html @@ -0,0 +1,167 @@ + +Python: module ranger.fsobject.fsobject + + + + + +
 
+ 
ranger.fsobject.fsobject
index
/home/hut/work/ranger/ranger/fsobject/fsobject.py
+

+

+ + + + + +
 
+Classes
       
+
ranger.shared.FileManagerAware(ranger.shared.Awareness) +
+
+
FileSystemObject(ranger.shared.mimetype.MimeTypeAware, ranger.shared.FileManagerAware) +
+
+
ranger.shared.mimetype.MimeTypeAware(builtins.object) +
+
+
FileSystemObject(ranger.shared.mimetype.MimeTypeAware, ranger.shared.FileManagerAware) +
+
+
+

+ + + + + +
 
+class FileSystemObject(ranger.shared.mimetype.MimeTypeAware, ranger.shared.FileManagerAware)
    
Method resolution order:
+
FileSystemObject
+
ranger.shared.mimetype.MimeTypeAware
+
ranger.shared.FileManagerAware
+
ranger.shared.Awareness
+
builtins.object
+
+
+Methods defined here:
+
__init__(self, path)
+ +
__str__(self)
returns a string containing the absolute path
+ +
get_description(self)
+ +
get_permission_string(self)
+ +
go(self)
enter the directory if the filemanager is running
+ +
is_older_than(self, seconds)
returns whether this object wasn't use()d in the last n seconds
+ +
load(self)
reads useful information about the filesystem-object from the
+filesystem and caches it for later use
+ +
load_if_outdated(self)
Calls load() if the currently cached information is outdated
+or nonexistant.
+ +
load_once(self)
calls load() if it has not been called at least once yet
+ +
mark(self, boolean)
+ +
set_mimetype(self)
assign attributes such as self.video according to the mimetype
+ +
use(self)
mark the filesystem-object as used at the current time
+ +
+Data and other attributes defined here:
+
accessible = False
+ +
audio = False
+ +
basename = None
+ +
basename_lower = None
+ +
container = False
+ +
content_loaded = False
+ +
dirname = None
+ +
document = False
+ +
exists = False
+ +
extension = None
+ +
force_load = False
+ +
image = False
+ +
infostring = None
+ +
islink = False
+ +
last_used = None
+ +
loaded = False
+ +
marked = False
+ +
media = False
+ +
mimetype_tuple = ()
+ +
path = None
+ +
permissions = None
+ +
readlink = None
+ +
runnable = False
+ +
size = 0
+ +
stat = None
+ +
stopped = False
+ +
tagged = False
+ +
type = 'unknown'
+ +
video = False
+ +
+Data descriptors inherited from ranger.shared.mimetype.MimeTypeAware:
+
__dict__
+
dictionary for instance variables (if defined)
+
+
__weakref__
+
list of weak references to the object (if defined)
+
+
+Data and other attributes inherited from ranger.shared.mimetype.MimeTypeAware:
+
mimetypes = {}
+ +
+Data and other attributes inherited from ranger.shared.FileManagerAware:
+
fm = None
+ +

+ + + + + +
 
+Data
       BAD_INFO = None
+CONTAINER_EXTENSIONS = ['rar', 'zip', 'tar', 'gz', 'bz', 'bz2', 'tgz', '7z', 'iso', 'cab']
+DOCUMENT_BASENAMES = ['README', 'TODO', 'LICENSE']
+DOCUMENT_EXTENSIONS = ['pdf', 'doc', 'ppt', 'odt']
+T_DIRECTORY = 'directory'
+T_FILE = 'file'
+T_NONEXISTANT = 'nonexistant'
+T_UNKNOWN = 'unknown'
+ \ No newline at end of file diff --git a/doc/pydoc/ranger.fsobject.html b/doc/pydoc/ranger.fsobject.html new file mode 100644 index 00000000..fff54d0c --- /dev/null +++ b/doc/pydoc/ranger.fsobject.html @@ -0,0 +1,111 @@ + +Python: package ranger.fsobject + + + + + +
 
+ 
ranger.fsobject
index
/home/hut/work/ranger/ranger/fsobject/__init__.py
+

FileSystemObjects are representation of files and directories
+with fast access to their properties through caching

+

+ + + + + +
 
+Package Contents
       
directory
+
file
+
fsobject
+
loader
+

+ + + + + +
 
+Classes
       
+
builtins.Exception(builtins.BaseException) +
+
+
NotLoadedYet +
+
+
+

+ + + + + +
 
+class NotLoadedYet(builtins.Exception)
    
Method resolution order:
+
NotLoadedYet
+
builtins.Exception
+
builtins.BaseException
+
builtins.object
+
+
+Data descriptors defined here:
+
__weakref__
+
list of weak references to the object (if defined)
+
+
+Methods inherited from builtins.Exception:
+
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
+ +
+Data and other attributes inherited from builtins.Exception:
+
__new__ = <built-in method __new__ of type object at 0x7f327d94a120>
T.__new__(S, ...) -> a new object with type S, a subtype of T
+ +
+Methods inherited from builtins.BaseException:
+
__delattr__(...)
x.__delattr__('name') <==> del x.name
+ +
__getattribute__(...)
x.__getattribute__('name') <==> x.name
+ +
__reduce__(...)
+ +
__repr__(...)
x.__repr__() <==> repr(x)
+ +
__setattr__(...)
x.__setattr__('name', value) <==> x.name = value
+ +
__setstate__(...)
+ +
__str__(...)
x.__str__() <==> str(x)
+ +
with_traceback(...)
Exception.with_traceback(tb) --
+set self.__traceback__ to tb and return self.
+ +
+Data descriptors inherited from builtins.BaseException:
+
__cause__
+
exception cause
+
+
__context__
+
exception context
+
+
__dict__
+
+
__traceback__
+
+
args
+
+

+ + + + + +
 
+Data
       BAD_INFO = None
+T_DIRECTORY = 'directory'
+T_FILE = 'file'
+T_NONEXISTANT = 'nonexistant'
+T_UNKNOWN = 'unknown'
+ \ No newline at end of file diff --git a/doc/pydoc/ranger.fsobject.loader.html b/doc/pydoc/ranger.fsobject.loader.html new file mode 100644 index 00000000..2e2cc099 --- /dev/null +++ b/doc/pydoc/ranger.fsobject.loader.html @@ -0,0 +1,122 @@ + +Python: module ranger.fsobject.loader + + + + + +
 
+ 
ranger.fsobject.loader
index
/home/hut/work/ranger/ranger/fsobject/loader.py
+

+

+ + + + + +
 
+Modules
       
math
+

+ + + + + +
 
+Classes
       
+
builtins.object +
+
+
LoadableObject +
+
+
ranger.shared.FileManagerAware(ranger.shared.Awareness) +
+
+
Loader +
+
+
+

+ + + + + +
 
+class LoadableObject(builtins.object)
    Methods defined here:
+
__init__(self, gen, descr)
+ +
get_description(self)
+ +
+Data descriptors defined here:
+
__dict__
+
dictionary for instance variables (if defined)
+
+
__weakref__
+
list of weak references to the object (if defined)
+
+

+ + + + + +
 
+class Loader(ranger.shared.FileManagerAware)
    
Method resolution order:
+
Loader
+
ranger.shared.FileManagerAware
+
ranger.shared.Awareness
+
builtins.object
+
+
+Methods defined here:
+
__init__(self)
+ +
add(self, obj)
Add an object to the queue.
+It should have a load_generator method.
+ +
has_work(self)
Is there anything to load?
+ +
move(self, _from, to)
+ +
remove(self, item=None, index=None)
+ +
rotate(self)
Rotate the throbber
+ +
work(self)
Load items from the queue if there are any.
+Stop after approximately self.seconds_of_work_time.
+ +
+Data and other attributes defined here:
+
seconds_of_work_time = 0.05
+ +
+Data and other attributes inherited from ranger.shared.FileManagerAware:
+
fm = None
+ +
+Data descriptors inherited from ranger.shared.Awareness:
+
__dict__
+
dictionary for instance variables (if defined)
+
+
__weakref__
+
list of weak references to the object (if defined)
+
+

+ + + + + +
 
+Functions
       
status_generator()
Generate a rotating line which can be used as a throbber
+
time(...)
time() -> floating point number

+Return the current time in seconds since the Epoch.
+Fractions of a second may be present if the system clock provides them.
+
+ \ No newline at end of file diff --git a/doc/pydoc/ranger.gui.color.html b/doc/pydoc/ranger.gui.color.html new file mode 100644 index 00000000..a1e48be3 --- /dev/null +++ b/doc/pydoc/ranger.gui.color.html @@ -0,0 +1,52 @@ + +Python: module ranger.gui.color + + + + + +
 
+ 
ranger.gui.color
index
/home/hut/work/ranger/ranger/gui/color.py
+

Contains abbreviations to curses' color/attribute constants.

+

+ + + + + +
 
+Modules
       
curses
+

+ + + + + +
 
+Functions
       
get_color(fg, bg)
Returns the color pair for the given fg/bg combination.
+

+ + + + + +
 
+Data
       COLOR_PAIRS = {10: 0}
+black = 0
+blue = 4
+bold = 2097152
+cyan = 6
+default = -1
+default_colors = (-1, -1, 0)
+green = 2
+invisible = 8388608
+magenta = 5
+normal = 0
+red = 1
+reverse = 262144
+underline = 131072
+white = 7
+yellow = 3
+ \ No newline at end of file diff --git a/doc/pydoc/ranger.gui.colorscheme.html b/doc/pydoc/ranger.gui.colorscheme.html new file mode 100644 index 00000000..dd12acae --- /dev/null +++ b/doc/pydoc/ranger.gui.colorscheme.html @@ -0,0 +1,62 @@ + +Python: module ranger.gui.colorscheme + + + + + +
 
+ 
ranger.gui.colorscheme
index
/home/hut/work/ranger/ranger/gui/colorscheme.py
+

+

+ + + + + +
 
+Classes
       
+
builtins.object +
+
+
ColorScheme +
+
+
+

+ + + + + +
 
+class ColorScheme(builtins.object)
    Methods defined here:
+
__init__(self)
+ +
get(self, *keys)
Determine the (fg, bg, attr) tuple or get it from cache
+ +
get_attr(self, *keys)
Returns the curses attr integer for the specified keys
+ +
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!
+ +
+Data descriptors defined here:
+
__dict__
+
dictionary for instance variables (if defined)
+
+
__weakref__
+
list of weak references to the object (if defined)
+
+

+ + + + + +
 
+Data
       CONTEXT_KEYS = ['reset', 'error', 'in_display', 'in_statusbar', 'in_titlebar', 'in_console', 'in_notify', 'in_pman', 'directory', 'file', 'hostname', 'executable', 'media', 'link', 'video', 'audio', 'image', 'media', 'document', 'container', ...]
+ \ No newline at end of file diff --git a/doc/pydoc/ranger.gui.defaultui.html b/doc/pydoc/ranger.gui.defaultui.html new file mode 100644 index 00000000..4d80acac --- /dev/null +++ b/doc/pydoc/ranger.gui.defaultui.html @@ -0,0 +1,173 @@ + +Python: module ranger.gui.defaultui + + + + + +
 
+ 
ranger.gui.defaultui
index
/home/hut/work/ranger/ranger/gui/defaultui.py
+

+

+ + + + + +
 
+Classes
       
+
ranger.gui.ui.UI(ranger.gui.displayable.DisplayableContainer) +
+
+
DefaultUI +
+
+
+

+ + + + + +
 
+class DefaultUI(ranger.gui.ui.UI)
    
Method resolution order:
+
DefaultUI
+
ranger.gui.ui.UI
+
ranger.gui.displayable.DisplayableContainer
+
ranger.gui.displayable.Displayable
+
ranger.shared.EnvironmentAware
+
ranger.shared.FileManagerAware
+
ranger.shared.Awareness
+
ranger.shared.settings.SettingsAware
+
builtins.object
+
+
+Methods defined here:
+
close_console(self)
+ +
close_pman(self)
+ +
display(self, *a, **k)
+ +
hint(self, text=None)
+ +
open_console(self, mode, string='')
+ +
open_pman(self)
+ +
poke(self)
+ +
scroll(self, relative)
+ +
setup(self)
Build up the UI by initializing widgets.
+ +
throbber(self, string='.', remove=False)
+ +
update_size(self)
resize all widgets
+ +
+Methods inherited from ranger.gui.ui.UI:
+
__init__(self, commandlist=None, env=None, fm=None)
+ +
destroy(self)
Destroy all widgets and turn off curses
+ +
draw(self)
Erase the window, then draw all objects in the container
+ +
finalize(self)
Finalize every object in container and refresh the window
+ +
get_next_key(self)
Waits for key input and returns the pressed key
+ +
handle_key(self, key)
Handles key input
+ +
handle_mouse(self)
Handles mouse input
+ +
initialize(self)
initialize curses, then call setup (at the first time) and resize.
+ +
redraw(self)
Redraw all widgets
+ +
redraw_window(self)
Redraw the window. This only calls self.win.redrawwin().
+ +
set_load_mode(self, boolean)
+ +
suspend(self)
Turn off curses
+ +
+Data and other attributes inherited from ranger.gui.ui.UI:
+
is_set_up = False
+ +
load_mode = False
+ +
mousemask = 268435455
+ +
+Methods inherited from ranger.gui.displayable.DisplayableContainer:
+
add_obj(self, *objs)
+ +
click(self, event)
Recursively called on objects in container
+ +
get_focused_obj(self)
Finds a focused displayable object in the container.
+ +
press(self, key)
Recursively called on objects in container
+ +
+Data and other attributes inherited from ranger.gui.displayable.DisplayableContainer:
+
container = None
+ +
+Methods inherited from ranger.gui.displayable.Displayable:
+
__contains__(self, item)
Is item inside the boundaries?
+item can be an iterable like [y, x] or an object with x and y methods.
+ +
__nonzero__(self)
Always True
+ +
color(self, keylist=None, *keys)
Change the colors from now on.
+ +
color_at(self, y, x, wid, keylist=None, *keys)
Change the colors at the specified position
+ +
color_reset(self)
Change the colors to the default colors
+ +
contains_point(self, y, x)
Test if the point lies within the boundaries of this object
+ +
resize(self, y, x, hei=None, wid=None)
Resize the widget
+ +
+Data and other attributes inherited from ranger.gui.displayable.Displayable:
+
colorscheme = None
+ +
focused = False
+ +
visible = True
+ +
win = None
+ +
+Data and other attributes inherited from ranger.shared.EnvironmentAware:
+
env = None
+ +
+Data and other attributes inherited from ranger.shared.FileManagerAware:
+
fm = None
+ +
+Data descriptors inherited from ranger.shared.Awareness:
+
__dict__
+
dictionary for instance variables (if defined)
+
+
__weakref__
+
list of weak references to the object (if defined)
+
+
+Data and other attributes inherited from ranger.shared.settings.SettingsAware:
+
settings = <ranger.ext.openstruct.OpenStruct object at 0x154e450>
+ +

+ + + + + +
 
+Data
       RATIO = (3, 3, 12, 9)
+ \ No newline at end of file diff --git a/doc/pydoc/ranger.gui.displayable.html b/doc/pydoc/ranger.gui.displayable.html new file mode 100644 index 00000000..a581fbeb --- /dev/null +++ b/doc/pydoc/ranger.gui.displayable.html @@ -0,0 +1,297 @@ + +Python: module ranger.gui.displayable + + + + + +
 
+ 
ranger.gui.displayable
index
/home/hut/work/ranger/ranger/gui/displayable.py
+

+

+ + + + + +
 
+Classes
       
+
builtins.Exception(builtins.BaseException) +
+
+
OutOfBoundsException +
+
+
ranger.shared.EnvironmentAware(ranger.shared.Awareness) +
+
+
Displayable(ranger.shared.EnvironmentAware, ranger.shared.FileManagerAware, ranger.shared.settings.SettingsAware) +
+
+
DisplayableContainer +
+
+
+
+
ranger.shared.FileManagerAware(ranger.shared.Awareness) +
+
+
Displayable(ranger.shared.EnvironmentAware, ranger.shared.FileManagerAware, ranger.shared.settings.SettingsAware) +
+
+
DisplayableContainer +
+
+
+
+
ranger.shared.settings.SettingsAware(builtins.object) +
+
+
Displayable(ranger.shared.EnvironmentAware, ranger.shared.FileManagerAware, ranger.shared.settings.SettingsAware) +
+
+
DisplayableContainer +
+
+
+
+
+

+ + + + + +
 
+class Displayable(ranger.shared.EnvironmentAware, ranger.shared.FileManagerAware, ranger.shared.settings.SettingsAware)
    
Method resolution order:
+
Displayable
+
ranger.shared.EnvironmentAware
+
ranger.shared.FileManagerAware
+
ranger.shared.Awareness
+
ranger.shared.settings.SettingsAware
+
builtins.object
+
+
+Methods defined here:
+
__contains__(self, item)
Is item inside the boundaries?
+item can be an iterable like [y, x] or an object with x and y methods.
+ +
__init__(self, win, env=None, fm=None, settings=None)
+ +
__nonzero__(self)
Always True
+ +
click(self, event)
Called when a mouse key is pressed and self.focused is True.
+Override this!
+ +
color(self, keylist=None, *keys)
Change the colors from now on.
+ +
color_at(self, y, x, wid, keylist=None, *keys)
Change the colors at the specified position
+ +
color_reset(self)
Change the colors to the default colors
+ +
contains_point(self, y, x)
Test if the point lies within the boundaries of this object
+ +
destroy(self)
Called when the object is destroyed.
+Override this!
+ +
draw(self)
Draw displayable.  Called on every main iteration if the object
+is visible.  Override this!
+ +
finalize(self)
Called after every displayable is done drawing.
+Override this!
+ +
poke(self)
Called before drawing, even if invisible
+ +
press(self, key)
Called when a key is pressed and self.focused is True.
+Override this!
+ +
resize(self, y, x, hei=None, wid=None)
Resize the widget
+ +
+Data and other attributes defined here:
+
colorscheme = None
+ +
focused = False
+ +
visible = True
+ +
win = None
+ +
+Data and other attributes inherited from ranger.shared.EnvironmentAware:
+
env = None
+ +
+Data and other attributes inherited from ranger.shared.FileManagerAware:
+
fm = None
+ +
+Data descriptors inherited from ranger.shared.Awareness:
+
__dict__
+
dictionary for instance variables (if defined)
+
+
__weakref__
+
list of weak references to the object (if defined)
+
+
+Data and other attributes inherited from ranger.shared.settings.SettingsAware:
+
settings = <ranger.ext.openstruct.OpenStruct object at 0x154e450>
+ +

+ + + + + +
 
+class DisplayableContainer(Displayable)
    
Method resolution order:
+
DisplayableContainer
+
Displayable
+
ranger.shared.EnvironmentAware
+
ranger.shared.FileManagerAware
+
ranger.shared.Awareness
+
ranger.shared.settings.SettingsAware
+
builtins.object
+
+
+Methods defined here:
+
__init__(self, win, env=None, fm=None, settings=None)
+ +
add_obj(self, *objs)
+ +
click(self, event)
Recursively called on objects in container
+ +
destroy(self)
Recursively called on objects in container
+ +
draw(self)
Recursively called on visible objects in container
+ +
finalize(self)
Recursively called on visible objects in container
+ +
get_focused_obj(self)
Finds a focused displayable object in the container.
+ +
poke(self)
Recursively called on objects in container
+ +
press(self, key)
Recursively called on objects in container
+ +
+Data and other attributes defined here:
+
container = None
+ +
+Methods inherited from Displayable:
+
__contains__(self, item)
Is item inside the boundaries?
+item can be an iterable like [y, x] or an object with x and y methods.
+ +
__nonzero__(self)
Always True
+ +
color(self, keylist=None, *keys)
Change the colors from now on.
+ +
color_at(self, y, x, wid, keylist=None, *keys)
Change the colors at the specified position
+ +
color_reset(self)
Change the colors to the default colors
+ +
contains_point(self, y, x)
Test if the point lies within the boundaries of this object
+ +
resize(self, y, x, hei=None, wid=None)
Resize the widget
+ +
+Data and other attributes inherited from Displayable:
+
colorscheme = None
+ +
focused = False
+ +
visible = True
+ +
win = None
+ +
+Data and other attributes inherited from ranger.shared.EnvironmentAware:
+
env = None
+ +
+Data and other attributes inherited from ranger.shared.FileManagerAware:
+
fm = None
+ +
+Data descriptors inherited from ranger.shared.Awareness:
+
__dict__
+
dictionary for instance variables (if defined)
+
+
__weakref__
+
list of weak references to the object (if defined)
+
+
+Data and other attributes inherited from ranger.shared.settings.SettingsAware:
+
settings = <ranger.ext.openstruct.OpenStruct object at 0x154e450>
+ +

+ + + + + +
 
+class OutOfBoundsException(builtins.Exception)
    
Method resolution order:
+
OutOfBoundsException
+
builtins.Exception
+
builtins.BaseException
+
builtins.object
+
+
+Data descriptors defined here:
+
__weakref__
+
list of weak references to the object (if defined)
+
+
+Methods inherited from builtins.Exception:
+
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
+ +
+Data and other attributes inherited from builtins.Exception:
+
__new__ = <built-in method __new__ of type object at 0x7f327d94a120>
T.__new__(S, ...) -> a new object with type S, a subtype of T
+ +
+Methods inherited from builtins.BaseException:
+
__delattr__(...)
x.__delattr__('name') <==> del x.name
+ +
__getattribute__(...)
x.__getattribute__('name') <==> x.name
+ +
__reduce__(...)
+ +
__repr__(...)
x.__repr__() <==> repr(x)
+ +
__setattr__(...)
x.__setattr__('name', value) <==> x.name = value
+ +
__setstate__(...)
+ +
__str__(...)
x.__str__() <==> str(x)
+ +
with_traceback(...)
Exception.with_traceback(tb) --
+set self.__traceback__ to tb and return self.
+ +
+Data descriptors inherited from builtins.BaseException:
+
__cause__
+
exception cause
+
+
__context__
+
exception context
+
+
__dict__
+
+
__traceback__
+
+
args
+
+

+ + + + + +
 
+Functions
       
combine(seq, tup)
Add seq and tup. Ensures that the result is a tuple.
+
+ \ No newline at end of file diff --git a/doc/pydoc/ranger.gui.html b/doc/pydoc/ranger.gui.html new file mode 100644 index 00000000..58ba2974 --- /dev/null +++ b/doc/pydoc/ranger.gui.html @@ -0,0 +1,28 @@ + +Python: package ranger.gui + + + + + +
 
+ 
ranger.gui
index
/home/hut/work/ranger/ranger/gui/__init__.py
+

+

+ + + + + +
 
+Package Contents
       
color
+colorscheme
+
defaultui
+displayable
+
mouse_event
+ui
+
widgets (package)
+
+ \ No newline at end of file diff --git a/doc/pydoc/ranger.gui.mouse_event.html b/doc/pydoc/ranger.gui.mouse_event.html new file mode 100644 index 00000000..80c114e3 --- /dev/null +++ b/doc/pydoc/ranger.gui.mouse_event.html @@ -0,0 +1,69 @@ + +Python: module ranger.gui.mouse_event + + + + + +
 
+ 
ranger.gui.mouse_event
index
/home/hut/work/ranger/ranger/gui/mouse_event.py
+

+

+ + + + + +
 
+Modules
       
curses
+

+ + + + + +
 
+Classes
       
+
builtins.object +
+
+
MouseEvent +
+
+
+

+ + + + + +
 
+class MouseEvent(builtins.object)
    Methods defined here:
+
__init__(self, getmouse)
Creates a MouseEvent object from the result of win.getmouse()
+ +
alt(self)
+ +
ctrl(self)
+ +
key_invalid(self)
+ +
pressed(self, n)
Returns whether the mouse key n is pressed
+ +
shift(self)
+ +
+Data descriptors defined here:
+
__dict__
+
dictionary for instance variables (if defined)
+
+
__weakref__
+
list of weak references to the object (if defined)
+
+
+Data and other attributes defined here:
+
PRESSED = [0, 2, 128, 8192, 524288]
+ +

+ \ No newline at end of file diff --git a/doc/pydoc/ranger.gui.ui.html b/doc/pydoc/ranger.gui.ui.html new file mode 100644 index 00000000..003a4ffd --- /dev/null +++ b/doc/pydoc/ranger.gui.ui.html @@ -0,0 +1,157 @@ + +Python: module ranger.gui.ui + + + + + +
 
+ 
ranger.gui.ui
index
/home/hut/work/ranger/ranger/gui/ui.py
+

+

+ + + + + +
 
+Modules
       
curses
+

+ + + + + +
 
+Classes
       
+
ranger.gui.displayable.DisplayableContainer(ranger.gui.displayable.Displayable) +
+
+
UI +
+
+
+

+ + + + + +
 
+class UI(ranger.gui.displayable.DisplayableContainer)
    
Method resolution order:
+
UI
+
ranger.gui.displayable.DisplayableContainer
+
ranger.gui.displayable.Displayable
+
ranger.shared.EnvironmentAware
+
ranger.shared.FileManagerAware
+
ranger.shared.Awareness
+
ranger.shared.settings.SettingsAware
+
builtins.object
+
+
+Methods defined here:
+
__init__(self, commandlist=None, env=None, fm=None)
+ +
destroy(self)
Destroy all widgets and turn off curses
+ +
draw(self)
Erase the window, then draw all objects in the container
+ +
finalize(self)
Finalize every object in container and refresh the window
+ +
get_next_key(self)
Waits for key input and returns the pressed key
+ +
handle_key(self, key)
Handles key input
+ +
handle_mouse(self)
Handles mouse input
+ +
initialize(self)
initialize curses, then call setup (at the first time) and resize.
+ +
redraw(self)
Redraw all widgets
+ +
redraw_window(self)
Redraw the window. This only calls self.win.redrawwin().
+ +
set_load_mode(self, boolean)
+ +
setup(self)
Called after an initialize() call.
+Override this!
+ +
suspend(self)
Turn off curses
+ +
update_size(self)
Update self.env.termsize.
+Extend this method to resize all widgets!
+ +
+Data and other attributes defined here:
+
is_set_up = False
+ +
load_mode = False
+ +
mousemask = 268435455
+ +
+Methods inherited from ranger.gui.displayable.DisplayableContainer:
+
add_obj(self, *objs)
+ +
click(self, event)
Recursively called on objects in container
+ +
get_focused_obj(self)
Finds a focused displayable object in the container.
+ +
poke(self)
Recursively called on objects in container
+ +
press(self, key)
Recursively called on objects in container
+ +
+Data and other attributes inherited from ranger.gui.displayable.DisplayableContainer:
+
container = None
+ +
+Methods inherited from ranger.gui.displayable.Displayable:
+
__contains__(self, item)
Is item inside the boundaries?
+item can be an iterable like [y, x] or an object with x and y methods.
+ +
__nonzero__(self)
Always True
+ +
color(self, keylist=None, *keys)
Change the colors from now on.
+ +
color_at(self, y, x, wid, keylist=None, *keys)
Change the colors at the specified position
+ +
color_reset(self)
Change the colors to the default colors
+ +
contains_point(self, y, x)
Test if the point lies within the boundaries of this object
+ +
resize(self, y, x, hei=None, wid=None)
Resize the widget
+ +
+Data and other attributes inherited from ranger.gui.displayable.Displayable:
+
colorscheme = None
+ +
focused = False
+ +
visible = True
+ +
win = None
+ +
+Data and other attributes inherited from ranger.shared.EnvironmentAware:
+
env = None
+ +
+Data and other attributes inherited from ranger.shared.FileManagerAware:
+
fm = None
+ +
+Data descriptors inherited from ranger.shared.Awareness:
+
__dict__
+
dictionary for instance variables (if defined)
+
+
__weakref__
+
list of weak references to the object (if defined)
+
+
+Data and other attributes inherited from ranger.shared.settings.SettingsAware:
+
settings = <ranger.ext.openstruct.OpenStruct object at 0x154e450>
+ +

+ \ No newline at end of file diff --git a/doc/pydoc/ranger.gui.widgets.console.html b/doc/pydoc/ranger.gui.widgets.console.html new file mode 100644 index 00000000..a14b7212 --- /dev/null +++ b/doc/pydoc/ranger.gui.widgets.console.html @@ -0,0 +1,908 @@ + +Python: module ranger.gui.widgets.console + + + + + +
 
+ 
ranger.gui.widgets.console
index
/home/hut/work/ranger/ranger/gui/widgets/console.py
+

The Console widget implements a vim-like console for entering
+commands, searching and executing files.

+

+ + + + + +
 
+Modules
       
ranger.commands
+
curses
+

+ + + + + +
 
+Classes
       
+
ranger.gui.widgets.Widget(ranger.gui.displayable.Displayable) +
+
+
Console +
+
+
CommandConsole +
+
+
QuickCommandConsole +
+
+
OpenConsole +
QuickOpenConsole +
SearchConsole +
+
+
+
+
+

+ + + + + +
 
+class CommandConsole(Console)
    
Method resolution order:
+
CommandConsole
+
Console
+
ranger.gui.widgets.Widget
+
ranger.gui.displayable.Displayable
+
ranger.shared.EnvironmentAware
+
ranger.shared.FileManagerAware
+
ranger.shared.Awareness
+
ranger.shared.settings.SettingsAware
+
builtins.object
+
+
+Methods defined here:
+
execute(self)
+ +
tab(self, n=1)
+ +
+Data and other attributes defined here:
+
prompt = ':'
+ +
+Methods inherited from Console:
+
__init__(self, win)
+ +
add_to_history(self)
+ +
clear(self)
+ +
close(self)
+ +
delete(self, mod)
+ +
delete_rest(self, direction)
+ +
delete_word(self)
+ +
draw(self)
+ +
finalize(self)
+ +
history_move(self, n)
+ +
init(self)
override this. Called directly after class change
+ +
move(self, relative=0, absolute=None)
+ +
on_line_change(self)
+ +
open(self, mode, string='')
+ +
paste(self)
+ +
press(self, key)
+ +
type_key(self, key)
+ +
+Data and other attributes inherited from Console:
+
commandlist = None
+ +
copy = ''
+ +
histories = None
+ +
history = None
+ +
last_cursor_mode = 1
+ +
mode = None
+ +
mode_classes = {'!': <class 'ranger.gui.widgets.console.OpenConsole'>, '/': <class 'ranger.gui.widgets.console.SearchConsole'>, ':': <class 'ranger.gui.widgets.console.CommandConsole'>, '>': <class 'ranger.gui.widgets.console.QuickCommandConsole'>, '?': <class 'ranger.gui.widgets.console.SearchConsole'>, '@': <class 'ranger.gui.widgets.console.QuickOpenConsole'>}
+ +
original_line = None
+ +
override = None
+ +
tab_deque = None
+ +
visible = False
+ +
+Methods inherited from ranger.gui.displayable.Displayable:
+
__contains__(self, item)
Is item inside the boundaries?
+item can be an iterable like [y, x] or an object with x and y methods.
+ +
__nonzero__(self)
Always True
+ +
click(self, event)
Called when a mouse key is pressed and self.focused is True.
+Override this!
+ +
color(self, keylist=None, *keys)
Change the colors from now on.
+ +
color_at(self, y, x, wid, keylist=None, *keys)
Change the colors at the specified position
+ +
color_reset(self)
Change the colors to the default colors
+ +
contains_point(self, y, x)
Test if the point lies within the boundaries of this object
+ +
destroy(self)
Called when the object is destroyed.
+Override this!
+ +
poke(self)
Called before drawing, even if invisible
+ +
resize(self, y, x, hei=None, wid=None)
Resize the widget
+ +
+Data and other attributes inherited from ranger.gui.displayable.Displayable:
+
colorscheme = None
+ +
focused = False
+ +
win = None
+ +
+Data and other attributes inherited from ranger.shared.EnvironmentAware:
+
env = None
+ +
+Data and other attributes inherited from ranger.shared.FileManagerAware:
+
fm = None
+ +
+Data descriptors inherited from ranger.shared.Awareness:
+
__dict__
+
dictionary for instance variables (if defined)
+
+
__weakref__
+
list of weak references to the object (if defined)
+
+
+Data and other attributes inherited from ranger.shared.settings.SettingsAware:
+
settings = <ranger.ext.openstruct.OpenStruct object at 0x154e450>
+ +

+ + + + + +
 
+class Console(ranger.gui.widgets.Widget)
    
Method resolution order:
+
Console
+
ranger.gui.widgets.Widget
+
ranger.gui.displayable.Displayable
+
ranger.shared.EnvironmentAware
+
ranger.shared.FileManagerAware
+
ranger.shared.Awareness
+
ranger.shared.settings.SettingsAware
+
builtins.object
+
+
+Methods defined here:
+
__init__(self, win)
+ +
add_to_history(self)
+ +
clear(self)
+ +
close(self)
+ +
delete(self, mod)
+ +
delete_rest(self, direction)
+ +
delete_word(self)
+ +
draw(self)
+ +
execute(self)
+ +
finalize(self)
+ +
history_move(self, n)
+ +
init(self)
override this. Called directly after class change
+ +
move(self, relative=0, absolute=None)
+ +
on_line_change(self)
+ +
open(self, mode, string='')
+ +
paste(self)
+ +
press(self, key)
+ +
tab(self)
+ +
type_key(self, key)
+ +
+Data and other attributes defined here:
+
commandlist = None
+ +
copy = ''
+ +
histories = None
+ +
history = None
+ +
last_cursor_mode = 1
+ +
mode = None
+ +
mode_classes = {'!': <class 'ranger.gui.widgets.console.OpenConsole'>, '/': <class 'ranger.gui.widgets.console.SearchConsole'>, ':': <class 'ranger.gui.widgets.console.CommandConsole'>, '>': <class 'ranger.gui.widgets.console.QuickCommandConsole'>, '?': <class 'ranger.gui.widgets.console.SearchConsole'>, '@': <class 'ranger.gui.widgets.console.QuickOpenConsole'>}
+ +
original_line = None
+ +
override = None
+ +
prompt = ':'
+ +
tab_deque = None
+ +
visible = False
+ +
+Methods inherited from ranger.gui.displayable.Displayable:
+
__contains__(self, item)
Is item inside the boundaries?
+item can be an iterable like [y, x] or an object with x and y methods.
+ +
__nonzero__(self)
Always True
+ +
click(self, event)
Called when a mouse key is pressed and self.focused is True.
+Override this!
+ +
color(self, keylist=None, *keys)
Change the colors from now on.
+ +
color_at(self, y, x, wid, keylist=None, *keys)
Change the colors at the specified position
+ +
color_reset(self)
Change the colors to the default colors
+ +
contains_point(self, y, x)
Test if the point lies within the boundaries of this object
+ +
destroy(self)
Called when the object is destroyed.
+Override this!
+ +
poke(self)
Called before drawing, even if invisible
+ +
resize(self, y, x, hei=None, wid=None)
Resize the widget
+ +
+Data and other attributes inherited from ranger.gui.displayable.Displayable:
+
colorscheme = None
+ +
focused = False
+ +
win = None
+ +
+Data and other attributes inherited from ranger.shared.EnvironmentAware:
+
env = None
+ +
+Data and other attributes inherited from ranger.shared.FileManagerAware:
+
fm = None
+ +
+Data descriptors inherited from ranger.shared.Awareness:
+
__dict__
+
dictionary for instance variables (if defined)
+
+
__weakref__
+
list of weak references to the object (if defined)
+
+
+Data and other attributes inherited from ranger.shared.settings.SettingsAware:
+
settings = <ranger.ext.openstruct.OpenStruct object at 0x154e450>
+ +

+ + + + + +
 
+class OpenConsole(Console)
    
Method resolution order:
+
OpenConsole
+
Console
+
ranger.gui.widgets.Widget
+
ranger.gui.displayable.Displayable
+
ranger.shared.EnvironmentAware
+
ranger.shared.FileManagerAware
+
ranger.shared.Awareness
+
ranger.shared.settings.SettingsAware
+
builtins.object
+
+
+Data and other attributes defined here:
+
prompt = '!'
+ +
+Methods inherited from Console:
+
__init__(self, win)
+ +
add_to_history(self)
+ +
clear(self)
+ +
close(self)
+ +
delete(self, mod)
+ +
delete_rest(self, direction)
+ +
delete_word(self)
+ +
draw(self)
+ +
execute(self)
+ +
finalize(self)
+ +
history_move(self, n)
+ +
init(self)
override this. Called directly after class change
+ +
move(self, relative=0, absolute=None)
+ +
on_line_change(self)
+ +
open(self, mode, string='')
+ +
paste(self)
+ +
press(self, key)
+ +
tab(self)
+ +
type_key(self, key)
+ +
+Data and other attributes inherited from Console:
+
commandlist = None
+ +
copy = ''
+ +
histories = None
+ +
history = None
+ +
last_cursor_mode = 1
+ +
mode = None
+ +
mode_classes = {'!': <class 'ranger.gui.widgets.console.OpenConsole'>, '/': <class 'ranger.gui.widgets.console.SearchConsole'>, ':': <class 'ranger.gui.widgets.console.CommandConsole'>, '>': <class 'ranger.gui.widgets.console.QuickCommandConsole'>, '?': <class 'ranger.gui.widgets.console.SearchConsole'>, '@': <class 'ranger.gui.widgets.console.QuickOpenConsole'>}
+ +
original_line = None
+ +
override = None
+ +
tab_deque = None
+ +
visible = False
+ +
+Methods inherited from ranger.gui.displayable.Displayable:
+
__contains__(self, item)
Is item inside the boundaries?
+item can be an iterable like [y, x] or an object with x and y methods.
+ +
__nonzero__(self)
Always True
+ +
click(self, event)
Called when a mouse key is pressed and self.focused is True.
+Override this!
+ +
color(self, keylist=None, *keys)
Change the colors from now on.
+ +
color_at(self, y, x, wid, keylist=None, *keys)
Change the colors at the specified position
+ +
color_reset(self)
Change the colors to the default colors
+ +
contains_point(self, y, x)
Test if the point lies within the boundaries of this object
+ +
destroy(self)
Called when the object is destroyed.
+Override this!
+ +
poke(self)
Called before drawing, even if invisible
+ +
resize(self, y, x, hei=None, wid=None)
Resize the widget
+ +
+Data and other attributes inherited from ranger.gui.displayable.Displayable:
+
colorscheme = None
+ +
focused = False
+ +
win = None
+ +
+Data and other attributes inherited from ranger.shared.EnvironmentAware:
+
env = None
+ +
+Data and other attributes inherited from ranger.shared.FileManagerAware:
+
fm = None
+ +
+Data descriptors inherited from ranger.shared.Awareness:
+
__dict__
+
dictionary for instance variables (if defined)
+
+
__weakref__
+
list of weak references to the object (if defined)
+
+
+Data and other attributes inherited from ranger.shared.settings.SettingsAware:
+
settings = <ranger.ext.openstruct.OpenStruct object at 0x154e450>
+ +

+ + + + + +
 
+class QuickCommandConsole(CommandConsole)
    
Method resolution order:
+
QuickCommandConsole
+
CommandConsole
+
Console
+
ranger.gui.widgets.Widget
+
ranger.gui.displayable.Displayable
+
ranger.shared.EnvironmentAware
+
ranger.shared.FileManagerAware
+
ranger.shared.Awareness
+
ranger.shared.settings.SettingsAware
+
builtins.object
+
+
+Methods defined here:
+
on_line_change(self)
+ +
+Data and other attributes defined here:
+
prompt = '>'
+ +
+Methods inherited from CommandConsole:
+
execute(self)
+ +
tab(self, n=1)
+ +
+Methods inherited from Console:
+
__init__(self, win)
+ +
add_to_history(self)
+ +
clear(self)
+ +
close(self)
+ +
delete(self, mod)
+ +
delete_rest(self, direction)
+ +
delete_word(self)
+ +
draw(self)
+ +
finalize(self)
+ +
history_move(self, n)
+ +
init(self)
override this. Called directly after class change
+ +
move(self, relative=0, absolute=None)
+ +
open(self, mode, string='')
+ +
paste(self)
+ +
press(self, key)
+ +
type_key(self, key)
+ +
+Data and other attributes inherited from Console:
+
commandlist = None
+ +
copy = ''
+ +
histories = None
+ +
history = None
+ +
last_cursor_mode = 1
+ +
mode = None
+ +
mode_classes = {'!': <class 'ranger.gui.widgets.console.OpenConsole'>, '/': <class 'ranger.gui.widgets.console.SearchConsole'>, ':': <class 'ranger.gui.widgets.console.CommandConsole'>, '>': <class 'ranger.gui.widgets.console.QuickCommandConsole'>, '?': <class 'ranger.gui.widgets.console.SearchConsole'>, '@': <class 'ranger.gui.widgets.console.QuickOpenConsole'>}
+ +
original_line = None
+ +
override = None
+ +
tab_deque = None
+ +
visible = False
+ +
+Methods inherited from ranger.gui.displayable.Displayable:
+
__contains__(self, item)
Is item inside the boundaries?
+item can be an iterable like [y, x] or an object with x and y methods.
+ +
__nonzero__(self)
Always True
+ +
click(self, event)
Called when a mouse key is pressed and self.focused is True.
+Override this!
+ +
color(self, keylist=None, *keys)
Change the colors from now on.
+ +
color_at(self, y, x, wid, keylist=None, *keys)
Change the colors at the specified position
+ +
color_reset(self)
Change the colors to the default colors
+ +
contains_point(self, y, x)
Test if the point lies within the boundaries of this object
+ +
destroy(self)
Called when the object is destroyed.
+Override this!
+ +
poke(self)
Called before drawing, even if invisible
+ +
resize(self, y, x, hei=None, wid=None)
Resize the widget
+ +
+Data and other attributes inherited from ranger.gui.displayable.Displayable:
+
colorscheme = None
+ +
focused = False
+ +
win = None
+ +
+Data and other attributes inherited from ranger.shared.EnvironmentAware:
+
env = None
+ +
+Data and other attributes inherited from ranger.shared.FileManagerAware:
+
fm = None
+ +
+Data descriptors inherited from ranger.shared.Awareness:
+
__dict__
+
dictionary for instance variables (if defined)
+
+
__weakref__
+
list of weak references to the object (if defined)
+
+
+Data and other attributes inherited from ranger.shared.settings.SettingsAware:
+
settings = <ranger.ext.openstruct.OpenStruct object at 0x154e450>
+ +

+ + + + + + + +
 
+class QuickOpenConsole(Console)
   The QuickOpenConsole allows you to open files with
+pre-defined programs and modes very quickly. By adding flags
+to the command, you can specify precisely how the program is run,
+ie. the d-flag will run it detached from the filemanager.
 
 
Method resolution order:
+
QuickOpenConsole
+
Console
+
ranger.gui.widgets.Widget
+
ranger.gui.displayable.Displayable
+
ranger.shared.EnvironmentAware
+
ranger.shared.FileManagerAware
+
ranger.shared.Awareness
+
ranger.shared.settings.SettingsAware
+
builtins.object
+
+
+Methods defined here:
+
execute(self)
+ +
init(self)
+ +
+Data and other attributes defined here:
+
prompt = 'open with: '
+ +
+Methods inherited from Console:
+
__init__(self, win)
+ +
add_to_history(self)
+ +
clear(self)
+ +
close(self)
+ +
delete(self, mod)
+ +
delete_rest(self, direction)
+ +
delete_word(self)
+ +
draw(self)
+ +
finalize(self)
+ +
history_move(self, n)
+ +
move(self, relative=0, absolute=None)
+ +
on_line_change(self)
+ +
open(self, mode, string='')
+ +
paste(self)
+ +
press(self, key)
+ +
tab(self)
+ +
type_key(self, key)
+ +
+Data and other attributes inherited from Console:
+
commandlist = None
+ +
copy = ''
+ +
histories = None
+ +
history = None
+ +
last_cursor_mode = 1
+ +
mode = None
+ +
mode_classes = {'!': <class 'ranger.gui.widgets.console.OpenConsole'>, '/': <class 'ranger.gui.widgets.console.SearchConsole'>, ':': <class 'ranger.gui.widgets.console.CommandConsole'>, '>': <class 'ranger.gui.widgets.console.QuickCommandConsole'>, '?': <class 'ranger.gui.widgets.console.SearchConsole'>, '@': <class 'ranger.gui.widgets.console.QuickOpenConsole'>}
+ +
original_line = None
+ +
override = None
+ +
tab_deque = None
+ +
visible = False
+ +
+Methods inherited from ranger.gui.displayable.Displayable:
+
__contains__(self, item)
Is item inside the boundaries?
+item can be an iterable like [y, x] or an object with x and y methods.
+ +
__nonzero__(self)
Always True
+ +
click(self, event)
Called when a mouse key is pressed and self.focused is True.
+Override this!
+ +
color(self, keylist=None, *keys)
Change the colors from now on.
+ +
color_at(self, y, x, wid, keylist=None, *keys)
Change the colors at the specified position
+ +
color_reset(self)
Change the colors to the default colors
+ +
contains_point(self, y, x)
Test if the point lies within the boundaries of this object
+ +
destroy(self)
Called when the object is destroyed.
+Override this!
+ +
poke(self)
Called before drawing, even if invisible
+ +
resize(self, y, x, hei=None, wid=None)
Resize the widget
+ +
+Data and other attributes inherited from ranger.gui.displayable.Displayable:
+
colorscheme = None
+ +
focused = False
+ +
win = None
+ +
+Data and other attributes inherited from ranger.shared.EnvironmentAware:
+
env = None
+ +
+Data and other attributes inherited from ranger.shared.FileManagerAware:
+
fm = None
+ +
+Data descriptors inherited from ranger.shared.Awareness:
+
__dict__
+
dictionary for instance variables (if defined)
+
+
__weakref__
+
list of weak references to the object (if defined)
+
+
+Data and other attributes inherited from ranger.shared.settings.SettingsAware:
+
settings = <ranger.ext.openstruct.OpenStruct object at 0x154e450>
+ +

+ + + + + +
 
+class SearchConsole(Console)
    
Method resolution order:
+
SearchConsole
+
Console
+
ranger.gui.widgets.Widget
+
ranger.gui.displayable.Displayable
+
ranger.shared.EnvironmentAware
+
ranger.shared.FileManagerAware
+
ranger.shared.Awareness
+
ranger.shared.settings.SettingsAware
+
builtins.object
+
+
+Methods defined here:
+
execute(self)
+ +
init(self)
+ +
+Data and other attributes defined here:
+
prompt = '/'
+ +
+Methods inherited from Console:
+
__init__(self, win)
+ +
add_to_history(self)
+ +
clear(self)
+ +
close(self)
+ +
delete(self, mod)
+ +
delete_rest(self, direction)
+ +
delete_word(self)
+ +
draw(self)
+ +
finalize(self)
+ +
history_move(self, n)
+ +
move(self, relative=0, absolute=None)
+ +
on_line_change(self)
+ +
open(self, mode, string='')
+ +
paste(self)
+ +
press(self, key)
+ +
tab(self)
+ +
type_key(self, key)
+ +
+Data and other attributes inherited from Console:
+
commandlist = None
+ +
copy = ''
+ +
histories = None
+ +
history = None
+ +
last_cursor_mode = 1
+ +
mode = None
+ +
mode_classes = {'!': <class 'ranger.gui.widgets.console.OpenConsole'>, '/': <class 'ranger.gui.widgets.console.SearchConsole'>, ':': <class 'ranger.gui.widgets.console.CommandConsole'>, '>': <class 'ranger.gui.widgets.console.QuickCommandConsole'>, '?': <class 'ranger.gui.widgets.console.SearchConsole'>, '@': <class 'ranger.gui.widgets.console.QuickOpenConsole'>}
+ +
original_line = None
+ +
override = None
+ +
tab_deque = None
+ +
visible = False
+ +
+Methods inherited from ranger.gui.displayable.Displayable:
+
__contains__(self, item)
Is item inside the boundaries?
+item can be an iterable like [y, x] or an object with x and y methods.
+ +
__nonzero__(self)
Always True
+ +
click(self, event)
Called when a mouse key is pressed and self.focused is True.
+Override this!
+ +
color(self, keylist=None, *keys)
Change the colors from now on.
+ +
color_at(self, y, x, wid, keylist=None, *keys)
Change the colors at the specified position
+ +
color_reset(self)
Change the colors to the default colors
+ +
contains_point(self, y, x)
Test if the point lies within the boundaries of this object
+ +
destroy(self)
Called when the object is destroyed.
+Override this!
+ +
poke(self)
Called before drawing, even if invisible
+ +
resize(self, y, x, hei=None, wid=None)
Resize the widget
+ +
+Data and other attributes inherited from ranger.gui.displayable.Displayable:
+
colorscheme = None
+ +
focused = False
+ +
win = None
+ +
+Data and other attributes inherited from ranger.shared.EnvironmentAware:
+
env = None
+ +
+Data and other attributes inherited from ranger.shared.FileManagerAware:
+
fm = None
+ +
+Data descriptors inherited from ranger.shared.Awareness:
+
__dict__
+
dictionary for instance variables (if defined)
+
+
__weakref__
+
list of weak references to the object (if defined)
+
+
+Data and other attributes inherited from ranger.shared.settings.SettingsAware:
+
settings = <ranger.ext.openstruct.OpenStruct object at 0x154e450>
+ +

+ + + + + +
 
+Data
       DEFAULT_HISTORY = 0
+QUICKOPEN_HISTORY = 2
+SEARCH_HISTORY = 1
+ \ No newline at end of file diff --git a/doc/pydoc/ranger.gui.widgets.filelist.html b/doc/pydoc/ranger.gui.widgets.filelist.html new file mode 100644 index 00000000..bfc9ae2e --- /dev/null +++ b/doc/pydoc/ranger.gui.widgets.filelist.html @@ -0,0 +1,135 @@ + +Python: module ranger.gui.widgets.filelist + + + + + +
 
+ 
ranger.gui.widgets.filelist
index
/home/hut/work/ranger/ranger/gui/widgets/filelist.py
+

The FileList widget displays the contents of a directory or file.

+

+ + + + + +
 
+Classes
       
+
ranger.gui.widgets.Widget(ranger.gui.displayable.Displayable) +
+
+
FileList +
+
+
+

+ + + + + +
 
+class FileList(ranger.gui.widgets.Widget)
    
Method resolution order:
+
FileList
+
ranger.gui.widgets.Widget
+
ranger.gui.displayable.Displayable
+
ranger.shared.EnvironmentAware
+
ranger.shared.FileManagerAware
+
ranger.shared.Awareness
+
ranger.shared.settings.SettingsAware
+
builtins.object
+
+
+Methods defined here:
+
__init__(self, win, level)
+ +
click(self, event)
Handle a MouseEvent
+ +
draw(self)
Call either draw_file() or draw_directory()
+ +
draw_directory(self)
Draw the contents of a directory
+ +
draw_file(self)
Draw a preview of the file, if the settings allow it
+ +
finalize(self)
+ +
get_scroll_begin(self)
Determines scroll_begin (the position of the first displayed file)
+ +
has_preview(self)
+ +
poke(self)
+ +
scroll(self, relative)
scroll by n lines
+ +
set_scroll_begin(self)
Updates the scroll_begin value
+ +
+Data and other attributes defined here:
+
display_infostring = False
+ +
main_display = False
+ +
postpone_drawing = False
+ +
scroll_begin = 0
+ +
target = None
+ +
+Methods inherited from ranger.gui.displayable.Displayable:
+
__contains__(self, item)
Is item inside the boundaries?
+item can be an iterable like [y, x] or an object with x and y methods.
+ +
__nonzero__(self)
Always True
+ +
color(self, keylist=None, *keys)
Change the colors from now on.
+ +
color_at(self, y, x, wid, keylist=None, *keys)
Change the colors at the specified position
+ +
color_reset(self)
Change the colors to the default colors
+ +
contains_point(self, y, x)
Test if the point lies within the boundaries of this object
+ +
destroy(self)
Called when the object is destroyed.
+Override this!
+ +
press(self, key)
Called when a key is pressed and self.focused is True.
+Override this!
+ +
resize(self, y, x, hei=None, wid=None)
Resize the widget
+ +
+Data and other attributes inherited from ranger.gui.displayable.Displayable:
+
colorscheme = None
+ +
focused = False
+ +
visible = True
+ +
win = None
+ +
+Data and other attributes inherited from ranger.shared.EnvironmentAware:
+
env = None
+ +
+Data and other attributes inherited from ranger.shared.FileManagerAware:
+
fm = None
+ +
+Data descriptors inherited from ranger.shared.Awareness:
+
__dict__
+
dictionary for instance variables (if defined)
+
+
__weakref__
+
list of weak references to the object (if defined)
+
+
+Data and other attributes inherited from ranger.shared.settings.SettingsAware:
+
settings = <ranger.ext.openstruct.OpenStruct object at 0x154e450>
+ +

+ \ No newline at end of file diff --git a/doc/pydoc/ranger.gui.widgets.filelistcontainer.html b/doc/pydoc/ranger.gui.widgets.filelistcontainer.html new file mode 100644 index 00000000..1d248bba --- /dev/null +++ b/doc/pydoc/ranger.gui.widgets.filelistcontainer.html @@ -0,0 +1,136 @@ + +Python: module ranger.gui.widgets.filelistcontainer + + + + + +
 
+ 
ranger.gui.widgets.filelistcontainer
index
/home/hut/work/ranger/ranger/gui/widgets/filelistcontainer.py
+

The FileListContainer manages a set of FileLists.

+

+ + + + + +
 
+Classes
       
+
ranger.gui.displayable.DisplayableContainer(ranger.gui.displayable.Displayable) +
+
+
FileListContainer(ranger.gui.widgets.Widget, ranger.gui.displayable.DisplayableContainer) +
+
+
ranger.gui.widgets.Widget(ranger.gui.displayable.Displayable) +
+
+
FileListContainer(ranger.gui.widgets.Widget, ranger.gui.displayable.DisplayableContainer) +
+
+
+

+ + + + + +
 
+class FileListContainer(ranger.gui.widgets.Widget, ranger.gui.displayable.DisplayableContainer)
    
Method resolution order:
+
FileListContainer
+
ranger.gui.widgets.Widget
+
ranger.gui.displayable.DisplayableContainer
+
ranger.gui.displayable.Displayable
+
ranger.shared.EnvironmentAware
+
ranger.shared.FileManagerAware
+
ranger.shared.Awareness
+
ranger.shared.settings.SettingsAware
+
builtins.object
+
+
+Methods defined here:
+
__init__(self, win, ratios, preview=True)
+ +
poke(self)
+ +
resize(self, y, x, hei, wid)
Resize all the filelists according to the given ratio
+ +
+Data and other attributes defined here:
+
preview = True
+ +
preview_available = True
+ +
ratios = None
+ +
stretch_ratios = None
+ +
+Methods inherited from ranger.gui.displayable.DisplayableContainer:
+
add_obj(self, *objs)
+ +
click(self, event)
Recursively called on objects in container
+ +
destroy(self)
Recursively called on objects in container
+ +
draw(self)
Recursively called on visible objects in container
+ +
finalize(self)
Recursively called on visible objects in container
+ +
get_focused_obj(self)
Finds a focused displayable object in the container.
+ +
press(self, key)
Recursively called on objects in container
+ +
+Data and other attributes inherited from ranger.gui.displayable.DisplayableContainer:
+
container = None
+ +
+Methods inherited from ranger.gui.displayable.Displayable:
+
__contains__(self, item)
Is item inside the boundaries?
+item can be an iterable like [y, x] or an object with x and y methods.
+ +
__nonzero__(self)
Always True
+ +
color(self, keylist=None, *keys)
Change the colors from now on.
+ +
color_at(self, y, x, wid, keylist=None, *keys)
Change the colors at the specified position
+ +
color_reset(self)
Change the colors to the default colors
+ +
contains_point(self, y, x)
Test if the point lies within the boundaries of this object
+ +
+Data and other attributes inherited from ranger.gui.displayable.Displayable:
+
colorscheme = None
+ +
focused = False
+ +
visible = True
+ +
win = None
+ +
+Data and other attributes inherited from ranger.shared.EnvironmentAware:
+
env = None
+ +
+Data and other attributes inherited from ranger.shared.FileManagerAware:
+
fm = None
+ +
+Data descriptors inherited from ranger.shared.Awareness:
+
__dict__
+
dictionary for instance variables (if defined)
+
+
__weakref__
+
list of weak references to the object (if defined)
+
+
+Data and other attributes inherited from ranger.shared.settings.SettingsAware:
+
settings = <ranger.ext.openstruct.OpenStruct object at 0x154e450>
+ +

+ \ No newline at end of file diff --git a/doc/pydoc/ranger.gui.widgets.html b/doc/pydoc/ranger.gui.widgets.html new file mode 100644 index 00000000..7c93bf98 --- /dev/null +++ b/doc/pydoc/ranger.gui.widgets.html @@ -0,0 +1,128 @@ + +Python: package ranger.gui.widgets + + + + + +
 
+ 
ranger.gui.widgets
index
/home/hut/work/ranger/ranger/gui/widgets/__init__.py
+

+

+ + + + + +
 
+Package Contents
       
console
+filelist
+
filelistcontainer
+notify
+
process_manager
+statusbar
+
titlebar
+

+ + + + + +
 
+Classes
       
+
ranger.gui.displayable.Displayable(ranger.shared.EnvironmentAware, ranger.shared.FileManagerAware, ranger.shared.settings.SettingsAware) +
+
+
Widget +
+
+
+

+ + + + + + + +
 
+class Widget(ranger.gui.displayable.Displayable)
   The Widget class defines no methods and only exists for
+classification of widgets.
 
 
Method resolution order:
+
Widget
+
ranger.gui.displayable.Displayable
+
ranger.shared.EnvironmentAware
+
ranger.shared.FileManagerAware
+
ranger.shared.Awareness
+
ranger.shared.settings.SettingsAware
+
builtins.object
+
+
+Methods inherited from ranger.gui.displayable.Displayable:
+
__contains__(self, item)
Is item inside the boundaries?
+item can be an iterable like [y, x] or an object with x and y methods.
+ +
__init__(self, win, env=None, fm=None, settings=None)
+ +
__nonzero__(self)
Always True
+ +
click(self, event)
Called when a mouse key is pressed and self.focused is True.
+Override this!
+ +
color(self, keylist=None, *keys)
Change the colors from now on.
+ +
color_at(self, y, x, wid, keylist=None, *keys)
Change the colors at the specified position
+ +
color_reset(self)
Change the colors to the default colors
+ +
contains_point(self, y, x)
Test if the point lies within the boundaries of this object
+ +
destroy(self)
Called when the object is destroyed.
+Override this!
+ +
draw(self)
Draw displayable.  Called on every main iteration if the object
+is visible.  Override this!
+ +
finalize(self)
Called after every displayable is done drawing.
+Override this!
+ +
poke(self)
Called before drawing, even if invisible
+ +
press(self, key)
Called when a key is pressed and self.focused is True.
+Override this!
+ +
resize(self, y, x, hei=None, wid=None)
Resize the widget
+ +
+Data and other attributes inherited from ranger.gui.displayable.Displayable:
+
colorscheme = None
+ +
focused = False
+ +
visible = True
+ +
win = None
+ +
+Data and other attributes inherited from ranger.shared.EnvironmentAware:
+
env = None
+ +
+Data and other attributes inherited from ranger.shared.FileManagerAware:
+
fm = None
+ +
+Data descriptors inherited from ranger.shared.Awareness:
+
__dict__
+
dictionary for instance variables (if defined)
+
+
__weakref__
+
list of weak references to the object (if defined)
+
+
+Data and other attributes inherited from ranger.shared.settings.SettingsAware:
+
settings = <ranger.ext.openstruct.OpenStruct object at 0x154e450>
+ +

+ \ No newline at end of file diff --git a/doc/pydoc/ranger.gui.widgets.notify.html b/doc/pydoc/ranger.gui.widgets.notify.html new file mode 100644 index 00000000..cd74e50e --- /dev/null +++ b/doc/pydoc/ranger.gui.widgets.notify.html @@ -0,0 +1,174 @@ + +Python: module ranger.gui.widgets.notify + + + + + +
 
+ 
ranger.gui.widgets.notify
index
/home/hut/work/ranger/ranger/gui/widgets/notify.py
+

Notify is a bar which displays messages.

+

+ + + + + +
 
+Classes
       
+
builtins.object +
+
+
Message +
+
+
ranger.gui.widgets.Widget(ranger.gui.displayable.Displayable) +
+
+
Notify +
+
+
+

+ + + + + +
 
+class Message(builtins.object)
    Methods defined here:
+
__init__(self, container, text, duration, bad)
+ +
delete(self)
+ +
set_duration(self, n=4)
+ +
+Data descriptors defined here:
+
__dict__
+
dictionary for instance variables (if defined)
+
+
__weakref__
+
list of weak references to the object (if defined)
+
+
+Data and other attributes defined here:
+
alive = True
+ +
bad = False
+ +
container = None
+ +
elapse = None
+ +
text = None
+ +

+ + + + + +
 
+class Notify(ranger.gui.widgets.Widget)
    
Method resolution order:
+
Notify
+
ranger.gui.widgets.Widget
+
ranger.gui.displayable.Displayable
+
ranger.shared.EnvironmentAware
+
ranger.shared.FileManagerAware
+
ranger.shared.Awareness
+
ranger.shared.settings.SettingsAware
+
builtins.object
+
+
+Methods defined here:
+
__init__(self, win)
+ +
display(self, text, duration=4, bad=False)
+ +
draw(self)
+ +
poke(self)
+ +
+Data and other attributes defined here:
+
max_size = 5
+ +
requested_height = 0
+ +
textcontainer = None
+ +
+Methods inherited from ranger.gui.displayable.Displayable:
+
__contains__(self, item)
Is item inside the boundaries?
+item can be an iterable like [y, x] or an object with x and y methods.
+ +
__nonzero__(self)
Always True
+ +
click(self, event)
Called when a mouse key is pressed and self.focused is True.
+Override this!
+ +
color(self, keylist=None, *keys)
Change the colors from now on.
+ +
color_at(self, y, x, wid, keylist=None, *keys)
Change the colors at the specified position
+ +
color_reset(self)
Change the colors to the default colors
+ +
contains_point(self, y, x)
Test if the point lies within the boundaries of this object
+ +
destroy(self)
Called when the object is destroyed.
+Override this!
+ +
finalize(self)
Called after every displayable is done drawing.
+Override this!
+ +
press(self, key)
Called when a key is pressed and self.focused is True.
+Override this!
+ +
resize(self, y, x, hei=None, wid=None)
Resize the widget
+ +
+Data and other attributes inherited from ranger.gui.displayable.Displayable:
+
colorscheme = None
+ +
focused = False
+ +
visible = True
+ +
win = None
+ +
+Data and other attributes inherited from ranger.shared.EnvironmentAware:
+
env = None
+ +
+Data and other attributes inherited from ranger.shared.FileManagerAware:
+
fm = None
+ +
+Data descriptors inherited from ranger.shared.Awareness:
+
__dict__
+
dictionary for instance variables (if defined)
+
+
__weakref__
+
list of weak references to the object (if defined)
+
+
+Data and other attributes inherited from ranger.shared.settings.SettingsAware:
+
settings = <ranger.ext.openstruct.OpenStruct object at 0x154e450>
+ +

+ + + + + +
 
+Functions
       
time(...)
time() -> floating point number

+Return the current time in seconds since the Epoch.
+Fractions of a second may be present if the system clock provides them.
+
+ \ No newline at end of file diff --git a/doc/pydoc/ranger.gui.widgets.process_manager.html b/doc/pydoc/ranger.gui.widgets.process_manager.html new file mode 100644 index 00000000..6b74b162 --- /dev/null +++ b/doc/pydoc/ranger.gui.widgets.process_manager.html @@ -0,0 +1,207 @@ + +Python: module ranger.gui.widgets.process_manager + + + + + +
 
+ 
ranger.gui.widgets.process_manager
index
/home/hut/work/ranger/ranger/gui/widgets/process_manager.py
+

The process manager allows you to modify what the loader is doing.

+

+ + + + + +
 
+Modules
       
curses
+

+ + + + + +
 
+Classes
       
+
builtins.object +
+
+
DummyLoadObject +
DummyLoader +
KeyWrapper +
+
+
ranger.ext.accumulator.Accumulator(builtins.object) +
+
+
ProcessManager(ranger.gui.widgets.Widget, ranger.ext.accumulator.Accumulator) +
+
+
ranger.gui.widgets.Widget(ranger.gui.displayable.Displayable) +
+
+
ProcessManager(ranger.gui.widgets.Widget, ranger.ext.accumulator.Accumulator) +
+
+
+

+ + + + + +
 
+class DummyLoadObject(builtins.object)
    Methods defined here:
+
__init__(self, txt)
+ +
+Data descriptors defined here:
+
__dict__
+
dictionary for instance variables (if defined)
+
+
__weakref__
+
list of weak references to the object (if defined)
+
+

+ + + + + +
 
+class DummyLoader(builtins.object)
    Methods defined here:
+
__init__(self)
+ +
+Data descriptors defined here:
+
__dict__
+
dictionary for instance variables (if defined)
+
+
__weakref__
+
list of weak references to the object (if defined)
+
+

+ + + + + +
 
+class KeyWrapper(builtins.object)
    Static methods defined here:
+
move(relative=0, absolute=None)
+ +
+Data descriptors defined here:
+
__dict__
+
dictionary for instance variables (if defined)
+
+
__weakref__
+
list of weak references to the object (if defined)
+
+

+ + + + + +
 
+class ProcessManager(ranger.gui.widgets.Widget, ranger.ext.accumulator.Accumulator)
    
Method resolution order:
+
ProcessManager
+
ranger.gui.widgets.Widget
+
ranger.gui.displayable.Displayable
+
ranger.shared.EnvironmentAware
+
ranger.shared.FileManagerAware
+
ranger.shared.Awareness
+
ranger.shared.settings.SettingsAware
+
ranger.ext.accumulator.Accumulator
+
builtins.object
+
+
+Methods defined here:
+
__init__(self, win)
+ +
draw(self)
+ +
get_list(self)
+ +
press(self, key)
+ +
process_move(self, absolute, i=None)
+ +
process_remove(self, i=None)
+ +
+Methods inherited from ranger.gui.displayable.Displayable:
+
__contains__(self, item)
Is item inside the boundaries?
+item can be an iterable like [y, x] or an object with x and y methods.
+ +
__nonzero__(self)
Always True
+ +
click(self, event)
Called when a mouse key is pressed and self.focused is True.
+Override this!
+ +
color(self, keylist=None, *keys)
Change the colors from now on.
+ +
color_at(self, y, x, wid, keylist=None, *keys)
Change the colors at the specified position
+ +
color_reset(self)
Change the colors to the default colors
+ +
contains_point(self, y, x)
Test if the point lies within the boundaries of this object
+ +
destroy(self)
Called when the object is destroyed.
+Override this!
+ +
finalize(self)
Called after every displayable is done drawing.
+Override this!
+ +
poke(self)
Called before drawing, even if invisible
+ +
resize(self, y, x, hei=None, wid=None)
Resize the widget
+ +
+Data and other attributes inherited from ranger.gui.displayable.Displayable:
+
colorscheme = None
+ +
focused = False
+ +
visible = True
+ +
win = None
+ +
+Data and other attributes inherited from ranger.shared.EnvironmentAware:
+
env = None
+ +
+Data and other attributes inherited from ranger.shared.FileManagerAware:
+
fm = None
+ +
+Data descriptors inherited from ranger.shared.Awareness:
+
__dict__
+
dictionary for instance variables (if defined)
+
+
__weakref__
+
list of weak references to the object (if defined)
+
+
+Data and other attributes inherited from ranger.shared.settings.SettingsAware:
+
settings = <ranger.ext.openstruct.OpenStruct object at 0x154e450>
+ +
+Methods inherited from ranger.ext.accumulator.Accumulator:
+
correct_pointer(self)
+ +
move(self, relative=0, absolute=None)
+ +
move_to_obj(self, arg, attr=None)
+ +
pointer_is_synced(self)
+ +
sync_index(self, **kw)
+ +

+ \ No newline at end of file diff --git a/doc/pydoc/ranger.gui.widgets.statusbar.html b/doc/pydoc/ranger.gui.widgets.statusbar.html new file mode 100644 index 00000000..9144105d --- /dev/null +++ b/doc/pydoc/ranger.gui.widgets.statusbar.html @@ -0,0 +1,164 @@ + +Python: module ranger.gui.widgets.statusbar + + + + + +
 
+ 
ranger.gui.widgets.statusbar
index
/home/hut/work/ranger/ranger/gui/widgets/statusbar.py
+

The StatusBar displays information about the currently selected file
+in the same form as the "ls -l" command on the left side, and
+some additional info about the current directory on the right side.

+

+ + + + + +
 
+Classes
       
+
ranger.gui.widgets.Widget(ranger.gui.displayable.Displayable) +
+
+
StatusBar +
+
+
+

+ + + + + + + +
 
+class StatusBar(ranger.gui.widgets.Widget)
   The StatusBar displays information about the currently selected file
+in the same form as the "ls -l" command on the left side, and
+some additional info about the current directory on the right side.
 
 
Method resolution order:
+
StatusBar
+
ranger.gui.widgets.Widget
+
ranger.gui.displayable.Displayable
+
ranger.shared.EnvironmentAware
+
ranger.shared.FileManagerAware
+
ranger.shared.Awareness
+
ranger.shared.settings.SettingsAware
+
builtins.object
+
+
+Methods defined here:
+
__init__(self, win, filelist=None)
+ +
draw(self)
Draw the statusbar
+ +
+Data and other attributes defined here:
+
groups = {}
+ +
old_cf = None
+ +
old_mtime = None
+ +
old_wid = None
+ +
override = None
+ +
owners = {}
+ +
result = None
+ +
timeformat = '%Y-%m-%d %H:%M'
+ +
+Methods inherited from ranger.gui.displayable.Displayable:
+
__contains__(self, item)
Is item inside the boundaries?
+item can be an iterable like [y, x] or an object with x and y methods.
+ +
__nonzero__(self)
Always True
+ +
click(self, event)
Called when a mouse key is pressed and self.focused is True.
+Override this!
+ +
color(self, keylist=None, *keys)
Change the colors from now on.
+ +
color_at(self, y, x, wid, keylist=None, *keys)
Change the colors at the specified position
+ +
color_reset(self)
Change the colors to the default colors
+ +
contains_point(self, y, x)
Test if the point lies within the boundaries of this object
+ +
destroy(self)
Called when the object is destroyed.
+Override this!
+ +
finalize(self)
Called after every displayable is done drawing.
+Override this!
+ +
poke(self)
Called before drawing, even if invisible
+ +
press(self, key)
Called when a key is pressed and self.focused is True.
+Override this!
+ +
resize(self, y, x, hei=None, wid=None)
Resize the widget
+ +
+Data and other attributes inherited from ranger.gui.displayable.Displayable:
+
colorscheme = None
+ +
focused = False
+ +
visible = True
+ +
win = None
+ +
+Data and other attributes inherited from ranger.shared.EnvironmentAware:
+
env = None
+ +
+Data and other attributes inherited from ranger.shared.FileManagerAware:
+
fm = None
+ +
+Data descriptors inherited from ranger.shared.Awareness:
+
__dict__
+
dictionary for instance variables (if defined)
+
+
__weakref__
+
list of weak references to the object (if defined)
+
+
+Data and other attributes inherited from ranger.shared.settings.SettingsAware:
+
settings = <ranger.ext.openstruct.OpenStruct object at 0x154e450>
+ +

+ + + + + +
 
+Functions
       
getgrgid(...)
getgrgid(id) -> tuple
+Return the group database entry for the given numeric group ID.  If
+id is not valid, raise KeyError.
+
getpwuid(...)
getpwuid(uid) -> (pw_name,pw_passwd,pw_uid,
+                  pw_gid,pw_gecos,pw_dir,pw_shell)
+Return the password database entry for the given numeric user ID.
+See pwd.__doc__ for more on password database entries.
+
getuid(...)
getuid() -> uid

+Return the current process's user id.
+
localtime(...)
localtime([seconds]) -> (tm_year,tm_mon,tm_mday,tm_hour,tm_min,
+                          tm_sec,tm_wday,tm_yday,tm_isdst)

+Convert seconds since the Epoch to a time tuple expressing local time.
+When 'seconds' is not passed in, convert the current time instead.
+
strftime(...)
strftime(format[, tuple]) -> string

+Convert a time tuple to a string according to a format specification.
+See the library reference manual for formatting codes. When the time tuple
+is not present, current time as returned by localtime() is used.
+
+ \ No newline at end of file diff --git a/doc/pydoc/ranger.gui.widgets.titlebar.html b/doc/pydoc/ranger.gui.widgets.titlebar.html new file mode 100644 index 00000000..c7052477 --- /dev/null +++ b/doc/pydoc/ranger.gui.widgets.titlebar.html @@ -0,0 +1,325 @@ + +Python: module ranger.gui.widgets.titlebar + + + + + +
 
+ 
ranger.gui.widgets.titlebar
index
/home/hut/work/ranger/ranger/gui/widgets/titlebar.py
+

The TitleBar widget displays the current path and some other useful
+information.

+

+ + + + + +
 
+Classes
       
+
builtins.list(builtins.object) +
+
+
BarSide +
+
+
builtins.object +
+
+
Bar +
ColoredString +
+
+
ranger.gui.widgets.Widget(ranger.gui.displayable.Displayable) +
+
+
TitleBar +
+
+
+

+ + + + + +
 
+class Bar(builtins.object)
    Methods defined here:
+
__init__(self)
+ +
add(self, *a, **kw)
+ +
addright(self, *a, **kw)
+ +
combine(self)
+ +
fill_gap(self, char, wid, gapwidth=False)
+ +
fixedsize(self)
+ +
shrink_by_cutting(self, wid)
+ +
shrink_by_removing(self, wid)
+ +
sumsize(self)
+ +
+Data descriptors defined here:
+
__dict__
+
dictionary for instance variables (if defined)
+
+
__weakref__
+
list of weak references to the object (if defined)
+
+
+Data and other attributes defined here:
+
gap = None
+ +
left = None
+ +
right = None
+ +

+ + + + + +
 
+class BarSide(builtins.list)
    
Method resolution order:
+
BarSide
+
builtins.list
+
builtins.object
+
+
+Methods defined here:
+
add(self, string, *lst, **kw)
+ +
fixedsize(self)
+ +
nonfixed_items(self)
+ +
sumsize(self)
+ +
+Data descriptors defined here:
+
__dict__
+
dictionary for instance variables (if defined)
+
+
__weakref__
+
list of weak references to the object (if defined)
+
+
+Methods inherited from builtins.list:
+
__add__(...)
x.__add__(y) <==> x+y
+ +
__contains__(...)
x.__contains__(y) <==> y in x
+ +
__delitem__(...)
x.__delitem__(y) <==> del x[y]
+ +
__eq__(...)
x.__eq__(y) <==> x==y
+ +
__ge__(...)
x.__ge__(y) <==> x>=y
+ +
__getattribute__(...)
x.__getattribute__('name') <==> x.name
+ +
__getitem__(...)
x.__getitem__(y) <==> x[y]
+ +
__gt__(...)
x.__gt__(y) <==> x>y
+ +
__iadd__(...)
x.__iadd__(y) <==> x+=y
+ +
__imul__(...)
x.__imul__(y) <==> x*=y
+ +
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
+ +
__iter__(...)
x.__iter__() <==> iter(x)
+ +
__le__(...)
x.__le__(y) <==> x<=y
+ +
__len__(...)
x.__len__() <==> len(x)
+ +
__lt__(...)
x.__lt__(y) <==> x<y
+ +
__mul__(...)
x.__mul__(n) <==> x*n
+ +
__ne__(...)
x.__ne__(y) <==> x!=y
+ +
__repr__(...)
x.__repr__() <==> repr(x)
+ +
__reversed__(...)
L.__reversed__() -- return a reverse iterator over the list
+ +
__rmul__(...)
x.__rmul__(n) <==> n*x
+ +
__setitem__(...)
x.__setitem__(i, y) <==> x[i]=y
+ +
__sizeof__(...)
L.__sizeof__() -- size of L in memory, in bytes
+ +
append(...)
L.append(object) -- append object to end
+ +
count(...)
L.count(value) -> integer -- return number of occurrences of value
+ +
extend(...)
L.extend(iterable) -- extend list by appending elements from the iterable
+ +
index(...)
L.index(value, [start, [stop]]) -> integer -- return first index of value.
+Raises ValueError if the value is not present.
+ +
insert(...)
L.insert(index, object) -- insert object before index
+ +
pop(...)
L.pop([index]) -> item -- remove and return item at index (default last).
+Raises IndexError if list is empty or index is out of range.
+ +
remove(...)
L.remove(value) -- remove first occurrence of value.
+Raises ValueError if the value is not present.
+ +
reverse(...)
L.reverse() -- reverse *IN PLACE*
+ +
sort(...)
L.sort(key=None, reverse=False) -- stable sort *IN PLACE*
+ +
+Data and other attributes inherited from builtins.list:
+
__hash__ = None
+ +
__new__ = <built-in method __new__ of type object at 0x7f327d9523a0>
T.__new__(S, ...) -> a new object with type S, a subtype of T
+ +

+ + + + + +
 
+class ColoredString(builtins.object)
    Methods defined here:
+
__init__(self, string, *lst)
+ +
__len__(self)
+ +
__str__(self)
+ +
cut_off(self, n)
+ +
cut_off_to(self, n)
+ +
+Data descriptors defined here:
+
__dict__
+
dictionary for instance variables (if defined)
+
+
__weakref__
+
list of weak references to the object (if defined)
+
+
+Data and other attributes defined here:
+
fixed = False
+ +

+ + + + + +
 
+class TitleBar(ranger.gui.widgets.Widget)
    
Method resolution order:
+
TitleBar
+
ranger.gui.widgets.Widget
+
ranger.gui.displayable.Displayable
+
ranger.shared.EnvironmentAware
+
ranger.shared.FileManagerAware
+
ranger.shared.Awareness
+
ranger.shared.settings.SettingsAware
+
builtins.object
+
+
+Methods defined here:
+
draw(self)
+ +
+Data and other attributes defined here:
+
old_cf = None
+ +
old_keybuffer = None
+ +
old_wid = None
+ +
result = None
+ +
throbber = ' '
+ +
+Methods inherited from ranger.gui.displayable.Displayable:
+
__contains__(self, item)
Is item inside the boundaries?
+item can be an iterable like [y, x] or an object with x and y methods.
+ +
__init__(self, win, env=None, fm=None, settings=None)
+ +
__nonzero__(self)
Always True
+ +
click(self, event)
Called when a mouse key is pressed and self.focused is True.
+Override this!
+ +
color(self, keylist=None, *keys)
Change the colors from now on.
+ +
color_at(self, y, x, wid, keylist=None, *keys)
Change the colors at the specified position
+ +
color_reset(self)
Change the colors to the default colors
+ +
contains_point(self, y, x)
Test if the point lies within the boundaries of this object
+ +
destroy(self)
Called when the object is destroyed.
+Override this!
+ +
finalize(self)
Called after every displayable is done drawing.
+Override this!
+ +
poke(self)
Called before drawing, even if invisible
+ +
press(self, key)
Called when a key is pressed and self.focused is True.
+Override this!
+ +
resize(self, y, x, hei=None, wid=None)
Resize the widget
+ +
+Data and other attributes inherited from ranger.gui.displayable.Displayable:
+
colorscheme = None
+ +
focused = False
+ +
visible = True
+ +
win = None
+ +
+Data and other attributes inherited from ranger.shared.EnvironmentAware:
+
env = None
+ +
+Data and other attributes inherited from ranger.shared.FileManagerAware:
+
fm = None
+ +
+Data descriptors inherited from ranger.shared.Awareness:
+
__dict__
+
dictionary for instance variables (if defined)
+
+
__weakref__
+
list of weak references to the object (if defined)
+
+
+Data and other attributes inherited from ranger.shared.settings.SettingsAware:
+
settings = <ranger.ext.openstruct.OpenStruct object at 0x154e450>
+ +

+ + + + + +
 
+Functions
       
floor(...)
floor(x)

+Return the floor of x as an int.
+This is the largest integral value <= x.
+
+ \ No newline at end of file diff --git a/doc/pydoc/ranger.html b/doc/pydoc/ranger.html new file mode 100644 index 00000000..0fd5ba08 --- /dev/null +++ b/doc/pydoc/ranger.html @@ -0,0 +1,70 @@ + +Python: package ranger + + + + + +
 
+ 
ranger (version 1.0.0)
index
/home/hut/work/ranger/ranger/__init__.py
+

Ranger - file browser for the unix terminal

+

+ + + + + +
 
+Package Contents
       
actions
+applications
+colorschemes (package)
+
commands
+container (package)
+defaults (package)
+
ext (package)
+fm
+fsobject (package)
+
gui (package)
+shared (package)
+

+ + + + + +
 
+Functions
       
main()
initialize objects and run the filemanager
+

+ + + + + +
 
+Data
       CONFDIR = '/home/hut/.ranger'
+RANGERDIR = '/home/hut/work/ranger/ranger'
+USAGE = '%s [options] [path/filename]'
+__author__ = 'hut'
+__copyright__ = 'none'
+__credits__ = 'hut'
+__email__ = 'hut@lavabit.com'
+__license__ = 'GPL'
+__maintainer__ = 'hut'
+__version__ = '1.0.0'

+ + + + + +
 
+Author
       hut

+ + + + + +
 
+Credits
       hut
+ \ No newline at end of file diff --git a/doc/pydoc/ranger.shared.html b/doc/pydoc/ranger.shared.html new file mode 100644 index 00000000..225b3ade --- /dev/null +++ b/doc/pydoc/ranger.shared.html @@ -0,0 +1,107 @@ + +Python: package ranger.shared + + + + + +
 
+ 
ranger.shared
index
/home/hut/work/ranger/ranger/shared/__init__.py
+

Shared objects contian singleton variables wich can be
+inherited, essentially acting like global variables.

+

+ + + + + +
 
+Package Contents
       
mimetype
+
settings
+

+ + + + + +
 
+Classes
       
+
builtins.object +
+
+
Awareness +
+
+
EnvironmentAware +
FileManagerAware +
+
+
+
+
+

+ + + + + +
 
+class Awareness(builtins.object)
    Data descriptors defined here:
+
__dict__
+
dictionary for instance variables (if defined)
+
+
__weakref__
+
list of weak references to the object (if defined)
+
+

+ + + + + +
 
+class EnvironmentAware(Awareness)
    
Method resolution order:
+
EnvironmentAware
+
Awareness
+
builtins.object
+
+
+Data and other attributes defined here:
+
env = None
+ +
+Data descriptors inherited from Awareness:
+
__dict__
+
dictionary for instance variables (if defined)
+
+
__weakref__
+
list of weak references to the object (if defined)
+
+

+ + + + + +
 
+class FileManagerAware(Awareness)
    
Method resolution order:
+
FileManagerAware
+
Awareness
+
builtins.object
+
+
+Data and other attributes defined here:
+
fm = None
+ +
+Data descriptors inherited from Awareness:
+
__dict__
+
dictionary for instance variables (if defined)
+
+
__weakref__
+
list of weak references to the object (if defined)
+
+

+ \ No newline at end of file diff --git a/doc/pydoc/ranger.shared.mimetype.html b/doc/pydoc/ranger.shared.mimetype.html new file mode 100644 index 00000000..4ae8aabb --- /dev/null +++ b/doc/pydoc/ranger.shared.mimetype.html @@ -0,0 +1,51 @@ + +Python: module ranger.shared.mimetype + + + + + +
 
+ 
ranger.shared.mimetype
index
/home/hut/work/ranger/ranger/shared/mimetype.py
+

+

+ + + + + +
 
+Classes
       
+
builtins.object +
+
+
MimeTypeAware +
+
+
+

+ + + + + +
 
+class MimeTypeAware(builtins.object)
    Methods defined here:
+
__init__(self)
+ +
+Data descriptors defined here:
+
__dict__
+
dictionary for instance variables (if defined)
+
+
__weakref__
+
list of weak references to the object (if defined)
+
+
+Data and other attributes defined here:
+
mimetypes = {}
+ +

+ \ No newline at end of file diff --git a/doc/pydoc/ranger.shared.settings.html b/doc/pydoc/ranger.shared.settings.html new file mode 100644 index 00000000..ec661e76 --- /dev/null +++ b/doc/pydoc/ranger.shared.settings.html @@ -0,0 +1,54 @@ + +Python: module ranger.shared.settings + + + + + +
 
+ 
ranger.shared.settings
index
/home/hut/work/ranger/ranger/shared/settings.py
+

+

+ + + + + +
 
+Classes
       
+
builtins.object +
+
+
SettingsAware +
+
+
+

+ + + + + +
 
+class SettingsAware(builtins.object)
    Data descriptors defined here:
+
__dict__
+
dictionary for instance variables (if defined)
+
+
__weakref__
+
list of weak references to the object (if defined)
+
+
+Data and other attributes defined here:
+
settings = <ranger.ext.openstruct.OpenStruct object at 0x154e450>
+ +

+ + + + + +
 
+Data
       ALLOWED_SETTINGS = ['show_hidden', 'scroll_offset', 'directories_first', 'sort', 'reverse', 'preview_files', 'max_history_size', 'colorscheme', 'collapse_preview', 'auto_load_preview', 'max_dirsize_for_autopreview', 'apps', 'keys']
+ \ No newline at end of file diff --git a/doc/pydoc/sys.html b/doc/pydoc/sys.html new file mode 100644 index 00000000..b3de7023 --- /dev/null +++ b/doc/pydoc/sys.html @@ -0,0 +1,244 @@ + +Python: built-in module sys + + + + + +
 
+ 
sys
index
(built-in)
Module Docs
+

This module provides access to some objects used or maintained by the
+interpreter and to functions that interact strongly with the interpreter.

+Dynamic objects:

+argv -- command line arguments; argv[0] is the script pathname if known
+path -- module search path; path[0] is the script directory, else ''
+modules -- dictionary of loaded modules

+displayhook -- called to show results in an interactive session
+excepthook -- called to handle any uncaught exception other than SystemExit
+  To customize printing in an interactive session or to install a custom
+  top-level exception handler, assign other functions to replace these.

+stdin -- standard input file object; used by input()
+stdout -- standard output file object; used by print()
+stderr -- standard error object; used for error messages
+  By assigning other file objects (or objects that behave like files)
+  to these, it is possible to redirect all of the interpreter's I/O.

+last_type -- type of last uncaught exception
+last_value -- value of last uncaught exception
+last_traceback -- traceback of last uncaught exception
+  These three are only available in an interactive session after a
+  traceback has been printed.

+Static objects:

+float_info -- a dict with information about the float implementation.
+int_info -- a struct sequence with information about the int implementation.
+maxsize -- the largest supported length of containers.
+maxunicode -- the largest supported character
+builtin_module_names -- tuple of module names built into this interpreter
+subversion -- subversion information of the build as tuple
+version -- the version of this interpreter as a string
+version_info -- version information as a named tuple
+hexversion -- version information encoded as a single integer
+copyright -- copyright notice pertaining to this interpreter
+platform -- platform identifier
+executable -- pathname of this Python interpreter
+prefix -- prefix used to find the Python library
+exec_prefix -- prefix used to find the machine-specific Python library
+float_repr_style -- string indicating the style of repr() output for floats
+__stdin__ -- the original stdin; don't touch!
+__stdout__ -- the original stdout; don't touch!
+__stderr__ -- the original stderr; don't touch!
+__displayhook__ -- the original displayhook; don't touch!
+__excepthook__ -- the original excepthook; don't touch!

+Functions:

+displayhook() -- print an object to the screen, and save it in builtins._
+excepthook() -- print an exception and its traceback to sys.stderr
+exc_info() -- return thread-safe information about the current exception
+exit() -- exit the interpreter by raising SystemExit
+getdlopenflags() -- returns flags to be used for dlopen() calls
+getprofile() -- get the global profiling function
+getrefcount() -- return the reference count for an object (plus one :-)
+getrecursionlimit() -- return the max recursion depth for the interpreter
+getsizeof() -- return the size of an object in bytes
+gettrace() -- get the global debug tracing function
+setcheckinterval() -- control how often the interpreter checks for events
+setdlopenflags() -- set the flags to be used for dlopen() calls
+setprofile() -- set the global profiling function
+setrecursionlimit() -- set the max recursion depth for the interpreter
+settrace() -- set the global debug tracing function

+

+ + + + + +
 
+Functions
       
__displayhook__ = displayhook(...)
displayhook(object) -> None

+Print an object to sys.stdout and also save it in builtins.
+
__excepthook__ = excepthook(...)
excepthook(exctype, value, traceback) -> None

+Handle an exception by displaying it with a traceback on sys.stderr.
+
call_tracing(...)
call_tracing(func, args) -> object

+Call func(*args), while tracing is enabled.  The tracing state is
+saved, and restored afterwards.  This is intended to be called from
+a debugger from a checkpoint, to recursively debug some other code.
+
callstats(...)
callstats() -> tuple of integers

+Return a tuple of function call statistics, if CALL_PROFILE was defined
+when Python was built.  Otherwise, return None.

+When enabled, this function returns detailed, implementation-specific
+details about the number of function calls executed. The return value is
+a 11-tuple where the entries in the tuple are counts of:
+0. all function calls
+1. calls to PyFunction_Type objects
+2. PyFunction calls that do not create an argument tuple
+3. PyFunction calls that do not create an argument tuple
+   and bypass PyEval_EvalCodeEx()
+4. PyMethod calls
+5. PyMethod calls on bound methods
+6. PyType calls
+7. PyCFunction calls
+8. generator calls
+9. All other calls
+10. Number of stack pops performed by call_function()
+
displayhook(...)
displayhook(object) -> None

+Print an object to sys.stdout and also save it in builtins.
+
exc_info(...)
exc_info() -> (type, value, traceback)

+Return information about the most recent exception caught by an except
+clause in the current stack frame or in an older stack frame.
+
excepthook(...)
excepthook(exctype, value, traceback) -> None

+Handle an exception by displaying it with a traceback on sys.stderr.
+
exit(...)
exit([status])

+Exit the interpreter by raising SystemExit(status).
+If the status is omitted or None, it defaults to zero (i.e., success).
+If the status is numeric, it will be used as the system exit status.
+If it is another kind of object, it will be printed and the system
+exit status will be one (i.e., failure).
+
getcheckinterval(...)
getcheckinterval() -> current check interval; see setcheckinterval().
+
getdefaultencoding(...)
getdefaultencoding() -> string

+Return the current default string encoding used by the Unicode 
+implementation.
+
getdlopenflags(...)
getdlopenflags() -> int

+Return the current value of the flags that are used for dlopen calls.
+The flag constants are defined in the ctypes and DLFCN modules.
+
getfilesystemencoding(...)
getfilesystemencoding() -> string

+Return the encoding used to convert Unicode filenames in
+operating system filenames.
+
getprofile(...)
getprofile()

+Return the profiling function set with sys.setprofile.
+See the profiler chapter in the library manual.
+
getrecursionlimit(...)
getrecursionlimit()

+Return the current value of the recursion limit, the maximum depth
+of the Python interpreter stack.  This limit prevents infinite
+recursion from causing an overflow of the C stack and crashing Python.
+
getrefcount(...)
getrefcount(object) -> integer

+Return the reference count of object.  The count returned is generally
+one higher than you might expect, because it includes the (temporary)
+reference as an argument to getrefcount().
+
getsizeof(...)
getsizeof(object, default) -> int

+Return the size of object in bytes.
+
gettrace(...)
gettrace()

+Return the global debug tracing function set with sys.settrace.
+See the debugger chapter in the library manual.
+
intern(...)
intern(string) -> string

+``Intern'' the given string.  This enters the string in the (global)
+table of interned strings whose purpose is to speed up dictionary lookups.
+Return the string itself or the previously interned string object with the
+same value.
+
setcheckinterval(...)
setcheckinterval(n)

+Tell the Python interpreter to check for asynchronous events every
+n instructions.  This also affects how often thread switches occur.
+
setdlopenflags(...)
setdlopenflags(n) -> None

+Set the flags used by the interpreter for dlopen calls, such as when the
+interpreter loads extension modules.  Among other things, this will enable
+a lazy resolving of symbols when importing a module, if called as
+sys.setdlopenflags(0).  To share symbols across extension modules, call as
+sys.setdlopenflags(ctypes.RTLD_GLOBAL).  Symbolic names for the flag modules
+can be either found in the ctypes module, or in the DLFCN module. If DLFCN
+is not available, it can be generated from /usr/include/dlfcn.h using the
+h2py script.
+
setfilesystemencoding(...)
setfilesystemencoding(string) -> None

+Set the encoding used to convert Unicode filenames in
+operating system filenames.
+
setprofile(...)
setprofile(function)

+Set the profiling function.  It will be called on each function call
+and return.  See the profiler chapter in the library manual.
+
setrecursionlimit(...)
setrecursionlimit(n)

+Set the maximum depth of the Python interpreter stack to n.  This
+limit prevents infinite recursion from causing an overflow of the C
+stack and crashing Python.  The highest possible limit is platform-
+dependent.
+
settrace(...)
settrace(function)

+Set the global debug tracing function.  It will be called on each
+function call.  See the debugger chapter in the library manual.
+

+ + + + + +
 
+Data
       __stderr__ = <_io.TextIOWrapper name='<stderr>' encoding='UTF-8'>
+__stdin__ = <_io.TextIOWrapper name='<stdin>' encoding='UTF-8'>
+__stdout__ = <_io.TextIOWrapper name='<stdout>' encoding='UTF-8'>
+api_version = 1013
+argv = ['./make_doc.py']
+builtin_module_names = ('__main__', '_ast', '_codecs', '_functools', '_io', '_locale', '_sre', '_symtable', '_thread', '_warnings', '_weakref', 'builtins', 'errno', 'gc', 'imp', 'marshal', 'posix', 'pwd', 'signal', 'sys', ...)
+byteorder = 'little'
+copyright = 'Copyright (c) 2001-2009 Python Software Foundati...ematisch Centrum, Amsterdam.\nAll Rights Reserved.'
+dont_write_bytecode = False
+exec_prefix = '/usr'
+executable = '/usr/bin/python3'
+flags = sys.flags(debug=0, division_warning=0, inspect=0...ignore_environment=0, verbose=0, bytes_warning=0)
+float_info = sys.floatinfo(max=1.7976931348623157e+308, max_e...epsilon=2.220446049250313e-16, radix=2, rounds=1)
+float_repr_style = 'short'
+hexversion = 50397680
+int_info = sys.int_info(bits_per_digit=30, sizeof_digit=4)
+maxsize = 9223372036854775807
+maxunicode = 1114111
+meta_path = []
+modules = {'__future__': <module '__future__' from '/usr/lib/python3.1/__future__.py'>, '__init__': <module '__init__' from '/home/hut/.ranger/__init__.py'>, '__main__': <module '__main__' from './make_doc.py'>, '_abcoll': <module '_abcoll' from '/usr/lib/python3.1/_abcoll.py'>, '_bisect': <module '_bisect' from '/usr/lib/python3.1/lib-dynload/_bisect.so'>, '_codecs': <module '_codecs' (built-in)>, '_collections': <module '_collections' from '/usr/lib/python3.1/lib-dynload/_collections.so'>, '_curses': <module '_curses' from '/usr/lib/python3.1/lib-dynload/_curses.so'>, '_functools': <module '_functools' (built-in)>, '_heapq': <module '_heapq' from '/usr/lib/python3.1/lib-dynload/_heapq.so'>, ...}
+path = ['/home/hut/.ranger', '/home/hut/work/ranger', '/usr/lib/python31.zip', '/usr/lib/python3.1', '/usr/lib/python3.1/plat-linux2', '/usr/lib/python3.1/lib-dynload', '/usr/lib/python3.1/site-packages', '/home/hut/.ranger']
+path_hooks = [<class 'zipimport.zipimporter'>]
+path_importer_cache = {'.': None, './make_doc.py': <imp.NullImporter object at 0x7f327d9e39f0>, '/home/hut/.ranger': None, '/home/hut/.ranger/colorschemes': None, '/home/hut/work/ranger': None, '/home/hut/work/ranger/ranger': None, '/home/hut/work/ranger/ranger/colorschemes': None, '/home/hut/work/ranger/ranger/container': None, '/home/hut/work/ranger/ranger/defaults': None, '/home/hut/work/ranger/ranger/ext': None, ...}
+platform = 'linux2'
+prefix = '/usr'
+stderr = <_io.TextIOWrapper name='<stderr>' encoding='UTF-8'>
+stdin = <_io.TextIOWrapper name='<stdin>' encoding='UTF-8'>
+stdout = <_io.TextIOWrapper name='<stdout>' encoding='UTF-8'>
+subversion = ('CPython', 'tags/r311', '74480')
+version = '3.1.1 (r311:74480, Aug 27 2009, 04:56:37) \n[GCC 4.4.1]'
+version_info = sys.version_info(major=3, minor=1, micro=1, releaselevel='final', serial=0)
+warnoptions = []
+ \ No newline at end of file diff --git a/doc/pydoc/test.html b/doc/pydoc/test.html new file mode 100644 index 00000000..5d239e76 --- /dev/null +++ b/doc/pydoc/test.html @@ -0,0 +1,34 @@ + +Python: package test + + + + + +
 
+ 
test
index
/home/hut/work/ranger/test/__init__.py
+

+

+ + + + + +
 
+Package Contents
       
tc_colorscheme
+tc_directory
+
tc_displayable
+tc_history
+
tc_ui
+test
+

+ + + + + +
 
+Data
       __all__ = ['tc_history', 'tc_directory', 'tc_ui', 'tc_history', 'tc_ui', 'tc_displayable', 'tc_colorscheme', 'tc_directory', 'tc_colorscheme', 'tc_displayable']
+ \ No newline at end of file diff --git a/doc/pydoc/test.tc_colorscheme.html b/doc/pydoc/test.tc_colorscheme.html new file mode 100644 index 00000000..fbd73399 --- /dev/null +++ b/doc/pydoc/test.tc_colorscheme.html @@ -0,0 +1,298 @@ + +Python: module test.tc_colorscheme + + + + + +
 
+ 
test.tc_colorscheme
index
/home/hut/work/ranger/test/tc_colorscheme.py
+

+

+ + + + + +
 
+Modules
       
random
+
ranger
+

+ + + + + +
 
+Classes
       
+
unittest.TestCase(builtins.object) +
+
+
Test +
+
+
+

+ + + + + +
 
+class Test(unittest.TestCase)
    
Method resolution order:
+
Test
+
unittest.TestCase
+
builtins.object
+
+
+Methods defined here:
+
setUp(self)
+ +
test_colorschemes(self)
+ +
+Methods inherited from unittest.TestCase:
+
__call__(self, *args, **kwds)
+ +
__eq__(self, other)
+ +
__hash__(self)
+ +
__init__(self, methodName='runTest')
Create an instance of the class that will use the named test
+method when executed. Raises a ValueError if the instance does
+not have a method with the specified name.
+ +
__ne__(self, other)
+ +
__repr__(self)
+ +
__str__(self)
+ +
addCleanup(self, function, *args, **kwargs)
Add a function, with arguments, to be called when the test is
+completed. Functions added are called on a LIFO basis and are
+called after tearDown on test failure or success.

+Cleanup items are called even if setUp fails (unlike tearDown).
+ +
addTypeEqualityFunc(self, typeobj, function)
Add a type specific assertEqual style function to compare a type.

+This method is for use by TestCase subclasses that need to register
+their own type equality functions to provide nicer error messages.

+Args:
+    typeobj: The data type to call this function on when both values
+            are of the same type in assertEqual().
+    function: The callable taking two arguments and an optional
+            msg= argument that raises self.failureException with a
+            useful error message when the two arguments are not equal.
+ +
assertAlmostEqual(self, first, second, *, places=7, msg=None)
Fail if the two objects are unequal as determined by their
+difference rounded to the given number of decimal places
+(default 7) and comparing to zero.

+Note that decimal places (from zero) are usually not the same
+as significant digits (measured from the most signficant digit).
+ +
assertAlmostEquals = assertAlmostEqual(self, first, second, *, places=7, msg=None)
Fail if the two objects are unequal as determined by their
+difference rounded to the given number of decimal places
+(default 7) and comparing to zero.

+Note that decimal places (from zero) are usually not the same
+as significant digits (measured from the most signficant digit).
+ +
assertDictContainsSubset(self, expected, actual, msg=None)
Checks whether actual is a superset of expected.
+ +
assertDictEqual(self, d1, d2, msg=None)
+ +
assertEqual(self, first, second, msg=None)
Fail if the two objects are unequal as determined by the '=='
+operator.
+ +
assertEquals = assertEqual(self, first, second, msg=None)
Fail if the two objects are unequal as determined by the '=='
+operator.
+ +
assertFalse(self, expr, msg=None)
Fail the test if the expression is true.
+ +
assertGreater(self, a, b, msg=None)
Just like assertTrue(a > b), but with a nicer default message.
+ +
assertGreaterEqual(self, a, b, msg=None)
Just like assertTrue(a >= b), but with a nicer default message.
+ +
assertIn(self, member, container, msg=None)
Just like assertTrue(a in b), but with a nicer default message.
+ +
assertIs(self, expr1, expr2, msg=None)
Just like assertTrue(a is b), but with a nicer default message.
+ +
assertIsNone(self, obj, msg=None)
Same as assertTrue(obj is None), with a nicer default message.
+ +
assertIsNot(self, expr1, expr2, msg=None)
Just like assertTrue(a is not b), but with a nicer default message.
+ +
assertIsNotNone(self, obj, msg=None)
Included for symmetry with assertIsNone.
+ +
assertLess(self, a, b, msg=None)
Just like assertTrue(a < b), but with a nicer default message.
+ +
assertLessEqual(self, a, b, msg=None)
Just like assertTrue(a <= b), but with a nicer default message.
+ +
assertListEqual(self, list1, list2, msg=None)
A list-specific equality assertion.

+Args:
+    list1: The first list to compare.
+    list2: The second list to compare.
+    msg: Optional message to use on failure instead of a list of
+            differences.
+ +
assertMultiLineEqual(self, first, second, msg=None)
Assert that two multi-line strings are equal.
+ +
assertNotAlmostEqual(self, first, second, *, places=7, msg=None)
Fail if the two objects are equal as determined by their
+difference rounded to the given number of decimal places
+(default 7) and comparing to zero.

+Note that decimal places (from zero) are usually not the same
+as significant digits (measured from the most signficant digit).
+ +
assertNotAlmostEquals = assertNotAlmostEqual(self, first, second, *, places=7, msg=None)
Fail if the two objects are equal as determined by their
+difference rounded to the given number of decimal places
+(default 7) and comparing to zero.

+Note that decimal places (from zero) are usually not the same
+as significant digits (measured from the most signficant digit).
+ +
assertNotEqual(self, first, second, msg=None)
Fail if the two objects are equal as determined by the '=='
+operator.
+ +
assertNotEquals = assertNotEqual(self, first, second, msg=None)
Fail if the two objects are equal as determined by the '=='
+operator.
+ +
assertNotIn(self, member, container, msg=None)
Just like assertTrue(a not in b), but with a nicer default message.
+ +
assertRaises(self, excClass, callableObj=None, *args, **kwargs)
Fail unless an exception of class excClass is thrown
+by callableObj when invoked with arguments args and keyword
+arguments kwargs. If a different type of exception is
+thrown, it will not be caught, and the test case will be
+deemed to have suffered an error, exactly as for an
+unexpected exception.

+If called with callableObj omitted or None, will return a
+context object used like this::

+     with assertRaises(some_error_class):
+         do_something()
+ +
assertRaisesRegexp(self, expected_exception, expected_regexp, callable_obj=None, *args, **kwargs)
Asserts that the message in a raised exception matches a regexp.

+Args:
+    expected_exception: Exception class expected to be raised.
+    expected_regexp: Regexp (re pattern object or string) expected
+            to be found in error message.
+    callable_obj: Function to be called.
+    args: Extra args.
+    kwargs: Extra kwargs.
+ +
assertRegexpMatches(self, text, expected_regex, msg=None)
+ +
assertSameElements(self, expected_seq, actual_seq, msg=None)
An unordered sequence specific comparison.

+Raises with an error message listing which elements of expected_seq
+are missing from actual_seq and vice versa if any.
+ +
assertSequenceEqual(self, seq1, seq2, msg=None, seq_type=None)
An equality assertion for ordered sequences (like lists and tuples).

+For the purposes of this function, a valid orderd sequence type is one
+which can be indexed, has a length, and has an equality operator.

+Args:
+    seq1: The first sequence to compare.
+    seq2: The second sequence to compare.
+    seq_type: The expected datatype of the sequences, or None if no
+            datatype should be enforced.
+    msg: Optional message to use on failure instead of a list of
+            differences.
+ +
assertSetEqual(self, set1, set2, msg=None)
A set-specific equality assertion.

+Args:
+    set1: The first set to compare.
+    set2: The second set to compare.
+    msg: Optional message to use on failure instead of a list of
+            differences.

+For more general containership equality, assertSameElements will work
+with things other than sets.    This uses ducktyping to support
+different types of sets, and is optimized for sets specifically
+(parameters must support a difference method).
+ +
assertTrue(self, expr, msg=None)
Fail the test unless the expression is true.
+ +
assertTupleEqual(self, tuple1, tuple2, msg=None)
A tuple-specific equality assertion.

+Args:
+    tuple1: The first tuple to compare.
+    tuple2: The second tuple to compare.
+    msg: Optional message to use on failure instead of a list of
+            differences.
+ +
assert_ = assertTrue(self, expr, msg=None)
Fail the test unless the expression is true.
+ +
countTestCases(self)
+ +
debug(self)
Run the test without collecting errors in a TestResult
+ +
defaultTestResult(self)
+ +
doCleanups(self)
Execute all cleanup functions. Normally called for you after
+tearDown.
+ +
fail(self, msg=None)
Fail immediately, with the given message.
+ +
failIf = deprecated_func(*args, **kwargs)
+ +
failIfAlmostEqual = deprecated_func(*args, **kwargs)
+ +
failIfEqual = deprecated_func(*args, **kwargs)
+ +
failUnless = deprecated_func(*args, **kwargs)
+ +
failUnlessAlmostEqual = deprecated_func(*args, **kwargs)
+ +
failUnlessEqual = deprecated_func(*args, **kwargs)
+ +
failUnlessRaises = deprecated_func(*args, **kwargs)
+ +
id(self)
+ +
run(self, result=None)
+ +
shortDescription(self)
Returns both the test method name and first line of its docstring.

+If no docstring is given, only returns the method name.

+This method overrides unittest.TestCase.shortDescription(), which
+only returns the first line of the docstring, obscuring the name
+of the test upon failure.
+ +
skipTest(self, reason)
Skip this test.
+ +
tearDown(self)
Hook method for deconstructing the test fixture after testing it.
+ +
+Data descriptors inherited from unittest.TestCase:
+
__dict__
+
dictionary for instance variables (if defined)
+
+
__weakref__
+
list of weak references to the object (if defined)
+
+
+Data and other attributes inherited from unittest.TestCase:
+
failureException = <class 'AssertionError'>
Assertion failed.
+ +
longMessage = False
+ +

+ + + + + +
 
+Data
       CONTEXT_KEYS = ['reset', 'error', 'in_display', 'in_statusbar', 'in_titlebar', 'in_console', 'in_notify', 'in_pman', 'directory', 'file', 'hostname', 'executable', 'media', 'link', 'video', 'audio', 'image', 'media', 'document', 'container', ...]
+ \ No newline at end of file diff --git a/doc/pydoc/test.tc_directory.html b/doc/pydoc/test.tc_directory.html new file mode 100644 index 00000000..0c6fe0b1 --- /dev/null +++ b/doc/pydoc/test.tc_directory.html @@ -0,0 +1,306 @@ + +Python: module test.tc_directory + + + + + +
 
+ 
test.tc_directory
index
/home/hut/work/ranger/test/tc_directory.py
+

+

+ + + + + +
 
+Modules
       
ranger.fsobject
+
unittest
+

+ + + + + +
 
+Classes
       
+
unittest.TestCase(builtins.object) +
+
+
Test1 +
+
+
+

+ + + + + +
 
+class Test1(unittest.TestCase)
    
Method resolution order:
+
Test1
+
unittest.TestCase
+
builtins.object
+
+
+Methods defined here:
+
test_after_content_loaded(self)
+ +
test_initial_condition(self)
+ +
test_load_if_outdated(self)
+ +
test_nonexistant_dir(self)
+ +
+Methods inherited from unittest.TestCase:
+
__call__(self, *args, **kwds)
+ +
__eq__(self, other)
+ +
__hash__(self)
+ +
__init__(self, methodName='runTest')
Create an instance of the class that will use the named test
+method when executed. Raises a ValueError if the instance does
+not have a method with the specified name.
+ +
__ne__(self, other)
+ +
__repr__(self)
+ +
__str__(self)
+ +
addCleanup(self, function, *args, **kwargs)
Add a function, with arguments, to be called when the test is
+completed. Functions added are called on a LIFO basis and are
+called after tearDown on test failure or success.

+Cleanup items are called even if setUp fails (unlike tearDown).
+ +
addTypeEqualityFunc(self, typeobj, function)
Add a type specific assertEqual style function to compare a type.

+This method is for use by TestCase subclasses that need to register
+their own type equality functions to provide nicer error messages.

+Args:
+    typeobj: The data type to call this function on when both values
+            are of the same type in assertEqual().
+    function: The callable taking two arguments and an optional
+            msg= argument that raises self.failureException with a
+            useful error message when the two arguments are not equal.
+ +
assertAlmostEqual(self, first, second, *, places=7, msg=None)
Fail if the two objects are unequal as determined by their
+difference rounded to the given number of decimal places
+(default 7) and comparing to zero.

+Note that decimal places (from zero) are usually not the same
+as significant digits (measured from the most signficant digit).
+ +
assertAlmostEquals = assertAlmostEqual(self, first, second, *, places=7, msg=None)
Fail if the two objects are unequal as determined by their
+difference rounded to the given number of decimal places
+(default 7) and comparing to zero.

+Note that decimal places (from zero) are usually not the same
+as significant digits (measured from the most signficant digit).
+ +
assertDictContainsSubset(self, expected, actual, msg=None)
Checks whether actual is a superset of expected.
+ +
assertDictEqual(self, d1, d2, msg=None)
+ +
assertEqual(self, first, second, msg=None)
Fail if the two objects are unequal as determined by the '=='
+operator.
+ +
assertEquals = assertEqual(self, first, second, msg=None)
Fail if the two objects are unequal as determined by the '=='
+operator.
+ +
assertFalse(self, expr, msg=None)
Fail the test if the expression is true.
+ +
assertGreater(self, a, b, msg=None)
Just like assertTrue(a > b), but with a nicer default message.
+ +
assertGreaterEqual(self, a, b, msg=None)
Just like assertTrue(a >= b), but with a nicer default message.
+ +
assertIn(self, member, container, msg=None)
Just like assertTrue(a in b), but with a nicer default message.
+ +
assertIs(self, expr1, expr2, msg=None)
Just like assertTrue(a is b), but with a nicer default message.
+ +
assertIsNone(self, obj, msg=None)
Same as assertTrue(obj is None), with a nicer default message.
+ +
assertIsNot(self, expr1, expr2, msg=None)
Just like assertTrue(a is not b), but with a nicer default message.
+ +
assertIsNotNone(self, obj, msg=None)
Included for symmetry with assertIsNone.
+ +
assertLess(self, a, b, msg=None)
Just like assertTrue(a < b), but with a nicer default message.
+ +
assertLessEqual(self, a, b, msg=None)
Just like assertTrue(a <= b), but with a nicer default message.
+ +
assertListEqual(self, list1, list2, msg=None)
A list-specific equality assertion.

+Args:
+    list1: The first list to compare.
+    list2: The second list to compare.
+    msg: Optional message to use on failure instead of a list of
+            differences.
+ +
assertMultiLineEqual(self, first, second, msg=None)
Assert that two multi-line strings are equal.
+ +
assertNotAlmostEqual(self, first, second, *, places=7, msg=None)
Fail if the two objects are equal as determined by their
+difference rounded to the given number of decimal places
+(default 7) and comparing to zero.

+Note that decimal places (from zero) are usually not the same
+as significant digits (measured from the most signficant digit).
+ +
assertNotAlmostEquals = assertNotAlmostEqual(self, first, second, *, places=7, msg=None)
Fail if the two objects are equal as determined by their
+difference rounded to the given number of decimal places
+(default 7) and comparing to zero.

+Note that decimal places (from zero) are usually not the same
+as significant digits (measured from the most signficant digit).
+ +
assertNotEqual(self, first, second, msg=None)
Fail if the two objects are equal as determined by the '=='
+operator.
+ +
assertNotEquals = assertNotEqual(self, first, second, msg=None)
Fail if the two objects are equal as determined by the '=='
+operator.
+ +
assertNotIn(self, member, container, msg=None)
Just like assertTrue(a not in b), but with a nicer default message.
+ +
assertRaises(self, excClass, callableObj=None, *args, **kwargs)
Fail unless an exception of class excClass is thrown
+by callableObj when invoked with arguments args and keyword
+arguments kwargs. If a different type of exception is
+thrown, it will not be caught, and the test case will be
+deemed to have suffered an error, exactly as for an
+unexpected exception.

+If called with callableObj omitted or None, will return a
+context object used like this::

+     with assertRaises(some_error_class):
+         do_something()
+ +
assertRaisesRegexp(self, expected_exception, expected_regexp, callable_obj=None, *args, **kwargs)
Asserts that the message in a raised exception matches a regexp.

+Args:
+    expected_exception: Exception class expected to be raised.
+    expected_regexp: Regexp (re pattern object or string) expected
+            to be found in error message.
+    callable_obj: Function to be called.
+    args: Extra args.
+    kwargs: Extra kwargs.
+ +
assertRegexpMatches(self, text, expected_regex, msg=None)
+ +
assertSameElements(self, expected_seq, actual_seq, msg=None)
An unordered sequence specific comparison.

+Raises with an error message listing which elements of expected_seq
+are missing from actual_seq and vice versa if any.
+ +
assertSequenceEqual(self, seq1, seq2, msg=None, seq_type=None)
An equality assertion for ordered sequences (like lists and tuples).

+For the purposes of this function, a valid orderd sequence type is one
+which can be indexed, has a length, and has an equality operator.

+Args:
+    seq1: The first sequence to compare.
+    seq2: The second sequence to compare.
+    seq_type: The expected datatype of the sequences, or None if no
+            datatype should be enforced.
+    msg: Optional message to use on failure instead of a list of
+            differences.
+ +
assertSetEqual(self, set1, set2, msg=None)
A set-specific equality assertion.

+Args:
+    set1: The first set to compare.
+    set2: The second set to compare.
+    msg: Optional message to use on failure instead of a list of
+            differences.

+For more general containership equality, assertSameElements will work
+with things other than sets.    This uses ducktyping to support
+different types of sets, and is optimized for sets specifically
+(parameters must support a difference method).
+ +
assertTrue(self, expr, msg=None)
Fail the test unless the expression is true.
+ +
assertTupleEqual(self, tuple1, tuple2, msg=None)
A tuple-specific equality assertion.

+Args:
+    tuple1: The first tuple to compare.
+    tuple2: The second tuple to compare.
+    msg: Optional message to use on failure instead of a list of
+            differences.
+ +
assert_ = assertTrue(self, expr, msg=None)
Fail the test unless the expression is true.
+ +
countTestCases(self)
+ +
debug(self)
Run the test without collecting errors in a TestResult
+ +
defaultTestResult(self)
+ +
doCleanups(self)
Execute all cleanup functions. Normally called for you after
+tearDown.
+ +
fail(self, msg=None)
Fail immediately, with the given message.
+ +
failIf = deprecated_func(*args, **kwargs)
+ +
failIfAlmostEqual = deprecated_func(*args, **kwargs)
+ +
failIfEqual = deprecated_func(*args, **kwargs)
+ +
failUnless = deprecated_func(*args, **kwargs)
+ +
failUnlessAlmostEqual = deprecated_func(*args, **kwargs)
+ +
failUnlessEqual = deprecated_func(*args, **kwargs)
+ +
failUnlessRaises = deprecated_func(*args, **kwargs)
+ +
id(self)
+ +
run(self, result=None)
+ +
setUp(self)
Hook method for setting up the test fixture before exercising it.
+ +
shortDescription(self)
Returns both the test method name and first line of its docstring.

+If no docstring is given, only returns the method name.

+This method overrides unittest.TestCase.shortDescription(), which
+only returns the first line of the docstring, obscuring the name
+of the test upon failure.
+ +
skipTest(self, reason)
Skip this test.
+ +
tearDown(self)
Hook method for deconstructing the test fixture after testing it.
+ +
+Data descriptors inherited from unittest.TestCase:
+
__dict__
+
dictionary for instance variables (if defined)
+
+
__weakref__
+
list of weak references to the object (if defined)
+
+
+Data and other attributes inherited from unittest.TestCase:
+
failureException = <class 'AssertionError'>
Assertion failed.
+ +
longMessage = False
+ +

+ + + + + +
 
+Data
       NONEXISTANT_DIR = '/home/hut/work/ranger/test/testdir/nonexistant'
+TESTDIR = '/home/hut/work/ranger/test/testdir'
+TESTFILE = '/home/hut/work/ranger/test/testdir/testfile5234148'
+ \ No newline at end of file diff --git a/doc/pydoc/test.tc_displayable.html b/doc/pydoc/test.tc_displayable.html new file mode 100644 index 00000000..a1ebcf89 --- /dev/null +++ b/doc/pydoc/test.tc_displayable.html @@ -0,0 +1,551 @@ + +Python: module test.tc_displayable + + + + + +
 
+ 
test.tc_displayable
index
/home/hut/work/ranger/test/tc_displayable.py
+

+

+ + + + + +
 
+Modules
       
curses
+
unittest
+

+ + + + + +
 
+Classes
       
+
unittest.TestCase(builtins.object) +
+
+
TestDisplayable +
TestDisplayableContainer +
+
+
+

+ + + + + +
 
+class TestDisplayable(unittest.TestCase)
    
Method resolution order:
+
TestDisplayable
+
unittest.TestCase
+
builtins.object
+
+
+Methods defined here:
+
setUp(self)
+ +
tearDown(self)
+ +
test_boundaries(self)
+ +
test_colorscheme(self)
+ +
+Methods inherited from unittest.TestCase:
+
__call__(self, *args, **kwds)
+ +
__eq__(self, other)
+ +
__hash__(self)
+ +
__init__(self, methodName='runTest')
Create an instance of the class that will use the named test
+method when executed. Raises a ValueError if the instance does
+not have a method with the specified name.
+ +
__ne__(self, other)
+ +
__repr__(self)
+ +
__str__(self)
+ +
addCleanup(self, function, *args, **kwargs)
Add a function, with arguments, to be called when the test is
+completed. Functions added are called on a LIFO basis and are
+called after tearDown on test failure or success.

+Cleanup items are called even if setUp fails (unlike tearDown).
+ +
addTypeEqualityFunc(self, typeobj, function)
Add a type specific assertEqual style function to compare a type.

+This method is for use by TestCase subclasses that need to register
+their own type equality functions to provide nicer error messages.

+Args:
+    typeobj: The data type to call this function on when both values
+            are of the same type in assertEqual().
+    function: The callable taking two arguments and an optional
+            msg= argument that raises self.failureException with a
+            useful error message when the two arguments are not equal.
+ +
assertAlmostEqual(self, first, second, *, places=7, msg=None)
Fail if the two objects are unequal as determined by their
+difference rounded to the given number of decimal places
+(default 7) and comparing to zero.

+Note that decimal places (from zero) are usually not the same
+as significant digits (measured from the most signficant digit).
+ +
assertAlmostEquals = assertAlmostEqual(self, first, second, *, places=7, msg=None)
Fail if the two objects are unequal as determined by their
+difference rounded to the given number of decimal places
+(default 7) and comparing to zero.

+Note that decimal places (from zero) are usually not the same
+as significant digits (measured from the most signficant digit).
+ +
assertDictContainsSubset(self, expected, actual, msg=None)
Checks whether actual is a superset of expected.
+ +
assertDictEqual(self, d1, d2, msg=None)
+ +
assertEqual(self, first, second, msg=None)
Fail if the two objects are unequal as determined by the '=='
+operator.
+ +
assertEquals = assertEqual(self, first, second, msg=None)
Fail if the two objects are unequal as determined by the '=='
+operator.
+ +
assertFalse(self, expr, msg=None)
Fail the test if the expression is true.
+ +
assertGreater(self, a, b, msg=None)
Just like assertTrue(a > b), but with a nicer default message.
+ +
assertGreaterEqual(self, a, b, msg=None)
Just like assertTrue(a >= b), but with a nicer default message.
+ +
assertIn(self, member, container, msg=None)
Just like assertTrue(a in b), but with a nicer default message.
+ +
assertIs(self, expr1, expr2, msg=None)
Just like assertTrue(a is b), but with a nicer default message.
+ +
assertIsNone(self, obj, msg=None)
Same as assertTrue(obj is None), with a nicer default message.
+ +
assertIsNot(self, expr1, expr2, msg=None)
Just like assertTrue(a is not b), but with a nicer default message.
+ +
assertIsNotNone(self, obj, msg=None)
Included for symmetry with assertIsNone.
+ +
assertLess(self, a, b, msg=None)
Just like assertTrue(a < b), but with a nicer default message.
+ +
assertLessEqual(self, a, b, msg=None)
Just like assertTrue(a <= b), but with a nicer default message.
+ +
assertListEqual(self, list1, list2, msg=None)
A list-specific equality assertion.

+Args:
+    list1: The first list to compare.
+    list2: The second list to compare.
+    msg: Optional message to use on failure instead of a list of
+            differences.
+ +
assertMultiLineEqual(self, first, second, msg=None)
Assert that two multi-line strings are equal.
+ +
assertNotAlmostEqual(self, first, second, *, places=7, msg=None)
Fail if the two objects are equal as determined by their
+difference rounded to the given number of decimal places
+(default 7) and comparing to zero.

+Note that decimal places (from zero) are usually not the same
+as significant digits (measured from the most signficant digit).
+ +
assertNotAlmostEquals = assertNotAlmostEqual(self, first, second, *, places=7, msg=None)
Fail if the two objects are equal as determined by their
+difference rounded to the given number of decimal places
+(default 7) and comparing to zero.

+Note that decimal places (from zero) are usually not the same
+as significant digits (measured from the most signficant digit).
+ +
assertNotEqual(self, first, second, msg=None)
Fail if the two objects are equal as determined by the '=='
+operator.
+ +
assertNotEquals = assertNotEqual(self, first, second, msg=None)
Fail if the two objects are equal as determined by the '=='
+operator.
+ +
assertNotIn(self, member, container, msg=None)
Just like assertTrue(a not in b), but with a nicer default message.
+ +
assertRaises(self, excClass, callableObj=None, *args, **kwargs)
Fail unless an exception of class excClass is thrown
+by callableObj when invoked with arguments args and keyword
+arguments kwargs. If a different type of exception is
+thrown, it will not be caught, and the test case will be
+deemed to have suffered an error, exactly as for an
+unexpected exception.

+If called with callableObj omitted or None, will return a
+context object used like this::

+     with assertRaises(some_error_class):
+         do_something()
+ +
assertRaisesRegexp(self, expected_exception, expected_regexp, callable_obj=None, *args, **kwargs)
Asserts that the message in a raised exception matches a regexp.

+Args:
+    expected_exception: Exception class expected to be raised.
+    expected_regexp: Regexp (re pattern object or string) expected
+            to be found in error message.
+    callable_obj: Function to be called.
+    args: Extra args.
+    kwargs: Extra kwargs.
+ +
assertRegexpMatches(self, text, expected_regex, msg=None)
+ +
assertSameElements(self, expected_seq, actual_seq, msg=None)
An unordered sequence specific comparison.

+Raises with an error message listing which elements of expected_seq
+are missing from actual_seq and vice versa if any.
+ +
assertSequenceEqual(self, seq1, seq2, msg=None, seq_type=None)
An equality assertion for ordered sequences (like lists and tuples).

+For the purposes of this function, a valid orderd sequence type is one
+which can be indexed, has a length, and has an equality operator.

+Args:
+    seq1: The first sequence to compare.
+    seq2: The second sequence to compare.
+    seq_type: The expected datatype of the sequences, or None if no
+            datatype should be enforced.
+    msg: Optional message to use on failure instead of a list of
+            differences.
+ +
assertSetEqual(self, set1, set2, msg=None)
A set-specific equality assertion.

+Args:
+    set1: The first set to compare.
+    set2: The second set to compare.
+    msg: Optional message to use on failure instead of a list of
+            differences.

+For more general containership equality, assertSameElements will work
+with things other than sets.    This uses ducktyping to support
+different types of sets, and is optimized for sets specifically
+(parameters must support a difference method).
+ +
assertTrue(self, expr, msg=None)
Fail the test unless the expression is true.
+ +
assertTupleEqual(self, tuple1, tuple2, msg=None)
A tuple-specific equality assertion.

+Args:
+    tuple1: The first tuple to compare.
+    tuple2: The second tuple to compare.
+    msg: Optional message to use on failure instead of a list of
+            differences.
+ +
assert_ = assertTrue(self, expr, msg=None)
Fail the test unless the expression is true.
+ +
countTestCases(self)
+ +
debug(self)
Run the test without collecting errors in a TestResult
+ +
defaultTestResult(self)
+ +
doCleanups(self)
Execute all cleanup functions. Normally called for you after
+tearDown.
+ +
fail(self, msg=None)
Fail immediately, with the given message.
+ +
failIf = deprecated_func(*args, **kwargs)
+ +
failIfAlmostEqual = deprecated_func(*args, **kwargs)
+ +
failIfEqual = deprecated_func(*args, **kwargs)
+ +
failUnless = deprecated_func(*args, **kwargs)
+ +
failUnlessAlmostEqual = deprecated_func(*args, **kwargs)
+ +
failUnlessEqual = deprecated_func(*args, **kwargs)
+ +
failUnlessRaises = deprecated_func(*args, **kwargs)
+ +
id(self)
+ +
run(self, result=None)
+ +
shortDescription(self)
Returns both the test method name and first line of its docstring.

+If no docstring is given, only returns the method name.

+This method overrides unittest.TestCase.shortDescription(), which
+only returns the first line of the docstring, obscuring the name
+of the test upon failure.
+ +
skipTest(self, reason)
Skip this test.
+ +
+Data descriptors inherited from unittest.TestCase:
+
__dict__
+
dictionary for instance variables (if defined)
+
+
__weakref__
+
list of weak references to the object (if defined)
+
+
+Data and other attributes inherited from unittest.TestCase:
+
failureException = <class 'AssertionError'>
Assertion failed.
+ +
longMessage = False
+ +

+ + + + + +
 
+class TestDisplayableContainer(unittest.TestCase)
    
Method resolution order:
+
TestDisplayableContainer
+
unittest.TestCase
+
builtins.object
+
+
+Methods defined here:
+
setUp(self)
+ +
tearDown(self)
+ +
test_click(self)
+ +
test_container(self)
+ +
test_focused_object(self)
+ +
+Methods inherited from unittest.TestCase:
+
__call__(self, *args, **kwds)
+ +
__eq__(self, other)
+ +
__hash__(self)
+ +
__init__(self, methodName='runTest')
Create an instance of the class that will use the named test
+method when executed. Raises a ValueError if the instance does
+not have a method with the specified name.
+ +
__ne__(self, other)
+ +
__repr__(self)
+ +
__str__(self)
+ +
addCleanup(self, function, *args, **kwargs)
Add a function, with arguments, to be called when the test is
+completed. Functions added are called on a LIFO basis and are
+called after tearDown on test failure or success.

+Cleanup items are called even if setUp fails (unlike tearDown).
+ +
addTypeEqualityFunc(self, typeobj, function)
Add a type specific assertEqual style function to compare a type.

+This method is for use by TestCase subclasses that need to register
+their own type equality functions to provide nicer error messages.

+Args:
+    typeobj: The data type to call this function on when both values
+            are of the same type in assertEqual().
+    function: The callable taking two arguments and an optional
+            msg= argument that raises self.failureException with a
+            useful error message when the two arguments are not equal.
+ +
assertAlmostEqual(self, first, second, *, places=7, msg=None)
Fail if the two objects are unequal as determined by their
+difference rounded to the given number of decimal places
+(default 7) and comparing to zero.

+Note that decimal places (from zero) are usually not the same
+as significant digits (measured from the most signficant digit).
+ +
assertAlmostEquals = assertAlmostEqual(self, first, second, *, places=7, msg=None)
Fail if the two objects are unequal as determined by their
+difference rounded to the given number of decimal places
+(default 7) and comparing to zero.

+Note that decimal places (from zero) are usually not the same
+as significant digits (measured from the most signficant digit).
+ +
assertDictContainsSubset(self, expected, actual, msg=None)
Checks whether actual is a superset of expected.
+ +
assertDictEqual(self, d1, d2, msg=None)
+ +
assertEqual(self, first, second, msg=None)
Fail if the two objects are unequal as determined by the '=='
+operator.
+ +
assertEquals = assertEqual(self, first, second, msg=None)
Fail if the two objects are unequal as determined by the '=='
+operator.
+ +
assertFalse(self, expr, msg=None)
Fail the test if the expression is true.
+ +
assertGreater(self, a, b, msg=None)
Just like assertTrue(a > b), but with a nicer default message.
+ +
assertGreaterEqual(self, a, b, msg=None)
Just like assertTrue(a >= b), but with a nicer default message.
+ +
assertIn(self, member, container, msg=None)
Just like assertTrue(a in b), but with a nicer default message.
+ +
assertIs(self, expr1, expr2, msg=None)
Just like assertTrue(a is b), but with a nicer default message.
+ +
assertIsNone(self, obj, msg=None)
Same as assertTrue(obj is None), with a nicer default message.
+ +
assertIsNot(self, expr1, expr2, msg=None)
Just like assertTrue(a is not b), but with a nicer default message.
+ +
assertIsNotNone(self, obj, msg=None)
Included for symmetry with assertIsNone.
+ +
assertLess(self, a, b, msg=None)
Just like assertTrue(a < b), but with a nicer default message.
+ +
assertLessEqual(self, a, b, msg=None)
Just like assertTrue(a <= b), but with a nicer default message.
+ +
assertListEqual(self, list1, list2, msg=None)
A list-specific equality assertion.

+Args:
+    list1: The first list to compare.
+    list2: The second list to compare.
+    msg: Optional message to use on failure instead of a list of
+            differences.
+ +
assertMultiLineEqual(self, first, second, msg=None)
Assert that two multi-line strings are equal.
+ +
assertNotAlmostEqual(self, first, second, *, places=7, msg=None)
Fail if the two objects are equal as determined by their
+difference rounded to the given number of decimal places
+(default 7) and comparing to zero.

+Note that decimal places (from zero) are usually not the same
+as significant digits (measured from the most signficant digit).
+ +
assertNotAlmostEquals = assertNotAlmostEqual(self, first, second, *, places=7, msg=None)
Fail if the two objects are equal as determined by their
+difference rounded to the given number of decimal places
+(default 7) and comparing to zero.

+Note that decimal places (from zero) are usually not the same
+as significant digits (measured from the most signficant digit).
+ +
assertNotEqual(self, first, second, msg=None)
Fail if the two objects are equal as determined by the '=='
+operator.
+ +
assertNotEquals = assertNotEqual(self, first, second, msg=None)
Fail if the two objects are equal as determined by the '=='
+operator.
+ +
assertNotIn(self, member, container, msg=None)
Just like assertTrue(a not in b), but with a nicer default message.
+ +
assertRaises(self, excClass, callableObj=None, *args, **kwargs)
Fail unless an exception of class excClass is thrown
+by callableObj when invoked with arguments args and keyword
+arguments kwargs. If a different type of exception is
+thrown, it will not be caught, and the test case will be
+deemed to have suffered an error, exactly as for an
+unexpected exception.

+If called with callableObj omitted or None, will return a
+context object used like this::

+     with assertRaises(some_error_class):
+         do_something()
+ +
assertRaisesRegexp(self, expected_exception, expected_regexp, callable_obj=None, *args, **kwargs)
Asserts that the message in a raised exception matches a regexp.

+Args:
+    expected_exception: Exception class expected to be raised.
+    expected_regexp: Regexp (re pattern object or string) expected
+            to be found in error message.
+    callable_obj: Function to be called.
+    args: Extra args.
+    kwargs: Extra kwargs.
+ +
assertRegexpMatches(self, text, expected_regex, msg=None)
+ +
assertSameElements(self, expected_seq, actual_seq, msg=None)
An unordered sequence specific comparison.

+Raises with an error message listing which elements of expected_seq
+are missing from actual_seq and vice versa if any.
+ +
assertSequenceEqual(self, seq1, seq2, msg=None, seq_type=None)
An equality assertion for ordered sequences (like lists and tuples).

+For the purposes of this function, a valid orderd sequence type is one
+which can be indexed, has a length, and has an equality operator.

+Args:
+    seq1: The first sequence to compare.
+    seq2: The second sequence to compare.
+    seq_type: The expected datatype of the sequences, or None if no
+            datatype should be enforced.
+    msg: Optional message to use on failure instead of a list of
+            differences.
+ +
assertSetEqual(self, set1, set2, msg=None)
A set-specific equality assertion.

+Args:
+    set1: The first set to compare.
+    set2: The second set to compare.
+    msg: Optional message to use on failure instead of a list of
+            differences.

+For more general containership equality, assertSameElements will work
+with things other than sets.    This uses ducktyping to support
+different types of sets, and is optimized for sets specifically
+(parameters must support a difference method).
+ +
assertTrue(self, expr, msg=None)
Fail the test unless the expression is true.
+ +
assertTupleEqual(self, tuple1, tuple2, msg=None)
A tuple-specific equality assertion.

+Args:
+    tuple1: The first tuple to compare.
+    tuple2: The second tuple to compare.
+    msg: Optional message to use on failure instead of a list of
+            differences.
+ +
assert_ = assertTrue(self, expr, msg=None)
Fail the test unless the expression is true.
+ +
countTestCases(self)
+ +
debug(self)
Run the test without collecting errors in a TestResult
+ +
defaultTestResult(self)
+ +
doCleanups(self)
Execute all cleanup functions. Normally called for you after
+tearDown.
+ +
fail(self, msg=None)
Fail immediately, with the given message.
+ +
failIf = deprecated_func(*args, **kwargs)
+ +
failIfAlmostEqual = deprecated_func(*args, **kwargs)
+ +
failIfEqual = deprecated_func(*args, **kwargs)
+ +
failUnless = deprecated_func(*args, **kwargs)
+ +
failUnlessAlmostEqual = deprecated_func(*args, **kwargs)
+ +
failUnlessEqual = deprecated_func(*args, **kwargs)
+ +
failUnlessRaises = deprecated_func(*args, **kwargs)
+ +
id(self)
+ +
run(self, result=None)
+ +
shortDescription(self)
Returns both the test method name and first line of its docstring.

+If no docstring is given, only returns the method name.

+This method overrides unittest.TestCase.shortDescription(), which
+only returns the first line of the docstring, obscuring the name
+of the test upon failure.
+ +
skipTest(self, reason)
Skip this test.
+ +
+Data descriptors inherited from unittest.TestCase:
+
__dict__
+
dictionary for instance variables (if defined)
+
+
__weakref__
+
list of weak references to the object (if defined)
+
+
+Data and other attributes inherited from unittest.TestCase:
+
failureException = <class 'AssertionError'>
Assertion failed.
+ +
longMessage = False
+ +

+ \ No newline at end of file diff --git a/doc/pydoc/test.tc_history.html b/doc/pydoc/test.tc_history.html new file mode 100644 index 00000000..59b42a9b --- /dev/null +++ b/doc/pydoc/test.tc_history.html @@ -0,0 +1,290 @@ + +Python: module test.tc_history + + + + + +
 
+ 
test.tc_history
index
/home/hut/work/ranger/test/tc_history.py
+

+

+ + + + + +
 
+Modules
       
unittest
+

+ + + + + +
 
+Classes
       
+
unittest.TestCase(builtins.object) +
+
+
Test +
+
+
+

+ + + + + +
 
+class Test(unittest.TestCase)
    
Method resolution order:
+
Test
+
unittest.TestCase
+
builtins.object
+
+
+Methods defined here:
+
test_history(self)
+ +
+Methods inherited from unittest.TestCase:
+
__call__(self, *args, **kwds)
+ +
__eq__(self, other)
+ +
__hash__(self)
+ +
__init__(self, methodName='runTest')
Create an instance of the class that will use the named test
+method when executed. Raises a ValueError if the instance does
+not have a method with the specified name.
+ +
__ne__(self, other)
+ +
__repr__(self)
+ +
__str__(self)
+ +
addCleanup(self, function, *args, **kwargs)
Add a function, with arguments, to be called when the test is
+completed. Functions added are called on a LIFO basis and are
+called after tearDown on test failure or success.

+Cleanup items are called even if setUp fails (unlike tearDown).
+ +
addTypeEqualityFunc(self, typeobj, function)
Add a type specific assertEqual style function to compare a type.

+This method is for use by TestCase subclasses that need to register
+their own type equality functions to provide nicer error messages.

+Args:
+    typeobj: The data type to call this function on when both values
+            are of the same type in assertEqual().
+    function: The callable taking two arguments and an optional
+            msg= argument that raises self.failureException with a
+            useful error message when the two arguments are not equal.
+ +
assertAlmostEqual(self, first, second, *, places=7, msg=None)
Fail if the two objects are unequal as determined by their
+difference rounded to the given number of decimal places
+(default 7) and comparing to zero.

+Note that decimal places (from zero) are usually not the same
+as significant digits (measured from the most signficant digit).
+ +
assertAlmostEquals = assertAlmostEqual(self, first, second, *, places=7, msg=None)
Fail if the two objects are unequal as determined by their
+difference rounded to the given number of decimal places
+(default 7) and comparing to zero.

+Note that decimal places (from zero) are usually not the same
+as significant digits (measured from the most signficant digit).
+ +
assertDictContainsSubset(self, expected, actual, msg=None)
Checks whether actual is a superset of expected.
+ +
assertDictEqual(self, d1, d2, msg=None)
+ +
assertEqual(self, first, second, msg=None)
Fail if the two objects are unequal as determined by the '=='
+operator.
+ +
assertEquals = assertEqual(self, first, second, msg=None)
Fail if the two objects are unequal as determined by the '=='
+operator.
+ +
assertFalse(self, expr, msg=None)
Fail the test if the expression is true.
+ +
assertGreater(self, a, b, msg=None)
Just like assertTrue(a > b), but with a nicer default message.
+ +
assertGreaterEqual(self, a, b, msg=None)
Just like assertTrue(a >= b), but with a nicer default message.
+ +
assertIn(self, member, container, msg=None)
Just like assertTrue(a in b), but with a nicer default message.
+ +
assertIs(self, expr1, expr2, msg=None)
Just like assertTrue(a is b), but with a nicer default message.
+ +
assertIsNone(self, obj, msg=None)
Same as assertTrue(obj is None), with a nicer default message.
+ +
assertIsNot(self, expr1, expr2, msg=None)
Just like assertTrue(a is not b), but with a nicer default message.
+ +
assertIsNotNone(self, obj, msg=None)
Included for symmetry with assertIsNone.
+ +
assertLess(self, a, b, msg=None)
Just like assertTrue(a < b), but with a nicer default message.
+ +
assertLessEqual(self, a, b, msg=None)
Just like assertTrue(a <= b), but with a nicer default message.
+ +
assertListEqual(self, list1, list2, msg=None)
A list-specific equality assertion.

+Args:
+    list1: The first list to compare.
+    list2: The second list to compare.
+    msg: Optional message to use on failure instead of a list of
+            differences.
+ +
assertMultiLineEqual(self, first, second, msg=None)
Assert that two multi-line strings are equal.
+ +
assertNotAlmostEqual(self, first, second, *, places=7, msg=None)
Fail if the two objects are equal as determined by their
+difference rounded to the given number of decimal places
+(default 7) and comparing to zero.

+Note that decimal places (from zero) are usually not the same
+as significant digits (measured from the most signficant digit).
+ +
assertNotAlmostEquals = assertNotAlmostEqual(self, first, second, *, places=7, msg=None)
Fail if the two objects are equal as determined by their
+difference rounded to the given number of decimal places
+(default 7) and comparing to zero.

+Note that decimal places (from zero) are usually not the same
+as significant digits (measured from the most signficant digit).
+ +
assertNotEqual(self, first, second, msg=None)
Fail if the two objects are equal as determined by the '=='
+operator.
+ +
assertNotEquals = assertNotEqual(self, first, second, msg=None)
Fail if the two objects are equal as determined by the '=='
+operator.
+ +
assertNotIn(self, member, container, msg=None)
Just like assertTrue(a not in b), but with a nicer default message.
+ +
assertRaises(self, excClass, callableObj=None, *args, **kwargs)
Fail unless an exception of class excClass is thrown
+by callableObj when invoked with arguments args and keyword
+arguments kwargs. If a different type of exception is
+thrown, it will not be caught, and the test case will be
+deemed to have suffered an error, exactly as for an
+unexpected exception.

+If called with callableObj omitted or None, will return a
+context object used like this::

+     with assertRaises(some_error_class):
+         do_something()
+ +
assertRaisesRegexp(self, expected_exception, expected_regexp, callable_obj=None, *args, **kwargs)
Asserts that the message in a raised exception matches a regexp.

+Args:
+    expected_exception: Exception class expected to be raised.
+    expected_regexp: Regexp (re pattern object or string) expected
+            to be found in error message.
+    callable_obj: Function to be called.
+    args: Extra args.
+    kwargs: Extra kwargs.
+ +
assertRegexpMatches(self, text, expected_regex, msg=None)
+ +
assertSameElements(self, expected_seq, actual_seq, msg=None)
An unordered sequence specific comparison.

+Raises with an error message listing which elements of expected_seq
+are missing from actual_seq and vice versa if any.
+ +
assertSequenceEqual(self, seq1, seq2, msg=None, seq_type=None)
An equality assertion for ordered sequences (like lists and tuples).

+For the purposes of this function, a valid orderd sequence type is one
+which can be indexed, has a length, and has an equality operator.

+Args:
+    seq1: The first sequence to compare.
+    seq2: The second sequence to compare.
+    seq_type: The expected datatype of the sequences, or None if no
+            datatype should be enforced.
+    msg: Optional message to use on failure instead of a list of
+            differences.
+ +
assertSetEqual(self, set1, set2, msg=None)
A set-specific equality assertion.

+Args:
+    set1: The first set to compare.
+    set2: The second set to compare.
+    msg: Optional message to use on failure instead of a list of
+            differences.

+For more general containership equality, assertSameElements will work
+with things other than sets.    This uses ducktyping to support
+different types of sets, and is optimized for sets specifically
+(parameters must support a difference method).
+ +
assertTrue(self, expr, msg=None)
Fail the test unless the expression is true.
+ +
assertTupleEqual(self, tuple1, tuple2, msg=None)
A tuple-specific equality assertion.

+Args:
+    tuple1: The first tuple to compare.
+    tuple2: The second tuple to compare.
+    msg: Optional message to use on failure instead of a list of
+            differences.
+ +
assert_ = assertTrue(self, expr, msg=None)
Fail the test unless the expression is true.
+ +
countTestCases(self)
+ +
debug(self)
Run the test without collecting errors in a TestResult
+ +
defaultTestResult(self)
+ +
doCleanups(self)
Execute all cleanup functions. Normally called for you after
+tearDown.
+ +
fail(self, msg=None)
Fail immediately, with the given message.
+ +
failIf = deprecated_func(*args, **kwargs)
+ +
failIfAlmostEqual = deprecated_func(*args, **kwargs)
+ +
failIfEqual = deprecated_func(*args, **kwargs)
+ +
failUnless = deprecated_func(*args, **kwargs)
+ +
failUnlessAlmostEqual = deprecated_func(*args, **kwargs)
+ +
failUnlessEqual = deprecated_func(*args, **kwargs)
+ +
failUnlessRaises = deprecated_func(*args, **kwargs)
+ +
id(self)
+ +
run(self, result=None)
+ +
setUp(self)
Hook method for setting up the test fixture before exercising it.
+ +
shortDescription(self)
Returns both the test method name and first line of its docstring.

+If no docstring is given, only returns the method name.

+This method overrides unittest.TestCase.shortDescription(), which
+only returns the first line of the docstring, obscuring the name
+of the test upon failure.
+ +
skipTest(self, reason)
Skip this test.
+ +
tearDown(self)
Hook method for deconstructing the test fixture after testing it.
+ +
+Data descriptors inherited from unittest.TestCase:
+
__dict__
+
dictionary for instance variables (if defined)
+
+
__weakref__
+
list of weak references to the object (if defined)
+
+
+Data and other attributes inherited from unittest.TestCase:
+
failureException = <class 'AssertionError'>
Assertion failed.
+ +
longMessage = False
+ +

+ \ No newline at end of file diff --git a/doc/pydoc/test.tc_ui.html b/doc/pydoc/test.tc_ui.html new file mode 100644 index 00000000..fcea943d --- /dev/null +++ b/doc/pydoc/test.tc_ui.html @@ -0,0 +1,294 @@ + +Python: module test.tc_ui + + + + + +
 
+ 
test.tc_ui
index
/home/hut/work/ranger/test/tc_ui.py
+

+

+ + + + + +
 
+Modules
       
curses
+
ranger.gui.ui
+
unittest
+

+ + + + + +
 
+Classes
       
+
unittest.TestCase(builtins.object) +
+
+
Test +
+
+
+

+ + + + + +
 
+class Test(unittest.TestCase)
    
Method resolution order:
+
Test
+
unittest.TestCase
+
builtins.object
+
+
+Methods defined here:
+
setUp(self)
+ +
tearDown(self)
+ +
test_passing(self)
+ +
test_scrolling(self)
+ +
+Methods inherited from unittest.TestCase:
+
__call__(self, *args, **kwds)
+ +
__eq__(self, other)
+ +
__hash__(self)
+ +
__init__(self, methodName='runTest')
Create an instance of the class that will use the named test
+method when executed. Raises a ValueError if the instance does
+not have a method with the specified name.
+ +
__ne__(self, other)
+ +
__repr__(self)
+ +
__str__(self)
+ +
addCleanup(self, function, *args, **kwargs)
Add a function, with arguments, to be called when the test is
+completed. Functions added are called on a LIFO basis and are
+called after tearDown on test failure or success.

+Cleanup items are called even if setUp fails (unlike tearDown).
+ +
addTypeEqualityFunc(self, typeobj, function)
Add a type specific assertEqual style function to compare a type.

+This method is for use by TestCase subclasses that need to register
+their own type equality functions to provide nicer error messages.

+Args:
+    typeobj: The data type to call this function on when both values
+            are of the same type in assertEqual().
+    function: The callable taking two arguments and an optional
+            msg= argument that raises self.failureException with a
+            useful error message when the two arguments are not equal.
+ +
assertAlmostEqual(self, first, second, *, places=7, msg=None)
Fail if the two objects are unequal as determined by their
+difference rounded to the given number of decimal places
+(default 7) and comparing to zero.

+Note that decimal places (from zero) are usually not the same
+as significant digits (measured from the most signficant digit).
+ +
assertAlmostEquals = assertAlmostEqual(self, first, second, *, places=7, msg=None)
Fail if the two objects are unequal as determined by their
+difference rounded to the given number of decimal places
+(default 7) and comparing to zero.

+Note that decimal places (from zero) are usually not the same
+as significant digits (measured from the most signficant digit).
+ +
assertDictContainsSubset(self, expected, actual, msg=None)
Checks whether actual is a superset of expected.
+ +
assertDictEqual(self, d1, d2, msg=None)
+ +
assertEqual(self, first, second, msg=None)
Fail if the two objects are unequal as determined by the '=='
+operator.
+ +
assertEquals = assertEqual(self, first, second, msg=None)
Fail if the two objects are unequal as determined by the '=='
+operator.
+ +
assertFalse(self, expr, msg=None)
Fail the test if the expression is true.
+ +
assertGreater(self, a, b, msg=None)
Just like assertTrue(a > b), but with a nicer default message.
+ +
assertGreaterEqual(self, a, b, msg=None)
Just like assertTrue(a >= b), but with a nicer default message.
+ +
assertIn(self, member, container, msg=None)
Just like assertTrue(a in b), but with a nicer default message.
+ +
assertIs(self, expr1, expr2, msg=None)
Just like assertTrue(a is b), but with a nicer default message.
+ +
assertIsNone(self, obj, msg=None)
Same as assertTrue(obj is None), with a nicer default message.
+ +
assertIsNot(self, expr1, expr2, msg=None)
Just like assertTrue(a is not b), but with a nicer default message.
+ +
assertIsNotNone(self, obj, msg=None)
Included for symmetry with assertIsNone.
+ +
assertLess(self, a, b, msg=None)
Just like assertTrue(a < b), but with a nicer default message.
+ +
assertLessEqual(self, a, b, msg=None)
Just like assertTrue(a <= b), but with a nicer default message.
+ +
assertListEqual(self, list1, list2, msg=None)
A list-specific equality assertion.

+Args:
+    list1: The first list to compare.
+    list2: The second list to compare.
+    msg: Optional message to use on failure instead of a list of
+            differences.
+ +
assertMultiLineEqual(self, first, second, msg=None)
Assert that two multi-line strings are equal.
+ +
assertNotAlmostEqual(self, first, second, *, places=7, msg=None)
Fail if the two objects are equal as determined by their
+difference rounded to the given number of decimal places
+(default 7) and comparing to zero.

+Note that decimal places (from zero) are usually not the same
+as significant digits (measured from the most signficant digit).
+ +
assertNotAlmostEquals = assertNotAlmostEqual(self, first, second, *, places=7, msg=None)
Fail if the two objects are equal as determined by their
+difference rounded to the given number of decimal places
+(default 7) and comparing to zero.

+Note that decimal places (from zero) are usually not the same
+as significant digits (measured from the most signficant digit).
+ +
assertNotEqual(self, first, second, msg=None)
Fail if the two objects are equal as determined by the '=='
+operator.
+ +
assertNotEquals = assertNotEqual(self, first, second, msg=None)
Fail if the two objects are equal as determined by the '=='
+operator.
+ +
assertNotIn(self, member, container, msg=None)
Just like assertTrue(a not in b), but with a nicer default message.
+ +
assertRaises(self, excClass, callableObj=None, *args, **kwargs)
Fail unless an exception of class excClass is thrown
+by callableObj when invoked with arguments args and keyword
+arguments kwargs. If a different type of exception is
+thrown, it will not be caught, and the test case will be
+deemed to have suffered an error, exactly as for an
+unexpected exception.

+If called with callableObj omitted or None, will return a
+context object used like this::

+     with assertRaises(some_error_class):
+         do_something()
+ +
assertRaisesRegexp(self, expected_exception, expected_regexp, callable_obj=None, *args, **kwargs)
Asserts that the message in a raised exception matches a regexp.

+Args:
+    expected_exception: Exception class expected to be raised.
+    expected_regexp: Regexp (re pattern object or string) expected
+            to be found in error message.
+    callable_obj: Function to be called.
+    args: Extra args.
+    kwargs: Extra kwargs.
+ +
assertRegexpMatches(self, text, expected_regex, msg=None)
+ +
assertSameElements(self, expected_seq, actual_seq, msg=None)
An unordered sequence specific comparison.

+Raises with an error message listing which elements of expected_seq
+are missing from actual_seq and vice versa if any.
+ +
assertSequenceEqual(self, seq1, seq2, msg=None, seq_type=None)
An equality assertion for ordered sequences (like lists and tuples).

+For the purposes of this function, a valid orderd sequence type is one
+which can be indexed, has a length, and has an equality operator.

+Args:
+    seq1: The first sequence to compare.
+    seq2: The second sequence to compare.
+    seq_type: The expected datatype of the sequences, or None if no
+            datatype should be enforced.
+    msg: Optional message to use on failure instead of a list of
+            differences.
+ +
assertSetEqual(self, set1, set2, msg=None)
A set-specific equality assertion.

+Args:
+    set1: The first set to compare.
+    set2: The second set to compare.
+    msg: Optional message to use on failure instead of a list of
+            differences.

+For more general containership equality, assertSameElements will work
+with things other than sets.    This uses ducktyping to support
+different types of sets, and is optimized for sets specifically
+(parameters must support a difference method).
+ +
assertTrue(self, expr, msg=None)
Fail the test unless the expression is true.
+ +
assertTupleEqual(self, tuple1, tuple2, msg=None)
A tuple-specific equality assertion.

+Args:
+    tuple1: The first tuple to compare.
+    tuple2: The second tuple to compare.
+    msg: Optional message to use on failure instead of a list of
+            differences.
+ +
assert_ = assertTrue(self, expr, msg=None)
Fail the test unless the expression is true.
+ +
countTestCases(self)
+ +
debug(self)
Run the test without collecting errors in a TestResult
+ +
defaultTestResult(self)
+ +
doCleanups(self)
Execute all cleanup functions. Normally called for you after
+tearDown.
+ +
fail(self, msg=None)
Fail immediately, with the given message.
+ +
failIf = deprecated_func(*args, **kwargs)
+ +
failIfAlmostEqual = deprecated_func(*args, **kwargs)
+ +
failIfEqual = deprecated_func(*args, **kwargs)
+ +
failUnless = deprecated_func(*args, **kwargs)
+ +
failUnlessAlmostEqual = deprecated_func(*args, **kwargs)
+ +
failUnlessEqual = deprecated_func(*args, **kwargs)
+ +
failUnlessRaises = deprecated_func(*args, **kwargs)
+ +
id(self)
+ +
run(self, result=None)
+ +
shortDescription(self)
Returns both the test method name and first line of its docstring.

+If no docstring is given, only returns the method name.

+This method overrides unittest.TestCase.shortDescription(), which
+only returns the first line of the docstring, obscuring the name
+of the test upon failure.
+ +
skipTest(self, reason)
Skip this test.
+ +
+Data descriptors inherited from unittest.TestCase:
+
__dict__
+
dictionary for instance variables (if defined)
+
+
__weakref__
+
list of weak references to the object (if defined)
+
+
+Data and other attributes inherited from unittest.TestCase:
+
failureException = <class 'AssertionError'>
Assertion failed.
+ +
longMessage = False
+ +

+ \ No newline at end of file diff --git a/doc/pydoc/test.test.html b/doc/pydoc/test.test.html new file mode 100644 index 00000000..f463fa8b --- /dev/null +++ b/doc/pydoc/test.test.html @@ -0,0 +1,14 @@ + +Python: module test.test + + + + + +
 
+ 
test.test
index
/home/hut/work/ranger/test/test.py
+

Workaround to allow running single test cases directly

+ + \ No newline at end of file diff --git a/doc/ranger.actions.html b/doc/ranger.actions.html deleted file mode 100644 index 4d700dc7..00000000 --- a/doc/ranger.actions.html +++ /dev/null @@ -1,155 +0,0 @@ - -Python: module ranger.actions - - - - - -
 
- 
ranger.actions
index
/home/hut/work/ranger/ranger/actions.py
-

-

- - - - - -
 
-Modules
       
ranger.fsobject
-
os
-
shutil
-

- - - - - -
 
-Classes
       
-
ranger.shared.EnvironmentAware(ranger.shared.Awareness) -
-
-
Actions(ranger.shared.EnvironmentAware, ranger.shared.settings.SettingsAware) -
-
-
ranger.shared.settings.SettingsAware(builtins.object) -
-
-
Actions(ranger.shared.EnvironmentAware, ranger.shared.settings.SettingsAware) -
-
-
-

- - - - - -
 
-class Actions(ranger.shared.EnvironmentAware, ranger.shared.settings.SettingsAware)
    
Method resolution order:
-
Actions
-
ranger.shared.EnvironmentAware
-
ranger.shared.Awareness
-
ranger.shared.settings.SettingsAware
-
builtins.object
-
-
-Methods defined here:
-
cd = enter_dir(self, path)
- -
copy(self)
Copy the selected items
- -
cut(self)
- -
delete(self)
- -
edit_file(self)
Calls execute_file with the current file and app='editor'
- -
enter_bookmark(self, key)
Enter the bookmark with the name <key>
- -
enter_dir(self, path)
Enter the directory at the given path
- -
execute_file(self, files, app='', flags='', mode=0)
Execute a file.
-app is the name of a method in Applications, without the "app_"
-flags is a string consisting of applications.ALLOWED_FLAGS
-mode is a positive integer.
-Both flags and mode specify how the program is run.
- -
exit(self)
Exit the program
- -
force_load_preview(self)
- -
handle_mouse(self)
Handle mouse-buttons if one was pressed
- -
history_go(self, relative)
Move back and forth in the history
- -
interrupt(self)
Waits a short time.
-If CTRL+C is pressed while waiting, the program will be exited.
- -
mark(self, all=False, toggle=False, val=None, movedown=None)
A wrapper for the directory.mark_xyz functions.

-Arguments:
-all - change all files of the current directory at once?
-toggle - toggle the marked-status?
-val - mark or unmark?
- -
mkdir(self, name)
- -
move_left(self, n=1)
Enter the parent directory
- -
move_pointer(self, relative=0, absolute=None)
Move the pointer down by <relative> or to <absolute>
- -
move_pointer_by_pages(self, relative)
Move the pointer down by <relative> pages
- -
move_pointer_by_percentage(self, relative=0, absolute=None)
Move the pointer down by <relative>% or to <absolute>%
- -
move_right(self, mode=0)
Enter the current directory or execute the current file
- -
notify(self, text, duration=4, bad=False)
- -
open_console(self, mode=':', string='')
Open the console if the current UI supports that
- -
paste(self)
Paste the selected items into the current directory
- -
redraw_window(self)
Redraw the window
- -
reset(self)
Reset the filemanager, clearing the directory buffer
- -
resize(self)
Update the size of the UI
- -
scroll(self, relative)
Scroll down by <relative> lines
- -
search_backward(self)
Search backward for the regexp in self.env.last_search
- -
search_forward(self)
Search forward for the regexp in self.env.last_search
- -
set_bookmark(self, key)
Set the bookmark with the name <key> to the current directory
- -
sort(self, func=None, reverse=None)
- -
spawn(self, command)
- -
toggle_boolean_option(self, string)
Toggle a boolean option named <string>
- -
unset_bookmark(self, key)
Delete the bookmark with the name <key>
- -
-Data and other attributes inherited from ranger.shared.EnvironmentAware:
-
env = None
- -
-Data descriptors inherited from ranger.shared.Awareness:
-
__dict__
-
dictionary for instance variables (if defined)
-
-
__weakref__
-
list of weak references to the object (if defined)
-
-
-Data and other attributes inherited from ranger.shared.settings.SettingsAware:
-
settings = <ranger.ext.openstruct.OpenStruct object at 0x154e450>
- -

- \ No newline at end of file diff --git a/doc/ranger.applications.html b/doc/ranger.applications.html deleted file mode 100644 index 822ec412..00000000 --- a/doc/ranger.applications.html +++ /dev/null @@ -1,77 +0,0 @@ - -Python: module ranger.applications - - - - - -
 
- 
ranger.applications
index
/home/hut/work/ranger/ranger/applications.py
-

-

- - - - - -
 
-Modules
       
os
-
sys
-

- - - - - -
 
-Classes
       
-
builtins.object -
-
-
Applications -
-
-
-

- - - - - -
 
-class Applications(builtins.object)
    Methods defined here:
-
all(self)
Returns a list with all application functions
- -
get(self, app)
Looks for an application, returns app_default if it doesn't exist
- -
has(self, app)
Returns whether an application is defined
- -
-Data descriptors defined here:
-
__dict__
-
dictionary for instance variables (if defined)
-
-
__weakref__
-
list of weak references to the object (if defined)
-
-

- - - - - -
 
-Functions
       
run(*args, **kw)
Run files with the specified parameters
-
spawn(command, fm=None, suspend=True, wait=True)
-

- - - - - -
 
-Data
       ALLOWED_FLAGS = 'sdpSDP'
-null = <_io.TextIOWrapper name='/dev/null' encoding='UTF-8'>
- \ No newline at end of file diff --git a/doc/ranger.colorschemes.default.html b/doc/ranger.colorschemes.default.html deleted file mode 100644 index 815d3229..00000000 --- a/doc/ranger.colorschemes.default.html +++ /dev/null @@ -1,91 +0,0 @@ - -Python: module ranger.colorschemes.default - - - - - -
 
- 
ranger.colorschemes.default
index
/home/hut/work/ranger/ranger/colorschemes/default.py
-

-

- - - - - -
 
-Modules
       
curses
-

- - - - - -
 
-Classes
       
-
ranger.gui.colorscheme.ColorScheme(builtins.object) -
-
-
Default -
-
-
-

- - - - - -
 
-class Default(ranger.gui.colorscheme.ColorScheme)
    
Method resolution order:
-
Default
-
ranger.gui.colorscheme.ColorScheme
-
builtins.object
-
-
-Methods defined here:
-
use(self, context)
- -
-Methods inherited from ranger.gui.colorscheme.ColorScheme:
-
__init__(self)
- -
get(self, *keys)
Determine the (fg, bg, attr) tuple or get it from cache
- -
get_attr(self, *keys)
Returns the curses attr integer for the specified keys
- -
-Data descriptors inherited from ranger.gui.colorscheme.ColorScheme:
-
__dict__
-
dictionary for instance variables (if defined)
-
-
__weakref__
-
list of weak references to the object (if defined)
-
-

- - - - - -
 
-Data
       COLOR_PAIRS = {10: 0}
-black = 0
-blue = 4
-bold = 2097152
-cyan = 6
-default = -1
-default_colors = (-1, -1, 0)
-green = 2
-invisible = 8388608
-magenta = 5
-normal = 0
-red = 1
-reverse = 262144
-underline = 131072
-white = 7
-yellow = 3
- \ No newline at end of file diff --git a/doc/ranger.colorschemes.html b/doc/ranger.colorschemes.html deleted file mode 100644 index 362bcb80..00000000 --- a/doc/ranger.colorschemes.html +++ /dev/null @@ -1,32 +0,0 @@ - -Python: package ranger.colorschemes - - - - - -
 
- 
ranger.colorschemes
index
/home/hut/work/ranger/ranger/colorschemes/__init__.py
-

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

-

- - - - - -
 
-Package Contents
       
default
-
jungle
-
snow
-

- - - - - -
 
-Data
       __all__ = ['jungle', 'default', 'snow']
- \ No newline at end of file diff --git a/doc/ranger.colorschemes.jungle.html b/doc/ranger.colorschemes.jungle.html deleted file mode 100644 index 1febea96..00000000 --- a/doc/ranger.colorschemes.jungle.html +++ /dev/null @@ -1,91 +0,0 @@ - -Python: module ranger.colorschemes.jungle - - - - - -
 
- 
ranger.colorschemes.jungle
index
/home/hut/work/ranger/ranger/colorschemes/jungle.py
-

-

- - - - - -
 
-Modules
       
curses
-

- - - - - -
 
-Classes
       
-
ranger.gui.colorscheme.ColorScheme(builtins.object) -
-
-
Default -
-
-
-

- - - - - -
 
-class Default(ranger.gui.colorscheme.ColorScheme)
    
Method resolution order:
-
Default
-
ranger.gui.colorscheme.ColorScheme
-
builtins.object
-
-
-Methods defined here:
-
use(self, context)
- -
-Methods inherited from ranger.gui.colorscheme.ColorScheme:
-
__init__(self)
- -
get(self, *keys)
Determine the (fg, bg, attr) tuple or get it from cache
- -
get_attr(self, *keys)
Returns the curses attr integer for the specified keys
- -
-Data descriptors inherited from ranger.gui.colorscheme.ColorScheme:
-
__dict__
-
dictionary for instance variables (if defined)
-
-
__weakref__
-
list of weak references to the object (if defined)
-
-

- - - - - -
 
-Data
       COLOR_PAIRS = {10: 0}
-black = 0
-blue = 4
-bold = 2097152
-cyan = 6
-default = -1
-default_colors = (-1, -1, 0)
-green = 2
-invisible = 8388608
-magenta = 5
-normal = 0
-red = 1
-reverse = 262144
-underline = 131072
-white = 7
-yellow = 3
- \ No newline at end of file diff --git a/doc/ranger.colorschemes.snow.html b/doc/ranger.colorschemes.snow.html deleted file mode 100644 index 58f42ffd..00000000 --- a/doc/ranger.colorschemes.snow.html +++ /dev/null @@ -1,91 +0,0 @@ - -Python: module ranger.colorschemes.snow - - - - - -
 
- 
ranger.colorschemes.snow
index
/home/hut/work/ranger/ranger/colorschemes/snow.py
-

-

- - - - - -
 
-Modules
       
curses
-

- - - - - -
 
-Classes
       
-
ranger.gui.colorscheme.ColorScheme(builtins.object) -
-
-
Snow -
-
-
-

- - - - - -
 
-class Snow(ranger.gui.colorscheme.ColorScheme)
    
Method resolution order:
-
Snow
-
ranger.gui.colorscheme.ColorScheme
-
builtins.object
-
-
-Methods defined here:
-
use(self, context)
- -
-Methods inherited from ranger.gui.colorscheme.ColorScheme:
-
__init__(self)
- -
get(self, *keys)
Determine the (fg, bg, attr) tuple or get it from cache
- -
get_attr(self, *keys)
Returns the curses attr integer for the specified keys
- -
-Data descriptors inherited from ranger.gui.colorscheme.ColorScheme:
-
__dict__
-
dictionary for instance variables (if defined)
-
-
__weakref__
-
list of weak references to the object (if defined)
-
-

- - - - - -
 
-Data
       COLOR_PAIRS = {10: 0}
-black = 0
-blue = 4
-bold = 2097152
-cyan = 6
-default = -1
-default_colors = (-1, -1, 0)
-green = 2
-invisible = 8388608
-magenta = 5
-normal = 0
-red = 1
-reverse = 262144
-underline = 131072
-white = 7
-yellow = 3
- \ No newline at end of file diff --git a/doc/ranger.commands.html b/doc/ranger.commands.html deleted file mode 100644 index d89a7ff3..00000000 --- a/doc/ranger.commands.html +++ /dev/null @@ -1,430 +0,0 @@ - -Python: module ranger.commands - - - - - -
 
- 
ranger.commands
index
/home/hut/work/ranger/ranger/commands.py
-

-

- - - - - -
 
-Modules
       
os
-

- - - - - -
 
-Classes
       
-
builtins.object -
-
-
parse -
-
-
ranger.shared.FileManagerAware(ranger.shared.Awareness) -
-
-
Command -
-
-
cd -
delete -
delete -
find -
mkdir -
quit -
-
-
-
-
-

- - - - - - - -
 
-class Command(ranger.shared.FileManagerAware)
   Abstract command class
 
 
Method resolution order:
-
Command
-
ranger.shared.FileManagerAware
-
ranger.shared.Awareness
-
builtins.object
-
-
-Methods defined here:
-
__init__(self, line, mode)
- -
execute(self)
- -
quick_open(self)
- -
tab(self)
- -
-Data and other attributes defined here:
-
line = ''
- -
mode = ':'
- -
name = None
- -
-Data and other attributes inherited from ranger.shared.FileManagerAware:
-
fm = None
- -
-Data descriptors inherited from ranger.shared.Awareness:
-
__dict__
-
dictionary for instance variables (if defined)
-
-
__weakref__
-
list of weak references to the object (if defined)
-
-

- - - - - - - -
 
-class cd(Command)
   The cd command changes the directory. The command 'cd -' is
-equivalent to typing ``. In the quick console, the directory
-will be entered without the need to press enter, as soon as there
-is one unambiguous match.
 
 
Method resolution order:
-
cd
-
Command
-
ranger.shared.FileManagerAware
-
ranger.shared.Awareness
-
builtins.object
-
-
-Methods defined here:
-
execute(self)
- -
quick_open(self)
- -
tab(self)
- -
-Methods inherited from Command:
-
__init__(self, line, mode)
- -
-Data and other attributes inherited from Command:
-
line = ''
- -
mode = ':'
- -
name = None
- -
-Data and other attributes inherited from ranger.shared.FileManagerAware:
-
fm = None
- -
-Data descriptors inherited from ranger.shared.Awareness:
-
__dict__
-
dictionary for instance variables (if defined)
-
-
__weakref__
-
list of weak references to the object (if defined)
-
-

- - - - - -
 
-class delete(Command)
    
Method resolution order:
-
delete
-
Command
-
ranger.shared.FileManagerAware
-
ranger.shared.Awareness
-
builtins.object
-
-
-Methods defined here:
-
execute(self)
- -
-Methods inherited from Command:
-
__init__(self, line, mode)
- -
quick_open(self)
- -
tab(self)
- -
-Data and other attributes inherited from Command:
-
line = ''
- -
mode = ':'
- -
name = None
- -
-Data and other attributes inherited from ranger.shared.FileManagerAware:
-
fm = None
- -
-Data descriptors inherited from ranger.shared.Awareness:
-
__dict__
-
dictionary for instance variables (if defined)
-
-
__weakref__
-
list of weak references to the object (if defined)
-
-

- - - - - - - -
 
-class find(Command)
   The find command will attempt to find a partial, case insensitive
-match in the filenames of the current directory. In the quick command
-console, once there is one unambiguous match, the file will be run
-automatically.
 
 
Method resolution order:
-
find
-
Command
-
ranger.shared.FileManagerAware
-
ranger.shared.Awareness
-
builtins.object
-
-
-Methods defined here:
-
execute(self)
- -
quick_open(self)
- -
-Data and other attributes defined here:
-
count = 0
- -
-Methods inherited from Command:
-
__init__(self, line, mode)
- -
tab(self)
- -
-Data and other attributes inherited from Command:
-
line = ''
- -
mode = ':'
- -
name = None
- -
-Data and other attributes inherited from ranger.shared.FileManagerAware:
-
fm = None
- -
-Data descriptors inherited from ranger.shared.Awareness:
-
__dict__
-
dictionary for instance variables (if defined)
-
-
__weakref__
-
list of weak references to the object (if defined)
-
-

- - - - - -
 
-class mkdir(Command)
    
Method resolution order:
-
mkdir
-
Command
-
ranger.shared.FileManagerAware
-
ranger.shared.Awareness
-
builtins.object
-
-
-Methods defined here:
-
execute(self)
- -
-Methods inherited from Command:
-
__init__(self, line, mode)
- -
quick_open(self)
- -
tab(self)
- -
-Data and other attributes inherited from Command:
-
line = ''
- -
mode = ':'
- -
name = None
- -
-Data and other attributes inherited from ranger.shared.FileManagerAware:
-
fm = None
- -
-Data descriptors inherited from ranger.shared.Awareness:
-
__dict__
-
dictionary for instance variables (if defined)
-
-
__weakref__
-
list of weak references to the object (if defined)
-
-

- - - - - - - -
 
-class parse(builtins.object)
   Parse commands and extract information
 
 Methods defined here:
-
__add__(self, newpart)
- -
__init__(self, line)
- -
chunk(self, n, otherwise='')
- -
-Data descriptors defined here:
-
__dict__
-
dictionary for instance variables (if defined)
-
-
__weakref__
-
list of weak references to the object (if defined)
-
-

- - - - - - - -
 
-class quit(Command)
   Quits the program.
 
 
Method resolution order:
-
quit
-
Command
-
ranger.shared.FileManagerAware
-
ranger.shared.Awareness
-
builtins.object
-
-
-Methods defined here:
-
execute(self)
- -
-Methods inherited from Command:
-
__init__(self, line, mode)
- -
quick_open(self)
- -
tab(self)
- -
-Data and other attributes inherited from Command:
-
line = ''
- -
mode = ':'
- -
name = None
- -
-Data and other attributes inherited from ranger.shared.FileManagerAware:
-
fm = None
- -
-Data descriptors inherited from ranger.shared.Awareness:
-
__dict__
-
dictionary for instance variables (if defined)
-
-
__weakref__
-
list of weak references to the object (if defined)
-
-

- - - - - -
 
-var = class delete(Command)
    
Method resolution order:
-
delete
-
Command
-
ranger.shared.FileManagerAware
-
ranger.shared.Awareness
-
builtins.object
-
-
-Methods defined here:
-
execute(self)
- -
-Methods inherited from Command:
-
__init__(self, line, mode)
- -
quick_open(self)
- -
tab(self)
- -
-Data and other attributes inherited from Command:
-
line = ''
- -
mode = ':'
- -
name = None
- -
-Data and other attributes inherited from ranger.shared.FileManagerAware:
-
fm = None
- -
-Data descriptors inherited from ranger.shared.Awareness:
-
__dict__
-
dictionary for instance variables (if defined)
-
-
__weakref__
-
list of weak references to the object (if defined)
-
-

- - - - - -
 
-Functions
       
alias(**kw)
-

- - - - - -
 
-Data
       by_name = {'cd': <class 'ranger.commands.cd'>, 'delete': <class 'ranger.commands.delete'>, 'find': <class 'ranger.commands.find'>, 'mkdir': <class 'ranger.commands.mkdir'>, 'q': <class 'ranger.commands.quit'>, 'quit': <class 'ranger.commands.quit'>}
-varname = 'delete'
- \ No newline at end of file diff --git a/doc/ranger.container.bookmarks.html b/doc/ranger.container.bookmarks.html deleted file mode 100644 index 699524c4..00000000 --- a/doc/ranger.container.bookmarks.html +++ /dev/null @@ -1,173 +0,0 @@ - -Python: module ranger.container.bookmarks - - - - - -
 
- 
ranger.container.bookmarks
index
/home/hut/work/ranger/ranger/container/bookmarks.py
-

-

- - - - - -
 
-Modules
       
os
-
re
-
string
-

- - - - - -
 
-Classes
       
-
builtins.Exception(builtins.BaseException) -
-
-
NonexistantBookmark -
-
-
builtins.object -
-
-
Bookmarks -
-
-
-

- - - - - - - -
 
-class Bookmarks(builtins.object)
   Bookmarks is a container which associates keys with bookmarks.

-A key is a string with: len(key) == 1 and key in ALLOWED_KEYS.

-A bookmark is an object with: bookmark == bookmarktype(str(instance))
-Which is true for str or FileSystemObject. This condition is required
-so bookmark-objects can be saved to and loaded from a file.

-Optionally, a bookmark.go() method is used for entering a bookmark.
 
 Methods defined here:
-
__contains__(self, key)
Test whether a bookmark-key is defined
- -
__getitem__(self, key)
Get the bookmark associated with the key
- -
__init__(self, bookmarkfile, bookmarktype=<class 'str'>, autosave=False)
<bookmarkfile> specifies the path to the file where
-bookmarks are saved in.
- -
__setitem__(self, key, value)
Bookmark <value> to the key <key>.
-key is expected to be a 1-character string and element of ALLOWED_KEYS.
-value is expected to be a filesystemobject.
- -
delete(self, key)
Delete the bookmark with the given key
- -
enter(self, key)
Enter the bookmark with the given key.
-Requires the bookmark instance to have a go() method.
- -
load(self)
Load the bookmarks from path/bookmarks
- -
remember(self, value)
Bookmarks <value> to the keys ` and '
- -
save(self)
Save the bookmarks to the bookmarkfile.
-This is done automatically after every modification if autosave is True.
- -
update(self)
Update the bookmarks from the bookmark file.
-Useful if two instances are running which define different bookmarks.
- -
update_if_outdated(self)
- -
-Data descriptors defined here:
-
__dict__
-
dictionary for instance variables (if defined)
-
-
__weakref__
-
list of weak references to the object (if defined)
-
-
-Data and other attributes defined here:
-
autosave = True
- -
last_mtime = None
- -
load_pattern = <_sre.SRE_Pattern object at 0x15161a0>
- -

- - - - - -
 
-class NonexistantBookmark(builtins.Exception)
    
Method resolution order:
-
NonexistantBookmark
-
builtins.Exception
-
builtins.BaseException
-
builtins.object
-
-
-Data descriptors defined here:
-
__weakref__
-
list of weak references to the object (if defined)
-
-
-Methods inherited from builtins.Exception:
-
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
- -
-Data and other attributes inherited from builtins.Exception:
-
__new__ = <built-in method __new__ of type object at 0x7f327d94a120>
T.__new__(S, ...) -> a new object with type S, a subtype of T
- -
-Methods inherited from builtins.BaseException:
-
__delattr__(...)
x.__delattr__('name') <==> del x.name
- -
__getattribute__(...)
x.__getattribute__('name') <==> x.name
- -
__reduce__(...)
- -
__repr__(...)
x.__repr__() <==> repr(x)
- -
__setattr__(...)
x.__setattr__('name', value) <==> x.name = value
- -
__setstate__(...)
- -
__str__(...)
x.__str__() <==> str(x)
- -
with_traceback(...)
Exception.with_traceback(tb) --
-set self.__traceback__ to tb and return self.
- -
-Data descriptors inherited from builtins.BaseException:
-
__cause__
-
exception cause
-
-
__context__
-
exception context
-
-
__dict__
-
-
__traceback__
-
-
args
-
-

- - - - - -
 
-Data
       ALLOWED_KEYS = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789`'"
- \ No newline at end of file diff --git a/doc/ranger.container.commandlist.html b/doc/ranger.container.commandlist.html deleted file mode 100644 index 1620984c..00000000 --- a/doc/ranger.container.commandlist.html +++ /dev/null @@ -1,129 +0,0 @@ - -Python: module ranger.container.commandlist - - - - - -
 
- 
ranger.container.commandlist
index
/home/hut/work/ranger/ranger/container/commandlist.py
-

-

- - - - - -
 
-Classes
       
-
builtins.object -
-
-
Command -
CommandList -
Hint -
-
-
-

- - - - - - - -
 
-class Command(builtins.object)
   Command objects store information about a command
 
 Methods defined here:
-
__init__(self, fnc, keys)
- -
execute(self, *args)
Execute the command
- -
-Data descriptors defined here:
-
__dict__
-
dictionary for instance variables (if defined)
-
-
__weakref__
-
list of weak references to the object (if defined)
-
-
-Data and other attributes defined here:
-
keys = []
- -

- - - - - - - -
 
-class CommandList(builtins.object)
   CommandLists are dictionary-like objects which give you a command
-for a given key combination.  CommandLists must be filled before use.
 
 Methods defined here:
-
__getitem__(self, key)
Returns the command with the given key combination
- -
__init__(self)
- -
bind(self, fnc, *keys)
create a Command object and assign it to the given key combinations.
- -
hint(self, text, *keys)
create a Hint object and assign it to the given key combinations.
- -
rebuild_paths(self)
Fill the path dictionary with dummie objects.
-We need to know when to clear the keybuffer (when a wrong key is pressed)
-and when to wait for the rest of the key combination.  For "gg" we
-will assign "g" to a dummy which tells the program to do the latter
-and wait.
- -
remove_dummies(self)
Remove dummie objects in case you have to rebuild a path dictionary
-which already contains dummie objects.
- -
-Data descriptors defined here:
-
__dict__
-
dictionary for instance variables (if defined)
-
-
__weakref__
-
list of weak references to the object (if defined)
-
-
-Data and other attributes defined here:
-
commandlist = []
- -
dummies_in_paths = False
- -
dummy_object = None
- -
paths = {}
- -

- - - - - - - -
 
-class Hint(builtins.object)
   Hints display text without clearing the keybuffer
 
 Methods defined here:
-
__init__(self, text, keys)
- -
-Data descriptors defined here:
-
__dict__
-
dictionary for instance variables (if defined)
-
-
__weakref__
-
list of weak references to the object (if defined)
-
-
-Data and other attributes defined here:
-
keys = []
- -
text = ''
- -

- \ No newline at end of file diff --git a/doc/ranger.container.environment.html b/doc/ranger.container.environment.html deleted file mode 100644 index 4909d588..00000000 --- a/doc/ranger.container.environment.html +++ /dev/null @@ -1,105 +0,0 @@ - -Python: module ranger.container.environment - - - - - -
 
- 
ranger.container.environment
index
/home/hut/work/ranger/ranger/container/environment.py
-

-

- - - - - -
 
-Classes
       
-
ranger.shared.settings.SettingsAware(builtins.object) -
-
-
Environment -
-
-
-

- - - - - - - -
 
-class Environment(ranger.shared.settings.SettingsAware)
   A collection of data which is relevant for more than
-one class.
 
 
Method resolution order:
-
Environment
-
ranger.shared.settings.SettingsAware
-
builtins.object
-
-
-Methods defined here:
-
__init__(self, path)
- -
assign_correct_cursor_positions(self)
Assign correct cursor positions for subdirectories
- -
at_level(self, level)
Returns the FileSystemObject at the given level.
-level 1 => preview
-level 0 => current file/directory
-level <0 => parent directories
- -
enter_dir(self, path, history=True)
Enter given path
- -
garbage_collect(self)
Delete unused directory objects
- -
get_directory(self, path)
Get the directory object at the given path
- -
get_selection(self)
- -
history_go(self, relative)
Move relative in history
- -
key_append(self, key)
Append a key to the keybuffer
- -
key_clear(self)
Clear the keybuffer
- -
-Data and other attributes defined here:
-
cf = None
- -
copy = None
- -
cut = None
- -
directories = None
- -
history = None
- -
keybuffer = None
- -
last_search = None
- -
path = None
- -
pathway = None
- -
pwd = None
- -
termsize = None
- -
-Data descriptors inherited from ranger.shared.settings.SettingsAware:
-
__dict__
-
dictionary for instance variables (if defined)
-
-
__weakref__
-
list of weak references to the object (if defined)
-
-
-Data and other attributes inherited from ranger.shared.settings.SettingsAware:
-
settings = <ranger.ext.openstruct.OpenStruct object at 0x154e450>
- -

- \ No newline at end of file diff --git a/doc/ranger.container.history.html b/doc/ranger.container.history.html deleted file mode 100644 index 5094de92..00000000 --- a/doc/ranger.container.history.html +++ /dev/null @@ -1,136 +0,0 @@ - -Python: module ranger.container.history - - - - - -
 
- 
ranger.container.history
index
/home/hut/work/ranger/ranger/container/history.py
-

-

- - - - - -
 
-Classes
       
-
builtins.Exception(builtins.BaseException) -
-
-
HistoryEmptyException -
-
-
builtins.object -
-
-
History -
-
-
-

- - - - - -
 
-class History(builtins.object)
    Methods defined here:
-
__init__(self, maxlen=None)
- -
__iter__(self)
- -
__len__(self)
- -
add(self, item)
- -
back(self)
- -
bottom(self)
- -
current(self)
- -
fast_forward(self)
- -
forward(self)
- -
modify(self, item)
- -
move(self, n)
- -
next(self)
- -
top(self)
- -
-Data descriptors defined here:
-
__dict__
-
dictionary for instance variables (if defined)
-
-
__weakref__
-
list of weak references to the object (if defined)
-
-

- - - - - -
 
-class HistoryEmptyException(builtins.Exception)
    
Method resolution order:
-
HistoryEmptyException
-
builtins.Exception
-
builtins.BaseException
-
builtins.object
-
-
-Data descriptors defined here:
-
__weakref__
-
list of weak references to the object (if defined)
-
-
-Methods inherited from builtins.Exception:
-
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
- -
-Data and other attributes inherited from builtins.Exception:
-
__new__ = <built-in method __new__ of type object at 0x7f327d94a120>
T.__new__(S, ...) -> a new object with type S, a subtype of T
- -
-Methods inherited from builtins.BaseException:
-
__delattr__(...)
x.__delattr__('name') <==> del x.name
- -
__getattribute__(...)
x.__getattribute__('name') <==> x.name
- -
__reduce__(...)
- -
__repr__(...)
x.__repr__() <==> repr(x)
- -
__setattr__(...)
x.__setattr__('name', value) <==> x.name = value
- -
__setstate__(...)
- -
__str__(...)
x.__str__() <==> str(x)
- -
with_traceback(...)
Exception.with_traceback(tb) --
-set self.__traceback__ to tb and return self.
- -
-Data descriptors inherited from builtins.BaseException:
-
__cause__
-
exception cause
-
-
__context__
-
exception context
-
-
__dict__
-
-
__traceback__
-
-
args
-
-

- \ No newline at end of file diff --git a/doc/ranger.container.html b/doc/ranger.container.html deleted file mode 100644 index 7154fd15..00000000 --- a/doc/ranger.container.html +++ /dev/null @@ -1,27 +0,0 @@ - -Python: package ranger.container - - - - - -
 
- 
ranger.container
index
/home/hut/work/ranger/ranger/container/__init__.py
-

This package includes container-objects which are
-used to manage stored data

-

- - - - - -
 
-Package Contents
       
bookmarks
-commandlist
-
environment
-history
-
keybuffer
-
- \ No newline at end of file diff --git a/doc/ranger.container.keybuffer.html b/doc/ranger.container.keybuffer.html deleted file mode 100644 index 4990a3fc..00000000 --- a/doc/ranger.container.keybuffer.html +++ /dev/null @@ -1,76 +0,0 @@ - -Python: module ranger.container.keybuffer - - - - - -
 
- 
ranger.container.keybuffer
index
/home/hut/work/ranger/ranger/container/keybuffer.py
-

-

- - - - - -
 
-Classes
       
-
builtins.object -
-
-
KeyBuffer -
-
-
-

- - - - - -
 
-class KeyBuffer(builtins.object)
    Methods defined here:
-
__init__(self)
- -
__str__(self)
returns a concatenation of all characters
- -
append(self, key)
Append a key to the keybuffer, or initial numbers to
-the number attribute.
- -
clear(self)
Clear the keybuffer and restore the initial state
- -
tuple_with_numbers(self)
Get a tuple of ascii codes.
- -
tuple_without_numbers(self)
Get a tuple of ascii codes.
-If the keybuffer starts with numbers, those will
-be left out. To access them, use keybuffer.number
- -
-Data descriptors defined here:
-
__dict__
-
dictionary for instance variables (if defined)
-
-
__weakref__
-
list of weak references to the object (if defined)
-
-

- - - - - -
 
-Functions
       
to_string(i)
-

- - - - - -
 
-Data
       NINE = 57
-ZERO = 48
- \ No newline at end of file diff --git a/doc/ranger.defaults.apps.html b/doc/ranger.defaults.apps.html deleted file mode 100644 index f969eebf..00000000 --- a/doc/ranger.defaults.apps.html +++ /dev/null @@ -1,75 +0,0 @@ - -Python: module ranger.defaults.apps - - - - - -
 
- 
ranger.defaults.apps
index
/home/hut/work/ranger/ranger/defaults/apps.py
-

-

- - - - - -
 
-Classes
       
-
ranger.applications.Applications(builtins.object) -
-
-
CustomApplications -
-
-
-

- - - - - -
 
-class CustomApplications(ranger.applications.Applications)
    
Method resolution order:
-
CustomApplications
-
ranger.applications.Applications
-
builtins.object
-
-
-Methods defined here:
-
app_aunpack(self, **kw)
- -
app_default(self, **kw)
# How to determine the default application? {{{
- -
app_editor = app_vim(self, **kw)
- -
app_evince(self, **kw)
- -
app_feh(self, **kw)
- -
app_mplayer(self, **kw)
- -
app_pager(self, **kw)
- -
app_vim(self, **kw)
- -
-Methods inherited from ranger.applications.Applications:
-
all(self)
Returns a list with all application functions
- -
get(self, app)
Looks for an application, returns app_default if it doesn't exist
- -
has(self, app)
Returns whether an application is defined
- -
-Data descriptors inherited from ranger.applications.Applications:
-
__dict__
-
dictionary for instance variables (if defined)
-
-
__weakref__
-
list of weak references to the object (if defined)
-
-

- \ No newline at end of file diff --git a/doc/ranger.defaults.html b/doc/ranger.defaults.html deleted file mode 100644 index 22015dc0..00000000 --- a/doc/ranger.defaults.html +++ /dev/null @@ -1,24 +0,0 @@ - -Python: package ranger.defaults - - - - - -
 
- 
ranger.defaults
index
/home/hut/work/ranger/ranger/defaults/__init__.py
-

Default options and configration files

-

- - - - - -
 
-Package Contents
       
apps
-
keys
-
options
-
- \ No newline at end of file diff --git a/doc/ranger.defaults.keys.html b/doc/ranger.defaults.keys.html deleted file mode 100644 index 782ee6d2..00000000 --- a/doc/ranger.defaults.keys.html +++ /dev/null @@ -1,357 +0,0 @@ - -Python: module ranger.defaults.keys - - - - - -
 
- 
ranger.defaults.keys
index
/home/hut/work/ranger/ranger/defaults/keys.py
-

-

- - - - - -
 
-Modules
       
curses
-

- - - - - -
 
-Functions
       
baudrate(...)
-
beep(...)
-
can_change_color(...)
-
cbreak(...)
-
color_content(...)
-
color_pair(...)
-
curs_set(...)
-
def_prog_mode(...)
-
def_shell_mode(...)
-
delay_output(...)
-
doupdate(...)
-
echo(...)
-
endwin(...)
-
erasechar(...)
-
filter(...)
-
flash(...)
-
flushinp(...)
-
getmouse(...)
-
getsyx(...)
-
getwin(...)
-
halfdelay(...)
-
has_colors(...)
-
has_ic(...)
-
has_il(...)
-
has_key(...)
-
init_color(...)
-
init_pair(...)
-
initialize_commands(command_list)
Initialize the commands for the main user interface
-
initialize_console_commands(command_list)
Initialize the commands for the console widget only
-
initialize_process_manager_commands(command_list)
Initialize the commands for the process manager widget
-
intrflush(...)
-
is_term_resized(...)
-
isendwin(...)
-
keyname(...)
-
killchar(...)
-
longname(...)
-
meta(...)
-
mouseinterval(...)
-
mousemask(...)
-
napms(...)
-
newpad(...)
-
newwin(...)
-
nl(...)
-
nocbreak(...)
-
noecho(...)
-
nonl(...)
-
noqiflush(...)
-
noraw(...)
-
pair_content(...)
-
pair_number(...)
-
putp(...)
-
qiflush(...)
-
raw(...)
-
reset_prog_mode(...)
-
reset_shell_mode(...)
-
resetty(...)
-
resize_term(...)
-
resizeterm(...)
-
savetty(...)
-
setsyx(...)
-
setupterm(...)
-
termattrs(...)
-
termname(...)
-
tigetflag(...)
-
tigetnum(...)
-
tigetstr(...)
-
tparm(...)
-
typeahead(...)
-
ungetch(...)
-
ungetmouse(...)
-
use_default_colors(...)
-
use_env(...)
-

- - - - - -
 
-Data
       ACK = 6
-ALLOWED_BOOKMARK_KEYS = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789`'"
-ALL_MOUSE_EVENTS = 134217727
-A_ALTCHARSET = 4194304
-A_ATTRIBUTES = 4294967040
-A_BLINK = 524288
-A_BOLD = 2097152
-A_CHARTEXT = 255
-A_COLOR = 65280
-A_DIM = 1048576
-A_HORIZONTAL = 33554432
-A_INVIS = 8388608
-A_LEFT = 67108864
-A_LOW = 134217728
-A_NORMAL = 0
-A_PROTECT = 16777216
-A_REVERSE = 262144
-A_RIGHT = 268435456
-A_STANDOUT = 65536
-A_TOP = 536870912
-A_UNDERLINE = 131072
-A_VERTICAL = 1073741824
-BEL = 7
-BS = 8
-BUTTON1_CLICKED = 4
-BUTTON1_DOUBLE_CLICKED = 8
-BUTTON1_PRESSED = 2
-BUTTON1_RELEASED = 1
-BUTTON1_TRIPLE_CLICKED = 16
-BUTTON2_CLICKED = 256
-BUTTON2_DOUBLE_CLICKED = 512
-BUTTON2_PRESSED = 128
-BUTTON2_RELEASED = 64
-BUTTON2_TRIPLE_CLICKED = 1024
-BUTTON3_CLICKED = 16384
-BUTTON3_DOUBLE_CLICKED = 32768
-BUTTON3_PRESSED = 8192
-BUTTON3_RELEASED = 4096
-BUTTON3_TRIPLE_CLICKED = 65536
-BUTTON4_CLICKED = 1048576
-BUTTON4_DOUBLE_CLICKED = 2097152
-BUTTON4_PRESSED = 524288
-BUTTON4_RELEASED = 262144
-BUTTON4_TRIPLE_CLICKED = 4194304
-BUTTON_ALT = 67108864
-BUTTON_CTRL = 16777216
-BUTTON_SHIFT = 33554432
-CAN = 24
-COLOR_BLACK = 0
-COLOR_BLUE = 4
-COLOR_CYAN = 6
-COLOR_GREEN = 2
-COLOR_MAGENTA = 5
-COLOR_RED = 1
-COLOR_WHITE = 7
-COLOR_YELLOW = 3
-CR = 13
-DC1 = 17
-DC2 = 18
-DC3 = 19
-DC4 = 20
-DEL = 127
-DLE = 16
-EM = 25
-ENQ = 5
-EOT = 4
-ERR = -1
-ESC = 27
-ETB = 23
-ETX = 3
-FF = 12
-FS = 28
-GS = 29
-HT = 9
-KEY_A1 = 348
-KEY_A3 = 349
-KEY_B2 = 350
-KEY_BACKSPACE = 263
-KEY_BEG = 354
-KEY_BREAK = 257
-KEY_BTAB = 353
-KEY_C1 = 351
-KEY_C3 = 352
-KEY_CANCEL = 355
-KEY_CATAB = 342
-KEY_CLEAR = 333
-KEY_CLOSE = 356
-KEY_COMMAND = 357
-KEY_COPY = 358
-KEY_CREATE = 359
-KEY_CTAB = 341
-KEY_DC = 330
-KEY_DL = 328
-KEY_DOWN = 258
-KEY_EIC = 332
-KEY_END = 360
-KEY_ENTER = 343
-KEY_EOL = 335
-KEY_EOS = 334
-KEY_EXIT = 361
-KEY_F0 = 264
-KEY_F1 = 265
-KEY_F10 = 274
-KEY_F11 = 275
-KEY_F12 = 276
-KEY_F13 = 277
-KEY_F14 = 278
-KEY_F15 = 279
-KEY_F16 = 280
-KEY_F17 = 281
-KEY_F18 = 282
-KEY_F19 = 283
-KEY_F2 = 266
-KEY_F20 = 284
-KEY_F21 = 285
-KEY_F22 = 286
-KEY_F23 = 287
-KEY_F24 = 288
-KEY_F25 = 289
-KEY_F26 = 290
-KEY_F27 = 291
-KEY_F28 = 292
-KEY_F29 = 293
-KEY_F3 = 267
-KEY_F30 = 294
-KEY_F31 = 295
-KEY_F32 = 296
-KEY_F33 = 297
-KEY_F34 = 298
-KEY_F35 = 299
-KEY_F36 = 300
-KEY_F37 = 301
-KEY_F38 = 302
-KEY_F39 = 303
-KEY_F4 = 268
-KEY_F40 = 304
-KEY_F41 = 305
-KEY_F42 = 306
-KEY_F43 = 307
-KEY_F44 = 308
-KEY_F45 = 309
-KEY_F46 = 310
-KEY_F47 = 311
-KEY_F48 = 312
-KEY_F49 = 313
-KEY_F5 = 269
-KEY_F50 = 314
-KEY_F51 = 315
-KEY_F52 = 316
-KEY_F53 = 317
-KEY_F54 = 318
-KEY_F55 = 319
-KEY_F56 = 320
-KEY_F57 = 321
-KEY_F58 = 322
-KEY_F59 = 323
-KEY_F6 = 270
-KEY_F60 = 324
-KEY_F61 = 325
-KEY_F62 = 326
-KEY_F63 = 327
-KEY_F7 = 271
-KEY_F8 = 272
-KEY_F9 = 273
-KEY_FIND = 362
-KEY_HELP = 363
-KEY_HOME = 262
-KEY_IC = 331
-KEY_IL = 329
-KEY_LEFT = 260
-KEY_LL = 347
-KEY_MARK = 364
-KEY_MAX = 511
-KEY_MESSAGE = 365
-KEY_MIN = 257
-KEY_MOUSE = 409
-KEY_MOVE = 366
-KEY_NEXT = 367
-KEY_NPAGE = 338
-KEY_OPEN = 368
-KEY_OPTIONS = 369
-KEY_PPAGE = 339
-KEY_PREVIOUS = 370
-KEY_PRINT = 346
-KEY_REDO = 371
-KEY_REFERENCE = 372
-KEY_REFRESH = 373
-KEY_REPLACE = 374
-KEY_RESET = 345
-KEY_RESIZE = 410
-KEY_RESTART = 375
-KEY_RESUME = 376
-KEY_RIGHT = 261
-KEY_SAVE = 377
-KEY_SBEG = 378
-KEY_SCANCEL = 379
-KEY_SCOMMAND = 380
-KEY_SCOPY = 381
-KEY_SCREATE = 382
-KEY_SDC = 383
-KEY_SDL = 384
-KEY_SELECT = 385
-KEY_SEND = 386
-KEY_SEOL = 387
-KEY_SEXIT = 388
-KEY_SF = 336
-KEY_SFIND = 389
-KEY_SHELP = 390
-KEY_SHOME = 391
-KEY_SIC = 392
-KEY_SLEFT = 393
-KEY_SMESSAGE = 394
-KEY_SMOVE = 395
-KEY_SNEXT = 396
-KEY_SOPTIONS = 397
-KEY_SPREVIOUS = 398
-KEY_SPRINT = 399
-KEY_SR = 337
-KEY_SREDO = 400
-KEY_SREPLACE = 401
-KEY_SRESET = 344
-KEY_SRIGHT = 402
-KEY_SRSUME = 403
-KEY_SSAVE = 404
-KEY_SSUSPEND = 405
-KEY_STAB = 340
-KEY_SUNDO = 406
-KEY_SUSPEND = 407
-KEY_UNDO = 408
-KEY_UP = 259
-LF = 10
-NAK = 21
-NL = 10
-NUL = 0
-OK = 0
-RANGERDIR = '/home/hut/work/ranger/ranger'
-REPORT_MOUSE_POSITION = 134217728
-RS = 30
-SI = 15
-SO = 14
-SOH = 1
-SP = 32
-STX = 2
-SUB = 26
-SYN = 22
-TAB = 9
-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', ...]
-version = b'2.2'
- \ No newline at end of file diff --git a/doc/ranger.defaults.options.html b/doc/ranger.defaults.options.html deleted file mode 100644 index 09542348..00000000 --- a/doc/ranger.defaults.options.html +++ /dev/null @@ -1,41 +0,0 @@ - -Python: module ranger.defaults.options - - - - - -
 
- 
ranger.defaults.options
index
/home/hut/work/ranger/ranger/defaults/options.py
-

-

- - - - - -
 
-Modules
       
ranger.defaults.apps
-
ranger.colorschemes.default
-
ranger.colorschemes
-
ranger.defaults.keys
-

- - - - - -
 
-Data
       auto_load_preview = True
-collapse_preview = True
-directories_first = True
-max_dirsize_for_autopreview = None
-max_history_size = 20
-preview_files = False
-reverse = False
-scroll_offset = 2
-show_hidden = False
-sort = 'basename'
- \ No newline at end of file diff --git a/doc/ranger.ext.accumulator.html b/doc/ranger.ext.accumulator.html deleted file mode 100644 index 7a1a2304..00000000 --- a/doc/ranger.ext.accumulator.html +++ /dev/null @@ -1,59 +0,0 @@ - -Python: module ranger.ext.accumulator - - - - - -
 
- 
ranger.ext.accumulator
index
/home/hut/work/ranger/ranger/ext/accumulator.py
-

-

- - - - - -
 
-Classes
       
-
builtins.object -
-
-
Accumulator -
-
-
-

- - - - - -
 
-class Accumulator(builtins.object)
    Methods defined here:
-
__init__(self)
- -
correct_pointer(self)
- -
get_list(self)
OVERRIDE THIS
- -
move(self, relative=0, absolute=None)
- -
move_to_obj(self, arg, attr=None)
- -
pointer_is_synced(self)
- -
sync_index(self, **kw)
- -
-Data descriptors defined here:
-
__dict__
-
dictionary for instance variables (if defined)
-
-
__weakref__
-
list of weak references to the object (if defined)
-
-

- \ No newline at end of file diff --git a/doc/ranger.ext.debug.html b/doc/ranger.ext.debug.html deleted file mode 100644 index e3a49ead..00000000 --- a/doc/ranger.ext.debug.html +++ /dev/null @@ -1,31 +0,0 @@ - -Python: module ranger.ext.debug - - - - - -
 
- 
ranger.ext.debug
index
/home/hut/work/ranger/ranger/ext/debug.py
-

-

- - - - - -
 
-Functions
       
log(*objects, **keywords)
Writes objects to a logfile.
-Has the same arguments as print() in python3
-
trace()
-

- - - - - -
 
-Data
       LOGFILE = '/tmp/errorlog'
- \ No newline at end of file diff --git a/doc/ranger.ext.get_all_modules.html b/doc/ranger.ext.get_all_modules.html deleted file mode 100644 index b7698581..00000000 --- a/doc/ranger.ext.get_all_modules.html +++ /dev/null @@ -1,22 +0,0 @@ - -Python: module ranger.ext.get_all_modules - - - - - -
 
- 
ranger.ext.get_all_modules
index
/home/hut/work/ranger/ranger/ext/get_all_modules.py
-

-

- - - - - -
 
-Functions
       
get_all_modules(dirname)
returns a list of strings containing the names of modules in a directory
-
- \ No newline at end of file diff --git a/doc/ranger.ext.html b/doc/ranger.ext.html deleted file mode 100644 index 06848c5d..00000000 --- a/doc/ranger.ext.html +++ /dev/null @@ -1,29 +0,0 @@ - -Python: package ranger.ext - - - - - -
 
- 
ranger.ext
index
/home/hut/work/ranger/ranger/ext/__init__.py
-

This package includes extensions with broader usability

-

- - - - - -
 
-Package Contents
       
accumulator
-debug
-
get_all_modules
-human_readable
-
openstruct
-relpath
-
shutil_generatorized
-waitpid_no_intr
-
- \ No newline at end of file diff --git a/doc/ranger.ext.human_readable.html b/doc/ranger.ext.human_readable.html deleted file mode 100644 index d1815c9b..00000000 --- a/doc/ranger.ext.human_readable.html +++ /dev/null @@ -1,31 +0,0 @@ - -Python: module ranger.ext.human_readable - - - - - -
 
- 
ranger.ext.human_readable
index
/home/hut/work/ranger/ranger/ext/human_readable.py
-

-

- - - - - -
 
-Functions
       
human_readable(byte)
-

- - - - - -
 
-Data
       MAX_EXPONENT = 5
-ONE_KB = 1024
-UNITS = 'BKMGTP'
- \ No newline at end of file diff --git a/doc/ranger.ext.openstruct.html b/doc/ranger.ext.openstruct.html deleted file mode 100644 index 798c7352..00000000 --- a/doc/ranger.ext.openstruct.html +++ /dev/null @@ -1,53 +0,0 @@ - -Python: module ranger.ext.openstruct - - - - - -
 
- 
ranger.ext.openstruct
index
/home/hut/work/ranger/ranger/ext/openstruct.py
-

-

- - - - - -
 
-Classes
       
-
builtins.object -
-
-
OpenStruct -
-
-
-

- - - - - -
 
-class OpenStruct(builtins.object)
    Methods defined here:
-
__contains__(self, key)
- -
__getitem__(self, key)
- -
__init__(self, _OpenStruct__dictionary=None, **_OpenStruct__keywords)
- -
__setitem__(self, key, value)
- -
-Data descriptors defined here:
-
__dict__
-
dictionary for instance variables (if defined)
-
-
__weakref__
-
list of weak references to the object (if defined)
-
-

- \ No newline at end of file diff --git a/doc/ranger.ext.relpath.html b/doc/ranger.ext.relpath.html deleted file mode 100644 index 0e431e12..00000000 --- a/doc/ranger.ext.relpath.html +++ /dev/null @@ -1,32 +0,0 @@ - -Python: module ranger.ext.relpath - - - - - -
 
- 
ranger.ext.relpath
index
/home/hut/work/ranger/ranger/ext/relpath.py
-

-

- - - - - -
 
-Modules
       
os
-
ranger
-

- - - - - -
 
-Functions
       
relpath(*paths)
returns the path relative to rangers library directory
-
relpath_conf(*paths)
returns the path relative to rangers configuration directory
-
- \ No newline at end of file diff --git a/doc/ranger.ext.shutil_generatorized.html b/doc/ranger.ext.shutil_generatorized.html deleted file mode 100644 index bee4db77..00000000 --- a/doc/ranger.ext.shutil_generatorized.html +++ /dev/null @@ -1,257 +0,0 @@ - -Python: module ranger.ext.shutil_generatorized - - - - - -
 
- 
ranger.ext.shutil_generatorized
index
/home/hut/work/ranger/ranger/ext/shutil_generatorized.py
-

Utility functions for copying files and directory trees.

-XXX The functions here don't copy the resource fork or other metadata on Mac.

-

- - - - - -
 
-Modules
       
fnmatch
-
os
-
stat
-
sys
-

- - - - - -
 
-Classes
       
-
builtins.EnvironmentError(builtins.Exception) -
-
-
Error -
SpecialFileError -
-
-
-

- - - - - -
 
-class Error(builtins.EnvironmentError)
    
Method resolution order:
-
Error
-
builtins.EnvironmentError
-
builtins.Exception
-
builtins.BaseException
-
builtins.object
-
-
-Data descriptors defined here:
-
__weakref__
-
list of weak references to the object (if defined)
-
-
-Methods inherited from builtins.EnvironmentError:
-
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
- -
__reduce__(...)
- -
__str__(...)
x.__str__() <==> str(x)
- -
-Data descriptors inherited from builtins.EnvironmentError:
-
errno
-
exception errno
-
-
filename
-
exception filename
-
-
strerror
-
exception strerror
-
-
-Data and other attributes inherited from builtins.EnvironmentError:
-
__new__ = <built-in method __new__ of type object at 0x7f327d94ac80>
T.__new__(S, ...) -> a new object with type S, a subtype of T
- -
-Methods inherited from builtins.BaseException:
-
__delattr__(...)
x.__delattr__('name') <==> del x.name
- -
__getattribute__(...)
x.__getattribute__('name') <==> x.name
- -
__repr__(...)
x.__repr__() <==> repr(x)
- -
__setattr__(...)
x.__setattr__('name', value) <==> x.name = value
- -
__setstate__(...)
- -
with_traceback(...)
Exception.with_traceback(tb) --
-set self.__traceback__ to tb and return self.
- -
-Data descriptors inherited from builtins.BaseException:
-
__cause__
-
exception cause
-
-
__context__
-
exception context
-
-
__dict__
-
-
__traceback__
-
-
args
-
-

- - - - - - - -
 
-class SpecialFileError(builtins.EnvironmentError)
   Raised when trying to do a kind of operation (e.g. copying) which is
-not supported on a special file (e.g. a named pipe)
 
 
Method resolution order:
-
SpecialFileError
-
builtins.EnvironmentError
-
builtins.Exception
-
builtins.BaseException
-
builtins.object
-
-
-Data descriptors defined here:
-
__weakref__
-
list of weak references to the object (if defined)
-
-
-Methods inherited from builtins.EnvironmentError:
-
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
- -
__reduce__(...)
- -
__str__(...)
x.__str__() <==> str(x)
- -
-Data descriptors inherited from builtins.EnvironmentError:
-
errno
-
exception errno
-
-
filename
-
exception filename
-
-
strerror
-
exception strerror
-
-
-Data and other attributes inherited from builtins.EnvironmentError:
-
__new__ = <built-in method __new__ of type object at 0x7f327d94ac80>
T.__new__(S, ...) -> a new object with type S, a subtype of T
- -
-Methods inherited from builtins.BaseException:
-
__delattr__(...)
x.__delattr__('name') <==> del x.name
- -
__getattribute__(...)
x.__getattribute__('name') <==> x.name
- -
__repr__(...)
x.__repr__() <==> repr(x)
- -
__setattr__(...)
x.__setattr__('name', value) <==> x.name = value
- -
__setstate__(...)
- -
with_traceback(...)
Exception.with_traceback(tb) --
-set self.__traceback__ to tb and return self.
- -
-Data descriptors inherited from builtins.BaseException:
-
__cause__
-
exception cause
-
-
__context__
-
exception context
-
-
__dict__
-
-
__traceback__
-
-
args
-
-

- - - - - -
 
-Functions
       
copy(src, dst)
Copy data and mode bits ("cp src dst").

-The destination may be a directory.
-
copy2(src, dst)
Copy data and all stat info ("cp -p src dst").

-The destination may be a directory.
-
copyfile(src, dst)
Copy data from src to dst
-
copyfileobj(fsrc, fdst, length=16384)
copy data from file-like object fsrc to file-like object fdst
-
copymode(src, dst)
Copy mode bits from src to dst
-
copystat(src, dst)
Copy all stat info (mode bits, atime, mtime, flags) from src to dst
-
copytree(src, dst, symlinks=False, ignore=None)
Recursively copy a directory tree using copy2().

-The destination directory must not already exist.
-If exception(s) occur, an Error is raised with a list of reasons.

-If the optional symlinks flag is true, symbolic links in the
-source tree result in symbolic links in the destination tree; if
-it is false, the contents of the files pointed to by symbolic
-links are copied.

-The optional ignore argument is a callable. If given, it
-is called with the `src` parameter, which is the directory
-being visited by copytree(), and `names` which is the list of
-`src` contents, as returned by os.listdir():

-    callable(src, names) -> ignored_names

-Since copytree() is called recursively, the callable will be
-called once for each directory that is copied. It returns a
-list of names relative to the `src` directory that should
-not be copied.

-XXX Consider this example code rather than the ultimate tool.
-
move(src, dst)
Recursively move a file or directory to another location. This is
-similar to the Unix "mv" command.

-If the destination is a directory or a symlink to a directory, the source
-is moved inside the directory. The destination path must not already
-exist.

-If the destination already exists but is not a directory, it may be
-overwritten depending on os.rename() semantics.

-If the destination is on our current filesystem, then rename() is used.
-Otherwise, src is copied to the destination and then removed.
-A lot more could be done here...  A look at a mv.c shows a lot of
-the issues this implementation glosses over.
-
rmtree(path, ignore_errors=False, onerror=None)
Recursively delete a directory tree.

-If ignore_errors is set, errors are ignored; otherwise, if onerror
-is set, it is called to handle the error with arguments (func,
-path, exc_info) where func is os.listdir, os.remove, or os.rmdir;
-path is the argument to that function that caused it to fail; and
-exc_info is a tuple returned by sys.exc_info().  If ignore_errors
-is false and onerror is None, an exception is raised.
-

- - - - - -
 
-Data
       __all__ = ['copyfileobj', 'copyfile', 'copymode', 'copystat', 'copy', 'copy2', 'copytree', 'move', 'rmtree', 'Error', 'SpecialFileError']
- \ No newline at end of file diff --git a/doc/ranger.ext.waitpid_no_intr.html b/doc/ranger.ext.waitpid_no_intr.html deleted file mode 100644 index 147d6896..00000000 --- a/doc/ranger.ext.waitpid_no_intr.html +++ /dev/null @@ -1,22 +0,0 @@ - -Python: module ranger.ext.waitpid_no_intr - - - - - -
 
- 
ranger.ext.waitpid_no_intr
index
/home/hut/work/ranger/ranger/ext/waitpid_no_intr.py
-

-

- - - - - -
 
-Functions
       
waitpid_no_intr(pid)
catch interrupts which occur while using os.waitpid
-
- \ No newline at end of file diff --git a/doc/ranger.fm.html b/doc/ranger.fm.html deleted file mode 100644 index 2d4f7f62..00000000 --- a/doc/ranger.fm.html +++ /dev/null @@ -1,182 +0,0 @@ - -Python: module ranger.fm - - - - - -
 
- 
ranger.fm (version 1.0.0)
index
/home/hut/work/ranger/ranger/fm.py
-

-

- - - - - -
 
-Classes
       
-
ranger.actions.Actions(ranger.shared.EnvironmentAware, ranger.shared.settings.SettingsAware) -
-
-
FM -
-
-
-

- - - - - -
 
-class FM(ranger.actions.Actions)
    
Method resolution order:
-
FM
-
ranger.actions.Actions
-
ranger.shared.EnvironmentAware
-
ranger.shared.Awareness
-
ranger.shared.settings.SettingsAware
-
builtins.object
-
-
-Methods defined here:
-
__init__(self, ui=None, bookmarks=None)
Initialize FM.
- -
block_input(self, sec=0)
- -
initialize(self)
If ui/bookmarks are None, they will be initialized here.
- -
loop(self)
The main loop consists of:
-1. reloading bookmarks if outdated
-2. drawing and finalizing ui
-3. reading and handling user input
-4. after X loops: collecting unused directory objects
- -
-Data and other attributes defined here:
-
input_blocked = False
- -
input_blocked_until = 0
- -
stderr_to_out = False
- -
-Methods inherited from ranger.actions.Actions:
-
cd = enter_dir(self, path)
Enter the directory at the given path
- -
copy(self)
Copy the selected items
- -
cut(self)
- -
delete(self)
- -
edit_file(self)
Calls execute_file with the current file and app='editor'
- -
enter_bookmark(self, key)
Enter the bookmark with the name <key>
- -
enter_dir(self, path)
Enter the directory at the given path
- -
execute_file(self, files, app='', flags='', mode=0)
Execute a file.
-app is the name of a method in Applications, without the "app_"
-flags is a string consisting of applications.ALLOWED_FLAGS
-mode is a positive integer.
-Both flags and mode specify how the program is run.
- -
exit(self)
Exit the program
- -
force_load_preview(self)
- -
handle_mouse(self)
Handle mouse-buttons if one was pressed
- -
history_go(self, relative)
Move back and forth in the history
- -
interrupt(self)
Waits a short time.
-If CTRL+C is pressed while waiting, the program will be exited.
- -
mark(self, all=False, toggle=False, val=None, movedown=None)
A wrapper for the directory.mark_xyz functions.

-Arguments:
-all - change all files of the current directory at once?
-toggle - toggle the marked-status?
-val - mark or unmark?
- -
mkdir(self, name)
- -
move_left(self, n=1)
Enter the parent directory
- -
move_pointer(self, relative=0, absolute=None)
Move the pointer down by <relative> or to <absolute>
- -
move_pointer_by_pages(self, relative)
Move the pointer down by <relative> pages
- -
move_pointer_by_percentage(self, relative=0, absolute=None)
Move the pointer down by <relative>% or to <absolute>%
- -
move_right(self, mode=0)
Enter the current directory or execute the current file
- -
notify(self, text, duration=4, bad=False)
- -
open_console(self, mode=':', string='')
Open the console if the current UI supports that
- -
paste(self)
Paste the selected items into the current directory
- -
redraw_window(self)
Redraw the window
- -
reset(self)
Reset the filemanager, clearing the directory buffer
- -
resize(self)
Update the size of the UI
- -
scroll(self, relative)
Scroll down by <relative> lines
- -
search_backward(self)
Search backward for the regexp in self.env.last_search
- -
search_forward(self)
Search forward for the regexp in self.env.last_search
- -
set_bookmark(self, key)
Set the bookmark with the name <key> to the current directory
- -
sort(self, func=None, reverse=None)
- -
spawn(self, command)
- -
toggle_boolean_option(self, string)
Toggle a boolean option named <string>
- -
unset_bookmark(self, key)
Delete the bookmark with the name <key>
- -
-Data and other attributes inherited from ranger.shared.EnvironmentAware:
-
env = None
- -
-Data descriptors inherited from ranger.shared.Awareness:
-
__dict__
-
dictionary for instance variables (if defined)
-
-
__weakref__
-
list of weak references to the object (if defined)
-
-
-Data and other attributes inherited from ranger.shared.settings.SettingsAware:
-
settings = <ranger.ext.openstruct.OpenStruct object at 0x154e450>
- -

- - - - - -
 
-Functions
       
time(...)
time() -> floating point number

-Return the current time in seconds since the Epoch.
-Fractions of a second may be present if the system clock provides them.
-

- - - - - -
 
-Data
       CTRL_C = 3
-TICKS_BEFORE_COLLECTING_GARBAGE = 100
-__version__ = '1.0.0'
- \ No newline at end of file diff --git a/doc/ranger.fsobject.directory.html b/doc/ranger.fsobject.directory.html deleted file mode 100644 index ee87c5bb..00000000 --- a/doc/ranger.fsobject.directory.html +++ /dev/null @@ -1,344 +0,0 @@ - -Python: module ranger.fsobject.directory - - - - - -
 
- 
ranger.fsobject.directory
index
/home/hut/work/ranger/ranger/fsobject/directory.py
-

-

- - - - - -
 
-Modules
       
ranger
-

- - - - - -
 
-Classes
       
-
builtins.Exception(builtins.BaseException) -
-
-
NoDirectoryGiven -
-
-
ranger.ext.accumulator.Accumulator(builtins.object) -
-
-
Directory(ranger.fsobject.fsobject.FileSystemObject, ranger.ext.accumulator.Accumulator, ranger.shared.settings.SettingsAware) -
-
-
ranger.fsobject.fsobject.FileSystemObject(ranger.shared.mimetype.MimeTypeAware, ranger.shared.FileManagerAware) -
-
-
Directory(ranger.fsobject.fsobject.FileSystemObject, ranger.ext.accumulator.Accumulator, ranger.shared.settings.SettingsAware) -
-
-
ranger.shared.settings.SettingsAware(builtins.object) -
-
-
Directory(ranger.fsobject.fsobject.FileSystemObject, ranger.ext.accumulator.Accumulator, ranger.shared.settings.SettingsAware) -
-
-
-

- - - - - -
 
-class Directory(ranger.fsobject.fsobject.FileSystemObject, ranger.ext.accumulator.Accumulator, ranger.shared.settings.SettingsAware)
    
Method resolution order:
-
Directory
-
ranger.fsobject.fsobject.FileSystemObject
-
ranger.shared.mimetype.MimeTypeAware
-
ranger.shared.FileManagerAware
-
ranger.shared.Awareness
-
ranger.ext.accumulator.Accumulator
-
ranger.shared.settings.SettingsAware
-
builtins.object
-
-
-Methods defined here:
-
__eq__(self, other)
Check for equality of the directories paths
- -
__getitem__(self, key)
Get the file by its index
- -
__hash__(self)
- -
__init__(self, path)
- -
__len__(self)
The number of containing files
- -
__neq__(self, other)
Check for inequality of the directories paths
- -
__nonzero__(self)
Always True
- -
correct_pointer(self)
Make sure the pointer is in the valid range
- -
empty(self)
Is the directory empty?
- -
get_list(self)
- -
get_selection(self)
READ ONLY
- -
load_bit_by_bit(self)
Returns a generator which load a part of the directory
-in each iteration.
- -
load_content(self, schedule=None)
Loads the contents of the directory. Use this sparingly since
-it takes rather long.
- -
load_content_if_outdated(self, *a, **k)
Load the contents of the directory if it's
-outdated or not done yet
- -
load_content_once(self, *a, **k)
Load the contents of the directory if not done yet
- -
mark_all(self, val)
- -
mark_item(self, item, val)
- -
move_to_obj(self, arg)
- -
search(self, arg, direction=1)
Search for a regular expression
- -
sort(self)
Sort the containing files
- -
sort_if_outdated(self)
Sort the containing files if they are outdated
- -
toggle_all_marks(self)
- -
toggle_mark(self, item)
- -
unload(self)
- -
-Data and other attributes defined here:
-
enterable = False
- -
filenames = None
- -
files = None
- -
filter = None
- -
load_generator = None
- -
loading = False
- -
marked_items = None
- -
old_directories_first = None
- -
old_reverse = None
- -
old_show_hidden = None
- -
old_sort = None
- -
scroll_begin = 0
- -
scroll_offset = 0
- -
sort_dict = {'basename': <function sort_by_basename at 0x154a408>, 'mtime': <function <lambda> at 0x1569518>, 'size': <function <lambda> at 0x1569490>, 'type': <function <lambda> at 0x15695a0>}
- -
-Methods inherited from ranger.fsobject.fsobject.FileSystemObject:
-
__str__(self)
returns a string containing the absolute path
- -
get_description(self)
- -
get_permission_string(self)
- -
go(self)
enter the directory if the filemanager is running
- -
is_older_than(self, seconds)
returns whether this object wasn't use()d in the last n seconds
- -
load(self)
reads useful information about the filesystem-object from the
-filesystem and caches it for later use
- -
load_if_outdated(self)
Calls load() if the currently cached information is outdated
-or nonexistant.
- -
load_once(self)
calls load() if it has not been called at least once yet
- -
mark(self, boolean)
- -
set_mimetype(self)
assign attributes such as self.video according to the mimetype
- -
use(self)
mark the filesystem-object as used at the current time
- -
-Data and other attributes inherited from ranger.fsobject.fsobject.FileSystemObject:
-
accessible = False
- -
audio = False
- -
basename = None
- -
basename_lower = None
- -
container = False
- -
content_loaded = False
- -
dirname = None
- -
document = False
- -
exists = False
- -
extension = None
- -
force_load = False
- -
image = False
- -
infostring = None
- -
islink = False
- -
last_used = None
- -
loaded = False
- -
marked = False
- -
media = False
- -
mimetype_tuple = ()
- -
path = None
- -
permissions = None
- -
readlink = None
- -
runnable = False
- -
size = 0
- -
stat = None
- -
stopped = False
- -
tagged = False
- -
type = 'unknown'
- -
video = False
- -
-Data descriptors inherited from ranger.shared.mimetype.MimeTypeAware:
-
__dict__
-
dictionary for instance variables (if defined)
-
-
__weakref__
-
list of weak references to the object (if defined)
-
-
-Data and other attributes inherited from ranger.shared.mimetype.MimeTypeAware:
-
mimetypes = {}
- -
-Data and other attributes inherited from ranger.shared.FileManagerAware:
-
fm = None
- -
-Methods inherited from ranger.ext.accumulator.Accumulator:
-
move(self, relative=0, absolute=None)
- -
pointer_is_synced(self)
- -
sync_index(self, **kw)
- -
-Data and other attributes inherited from ranger.shared.settings.SettingsAware:
-
settings = <ranger.ext.openstruct.OpenStruct object at 0x154e450>
- -

- - - - - -
 
-class NoDirectoryGiven(builtins.Exception)
    
Method resolution order:
-
NoDirectoryGiven
-
builtins.Exception
-
builtins.BaseException
-
builtins.object
-
-
-Data descriptors defined here:
-
__weakref__
-
list of weak references to the object (if defined)
-
-
-Methods inherited from builtins.Exception:
-
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
- -
-Data and other attributes inherited from builtins.Exception:
-
__new__ = <built-in method __new__ of type object at 0x7f327d94a120>
T.__new__(S, ...) -> a new object with type S, a subtype of T
- -
-Methods inherited from builtins.BaseException:
-
__delattr__(...)
x.__delattr__('name') <==> del x.name
- -
__getattribute__(...)
x.__getattribute__('name') <==> x.name
- -
__reduce__(...)
- -
__repr__(...)
x.__repr__() <==> repr(x)
- -
__setattr__(...)
x.__setattr__('name', value) <==> x.name = value
- -
__setstate__(...)
- -
__str__(...)
x.__str__() <==> str(x)
- -
with_traceback(...)
Exception.with_traceback(tb) --
-set self.__traceback__ to tb and return self.
- -
-Data descriptors inherited from builtins.BaseException:
-
__cause__
-
exception cause
-
-
__context__
-
exception context
-
-
__dict__
-
-
__traceback__
-
-
args
-
-

- - - - - -
 
-Functions
       
sort_by_basename(path)
returns path.basename (for sorting)
-
sort_by_directory(path)
returns 0 if path is a directory, otherwise 1 (for sorting)
-

- - - - - -
 
-Data
       BAD_INFO = None
- \ No newline at end of file diff --git a/doc/ranger.fsobject.file.html b/doc/ranger.fsobject.file.html deleted file mode 100644 index b2929879..00000000 --- a/doc/ranger.fsobject.file.html +++ /dev/null @@ -1,148 +0,0 @@ - -Python: module ranger.fsobject.file - - - - - -
 
- 
ranger.fsobject.file
index
/home/hut/work/ranger/ranger/fsobject/file.py
-

-

- - - - - -
 
-Classes
       
-
ranger.fsobject.fsobject.FileSystemObject(ranger.shared.mimetype.MimeTypeAware, ranger.shared.FileManagerAware) -
-
-
File -
-
-
-

- - - - - -
 
-class File(ranger.fsobject.fsobject.FileSystemObject)
    
Method resolution order:
-
File
-
ranger.fsobject.fsobject.FileSystemObject
-
ranger.shared.mimetype.MimeTypeAware
-
ranger.shared.FileManagerAware
-
ranger.shared.Awareness
-
builtins.object
-
-
-Methods inherited from ranger.fsobject.fsobject.FileSystemObject:
-
__init__(self, path)
- -
__str__(self)
returns a string containing the absolute path
- -
get_description(self)
- -
get_permission_string(self)
- -
go(self)
enter the directory if the filemanager is running
- -
is_older_than(self, seconds)
returns whether this object wasn't use()d in the last n seconds
- -
load(self)
reads useful information about the filesystem-object from the
-filesystem and caches it for later use
- -
load_if_outdated(self)
Calls load() if the currently cached information is outdated
-or nonexistant.
- -
load_once(self)
calls load() if it has not been called at least once yet
- -
mark(self, boolean)
- -
set_mimetype(self)
assign attributes such as self.video according to the mimetype
- -
use(self)
mark the filesystem-object as used at the current time
- -
-Data and other attributes inherited from ranger.fsobject.fsobject.FileSystemObject:
-
accessible = False
- -
audio = False
- -
basename = None
- -
basename_lower = None
- -
container = False
- -
content_loaded = False
- -
dirname = None
- -
document = False
- -
exists = False
- -
extension = None
- -
force_load = False
- -
image = False
- -
infostring = None
- -
islink = False
- -
last_used = None
- -
loaded = False
- -
marked = False
- -
media = False
- -
mimetype_tuple = ()
- -
path = None
- -
permissions = None
- -
readlink = None
- -
runnable = False
- -
size = 0
- -
stat = None
- -
stopped = False
- -
tagged = False
- -
type = 'unknown'
- -
video = False
- -
-Data descriptors inherited from ranger.shared.mimetype.MimeTypeAware:
-
__dict__
-
dictionary for instance variables (if defined)
-
-
__weakref__
-
list of weak references to the object (if defined)
-
-
-Data and other attributes inherited from ranger.shared.mimetype.MimeTypeAware:
-
mimetypes = {}
- -
-Data and other attributes inherited from ranger.shared.FileManagerAware:
-
fm = None
- -

- \ No newline at end of file diff --git a/doc/ranger.fsobject.fsobject.html b/doc/ranger.fsobject.fsobject.html deleted file mode 100644 index ecdf11f8..00000000 --- a/doc/ranger.fsobject.fsobject.html +++ /dev/null @@ -1,167 +0,0 @@ - -Python: module ranger.fsobject.fsobject - - - - - -
 
- 
ranger.fsobject.fsobject
index
/home/hut/work/ranger/ranger/fsobject/fsobject.py
-

-

- - - - - -
 
-Classes
       
-
ranger.shared.FileManagerAware(ranger.shared.Awareness) -
-
-
FileSystemObject(ranger.shared.mimetype.MimeTypeAware, ranger.shared.FileManagerAware) -
-
-
ranger.shared.mimetype.MimeTypeAware(builtins.object) -
-
-
FileSystemObject(ranger.shared.mimetype.MimeTypeAware, ranger.shared.FileManagerAware) -
-
-
-

- - - - - -
 
-class FileSystemObject(ranger.shared.mimetype.MimeTypeAware, ranger.shared.FileManagerAware)
    
Method resolution order:
-
FileSystemObject
-
ranger.shared.mimetype.MimeTypeAware
-
ranger.shared.FileManagerAware
-
ranger.shared.Awareness
-
builtins.object
-
-
-Methods defined here:
-
__init__(self, path)
- -
__str__(self)
returns a string containing the absolute path
- -
get_description(self)
- -
get_permission_string(self)
- -
go(self)
enter the directory if the filemanager is running
- -
is_older_than(self, seconds)
returns whether this object wasn't use()d in the last n seconds
- -
load(self)
reads useful information about the filesystem-object from the
-filesystem and caches it for later use
- -
load_if_outdated(self)
Calls load() if the currently cached information is outdated
-or nonexistant.
- -
load_once(self)
calls load() if it has not been called at least once yet
- -
mark(self, boolean)
- -
set_mimetype(self)
assign attributes such as self.video according to the mimetype
- -
use(self)
mark the filesystem-object as used at the current time
- -
-Data and other attributes defined here:
-
accessible = False
- -
audio = False
- -
basename = None
- -
basename_lower = None
- -
container = False
- -
content_loaded = False
- -
dirname = None
- -
document = False
- -
exists = False
- -
extension = None
- -
force_load = False
- -
image = False
- -
infostring = None
- -
islink = False
- -
last_used = None
- -
loaded = False
- -
marked = False
- -
media = False
- -
mimetype_tuple = ()
- -
path = None
- -
permissions = None
- -
readlink = None
- -
runnable = False
- -
size = 0
- -
stat = None
- -
stopped = False
- -
tagged = False
- -
type = 'unknown'
- -
video = False
- -
-Data descriptors inherited from ranger.shared.mimetype.MimeTypeAware:
-
__dict__
-
dictionary for instance variables (if defined)
-
-
__weakref__
-
list of weak references to the object (if defined)
-
-
-Data and other attributes inherited from ranger.shared.mimetype.MimeTypeAware:
-
mimetypes = {}
- -
-Data and other attributes inherited from ranger.shared.FileManagerAware:
-
fm = None
- -

- - - - - -
 
-Data
       BAD_INFO = None
-CONTAINER_EXTENSIONS = ['rar', 'zip', 'tar', 'gz', 'bz', 'bz2', 'tgz', '7z', 'iso', 'cab']
-DOCUMENT_BASENAMES = ['README', 'TODO', 'LICENSE']
-DOCUMENT_EXTENSIONS = ['pdf', 'doc', 'ppt', 'odt']
-T_DIRECTORY = 'directory'
-T_FILE = 'file'
-T_NONEXISTANT = 'nonexistant'
-T_UNKNOWN = 'unknown'
- \ No newline at end of file diff --git a/doc/ranger.fsobject.html b/doc/ranger.fsobject.html deleted file mode 100644 index fff54d0c..00000000 --- a/doc/ranger.fsobject.html +++ /dev/null @@ -1,111 +0,0 @@ - -Python: package ranger.fsobject - - - - - -
 
- 
ranger.fsobject
index
/home/hut/work/ranger/ranger/fsobject/__init__.py
-

FileSystemObjects are representation of files and directories
-with fast access to their properties through caching

-

- - - - - -
 
-Package Contents
       
directory
-
file
-
fsobject
-
loader
-

- - - - - -
 
-Classes
       
-
builtins.Exception(builtins.BaseException) -
-
-
NotLoadedYet -
-
-
-

- - - - - -
 
-class NotLoadedYet(builtins.Exception)
    
Method resolution order:
-
NotLoadedYet
-
builtins.Exception
-
builtins.BaseException
-
builtins.object
-
-
-Data descriptors defined here:
-
__weakref__
-
list of weak references to the object (if defined)
-
-
-Methods inherited from builtins.Exception:
-
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
- -
-Data and other attributes inherited from builtins.Exception:
-
__new__ = <built-in method __new__ of type object at 0x7f327d94a120>
T.__new__(S, ...) -> a new object with type S, a subtype of T
- -
-Methods inherited from builtins.BaseException:
-
__delattr__(...)
x.__delattr__('name') <==> del x.name
- -
__getattribute__(...)
x.__getattribute__('name') <==> x.name
- -
__reduce__(...)
- -
__repr__(...)
x.__repr__() <==> repr(x)
- -
__setattr__(...)
x.__setattr__('name', value) <==> x.name = value
- -
__setstate__(...)
- -
__str__(...)
x.__str__() <==> str(x)
- -
with_traceback(...)
Exception.with_traceback(tb) --
-set self.__traceback__ to tb and return self.
- -
-Data descriptors inherited from builtins.BaseException:
-
__cause__
-
exception cause
-
-
__context__
-
exception context
-
-
__dict__
-
-
__traceback__
-
-
args
-
-

- - - - - -
 
-Data
       BAD_INFO = None
-T_DIRECTORY = 'directory'
-T_FILE = 'file'
-T_NONEXISTANT = 'nonexistant'
-T_UNKNOWN = 'unknown'
- \ No newline at end of file diff --git a/doc/ranger.fsobject.loader.html b/doc/ranger.fsobject.loader.html deleted file mode 100644 index 2e2cc099..00000000 --- a/doc/ranger.fsobject.loader.html +++ /dev/null @@ -1,122 +0,0 @@ - -Python: module ranger.fsobject.loader - - - - - -
 
- 
ranger.fsobject.loader
index
/home/hut/work/ranger/ranger/fsobject/loader.py
-

-

- - - - - -
 
-Modules
       
math
-

- - - - - -
 
-Classes
       
-
builtins.object -
-
-
LoadableObject -
-
-
ranger.shared.FileManagerAware(ranger.shared.Awareness) -
-
-
Loader -
-
-
-

- - - - - -
 
-class LoadableObject(builtins.object)
    Methods defined here:
-
__init__(self, gen, descr)
- -
get_description(self)
- -
-Data descriptors defined here:
-
__dict__
-
dictionary for instance variables (if defined)
-
-
__weakref__
-
list of weak references to the object (if defined)
-
-

- - - - - -
 
-class Loader(ranger.shared.FileManagerAware)
    
Method resolution order:
-
Loader
-
ranger.shared.FileManagerAware
-
ranger.shared.Awareness
-
builtins.object
-
-
-Methods defined here:
-
__init__(self)
- -
add(self, obj)
Add an object to the queue.
-It should have a load_generator method.
- -
has_work(self)
Is there anything to load?
- -
move(self, _from, to)
- -
remove(self, item=None, index=None)
- -
rotate(self)
Rotate the throbber
- -
work(self)
Load items from the queue if there are any.
-Stop after approximately self.seconds_of_work_time.
- -
-Data and other attributes defined here:
-
seconds_of_work_time = 0.05
- -
-Data and other attributes inherited from ranger.shared.FileManagerAware:
-
fm = None
- -
-Data descriptors inherited from ranger.shared.Awareness:
-
__dict__
-
dictionary for instance variables (if defined)
-
-
__weakref__
-
list of weak references to the object (if defined)
-
-

- - - - - -
 
-Functions
       
status_generator()
Generate a rotating line which can be used as a throbber
-
time(...)
time() -> floating point number

-Return the current time in seconds since the Epoch.
-Fractions of a second may be present if the system clock provides them.
-
- \ No newline at end of file diff --git a/doc/ranger.gui.color.html b/doc/ranger.gui.color.html deleted file mode 100644 index a1e48be3..00000000 --- a/doc/ranger.gui.color.html +++ /dev/null @@ -1,52 +0,0 @@ - -Python: module ranger.gui.color - - - - - -
 
- 
ranger.gui.color
index
/home/hut/work/ranger/ranger/gui/color.py
-

Contains abbreviations to curses' color/attribute constants.

-

- - - - - -
 
-Modules
       
curses
-

- - - - - -
 
-Functions
       
get_color(fg, bg)
Returns the color pair for the given fg/bg combination.
-

- - - - - -
 
-Data
       COLOR_PAIRS = {10: 0}
-black = 0
-blue = 4
-bold = 2097152
-cyan = 6
-default = -1
-default_colors = (-1, -1, 0)
-green = 2
-invisible = 8388608
-magenta = 5
-normal = 0
-red = 1
-reverse = 262144
-underline = 131072
-white = 7
-yellow = 3
- \ No newline at end of file diff --git a/doc/ranger.gui.colorscheme.html b/doc/ranger.gui.colorscheme.html deleted file mode 100644 index dd12acae..00000000 --- a/doc/ranger.gui.colorscheme.html +++ /dev/null @@ -1,62 +0,0 @@ - -Python: module ranger.gui.colorscheme - - - - - -
 
- 
ranger.gui.colorscheme
index
/home/hut/work/ranger/ranger/gui/colorscheme.py
-

-

- - - - - -
 
-Classes
       
-
builtins.object -
-
-
ColorScheme -
-
-
-

- - - - - -
 
-class ColorScheme(builtins.object)
    Methods defined here:
-
__init__(self)
- -
get(self, *keys)
Determine the (fg, bg, attr) tuple or get it from cache
- -
get_attr(self, *keys)
Returns the curses attr integer for the specified keys
- -
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!
- -
-Data descriptors defined here:
-
__dict__
-
dictionary for instance variables (if defined)
-
-
__weakref__
-
list of weak references to the object (if defined)
-
-

- - - - - -
 
-Data
       CONTEXT_KEYS = ['reset', 'error', 'in_display', 'in_statusbar', 'in_titlebar', 'in_console', 'in_notify', 'in_pman', 'directory', 'file', 'hostname', 'executable', 'media', 'link', 'video', 'audio', 'image', 'media', 'document', 'container', ...]
- \ No newline at end of file diff --git a/doc/ranger.gui.defaultui.html b/doc/ranger.gui.defaultui.html deleted file mode 100644 index 4d80acac..00000000 --- a/doc/ranger.gui.defaultui.html +++ /dev/null @@ -1,173 +0,0 @@ - -Python: module ranger.gui.defaultui - - - - - -
 
- 
ranger.gui.defaultui
index
/home/hut/work/ranger/ranger/gui/defaultui.py
-

-

- - - - - -
 
-Classes
       
-
ranger.gui.ui.UI(ranger.gui.displayable.DisplayableContainer) -
-
-
DefaultUI -
-
-
-

- - - - - -
 
-class DefaultUI(ranger.gui.ui.UI)
    
Method resolution order:
-
DefaultUI
-
ranger.gui.ui.UI
-
ranger.gui.displayable.DisplayableContainer
-
ranger.gui.displayable.Displayable
-
ranger.shared.EnvironmentAware
-
ranger.shared.FileManagerAware
-
ranger.shared.Awareness
-
ranger.shared.settings.SettingsAware
-
builtins.object
-
-
-Methods defined here:
-
close_console(self)
- -
close_pman(self)
- -
display(self, *a, **k)
- -
hint(self, text=None)
- -
open_console(self, mode, string='')
- -
open_pman(self)
- -
poke(self)
- -
scroll(self, relative)
- -
setup(self)
Build up the UI by initializing widgets.
- -
throbber(self, string='.', remove=False)
- -
update_size(self)
resize all widgets
- -
-Methods inherited from ranger.gui.ui.UI:
-
__init__(self, commandlist=None, env=None, fm=None)
- -
destroy(self)
Destroy all widgets and turn off curses
- -
draw(self)
Erase the window, then draw all objects in the container
- -
finalize(self)
Finalize every object in container and refresh the window
- -
get_next_key(self)
Waits for key input and returns the pressed key
- -
handle_key(self, key)
Handles key input
- -
handle_mouse(self)
Handles mouse input
- -
initialize(self)
initialize curses, then call setup (at the first time) and resize.
- -
redraw(self)
Redraw all widgets
- -
redraw_window(self)
Redraw the window. This only calls self.win.redrawwin().
- -
set_load_mode(self, boolean)
- -
suspend(self)
Turn off curses
- -
-Data and other attributes inherited from ranger.gui.ui.UI:
-
is_set_up = False
- -
load_mode = False
- -
mousemask = 268435455
- -
-Methods inherited from ranger.gui.displayable.DisplayableContainer:
-
add_obj(self, *objs)
- -
click(self, event)
Recursively called on objects in container
- -
get_focused_obj(self)
Finds a focused displayable object in the container.
- -
press(self, key)
Recursively called on objects in container
- -
-Data and other attributes inherited from ranger.gui.displayable.DisplayableContainer:
-
container = None
- -
-Methods inherited from ranger.gui.displayable.Displayable:
-
__contains__(self, item)
Is item inside the boundaries?
-item can be an iterable like [y, x] or an object with x and y methods.
- -
__nonzero__(self)
Always True
- -
color(self, keylist=None, *keys)
Change the colors from now on.
- -
color_at(self, y, x, wid, keylist=None, *keys)
Change the colors at the specified position
- -
color_reset(self)
Change the colors to the default colors
- -
contains_point(self, y, x)
Test if the point lies within the boundaries of this object
- -
resize(self, y, x, hei=None, wid=None)
Resize the widget
- -
-Data and other attributes inherited from ranger.gui.displayable.Displayable:
-
colorscheme = None
- -
focused = False
- -
visible = True
- -
win = None
- -
-Data and other attributes inherited from ranger.shared.EnvironmentAware:
-
env = None
- -
-Data and other attributes inherited from ranger.shared.FileManagerAware:
-
fm = None
- -
-Data descriptors inherited from ranger.shared.Awareness:
-
__dict__
-
dictionary for instance variables (if defined)
-
-
__weakref__
-
list of weak references to the object (if defined)
-
-
-Data and other attributes inherited from ranger.shared.settings.SettingsAware:
-
settings = <ranger.ext.openstruct.OpenStruct object at 0x154e450>
- -

- - - - - -
 
-Data
       RATIO = (3, 3, 12, 9)
- \ No newline at end of file diff --git a/doc/ranger.gui.displayable.html b/doc/ranger.gui.displayable.html deleted file mode 100644 index a581fbeb..00000000 --- a/doc/ranger.gui.displayable.html +++ /dev/null @@ -1,297 +0,0 @@ - -Python: module ranger.gui.displayable - - - - - -
 
- 
ranger.gui.displayable
index
/home/hut/work/ranger/ranger/gui/displayable.py
-

-

- - - - - -
 
-Classes
       
-
builtins.Exception(builtins.BaseException) -
-
-
OutOfBoundsException -
-
-
ranger.shared.EnvironmentAware(ranger.shared.Awareness) -
-
-
Displayable(ranger.shared.EnvironmentAware, ranger.shared.FileManagerAware, ranger.shared.settings.SettingsAware) -
-
-
DisplayableContainer -
-
-
-
-
ranger.shared.FileManagerAware(ranger.shared.Awareness) -
-
-
Displayable(ranger.shared.EnvironmentAware, ranger.shared.FileManagerAware, ranger.shared.settings.SettingsAware) -
-
-
DisplayableContainer -
-
-
-
-
ranger.shared.settings.SettingsAware(builtins.object) -
-
-
Displayable(ranger.shared.EnvironmentAware, ranger.shared.FileManagerAware, ranger.shared.settings.SettingsAware) -
-
-
DisplayableContainer -
-
-
-
-
-

- - - - - -
 
-class Displayable(ranger.shared.EnvironmentAware, ranger.shared.FileManagerAware, ranger.shared.settings.SettingsAware)
    
Method resolution order:
-
Displayable
-
ranger.shared.EnvironmentAware
-
ranger.shared.FileManagerAware
-
ranger.shared.Awareness
-
ranger.shared.settings.SettingsAware
-
builtins.object
-
-
-Methods defined here:
-
__contains__(self, item)
Is item inside the boundaries?
-item can be an iterable like [y, x] or an object with x and y methods.
- -
__init__(self, win, env=None, fm=None, settings=None)
- -
__nonzero__(self)
Always True
- -
click(self, event)
Called when a mouse key is pressed and self.focused is True.
-Override this!
- -
color(self, keylist=None, *keys)
Change the colors from now on.
- -
color_at(self, y, x, wid, keylist=None, *keys)
Change the colors at the specified position
- -
color_reset(self)
Change the colors to the default colors
- -
contains_point(self, y, x)
Test if the point lies within the boundaries of this object
- -
destroy(self)
Called when the object is destroyed.
-Override this!
- -
draw(self)
Draw displayable.  Called on every main iteration if the object
-is visible.  Override this!
- -
finalize(self)
Called after every displayable is done drawing.
-Override this!
- -
poke(self)
Called before drawing, even if invisible
- -
press(self, key)
Called when a key is pressed and self.focused is True.
-Override this!
- -
resize(self, y, x, hei=None, wid=None)
Resize the widget
- -
-Data and other attributes defined here:
-
colorscheme = None
- -
focused = False
- -
visible = True
- -
win = None
- -
-Data and other attributes inherited from ranger.shared.EnvironmentAware:
-
env = None
- -
-Data and other attributes inherited from ranger.shared.FileManagerAware:
-
fm = None
- -
-Data descriptors inherited from ranger.shared.Awareness:
-
__dict__
-
dictionary for instance variables (if defined)
-
-
__weakref__
-
list of weak references to the object (if defined)
-
-
-Data and other attributes inherited from ranger.shared.settings.SettingsAware:
-
settings = <ranger.ext.openstruct.OpenStruct object at 0x154e450>
- -

- - - - - -
 
-class DisplayableContainer(Displayable)
    
Method resolution order:
-
DisplayableContainer
-
Displayable
-
ranger.shared.EnvironmentAware
-
ranger.shared.FileManagerAware
-
ranger.shared.Awareness
-
ranger.shared.settings.SettingsAware
-
builtins.object
-
-
-Methods defined here:
-
__init__(self, win, env=None, fm=None, settings=None)
- -
add_obj(self, *objs)
- -
click(self, event)
Recursively called on objects in container
- -
destroy(self)
Recursively called on objects in container
- -
draw(self)
Recursively called on visible objects in container
- -
finalize(self)
Recursively called on visible objects in container
- -
get_focused_obj(self)
Finds a focused displayable object in the container.
- -
poke(self)
Recursively called on objects in container
- -
press(self, key)
Recursively called on objects in container
- -
-Data and other attributes defined here:
-
container = None
- -
-Methods inherited from Displayable:
-
__contains__(self, item)
Is item inside the boundaries?
-item can be an iterable like [y, x] or an object with x and y methods.
- -
__nonzero__(self)
Always True
- -
color(self, keylist=None, *keys)
Change the colors from now on.
- -
color_at(self, y, x, wid, keylist=None, *keys)
Change the colors at the specified position
- -
color_reset(self)
Change the colors to the default colors
- -
contains_point(self, y, x)
Test if the point lies within the boundaries of this object
- -
resize(self, y, x, hei=None, wid=None)
Resize the widget
- -
-Data and other attributes inherited from Displayable:
-
colorscheme = None
- -
focused = False
- -
visible = True
- -
win = None
- -
-Data and other attributes inherited from ranger.shared.EnvironmentAware:
-
env = None
- -
-Data and other attributes inherited from ranger.shared.FileManagerAware:
-
fm = None
- -
-Data descriptors inherited from ranger.shared.Awareness:
-
__dict__
-
dictionary for instance variables (if defined)
-
-
__weakref__
-
list of weak references to the object (if defined)
-
-
-Data and other attributes inherited from ranger.shared.settings.SettingsAware:
-
settings = <ranger.ext.openstruct.OpenStruct object at 0x154e450>
- -

- - - - - -
 
-class OutOfBoundsException(builtins.Exception)
    
Method resolution order:
-
OutOfBoundsException
-
builtins.Exception
-
builtins.BaseException
-
builtins.object
-
-
-Data descriptors defined here:
-
__weakref__
-
list of weak references to the object (if defined)
-
-
-Methods inherited from builtins.Exception:
-
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
- -
-Data and other attributes inherited from builtins.Exception:
-
__new__ = <built-in method __new__ of type object at 0x7f327d94a120>
T.__new__(S, ...) -> a new object with type S, a subtype of T
- -
-Methods inherited from builtins.BaseException:
-
__delattr__(...)
x.__delattr__('name') <==> del x.name
- -
__getattribute__(...)
x.__getattribute__('name') <==> x.name
- -
__reduce__(...)
- -
__repr__(...)
x.__repr__() <==> repr(x)
- -
__setattr__(...)
x.__setattr__('name', value) <==> x.name = value
- -
__setstate__(...)
- -
__str__(...)
x.__str__() <==> str(x)
- -
with_traceback(...)
Exception.with_traceback(tb) --
-set self.__traceback__ to tb and return self.
- -
-Data descriptors inherited from builtins.BaseException:
-
__cause__
-
exception cause
-
-
__context__
-
exception context
-
-
__dict__
-
-
__traceback__
-
-
args
-
-

- - - - - -
 
-Functions
       
combine(seq, tup)
Add seq and tup. Ensures that the result is a tuple.
-
- \ No newline at end of file diff --git a/doc/ranger.gui.html b/doc/ranger.gui.html deleted file mode 100644 index 58ba2974..00000000 --- a/doc/ranger.gui.html +++ /dev/null @@ -1,28 +0,0 @@ - -Python: package ranger.gui - - - - - -
 
- 
ranger.gui
index
/home/hut/work/ranger/ranger/gui/__init__.py
-

-

- - - - - -
 
-Package Contents
       
color
-colorscheme
-
defaultui
-displayable
-
mouse_event
-ui
-
widgets (package)
-
- \ No newline at end of file diff --git a/doc/ranger.gui.mouse_event.html b/doc/ranger.gui.mouse_event.html deleted file mode 100644 index 80c114e3..00000000 --- a/doc/ranger.gui.mouse_event.html +++ /dev/null @@ -1,69 +0,0 @@ - -Python: module ranger.gui.mouse_event - - - - - -
 
- 
ranger.gui.mouse_event
index
/home/hut/work/ranger/ranger/gui/mouse_event.py
-

-

- - - - - -
 
-Modules
       
curses
-

- - - - - -
 
-Classes
       
-
builtins.object -
-
-
MouseEvent -
-
-
-

- - - - - -
 
-class MouseEvent(builtins.object)
    Methods defined here:
-
__init__(self, getmouse)
Creates a MouseEvent object from the result of win.getmouse()
- -
alt(self)
- -
ctrl(self)
- -
key_invalid(self)
- -
pressed(self, n)
Returns whether the mouse key n is pressed
- -
shift(self)
- -
-Data descriptors defined here:
-
__dict__
-
dictionary for instance variables (if defined)
-
-
__weakref__
-
list of weak references to the object (if defined)
-
-
-Data and other attributes defined here:
-
PRESSED = [0, 2, 128, 8192, 524288]
- -

- \ No newline at end of file diff --git a/doc/ranger.gui.ui.html b/doc/ranger.gui.ui.html deleted file mode 100644 index 003a4ffd..00000000 --- a/doc/ranger.gui.ui.html +++ /dev/null @@ -1,157 +0,0 @@ - -Python: module ranger.gui.ui - - - - - -
 
- 
ranger.gui.ui
index
/home/hut/work/ranger/ranger/gui/ui.py
-

-

- - - - - -
 
-Modules
       
curses
-

- - - - - -
 
-Classes
       
-
ranger.gui.displayable.DisplayableContainer(ranger.gui.displayable.Displayable) -
-
-
UI -
-
-
-

- - - - - -
 
-class UI(ranger.gui.displayable.DisplayableContainer)
    
Method resolution order:
-
UI
-
ranger.gui.displayable.DisplayableContainer
-
ranger.gui.displayable.Displayable
-
ranger.shared.EnvironmentAware
-
ranger.shared.FileManagerAware
-
ranger.shared.Awareness
-
ranger.shared.settings.SettingsAware
-
builtins.object
-
-
-Methods defined here:
-
__init__(self, commandlist=None, env=None, fm=None)
- -
destroy(self)
Destroy all widgets and turn off curses
- -
draw(self)
Erase the window, then draw all objects in the container
- -
finalize(self)
Finalize every object in container and refresh the window
- -
get_next_key(self)
Waits for key input and returns the pressed key
- -
handle_key(self, key)
Handles key input
- -
handle_mouse(self)
Handles mouse input
- -
initialize(self)
initialize curses, then call setup (at the first time) and resize.
- -
redraw(self)
Redraw all widgets
- -
redraw_window(self)
Redraw the window. This only calls self.win.redrawwin().
- -
set_load_mode(self, boolean)
- -
setup(self)
Called after an initialize() call.
-Override this!
- -
suspend(self)
Turn off curses
- -
update_size(self)
Update self.env.termsize.
-Extend this method to resize all widgets!
- -
-Data and other attributes defined here:
-
is_set_up = False
- -
load_mode = False
- -
mousemask = 268435455
- -
-Methods inherited from ranger.gui.displayable.DisplayableContainer:
-
add_obj(self, *objs)
- -
click(self, event)
Recursively called on objects in container
- -
get_focused_obj(self)
Finds a focused displayable object in the container.
- -
poke(self)
Recursively called on objects in container
- -
press(self, key)
Recursively called on objects in container
- -
-Data and other attributes inherited from ranger.gui.displayable.DisplayableContainer:
-
container = None
- -
-Methods inherited from ranger.gui.displayable.Displayable:
-
__contains__(self, item)
Is item inside the boundaries?
-item can be an iterable like [y, x] or an object with x and y methods.
- -
__nonzero__(self)
Always True
- -
color(self, keylist=None, *keys)
Change the colors from now on.
- -
color_at(self, y, x, wid, keylist=None, *keys)
Change the colors at the specified position
- -
color_reset(self)
Change the colors to the default colors
- -
contains_point(self, y, x)
Test if the point lies within the boundaries of this object
- -
resize(self, y, x, hei=None, wid=None)
Resize the widget
- -
-Data and other attributes inherited from ranger.gui.displayable.Displayable:
-
colorscheme = None
- -
focused = False
- -
visible = True
- -
win = None
- -
-Data and other attributes inherited from ranger.shared.EnvironmentAware:
-
env = None
- -
-Data and other attributes inherited from ranger.shared.FileManagerAware:
-
fm = None
- -
-Data descriptors inherited from ranger.shared.Awareness:
-
__dict__
-
dictionary for instance variables (if defined)
-
-
__weakref__
-
list of weak references to the object (if defined)
-
-
-Data and other attributes inherited from ranger.shared.settings.SettingsAware:
-
settings = <ranger.ext.openstruct.OpenStruct object at 0x154e450>
- -

- \ No newline at end of file diff --git a/doc/ranger.gui.widgets.console.html b/doc/ranger.gui.widgets.console.html deleted file mode 100644 index a14b7212..00000000 --- a/doc/ranger.gui.widgets.console.html +++ /dev/null @@ -1,908 +0,0 @@ - -Python: module ranger.gui.widgets.console - - - - - -
 
- 
ranger.gui.widgets.console
index
/home/hut/work/ranger/ranger/gui/widgets/console.py
-

The Console widget implements a vim-like console for entering
-commands, searching and executing files.

-

- - - - - -
 
-Modules
       
ranger.commands
-
curses
-

- - - - - -
 
-Classes
       
-
ranger.gui.widgets.Widget(ranger.gui.displayable.Displayable) -
-
-
Console -
-
-
CommandConsole -
-
-
QuickCommandConsole -
-
-
OpenConsole -
QuickOpenConsole -
SearchConsole -
-
-
-
-
-

- - - - - -
 
-class CommandConsole(Console)
    
Method resolution order:
-
CommandConsole
-
Console
-
ranger.gui.widgets.Widget
-
ranger.gui.displayable.Displayable
-
ranger.shared.EnvironmentAware
-
ranger.shared.FileManagerAware
-
ranger.shared.Awareness
-
ranger.shared.settings.SettingsAware
-
builtins.object
-
-
-Methods defined here:
-
execute(self)
- -
tab(self, n=1)
- -
-Data and other attributes defined here:
-
prompt = ':'
- -
-Methods inherited from Console:
-
__init__(self, win)
- -
add_to_history(self)
- -
clear(self)
- -
close(self)
- -
delete(self, mod)
- -
delete_rest(self, direction)
- -
delete_word(self)
- -
draw(self)
- -
finalize(self)
- -
history_move(self, n)
- -
init(self)
override this. Called directly after class change
- -
move(self, relative=0, absolute=None)
- -
on_line_change(self)
- -
open(self, mode, string='')
- -
paste(self)
- -
press(self, key)
- -
type_key(self, key)
- -
-Data and other attributes inherited from Console:
-
commandlist = None
- -
copy = ''
- -
histories = None
- -
history = None
- -
last_cursor_mode = 1
- -
mode = None
- -
mode_classes = {'!': <class 'ranger.gui.widgets.console.OpenConsole'>, '/': <class 'ranger.gui.widgets.console.SearchConsole'>, ':': <class 'ranger.gui.widgets.console.CommandConsole'>, '>': <class 'ranger.gui.widgets.console.QuickCommandConsole'>, '?': <class 'ranger.gui.widgets.console.SearchConsole'>, '@': <class 'ranger.gui.widgets.console.QuickOpenConsole'>}
- -
original_line = None
- -
override = None
- -
tab_deque = None
- -
visible = False
- -
-Methods inherited from ranger.gui.displayable.Displayable:
-
__contains__(self, item)
Is item inside the boundaries?
-item can be an iterable like [y, x] or an object with x and y methods.
- -
__nonzero__(self)
Always True
- -
click(self, event)
Called when a mouse key is pressed and self.focused is True.
-Override this!
- -
color(self, keylist=None, *keys)
Change the colors from now on.
- -
color_at(self, y, x, wid, keylist=None, *keys)
Change the colors at the specified position
- -
color_reset(self)
Change the colors to the default colors
- -
contains_point(self, y, x)
Test if the point lies within the boundaries of this object
- -
destroy(self)
Called when the object is destroyed.
-Override this!
- -
poke(self)
Called before drawing, even if invisible
- -
resize(self, y, x, hei=None, wid=None)
Resize the widget
- -
-Data and other attributes inherited from ranger.gui.displayable.Displayable:
-
colorscheme = None
- -
focused = False
- -
win = None
- -
-Data and other attributes inherited from ranger.shared.EnvironmentAware:
-
env = None
- -
-Data and other attributes inherited from ranger.shared.FileManagerAware:
-
fm = None
- -
-Data descriptors inherited from ranger.shared.Awareness:
-
__dict__
-
dictionary for instance variables (if defined)
-
-
__weakref__
-
list of weak references to the object (if defined)
-
-
-Data and other attributes inherited from ranger.shared.settings.SettingsAware:
-
settings = <ranger.ext.openstruct.OpenStruct object at 0x154e450>
- -

- - - - - -
 
-class Console(ranger.gui.widgets.Widget)
    
Method resolution order:
-
Console
-
ranger.gui.widgets.Widget
-
ranger.gui.displayable.Displayable
-
ranger.shared.EnvironmentAware
-
ranger.shared.FileManagerAware
-
ranger.shared.Awareness
-
ranger.shared.settings.SettingsAware
-
builtins.object
-
-
-Methods defined here:
-
__init__(self, win)
- -
add_to_history(self)
- -
clear(self)
- -
close(self)
- -
delete(self, mod)
- -
delete_rest(self, direction)
- -
delete_word(self)
- -
draw(self)
- -
execute(self)
- -
finalize(self)
- -
history_move(self, n)
- -
init(self)
override this. Called directly after class change
- -
move(self, relative=0, absolute=None)
- -
on_line_change(self)
- -
open(self, mode, string='')
- -
paste(self)
- -
press(self, key)
- -
tab(self)
- -
type_key(self, key)
- -
-Data and other attributes defined here:
-
commandlist = None
- -
copy = ''
- -
histories = None
- -
history = None
- -
last_cursor_mode = 1
- -
mode = None
- -
mode_classes = {'!': <class 'ranger.gui.widgets.console.OpenConsole'>, '/': <class 'ranger.gui.widgets.console.SearchConsole'>, ':': <class 'ranger.gui.widgets.console.CommandConsole'>, '>': <class 'ranger.gui.widgets.console.QuickCommandConsole'>, '?': <class 'ranger.gui.widgets.console.SearchConsole'>, '@': <class 'ranger.gui.widgets.console.QuickOpenConsole'>}
- -
original_line = None
- -
override = None
- -
prompt = ':'
- -
tab_deque = None
- -
visible = False
- -
-Methods inherited from ranger.gui.displayable.Displayable:
-
__contains__(self, item)
Is item inside the boundaries?
-item can be an iterable like [y, x] or an object with x and y methods.
- -
__nonzero__(self)
Always True
- -
click(self, event)
Called when a mouse key is pressed and self.focused is True.
-Override this!
- -
color(self, keylist=None, *keys)
Change the colors from now on.
- -
color_at(self, y, x, wid, keylist=None, *keys)
Change the colors at the specified position
- -
color_reset(self)
Change the colors to the default colors
- -
contains_point(self, y, x)
Test if the point lies within the boundaries of this object
- -
destroy(self)
Called when the object is destroyed.
-Override this!
- -
poke(self)
Called before drawing, even if invisible
- -
resize(self, y, x, hei=None, wid=None)
Resize the widget
- -
-Data and other attributes inherited from ranger.gui.displayable.Displayable:
-
colorscheme = None
- -
focused = False
- -
win = None
- -
-Data and other attributes inherited from ranger.shared.EnvironmentAware:
-
env = None
- -
-Data and other attributes inherited from ranger.shared.FileManagerAware:
-
fm = None
- -
-Data descriptors inherited from ranger.shared.Awareness:
-
__dict__
-
dictionary for instance variables (if defined)
-
-
__weakref__
-
list of weak references to the object (if defined)
-
-
-Data and other attributes inherited from ranger.shared.settings.SettingsAware:
-
settings = <ranger.ext.openstruct.OpenStruct object at 0x154e450>
- -

- - - - - -
 
-class OpenConsole(Console)
    
Method resolution order:
-
OpenConsole
-
Console
-
ranger.gui.widgets.Widget
-
ranger.gui.displayable.Displayable
-
ranger.shared.EnvironmentAware
-
ranger.shared.FileManagerAware
-
ranger.shared.Awareness
-
ranger.shared.settings.SettingsAware
-
builtins.object
-
-
-Data and other attributes defined here:
-
prompt = '!'
- -
-Methods inherited from Console:
-
__init__(self, win)
- -
add_to_history(self)
- -
clear(self)
- -
close(self)
- -
delete(self, mod)
- -
delete_rest(self, direction)
- -
delete_word(self)
- -
draw(self)
- -
execute(self)
- -
finalize(self)
- -
history_move(self, n)
- -
init(self)
override this. Called directly after class change
- -
move(self, relative=0, absolute=None)
- -
on_line_change(self)
- -
open(self, mode, string='')
- -
paste(self)
- -
press(self, key)
- -
tab(self)
- -
type_key(self, key)
- -
-Data and other attributes inherited from Console:
-
commandlist = None
- -
copy = ''
- -
histories = None
- -
history = None
- -
last_cursor_mode = 1
- -
mode = None
- -
mode_classes = {'!': <class 'ranger.gui.widgets.console.OpenConsole'>, '/': <class 'ranger.gui.widgets.console.SearchConsole'>, ':': <class 'ranger.gui.widgets.console.CommandConsole'>, '>': <class 'ranger.gui.widgets.console.QuickCommandConsole'>, '?': <class 'ranger.gui.widgets.console.SearchConsole'>, '@': <class 'ranger.gui.widgets.console.QuickOpenConsole'>}
- -
original_line = None
- -
override = None
- -
tab_deque = None
- -
visible = False
- -
-Methods inherited from ranger.gui.displayable.Displayable:
-
__contains__(self, item)
Is item inside the boundaries?
-item can be an iterable like [y, x] or an object with x and y methods.
- -
__nonzero__(self)
Always True
- -
click(self, event)
Called when a mouse key is pressed and self.focused is True.
-Override this!
- -
color(self, keylist=None, *keys)
Change the colors from now on.
- -
color_at(self, y, x, wid, keylist=None, *keys)
Change the colors at the specified position
- -
color_reset(self)
Change the colors to the default colors
- -
contains_point(self, y, x)
Test if the point lies within the boundaries of this object
- -
destroy(self)
Called when the object is destroyed.
-Override this!
- -
poke(self)
Called before drawing, even if invisible
- -
resize(self, y, x, hei=None, wid=None)
Resize the widget
- -
-Data and other attributes inherited from ranger.gui.displayable.Displayable:
-
colorscheme = None
- -
focused = False
- -
win = None
- -
-Data and other attributes inherited from ranger.shared.EnvironmentAware:
-
env = None
- -
-Data and other attributes inherited from ranger.shared.FileManagerAware:
-
fm = None
- -
-Data descriptors inherited from ranger.shared.Awareness:
-
__dict__
-
dictionary for instance variables (if defined)
-
-
__weakref__
-
list of weak references to the object (if defined)
-
-
-Data and other attributes inherited from ranger.shared.settings.SettingsAware:
-
settings = <ranger.ext.openstruct.OpenStruct object at 0x154e450>
- -

- - - - - -
 
-class QuickCommandConsole(CommandConsole)
    
Method resolution order:
-
QuickCommandConsole
-
CommandConsole
-
Console
-
ranger.gui.widgets.Widget
-
ranger.gui.displayable.Displayable
-
ranger.shared.EnvironmentAware
-
ranger.shared.FileManagerAware
-
ranger.shared.Awareness
-
ranger.shared.settings.SettingsAware
-
builtins.object
-
-
-Methods defined here:
-
on_line_change(self)
- -
-Data and other attributes defined here:
-
prompt = '>'
- -
-Methods inherited from CommandConsole:
-
execute(self)
- -
tab(self, n=1)
- -
-Methods inherited from Console:
-
__init__(self, win)
- -
add_to_history(self)
- -
clear(self)
- -
close(self)
- -
delete(self, mod)
- -
delete_rest(self, direction)
- -
delete_word(self)
- -
draw(self)
- -
finalize(self)
- -
history_move(self, n)
- -
init(self)
override this. Called directly after class change
- -
move(self, relative=0, absolute=None)
- -
open(self, mode, string='')
- -
paste(self)
- -
press(self, key)
- -
type_key(self, key)
- -
-Data and other attributes inherited from Console:
-
commandlist = None
- -
copy = ''
- -
histories = None
- -
history = None
- -
last_cursor_mode = 1
- -
mode = None
- -
mode_classes = {'!': <class 'ranger.gui.widgets.console.OpenConsole'>, '/': <class 'ranger.gui.widgets.console.SearchConsole'>, ':': <class 'ranger.gui.widgets.console.CommandConsole'>, '>': <class 'ranger.gui.widgets.console.QuickCommandConsole'>, '?': <class 'ranger.gui.widgets.console.SearchConsole'>, '@': <class 'ranger.gui.widgets.console.QuickOpenConsole'>}
- -
original_line = None
- -
override = None
- -
tab_deque = None
- -
visible = False
- -
-Methods inherited from ranger.gui.displayable.Displayable:
-
__contains__(self, item)
Is item inside the boundaries?
-item can be an iterable like [y, x] or an object with x and y methods.
- -
__nonzero__(self)
Always True
- -
click(self, event)
Called when a mouse key is pressed and self.focused is True.
-Override this!
- -
color(self, keylist=None, *keys)
Change the colors from now on.
- -
color_at(self, y, x, wid, keylist=None, *keys)
Change the colors at the specified position
- -
color_reset(self)
Change the colors to the default colors
- -
contains_point(self, y, x)
Test if the point lies within the boundaries of this object
- -
destroy(self)
Called when the object is destroyed.
-Override this!
- -
poke(self)
Called before drawing, even if invisible
- -
resize(self, y, x, hei=None, wid=None)
Resize the widget
- -
-Data and other attributes inherited from ranger.gui.displayable.Displayable:
-
colorscheme = None
- -
focused = False
- -
win = None
- -
-Data and other attributes inherited from ranger.shared.EnvironmentAware:
-
env = None
- -
-Data and other attributes inherited from ranger.shared.FileManagerAware:
-
fm = None
- -
-Data descriptors inherited from ranger.shared.Awareness:
-
__dict__
-
dictionary for instance variables (if defined)
-
-
__weakref__
-
list of weak references to the object (if defined)
-
-
-Data and other attributes inherited from ranger.shared.settings.SettingsAware:
-
settings = <ranger.ext.openstruct.OpenStruct object at 0x154e450>
- -

- - - - - - - -
 
-class QuickOpenConsole(Console)
   The QuickOpenConsole allows you to open files with
-pre-defined programs and modes very quickly. By adding flags
-to the command, you can specify precisely how the program is run,
-ie. the d-flag will run it detached from the filemanager.
 
 
Method resolution order:
-
QuickOpenConsole
-
Console
-
ranger.gui.widgets.Widget
-
ranger.gui.displayable.Displayable
-
ranger.shared.EnvironmentAware
-
ranger.shared.FileManagerAware
-
ranger.shared.Awareness
-
ranger.shared.settings.SettingsAware
-
builtins.object
-
-
-Methods defined here:
-
execute(self)
- -
init(self)
- -
-Data and other attributes defined here:
-
prompt = 'open with: '
- -
-Methods inherited from Console:
-
__init__(self, win)
- -
add_to_history(self)
- -
clear(self)
- -
close(self)
- -
delete(self, mod)
- -
delete_rest(self, direction)
- -
delete_word(self)
- -
draw(self)
- -
finalize(self)
- -
history_move(self, n)
- -
move(self, relative=0, absolute=None)
- -
on_line_change(self)
- -
open(self, mode, string='')
- -
paste(self)
- -
press(self, key)
- -
tab(self)
- -
type_key(self, key)
- -
-Data and other attributes inherited from Console:
-
commandlist = None
- -
copy = ''
- -
histories = None
- -
history = None
- -
last_cursor_mode = 1
- -
mode = None
- -
mode_classes = {'!': <class 'ranger.gui.widgets.console.OpenConsole'>, '/': <class 'ranger.gui.widgets.console.SearchConsole'>, ':': <class 'ranger.gui.widgets.console.CommandConsole'>, '>': <class 'ranger.gui.widgets.console.QuickCommandConsole'>, '?': <class 'ranger.gui.widgets.console.SearchConsole'>, '@': <class 'ranger.gui.widgets.console.QuickOpenConsole'>}
- -
original_line = None
- -
override = None
- -
tab_deque = None
- -
visible = False
- -
-Methods inherited from ranger.gui.displayable.Displayable:
-
__contains__(self, item)
Is item inside the boundaries?
-item can be an iterable like [y, x] or an object with x and y methods.
- -
__nonzero__(self)
Always True
- -
click(self, event)
Called when a mouse key is pressed and self.focused is True.
-Override this!
- -
color(self, keylist=None, *keys)
Change the colors from now on.
- -
color_at(self, y, x, wid, keylist=None, *keys)
Change the colors at the specified position
- -
color_reset(self)
Change the colors to the default colors
- -
contains_point(self, y, x)
Test if the point lies within the boundaries of this object
- -
destroy(self)
Called when the object is destroyed.
-Override this!
- -
poke(self)
Called before drawing, even if invisible
- -
resize(self, y, x, hei=None, wid=None)
Resize the widget
- -
-Data and other attributes inherited from ranger.gui.displayable.Displayable:
-
colorscheme = None
- -
focused = False
- -
win = None
- -
-Data and other attributes inherited from ranger.shared.EnvironmentAware:
-
env = None
- -
-Data and other attributes inherited from ranger.shared.FileManagerAware:
-
fm = None
- -
-Data descriptors inherited from ranger.shared.Awareness:
-
__dict__
-
dictionary for instance variables (if defined)
-
-
__weakref__
-
list of weak references to the object (if defined)
-
-
-Data and other attributes inherited from ranger.shared.settings.SettingsAware:
-
settings = <ranger.ext.openstruct.OpenStruct object at 0x154e450>
- -

- - - - - -
 
-class SearchConsole(Console)
    
Method resolution order:
-
SearchConsole
-
Console
-
ranger.gui.widgets.Widget
-
ranger.gui.displayable.Displayable
-
ranger.shared.EnvironmentAware
-
ranger.shared.FileManagerAware
-
ranger.shared.Awareness
-
ranger.shared.settings.SettingsAware
-
builtins.object
-
-
-Methods defined here:
-
execute(self)
- -
init(self)
- -
-Data and other attributes defined here:
-
prompt = '/'
- -
-Methods inherited from Console:
-
__init__(self, win)
- -
add_to_history(self)
- -
clear(self)
- -
close(self)
- -
delete(self, mod)
- -
delete_rest(self, direction)
- -
delete_word(self)
- -
draw(self)
- -
finalize(self)
- -
history_move(self, n)
- -
move(self, relative=0, absolute=None)
- -
on_line_change(self)
- -
open(self, mode, string='')
- -
paste(self)
- -
press(self, key)
- -
tab(self)
- -
type_key(self, key)
- -
-Data and other attributes inherited from Console:
-
commandlist = None
- -
copy = ''
- -
histories = None
- -
history = None
- -
last_cursor_mode = 1
- -
mode = None
- -
mode_classes = {'!': <class 'ranger.gui.widgets.console.OpenConsole'>, '/': <class 'ranger.gui.widgets.console.SearchConsole'>, ':': <class 'ranger.gui.widgets.console.CommandConsole'>, '>': <class 'ranger.gui.widgets.console.QuickCommandConsole'>, '?': <class 'ranger.gui.widgets.console.SearchConsole'>, '@': <class 'ranger.gui.widgets.console.QuickOpenConsole'>}
- -
original_line = None
- -
override = None
- -
tab_deque = None
- -
visible = False
- -
-Methods inherited from ranger.gui.displayable.Displayable:
-
__contains__(self, item)
Is item inside the boundaries?
-item can be an iterable like [y, x] or an object with x and y methods.
- -
__nonzero__(self)
Always True
- -
click(self, event)
Called when a mouse key is pressed and self.focused is True.
-Override this!
- -
color(self, keylist=None, *keys)
Change the colors from now on.
- -
color_at(self, y, x, wid, keylist=None, *keys)
Change the colors at the specified position
- -
color_reset(self)
Change the colors to the default colors
- -
contains_point(self, y, x)
Test if the point lies within the boundaries of this object
- -
destroy(self)
Called when the object is destroyed.
-Override this!
- -
poke(self)
Called before drawing, even if invisible
- -
resize(self, y, x, hei=None, wid=None)
Resize the widget
- -
-Data and other attributes inherited from ranger.gui.displayable.Displayable:
-
colorscheme = None
- -
focused = False
- -
win = None
- -
-Data and other attributes inherited from ranger.shared.EnvironmentAware:
-
env = None
- -
-Data and other attributes inherited from ranger.shared.FileManagerAware:
-
fm = None
- -
-Data descriptors inherited from ranger.shared.Awareness:
-
__dict__
-
dictionary for instance variables (if defined)
-
-
__weakref__
-
list of weak references to the object (if defined)
-
-
-Data and other attributes inherited from ranger.shared.settings.SettingsAware:
-
settings = <ranger.ext.openstruct.OpenStruct object at 0x154e450>
- -

- - - - - -
 
-Data
       DEFAULT_HISTORY = 0
-QUICKOPEN_HISTORY = 2
-SEARCH_HISTORY = 1
- \ No newline at end of file diff --git a/doc/ranger.gui.widgets.filelist.html b/doc/ranger.gui.widgets.filelist.html deleted file mode 100644 index bfc9ae2e..00000000 --- a/doc/ranger.gui.widgets.filelist.html +++ /dev/null @@ -1,135 +0,0 @@ - -Python: module ranger.gui.widgets.filelist - - - - - -
 
- 
ranger.gui.widgets.filelist
index
/home/hut/work/ranger/ranger/gui/widgets/filelist.py
-

The FileList widget displays the contents of a directory or file.

-

- - - - - -
 
-Classes
       
-
ranger.gui.widgets.Widget(ranger.gui.displayable.Displayable) -
-
-
FileList -
-
-
-

- - - - - -
 
-class FileList(ranger.gui.widgets.Widget)
    
Method resolution order:
-
FileList
-
ranger.gui.widgets.Widget
-
ranger.gui.displayable.Displayable
-
ranger.shared.EnvironmentAware
-
ranger.shared.FileManagerAware
-
ranger.shared.Awareness
-
ranger.shared.settings.SettingsAware
-
builtins.object
-
-
-Methods defined here:
-
__init__(self, win, level)
- -
click(self, event)
Handle a MouseEvent
- -
draw(self)
Call either draw_file() or draw_directory()
- -
draw_directory(self)
Draw the contents of a directory
- -
draw_file(self)
Draw a preview of the file, if the settings allow it
- -
finalize(self)
- -
get_scroll_begin(self)
Determines scroll_begin (the position of the first displayed file)
- -
has_preview(self)
- -
poke(self)
- -
scroll(self, relative)
scroll by n lines
- -
set_scroll_begin(self)
Updates the scroll_begin value
- -
-Data and other attributes defined here:
-
display_infostring = False
- -
main_display = False
- -
postpone_drawing = False
- -
scroll_begin = 0
- -
target = None
- -
-Methods inherited from ranger.gui.displayable.Displayable:
-
__contains__(self, item)
Is item inside the boundaries?
-item can be an iterable like [y, x] or an object with x and y methods.
- -
__nonzero__(self)
Always True
- -
color(self, keylist=None, *keys)
Change the colors from now on.
- -
color_at(self, y, x, wid, keylist=None, *keys)
Change the colors at the specified position
- -
color_reset(self)
Change the colors to the default colors
- -
contains_point(self, y, x)
Test if the point lies within the boundaries of this object
- -
destroy(self)
Called when the object is destroyed.
-Override this!
- -
press(self, key)
Called when a key is pressed and self.focused is True.
-Override this!
- -
resize(self, y, x, hei=None, wid=None)
Resize the widget
- -
-Data and other attributes inherited from ranger.gui.displayable.Displayable:
-
colorscheme = None
- -
focused = False
- -
visible = True
- -
win = None
- -
-Data and other attributes inherited from ranger.shared.EnvironmentAware:
-
env = None
- -
-Data and other attributes inherited from ranger.shared.FileManagerAware:
-
fm = None
- -
-Data descriptors inherited from ranger.shared.Awareness:
-
__dict__
-
dictionary for instance variables (if defined)
-
-
__weakref__
-
list of weak references to the object (if defined)
-
-
-Data and other attributes inherited from ranger.shared.settings.SettingsAware:
-
settings = <ranger.ext.openstruct.OpenStruct object at 0x154e450>
- -

- \ No newline at end of file diff --git a/doc/ranger.gui.widgets.filelistcontainer.html b/doc/ranger.gui.widgets.filelistcontainer.html deleted file mode 100644 index 1d248bba..00000000 --- a/doc/ranger.gui.widgets.filelistcontainer.html +++ /dev/null @@ -1,136 +0,0 @@ - -Python: module ranger.gui.widgets.filelistcontainer - - - - - -
 
- 
ranger.gui.widgets.filelistcontainer
index
/home/hut/work/ranger/ranger/gui/widgets/filelistcontainer.py
-

The FileListContainer manages a set of FileLists.

-

- - - - - -
 
-Classes
       
-
ranger.gui.displayable.DisplayableContainer(ranger.gui.displayable.Displayable) -
-
-
FileListContainer(ranger.gui.widgets.Widget, ranger.gui.displayable.DisplayableContainer) -
-
-
ranger.gui.widgets.Widget(ranger.gui.displayable.Displayable) -
-
-
FileListContainer(ranger.gui.widgets.Widget, ranger.gui.displayable.DisplayableContainer) -
-
-
-

- - - - - -
 
-class FileListContainer(ranger.gui.widgets.Widget, ranger.gui.displayable.DisplayableContainer)
    
Method resolution order:
-
FileListContainer
-
ranger.gui.widgets.Widget
-
ranger.gui.displayable.DisplayableContainer
-
ranger.gui.displayable.Displayable
-
ranger.shared.EnvironmentAware
-
ranger.shared.FileManagerAware
-
ranger.shared.Awareness
-
ranger.shared.settings.SettingsAware
-
builtins.object
-
-
-Methods defined here:
-
__init__(self, win, ratios, preview=True)
- -
poke(self)
- -
resize(self, y, x, hei, wid)
Resize all the filelists according to the given ratio
- -
-Data and other attributes defined here:
-
preview = True
- -
preview_available = True
- -
ratios = None
- -
stretch_ratios = None
- -
-Methods inherited from ranger.gui.displayable.DisplayableContainer:
-
add_obj(self, *objs)
- -
click(self, event)
Recursively called on objects in container
- -
destroy(self)
Recursively called on objects in container
- -
draw(self)
Recursively called on visible objects in container
- -
finalize(self)
Recursively called on visible objects in container
- -
get_focused_obj(self)
Finds a focused displayable object in the container.
- -
press(self, key)
Recursively called on objects in container
- -
-Data and other attributes inherited from ranger.gui.displayable.DisplayableContainer:
-
container = None
- -
-Methods inherited from ranger.gui.displayable.Displayable:
-
__contains__(self, item)
Is item inside the boundaries?
-item can be an iterable like [y, x] or an object with x and y methods.
- -
__nonzero__(self)
Always True
- -
color(self, keylist=None, *keys)
Change the colors from now on.
- -
color_at(self, y, x, wid, keylist=None, *keys)
Change the colors at the specified position
- -
color_reset(self)
Change the colors to the default colors
- -
contains_point(self, y, x)
Test if the point lies within the boundaries of this object
- -
-Data and other attributes inherited from ranger.gui.displayable.Displayable:
-
colorscheme = None
- -
focused = False
- -
visible = True
- -
win = None
- -
-Data and other attributes inherited from ranger.shared.EnvironmentAware:
-
env = None
- -
-Data and other attributes inherited from ranger.shared.FileManagerAware:
-
fm = None
- -
-Data descriptors inherited from ranger.shared.Awareness:
-
__dict__
-
dictionary for instance variables (if defined)
-
-
__weakref__
-
list of weak references to the object (if defined)
-
-
-Data and other attributes inherited from ranger.shared.settings.SettingsAware:
-
settings = <ranger.ext.openstruct.OpenStruct object at 0x154e450>
- -

- \ No newline at end of file diff --git a/doc/ranger.gui.widgets.html b/doc/ranger.gui.widgets.html deleted file mode 100644 index 7c93bf98..00000000 --- a/doc/ranger.gui.widgets.html +++ /dev/null @@ -1,128 +0,0 @@ - -Python: package ranger.gui.widgets - - - - - -
 
- 
ranger.gui.widgets
index
/home/hut/work/ranger/ranger/gui/widgets/__init__.py
-

-

- - - - - -
 
-Package Contents
       
console
-filelist
-
filelistcontainer
-notify
-
process_manager
-statusbar
-
titlebar
-

- - - - - -
 
-Classes
       
-
ranger.gui.displayable.Displayable(ranger.shared.EnvironmentAware, ranger.shared.FileManagerAware, ranger.shared.settings.SettingsAware) -
-
-
Widget -
-
-
-

- - - - - - - -
 
-class Widget(ranger.gui.displayable.Displayable)
   The Widget class defines no methods and only exists for
-classification of widgets.
 
 
Method resolution order:
-
Widget
-
ranger.gui.displayable.Displayable
-
ranger.shared.EnvironmentAware
-
ranger.shared.FileManagerAware
-
ranger.shared.Awareness
-
ranger.shared.settings.SettingsAware
-
builtins.object
-
-
-Methods inherited from ranger.gui.displayable.Displayable:
-
__contains__(self, item)
Is item inside the boundaries?
-item can be an iterable like [y, x] or an object with x and y methods.
- -
__init__(self, win, env=None, fm=None, settings=None)
- -
__nonzero__(self)
Always True
- -
click(self, event)
Called when a mouse key is pressed and self.focused is True.
-Override this!
- -
color(self, keylist=None, *keys)
Change the colors from now on.
- -
color_at(self, y, x, wid, keylist=None, *keys)
Change the colors at the specified position
- -
color_reset(self)
Change the colors to the default colors
- -
contains_point(self, y, x)
Test if the point lies within the boundaries of this object
- -
destroy(self)
Called when the object is destroyed.
-Override this!
- -
draw(self)
Draw displayable.  Called on every main iteration if the object
-is visible.  Override this!
- -
finalize(self)
Called after every displayable is done drawing.
-Override this!
- -
poke(self)
Called before drawing, even if invisible
- -
press(self, key)
Called when a key is pressed and self.focused is True.
-Override this!
- -
resize(self, y, x, hei=None, wid=None)
Resize the widget
- -
-Data and other attributes inherited from ranger.gui.displayable.Displayable:
-
colorscheme = None
- -
focused = False
- -
visible = True
- -
win = None
- -
-Data and other attributes inherited from ranger.shared.EnvironmentAware:
-
env = None
- -
-Data and other attributes inherited from ranger.shared.FileManagerAware:
-
fm = None
- -
-Data descriptors inherited from ranger.shared.Awareness:
-
__dict__
-
dictionary for instance variables (if defined)
-
-
__weakref__
-
list of weak references to the object (if defined)
-
-
-Data and other attributes inherited from ranger.shared.settings.SettingsAware:
-
settings = <ranger.ext.openstruct.OpenStruct object at 0x154e450>
- -

- \ No newline at end of file diff --git a/doc/ranger.gui.widgets.notify.html b/doc/ranger.gui.widgets.notify.html deleted file mode 100644 index cd74e50e..00000000 --- a/doc/ranger.gui.widgets.notify.html +++ /dev/null @@ -1,174 +0,0 @@ - -Python: module ranger.gui.widgets.notify - - - - - -
 
- 
ranger.gui.widgets.notify
index
/home/hut/work/ranger/ranger/gui/widgets/notify.py
-

Notify is a bar which displays messages.

-

- - - - - -
 
-Classes
       
-
builtins.object -
-
-
Message -
-
-
ranger.gui.widgets.Widget(ranger.gui.displayable.Displayable) -
-
-
Notify -
-
-
-

- - - - - -
 
-class Message(builtins.object)
    Methods defined here:
-
__init__(self, container, text, duration, bad)
- -
delete(self)
- -
set_duration(self, n=4)
- -
-Data descriptors defined here:
-
__dict__
-
dictionary for instance variables (if defined)
-
-
__weakref__
-
list of weak references to the object (if defined)
-
-
-Data and other attributes defined here:
-
alive = True
- -
bad = False
- -
container = None
- -
elapse = None
- -
text = None
- -

- - - - - -
 
-class Notify(ranger.gui.widgets.Widget)
    
Method resolution order:
-
Notify
-
ranger.gui.widgets.Widget
-
ranger.gui.displayable.Displayable
-
ranger.shared.EnvironmentAware
-
ranger.shared.FileManagerAware
-
ranger.shared.Awareness
-
ranger.shared.settings.SettingsAware
-
builtins.object
-
-
-Methods defined here:
-
__init__(self, win)
- -
display(self, text, duration=4, bad=False)
- -
draw(self)
- -
poke(self)
- -
-Data and other attributes defined here:
-
max_size = 5
- -
requested_height = 0
- -
textcontainer = None
- -
-Methods inherited from ranger.gui.displayable.Displayable:
-
__contains__(self, item)
Is item inside the boundaries?
-item can be an iterable like [y, x] or an object with x and y methods.
- -
__nonzero__(self)
Always True
- -
click(self, event)
Called when a mouse key is pressed and self.focused is True.
-Override this!
- -
color(self, keylist=None, *keys)
Change the colors from now on.
- -
color_at(self, y, x, wid, keylist=None, *keys)
Change the colors at the specified position
- -
color_reset(self)
Change the colors to the default colors
- -
contains_point(self, y, x)
Test if the point lies within the boundaries of this object
- -
destroy(self)
Called when the object is destroyed.
-Override this!
- -
finalize(self)
Called after every displayable is done drawing.
-Override this!
- -
press(self, key)
Called when a key is pressed and self.focused is True.
-Override this!
- -
resize(self, y, x, hei=None, wid=None)
Resize the widget
- -
-Data and other attributes inherited from ranger.gui.displayable.Displayable:
-
colorscheme = None
- -
focused = False
- -
visible = True
- -
win = None
- -
-Data and other attributes inherited from ranger.shared.EnvironmentAware:
-
env = None
- -
-Data and other attributes inherited from ranger.shared.FileManagerAware:
-
fm = None
- -
-Data descriptors inherited from ranger.shared.Awareness:
-
__dict__
-
dictionary for instance variables (if defined)
-
-
__weakref__
-
list of weak references to the object (if defined)
-
-
-Data and other attributes inherited from ranger.shared.settings.SettingsAware:
-
settings = <ranger.ext.openstruct.OpenStruct object at 0x154e450>
- -

- - - - - -
 
-Functions
       
time(...)
time() -> floating point number

-Return the current time in seconds since the Epoch.
-Fractions of a second may be present if the system clock provides them.
-
- \ No newline at end of file diff --git a/doc/ranger.gui.widgets.process_manager.html b/doc/ranger.gui.widgets.process_manager.html deleted file mode 100644 index 6b74b162..00000000 --- a/doc/ranger.gui.widgets.process_manager.html +++ /dev/null @@ -1,207 +0,0 @@ - -Python: module ranger.gui.widgets.process_manager - - - - - -
 
- 
ranger.gui.widgets.process_manager
index
/home/hut/work/ranger/ranger/gui/widgets/process_manager.py
-

The process manager allows you to modify what the loader is doing.

-

- - - - - -
 
-Modules
       
curses
-

- - - - - -
 
-Classes
       
-
builtins.object -
-
-
DummyLoadObject -
DummyLoader -
KeyWrapper -
-
-
ranger.ext.accumulator.Accumulator(builtins.object) -
-
-
ProcessManager(ranger.gui.widgets.Widget, ranger.ext.accumulator.Accumulator) -
-
-
ranger.gui.widgets.Widget(ranger.gui.displayable.Displayable) -
-
-
ProcessManager(ranger.gui.widgets.Widget, ranger.ext.accumulator.Accumulator) -
-
-
-

- - - - - -
 
-class DummyLoadObject(builtins.object)
    Methods defined here:
-
__init__(self, txt)
- -
-Data descriptors defined here:
-
__dict__
-
dictionary for instance variables (if defined)
-
-
__weakref__
-
list of weak references to the object (if defined)
-
-

- - - - - -
 
-class DummyLoader(builtins.object)
    Methods defined here:
-
__init__(self)
- -
-Data descriptors defined here:
-
__dict__
-
dictionary for instance variables (if defined)
-
-
__weakref__
-
list of weak references to the object (if defined)
-
-

- - - - - -
 
-class KeyWrapper(builtins.object)
    Static methods defined here:
-
move(relative=0, absolute=None)
- -
-Data descriptors defined here:
-
__dict__
-
dictionary for instance variables (if defined)
-
-
__weakref__
-
list of weak references to the object (if defined)
-
-

- - - - - -
 
-class ProcessManager(ranger.gui.widgets.Widget, ranger.ext.accumulator.Accumulator)
    
Method resolution order:
-
ProcessManager
-
ranger.gui.widgets.Widget
-
ranger.gui.displayable.Displayable
-
ranger.shared.EnvironmentAware
-
ranger.shared.FileManagerAware
-
ranger.shared.Awareness
-
ranger.shared.settings.SettingsAware
-
ranger.ext.accumulator.Accumulator
-
builtins.object
-
-
-Methods defined here:
-
__init__(self, win)
- -
draw(self)
- -
get_list(self)
- -
press(self, key)
- -
process_move(self, absolute, i=None)
- -
process_remove(self, i=None)
- -
-Methods inherited from ranger.gui.displayable.Displayable:
-
__contains__(self, item)
Is item inside the boundaries?
-item can be an iterable like [y, x] or an object with x and y methods.
- -
__nonzero__(self)
Always True
- -
click(self, event)
Called when a mouse key is pressed and self.focused is True.
-Override this!
- -
color(self, keylist=None, *keys)
Change the colors from now on.
- -
color_at(self, y, x, wid, keylist=None, *keys)
Change the colors at the specified position
- -
color_reset(self)
Change the colors to the default colors
- -
contains_point(self, y, x)
Test if the point lies within the boundaries of this object
- -
destroy(self)
Called when the object is destroyed.
-Override this!
- -
finalize(self)
Called after every displayable is done drawing.
-Override this!
- -
poke(self)
Called before drawing, even if invisible
- -
resize(self, y, x, hei=None, wid=None)
Resize the widget
- -
-Data and other attributes inherited from ranger.gui.displayable.Displayable:
-
colorscheme = None
- -
focused = False
- -
visible = True
- -
win = None
- -
-Data and other attributes inherited from ranger.shared.EnvironmentAware:
-
env = None
- -
-Data and other attributes inherited from ranger.shared.FileManagerAware:
-
fm = None
- -
-Data descriptors inherited from ranger.shared.Awareness:
-
__dict__
-
dictionary for instance variables (if defined)
-
-
__weakref__
-
list of weak references to the object (if defined)
-
-
-Data and other attributes inherited from ranger.shared.settings.SettingsAware:
-
settings = <ranger.ext.openstruct.OpenStruct object at 0x154e450>
- -
-Methods inherited from ranger.ext.accumulator.Accumulator:
-
correct_pointer(self)
- -
move(self, relative=0, absolute=None)
- -
move_to_obj(self, arg, attr=None)
- -
pointer_is_synced(self)
- -
sync_index(self, **kw)
- -

- \ No newline at end of file diff --git a/doc/ranger.gui.widgets.statusbar.html b/doc/ranger.gui.widgets.statusbar.html deleted file mode 100644 index 9144105d..00000000 --- a/doc/ranger.gui.widgets.statusbar.html +++ /dev/null @@ -1,164 +0,0 @@ - -Python: module ranger.gui.widgets.statusbar - - - - - -
 
- 
ranger.gui.widgets.statusbar
index
/home/hut/work/ranger/ranger/gui/widgets/statusbar.py
-

The StatusBar displays information about the currently selected file
-in the same form as the "ls -l" command on the left side, and
-some additional info about the current directory on the right side.

-

- - - - - -
 
-Classes
       
-
ranger.gui.widgets.Widget(ranger.gui.displayable.Displayable) -
-
-
StatusBar -
-
-
-

- - - - - - - -
 
-class StatusBar(ranger.gui.widgets.Widget)
   The StatusBar displays information about the currently selected file
-in the same form as the "ls -l" command on the left side, and
-some additional info about the current directory on the right side.
 
 
Method resolution order:
-
StatusBar
-
ranger.gui.widgets.Widget
-
ranger.gui.displayable.Displayable
-
ranger.shared.EnvironmentAware
-
ranger.shared.FileManagerAware
-
ranger.shared.Awareness
-
ranger.shared.settings.SettingsAware
-
builtins.object
-
-
-Methods defined here:
-
__init__(self, win, filelist=None)
- -
draw(self)
Draw the statusbar
- -
-Data and other attributes defined here:
-
groups = {}
- -
old_cf = None
- -
old_mtime = None
- -
old_wid = None
- -
override = None
- -
owners = {}
- -
result = None
- -
timeformat = '%Y-%m-%d %H:%M'
- -
-Methods inherited from ranger.gui.displayable.Displayable:
-
__contains__(self, item)
Is item inside the boundaries?
-item can be an iterable like [y, x] or an object with x and y methods.
- -
__nonzero__(self)
Always True
- -
click(self, event)
Called when a mouse key is pressed and self.focused is True.
-Override this!
- -
color(self, keylist=None, *keys)
Change the colors from now on.
- -
color_at(self, y, x, wid, keylist=None, *keys)
Change the colors at the specified position
- -
color_reset(self)
Change the colors to the default colors
- -
contains_point(self, y, x)
Test if the point lies within the boundaries of this object
- -
destroy(self)
Called when the object is destroyed.
-Override this!
- -
finalize(self)
Called after every displayable is done drawing.
-Override this!
- -
poke(self)
Called before drawing, even if invisible
- -
press(self, key)
Called when a key is pressed and self.focused is True.
-Override this!
- -
resize(self, y, x, hei=None, wid=None)
Resize the widget
- -
-Data and other attributes inherited from ranger.gui.displayable.Displayable:
-
colorscheme = None
- -
focused = False
- -
visible = True
- -
win = None
- -
-Data and other attributes inherited from ranger.shared.EnvironmentAware:
-
env = None
- -
-Data and other attributes inherited from ranger.shared.FileManagerAware:
-
fm = None
- -
-Data descriptors inherited from ranger.shared.Awareness:
-
__dict__
-
dictionary for instance variables (if defined)
-
-
__weakref__
-
list of weak references to the object (if defined)
-
-
-Data and other attributes inherited from ranger.shared.settings.SettingsAware:
-
settings = <ranger.ext.openstruct.OpenStruct object at 0x154e450>
- -

- - - - - -
 
-Functions
       
getgrgid(...)
getgrgid(id) -> tuple
-Return the group database entry for the given numeric group ID.  If
-id is not valid, raise KeyError.
-
getpwuid(...)
getpwuid(uid) -> (pw_name,pw_passwd,pw_uid,
-                  pw_gid,pw_gecos,pw_dir,pw_shell)
-Return the password database entry for the given numeric user ID.
-See pwd.__doc__ for more on password database entries.
-
getuid(...)
getuid() -> uid

-Return the current process's user id.
-
localtime(...)
localtime([seconds]) -> (tm_year,tm_mon,tm_mday,tm_hour,tm_min,
-                          tm_sec,tm_wday,tm_yday,tm_isdst)

-Convert seconds since the Epoch to a time tuple expressing local time.
-When 'seconds' is not passed in, convert the current time instead.
-
strftime(...)
strftime(format[, tuple]) -> string

-Convert a time tuple to a string according to a format specification.
-See the library reference manual for formatting codes. When the time tuple
-is not present, current time as returned by localtime() is used.
-
- \ No newline at end of file diff --git a/doc/ranger.gui.widgets.titlebar.html b/doc/ranger.gui.widgets.titlebar.html deleted file mode 100644 index c7052477..00000000 --- a/doc/ranger.gui.widgets.titlebar.html +++ /dev/null @@ -1,325 +0,0 @@ - -Python: module ranger.gui.widgets.titlebar - - - - - -
 
- 
ranger.gui.widgets.titlebar
index
/home/hut/work/ranger/ranger/gui/widgets/titlebar.py
-

The TitleBar widget displays the current path and some other useful
-information.

-

- - - - - -
 
-Classes
       
-
builtins.list(builtins.object) -
-
-
BarSide -
-
-
builtins.object -
-
-
Bar -
ColoredString -
-
-
ranger.gui.widgets.Widget(ranger.gui.displayable.Displayable) -
-
-
TitleBar -
-
-
-

- - - - - -
 
-class Bar(builtins.object)
    Methods defined here:
-
__init__(self)
- -
add(self, *a, **kw)
- -
addright(self, *a, **kw)
- -
combine(self)
- -
fill_gap(self, char, wid, gapwidth=False)
- -
fixedsize(self)
- -
shrink_by_cutting(self, wid)
- -
shrink_by_removing(self, wid)
- -
sumsize(self)
- -
-Data descriptors defined here:
-
__dict__
-
dictionary for instance variables (if defined)
-
-
__weakref__
-
list of weak references to the object (if defined)
-
-
-Data and other attributes defined here:
-
gap = None
- -
left = None
- -
right = None
- -

- - - - - -
 
-class BarSide(builtins.list)
    
Method resolution order:
-
BarSide
-
builtins.list
-
builtins.object
-
-
-Methods defined here:
-
add(self, string, *lst, **kw)
- -
fixedsize(self)
- -
nonfixed_items(self)
- -
sumsize(self)
- -
-Data descriptors defined here:
-
__dict__
-
dictionary for instance variables (if defined)
-
-
__weakref__
-
list of weak references to the object (if defined)
-
-
-Methods inherited from builtins.list:
-
__add__(...)
x.__add__(y) <==> x+y
- -
__contains__(...)
x.__contains__(y) <==> y in x
- -
__delitem__(...)
x.__delitem__(y) <==> del x[y]
- -
__eq__(...)
x.__eq__(y) <==> x==y
- -
__ge__(...)
x.__ge__(y) <==> x>=y
- -
__getattribute__(...)
x.__getattribute__('name') <==> x.name
- -
__getitem__(...)
x.__getitem__(y) <==> x[y]
- -
__gt__(...)
x.__gt__(y) <==> x>y
- -
__iadd__(...)
x.__iadd__(y) <==> x+=y
- -
__imul__(...)
x.__imul__(y) <==> x*=y
- -
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
- -
__iter__(...)
x.__iter__() <==> iter(x)
- -
__le__(...)
x.__le__(y) <==> x<=y
- -
__len__(...)
x.__len__() <==> len(x)
- -
__lt__(...)
x.__lt__(y) <==> x<y
- -
__mul__(...)
x.__mul__(n) <==> x*n
- -
__ne__(...)
x.__ne__(y) <==> x!=y
- -
__repr__(...)
x.__repr__() <==> repr(x)
- -
__reversed__(...)
L.__reversed__() -- return a reverse iterator over the list
- -
__rmul__(...)
x.__rmul__(n) <==> n*x
- -
__setitem__(...)
x.__setitem__(i, y) <==> x[i]=y
- -
__sizeof__(...)
L.__sizeof__() -- size of L in memory, in bytes
- -
append(...)
L.append(object) -- append object to end
- -
count(...)
L.count(value) -> integer -- return number of occurrences of value
- -
extend(...)
L.extend(iterable) -- extend list by appending elements from the iterable
- -
index(...)
L.index(value, [start, [stop]]) -> integer -- return first index of value.
-Raises ValueError if the value is not present.
- -
insert(...)
L.insert(index, object) -- insert object before index
- -
pop(...)
L.pop([index]) -> item -- remove and return item at index (default last).
-Raises IndexError if list is empty or index is out of range.
- -
remove(...)
L.remove(value) -- remove first occurrence of value.
-Raises ValueError if the value is not present.
- -
reverse(...)
L.reverse() -- reverse *IN PLACE*
- -
sort(...)
L.sort(key=None, reverse=False) -- stable sort *IN PLACE*
- -
-Data and other attributes inherited from builtins.list:
-
__hash__ = None
- -
__new__ = <built-in method __new__ of type object at 0x7f327d9523a0>
T.__new__(S, ...) -> a new object with type S, a subtype of T
- -

- - - - - -
 
-class ColoredString(builtins.object)
    Methods defined here:
-
__init__(self, string, *lst)
- -
__len__(self)
- -
__str__(self)
- -
cut_off(self, n)
- -
cut_off_to(self, n)
- -
-Data descriptors defined here:
-
__dict__
-
dictionary for instance variables (if defined)
-
-
__weakref__
-
list of weak references to the object (if defined)
-
-
-Data and other attributes defined here:
-
fixed = False
- -

- - - - - -
 
-class TitleBar(ranger.gui.widgets.Widget)
    
Method resolution order:
-
TitleBar
-
ranger.gui.widgets.Widget
-
ranger.gui.displayable.Displayable
-
ranger.shared.EnvironmentAware
-
ranger.shared.FileManagerAware
-
ranger.shared.Awareness
-
ranger.shared.settings.SettingsAware
-
builtins.object
-
-
-Methods defined here:
-
draw(self)
- -
-Data and other attributes defined here:
-
old_cf = None
- -
old_keybuffer = None
- -
old_wid = None
- -
result = None
- -
throbber = ' '
- -
-Methods inherited from ranger.gui.displayable.Displayable:
-
__contains__(self, item)
Is item inside the boundaries?
-item can be an iterable like [y, x] or an object with x and y methods.
- -
__init__(self, win, env=None, fm=None, settings=None)
- -
__nonzero__(self)
Always True
- -
click(self, event)
Called when a mouse key is pressed and self.focused is True.
-Override this!
- -
color(self, keylist=None, *keys)
Change the colors from now on.
- -
color_at(self, y, x, wid, keylist=None, *keys)
Change the colors at the specified position
- -
color_reset(self)
Change the colors to the default colors
- -
contains_point(self, y, x)
Test if the point lies within the boundaries of this object
- -
destroy(self)
Called when the object is destroyed.
-Override this!
- -
finalize(self)
Called after every displayable is done drawing.
-Override this!
- -
poke(self)
Called before drawing, even if invisible
- -
press(self, key)
Called when a key is pressed and self.focused is True.
-Override this!
- -
resize(self, y, x, hei=None, wid=None)
Resize the widget
- -
-Data and other attributes inherited from ranger.gui.displayable.Displayable:
-
colorscheme = None
- -
focused = False
- -
visible = True
- -
win = None
- -
-Data and other attributes inherited from ranger.shared.EnvironmentAware:
-
env = None
- -
-Data and other attributes inherited from ranger.shared.FileManagerAware:
-
fm = None
- -
-Data descriptors inherited from ranger.shared.Awareness:
-
__dict__
-
dictionary for instance variables (if defined)
-
-
__weakref__
-
list of weak references to the object (if defined)
-
-
-Data and other attributes inherited from ranger.shared.settings.SettingsAware:
-
settings = <ranger.ext.openstruct.OpenStruct object at 0x154e450>
- -

- - - - - -
 
-Functions
       
floor(...)
floor(x)

-Return the floor of x as an int.
-This is the largest integral value <= x.
-
- \ No newline at end of file diff --git a/doc/ranger.html b/doc/ranger.html deleted file mode 100644 index 0fd5ba08..00000000 --- a/doc/ranger.html +++ /dev/null @@ -1,70 +0,0 @@ - -Python: package ranger - - - - - -
 
- 
ranger (version 1.0.0)
index
/home/hut/work/ranger/ranger/__init__.py
-

Ranger - file browser for the unix terminal

-

- - - - - -
 
-Package Contents
       
actions
-applications
-colorschemes (package)
-
commands
-container (package)
-defaults (package)
-
ext (package)
-fm
-fsobject (package)
-
gui (package)
-shared (package)
-

- - - - - -
 
-Functions
       
main()
initialize objects and run the filemanager
-

- - - - - -
 
-Data
       CONFDIR = '/home/hut/.ranger'
-RANGERDIR = '/home/hut/work/ranger/ranger'
-USAGE = '%s [options] [path/filename]'
-__author__ = 'hut'
-__copyright__ = 'none'
-__credits__ = 'hut'
-__email__ = 'hut@lavabit.com'
-__license__ = 'GPL'
-__maintainer__ = 'hut'
-__version__ = '1.0.0'

- - - - - -
 
-Author
       hut

- - - - - -
 
-Credits
       hut
- \ No newline at end of file diff --git a/doc/ranger.shared.html b/doc/ranger.shared.html deleted file mode 100644 index 225b3ade..00000000 --- a/doc/ranger.shared.html +++ /dev/null @@ -1,107 +0,0 @@ - -Python: package ranger.shared - - - - - -
 
- 
ranger.shared
index
/home/hut/work/ranger/ranger/shared/__init__.py
-

Shared objects contian singleton variables wich can be
-inherited, essentially acting like global variables.

-

- - - - - -
 
-Package Contents
       
mimetype
-
settings
-

- - - - - -
 
-Classes
       
-
builtins.object -
-
-
Awareness -
-
-
EnvironmentAware -
FileManagerAware -
-
-
-
-
-

- - - - - -
 
-class Awareness(builtins.object)
    Data descriptors defined here:
-
__dict__
-
dictionary for instance variables (if defined)
-
-
__weakref__
-
list of weak references to the object (if defined)
-
-

- - - - - -
 
-class EnvironmentAware(Awareness)
    
Method resolution order:
-
EnvironmentAware
-
Awareness
-
builtins.object
-
-
-Data and other attributes defined here:
-
env = None
- -
-Data descriptors inherited from Awareness:
-
__dict__
-
dictionary for instance variables (if defined)
-
-
__weakref__
-
list of weak references to the object (if defined)
-
-

- - - - - -
 
-class FileManagerAware(Awareness)
    
Method resolution order:
-
FileManagerAware
-
Awareness
-
builtins.object
-
-
-Data and other attributes defined here:
-
fm = None
- -
-Data descriptors inherited from Awareness:
-
__dict__
-
dictionary for instance variables (if defined)
-
-
__weakref__
-
list of weak references to the object (if defined)
-
-

- \ No newline at end of file diff --git a/doc/ranger.shared.mimetype.html b/doc/ranger.shared.mimetype.html deleted file mode 100644 index 4ae8aabb..00000000 --- a/doc/ranger.shared.mimetype.html +++ /dev/null @@ -1,51 +0,0 @@ - -Python: module ranger.shared.mimetype - - - - - -
 
- 
ranger.shared.mimetype
index
/home/hut/work/ranger/ranger/shared/mimetype.py
-

-

- - - - - -
 
-Classes
       
-
builtins.object -
-
-
MimeTypeAware -
-
-
-

- - - - - -
 
-class MimeTypeAware(builtins.object)
    Methods defined here:
-
__init__(self)
- -
-Data descriptors defined here:
-
__dict__
-
dictionary for instance variables (if defined)
-
-
__weakref__
-
list of weak references to the object (if defined)
-
-
-Data and other attributes defined here:
-
mimetypes = {}
- -

- \ No newline at end of file diff --git a/doc/ranger.shared.settings.html b/doc/ranger.shared.settings.html deleted file mode 100644 index ec661e76..00000000 --- a/doc/ranger.shared.settings.html +++ /dev/null @@ -1,54 +0,0 @@ - -Python: module ranger.shared.settings - - - - - -
 
- 
ranger.shared.settings
index
/home/hut/work/ranger/ranger/shared/settings.py
-

-

- - - - - -
 
-Classes
       
-
builtins.object -
-
-
SettingsAware -
-
-
-

- - - - - -
 
-class SettingsAware(builtins.object)
    Data descriptors defined here:
-
__dict__
-
dictionary for instance variables (if defined)
-
-
__weakref__
-
list of weak references to the object (if defined)
-
-
-Data and other attributes defined here:
-
settings = <ranger.ext.openstruct.OpenStruct object at 0x154e450>
- -

- - - - - -
 
-Data
       ALLOWED_SETTINGS = ['show_hidden', 'scroll_offset', 'directories_first', 'sort', 'reverse', 'preview_files', 'max_history_size', 'colorscheme', 'collapse_preview', 'auto_load_preview', 'max_dirsize_for_autopreview', 'apps', 'keys']
- \ No newline at end of file diff --git a/doc/sys.html b/doc/sys.html deleted file mode 100644 index b3de7023..00000000 --- a/doc/sys.html +++ /dev/null @@ -1,244 +0,0 @@ - -Python: built-in module sys - - - - - -
 
- 
sys
index
(built-in)
Module Docs
-

This module provides access to some objects used or maintained by the
-interpreter and to functions that interact strongly with the interpreter.

-Dynamic objects:

-argv -- command line arguments; argv[0] is the script pathname if known
-path -- module search path; path[0] is the script directory, else ''
-modules -- dictionary of loaded modules

-displayhook -- called to show results in an interactive session
-excepthook -- called to handle any uncaught exception other than SystemExit
-  To customize printing in an interactive session or to install a custom
-  top-level exception handler, assign other functions to replace these.

-stdin -- standard input file object; used by input()
-stdout -- standard output file object; used by print()
-stderr -- standard error object; used for error messages
-  By assigning other file objects (or objects that behave like files)
-  to these, it is possible to redirect all of the interpreter's I/O.

-last_type -- type of last uncaught exception
-last_value -- value of last uncaught exception
-last_traceback -- traceback of last uncaught exception
-  These three are only available in an interactive session after a
-  traceback has been printed.

-Static objects:

-float_info -- a dict with information about the float implementation.
-int_info -- a struct sequence with information about the int implementation.
-maxsize -- the largest supported length of containers.
-maxunicode -- the largest supported character
-builtin_module_names -- tuple of module names built into this interpreter
-subversion -- subversion information of the build as tuple
-version -- the version of this interpreter as a string
-version_info -- version information as a named tuple
-hexversion -- version information encoded as a single integer
-copyright -- copyright notice pertaining to this interpreter
-platform -- platform identifier
-executable -- pathname of this Python interpreter
-prefix -- prefix used to find the Python library
-exec_prefix -- prefix used to find the machine-specific Python library
-float_repr_style -- string indicating the style of repr() output for floats
-__stdin__ -- the original stdin; don't touch!
-__stdout__ -- the original stdout; don't touch!
-__stderr__ -- the original stderr; don't touch!
-__displayhook__ -- the original displayhook; don't touch!
-__excepthook__ -- the original excepthook; don't touch!

-Functions:

-displayhook() -- print an object to the screen, and save it in builtins._
-excepthook() -- print an exception and its traceback to sys.stderr
-exc_info() -- return thread-safe information about the current exception
-exit() -- exit the interpreter by raising SystemExit
-getdlopenflags() -- returns flags to be used for dlopen() calls
-getprofile() -- get the global profiling function
-getrefcount() -- return the reference count for an object (plus one :-)
-getrecursionlimit() -- return the max recursion depth for the interpreter
-getsizeof() -- return the size of an object in bytes
-gettrace() -- get the global debug tracing function
-setcheckinterval() -- control how often the interpreter checks for events
-setdlopenflags() -- set the flags to be used for dlopen() calls
-setprofile() -- set the global profiling function
-setrecursionlimit() -- set the max recursion depth for the interpreter
-settrace() -- set the global debug tracing function

-

- - - - - -
 
-Functions
       
__displayhook__ = displayhook(...)
displayhook(object) -> None

-Print an object to sys.stdout and also save it in builtins.
-
__excepthook__ = excepthook(...)
excepthook(exctype, value, traceback) -> None

-Handle an exception by displaying it with a traceback on sys.stderr.
-
call_tracing(...)
call_tracing(func, args) -> object

-Call func(*args), while tracing is enabled.  The tracing state is
-saved, and restored afterwards.  This is intended to be called from
-a debugger from a checkpoint, to recursively debug some other code.
-
callstats(...)
callstats() -> tuple of integers

-Return a tuple of function call statistics, if CALL_PROFILE was defined
-when Python was built.  Otherwise, return None.

-When enabled, this function returns detailed, implementation-specific
-details about the number of function calls executed. The return value is
-a 11-tuple where the entries in the tuple are counts of:
-0. all function calls
-1. calls to PyFunction_Type objects
-2. PyFunction calls that do not create an argument tuple
-3. PyFunction calls that do not create an argument tuple
-   and bypass PyEval_EvalCodeEx()
-4. PyMethod calls
-5. PyMethod calls on bound methods
-6. PyType calls
-7. PyCFunction calls
-8. generator calls
-9. All other calls
-10. Number of stack pops performed by call_function()
-
displayhook(...)
displayhook(object) -> None

-Print an object to sys.stdout and also save it in builtins.
-
exc_info(...)
exc_info() -> (type, value, traceback)

-Return information about the most recent exception caught by an except
-clause in the current stack frame or in an older stack frame.
-
excepthook(...)
excepthook(exctype, value, traceback) -> None

-Handle an exception by displaying it with a traceback on sys.stderr.
-
exit(...)
exit([status])

-Exit the interpreter by raising SystemExit(status).
-If the status is omitted or None, it defaults to zero (i.e., success).
-If the status is numeric, it will be used as the system exit status.
-If it is another kind of object, it will be printed and the system
-exit status will be one (i.e., failure).
-
getcheckinterval(...)
getcheckinterval() -> current check interval; see setcheckinterval().
-
getdefaultencoding(...)
getdefaultencoding() -> string

-Return the current default string encoding used by the Unicode 
-implementation.
-
getdlopenflags(...)
getdlopenflags() -> int

-Return the current value of the flags that are used for dlopen calls.
-The flag constants are defined in the ctypes and DLFCN modules.
-
getfilesystemencoding(...)
getfilesystemencoding() -> string

-Return the encoding used to convert Unicode filenames in
-operating system filenames.
-
getprofile(...)
getprofile()

-Return the profiling function set with sys.setprofile.
-See the profiler chapter in the library manual.
-
getrecursionlimit(...)
getrecursionlimit()

-Return the current value of the recursion limit, the maximum depth
-of the Python interpreter stack.  This limit prevents infinite
-recursion from causing an overflow of the C stack and crashing Python.
-
getrefcount(...)
getrefcount(object) -> integer

-Return the reference count of object.  The count returned is generally
-one higher than you might expect, because it includes the (temporary)
-reference as an argument to getrefcount().
-
getsizeof(...)
getsizeof(object, default) -> int

-Return the size of object in bytes.
-
gettrace(...)
gettrace()

-Return the global debug tracing function set with sys.settrace.
-See the debugger chapter in the library manual.
-
intern(...)
intern(string) -> string

-``Intern'' the given string.  This enters the string in the (global)
-table of interned strings whose purpose is to speed up dictionary lookups.
-Return the string itself or the previously interned string object with the
-same value.
-
setcheckinterval(...)
setcheckinterval(n)

-Tell the Python interpreter to check for asynchronous events every
-n instructions.  This also affects how often thread switches occur.
-
setdlopenflags(...)
setdlopenflags(n) -> None

-Set the flags used by the interpreter for dlopen calls, such as when the
-interpreter loads extension modules.  Among other things, this will enable
-a lazy resolving of symbols when importing a module, if called as
-sys.setdlopenflags(0).  To share symbols across extension modules, call as
-sys.setdlopenflags(ctypes.RTLD_GLOBAL).  Symbolic names for the flag modules
-can be either found in the ctypes module, or in the DLFCN module. If DLFCN
-is not available, it can be generated from /usr/include/dlfcn.h using the
-h2py script.
-
setfilesystemencoding(...)
setfilesystemencoding(string) -> None

-Set the encoding used to convert Unicode filenames in
-operating system filenames.
-
setprofile(...)
setprofile(function)

-Set the profiling function.  It will be called on each function call
-and return.  See the profiler chapter in the library manual.
-
setrecursionlimit(...)
setrecursionlimit(n)

-Set the maximum depth of the Python interpreter stack to n.  This
-limit prevents infinite recursion from causing an overflow of the C
-stack and crashing Python.  The highest possible limit is platform-
-dependent.
-
settrace(...)
settrace(function)

-Set the global debug tracing function.  It will be called on each
-function call.  See the debugger chapter in the library manual.
-

- - - - - -
 
-Data
       __stderr__ = <_io.TextIOWrapper name='<stderr>' encoding='UTF-8'>
-__stdin__ = <_io.TextIOWrapper name='<stdin>' encoding='UTF-8'>
-__stdout__ = <_io.TextIOWrapper name='<stdout>' encoding='UTF-8'>
-api_version = 1013
-argv = ['./make_doc.py']
-builtin_module_names = ('__main__', '_ast', '_codecs', '_functools', '_io', '_locale', '_sre', '_symtable', '_thread', '_warnings', '_weakref', 'builtins', 'errno', 'gc', 'imp', 'marshal', 'posix', 'pwd', 'signal', 'sys', ...)
-byteorder = 'little'
-copyright = 'Copyright (c) 2001-2009 Python Software Foundati...ematisch Centrum, Amsterdam.\nAll Rights Reserved.'
-dont_write_bytecode = False
-exec_prefix = '/usr'
-executable = '/usr/bin/python3'
-flags = sys.flags(debug=0, division_warning=0, inspect=0...ignore_environment=0, verbose=0, bytes_warning=0)
-float_info = sys.floatinfo(max=1.7976931348623157e+308, max_e...epsilon=2.220446049250313e-16, radix=2, rounds=1)
-float_repr_style = 'short'
-hexversion = 50397680
-int_info = sys.int_info(bits_per_digit=30, sizeof_digit=4)
-maxsize = 9223372036854775807
-maxunicode = 1114111
-meta_path = []
-modules = {'__future__': <module '__future__' from '/usr/lib/python3.1/__future__.py'>, '__init__': <module '__init__' from '/home/hut/.ranger/__init__.py'>, '__main__': <module '__main__' from './make_doc.py'>, '_abcoll': <module '_abcoll' from '/usr/lib/python3.1/_abcoll.py'>, '_bisect': <module '_bisect' from '/usr/lib/python3.1/lib-dynload/_bisect.so'>, '_codecs': <module '_codecs' (built-in)>, '_collections': <module '_collections' from '/usr/lib/python3.1/lib-dynload/_collections.so'>, '_curses': <module '_curses' from '/usr/lib/python3.1/lib-dynload/_curses.so'>, '_functools': <module '_functools' (built-in)>, '_heapq': <module '_heapq' from '/usr/lib/python3.1/lib-dynload/_heapq.so'>, ...}
-path = ['/home/hut/.ranger', '/home/hut/work/ranger', '/usr/lib/python31.zip', '/usr/lib/python3.1', '/usr/lib/python3.1/plat-linux2', '/usr/lib/python3.1/lib-dynload', '/usr/lib/python3.1/site-packages', '/home/hut/.ranger']
-path_hooks = [<class 'zipimport.zipimporter'>]
-path_importer_cache = {'.': None, './make_doc.py': <imp.NullImporter object at 0x7f327d9e39f0>, '/home/hut/.ranger': None, '/home/hut/.ranger/colorschemes': None, '/home/hut/work/ranger': None, '/home/hut/work/ranger/ranger': None, '/home/hut/work/ranger/ranger/colorschemes': None, '/home/hut/work/ranger/ranger/container': None, '/home/hut/work/ranger/ranger/defaults': None, '/home/hut/work/ranger/ranger/ext': None, ...}
-platform = 'linux2'
-prefix = '/usr'
-stderr = <_io.TextIOWrapper name='<stderr>' encoding='UTF-8'>
-stdin = <_io.TextIOWrapper name='<stdin>' encoding='UTF-8'>
-stdout = <_io.TextIOWrapper name='<stdout>' encoding='UTF-8'>
-subversion = ('CPython', 'tags/r311', '74480')
-version = '3.1.1 (r311:74480, Aug 27 2009, 04:56:37) \n[GCC 4.4.1]'
-version_info = sys.version_info(major=3, minor=1, micro=1, releaselevel='final', serial=0)
-warnoptions = []
- \ No newline at end of file diff --git a/doc/test.html b/doc/test.html deleted file mode 100644 index 5d239e76..00000000 --- a/doc/test.html +++ /dev/null @@ -1,34 +0,0 @@ - -Python: package test - - - - - -
 
- 
test
index
/home/hut/work/ranger/test/__init__.py
-

-

- - - - - -
 
-Package Contents
       
tc_colorscheme
-tc_directory
-
tc_displayable
-tc_history
-
tc_ui
-test
-

- - - - - -
 
-Data
       __all__ = ['tc_history', 'tc_directory', 'tc_ui', 'tc_history', 'tc_ui', 'tc_displayable', 'tc_colorscheme', 'tc_directory', 'tc_colorscheme', 'tc_displayable']
- \ No newline at end of file diff --git a/doc/test.tc_colorscheme.html b/doc/test.tc_colorscheme.html deleted file mode 100644 index fbd73399..00000000 --- a/doc/test.tc_colorscheme.html +++ /dev/null @@ -1,298 +0,0 @@ - -Python: module test.tc_colorscheme - - - - - -
 
- 
test.tc_colorscheme
index
/home/hut/work/ranger/test/tc_colorscheme.py
-

-

- - - - - -
 
-Modules
       
random
-
ranger
-

- - - - - -
 
-Classes
       
-
unittest.TestCase(builtins.object) -
-
-
Test -
-
-
-

- - - - - -
 
-class Test(unittest.TestCase)
    
Method resolution order:
-
Test
-
unittest.TestCase
-
builtins.object
-
-
-Methods defined here:
-
setUp(self)
- -
test_colorschemes(self)
- -
-Methods inherited from unittest.TestCase:
-
__call__(self, *args, **kwds)
- -
__eq__(self, other)
- -
__hash__(self)
- -
__init__(self, methodName='runTest')
Create an instance of the class that will use the named test
-method when executed. Raises a ValueError if the instance does
-not have a method with the specified name.
- -
__ne__(self, other)
- -
__repr__(self)
- -
__str__(self)
- -
addCleanup(self, function, *args, **kwargs)
Add a function, with arguments, to be called when the test is
-completed. Functions added are called on a LIFO basis and are
-called after tearDown on test failure or success.

-Cleanup items are called even if setUp fails (unlike tearDown).
- -
addTypeEqualityFunc(self, typeobj, function)
Add a type specific assertEqual style function to compare a type.

-This method is for use by TestCase subclasses that need to register
-their own type equality functions to provide nicer error messages.

-Args:
-    typeobj: The data type to call this function on when both values
-            are of the same type in assertEqual().
-    function: The callable taking two arguments and an optional
-            msg= argument that raises self.failureException with a
-            useful error message when the two arguments are not equal.
- -
assertAlmostEqual(self, first, second, *, places=7, msg=None)
Fail if the two objects are unequal as determined by their
-difference rounded to the given number of decimal places
-(default 7) and comparing to zero.

-Note that decimal places (from zero) are usually not the same
-as significant digits (measured from the most signficant digit).
- -
assertAlmostEquals = assertAlmostEqual(self, first, second, *, places=7, msg=None)
Fail if the two objects are unequal as determined by their
-difference rounded to the given number of decimal places
-(default 7) and comparing to zero.

-Note that decimal places (from zero) are usually not the same
-as significant digits (measured from the most signficant digit).
- -
assertDictContainsSubset(self, expected, actual, msg=None)
Checks whether actual is a superset of expected.
- -
assertDictEqual(self, d1, d2, msg=None)
- -
assertEqual(self, first, second, msg=None)
Fail if the two objects are unequal as determined by the '=='
-operator.
- -
assertEquals = assertEqual(self, first, second, msg=None)
Fail if the two objects are unequal as determined by the '=='
-operator.
- -
assertFalse(self, expr, msg=None)
Fail the test if the expression is true.
- -
assertGreater(self, a, b, msg=None)
Just like assertTrue(a > b), but with a nicer default message.
- -
assertGreaterEqual(self, a, b, msg=None)
Just like assertTrue(a >= b), but with a nicer default message.
- -
assertIn(self, member, container, msg=None)
Just like assertTrue(a in b), but with a nicer default message.
- -
assertIs(self, expr1, expr2, msg=None)
Just like assertTrue(a is b), but with a nicer default message.
- -
assertIsNone(self, obj, msg=None)
Same as assertTrue(obj is None), with a nicer default message.
- -
assertIsNot(self, expr1, expr2, msg=None)
Just like assertTrue(a is not b), but with a nicer default message.
- -
assertIsNotNone(self, obj, msg=None)
Included for symmetry with assertIsNone.
- -
assertLess(self, a, b, msg=None)
Just like assertTrue(a < b), but with a nicer default message.
- -
assertLessEqual(self, a, b, msg=None)
Just like assertTrue(a <= b), but with a nicer default message.
- -
assertListEqual(self, list1, list2, msg=None)
A list-specific equality assertion.

-Args:
-    list1: The first list to compare.
-    list2: The second list to compare.
-    msg: Optional message to use on failure instead of a list of
-            differences.
- -
assertMultiLineEqual(self, first, second, msg=None)
Assert that two multi-line strings are equal.
- -
assertNotAlmostEqual(self, first, second, *, places=7, msg=None)
Fail if the two objects are equal as determined by their
-difference rounded to the given number of decimal places
-(default 7) and comparing to zero.

-Note that decimal places (from zero) are usually not the same
-as significant digits (measured from the most signficant digit).
- -
assertNotAlmostEquals = assertNotAlmostEqual(self, first, second, *, places=7, msg=None)
Fail if the two objects are equal as determined by their
-difference rounded to the given number of decimal places
-(default 7) and comparing to zero.

-Note that decimal places (from zero) are usually not the same
-as significant digits (measured from the most signficant digit).
- -
assertNotEqual(self, first, second, msg=None)
Fail if the two objects are equal as determined by the '=='
-operator.
- -
assertNotEquals = assertNotEqual(self, first, second, msg=None)
Fail if the two objects are equal as determined by the '=='
-operator.
- -
assertNotIn(self, member, container, msg=None)
Just like assertTrue(a not in b), but with a nicer default message.
- -
assertRaises(self, excClass, callableObj=None, *args, **kwargs)
Fail unless an exception of class excClass is thrown
-by callableObj when invoked with arguments args and keyword
-arguments kwargs. If a different type of exception is
-thrown, it will not be caught, and the test case will be
-deemed to have suffered an error, exactly as for an
-unexpected exception.

-If called with callableObj omitted or None, will return a
-context object used like this::

-     with assertRaises(some_error_class):
-         do_something()
- -
assertRaisesRegexp(self, expected_exception, expected_regexp, callable_obj=None, *args, **kwargs)
Asserts that the message in a raised exception matches a regexp.

-Args:
-    expected_exception: Exception class expected to be raised.
-    expected_regexp: Regexp (re pattern object or string) expected
-            to be found in error message.
-    callable_obj: Function to be called.
-    args: Extra args.
-    kwargs: Extra kwargs.
- -
assertRegexpMatches(self, text, expected_regex, msg=None)
- -
assertSameElements(self, expected_seq, actual_seq, msg=None)
An unordered sequence specific comparison.

-Raises with an error message listing which elements of expected_seq
-are missing from actual_seq and vice versa if any.
- -
assertSequenceEqual(self, seq1, seq2, msg=None, seq_type=None)
An equality assertion for ordered sequences (like lists and tuples).

-For the purposes of this function, a valid orderd sequence type is one
-which can be indexed, has a length, and has an equality operator.

-Args:
-    seq1: The first sequence to compare.
-    seq2: The second sequence to compare.
-    seq_type: The expected datatype of the sequences, or None if no
-            datatype should be enforced.
-    msg: Optional message to use on failure instead of a list of
-            differences.
- -
assertSetEqual(self, set1, set2, msg=None)
A set-specific equality assertion.

-Args:
-    set1: The first set to compare.
-    set2: The second set to compare.
-    msg: Optional message to use on failure instead of a list of
-            differences.

-For more general containership equality, assertSameElements will work
-with things other than sets.    This uses ducktyping to support
-different types of sets, and is optimized for sets specifically
-(parameters must support a difference method).
- -
assertTrue(self, expr, msg=None)
Fail the test unless the expression is true.
- -
assertTupleEqual(self, tuple1, tuple2, msg=None)
A tuple-specific equality assertion.

-Args:
-    tuple1: The first tuple to compare.
-    tuple2: The second tuple to compare.
-    msg: Optional message to use on failure instead of a list of
-            differences.
- -
assert_ = assertTrue(self, expr, msg=None)
Fail the test unless the expression is true.
- -
countTestCases(self)
- -
debug(self)
Run the test without collecting errors in a TestResult
- -
defaultTestResult(self)
- -
doCleanups(self)
Execute all cleanup functions. Normally called for you after
-tearDown.
- -
fail(self, msg=None)
Fail immediately, with the given message.
- -
failIf = deprecated_func(*args, **kwargs)
- -
failIfAlmostEqual = deprecated_func(*args, **kwargs)
- -
failIfEqual = deprecated_func(*args, **kwargs)
- -
failUnless = deprecated_func(*args, **kwargs)
- -
failUnlessAlmostEqual = deprecated_func(*args, **kwargs)
- -
failUnlessEqual = deprecated_func(*args, **kwargs)
- -
failUnlessRaises = deprecated_func(*args, **kwargs)
- -
id(self)
- -
run(self, result=None)
- -
shortDescription(self)
Returns both the test method name and first line of its docstring.

-If no docstring is given, only returns the method name.

-This method overrides unittest.TestCase.shortDescription(), which
-only returns the first line of the docstring, obscuring the name
-of the test upon failure.
- -
skipTest(self, reason)
Skip this test.
- -
tearDown(self)
Hook method for deconstructing the test fixture after testing it.
- -
-Data descriptors inherited from unittest.TestCase:
-
__dict__
-
dictionary for instance variables (if defined)
-
-
__weakref__
-
list of weak references to the object (if defined)
-
-
-Data and other attributes inherited from unittest.TestCase:
-
failureException = <class 'AssertionError'>
Assertion failed.
- -
longMessage = False
- -

- - - - - -
 
-Data
       CONTEXT_KEYS = ['reset', 'error', 'in_display', 'in_statusbar', 'in_titlebar', 'in_console', 'in_notify', 'in_pman', 'directory', 'file', 'hostname', 'executable', 'media', 'link', 'video', 'audio', 'image', 'media', 'document', 'container', ...]
- \ No newline at end of file diff --git a/doc/test.tc_directory.html b/doc/test.tc_directory.html deleted file mode 100644 index 0c6fe0b1..00000000 --- a/doc/test.tc_directory.html +++ /dev/null @@ -1,306 +0,0 @@ - -Python: module test.tc_directory - - - - - -
 
- 
test.tc_directory
index
/home/hut/work/ranger/test/tc_directory.py
-

-

- - - - - -
 
-Modules
       
ranger.fsobject
-
unittest
-

- - - - - -
 
-Classes
       
-
unittest.TestCase(builtins.object) -
-
-
Test1 -
-
-
-

- - - - - -
 
-class Test1(unittest.TestCase)
    
Method resolution order:
-
Test1
-
unittest.TestCase
-
builtins.object
-
-
-Methods defined here:
-
test_after_content_loaded(self)
- -
test_initial_condition(self)
- -
test_load_if_outdated(self)
- -
test_nonexistant_dir(self)
- -
-Methods inherited from unittest.TestCase:
-
__call__(self, *args, **kwds)
- -
__eq__(self, other)
- -
__hash__(self)
- -
__init__(self, methodName='runTest')
Create an instance of the class that will use the named test
-method when executed. Raises a ValueError if the instance does
-not have a method with the specified name.
- -
__ne__(self, other)
- -
__repr__(self)
- -
__str__(self)
- -
addCleanup(self, function, *args, **kwargs)
Add a function, with arguments, to be called when the test is
-completed. Functions added are called on a LIFO basis and are
-called after tearDown on test failure or success.

-Cleanup items are called even if setUp fails (unlike tearDown).
- -
addTypeEqualityFunc(self, typeobj, function)
Add a type specific assertEqual style function to compare a type.

-This method is for use by TestCase subclasses that need to register
-their own type equality functions to provide nicer error messages.

-Args:
-    typeobj: The data type to call this function on when both values
-            are of the same type in assertEqual().
-    function: The callable taking two arguments and an optional
-            msg= argument that raises self.failureException with a
-            useful error message when the two arguments are not equal.
- -
assertAlmostEqual(self, first, second, *, places=7, msg=None)
Fail if the two objects are unequal as determined by their
-difference rounded to the given number of decimal places
-(default 7) and comparing to zero.

-Note that decimal places (from zero) are usually not the same
-as significant digits (measured from the most signficant digit).
- -
assertAlmostEquals = assertAlmostEqual(self, first, second, *, places=7, msg=None)
Fail if the two objects are unequal as determined by their
-difference rounded to the given number of decimal places
-(default 7) and comparing to zero.

-Note that decimal places (from zero) are usually not the same
-as significant digits (measured from the most signficant digit).
- -
assertDictContainsSubset(self, expected, actual, msg=None)
Checks whether actual is a superset of expected.
- -
assertDictEqual(self, d1, d2, msg=None)
- -
assertEqual(self, first, second, msg=None)
Fail if the two objects are unequal as determined by the '=='
-operator.
- -
assertEquals = assertEqual(self, first, second, msg=None)
Fail if the two objects are unequal as determined by the '=='
-operator.
- -
assertFalse(self, expr, msg=None)
Fail the test if the expression is true.
- -
assertGreater(self, a, b, msg=None)
Just like assertTrue(a > b), but with a nicer default message.
- -
assertGreaterEqual(self, a, b, msg=None)
Just like assertTrue(a >= b), but with a nicer default message.
- -
assertIn(self, member, container, msg=None)
Just like assertTrue(a in b), but with a nicer default message.
- -
assertIs(self, expr1, expr2, msg=None)
Just like assertTrue(a is b), but with a nicer default message.
- -
assertIsNone(self, obj, msg=None)
Same as assertTrue(obj is None), with a nicer default message.
- -
assertIsNot(self, expr1, expr2, msg=None)
Just like assertTrue(a is not b), but with a nicer default message.
- -
assertIsNotNone(self, obj, msg=None)
Included for symmetry with assertIsNone.
- -
assertLess(self, a, b, msg=None)
Just like assertTrue(a < b), but with a nicer default message.
- -
assertLessEqual(self, a, b, msg=None)
Just like assertTrue(a <= b), but with a nicer default message.
- -
assertListEqual(self, list1, list2, msg=None)
A list-specific equality assertion.

-Args:
-    list1: The first list to compare.
-    list2: The second list to compare.
-    msg: Optional message to use on failure instead of a list of
-            differences.
- -
assertMultiLineEqual(self, first, second, msg=None)
Assert that two multi-line strings are equal.
- -
assertNotAlmostEqual(self, first, second, *, places=7, msg=None)
Fail if the two objects are equal as determined by their
-difference rounded to the given number of decimal places
-(default 7) and comparing to zero.

-Note that decimal places (from zero) are usually not the same
-as significant digits (measured from the most signficant digit).
- -
assertNotAlmostEquals = assertNotAlmostEqual(self, first, second, *, places=7, msg=None)
Fail if the two objects are equal as determined by their
-difference rounded to the given number of decimal places
-(default 7) and comparing to zero.

-Note that decimal places (from zero) are usually not the same
-as significant digits (measured from the most signficant digit).
- -
assertNotEqual(self, first, second, msg=None)
Fail if the two objects are equal as determined by the '=='
-operator.
- -
assertNotEquals = assertNotEqual(self, first, second, msg=None)
Fail if the two objects are equal as determined by the '=='
-operator.
- -
assertNotIn(self, member, container, msg=None)
Just like assertTrue(a not in b), but with a nicer default message.
- -
assertRaises(self, excClass, callableObj=None, *args, **kwargs)
Fail unless an exception of class excClass is thrown
-by callableObj when invoked with arguments args and keyword
-arguments kwargs. If a different type of exception is
-thrown, it will not be caught, and the test case will be
-deemed to have suffered an error, exactly as for an
-unexpected exception.

-If called with callableObj omitted or None, will return a
-context object used like this::

-     with assertRaises(some_error_class):
-         do_something()
- -
assertRaisesRegexp(self, expected_exception, expected_regexp, callable_obj=None, *args, **kwargs)
Asserts that the message in a raised exception matches a regexp.

-Args:
-    expected_exception: Exception class expected to be raised.
-    expected_regexp: Regexp (re pattern object or string) expected
-            to be found in error message.
-    callable_obj: Function to be called.
-    args: Extra args.
-    kwargs: Extra kwargs.
- -
assertRegexpMatches(self, text, expected_regex, msg=None)
- -
assertSameElements(self, expected_seq, actual_seq, msg=None)
An unordered sequence specific comparison.

-Raises with an error message listing which elements of expected_seq
-are missing from actual_seq and vice versa if any.
- -
assertSequenceEqual(self, seq1, seq2, msg=None, seq_type=None)
An equality assertion for ordered sequences (like lists and tuples).

-For the purposes of this function, a valid orderd sequence type is one
-which can be indexed, has a length, and has an equality operator.

-Args:
-    seq1: The first sequence to compare.
-    seq2: The second sequence to compare.
-    seq_type: The expected datatype of the sequences, or None if no
-            datatype should be enforced.
-    msg: Optional message to use on failure instead of a list of
-            differences.
- -
assertSetEqual(self, set1, set2, msg=None)
A set-specific equality assertion.

-Args:
-    set1: The first set to compare.
-    set2: The second set to compare.
-    msg: Optional message to use on failure instead of a list of
-            differences.

-For more general containership equality, assertSameElements will work
-with things other than sets.    This uses ducktyping to support
-different types of sets, and is optimized for sets specifically
-(parameters must support a difference method).
- -
assertTrue(self, expr, msg=None)
Fail the test unless the expression is true.
- -
assertTupleEqual(self, tuple1, tuple2, msg=None)
A tuple-specific equality assertion.

-Args:
-    tuple1: The first tuple to compare.
-    tuple2: The second tuple to compare.
-    msg: Optional message to use on failure instead of a list of
-            differences.
- -
assert_ = assertTrue(self, expr, msg=None)
Fail the test unless the expression is true.
- -
countTestCases(self)
- -
debug(self)
Run the test without collecting errors in a TestResult
- -
defaultTestResult(self)
- -
doCleanups(self)
Execute all cleanup functions. Normally called for you after
-tearDown.
- -
fail(self, msg=None)
Fail immediately, with the given message.
- -
failIf = deprecated_func(*args, **kwargs)
- -
failIfAlmostEqual = deprecated_func(*args, **kwargs)
- -
failIfEqual = deprecated_func(*args, **kwargs)
- -
failUnless = deprecated_func(*args, **kwargs)
- -
failUnlessAlmostEqual = deprecated_func(*args, **kwargs)
- -
failUnlessEqual = deprecated_func(*args, **kwargs)
- -
failUnlessRaises = deprecated_func(*args, **kwargs)
- -
id(self)
- -
run(self, result=None)
- -
setUp(self)
Hook method for setting up the test fixture before exercising it.
- -
shortDescription(self)
Returns both the test method name and first line of its docstring.

-If no docstring is given, only returns the method name.

-This method overrides unittest.TestCase.shortDescription(), which
-only returns the first line of the docstring, obscuring the name
-of the test upon failure.
- -
skipTest(self, reason)
Skip this test.
- -
tearDown(self)
Hook method for deconstructing the test fixture after testing it.
- -
-Data descriptors inherited from unittest.TestCase:
-
__dict__
-
dictionary for instance variables (if defined)
-
-
__weakref__
-
list of weak references to the object (if defined)
-
-
-Data and other attributes inherited from unittest.TestCase:
-
failureException = <class 'AssertionError'>
Assertion failed.
- -
longMessage = False
- -

- - - - - -
 
-Data
       NONEXISTANT_DIR = '/home/hut/work/ranger/test/testdir/nonexistant'
-TESTDIR = '/home/hut/work/ranger/test/testdir'
-TESTFILE = '/home/hut/work/ranger/test/testdir/testfile5234148'
- \ No newline at end of file diff --git a/doc/test.tc_displayable.html b/doc/test.tc_displayable.html deleted file mode 100644 index a1ebcf89..00000000 --- a/doc/test.tc_displayable.html +++ /dev/null @@ -1,551 +0,0 @@ - -Python: module test.tc_displayable - - - - - -
 
- 
test.tc_displayable
index
/home/hut/work/ranger/test/tc_displayable.py
-

-

- - - - - -
 
-Modules
       
curses
-
unittest
-

- - - - - -
 
-Classes
       
-
unittest.TestCase(builtins.object) -
-
-
TestDisplayable -
TestDisplayableContainer -
-
-
-

- - - - - -
 
-class TestDisplayable(unittest.TestCase)
    
Method resolution order:
-
TestDisplayable
-
unittest.TestCase
-
builtins.object
-
-
-Methods defined here:
-
setUp(self)
- -
tearDown(self)
- -
test_boundaries(self)
- -
test_colorscheme(self)
- -
-Methods inherited from unittest.TestCase:
-
__call__(self, *args, **kwds)
- -
__eq__(self, other)
- -
__hash__(self)
- -
__init__(self, methodName='runTest')
Create an instance of the class that will use the named test
-method when executed. Raises a ValueError if the instance does
-not have a method with the specified name.
- -
__ne__(self, other)
- -
__repr__(self)
- -
__str__(self)
- -
addCleanup(self, function, *args, **kwargs)
Add a function, with arguments, to be called when the test is
-completed. Functions added are called on a LIFO basis and are
-called after tearDown on test failure or success.

-Cleanup items are called even if setUp fails (unlike tearDown).
- -
addTypeEqualityFunc(self, typeobj, function)
Add a type specific assertEqual style function to compare a type.

-This method is for use by TestCase subclasses that need to register
-their own type equality functions to provide nicer error messages.

-Args:
-    typeobj: The data type to call this function on when both values
-            are of the same type in assertEqual().
-    function: The callable taking two arguments and an optional
-            msg= argument that raises self.failureException with a
-            useful error message when the two arguments are not equal.
- -
assertAlmostEqual(self, first, second, *, places=7, msg=None)
Fail if the two objects are unequal as determined by their
-difference rounded to the given number of decimal places
-(default 7) and comparing to zero.

-Note that decimal places (from zero) are usually not the same
-as significant digits (measured from the most signficant digit).
- -
assertAlmostEquals = assertAlmostEqual(self, first, second, *, places=7, msg=None)
Fail if the two objects are unequal as determined by their
-difference rounded to the given number of decimal places
-(default 7) and comparing to zero.

-Note that decimal places (from zero) are usually not the same
-as significant digits (measured from the most signficant digit).
- -
assertDictContainsSubset(self, expected, actual, msg=None)
Checks whether actual is a superset of expected.
- -
assertDictEqual(self, d1, d2, msg=None)
- -
assertEqual(self, first, second, msg=None)
Fail if the two objects are unequal as determined by the '=='
-operator.
- -
assertEquals = assertEqual(self, first, second, msg=None)
Fail if the two objects are unequal as determined by the '=='
-operator.
- -
assertFalse(self, expr, msg=None)
Fail the test if the expression is true.
- -
assertGreater(self, a, b, msg=None)
Just like assertTrue(a > b), but with a nicer default message.
- -
assertGreaterEqual(self, a, b, msg=None)
Just like assertTrue(a >= b), but with a nicer default message.
- -
assertIn(self, member, container, msg=None)
Just like assertTrue(a in b), but with a nicer default message.
- -
assertIs(self, expr1, expr2, msg=None)
Just like assertTrue(a is b), but with a nicer default message.
- -
assertIsNone(self, obj, msg=None)
Same as assertTrue(obj is None), with a nicer default message.
- -
assertIsNot(self, expr1, expr2, msg=None)
Just like assertTrue(a is not b), but with a nicer default message.
- -
assertIsNotNone(self, obj, msg=None)
Included for symmetry with assertIsNone.
- -
assertLess(self, a, b, msg=None)
Just like assertTrue(a < b), but with a nicer default message.
- -
assertLessEqual(self, a, b, msg=None)
Just like assertTrue(a <= b), but with a nicer default message.
- -
assertListEqual(self, list1, list2, msg=None)
A list-specific equality assertion.

-Args:
-    list1: The first list to compare.
-    list2: The second list to compare.
-    msg: Optional message to use on failure instead of a list of
-            differences.
- -
assertMultiLineEqual(self, first, second, msg=None)
Assert that two multi-line strings are equal.
- -
assertNotAlmostEqual(self, first, second, *, places=7, msg=None)
Fail if the two objects are equal as determined by their
-difference rounded to the given number of decimal places
-(default 7) and comparing to zero.

-Note that decimal places (from zero) are usually not the same
-as significant digits (measured from the most signficant digit).
- -
assertNotAlmostEquals = assertNotAlmostEqual(self, first, second, *, places=7, msg=None)
Fail if the two objects are equal as determined by their
-difference rounded to the given number of decimal places
-(default 7) and comparing to zero.

-Note that decimal places (from zero) are usually not the same
-as significant digits (measured from the most signficant digit).
- -
assertNotEqual(self, first, second, msg=None)
Fail if the two objects are equal as determined by the '=='
-operator.
- -
assertNotEquals = assertNotEqual(self, first, second, msg=None)
Fail if the two objects are equal as determined by the '=='
-operator.
- -
assertNotIn(self, member, container, msg=None)
Just like assertTrue(a not in b), but with a nicer default message.
- -
assertRaises(self, excClass, callableObj=None, *args, **kwargs)
Fail unless an exception of class excClass is thrown
-by callableObj when invoked with arguments args and keyword
-arguments kwargs. If a different type of exception is
-thrown, it will not be caught, and the test case will be
-deemed to have suffered an error, exactly as for an
-unexpected exception.

-If called with callableObj omitted or None, will return a
-context object used like this::

-     with assertRaises(some_error_class):
-         do_something()
- -
assertRaisesRegexp(self, expected_exception, expected_regexp, callable_obj=None, *args, **kwargs)
Asserts that the message in a raised exception matches a regexp.

-Args:
-    expected_exception: Exception class expected to be raised.
-    expected_regexp: Regexp (re pattern object or string) expected
-            to be found in error message.
-    callable_obj: Function to be called.
-    args: Extra args.
-    kwargs: Extra kwargs.
- -
assertRegexpMatches(self, text, expected_regex, msg=None)
- -
assertSameElements(self, expected_seq, actual_seq, msg=None)
An unordered sequence specific comparison.

-Raises with an error message listing which elements of expected_seq
-are missing from actual_seq and vice versa if any.
- -
assertSequenceEqual(self, seq1, seq2, msg=None, seq_type=None)
An equality assertion for ordered sequences (like lists and tuples).

-For the purposes of this function, a valid orderd sequence type is one
-which can be indexed, has a length, and has an equality operator.

-Args:
-    seq1: The first sequence to compare.
-    seq2: The second sequence to compare.
-    seq_type: The expected datatype of the sequences, or None if no
-            datatype should be enforced.
-    msg: Optional message to use on failure instead of a list of
-            differences.
- -
assertSetEqual(self, set1, set2, msg=None)
A set-specific equality assertion.

-Args:
-    set1: The first set to compare.
-    set2: The second set to compare.
-    msg: Optional message to use on failure instead of a list of
-            differences.

-For more general containership equality, assertSameElements will work
-with things other than sets.    This uses ducktyping to support
-different types of sets, and is optimized for sets specifically
-(parameters must support a difference method).
- -
assertTrue(self, expr, msg=None)
Fail the test unless the expression is true.
- -
assertTupleEqual(self, tuple1, tuple2, msg=None)
A tuple-specific equality assertion.

-Args:
-    tuple1: The first tuple to compare.
-    tuple2: The second tuple to compare.
-    msg: Optional message to use on failure instead of a list of
-            differences.
- -
assert_ = assertTrue(self, expr, msg=None)
Fail the test unless the expression is true.
- -
countTestCases(self)
- -
debug(self)
Run the test without collecting errors in a TestResult
- -
defaultTestResult(self)
- -
doCleanups(self)
Execute all cleanup functions. Normally called for you after
-tearDown.
- -
fail(self, msg=None)
Fail immediately, with the given message.
- -
failIf = deprecated_func(*args, **kwargs)
- -
failIfAlmostEqual = deprecated_func(*args, **kwargs)
- -
failIfEqual = deprecated_func(*args, **kwargs)
- -
failUnless = deprecated_func(*args, **kwargs)
- -
failUnlessAlmostEqual = deprecated_func(*args, **kwargs)
- -
failUnlessEqual = deprecated_func(*args, **kwargs)
- -
failUnlessRaises = deprecated_func(*args, **kwargs)
- -
id(self)
- -
run(self, result=None)
- -
shortDescription(self)
Returns both the test method name and first line of its docstring.

-If no docstring is given, only returns the method name.

-This method overrides unittest.TestCase.shortDescription(), which
-only returns the first line of the docstring, obscuring the name
-of the test upon failure.
- -
skipTest(self, reason)
Skip this test.
- -
-Data descriptors inherited from unittest.TestCase:
-
__dict__
-
dictionary for instance variables (if defined)
-
-
__weakref__
-
list of weak references to the object (if defined)
-
-
-Data and other attributes inherited from unittest.TestCase:
-
failureException = <class 'AssertionError'>
Assertion failed.
- -
longMessage = False
- -

- - - - - -
 
-class TestDisplayableContainer(unittest.TestCase)
    
Method resolution order:
-
TestDisplayableContainer
-
unittest.TestCase
-
builtins.object
-
-
-Methods defined here:
-
setUp(self)
- -
tearDown(self)
- -
test_click(self)
- -
test_container(self)
- -
test_focused_object(self)
- -
-Methods inherited from unittest.TestCase:
-
__call__(self, *args, **kwds)
- -
__eq__(self, other)
- -
__hash__(self)
- -
__init__(self, methodName='runTest')
Create an instance of the class that will use the named test
-method when executed. Raises a ValueError if the instance does
-not have a method with the specified name.
- -
__ne__(self, other)
- -
__repr__(self)
- -
__str__(self)
- -
addCleanup(self, function, *args, **kwargs)
Add a function, with arguments, to be called when the test is
-completed. Functions added are called on a LIFO basis and are
-called after tearDown on test failure or success.

-Cleanup items are called even if setUp fails (unlike tearDown).
- -
addTypeEqualityFunc(self, typeobj, function)
Add a type specific assertEqual style function to compare a type.

-This method is for use by TestCase subclasses that need to register
-their own type equality functions to provide nicer error messages.

-Args:
-    typeobj: The data type to call this function on when both values
-            are of the same type in assertEqual().
-    function: The callable taking two arguments and an optional
-            msg= argument that raises self.failureException with a
-            useful error message when the two arguments are not equal.
- -
assertAlmostEqual(self, first, second, *, places=7, msg=None)
Fail if the two objects are unequal as determined by their
-difference rounded to the given number of decimal places
-(default 7) and comparing to zero.

-Note that decimal places (from zero) are usually not the same
-as significant digits (measured from the most signficant digit).
- -
assertAlmostEquals = assertAlmostEqual(self, first, second, *, places=7, msg=None)
Fail if the two objects are unequal as determined by their
-difference rounded to the given number of decimal places
-(default 7) and comparing to zero.

-Note that decimal places (from zero) are usually not the same
-as significant digits (measured from the most signficant digit).
- -
assertDictContainsSubset(self, expected, actual, msg=None)
Checks whether actual is a superset of expected.
- -
assertDictEqual(self, d1, d2, msg=None)
- -
assertEqual(self, first, second, msg=None)
Fail if the two objects are unequal as determined by the '=='
-operator.
- -
assertEquals = assertEqual(self, first, second, msg=None)
Fail if the two objects are unequal as determined by the '=='
-operator.
- -
assertFalse(self, expr, msg=None)
Fail the test if the expression is true.
- -
assertGreater(self, a, b, msg=None)
Just like assertTrue(a > b), but with a nicer default message.
- -
assertGreaterEqual(self, a, b, msg=None)
Just like assertTrue(a >= b), but with a nicer default message.
- -
assertIn(self, member, container, msg=None)
Just like assertTrue(a in b), but with a nicer default message.
- -
assertIs(self, expr1, expr2, msg=None)
Just like assertTrue(a is b), but with a nicer default message.
- -
assertIsNone(self, obj, msg=None)
Same as assertTrue(obj is None), with a nicer default message.
- -
assertIsNot(self, expr1, expr2, msg=None)
Just like assertTrue(a is not b), but with a nicer default message.
- -
assertIsNotNone(self, obj, msg=None)
Included for symmetry with assertIsNone.
- -
assertLess(self, a, b, msg=None)
Just like assertTrue(a < b), but with a nicer default message.
- -
assertLessEqual(self, a, b, msg=None)
Just like assertTrue(a <= b), but with a nicer default message.
- -
assertListEqual(self, list1, list2, msg=None)
A list-specific equality assertion.

-Args:
-    list1: The first list to compare.
-    list2: The second list to compare.
-    msg: Optional message to use on failure instead of a list of
-            differences.
- -
assertMultiLineEqual(self, first, second, msg=None)
Assert that two multi-line strings are equal.
- -
assertNotAlmostEqual(self, first, second, *, places=7, msg=None)
Fail if the two objects are equal as determined by their
-difference rounded to the given number of decimal places
-(default 7) and comparing to zero.

-Note that decimal places (from zero) are usually not the same
-as significant digits (measured from the most signficant digit).
- -
assertNotAlmostEquals = assertNotAlmostEqual(self, first, second, *, places=7, msg=None)
Fail if the two objects are equal as determined by their
-difference rounded to the given number of decimal places
-(default 7) and comparing to zero.

-Note that decimal places (from zero) are usually not the same
-as significant digits (measured from the most signficant digit).
- -
assertNotEqual(self, first, second, msg=None)
Fail if the two objects are equal as determined by the '=='
-operator.
- -
assertNotEquals = assertNotEqual(self, first, second, msg=None)
Fail if the two objects are equal as determined by the '=='
-operator.
- -
assertNotIn(self, member, container, msg=None)
Just like assertTrue(a not in b), but with a nicer default message.
- -
assertRaises(self, excClass, callableObj=None, *args, **kwargs)
Fail unless an exception of class excClass is thrown
-by callableObj when invoked with arguments args and keyword
-arguments kwargs. If a different type of exception is
-thrown, it will not be caught, and the test case will be
-deemed to have suffered an error, exactly as for an
-unexpected exception.

-If called with callableObj omitted or None, will return a
-context object used like this::

-     with assertRaises(some_error_class):
-         do_something()
- -
assertRaisesRegexp(self, expected_exception, expected_regexp, callable_obj=None, *args, **kwargs)
Asserts that the message in a raised exception matches a regexp.

-Args:
-    expected_exception: Exception class expected to be raised.
-    expected_regexp: Regexp (re pattern object or string) expected
-            to be found in error message.
-    callable_obj: Function to be called.
-    args: Extra args.
-    kwargs: Extra kwargs.
- -
assertRegexpMatches(self, text, expected_regex, msg=None)
- -
assertSameElements(self, expected_seq, actual_seq, msg=None)
An unordered sequence specific comparison.

-Raises with an error message listing which elements of expected_seq
-are missing from actual_seq and vice versa if any.
- -
assertSequenceEqual(self, seq1, seq2, msg=None, seq_type=None)
An equality assertion for ordered sequences (like lists and tuples).

-For the purposes of this function, a valid orderd sequence type is one
-which can be indexed, has a length, and has an equality operator.

-Args:
-    seq1: The first sequence to compare.
-    seq2: The second sequence to compare.
-    seq_type: The expected datatype of the sequences, or None if no
-            datatype should be enforced.
-    msg: Optional message to use on failure instead of a list of
-            differences.
- -
assertSetEqual(self, set1, set2, msg=None)
A set-specific equality assertion.

-Args:
-    set1: The first set to compare.
-    set2: The second set to compare.
-    msg: Optional message to use on failure instead of a list of
-            differences.

-For more general containership equality, assertSameElements will work
-with things other than sets.    This uses ducktyping to support
-different types of sets, and is optimized for sets specifically
-(parameters must support a difference method).
- -
assertTrue(self, expr, msg=None)
Fail the test unless the expression is true.
- -
assertTupleEqual(self, tuple1, tuple2, msg=None)
A tuple-specific equality assertion.

-Args:
-    tuple1: The first tuple to compare.
-    tuple2: The second tuple to compare.
-    msg: Optional message to use on failure instead of a list of
-            differences.
- -
assert_ = assertTrue(self, expr, msg=None)
Fail the test unless the expression is true.
- -
countTestCases(self)
- -
debug(self)
Run the test without collecting errors in a TestResult
- -
defaultTestResult(self)
- -
doCleanups(self)
Execute all cleanup functions. Normally called for you after
-tearDown.
- -
fail(self, msg=None)
Fail immediately, with the given message.
- -
failIf = deprecated_func(*args, **kwargs)
- -
failIfAlmostEqual = deprecated_func(*args, **kwargs)
- -
failIfEqual = deprecated_func(*args, **kwargs)
- -
failUnless = deprecated_func(*args, **kwargs)
- -
failUnlessAlmostEqual = deprecated_func(*args, **kwargs)
- -
failUnlessEqual = deprecated_func(*args, **kwargs)
- -
failUnlessRaises = deprecated_func(*args, **kwargs)
- -
id(self)
- -
run(self, result=None)
- -
shortDescription(self)
Returns both the test method name and first line of its docstring.

-If no docstring is given, only returns the method name.

-This method overrides unittest.TestCase.shortDescription(), which
-only returns the first line of the docstring, obscuring the name
-of the test upon failure.
- -
skipTest(self, reason)
Skip this test.
- -
-Data descriptors inherited from unittest.TestCase:
-
__dict__
-
dictionary for instance variables (if defined)
-
-
__weakref__
-
list of weak references to the object (if defined)
-
-
-Data and other attributes inherited from unittest.TestCase:
-
failureException = <class 'AssertionError'>
Assertion failed.
- -
longMessage = False
- -

- \ No newline at end of file diff --git a/doc/test.tc_history.html b/doc/test.tc_history.html deleted file mode 100644 index 59b42a9b..00000000 --- a/doc/test.tc_history.html +++ /dev/null @@ -1,290 +0,0 @@ - -Python: module test.tc_history - - - - - -
 
- 
test.tc_history
index
/home/hut/work/ranger/test/tc_history.py
-

-

- - - - - -
 
-Modules
       
unittest
-

- - - - - -
 
-Classes
       
-
unittest.TestCase(builtins.object) -
-
-
Test -
-
-
-

- - - - - -
 
-class Test(unittest.TestCase)
    
Method resolution order:
-
Test
-
unittest.TestCase
-
builtins.object
-
-
-Methods defined here:
-
test_history(self)
- -
-Methods inherited from unittest.TestCase:
-
__call__(self, *args, **kwds)
- -
__eq__(self, other)
- -
__hash__(self)
- -
__init__(self, methodName='runTest')
Create an instance of the class that will use the named test
-method when executed. Raises a ValueError if the instance does
-not have a method with the specified name.
- -
__ne__(self, other)
- -
__repr__(self)
- -
__str__(self)
- -
addCleanup(self, function, *args, **kwargs)
Add a function, with arguments, to be called when the test is
-completed. Functions added are called on a LIFO basis and are
-called after tearDown on test failure or success.

-Cleanup items are called even if setUp fails (unlike tearDown).
- -
addTypeEqualityFunc(self, typeobj, function)
Add a type specific assertEqual style function to compare a type.

-This method is for use by TestCase subclasses that need to register
-their own type equality functions to provide nicer error messages.

-Args:
-    typeobj: The data type to call this function on when both values
-            are of the same type in assertEqual().
-    function: The callable taking two arguments and an optional
-            msg= argument that raises self.failureException with a
-            useful error message when the two arguments are not equal.
- -
assertAlmostEqual(self, first, second, *, places=7, msg=None)
Fail if the two objects are unequal as determined by their
-difference rounded to the given number of decimal places
-(default 7) and comparing to zero.

-Note that decimal places (from zero) are usually not the same
-as significant digits (measured from the most signficant digit).
- -
assertAlmostEquals = assertAlmostEqual(self, first, second, *, places=7, msg=None)
Fail if the two objects are unequal as determined by their
-difference rounded to the given number of decimal places
-(default 7) and comparing to zero.

-Note that decimal places (from zero) are usually not the same
-as significant digits (measured from the most signficant digit).
- -
assertDictContainsSubset(self, expected, actual, msg=None)
Checks whether actual is a superset of expected.
- -
assertDictEqual(self, d1, d2, msg=None)
- -
assertEqual(self, first, second, msg=None)
Fail if the two objects are unequal as determined by the '=='
-operator.
- -
assertEquals = assertEqual(self, first, second, msg=None)
Fail if the two objects are unequal as determined by the '=='
-operator.
- -
assertFalse(self, expr, msg=None)
Fail the test if the expression is true.
- -
assertGreater(self, a, b, msg=None)
Just like assertTrue(a > b), but with a nicer default message.
- -
assertGreaterEqual(self, a, b, msg=None)
Just like assertTrue(a >= b), but with a nicer default message.
- -
assertIn(self, member, container, msg=None)
Just like assertTrue(a in b), but with a nicer default message.
- -
assertIs(self, expr1, expr2, msg=None)
Just like assertTrue(a is b), but with a nicer default message.
- -
assertIsNone(self, obj, msg=None)
Same as assertTrue(obj is None), with a nicer default message.
- -
assertIsNot(self, expr1, expr2, msg=None)
Just like assertTrue(a is not b), but with a nicer default message.
- -
assertIsNotNone(self, obj, msg=None)
Included for symmetry with assertIsNone.
- -
assertLess(self, a, b, msg=None)
Just like assertTrue(a < b), but with a nicer default message.
- -
assertLessEqual(self, a, b, msg=None)
Just like assertTrue(a <= b), but with a nicer default message.
- -
assertListEqual(self, list1, list2, msg=None)
A list-specific equality assertion.

-Args:
-    list1: The first list to compare.
-    list2: The second list to compare.
-    msg: Optional message to use on failure instead of a list of
-            differences.
- -
assertMultiLineEqual(self, first, second, msg=None)
Assert that two multi-line strings are equal.
- -
assertNotAlmostEqual(self, first, second, *, places=7, msg=None)
Fail if the two objects are equal as determined by their
-difference rounded to the given number of decimal places
-(default 7) and comparing to zero.

-Note that decimal places (from zero) are usually not the same
-as significant digits (measured from the most signficant digit).
- -
assertNotAlmostEquals = assertNotAlmostEqual(self, first, second, *, places=7, msg=None)
Fail if the two objects are equal as determined by their
-difference rounded to the given number of decimal places
-(default 7) and comparing to zero.

-Note that decimal places (from zero) are usually not the same
-as significant digits (measured from the most signficant digit).
- -
assertNotEqual(self, first, second, msg=None)
Fail if the two objects are equal as determined by the '=='
-operator.
- -
assertNotEquals = assertNotEqual(self, first, second, msg=None)
Fail if the two objects are equal as determined by the '=='
-operator.
- -
assertNotIn(self, member, container, msg=None)
Just like assertTrue(a not in b), but with a nicer default message.
- -
assertRaises(self, excClass, callableObj=None, *args, **kwargs)
Fail unless an exception of class excClass is thrown
-by callableObj when invoked with arguments args and keyword
-arguments kwargs. If a different type of exception is
-thrown, it will not be caught, and the test case will be
-deemed to have suffered an error, exactly as for an
-unexpected exception.

-If called with callableObj omitted or None, will return a
-context object used like this::

-     with assertRaises(some_error_class):
-         do_something()
- -
assertRaisesRegexp(self, expected_exception, expected_regexp, callable_obj=None, *args, **kwargs)
Asserts that the message in a raised exception matches a regexp.

-Args:
-    expected_exception: Exception class expected to be raised.
-    expected_regexp: Regexp (re pattern object or string) expected
-            to be found in error message.
-    callable_obj: Function to be called.
-    args: Extra args.
-    kwargs: Extra kwargs.
- -
assertRegexpMatches(self, text, expected_regex, msg=None)
- -
assertSameElements(self, expected_seq, actual_seq, msg=None)
An unordered sequence specific comparison.

-Raises with an error message listing which elements of expected_seq
-are missing from actual_seq and vice versa if any.
- -
assertSequenceEqual(self, seq1, seq2, msg=None, seq_type=None)
An equality assertion for ordered sequences (like lists and tuples).

-For the purposes of this function, a valid orderd sequence type is one
-which can be indexed, has a length, and has an equality operator.

-Args:
-    seq1: The first sequence to compare.
-    seq2: The second sequence to compare.
-    seq_type: The expected datatype of the sequences, or None if no
-            datatype should be enforced.
-    msg: Optional message to use on failure instead of a list of
-            differences.
- -
assertSetEqual(self, set1, set2, msg=None)
A set-specific equality assertion.

-Args:
-    set1: The first set to compare.
-    set2: The second set to compare.
-    msg: Optional message to use on failure instead of a list of
-            differences.

-For more general containership equality, assertSameElements will work
-with things other than sets.    This uses ducktyping to support
-different types of sets, and is optimized for sets specifically
-(parameters must support a difference method).
- -
assertTrue(self, expr, msg=None)
Fail the test unless the expression is true.
- -
assertTupleEqual(self, tuple1, tuple2, msg=None)
A tuple-specific equality assertion.

-Args:
-    tuple1: The first tuple to compare.
-    tuple2: The second tuple to compare.
-    msg: Optional message to use on failure instead of a list of
-            differences.
- -
assert_ = assertTrue(self, expr, msg=None)
Fail the test unless the expression is true.
- -
countTestCases(self)
- -
debug(self)
Run the test without collecting errors in a TestResult
- -
defaultTestResult(self)
- -
doCleanups(self)
Execute all cleanup functions. Normally called for you after
-tearDown.
- -
fail(self, msg=None)
Fail immediately, with the given message.
- -
failIf = deprecated_func(*args, **kwargs)
- -
failIfAlmostEqual = deprecated_func(*args, **kwargs)
- -
failIfEqual = deprecated_func(*args, **kwargs)
- -
failUnless = deprecated_func(*args, **kwargs)
- -
failUnlessAlmostEqual = deprecated_func(*args, **kwargs)
- -
failUnlessEqual = deprecated_func(*args, **kwargs)
- -
failUnlessRaises = deprecated_func(*args, **kwargs)
- -
id(self)
- -
run(self, result=None)
- -
setUp(self)
Hook method for setting up the test fixture before exercising it.
- -
shortDescription(self)
Returns both the test method name and first line of its docstring.

-If no docstring is given, only returns the method name.

-This method overrides unittest.TestCase.shortDescription(), which
-only returns the first line of the docstring, obscuring the name
-of the test upon failure.
- -
skipTest(self, reason)
Skip this test.
- -
tearDown(self)
Hook method for deconstructing the test fixture after testing it.
- -
-Data descriptors inherited from unittest.TestCase:
-
__dict__
-
dictionary for instance variables (if defined)
-
-
__weakref__
-
list of weak references to the object (if defined)
-
-
-Data and other attributes inherited from unittest.TestCase:
-
failureException = <class 'AssertionError'>
Assertion failed.
- -
longMessage = False
- -

- \ No newline at end of file diff --git a/doc/test.tc_ui.html b/doc/test.tc_ui.html deleted file mode 100644 index fcea943d..00000000 --- a/doc/test.tc_ui.html +++ /dev/null @@ -1,294 +0,0 @@ - -Python: module test.tc_ui - - - - - -
 
- 
test.tc_ui
index
/home/hut/work/ranger/test/tc_ui.py
-

-

- - - - - -
 
-Modules
       
curses
-
ranger.gui.ui
-
unittest
-

- - - - - -
 
-Classes
       
-
unittest.TestCase(builtins.object) -
-
-
Test -
-
-
-

- - - - - -
 
-class Test(unittest.TestCase)
    
Method resolution order:
-
Test
-
unittest.TestCase
-
builtins.object
-
-
-Methods defined here:
-
setUp(self)
- -
tearDown(self)
- -
test_passing(self)
- -
test_scrolling(self)
- -
-Methods inherited from unittest.TestCase:
-
__call__(self, *args, **kwds)
- -
__eq__(self, other)
- -
__hash__(self)
- -
__init__(self, methodName='runTest')
Create an instance of the class that will use the named test
-method when executed. Raises a ValueError if the instance does
-not have a method with the specified name.
- -
__ne__(self, other)
- -
__repr__(self)
- -
__str__(self)
- -
addCleanup(self, function, *args, **kwargs)
Add a function, with arguments, to be called when the test is
-completed. Functions added are called on a LIFO basis and are
-called after tearDown on test failure or success.

-Cleanup items are called even if setUp fails (unlike tearDown).
- -
addTypeEqualityFunc(self, typeobj, function)
Add a type specific assertEqual style function to compare a type.

-This method is for use by TestCase subclasses that need to register
-their own type equality functions to provide nicer error messages.

-Args:
-    typeobj: The data type to call this function on when both values
-            are of the same type in assertEqual().
-    function: The callable taking two arguments and an optional
-            msg= argument that raises self.failureException with a
-            useful error message when the two arguments are not equal.
- -
assertAlmostEqual(self, first, second, *, places=7, msg=None)
Fail if the two objects are unequal as determined by their
-difference rounded to the given number of decimal places
-(default 7) and comparing to zero.

-Note that decimal places (from zero) are usually not the same
-as significant digits (measured from the most signficant digit).
- -
assertAlmostEquals = assertAlmostEqual(self, first, second, *, places=7, msg=None)
Fail if the two objects are unequal as determined by their
-difference rounded to the given number of decimal places
-(default 7) and comparing to zero.

-Note that decimal places (from zero) are usually not the same
-as significant digits (measured from the most signficant digit).
- -
assertDictContainsSubset(self, expected, actual, msg=None)
Checks whether actual is a superset of expected.
- -
assertDictEqual(self, d1, d2, msg=None)
- -
assertEqual(self, first, second, msg=None)
Fail if the two objects are unequal as determined by the '=='
-operator.
- -
assertEquals = assertEqual(self, first, second, msg=None)
Fail if the two objects are unequal as determined by the '=='
-operator.
- -
assertFalse(self, expr, msg=None)
Fail the test if the expression is true.
- -
assertGreater(self, a, b, msg=None)
Just like assertTrue(a > b), but with a nicer default message.
- -
assertGreaterEqual(self, a, b, msg=None)
Just like assertTrue(a >= b), but with a nicer default message.
- -
assertIn(self, member, container, msg=None)
Just like assertTrue(a in b), but with a nicer default message.
- -
assertIs(self, expr1, expr2, msg=None)
Just like assertTrue(a is b), but with a nicer default message.
- -
assertIsNone(self, obj, msg=None)
Same as assertTrue(obj is None), with a nicer default message.
- -
assertIsNot(self, expr1, expr2, msg=None)
Just like assertTrue(a is not b), but with a nicer default message.
- -
assertIsNotNone(self, obj, msg=None)
Included for symmetry with assertIsNone.
- -
assertLess(self, a, b, msg=None)
Just like assertTrue(a < b), but with a nicer default message.
- -
assertLessEqual(self, a, b, msg=None)
Just like assertTrue(a <= b), but with a nicer default message.
- -
assertListEqual(self, list1, list2, msg=None)
A list-specific equality assertion.

-Args:
-    list1: The first list to compare.
-    list2: The second list to compare.
-    msg: Optional message to use on failure instead of a list of
-            differences.
- -
assertMultiLineEqual(self, first, second, msg=None)
Assert that two multi-line strings are equal.
- -
assertNotAlmostEqual(self, first, second, *, places=7, msg=None)
Fail if the two objects are equal as determined by their
-difference rounded to the given number of decimal places
-(default 7) and comparing to zero.

-Note that decimal places (from zero) are usually not the same
-as significant digits (measured from the most signficant digit).
- -
assertNotAlmostEquals = assertNotAlmostEqual(self, first, second, *, places=7, msg=None)
Fail if the two objects are equal as determined by their
-difference rounded to the given number of decimal places
-(default 7) and comparing to zero.

-Note that decimal places (from zero) are usually not the same
-as significant digits (measured from the most signficant digit).
- -
assertNotEqual(self, first, second, msg=None)
Fail if the two objects are equal as determined by the '=='
-operator.
- -
assertNotEquals = assertNotEqual(self, first, second, msg=None)
Fail if the two objects are equal as determined by the '=='
-operator.
- -
assertNotIn(self, member, container, msg=None)
Just like assertTrue(a not in b), but with a nicer default message.
- -
assertRaises(self, excClass, callableObj=None, *args, **kwargs)
Fail unless an exception of class excClass is thrown
-by callableObj when invoked with arguments args and keyword
-arguments kwargs. If a different type of exception is
-thrown, it will not be caught, and the test case will be
-deemed to have suffered an error, exactly as for an
-unexpected exception.

-If called with callableObj omitted or None, will return a
-context object used like this::

-     with assertRaises(some_error_class):
-         do_something()
- -
assertRaisesRegexp(self, expected_exception, expected_regexp, callable_obj=None, *args, **kwargs)
Asserts that the message in a raised exception matches a regexp.

-Args:
-    expected_exception: Exception class expected to be raised.
-    expected_regexp: Regexp (re pattern object or string) expected
-            to be found in error message.
-    callable_obj: Function to be called.
-    args: Extra args.
-    kwargs: Extra kwargs.
- -
assertRegexpMatches(self, text, expected_regex, msg=None)
- -
assertSameElements(self, expected_seq, actual_seq, msg=None)
An unordered sequence specific comparison.

-Raises with an error message listing which elements of expected_seq
-are missing from actual_seq and vice versa if any.
- -
assertSequenceEqual(self, seq1, seq2, msg=None, seq_type=None)
An equality assertion for ordered sequences (like lists and tuples).

-For the purposes of this function, a valid orderd sequence type is one
-which can be indexed, has a length, and has an equality operator.

-Args:
-    seq1: The first sequence to compare.
-    seq2: The second sequence to compare.
-    seq_type: The expected datatype of the sequences, or None if no
-            datatype should be enforced.
-    msg: Optional message to use on failure instead of a list of
-            differences.
- -
assertSetEqual(self, set1, set2, msg=None)
A set-specific equality assertion.

-Args:
-    set1: The first set to compare.
-    set2: The second set to compare.
-    msg: Optional message to use on failure instead of a list of
-            differences.

-For more general containership equality, assertSameElements will work
-with things other than sets.    This uses ducktyping to support
-different types of sets, and is optimized for sets specifically
-(parameters must support a difference method).
- -
assertTrue(self, expr, msg=None)
Fail the test unless the expression is true.
- -
assertTupleEqual(self, tuple1, tuple2, msg=None)
A tuple-specific equality assertion.

-Args:
-    tuple1: The first tuple to compare.
-    tuple2: The second tuple to compare.
-    msg: Optional message to use on failure instead of a list of
-            differences.
- -
assert_ = assertTrue(self, expr, msg=None)
Fail the test unless the expression is true.
- -
countTestCases(self)
- -
debug(self)
Run the test without collecting errors in a TestResult
- -
defaultTestResult(self)
- -
doCleanups(self)
Execute all cleanup functions. Normally called for you after
-tearDown.
- -
fail(self, msg=None)
Fail immediately, with the given message.
- -
failIf = deprecated_func(*args, **kwargs)
- -
failIfAlmostEqual = deprecated_func(*args, **kwargs)
- -
failIfEqual = deprecated_func(*args, **kwargs)
- -
failUnless = deprecated_func(*args, **kwargs)
- -
failUnlessAlmostEqual = deprecated_func(*args, **kwargs)
- -
failUnlessEqual = deprecated_func(*args, **kwargs)
- -
failUnlessRaises = deprecated_func(*args, **kwargs)
- -
id(self)
- -
run(self, result=None)
- -
shortDescription(self)
Returns both the test method name and first line of its docstring.

-If no docstring is given, only returns the method name.

-This method overrides unittest.TestCase.shortDescription(), which
-only returns the first line of the docstring, obscuring the name
-of the test upon failure.
- -
skipTest(self, reason)
Skip this test.
- -
-Data descriptors inherited from unittest.TestCase:
-
__dict__
-
dictionary for instance variables (if defined)
-
-
__weakref__
-
list of weak references to the object (if defined)
-
-
-Data and other attributes inherited from unittest.TestCase:
-
failureException = <class 'AssertionError'>
Assertion failed.
- -
longMessage = False
- -

- \ No newline at end of file diff --git a/doc/test.test.html b/doc/test.test.html deleted file mode 100644 index f463fa8b..00000000 --- a/doc/test.test.html +++ /dev/null @@ -1,14 +0,0 @@ - -Python: module test.test - - - - - -
 
- 
test.test
index
/home/hut/work/ranger/test/test.py
-

Workaround to allow running single test cases directly

- - \ No newline at end of file -- cgit 1.4.1-2-gfad0