diff options
Diffstat (limited to 'doc')
41 files changed, 247 insertions, 2286 deletions
diff --git a/doc/pydoc/all_tests.html b/doc/pydoc/all_tests.html deleted file mode 100644 index 50c143ee..00000000 --- a/doc/pydoc/all_tests.html +++ /dev/null @@ -1,14 +0,0 @@ - -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<html><head><title>Python: module all_tests</title> -</head><body bgcolor="#f0f0f8"> - -<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading"> -<tr bgcolor="#7799ee"> -<td valign=bottom> <br> -<font color="#ffffff" face="helvetica, arial"> <br><big><big><strong>all_tests</strong></big></big></font></td -><td align=right valign=bottom -><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/home/hut/ranger/all_tests.py">/home/hut/ranger/all_tests.py</a></font></td></tr></table> - <p><tt>Run all the tests inside the test/ directory as a test suite.</tt></p> - -</body></html> \ No newline at end of file diff --git a/doc/pydoc/ranger.__main__.html b/doc/pydoc/ranger.__main__.html index a0ec1557..52cd201e 100644 --- a/doc/pydoc/ranger.__main__.html +++ b/doc/pydoc/ranger.__main__.html @@ -6,7 +6,7 @@ <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading"> <tr bgcolor="#7799ee"> <td valign=bottom> <br> -<font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a href="ranger.html"><font color="#ffffff">ranger</font></a>.__main__</strong></big></big></font></td +<font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a href="ranger.html"><font color="#ffffff">ranger</font></a>.__main__</strong></big></big> (version 1.0.4)</font></td ><td align=right valign=bottom ><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/home/hut/ranger/ranger/__main__.py">/home/hut/ranger/ranger/__main__.py</a></font></td></tr></table> <p><tt># coding=utf-8<br> @@ -32,16 +32,40 @@ <font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr> <tr><td bgcolor="#aa55cc"><tt> </tt></td><td> </td> -<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="os.html">os</a><br> +<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="ranger.ext.curses_interrupt_handler.html">ranger.ext.curses_interrupt_handler</a><br> +</td><td width="25%" valign=top><a href="os.html">os</a><br> +</td><td width="25%" valign=top><a href="ranger.html">ranger</a><br> </td><td width="25%" valign=top><a href="sys.html">sys</a><br> -</td><td width="25%" valign=top></td><td width="25%" valign=top></td></tr></table></td></tr></table><p> +</td></tr></table></td></tr></table><p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#eeaa77"> <td colspan=3 valign=bottom> <br> <font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></big></font></td></tr> <tr><td bgcolor="#eeaa77"><tt> </tt></td><td> </td> -<td width="100%"><dl><dt><a name="-main"><strong>main</strong></a>()</dt><dd><tt>initialize objects and run the filemanager</tt></dd></dl> +<td width="100%"><dl><dt><a name="-load_settings"><strong>load_settings</strong></a>(fm, clean)</dt></dl> + <dl><dt><a name="-main"><strong>main</strong></a>()</dt><dd><tt>initialize objects and run the filemanager</tt></dd></dl> <dl><dt><a name="-parse_arguments"><strong>parse_arguments</strong></a>()</dt><dd><tt>Parse the program arguments</tt></dd></dl> -</td></tr></table> + <dl><dt><a name="-signal"><strong>signal</strong></a>(...)</dt><dd><tt><a href="#-signal">signal</a>(sig, action) -> action<br> + <br> +Set the action for the given signal. The action can be SIG_DFL,<br> +SIG_IGN, or a callable Python object. The previous action is<br> +returned. See getsignal() for possible return values.<br> + <br> +*** IMPORTANT NOTICE ***<br> +A signal handler function is called with two arguments:<br> +the first is the signal number, the second is the interrupted stack frame.</tt></dd></dl> +</td></tr></table><p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#55aa55"> +<td colspan=3 valign=bottom> <br> +<font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr> + +<tr><td bgcolor="#55aa55"><tt> </tt></td><td> </td> +<td width="100%"><strong>DEFAULT_CONFDIR</strong> = '~/.ranger'<br> +<strong>LC_ALL</strong> = 6<br> +<strong>SIGINT</strong> = 2<br> +<strong>SUPPRESS_HELP</strong> = 'SUPPRESSHELP'<br> +<strong>USAGE</strong> = '%prog [options] [path/filename]'<br> +<strong>__version__</strong> = '1.0.4'</td></tr></table> </body></html> \ No newline at end of file diff --git a/doc/pydoc/ranger.container.commandlist.html b/doc/pydoc/ranger.container.commandlist.html index 6b17bb06..bf0cec6c 100644 --- a/doc/pydoc/ranger.container.commandlist.html +++ b/doc/pydoc/ranger.container.commandlist.html @@ -8,21 +8,8 @@ <td valign=bottom> <br> <font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a href="ranger.html"><font color="#ffffff">ranger</font></a>.<a href="ranger.container.html"><font color="#ffffff">container</font></a>.commandlist</strong></big></big></font></td ><td align=right valign=bottom -><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/home/hut/ranger/ranger/container/commandlist.py">/home/hut/ranger/ranger/container/commandlist.py</a></font></td></tr></table> - <p><tt># Copyright (C) 2009, 2010 Roman Zimbelmann <romanz@lavabit.com><br> -#<br> -# This program is free software: you can redistribute it and/or modify<br> -# it under the terms of the GNU General Public License as published by<br> -# the Free Software Foundation, either version 3 of the License, or<br> -# (at your option) any later version.<br> -#<br> -# This program is distributed in the hope that it will be useful,<br> -# but WITHOUT ANY WARRANTY; without even the implied warranty of<br> -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the<br> -# GNU General Public License for more details.<br> -#<br> -# You should have received a copy of the GNU General Public License<br> -# along with this program. If not, see <<a href="http://www.gnu.org/licenses/">http://www.gnu.org/licenses/</a>>.</tt></p> +><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/home/hut/ranger/ranger/container/commandlist.pyc">/home/hut/ranger/ranger/container/commandlist.pyc</a></font></td></tr></table> + <p></p> <p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#ee77aa"> diff --git a/doc/pydoc/ranger.container.html b/doc/pydoc/ranger.container.html index 2e464299..dcc5958d 100644 --- a/doc/pydoc/ranger.container.html +++ b/doc/pydoc/ranger.container.html @@ -22,6 +22,7 @@ used to manage stored data</tt></p> <a href="ranger.container.commandlist.html">commandlist</a><br> </td><td width="25%" valign=top><a href="ranger.container.history.html">history</a><br> <a href="ranger.container.keybuffer.html">keybuffer</a><br> -</td><td width="25%" valign=top><a href="ranger.container.tags.html">tags</a><br> +</td><td width="25%" valign=top><a href="ranger.container.keymap.html">keymap</a><br> +<a href="ranger.container.tags.html">tags</a><br> </td><td width="25%" valign=top></td></tr></table></td></tr></table> </body></html> \ No newline at end of file diff --git a/doc/pydoc/ranger.container.keybuffer.html b/doc/pydoc/ranger.container.keybuffer.html index 5ebc033a..c3f30471 100644 --- a/doc/pydoc/ranger.container.keybuffer.html +++ b/doc/pydoc/ranger.container.keybuffer.html @@ -25,6 +25,14 @@ # along with this program. If not, see <<a href="http://www.gnu.org/licenses/">http://www.gnu.org/licenses/</a>>.</tt></p> <p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#aa55cc"> +<td colspan=3 valign=bottom> <br> +<font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr> + +<tr><td bgcolor="#aa55cc"><tt> </tt></td><td> </td> +<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="curses.html">curses</a><br> +</td><td width="25%" valign=top></td><td width="25%" valign=top></td><td width="25%" valign=top></td></tr></table></td></tr></table><p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#ee77aa"> <td colspan=3 valign=bottom> <br> <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr> @@ -44,22 +52,19 @@ <td colspan=3 valign=bottom> <br> <font color="#000000" face="helvetica, arial"><a name="KeyBuffer">class <strong>KeyBuffer</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr> -<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> +<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> +<td colspan=2><tt>The evaluator and storage for pressed keys<br> </tt></td></tr> +<tr><td> </td> <td width="100%">Methods defined here:<br> -<dl><dt><a name="KeyBuffer-__init__"><strong>__init__</strong></a>(self)</dt></dl> +<dl><dt><a name="KeyBuffer-__init__"><strong>__init__</strong></a>(self, keymap, direction_keys)</dt></dl> <dl><dt><a name="KeyBuffer-__str__"><strong>__str__</strong></a>(self)</dt><dd><tt>returns a concatenation of all characters</tt></dd></dl> -<dl><dt><a name="KeyBuffer-append"><strong>append</strong></a>(self, key)</dt><dd><tt>Append a key to the keybuffer, or initial numbers to<br> -the number attribute.</tt></dd></dl> - -<dl><dt><a name="KeyBuffer-clear"><strong>clear</strong></a>(self)</dt><dd><tt>Clear the keybuffer and restore the initial state</tt></dd></dl> +<dl><dt><a name="KeyBuffer-add"><strong>add</strong></a>(self, key)</dt><dd><tt>Add a key and evaluate it</tt></dd></dl> -<dl><dt><a name="KeyBuffer-tuple_with_numbers"><strong>tuple_with_numbers</strong></a>(self)</dt><dd><tt>Get a tuple of ascii codes.</tt></dd></dl> +<dl><dt><a name="KeyBuffer-assign"><strong>assign</strong></a>(self, keymap, direction_keys)</dt><dd><tt>Change the keymap and direction keys of the keybuffer</tt></dd></dl> -<dl><dt><a name="KeyBuffer-tuple_without_numbers"><strong>tuple_without_numbers</strong></a>(self)</dt><dd><tt>Get a tuple of ascii codes.<br> -If the keybuffer starts with numbers, those will<br> -be left out. To access them, use keybuffer.number</tt></dd></dl> +<dl><dt><a name="KeyBuffer-clear"><strong>clear</strong></a>(self)</dt><dd><tt>Reset the keybuffer. Do this once before the first usage.</tt></dd></dl> <hr> Data descriptors defined here:<br> @@ -71,19 +76,15 @@ Data descriptors defined here:<br> </dl> </td></tr></table></td></tr></table><p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> -<tr bgcolor="#eeaa77"> -<td colspan=3 valign=bottom> <br> -<font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></big></font></td></tr> - -<tr><td bgcolor="#eeaa77"><tt> </tt></td><td> </td> -<td width="100%"><dl><dt><a name="-to_string"><strong>to_string</strong></a>(i)</dt></dl> -</td></tr></table><p> -<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#55aa55"> <td colspan=3 valign=bottom> <br> <font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr> <tr><td bgcolor="#55aa55"><tt> </tt></td><td> </td> -<td width="100%"><strong>NINE</strong> = 57<br> -<strong>ZERO</strong> = 48</td></tr></table> +<td width="100%"><strong>ANYKEY</strong> = 9002<br> +<strong>DIRKEY</strong> = 9001<br> +<strong>MAX_ALIAS_RECURSION</strong> = 20<br> +<strong>PASSIVE_ACTION</strong> = 9003<br> +<strong>digitlist</strong> = set([48, 49, 50, 51, 52, 53, ...])<br> +<strong>digits</strong> = '0123456789'</td></tr></table> </body></html> \ No newline at end of file diff --git a/doc/pydoc/ranger.defaults.apps.html b/doc/pydoc/ranger.defaults.apps.html index a759a187..4f38da10 100644 --- a/doc/pydoc/ranger.defaults.apps.html +++ b/doc/pydoc/ranger.defaults.apps.html @@ -45,10 +45,11 @@ This example modifies the behaviour of "feh" <font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr> <tr><td bgcolor="#aa55cc"><tt> </tt></td><td> </td> -<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="os.html">os</a><br> +<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="ranger.api.commands.html">ranger.api.commands</a><br> +</td><td width="25%" valign=top><a href="os.html">os</a><br> </td><td width="25%" valign=top><a href="re.html">re</a><br> </td><td width="25%" valign=top><a href="sys.html">sys</a><br> -</td><td width="25%" valign=top></td></tr></table></td></tr></table><p> +</td></tr></table></td></tr></table><p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#ee77aa"> <td colspan=3 valign=bottom> <br> @@ -95,6 +96,8 @@ Methods defined here:<br> <dl><dt><a name="CustomApplications-app_eye_of_gnome"><strong>app_eye_of_gnome</strong></a>(self, c)</dt></dl> +<dl><dt><a name="CustomApplications-app_fceux"><strong>app_fceux</strong></a>(self, c)</dt></dl> + <dl><dt><a name="CustomApplications-app_feh"><strong>app_feh</strong></a>(self, c)</dt></dl> <dl><dt><a name="CustomApplications-app_firefox"><strong>app_firefox</strong></a>(self, c)</dt></dl> @@ -158,6 +161,6 @@ Data descriptors inherited from <a href="ranger.shared.html#Awareness">ranger.sh <font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr> <tr><td bgcolor="#55aa55"><tt> </tt></td><td> </td> -<td width="100%"><strong>INTERPRETED_LANGUAGES</strong> = <_sre.SRE_Pattern object><br> -<strong>PIPE</strong> = -1</td></tr></table> +<td width="100%"><strong>DELETE_WARNING</strong> = 'delete seriously? '<br> +<strong>INTERPRETED_LANGUAGES</strong> = <_sre.SRE_Pattern object></td></tr></table> </body></html> \ No newline at end of file diff --git a/doc/pydoc/ranger.defaults.keys.html b/doc/pydoc/ranger.defaults.keys.html deleted file mode 100644 index ee20b40b..00000000 --- a/doc/pydoc/ranger.defaults.keys.html +++ /dev/null @@ -1,380 +0,0 @@ - -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<html><head><title>Python: module ranger.defaults.keys</title> -</head><body bgcolor="#f0f0f8"> - -<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading"> -<tr bgcolor="#7799ee"> -<td valign=bottom> <br> -<font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a href="ranger.html"><font color="#ffffff">ranger</font></a>.<a href="ranger.defaults.html"><font color="#ffffff">defaults</font></a>.keys</strong></big></big></font></td -><td align=right valign=bottom -><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/home/hut/ranger/ranger/defaults/keys.py">/home/hut/ranger/ranger/defaults/keys.py</a></font></td></tr></table> - <p><tt>This is the default key configuration file of ranger.<br> -Syntax for binding keys: map(*keys, fnc)<br> - <br> -keys are one or more key-combinations which are either:<br> -* a string<br> -* an integer which represents an ascii code<br> -* a tuple of integers<br> - <br> -fnc is a function which is called with the CommandArgument object.<br> - <br> -The CommandArgument object has these attributes:<br> -arg.fm: the file manager instance<br> -arg.wdg: the widget or ui instance<br> -arg.n: the number typed before the key combination (if allowed)<br> -arg.keys: the string representation of the used key combination<br> -arg.keybuffer: the keybuffer instance<br> - <br> -Check ranger.keyapi for more information</tt></p> -<p> -<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> -<tr bgcolor="#aa55cc"> -<td colspan=3 valign=bottom> <br> -<font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr> - -<tr><td bgcolor="#aa55cc"><tt> </tt></td><td> </td> -<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="ranger.gui.widgets.console_mode.html">ranger.gui.widgets.console_mode</a><br> -</td><td width="25%" valign=top><a href="os.html">os</a><br> -</td><td width="25%" valign=top></td><td width="25%" valign=top></td></tr></table></td></tr></table><p> -<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> -<tr bgcolor="#eeaa77"> -<td colspan=3 valign=bottom> <br> -<font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></big></font></td></tr> - -<tr><td bgcolor="#eeaa77"><tt> </tt></td><td> </td> -<td width="100%"><dl><dt><a name="-baudrate"><strong>baudrate</strong></a>(...)</dt></dl> - <dl><dt><a name="-beep"><strong>beep</strong></a>(...)</dt></dl> - <dl><dt><a name="-can_change_color"><strong>can_change_color</strong></a>(...)</dt></dl> - <dl><dt><a name="-cbreak"><strong>cbreak</strong></a>(...)</dt></dl> - <dl><dt><a name="-color_content"><strong>color_content</strong></a>(...)</dt></dl> - <dl><dt><a name="-color_pair"><strong>color_pair</strong></a>(...)</dt></dl> - <dl><dt><a name="-curs_set"><strong>curs_set</strong></a>(...)</dt></dl> - <dl><dt><a name="-def_prog_mode"><strong>def_prog_mode</strong></a>(...)</dt></dl> - <dl><dt><a name="-def_shell_mode"><strong>def_shell_mode</strong></a>(...)</dt></dl> - <dl><dt><a name="-delay_output"><strong>delay_output</strong></a>(...)</dt></dl> - <dl><dt><a name="-doupdate"><strong>doupdate</strong></a>(...)</dt></dl> - <dl><dt><a name="-echo"><strong>echo</strong></a>(...)</dt></dl> - <dl><dt><a name="-endwin"><strong>endwin</strong></a>(...)</dt></dl> - <dl><dt><a name="-erasechar"><strong>erasechar</strong></a>(...)</dt></dl> - <dl><dt><a name="-filter"><strong>filter</strong></a>(...)</dt></dl> - <dl><dt><a name="-flash"><strong>flash</strong></a>(...)</dt></dl> - <dl><dt><a name="-flushinp"><strong>flushinp</strong></a>(...)</dt></dl> - <dl><dt><a name="-getmouse"><strong>getmouse</strong></a>(...)</dt></dl> - <dl><dt><a name="-getsyx"><strong>getsyx</strong></a>(...)</dt></dl> - <dl><dt><a name="-getwin"><strong>getwin</strong></a>(...)</dt></dl> - <dl><dt><a name="-halfdelay"><strong>halfdelay</strong></a>(...)</dt></dl> - <dl><dt><a name="-has_colors"><strong>has_colors</strong></a>(...)</dt></dl> - <dl><dt><a name="-has_ic"><strong>has_ic</strong></a>(...)</dt></dl> - <dl><dt><a name="-has_il"><strong>has_il</strong></a>(...)</dt></dl> - <dl><dt><a name="-has_key"><strong>has_key</strong></a>(...)</dt></dl> - <dl><dt><a name="-init_color"><strong>init_color</strong></a>(...)</dt></dl> - <dl><dt><a name="-init_pair"><strong>init_pair</strong></a>(...)</dt></dl> - <dl><dt><a name="-initialize_commands"><strong>initialize_commands</strong></a>(map)</dt><dd><tt>Initialize the commands for the main user interface</tt></dd></dl> - <dl><dt><a name="-initialize_console_commands"><strong>initialize_console_commands</strong></a>(map)</dt><dd><tt>Initialize the commands for the console widget only</tt></dd></dl> - <dl><dt><a name="-initialize_embedded_pager_commands"><strong>initialize_embedded_pager_commands</strong></a>(map)</dt></dl> - <dl><dt><a name="-initialize_pager_commands"><strong>initialize_pager_commands</strong></a>(map)</dt></dl> - <dl><dt><a name="-initialize_taskview_commands"><strong>initialize_taskview_commands</strong></a>(map)</dt><dd><tt>Initialize the commands for the TaskView widget</tt></dd></dl> - <dl><dt><a name="-intrflush"><strong>intrflush</strong></a>(...)</dt></dl> - <dl><dt><a name="-is_term_resized"><strong>is_term_resized</strong></a>(...)</dt></dl> - <dl><dt><a name="-isendwin"><strong>isendwin</strong></a>(...)</dt></dl> - <dl><dt><a name="-keyname"><strong>keyname</strong></a>(...)</dt></dl> - <dl><dt><a name="-killchar"><strong>killchar</strong></a>(...)</dt></dl> - <dl><dt><a name="-longname"><strong>longname</strong></a>(...)</dt></dl> - <dl><dt><a name="-meta"><strong>meta</strong></a>(...)</dt></dl> - <dl><dt><a name="-mouseinterval"><strong>mouseinterval</strong></a>(...)</dt></dl> - <dl><dt><a name="-mousemask"><strong>mousemask</strong></a>(...)</dt></dl> - <dl><dt><a name="-napms"><strong>napms</strong></a>(...)</dt></dl> - <dl><dt><a name="-newpad"><strong>newpad</strong></a>(...)</dt></dl> - <dl><dt><a name="-newwin"><strong>newwin</strong></a>(...)</dt></dl> - <dl><dt><a name="-nl"><strong>nl</strong></a>(...)</dt></dl> - <dl><dt><a name="-nocbreak"><strong>nocbreak</strong></a>(...)</dt></dl> - <dl><dt><a name="-noecho"><strong>noecho</strong></a>(...)</dt></dl> - <dl><dt><a name="-nonl"><strong>nonl</strong></a>(...)</dt></dl> - <dl><dt><a name="-noqiflush"><strong>noqiflush</strong></a>(...)</dt></dl> - <dl><dt><a name="-noraw"><strong>noraw</strong></a>(...)</dt></dl> - <dl><dt><a name="-pair_content"><strong>pair_content</strong></a>(...)</dt></dl> - <dl><dt><a name="-pair_number"><strong>pair_number</strong></a>(...)</dt></dl> - <dl><dt><a name="-putp"><strong>putp</strong></a>(...)</dt></dl> - <dl><dt><a name="-qiflush"><strong>qiflush</strong></a>(...)</dt></dl> - <dl><dt><a name="-raw"><strong>raw</strong></a>(...)</dt></dl> - <dl><dt><a name="-reset_prog_mode"><strong>reset_prog_mode</strong></a>(...)</dt></dl> - <dl><dt><a name="-reset_shell_mode"><strong>reset_shell_mode</strong></a>(...)</dt></dl> - <dl><dt><a name="-resetty"><strong>resetty</strong></a>(...)</dt></dl> - <dl><dt><a name="-resize_term"><strong>resize_term</strong></a>(...)</dt></dl> - <dl><dt><a name="-resizeterm"><strong>resizeterm</strong></a>(...)</dt></dl> - <dl><dt><a name="-savetty"><strong>savetty</strong></a>(...)</dt></dl> - <dl><dt><a name="-setsyx"><strong>setsyx</strong></a>(...)</dt></dl> - <dl><dt><a name="-setupterm"><strong>setupterm</strong></a>(...)</dt></dl> - <dl><dt><a name="-termattrs"><strong>termattrs</strong></a>(...)</dt></dl> - <dl><dt><a name="-termname"><strong>termname</strong></a>(...)</dt></dl> - <dl><dt><a name="-tigetflag"><strong>tigetflag</strong></a>(...)</dt></dl> - <dl><dt><a name="-tigetnum"><strong>tigetnum</strong></a>(...)</dt></dl> - <dl><dt><a name="-tigetstr"><strong>tigetstr</strong></a>(...)</dt></dl> - <dl><dt><a name="-tparm"><strong>tparm</strong></a>(...)</dt></dl> - <dl><dt><a name="-typeahead"><strong>typeahead</strong></a>(...)</dt></dl> - <dl><dt><a name="-ungetch"><strong>ungetch</strong></a>(...)</dt></dl> - <dl><dt><a name="-ungetmouse"><strong>ungetmouse</strong></a>(...)</dt></dl> - <dl><dt><a name="-use_default_colors"><strong>use_default_colors</strong></a>(...)</dt></dl> - <dl><dt><a name="-use_env"><strong>use_env</strong></a>(...)</dt></dl> -</td></tr></table><p> -<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> -<tr bgcolor="#55aa55"> -<td colspan=3 valign=bottom> <br> -<font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr> - -<tr><td bgcolor="#55aa55"><tt> </tt></td><td> </td> -<td width="100%"><strong>ACK</strong> = 6<br> -<strong>ALLOWED_BOOKMARK_KEYS</strong> = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789`'"<br> -<strong>ALL_MOUSE_EVENTS</strong> = 134217727<br> -<strong>A_ALTCHARSET</strong> = 4194304<br> -<strong>A_ATTRIBUTES</strong> = 4294967040<br> -<strong>A_BLINK</strong> = 524288<br> -<strong>A_BOLD</strong> = 2097152<br> -<strong>A_CHARTEXT</strong> = 255<br> -<strong>A_COLOR</strong> = 65280<br> -<strong>A_DIM</strong> = 1048576<br> -<strong>A_HORIZONTAL</strong> = 33554432<br> -<strong>A_INVIS</strong> = 8388608<br> -<strong>A_LEFT</strong> = 67108864<br> -<strong>A_LOW</strong> = 134217728<br> -<strong>A_NORMAL</strong> = 0<br> -<strong>A_PROTECT</strong> = 16777216<br> -<strong>A_REVERSE</strong> = 262144<br> -<strong>A_RIGHT</strong> = 268435456<br> -<strong>A_STANDOUT</strong> = 65536<br> -<strong>A_TOP</strong> = 536870912<br> -<strong>A_UNDERLINE</strong> = 131072<br> -<strong>A_VERTICAL</strong> = 1073741824<br> -<strong>BEL</strong> = 7<br> -<strong>BS</strong> = 8<br> -<strong>BUTTON1_CLICKED</strong> = 4<br> -<strong>BUTTON1_DOUBLE_CLICKED</strong> = 8<br> -<strong>BUTTON1_PRESSED</strong> = 2<br> -<strong>BUTTON1_RELEASED</strong> = 1<br> -<strong>BUTTON1_TRIPLE_CLICKED</strong> = 16<br> -<strong>BUTTON2_CLICKED</strong> = 256<br> -<strong>BUTTON2_DOUBLE_CLICKED</strong> = 512<br> -<strong>BUTTON2_PRESSED</strong> = 128<br> -<strong>BUTTON2_RELEASED</strong> = 64<br> -<strong>BUTTON2_TRIPLE_CLICKED</strong> = 1024<br> -<strong>BUTTON3_CLICKED</strong> = 16384<br> -<strong>BUTTON3_DOUBLE_CLICKED</strong> = 32768<br> -<strong>BUTTON3_PRESSED</strong> = 8192<br> -<strong>BUTTON3_RELEASED</strong> = 4096<br> -<strong>BUTTON3_TRIPLE_CLICKED</strong> = 65536<br> -<strong>BUTTON4_CLICKED</strong> = 1048576<br> -<strong>BUTTON4_DOUBLE_CLICKED</strong> = 2097152<br> -<strong>BUTTON4_PRESSED</strong> = 524288<br> -<strong>BUTTON4_RELEASED</strong> = 262144<br> -<strong>BUTTON4_TRIPLE_CLICKED</strong> = 4194304<br> -<strong>BUTTON_ALT</strong> = 67108864<br> -<strong>BUTTON_CTRL</strong> = 16777216<br> -<strong>BUTTON_SHIFT</strong> = 33554432<br> -<strong>CAN</strong> = 24<br> -<strong>COLOR_BLACK</strong> = 0<br> -<strong>COLOR_BLUE</strong> = 4<br> -<strong>COLOR_CYAN</strong> = 6<br> -<strong>COLOR_GREEN</strong> = 2<br> -<strong>COLOR_MAGENTA</strong> = 5<br> -<strong>COLOR_RED</strong> = 1<br> -<strong>COLOR_WHITE</strong> = 7<br> -<strong>COLOR_YELLOW</strong> = 3<br> -<strong>CR</strong> = 13<br> -<strong>DC1</strong> = 17<br> -<strong>DC2</strong> = 18<br> -<strong>DC3</strong> = 19<br> -<strong>DC4</strong> = 20<br> -<strong>DEL</strong> = 127<br> -<strong>DLE</strong> = 16<br> -<strong>EM</strong> = 25<br> -<strong>ENQ</strong> = 5<br> -<strong>EOT</strong> = 4<br> -<strong>ERR</strong> = -1<br> -<strong>ESC</strong> = 27<br> -<strong>ETB</strong> = 23<br> -<strong>ETX</strong> = 3<br> -<strong>FF</strong> = 12<br> -<strong>FS</strong> = 28<br> -<strong>GS</strong> = 29<br> -<strong>HT</strong> = 9<br> -<strong>KEY_A1</strong> = 348<br> -<strong>KEY_A3</strong> = 349<br> -<strong>KEY_B2</strong> = 350<br> -<strong>KEY_BACKSPACE</strong> = 263<br> -<strong>KEY_BEG</strong> = 354<br> -<strong>KEY_BREAK</strong> = 257<br> -<strong>KEY_BTAB</strong> = 353<br> -<strong>KEY_C1</strong> = 351<br> -<strong>KEY_C3</strong> = 352<br> -<strong>KEY_CANCEL</strong> = 355<br> -<strong>KEY_CATAB</strong> = 342<br> -<strong>KEY_CLEAR</strong> = 333<br> -<strong>KEY_CLOSE</strong> = 356<br> -<strong>KEY_COMMAND</strong> = 357<br> -<strong>KEY_COPY</strong> = 358<br> -<strong>KEY_CREATE</strong> = 359<br> -<strong>KEY_CTAB</strong> = 341<br> -<strong>KEY_DC</strong> = 330<br> -<strong>KEY_DL</strong> = 328<br> -<strong>KEY_DOWN</strong> = 258<br> -<strong>KEY_EIC</strong> = 332<br> -<strong>KEY_END</strong> = 360<br> -<strong>KEY_ENTER</strong> = 343<br> -<strong>KEY_EOL</strong> = 335<br> -<strong>KEY_EOS</strong> = 334<br> -<strong>KEY_EXIT</strong> = 361<br> -<strong>KEY_F0</strong> = 264<br> -<strong>KEY_F1</strong> = 265<br> -<strong>KEY_F10</strong> = 274<br> -<strong>KEY_F11</strong> = 275<br> -<strong>KEY_F12</strong> = 276<br> -<strong>KEY_F13</strong> = 277<br> -<strong>KEY_F14</strong> = 278<br> -<strong>KEY_F15</strong> = 279<br> -<strong>KEY_F16</strong> = 280<br> -<strong>KEY_F17</strong> = 281<br> -<strong>KEY_F18</strong> = 282<br> -<strong>KEY_F19</strong> = 283<br> -<strong>KEY_F2</strong> = 266<br> -<strong>KEY_F20</strong> = 284<br> -<strong>KEY_F21</strong> = 285<br> -<strong>KEY_F22</strong> = 286<br> -<strong>KEY_F23</strong> = 287<br> -<strong>KEY_F24</strong> = 288<br> -<strong>KEY_F25</strong> = 289<br> -<strong>KEY_F26</strong> = 290<br> -<strong>KEY_F27</strong> = 291<br> -<strong>KEY_F28</strong> = 292<br> -<strong>KEY_F29</strong> = 293<br> -<strong>KEY_F3</strong> = 267<br> -<strong>KEY_F30</strong> = 294<br> -<strong>KEY_F31</strong> = 295<br> -<strong>KEY_F32</strong> = 296<br> -<strong>KEY_F33</strong> = 297<br> -<strong>KEY_F34</strong> = 298<br> -<strong>KEY_F35</strong> = 299<br> -<strong>KEY_F36</strong> = 300<br> -<strong>KEY_F37</strong> = 301<br> -<strong>KEY_F38</strong> = 302<br> -<strong>KEY_F39</strong> = 303<br> -<strong>KEY_F4</strong> = 268<br> -<strong>KEY_F40</strong> = 304<br> -<strong>KEY_F41</strong> = 305<br> -<strong>KEY_F42</strong> = 306<br> -<strong>KEY_F43</strong> = 307<br> -<strong>KEY_F44</strong> = 308<br> -<strong>KEY_F45</strong> = 309<br> -<strong>KEY_F46</strong> = 310<br> -<strong>KEY_F47</strong> = 311<br> -<strong>KEY_F48</strong> = 312<br> -<strong>KEY_F49</strong> = 313<br> -<strong>KEY_F5</strong> = 269<br> -<strong>KEY_F50</strong> = 314<br> -<strong>KEY_F51</strong> = 315<br> -<strong>KEY_F52</strong> = 316<br> -<strong>KEY_F53</strong> = 317<br> -<strong>KEY_F54</strong> = 318<br> -<strong>KEY_F55</strong> = 319<br> -<strong>KEY_F56</strong> = 320<br> -<strong>KEY_F57</strong> = 321<br> -<strong>KEY_F58</strong> = 322<br> -<strong>KEY_F59</strong> = 323<br> -<strong>KEY_F6</strong> = 270<br> -<strong>KEY_F60</strong> = 324<br> -<strong>KEY_F61</strong> = 325<br> -<strong>KEY_F62</strong> = 326<br> -<strong>KEY_F63</strong> = 327<br> -<strong>KEY_F7</strong> = 271<br> -<strong>KEY_F8</strong> = 272<br> -<strong>KEY_F9</strong> = 273<br> -<strong>KEY_FIND</strong> = 362<br> -<strong>KEY_HELP</strong> = 363<br> -<strong>KEY_HOME</strong> = 262<br> -<strong>KEY_IC</strong> = 331<br> -<strong>KEY_IL</strong> = 329<br> -<strong>KEY_LEFT</strong> = 260<br> -<strong>KEY_LL</strong> = 347<br> -<strong>KEY_MARK</strong> = 364<br> -<strong>KEY_MAX</strong> = 511<br> -<strong>KEY_MESSAGE</strong> = 365<br> -<strong>KEY_MIN</strong> = 257<br> -<strong>KEY_MOUSE</strong> = 409<br> -<strong>KEY_MOVE</strong> = 366<br> -<strong>KEY_NEXT</strong> = 367<br> -<strong>KEY_NPAGE</strong> = 338<br> -<strong>KEY_OPEN</strong> = 368<br> -<strong>KEY_OPTIONS</strong> = 369<br> -<strong>KEY_PPAGE</strong> = 339<br> -<strong>KEY_PREVIOUS</strong> = 370<br> -<strong>KEY_PRINT</strong> = 346<br> -<strong>KEY_REDO</strong> = 371<br> -<strong>KEY_REFERENCE</strong> = 372<br> -<strong>KEY_REFRESH</strong> = 373<br> -<strong>KEY_REPLACE</strong> = 374<br> -<strong>KEY_RESET</strong> = 345<br> -<strong>KEY_RESIZE</strong> = 410<br> -<strong>KEY_RESTART</strong> = 375<br> -<strong>KEY_RESUME</strong> = 376<br> -<strong>KEY_RIGHT</strong> = 261<br> -<strong>KEY_SAVE</strong> = 377<br> -<strong>KEY_SBEG</strong> = 378<br> -<strong>KEY_SCANCEL</strong> = 379<br> -<strong>KEY_SCOMMAND</strong> = 380<br> -<strong>KEY_SCOPY</strong> = 381<br> -<strong>KEY_SCREATE</strong> = 382<br> -<strong>KEY_SDC</strong> = 383<br> -<strong>KEY_SDL</strong> = 384<br> -<strong>KEY_SELECT</strong> = 385<br> -<strong>KEY_SEND</strong> = 386<br> -<strong>KEY_SEOL</strong> = 387<br> -<strong>KEY_SEXIT</strong> = 388<br> -<strong>KEY_SF</strong> = 336<br> -<strong>KEY_SFIND</strong> = 389<br> -<strong>KEY_SHELP</strong> = 390<br> -<strong>KEY_SHOME</strong> = 391<br> -<strong>KEY_SIC</strong> = 392<br> -<strong>KEY_SLEFT</strong> = 393<br> -<strong>KEY_SMESSAGE</strong> = 394<br> -<strong>KEY_SMOVE</strong> = 395<br> -<strong>KEY_SNEXT</strong> = 396<br> -<strong>KEY_SOPTIONS</strong> = 397<br> -<strong>KEY_SPREVIOUS</strong> = 398<br> -<strong>KEY_SPRINT</strong> = 399<br> -<strong>KEY_SR</strong> = 337<br> -<strong>KEY_SREDO</strong> = 400<br> -<strong>KEY_SREPLACE</strong> = 401<br> -<strong>KEY_SRESET</strong> = 344<br> -<strong>KEY_SRIGHT</strong> = 402<br> -<strong>KEY_SRSUME</strong> = 403<br> -<strong>KEY_SSAVE</strong> = 404<br> -<strong>KEY_SSUSPEND</strong> = 405<br> -<strong>KEY_STAB</strong> = 340<br> -<strong>KEY_SUNDO</strong> = 406<br> -<strong>KEY_SUSPEND</strong> = 407<br> -<strong>KEY_UNDO</strong> = 408<br> -<strong>KEY_UP</strong> = 259<br> -<strong>LF</strong> = 10<br> -<strong>NAK</strong> = 21<br> -<strong>NARG_KEYWORD</strong> = 'narg'<br> -<strong>NL</strong> = 10<br> -<strong>NUL</strong> = 0<br> -<strong>OK</strong> = 0<br> -<strong>RANGERDIR</strong> = '/home/hut/ranger/ranger'<br> -<strong>REPORT_MOUSE_POSITION</strong> = 134217728<br> -<strong>RS</strong> = 30<br> -<strong>SI</strong> = 15<br> -<strong>SO</strong> = 14<br> -<strong>SOH</strong> = 1<br> -<strong>SP</strong> = 32<br> -<strong>STX</strong> = 2<br> -<strong>SUB</strong> = 26<br> -<strong>SYN</strong> = 22<br> -<strong>TAB</strong> = 9<br> -<strong>US</strong> = 31<br> -<strong>VT</strong> = 11<br> -<strong>controlnames</strong> = ['NUL', 'SOH', 'STX', 'ETX', 'EOT', 'ENQ', 'ACK', 'BEL', 'BS', 'HT', 'LF', 'VT', 'FF', 'CR', 'SO', 'SI', 'DLE', 'DC1', 'DC2', 'DC3', ...]<br> -<strong>fm</strong> = <ranger.api.keys.Wrapper object><br> -<strong>version</strong> = '2.2'<br> -<strong>wdg</strong> = <ranger.api.keys.Wrapper object></td></tr></table> -</body></html> \ No newline at end of file diff --git a/doc/pydoc/ranger.defaults.options.html b/doc/pydoc/ranger.defaults.options.html index fae9598c..db0c9512 100644 --- a/doc/pydoc/ranger.defaults.options.html +++ b/doc/pydoc/ranger.defaults.options.html @@ -32,8 +32,11 @@ of the values stay the same.</tt></p> <tr><td bgcolor="#aa55cc"><tt> </tt></td><td> </td> <td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="ranger.colorschemes.html">ranger.colorschemes</a><br> +<a href="ranger.api.apps.html">ranger.api.apps</a><br> </td><td width="25%" valign=top><a href="ranger.gui.color.html">ranger.gui.color</a><br> -</td><td width="25%" valign=top><a href="re.html">re</a><br> +<a href="ranger.api.commands.html">ranger.api.commands</a><br> +</td><td width="25%" valign=top><a href="ranger.api.keys.html">ranger.api.keys</a><br> +<a href="re.html">re</a><br> </td><td width="25%" valign=top></td></tr></table></td></tr></table><p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#55aa55"> @@ -41,16 +44,22 @@ of the values stay the same.</tt></p> <font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr> <tr><td bgcolor="#55aa55"><tt> </tt></td><td> </td> -<td width="100%"><strong>autosave_bookmarks</strong> = True<br> +<td width="100%"><strong>DELETE_WARNING</strong> = 'delete seriously? '<br> +<strong>autosave_bookmarks</strong> = True<br> <strong>collapse_preview</strong> = True<br> <strong>colorscheme</strong> = 'default'<br> <strong>colorscheme_overlay</strong> = None<br> +<strong>column_ratios</strong> = (1, 1, 4, 3)<br> +<strong>dirname_in_tabs</strong> = False<br> +<strong>display_size_in_main_column</strong> = True<br> +<strong>display_size_in_status_bar</strong> = False<br> <strong>draw_bookmark_borders</strong> = True<br> <strong>draw_borders</strong> = False<br> <strong>flushinput</strong> = True<br> <strong>hidden_filter</strong> = <_sre.SRE_Pattern object><br> -<strong>max_filesize_for_preview</strong> = 307200<br> +<strong>max_console_history_size</strong> = 20<br> <strong>max_history_size</strong> = 20<br> +<strong>mouse_enabled</strong> = True<br> <strong>preview_directories</strong> = True<br> <strong>preview_files</strong> = True<br> <strong>save_console_history</strong> = True<br> @@ -58,9 +67,12 @@ of the values stay the same.</tt></p> <strong>shorten_title</strong> = 3<br> <strong>show_cursor</strong> = False<br> <strong>show_hidden</strong> = False<br> +<strong>show_hidden_bookmarks</strong> = True<br> <strong>sort</strong> = 'basename'<br> <strong>sort_case_insensitive</strong> = False<br> <strong>sort_directories_first</strong> = True<br> <strong>sort_reverse</strong> = False<br> -<strong>update_title</strong> = True</td></tr></table> +<strong>tilde_in_titlebar</strong> = True<br> +<strong>update_title</strong> = True<br> +<strong>xterm_alt_key</strong> = False</td></tr></table> </body></html> \ No newline at end of file diff --git a/doc/pydoc/ranger.ext.accumulator.html b/doc/pydoc/ranger.ext.accumulator.html index 170aeea0..e812c025 100644 --- a/doc/pydoc/ranger.ext.accumulator.html +++ b/doc/pydoc/ranger.ext.accumulator.html @@ -54,7 +54,7 @@ <dl><dt><a name="Accumulator-get_list"><strong>get_list</strong></a>(self)</dt><dd><tt>OVERRIDE THIS</tt></dd></dl> -<dl><dt><a name="Accumulator-move"><strong>move</strong></a>(self, relative<font color="#909090">=0</font>, absolute<font color="#909090">=None</font>, pages<font color="#909090">=None</font>, narg<font color="#909090">=None</font>)</dt></dl> +<dl><dt><a name="Accumulator-move"><strong>move</strong></a>(self, narg<font color="#909090">=None</font>, **keywords)</dt></dl> <dl><dt><a name="Accumulator-move_to_obj"><strong>move_to_obj</strong></a>(self, arg, attr<font color="#909090">=None</font>)</dt></dl> diff --git a/doc/pydoc/ranger.ext.command_parser.html b/doc/pydoc/ranger.ext.command_parser.html index 9e6fc950..4944b924 100644 --- a/doc/pydoc/ranger.ext.command_parser.html +++ b/doc/pydoc/ranger.ext.command_parser.html @@ -25,6 +25,14 @@ # along with this program. If not, see <<a href="http://www.gnu.org/licenses/">http://www.gnu.org/licenses/</a>>.</tt></p> <p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#aa55cc"> +<td colspan=3 valign=bottom> <br> +<font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr> + +<tr><td bgcolor="#aa55cc"><tt> </tt></td><td> </td> +<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="re.html">re</a><br> +</td><td width="25%" valign=top></td><td width="25%" valign=top></td><td width="25%" valign=top></td></tr></table></td></tr></table><p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#ee77aa"> <td colspan=3 valign=bottom> <br> <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr> @@ -54,8 +62,12 @@ <dl><dt><a name="LazyParser-chunk"><strong>chunk</strong></a>(self, n, otherwise<font color="#909090">=''</font>)</dt><dd><tt>Chunks are pieces of the command seperated by spaces</tt></dd></dl> +<dl><dt><a name="LazyParser-parse_setting_line"><strong>parse_setting_line</strong></a>(self)</dt></dl> + <dl><dt><a name="LazyParser-rest"><strong>rest</strong></a>(self, n, otherwise<font color="#909090">=''</font>)</dt><dd><tt>Rests are the strings which come after each word.</tt></dd></dl> +<dl><dt><a name="LazyParser-start"><strong>start</strong></a>(self, n)</dt></dl> + <hr> Data descriptors defined here:<br> <dl><dt><strong>__dict__</strong></dt> @@ -64,5 +76,12 @@ Data descriptors defined here:<br> <dl><dt><strong>__weakref__</strong></dt> <dd><tt>list of weak references to the object (if defined)</tt></dd> </dl> -</td></tr></table></td></tr></table> +</td></tr></table></td></tr></table><p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#55aa55"> +<td colspan=3 valign=bottom> <br> +<font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr> + +<tr><td bgcolor="#55aa55"><tt> </tt></td><td> </td> +<td width="100%"><strong>SETTINGS_RE</strong> = <_sre.SRE_Pattern object></td></tr></table> </body></html> \ 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 deleted file mode 100644 index 98a88675..00000000 --- a/doc/pydoc/ranger.ext.get_all_modules.html +++ /dev/null @@ -1,35 +0,0 @@ - -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<html><head><title>Python: module ranger.ext.get_all_modules</title> -</head><body bgcolor="#f0f0f8"> - -<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading"> -<tr bgcolor="#7799ee"> -<td valign=bottom> <br> -<font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a href="ranger.html"><font color="#ffffff">ranger</font></a>.<a href="ranger.ext.html"><font color="#ffffff">ext</font></a>.get_all_modules</strong></big></big></font></td -><td align=right valign=bottom -><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/home/hut/ranger/ranger/ext/get_all_modules.py">/home/hut/ranger/ranger/ext/get_all_modules.py</a></font></td></tr></table> - <p><tt># Copyright (C) 2009, 2010 Roman Zimbelmann <romanz@lavabit.com><br> -#<br> -# This program is free software: you can redistribute it and/or modify<br> -# it under the terms of the GNU General Public License as published by<br> -# the Free Software Foundation, either version 3 of the License, or<br> -# (at your option) any later version.<br> -#<br> -# This program is distributed in the hope that it will be useful,<br> -# but WITHOUT ANY WARRANTY; without even the implied warranty of<br> -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the<br> -# GNU General Public License for more details.<br> -#<br> -# You should have received a copy of the GNU General Public License<br> -# along with this program. If not, see <<a href="http://www.gnu.org/licenses/">http://www.gnu.org/licenses/</a>>.</tt></p> -<p> -<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> -<tr bgcolor="#eeaa77"> -<td colspan=3 valign=bottom> <br> -<font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></big></font></td></tr> - -<tr><td bgcolor="#eeaa77"><tt> </tt></td><td> </td> -<td width="100%"><dl><dt><a name="-get_all_modules"><strong>get_all_modules</strong></a>(dirname)</dt><dd><tt>returns a list of strings containing the names of modules in a directory</tt></dd></dl> -</td></tr></table> -</body></html> \ No newline at end of file diff --git a/doc/pydoc/ranger.ext.html b/doc/pydoc/ranger.ext.html index a625bf53..f4413800 100644 --- a/doc/pydoc/ranger.ext.html +++ b/doc/pydoc/ranger.ext.html @@ -20,16 +20,18 @@ <td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="ranger.ext.accumulator.html">accumulator</a><br> <a href="ranger.ext.command_parser.html">command_parser</a><br> <a href="ranger.ext.curses_interrupt_handler.html">curses_interrupt_handler</a><br> -<a href="ranger.ext.get_all_modules.html">get_all_modules</a><br> +<a href="ranger.ext.direction.html">direction</a><br> </td><td width="25%" valign=top><a href="ranger.ext.get_executables.html">get_executables</a><br> <a href="ranger.ext.human_readable.html">human_readable</a><br> <a href="ranger.ext.iter_tools.html">iter_tools</a><br> -<a href="ranger.ext.mount_path.html">mount_path</a><br> -</td><td width="25%" valign=top><a href="ranger.ext.move.html">move</a><br> +<a href="ranger.ext.keybinding_parser.html">keybinding_parser</a><br> +</td><td width="25%" valign=top><a href="ranger.ext.mount_path.html">mount_path</a><br> +<a href="ranger.ext.move.html">move</a><br> <a href="ranger.ext.openstruct.html">openstruct</a><br> <a href="ranger.ext.shell_escape.html">shell_escape</a><br> -<a href="ranger.ext.shutil_generatorized.html">shutil_generatorized</a><br> -</td><td width="25%" valign=top><a href="ranger.ext.signal_dispatcher.html">signal_dispatcher</a><br> +</td><td width="25%" valign=top><a href="ranger.ext.shutil_generatorized.html">shutil_generatorized</a><br> +<a href="ranger.ext.signal_dispatcher.html">signal_dispatcher</a><br> +<a href="ranger.ext.tree.html">tree</a><br> <a href="ranger.ext.waitpid_no_intr.html">waitpid_no_intr</a><br> </td></tr></table></td></tr></table> </body></html> \ No newline at end of file diff --git a/doc/pydoc/ranger.ext.human_readable.html b/doc/pydoc/ranger.ext.human_readable.html index a4d71ea9..efcb6494 100644 --- a/doc/pydoc/ranger.ext.human_readable.html +++ b/doc/pydoc/ranger.ext.human_readable.html @@ -25,6 +25,14 @@ # along with this program. If not, see <<a href="http://www.gnu.org/licenses/">http://www.gnu.org/licenses/</a>>.</tt></p> <p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#aa55cc"> +<td colspan=3 valign=bottom> <br> +<font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr> + +<tr><td bgcolor="#aa55cc"><tt> </tt></td><td> </td> +<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="math.html">math</a><br> +</td><td width="25%" valign=top></td><td width="25%" valign=top></td><td width="25%" valign=top></td></tr></table></td></tr></table><p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#eeaa77"> <td colspan=3 valign=bottom> <br> <font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></big></font></td></tr> diff --git a/doc/pydoc/ranger.ext.move.html b/doc/pydoc/ranger.ext.move.html index d3858ab4..6c06f913 100644 --- a/doc/pydoc/ranger.ext.move.html +++ b/doc/pydoc/ranger.ext.move.html @@ -8,21 +8,8 @@ <td valign=bottom> <br> <font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a href="ranger.html"><font color="#ffffff">ranger</font></a>.<a href="ranger.ext.html"><font color="#ffffff">ext</font></a>.move</strong></big></big></font></td ><td align=right valign=bottom -><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/home/hut/ranger/ranger/ext/move.py">/home/hut/ranger/ranger/ext/move.py</a></font></td></tr></table> - <p><tt># Copyright (C) 2009, 2010 Roman Zimbelmann <romanz@lavabit.com><br> -#<br> -# This program is free software: you can redistribute it and/or modify<br> -# it under the terms of the GNU General Public License as published by<br> -# the Free Software Foundation, either version 3 of the License, or<br> -# (at your option) any later version.<br> -#<br> -# This program is distributed in the hope that it will be useful,<br> -# but WITHOUT ANY WARRANTY; without even the implied warranty of<br> -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the<br> -# GNU General Public License for more details.<br> -#<br> -# You should have received a copy of the GNU General Public License<br> -# along with this program. If not, see <<a href="http://www.gnu.org/licenses/">http://www.gnu.org/licenses/</a>>.</tt></p> +><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/home/hut/ranger/ranger/ext/move.pyc">/home/hut/ranger/ranger/ext/move.pyc</a></font></td></tr></table> + <p></p> <p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#eeaa77"> diff --git a/doc/pydoc/ranger.ext.waitpid_no_intr.html b/doc/pydoc/ranger.ext.waitpid_no_intr.html index 4f141858..c0ef5666 100644 --- a/doc/pydoc/ranger.ext.waitpid_no_intr.html +++ b/doc/pydoc/ranger.ext.waitpid_no_intr.html @@ -30,6 +30,16 @@ <font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></big></font></td></tr> <tr><td bgcolor="#eeaa77"><tt> </tt></td><td> </td> -<td width="100%"><dl><dt><a name="-waitpid_no_intr"><strong>waitpid_no_intr</strong></a>(pid)</dt><dd><tt>catch interrupts which occur while using os.waitpid</tt></dd></dl> -</td></tr></table> +<td width="100%"><dl><dt><a name="-waitpid"><strong>waitpid</strong></a>(...)</dt><dd><tt><a href="#-waitpid">waitpid</a>(pid, options) -> (pid, status)<br> + <br> +Wait for completion of a given child process.</tt></dd></dl> + <dl><dt><a name="-waitpid_no_intr"><strong>waitpid_no_intr</strong></a>(pid)</dt><dd><tt>catch interrupts which occur while using os.waitpid</tt></dd></dl> +</td></tr></table><p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#55aa55"> +<td colspan=3 valign=bottom> <br> +<font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr> + +<tr><td bgcolor="#55aa55"><tt> </tt></td><td> </td> +<td width="100%"><strong>EINTR</strong> = 4</td></tr></table> </body></html> \ No newline at end of file diff --git a/doc/pydoc/ranger.fsobject.directory.html b/doc/pydoc/ranger.fsobject.directory.html index 23481285..79dfc957 100644 --- a/doc/pydoc/ranger.fsobject.directory.html +++ b/doc/pydoc/ranger.fsobject.directory.html @@ -86,8 +86,6 @@ Methods defined here:<br> <dl><dt><a name="Directory-__bool__"><strong>__bool__</strong></a> = <a href="#Directory-__nonzero__">__nonzero__</a>(self)</dt></dl> -<dl><dt><a name="Directory-__del__"><strong>__del__</strong></a>(self)</dt></dl> - <dl><dt><a name="Directory-__eq__"><strong>__eq__</strong></a>(self, other)</dt><dd><tt>Check for equality of the directories paths</tt></dd></dl> <dl><dt><a name="Directory-__hash__"><strong>__hash__</strong></a>(self)</dt></dl> @@ -147,6 +145,8 @@ outdated or not done yet</tt></dd></dl> <hr> Data and other attributes defined here:<br> +<dl><dt><strong>content_loaded</strong> = False</dl> + <dl><dt><strong>content_outdated</strong> = False</dl> <dl><dt><strong>cycle_list</strong> = None</dl> @@ -175,12 +175,6 @@ Data and other attributes defined here:<br> <dl><dt><strong>mount_path</strong> = '/'</dl> -<dl><dt><strong>old_filter</strong> = None</dl> - -<dl><dt><strong>old_hidden_filter</strong> = None</dl> - -<dl><dt><strong>old_show_hidden</strong> = None</dl> - <dl><dt><strong>order_outdated</strong> = False</dl> <dl><dt><strong>scroll_begin</strong> = 0</dl> @@ -195,6 +189,8 @@ Methods inherited from <a href="ranger.fsobject.fsobject.html#FileSystemObject"> <dl><dt><a name="Directory-__str__"><strong>__str__</strong></a>(self)</dt><dd><tt>returns a string containing the absolute path</tt></dd></dl> +<dl><dt><a name="Directory-determine_infostring"><strong>determine_infostring</strong></a>(self)</dt></dl> + <dl><dt><a name="Directory-get_description"><strong>get_description</strong></a>(self)</dt></dl> <dl><dt><a name="Directory-get_permission_string"><strong>get_permission_string</strong></a>(self)</dt></dl> @@ -235,8 +231,6 @@ Data and other attributes inherited from <a href="ranger.fsobject.fsobject.html# <dl><dt><strong>container</strong> = False</dl> -<dl><dt><strong>content_loaded</strong> = False</dl> - <dl><dt><strong>dirname</strong> = None</dl> <dl><dt><strong>document</strong> = False</dl> @@ -251,9 +245,15 @@ Data and other attributes inherited from <a href="ranger.fsobject.fsobject.html# <dl><dt><strong>infostring</strong> = None</dl> +<dl><dt><strong>is_device</strong> = False</dl> + +<dl><dt><strong>is_fifo</strong> = False</dl> + <dl><dt><strong>is_file</strong> = False</dl> -<dl><dt><strong>islink</strong> = False</dl> +<dl><dt><strong>is_link</strong> = False</dl> + +<dl><dt><strong>is_socket</strong> = False</dl> <dl><dt><strong>last_used</strong> = None</dl> @@ -305,7 +305,7 @@ Data and other attributes inherited from <a href="ranger.shared.html#FileManager Methods inherited from <a href="ranger.ext.accumulator.html#Accumulator">ranger.ext.accumulator.Accumulator</a>:<br> <dl><dt><a name="Directory-get_height"><strong>get_height</strong></a>(self)</dt><dd><tt>OVERRIDE THIS</tt></dd></dl> -<dl><dt><a name="Directory-move"><strong>move</strong></a>(self, relative<font color="#909090">=0</font>, absolute<font color="#909090">=None</font>, pages<font color="#909090">=None</font>, narg<font color="#909090">=None</font>)</dt></dl> +<dl><dt><a name="Directory-move"><strong>move</strong></a>(self, narg<font color="#909090">=None</font>, **keywords)</dt></dl> <dl><dt><a name="Directory-pointer_is_synced"><strong>pointer_is_synced</strong></a>(self)</dt></dl> @@ -394,5 +394,5 @@ Fractions of a second may be present if <font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr> <tr><td bgcolor="#55aa55"><tt> </tt></td><td> </td> -<td width="100%"><strong>BAD_INFO</strong> = None</td></tr></table> +<td width="100%"><strong>BAD_INFO</strong> = '?'</td></tr></table> </body></html> \ No newline at end of file diff --git a/doc/pydoc/ranger.fsobject.file.html b/doc/pydoc/ranger.fsobject.file.html index 5365ad59..01188d95 100644 --- a/doc/pydoc/ranger.fsobject.file.html +++ b/doc/pydoc/ranger.fsobject.file.html @@ -73,6 +73,8 @@ Methods inherited from <a href="ranger.fsobject.fsobject.html#FileSystemObject"> <dl><dt><a name="File-__str__"><strong>__str__</strong></a>(self)</dt><dd><tt>returns a string containing the absolute path</tt></dd></dl> +<dl><dt><a name="File-determine_infostring"><strong>determine_infostring</strong></a>(self)</dt></dl> + <dl><dt><a name="File-get_description"><strong>get_description</strong></a>(self)</dt></dl> <dl><dt><a name="File-get_permission_string"><strong>get_permission_string</strong></a>(self)</dt></dl> @@ -129,9 +131,15 @@ Data and other attributes inherited from <a href="ranger.fsobject.fsobject.html# <dl><dt><strong>infostring</strong> = None</dl> +<dl><dt><strong>is_device</strong> = False</dl> + <dl><dt><strong>is_directory</strong> = False</dl> -<dl><dt><strong>islink</strong> = False</dl> +<dl><dt><strong>is_fifo</strong> = False</dl> + +<dl><dt><strong>is_link</strong> = False</dl> + +<dl><dt><strong>is_socket</strong> = False</dl> <dl><dt><strong>last_used</strong> = None</dl> diff --git a/doc/pydoc/ranger.fsobject.fsobject.html b/doc/pydoc/ranger.fsobject.fsobject.html index e619b2f9..1a9517bc 100644 --- a/doc/pydoc/ranger.fsobject.fsobject.html +++ b/doc/pydoc/ranger.fsobject.fsobject.html @@ -30,8 +30,9 @@ <font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr> <tr><td bgcolor="#aa55cc"><tt> </tt></td><td> </td> -<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="time.html">time</a><br> -</td><td width="25%" valign=top></td><td width="25%" valign=top></td><td width="25%" valign=top></td></tr></table></td></tr></table><p> +<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="os.html">os</a><br> +</td><td width="25%" valign=top><a href="stat.html">stat</a><br> +</td><td width="25%" valign=top></td><td width="25%" valign=top></td></tr></table></td></tr></table><p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#ee77aa"> <td colspan=3 valign=bottom> <br> @@ -74,6 +75,8 @@ Methods defined here:<br> <dl><dt><a name="FileSystemObject-__str__"><strong>__str__</strong></a>(self)</dt><dd><tt>returns a string containing the absolute path</tt></dd></dl> +<dl><dt><a name="FileSystemObject-determine_infostring"><strong>determine_infostring</strong></a>(self)</dt></dl> + <dl><dt><a name="FileSystemObject-get_description"><strong>get_description</strong></a>(self)</dt></dl> <dl><dt><a name="FileSystemObject-get_permission_string"><strong>get_permission_string</strong></a>(self)</dt></dl> @@ -130,11 +133,17 @@ Data and other attributes defined here:<br> <dl><dt><strong>infostring</strong> = None</dl> +<dl><dt><strong>is_device</strong> = False</dl> + <dl><dt><strong>is_directory</strong> = False</dl> +<dl><dt><strong>is_fifo</strong> = False</dl> + <dl><dt><strong>is_file</strong> = False</dl> -<dl><dt><strong>islink</strong> = False</dl> +<dl><dt><strong>is_link</strong> = False</dl> + +<dl><dt><strong>is_socket</strong> = False</dl> <dl><dt><strong>last_used</strong> = None</dl> @@ -184,15 +193,27 @@ Data and other attributes inherited from <a href="ranger.shared.html#FileManager </td></tr></table></td></tr></table><p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#eeaa77"> +<td colspan=3 valign=bottom> <br> +<font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></big></font></td></tr> + +<tr><td bgcolor="#eeaa77"><tt> </tt></td><td> </td> +<td width="100%"><dl><dt><a name="-time"><strong>time</strong></a>(...)</dt><dd><tt><a href="#-time">time</a>() -> floating point number<br> + <br> +Return the current time in seconds since the Epoch.<br> +Fractions of a second may be present if the system clock provides them.</tt></dd></dl> +</td></tr></table><p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#55aa55"> <td colspan=3 valign=bottom> <br> <font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr> <tr><td bgcolor="#55aa55"><tt> </tt></td><td> </td> -<td width="100%"><strong>BAD_INFO</strong> = None<br> +<td width="100%"><strong>BAD_INFO</strong> = '?'<br> <strong>CONTAINER_EXTENSIONS</strong> = ['rar', 'zip', 'tar', 'gz', 'bz', 'bz2', 'tgz', '7z', 'iso', 'cab']<br> -<strong>DOCUMENT_BASENAMES</strong> = ['README', 'TODO', 'LICENSE', 'COPYING', 'INSTALL']<br> -<strong>DOCUMENT_EXTENSIONS</strong> = ['pdf', 'doc', 'ppt', 'odt']<br> +<strong>DOCUMENT_BASENAMES</strong> = ()<br> +<strong>DOCUMENT_EXTENSIONS</strong> = ()<br> +<strong>PIPE</strong> = -1<br> <strong>T_DIRECTORY</strong> = 'directory'<br> <strong>T_FILE</strong> = 'file'<br> <strong>T_NONEXISTANT</strong> = 'nonexistant'<br> diff --git a/doc/pydoc/ranger.fsobject.html b/doc/pydoc/ranger.fsobject.html index 864aef98..7014418a 100644 --- a/doc/pydoc/ranger.fsobject.html +++ b/doc/pydoc/ranger.fsobject.html @@ -102,7 +102,7 @@ Data descriptors inherited from <a href="exceptions.html#BaseException">exceptio <font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr> <tr><td bgcolor="#55aa55"><tt> </tt></td><td> </td> -<td width="100%"><strong>BAD_INFO</strong> = None<br> +<td width="100%"><strong>BAD_INFO</strong> = '?'<br> <strong>T_DIRECTORY</strong> = 'directory'<br> <strong>T_FILE</strong> = 'file'<br> <strong>T_NONEXISTANT</strong> = 'nonexistant'<br> diff --git a/doc/pydoc/ranger.fsobject.loader.html b/doc/pydoc/ranger.fsobject.loader.html index e4124e75..c387f773 100644 --- a/doc/pydoc/ranger.fsobject.loader.html +++ b/doc/pydoc/ranger.fsobject.loader.html @@ -105,7 +105,7 @@ Stop after approximately self.<strong>seconds_of_work_time</stron <hr> Data and other attributes defined here:<br> -<dl><dt><strong>seconds_of_work_time</strong> = 0.10000000000000001</dl> +<dl><dt><strong>seconds_of_work_time</strong> = 0.029999999999999999</dl> <hr> Data and other attributes inherited from <a href="ranger.shared.html#FileManagerAware">ranger.shared.FileManagerAware</a>:<br> diff --git a/doc/pydoc/ranger.gui.bar.html b/doc/pydoc/ranger.gui.bar.html index b4036c14..0eab7f3b 100644 --- a/doc/pydoc/ranger.gui.bar.html +++ b/doc/pydoc/ranger.gui.bar.html @@ -231,9 +231,5 @@ Data descriptors defined here:<br> <dl><dt><strong>__weakref__</strong></dt> <dd><tt>list of weak references to the object (if defined)</tt></dd> </dl> -<hr> -Data and other attributes defined here:<br> -<dl><dt><strong>fixed</strong> = False</dl> - </td></tr></table></td></tr></table> </body></html> \ No newline at end of file diff --git a/doc/pydoc/ranger.gui.defaultui.html b/doc/pydoc/ranger.gui.defaultui.html index 8318872a..7bc180ed 100644 --- a/doc/pydoc/ranger.gui.defaultui.html +++ b/doc/pydoc/ranger.gui.defaultui.html @@ -71,7 +71,7 @@ Methods defined here:<br> <dl><dt><a name="DefaultUI-notify"><strong>notify</strong></a>(self, *a, **k)</dt></dl> -<dl><dt><a name="DefaultUI-open_console"><strong>open_console</strong></a>(self, mode, string<font color="#909090">=''</font>)</dt></dl> +<dl><dt><a name="DefaultUI-open_console"><strong>open_console</strong></a>(self, mode, string<font color="#909090">=''</font>, prompt<font color="#909090">=None</font>)</dt></dl> <dl><dt><a name="DefaultUI-open_embedded_pager"><strong>open_embedded_pager</strong></a>(self)</dt></dl> @@ -91,7 +91,7 @@ Methods defined here:<br> <hr> Methods inherited from <a href="ranger.gui.ui.html#UI">ranger.gui.ui.UI</a>:<br> -<dl><dt><a name="DefaultUI-__init__"><strong>__init__</strong></a>(self, commandlist<font color="#909090">=None</font>, env<font color="#909090">=None</font>, fm<font color="#909090">=None</font>)</dt></dl> +<dl><dt><a name="DefaultUI-__init__"><strong>__init__</strong></a>(self, env<font color="#909090">=None</font>, fm<font color="#909090">=None</font>)</dt></dl> <dl><dt><a name="DefaultUI-destroy"><strong>destroy</strong></a>(self)</dt><dd><tt>Destroy all widgets and turn off curses</tt></dd></dl> @@ -99,10 +99,12 @@ Methods inherited from <a href="ranger.gui.ui.html#UI">ranger.gui.ui.UI</a>:<br> <dl><dt><a name="DefaultUI-finalize"><strong>finalize</strong></a>(self)</dt><dd><tt>Finalize every object in container and refresh the window</tt></dd></dl> -<dl><dt><a name="DefaultUI-get_next_key"><strong>get_next_key</strong></a>(self)</dt><dd><tt>Waits for key input and returns the pressed key</tt></dd></dl> +<dl><dt><a name="DefaultUI-handle_input"><strong>handle_input</strong></a>(self)</dt></dl> <dl><dt><a name="DefaultUI-handle_key"><strong>handle_key</strong></a>(self, key)</dt><dd><tt>Handles key input</tt></dd></dl> +<dl><dt><a name="DefaultUI-handle_keys"><strong>handle_keys</strong></a>(self, *keys)</dt></dl> + <dl><dt><a name="DefaultUI-handle_mouse"><strong>handle_mouse</strong></a>(self)</dt><dd><tt>Handles mouse input</tt></dd></dl> <dl><dt><a name="DefaultUI-initialize"><strong>initialize</strong></a>(self)</dt><dd><tt>initialize curses, then call setup (at the first time) and resize.</tt></dd></dl> @@ -121,8 +123,6 @@ Data and other attributes inherited from <a href="ranger.gui.ui.html#UI">ranger. <dl><dt><strong>load_mode</strong> = False</dl> -<dl><dt><strong>mousemask</strong> = 268435455</dl> - <hr> Methods inherited from <a href="ranger.gui.displayable.html#DisplayableContainer">ranger.gui.displayable.DisplayableContainer</a>:<br> <dl><dt><a name="DefaultUI-add_child"><strong>add_child</strong></a>(self, obj)</dt><dd><tt>Add the objects to the container.</tt></dd></dl> @@ -183,12 +183,5 @@ Methods inherited from <a href="ranger.gui.curses_shortcuts.html#CursesShortcuts Data and other attributes inherited from <a href="ranger.shared.settings.html#SettingsAware">ranger.shared.settings.SettingsAware</a>:<br> <dl><dt><strong>settings</strong> = {}</dl> -</td></tr></table></td></tr></table><p> -<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> -<tr bgcolor="#55aa55"> -<td colspan=3 valign=bottom> <br> -<font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr> - -<tr><td bgcolor="#55aa55"><tt> </tt></td><td> </td> -<td width="100%"><strong>RATIO</strong> = (3, 3, 12, 9)</td></tr></table> +</td></tr></table></td></tr></table> </body></html> \ No newline at end of file diff --git a/doc/pydoc/ranger.gui.mouse_event.html b/doc/pydoc/ranger.gui.mouse_event.html index 7802b9a1..8ad837c8 100644 --- a/doc/pydoc/ranger.gui.mouse_event.html +++ b/doc/pydoc/ranger.gui.mouse_event.html @@ -62,6 +62,8 @@ <dl><dt><a name="MouseEvent-key_invalid"><strong>key_invalid</strong></a>(self)</dt></dl> +<dl><dt><a name="MouseEvent-mouse_wheel_direction"><strong>mouse_wheel_direction</strong></a>(self)</dt></dl> + <dl><dt><a name="MouseEvent-pressed"><strong>pressed</strong></a>(self, n)</dt><dd><tt>Returns whether the mouse key n is pressed</tt></dd></dl> <dl><dt><a name="MouseEvent-shift"><strong>shift</strong></a>(self)</dt></dl> diff --git a/doc/pydoc/ranger.gui.ui.html b/doc/pydoc/ranger.gui.ui.html index 9beffb00..f0aece1d 100644 --- a/doc/pydoc/ranger.gui.ui.html +++ b/doc/pydoc/ranger.gui.ui.html @@ -31,11 +31,10 @@ <tr><td bgcolor="#aa55cc"><tt> </tt></td><td> </td> <td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="_curses.html">_curses</a><br> -<a href="curses.html">curses</a><br> +</td><td width="25%" valign=top><a href="curses.html">curses</a><br> </td><td width="25%" valign=top><a href="os.html">os</a><br> -<a href="socket.html">socket</a><br> </td><td width="25%" valign=top><a href="sys.html">sys</a><br> -</td><td width="25%" valign=top></td></tr></table></td></tr></table><p> +</td></tr></table></td></tr></table><p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#ee77aa"> <td colspan=3 valign=bottom> <br> @@ -70,7 +69,7 @@ </dl> <hr> Methods defined here:<br> -<dl><dt><a name="UI-__init__"><strong>__init__</strong></a>(self, commandlist<font color="#909090">=None</font>, env<font color="#909090">=None</font>, fm<font color="#909090">=None</font>)</dt></dl> +<dl><dt><a name="UI-__init__"><strong>__init__</strong></a>(self, env<font color="#909090">=None</font>, fm<font color="#909090">=None</font>)</dt></dl> <dl><dt><a name="UI-destroy"><strong>destroy</strong></a>(self)</dt><dd><tt>Destroy all widgets and turn off curses</tt></dd></dl> @@ -78,10 +77,12 @@ Methods defined here:<br> <dl><dt><a name="UI-finalize"><strong>finalize</strong></a>(self)</dt><dd><tt>Finalize every object in container and refresh the window</tt></dd></dl> -<dl><dt><a name="UI-get_next_key"><strong>get_next_key</strong></a>(self)</dt><dd><tt>Waits for key input and returns the pressed key</tt></dd></dl> +<dl><dt><a name="UI-handle_input"><strong>handle_input</strong></a>(self)</dt></dl> <dl><dt><a name="UI-handle_key"><strong>handle_key</strong></a>(self, key)</dt><dd><tt>Handles key input</tt></dd></dl> +<dl><dt><a name="UI-handle_keys"><strong>handle_keys</strong></a>(self, *keys)</dt></dl> + <dl><dt><a name="UI-handle_mouse"><strong>handle_mouse</strong></a>(self)</dt><dd><tt>Handles mouse input</tt></dd></dl> <dl><dt><a name="UI-initialize"><strong>initialize</strong></a>(self)</dt><dd><tt>initialize curses, then call setup (at the first time) and resize.</tt></dd></dl> @@ -106,8 +107,6 @@ Data and other attributes defined here:<br> <dl><dt><strong>load_mode</strong> = False</dl> -<dl><dt><strong>mousemask</strong> = 268435455</dl> - <hr> Methods inherited from <a href="ranger.gui.displayable.html#DisplayableContainer">ranger.gui.displayable.DisplayableContainer</a>:<br> <dl><dt><a name="UI-add_child"><strong>add_child</strong></a>(self, obj)</dt><dd><tt>Add the objects to the container.</tt></dd></dl> @@ -175,5 +174,6 @@ Data and other attributes inherited from <a href="ranger.shared.settings.html#Se <font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr> <tr><td bgcolor="#55aa55"><tt> </tt></td><td> </td> -<td width="100%"><strong>TERMINALS_WITH_TITLE</strong> = ('xterm', 'xterm-256color', 'rxvt', 'rxvt-256color', 'rxvt-unicode', 'aterm', 'Eterm', 'screen', 'screen-256color')</td></tr></table> +<td width="100%"><strong>MOUSEMASK</strong> = 268435455<br> +<strong>TERMINALS_WITH_TITLE</strong> = ('xterm', 'xterm-256color', 'rxvt', 'rxvt-256color', 'rxvt-unicode', 'aterm', 'Eterm', 'screen', 'screen-256color')</td></tr></table> </body></html> \ No newline at end of file diff --git a/doc/pydoc/ranger.gui.widgets.browsercolumn.html b/doc/pydoc/ranger.gui.widgets.browsercolumn.html index 4b324217..eaa97563 100644 --- a/doc/pydoc/ranger.gui.widgets.browsercolumn.html +++ b/doc/pydoc/ranger.gui.widgets.browsercolumn.html @@ -18,7 +18,8 @@ <tr><td bgcolor="#aa55cc"><tt> </tt></td><td> </td> <td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="re.html">re</a><br> -</td><td width="25%" valign=top></td><td width="25%" valign=top></td><td width="25%" valign=top></td></tr></table></td></tr></table><p> +</td><td width="25%" valign=top><a href="stat.html">stat</a><br> +</td><td width="25%" valign=top></td><td width="25%" valign=top></td></tr></table></td></tr></table><p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#ee77aa"> <td colspan=3 valign=bottom> <br> @@ -71,9 +72,11 @@ level <0 => parent directories</tt></dd></dl> <dl><dt><a name="BrowserColumn-poke"><strong>poke</strong></a>(self)</dt></dl> +<dl><dt><a name="BrowserColumn-request_redraw"><strong>request_redraw</strong></a>(self)</dt></dl> + <dl><dt><a name="BrowserColumn-resize"><strong>resize</strong></a>(self, y, x, hei, wid)</dt></dl> -<dl><dt><a name="BrowserColumn-scroll"><strong>scroll</strong></a>(self, relative)</dt><dd><tt>scroll by n lines</tt></dd></dl> +<dl><dt><a name="BrowserColumn-scroll"><strong>scroll</strong></a>(self, n)</dt><dd><tt>scroll down by n lines</tt></dd></dl> <hr> Data and other attributes defined here:<br> @@ -99,9 +102,7 @@ Methods inherited from <a href="ranger.gui.widgets.pager.html#Pager">ranger.gui. <dl><dt><a name="BrowserColumn-finalize"><strong>finalize</strong></a>(self)</dt></dl> -<dl><dt><a name="BrowserColumn-move"><strong>move</strong></a>(self, relative<font color="#909090">=0</font>, absolute<font color="#909090">=None</font>, pages<font color="#909090">=None</font>, narg<font color="#909090">=None</font>)</dt></dl> - -<dl><dt><a name="BrowserColumn-move_horizontal"><strong>move_horizontal</strong></a>(self, relative<font color="#909090">=0</font>, absolute<font color="#909090">=None</font>, narg<font color="#909090">=None</font>)</dt></dl> +<dl><dt><a name="BrowserColumn-move"><strong>move</strong></a>(self, narg<font color="#909090">=None</font>, **kw)</dt></dl> <dl><dt><a name="BrowserColumn-open"><strong>open</strong></a>(self)</dt></dl> @@ -186,6 +187,7 @@ Fractions of a second may be present if <font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr> <tr><td bgcolor="#55aa55"><tt> </tt></td><td> </td> -<td width="100%"><strong>PREVIEW_BLACKLIST</strong> = <_sre.SRE_Pattern object><br> +<td width="100%"><strong>BAD_INFO</strong> = '?'<br> +<strong>PREVIEW_BLACKLIST</strong> = <_sre.SRE_Pattern object><br> <strong>PREVIEW_WHITELIST</strong> = <_sre.SRE_Pattern object></td></tr></table> </body></html> \ No newline at end of file diff --git a/doc/pydoc/ranger.gui.widgets.browserview.html b/doc/pydoc/ranger.gui.widgets.browserview.html index 627a62bf..ca15d9e8 100644 --- a/doc/pydoc/ranger.gui.widgets.browserview.html +++ b/doc/pydoc/ranger.gui.widgets.browserview.html @@ -62,6 +62,8 @@ Methods defined here:<br> <dl><dt><a name="BrowserView-__init__"><strong>__init__</strong></a>(self, win, ratios, preview<font color="#909090">=True</font>)</dt></dl> +<dl><dt><a name="BrowserView-change_ratios"><strong>change_ratios</strong></a>(self, ratios, resize<font color="#909090">=True</font>)</dt></dl> + <dl><dt><a name="BrowserView-click"><strong>click</strong></a>(self, event)</dt></dl> <dl><dt><a name="BrowserView-close_pager"><strong>close_pager</strong></a>(self)</dt></dl> @@ -74,10 +76,14 @@ Methods defined here:<br> <dl><dt><a name="BrowserView-poke"><strong>poke</strong></a>(self)</dt></dl> +<dl><dt><a name="BrowserView-request_clear"><strong>request_clear</strong></a>(self)</dt></dl> + <dl><dt><a name="BrowserView-resize"><strong>resize</strong></a>(self, y, x, hei, wid)</dt><dd><tt>Resize all the columns according to the given ratio</tt></dd></dl> <hr> Data and other attributes defined here:<br> +<dl><dt><strong>draw_bookmarks</strong> = False</dl> + <dl><dt><strong>need_clear</strong> = False</dl> <dl><dt><strong>preview</strong> = True</dl> diff --git a/doc/pydoc/ranger.gui.widgets.console.html b/doc/pydoc/ranger.gui.widgets.console.html index 277c87bc..cb84b0cb 100644 --- a/doc/pydoc/ranger.gui.widgets.console.html +++ b/doc/pydoc/ranger.gui.widgets.console.html @@ -18,11 +18,10 @@ commands, searching and executing files.</tt></p> <font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr> <tr><td bgcolor="#aa55cc"><tt> </tt></td><td> </td> -<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="ranger.defaults.commands.html">ranger.defaults.commands</a><br> -</td><td width="25%" valign=top><a href="curses.html">curses</a><br> +<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="curses.html">curses</a><br> </td><td width="25%" valign=top><a href="ranger.html">ranger</a><br> </td><td width="25%" valign=top><a href="string.html">string</a><br> -</td></tr></table></td></tr></table><p> +</td><td width="25%" valign=top></td></tr></table></td></tr></table><p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#ee77aa"> <td colspan=3 valign=bottom> <br> @@ -113,11 +112,11 @@ Methods inherited from <a href="ranger.gui.widgets.console.html#Console">Console <dl><dt><a name="CommandConsole-init"><strong>init</strong></a>(self)</dt><dd><tt>override this. Called directly after class change</tt></dd></dl> -<dl><dt><a name="CommandConsole-move"><strong>move</strong></a>(self, relative<font color="#909090">=0</font>, absolute<font color="#909090">=None</font>)</dt></dl> +<dl><dt><a name="CommandConsole-move"><strong>move</strong></a>(self, **keywords)</dt></dl> <dl><dt><a name="CommandConsole-on_line_change"><strong>on_line_change</strong></a>(self)</dt></dl> -<dl><dt><a name="CommandConsole-open"><strong>open</strong></a>(self, mode, string<font color="#909090">=''</font>)</dt></dl> +<dl><dt><a name="CommandConsole-open"><strong>open</strong></a>(self, mode, string<font color="#909090">=''</font>, prompt<font color="#909090">=None</font>)</dt></dl> <dl><dt><a name="CommandConsole-paste"><strong>paste</strong></a>(self)</dt></dl> @@ -129,8 +128,6 @@ Methods inherited from <a href="ranger.gui.widgets.console.html#Console">Console Data and other attributes inherited from <a href="ranger.gui.widgets.console.html#Console">Console</a>:<br> <dl><dt><strong>allow_close</strong> = False</dl> -<dl><dt><strong>commandlist</strong> = None</dl> - <dl><dt><strong>copy</strong> = ''</dl> <dl><dt><strong>histories</strong> = None</dl> @@ -250,11 +247,11 @@ Methods defined here:<br> <dl><dt><a name="Console-init"><strong>init</strong></a>(self)</dt><dd><tt>override this. Called directly after class change</tt></dd></dl> -<dl><dt><a name="Console-move"><strong>move</strong></a>(self, relative<font color="#909090">=0</font>, absolute<font color="#909090">=None</font>)</dt></dl> +<dl><dt><a name="Console-move"><strong>move</strong></a>(self, **keywords)</dt></dl> <dl><dt><a name="Console-on_line_change"><strong>on_line_change</strong></a>(self)</dt></dl> -<dl><dt><a name="Console-open"><strong>open</strong></a>(self, mode, string<font color="#909090">=''</font>)</dt></dl> +<dl><dt><a name="Console-open"><strong>open</strong></a>(self, mode, string<font color="#909090">=''</font>, prompt<font color="#909090">=None</font>)</dt></dl> <dl><dt><a name="Console-paste"><strong>paste</strong></a>(self)</dt></dl> @@ -268,8 +265,6 @@ Methods defined here:<br> Data and other attributes defined here:<br> <dl><dt><strong>allow_close</strong> = False</dl> -<dl><dt><strong>commandlist</strong> = None</dl> - <dl><dt><strong>copy</strong> = ''</dl> <dl><dt><strong>histories</strong> = None</dl> @@ -396,11 +391,11 @@ Methods inherited from <a href="ranger.gui.widgets.console.html#Console">Console <dl><dt><a name="ConsoleWithTab-init"><strong>init</strong></a>(self)</dt><dd><tt>override this. Called directly after class change</tt></dd></dl> -<dl><dt><a name="ConsoleWithTab-move"><strong>move</strong></a>(self, relative<font color="#909090">=0</font>, absolute<font color="#909090">=None</font>)</dt></dl> +<dl><dt><a name="ConsoleWithTab-move"><strong>move</strong></a>(self, **keywords)</dt></dl> <dl><dt><a name="ConsoleWithTab-on_line_change"><strong>on_line_change</strong></a>(self)</dt></dl> -<dl><dt><a name="ConsoleWithTab-open"><strong>open</strong></a>(self, mode, string<font color="#909090">=''</font>)</dt></dl> +<dl><dt><a name="ConsoleWithTab-open"><strong>open</strong></a>(self, mode, string<font color="#909090">=''</font>, prompt<font color="#909090">=None</font>)</dt></dl> <dl><dt><a name="ConsoleWithTab-paste"><strong>paste</strong></a>(self)</dt></dl> @@ -412,8 +407,6 @@ Methods inherited from <a href="ranger.gui.widgets.console.html#Console">Console Data and other attributes inherited from <a href="ranger.gui.widgets.console.html#Console">Console</a>:<br> <dl><dt><strong>allow_close</strong> = False</dl> -<dl><dt><strong>commandlist</strong> = None</dl> - <dl><dt><strong>copy</strong> = ''</dl> <dl><dt><strong>histories</strong> = None</dl> @@ -566,11 +559,11 @@ Methods inherited from <a href="ranger.gui.widgets.console.html#Console">Console <dl><dt><a name="OpenConsole-history_move"><strong>history_move</strong></a>(self, n)</dt></dl> -<dl><dt><a name="OpenConsole-move"><strong>move</strong></a>(self, relative<font color="#909090">=0</font>, absolute<font color="#909090">=None</font>)</dt></dl> +<dl><dt><a name="OpenConsole-move"><strong>move</strong></a>(self, **keywords)</dt></dl> <dl><dt><a name="OpenConsole-on_line_change"><strong>on_line_change</strong></a>(self)</dt></dl> -<dl><dt><a name="OpenConsole-open"><strong>open</strong></a>(self, mode, string<font color="#909090">=''</font>)</dt></dl> +<dl><dt><a name="OpenConsole-open"><strong>open</strong></a>(self, mode, string<font color="#909090">=''</font>, prompt<font color="#909090">=None</font>)</dt></dl> <dl><dt><a name="OpenConsole-paste"><strong>paste</strong></a>(self)</dt></dl> @@ -582,8 +575,6 @@ Methods inherited from <a href="ranger.gui.widgets.console.html#Console">Console Data and other attributes inherited from <a href="ranger.gui.widgets.console.html#Console">Console</a>:<br> <dl><dt><strong>allow_close</strong> = False</dl> -<dl><dt><strong>commandlist</strong> = None</dl> - <dl><dt><strong>copy</strong> = ''</dl> <dl><dt><strong>histories</strong> = None</dl> @@ -731,9 +722,9 @@ Methods inherited from <a href="ranger.gui.widgets.console.html#Console">Console <dl><dt><a name="QuickCommandConsole-init"><strong>init</strong></a>(self)</dt><dd><tt>override this. Called directly after class change</tt></dd></dl> -<dl><dt><a name="QuickCommandConsole-move"><strong>move</strong></a>(self, relative<font color="#909090">=0</font>, absolute<font color="#909090">=None</font>)</dt></dl> +<dl><dt><a name="QuickCommandConsole-move"><strong>move</strong></a>(self, **keywords)</dt></dl> -<dl><dt><a name="QuickCommandConsole-open"><strong>open</strong></a>(self, mode, string<font color="#909090">=''</font>)</dt></dl> +<dl><dt><a name="QuickCommandConsole-open"><strong>open</strong></a>(self, mode, string<font color="#909090">=''</font>, prompt<font color="#909090">=None</font>)</dt></dl> <dl><dt><a name="QuickCommandConsole-paste"><strong>paste</strong></a>(self)</dt></dl> @@ -745,8 +736,6 @@ Methods inherited from <a href="ranger.gui.widgets.console.html#Console">Console Data and other attributes inherited from <a href="ranger.gui.widgets.console.html#Console">Console</a>:<br> <dl><dt><strong>allow_close</strong> = False</dl> -<dl><dt><strong>commandlist</strong> = None</dl> - <dl><dt><strong>copy</strong> = ''</dl> <dl><dt><strong>histories</strong> = None</dl> @@ -902,11 +891,11 @@ Methods inherited from <a href="ranger.gui.widgets.console.html#Console">Console <dl><dt><a name="QuickOpenConsole-history_move"><strong>history_move</strong></a>(self, n)</dt></dl> -<dl><dt><a name="QuickOpenConsole-move"><strong>move</strong></a>(self, relative<font color="#909090">=0</font>, absolute<font color="#909090">=None</font>)</dt></dl> +<dl><dt><a name="QuickOpenConsole-move"><strong>move</strong></a>(self, **keywords)</dt></dl> <dl><dt><a name="QuickOpenConsole-on_line_change"><strong>on_line_change</strong></a>(self)</dt></dl> -<dl><dt><a name="QuickOpenConsole-open"><strong>open</strong></a>(self, mode, string<font color="#909090">=''</font>)</dt></dl> +<dl><dt><a name="QuickOpenConsole-open"><strong>open</strong></a>(self, mode, string<font color="#909090">=''</font>, prompt<font color="#909090">=None</font>)</dt></dl> <dl><dt><a name="QuickOpenConsole-paste"><strong>paste</strong></a>(self)</dt></dl> @@ -918,8 +907,6 @@ Methods inherited from <a href="ranger.gui.widgets.console.html#Console">Console Data and other attributes inherited from <a href="ranger.gui.widgets.console.html#Console">Console</a>:<br> <dl><dt><strong>allow_close</strong> = False</dl> -<dl><dt><strong>commandlist</strong> = None</dl> - <dl><dt><strong>copy</strong> = ''</dl> <dl><dt><strong>histories</strong> = None</dl> @@ -1046,11 +1033,11 @@ Methods inherited from <a href="ranger.gui.widgets.console.html#Console">Console <dl><dt><a name="SearchConsole-history_move"><strong>history_move</strong></a>(self, n)</dt></dl> -<dl><dt><a name="SearchConsole-move"><strong>move</strong></a>(self, relative<font color="#909090">=0</font>, absolute<font color="#909090">=None</font>)</dt></dl> +<dl><dt><a name="SearchConsole-move"><strong>move</strong></a>(self, **keywords)</dt></dl> <dl><dt><a name="SearchConsole-on_line_change"><strong>on_line_change</strong></a>(self)</dt></dl> -<dl><dt><a name="SearchConsole-open"><strong>open</strong></a>(self, mode, string<font color="#909090">=''</font>)</dt></dl> +<dl><dt><a name="SearchConsole-open"><strong>open</strong></a>(self, mode, string<font color="#909090">=''</font>, prompt<font color="#909090">=None</font>)</dt></dl> <dl><dt><a name="SearchConsole-paste"><strong>paste</strong></a>(self)</dt></dl> @@ -1064,8 +1051,6 @@ Methods inherited from <a href="ranger.gui.widgets.console.html#Console">Console Data and other attributes inherited from <a href="ranger.gui.widgets.console.html#Console">Console</a>:<br> <dl><dt><strong>allow_close</strong> = False</dl> -<dl><dt><strong>commandlist</strong> = None</dl> - <dl><dt><strong>copy</strong> = ''</dl> <dl><dt><strong>histories</strong> = None</dl> @@ -1146,7 +1131,8 @@ Data and other attributes inherited from <a href="ranger.shared.settings.html#Se <font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr> <tr><td bgcolor="#55aa55"><tt> </tt></td><td> </td> -<td width="100%"><strong>DEFAULT_HISTORY</strong> = 0<br> +<td width="100%"><strong>ALLOWED_FLAGS</strong> = 'sdpSDP'<br> +<strong>DEFAULT_HISTORY</strong> = 0<br> <strong>OPEN_HISTORY</strong> = 3<br> <strong>QUICKOPEN_HISTORY</strong> = 2<br> <strong>SEARCH_HISTORY</strong> = 1</td></tr></table> diff --git a/doc/pydoc/ranger.gui.widgets.pager.html b/doc/pydoc/ranger.gui.widgets.pager.html index 9705600f..c46fc373 100644 --- a/doc/pydoc/ranger.gui.widgets.pager.html +++ b/doc/pydoc/ranger.gui.widgets.pager.html @@ -63,9 +63,7 @@ Methods defined here:<br> <dl><dt><a name="Pager-finalize"><strong>finalize</strong></a>(self)</dt></dl> -<dl><dt><a name="Pager-move"><strong>move</strong></a>(self, relative<font color="#909090">=0</font>, absolute<font color="#909090">=None</font>, pages<font color="#909090">=None</font>, narg<font color="#909090">=None</font>)</dt></dl> - -<dl><dt><a name="Pager-move_horizontal"><strong>move_horizontal</strong></a>(self, relative<font color="#909090">=0</font>, absolute<font color="#909090">=None</font>, narg<font color="#909090">=None</font>)</dt></dl> +<dl><dt><a name="Pager-move"><strong>move</strong></a>(self, narg<font color="#909090">=None</font>, **kw)</dt></dl> <dl><dt><a name="Pager-open"><strong>open</strong></a>(self)</dt></dl> diff --git a/doc/pydoc/ranger.gui.widgets.statusbar.html b/doc/pydoc/ranger.gui.widgets.statusbar.html index 1a97d532..169692b9 100644 --- a/doc/pydoc/ranger.gui.widgets.statusbar.html +++ b/doc/pydoc/ranger.gui.widgets.statusbar.html @@ -95,6 +95,8 @@ Methods defined here:<br> <dl><dt><a name="StatusBar-notify"><strong>notify</strong></a>(self, text, duration<font color="#909090">=4</font>, bad<font color="#909090">=False</font>)</dt></dl> +<dl><dt><a name="StatusBar-request_redraw"><strong>request_redraw</strong></a>(self)</dt></dl> + <hr> Data and other attributes defined here:<br> <dl><dt><strong>groups</strong> = {}</dl> diff --git a/doc/pydoc/ranger.gui.widgets.taskview.html b/doc/pydoc/ranger.gui.widgets.taskview.html index 28c63c4e..5ee06814 100644 --- a/doc/pydoc/ranger.gui.widgets.taskview.html +++ b/doc/pydoc/ranger.gui.widgets.taskview.html @@ -70,7 +70,7 @@ Methods defined here:<br> <dl><dt><a name="TaskView-press"><strong>press</strong></a>(self, key)</dt></dl> -<dl><dt><a name="TaskView-task_move"><strong>task_move</strong></a>(self, absolute, i<font color="#909090">=None</font>)</dt></dl> +<dl><dt><a name="TaskView-task_move"><strong>task_move</strong></a>(self, to, i<font color="#909090">=None</font>)</dt></dl> <dl><dt><a name="TaskView-task_remove"><strong>task_remove</strong></a>(self, i<font color="#909090">=None</font>)</dt></dl> @@ -140,7 +140,7 @@ Methods inherited from <a href="ranger.ext.accumulator.html#Accumulator">ranger. <dl><dt><a name="TaskView-get_height"><strong>get_height</strong></a>(self)</dt><dd><tt>OVERRIDE THIS</tt></dd></dl> -<dl><dt><a name="TaskView-move"><strong>move</strong></a>(self, relative<font color="#909090">=0</font>, absolute<font color="#909090">=None</font>, pages<font color="#909090">=None</font>, narg<font color="#909090">=None</font>)</dt></dl> +<dl><dt><a name="TaskView-move"><strong>move</strong></a>(self, narg<font color="#909090">=None</font>, **keywords)</dt></dl> <dl><dt><a name="TaskView-move_to_obj"><strong>move_to_obj</strong></a>(self, arg, attr<font color="#909090">=None</font>)</dt></dl> diff --git a/doc/pydoc/ranger.gui.widgets.titlebar.html b/doc/pydoc/ranger.gui.widgets.titlebar.html index 0938452d..b8b4829c 100644 --- a/doc/pydoc/ranger.gui.widgets.titlebar.html +++ b/doc/pydoc/ranger.gui.widgets.titlebar.html @@ -47,12 +47,18 @@ It displays the current path among other thin </dl> <hr> Methods defined here:<br> +<dl><dt><a name="TitleBar-__init__"><strong>__init__</strong></a>(self, *args, **keywords)</dt></dl> + <dl><dt><a name="TitleBar-click"><strong>click</strong></a>(self, event)</dt><dd><tt>Handle a MouseEvent</tt></dd></dl> <dl><dt><a name="TitleBar-draw"><strong>draw</strong></a>(self)</dt></dl> +<dl><dt><a name="TitleBar-request_redraw"><strong>request_redraw</strong></a>(self)</dt></dl> + <hr> Data and other attributes defined here:<br> +<dl><dt><strong>need_redraw</strong> = False</dl> + <dl><dt><strong>old_cf</strong> = None</dl> <dl><dt><strong>old_keybuffer</strong> = None</dl> @@ -61,6 +67,8 @@ Data and other attributes defined here:<br> <dl><dt><strong>result</strong> = None</dl> +<dl><dt><strong>tab_width</strong> = 0</dl> + <dl><dt><strong>throbber</strong> = ' '</dl> <hr> @@ -70,8 +78,6 @@ Methods inherited from <a href="ranger.gui.displayable.html#Displayable">ranger. <dl><dt><a name="TitleBar-__contains__"><strong>__contains__</strong></a>(self, item)</dt><dd><tt>Is item inside the boundaries?<br> item can be an iterable like [y, x] or an object with x and y methods.</tt></dd></dl> -<dl><dt><a name="TitleBar-__init__"><strong>__init__</strong></a>(self, win, env<font color="#909090">=None</font>, fm<font color="#909090">=None</font>, settings<font color="#909090">=None</font>)</dt></dl> - <dl><dt><a name="TitleBar-__nonzero__"><strong>__nonzero__</strong></a>(self)</dt><dd><tt>Always True</tt></dd></dl> <dl><dt><a name="TitleBar-__str__"><strong>__str__</strong></a>(self)</dt></dl> @@ -124,16 +130,5 @@ Methods inherited from <a href="ranger.gui.curses_shortcuts.html#CursesShortcuts Data and other attributes inherited from <a href="ranger.shared.settings.html#SettingsAware">ranger.shared.settings.SettingsAware</a>:<br> <dl><dt><strong>settings</strong> = {}</dl> -</td></tr></table></td></tr></table><p> -<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> -<tr bgcolor="#eeaa77"> -<td colspan=3 valign=bottom> <br> -<font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></big></font></td></tr> - -<tr><td bgcolor="#eeaa77"><tt> </tt></td><td> </td> -<td width="100%"><dl><dt><a name="-floor"><strong>floor</strong></a>(...)</dt><dd><tt><a href="#-floor">floor</a>(x)<br> - <br> -Return the floor of x as a float.<br> -This is the largest integral value <= x.</tt></dd></dl> -</td></tr></table> +</td></tr></table></td></tr></table> </body></html> \ No newline at end of file diff --git a/doc/pydoc/ranger.shared.settings.html b/doc/pydoc/ranger.shared.settings.html index f50c6569..4415a12e 100644 --- a/doc/pydoc/ranger.shared.settings.html +++ b/doc/pydoc/ranger.shared.settings.html @@ -31,7 +31,8 @@ <tr><td bgcolor="#aa55cc"><tt> </tt></td><td> </td> <td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="ranger.html">ranger</a><br> -</td><td width="25%" valign=top></td><td width="25%" valign=top></td><td width="25%" valign=top></td></tr></table></td></tr></table><p> +</td><td width="25%" valign=top><a href="sys.html">sys</a><br> +</td><td width="25%" valign=top></td><td width="25%" valign=top></td></tr></table></td></tr></table><p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#ee77aa"> <td colspan=3 valign=bottom> <br> @@ -72,10 +73,14 @@ Methods defined here:<br> <dl><dt><a name="SettingObject-__init__"><strong>__init__</strong></a>(self)</dt></dl> +<dl><dt><a name="SettingObject-__iter__"><strong>__iter__</strong></a>(self)</dt></dl> + <dl><dt><a name="SettingObject-__setattr__"><strong>__setattr__</strong></a>(self, name, value)</dt></dl> <dl><dt><a name="SettingObject-__setitem__"><strong>__setitem__</strong></a> = <a href="#SettingObject-__setattr__">__setattr__</a>(self, name, value)</dt></dl> +<dl><dt><a name="SettingObject-types_of"><strong>types_of</strong></a>(self, name)</dt></dl> + <hr> Methods inherited from <a href="ranger.ext.signal_dispatcher.html#SignalDispatcher">ranger.ext.signal_dispatcher.SignalDispatcher</a>:<br> <dl><dt><a name="SettingObject-signal_bind"><strong>signal_bind</strong></a>(self, signal_name, function, priority<font color="#909090">=0.5</font>, weak<font color="#909090">=False</font>)</dt></dl> @@ -121,6 +126,5 @@ Data and other attributes defined here:<br> <font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr> <tr><td bgcolor="#55aa55"><tt> </tt></td><td> </td> -<td width="100%"><strong>ALLOWED_SETTINGS</strong> = {'autosave_bookmarks': <type 'bool'>, 'collapse_preview': <type 'bool'>, 'colorscheme': <type 'str'>, 'colorscheme_overlay': (<type 'NoneType'>, <type 'function'>), 'draw_bookmark_borders': <type 'bool'>, 'draw_borders': <type 'bool'>, 'flushinput': <type 'bool'>, 'hidden_filter': <function <lambda>>, 'max_filesize_for_preview': (<type 'int'>, <type 'NoneType'>), 'max_history_size': (<type 'int'>, <type 'NoneType'>), ...}<br> -<strong>COMPAT_MAP</strong> = {'sort_directories_first': 'directories_first', 'sort_reverse': 'reverse'}</td></tr></table> +<td width="100%"><strong>ALLOWED_SETTINGS</strong> = {'autosave_bookmarks': <type 'bool'>, 'collapse_preview': <type 'bool'>, 'colorscheme': <type 'str'>, 'colorscheme_overlay': (<type 'NoneType'>, <type 'function'>), 'column_ratios': (<type 'tuple'>, <type 'list'>, <type 'set'>), 'dirname_in_tabs': <type 'bool'>, 'display_size_in_main_column': <type 'bool'>, 'display_size_in_status_bar': <type 'bool'>, 'draw_bookmark_borders': <type 'bool'>, 'draw_borders': <type 'bool'>, ...}</td></tr></table> </body></html> \ No newline at end of file diff --git a/doc/pydoc/test.html b/doc/pydoc/test.html deleted file mode 100644 index 69b6f644..00000000 --- a/doc/pydoc/test.html +++ /dev/null @@ -1,52 +0,0 @@ - -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<html><head><title>Python: package test</title> -</head><body bgcolor="#f0f0f8"> - -<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading"> -<tr bgcolor="#7799ee"> -<td valign=bottom> <br> -<font color="#ffffff" face="helvetica, arial"> <br><big><big><strong>test</strong></big></big></font></td -><td align=right valign=bottom -><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/home/hut/ranger/test/__init__.py">/home/hut/ranger/test/__init__.py</a></font></td></tr></table> - <p><tt># Copyright (C) 2009, 2010 Roman Zimbelmann <romanz@lavabit.com><br> -#<br> -# This program is free software: you can redistribute it and/or modify<br> -# it under the terms of the GNU General Public License as published by<br> -# the Free Software Foundation, either version 3 of the License, or<br> -# (at your option) any later version.<br> -#<br> -# This program is distributed in the hope that it will be useful,<br> -# but WITHOUT ANY WARRANTY; without even the implied warranty of<br> -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the<br> -# GNU General Public License for more details.<br> -#<br> -# You should have received a copy of the GNU General Public License<br> -# along with this program. If not, see <<a href="http://www.gnu.org/licenses/">http://www.gnu.org/licenses/</a>>.</tt></p> -<p> -<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> -<tr bgcolor="#aa55cc"> -<td colspan=3 valign=bottom> <br> -<font color="#ffffff" face="helvetica, arial"><big><strong>Package Contents</strong></big></font></td></tr> - -<tr><td bgcolor="#aa55cc"><tt> </tt></td><td> </td> -<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="test.tc_bookmarks.html">tc_bookmarks</a><br> -<a href="test.tc_colorscheme.html">tc_colorscheme</a><br> -<a href="test.tc_commandlist.html">tc_commandlist</a><br> -</td><td width="25%" valign=top><a href="test.tc_directory.html">tc_directory</a><br> -<a href="test.tc_displayable.html">tc_displayable</a><br> -<a href="test.tc_ext.html">tc_ext</a><br> -</td><td width="25%" valign=top><a href="test.tc_history.html">tc_history</a><br> -<a href="test.tc_keyapi.html">tc_keyapi</a><br> -<a href="test.tc_signal.html">tc_signal</a><br> -</td><td width="25%" valign=top><a href="test.tc_ui.html">tc_ui</a><br> -<a href="test.test.html">test</a><br> -</td></tr></table></td></tr></table><p> -<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> -<tr bgcolor="#55aa55"> -<td colspan=3 valign=bottom> <br> -<font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr> - -<tr><td bgcolor="#55aa55"><tt> </tt></td><td> </td> -<td width="100%"><strong>__all__</strong> = ['tc_keyapi', 'tc_history', 'tc_colorscheme', 'tc_bookmarks', 'tc_ext', 'tc_directory', 'tc_commandlist', 'tc_colorscheme', 'tc_keyapi', 'tc_history', 'tc_commandlist', 'tc_signal', 'tc_displayable', 'tc_signal', 'tc_directory', 'tc_ui', 'tc_ui', 'tc_bookmarks', 'tc_ext', 'tc_displayable']</td></tr></table> -</body></html> \ No newline at end of file diff --git a/doc/pydoc/test.tc_bookmarks.html b/doc/pydoc/test.tc_bookmarks.html deleted file mode 100644 index 0d14d5d6..00000000 --- a/doc/pydoc/test.tc_bookmarks.html +++ /dev/null @@ -1,216 +0,0 @@ - -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<html><head><title>Python: module test.tc_bookmarks</title> -</head><body bgcolor="#f0f0f8"> - -<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading"> -<tr bgcolor="#7799ee"> -<td valign=bottom> <br> -<font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a href="test.html"><font color="#ffffff">test</font></a>.tc_bookmarks</strong></big></big></font></td -><td align=right valign=bottom -><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/home/hut/ranger/test/tc_bookmarks.py">/home/hut/ranger/test/tc_bookmarks.py</a></font></td></tr></table> - <p><tt># Copyright (C) 2009, 2010 Roman Zimbelmann <romanz@lavabit.com><br> -#<br> -# This program is free software: you can redistribute it and/or modify<br> -# it under the terms of the GNU General Public License as published by<br> -# the Free Software Foundation, either version 3 of the License, or<br> -# (at your option) any later version.<br> -#<br> -# This program is distributed in the hope that it will be useful,<br> -# but WITHOUT ANY WARRANTY; without even the implied warranty of<br> -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the<br> -# GNU General Public License for more details.<br> -#<br> -# You should have received a copy of the GNU General Public License<br> -# along with this program. If not, see <<a href="http://www.gnu.org/licenses/">http://www.gnu.org/licenses/</a>>.</tt></p> -<p> -<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> -<tr bgcolor="#aa55cc"> -<td colspan=3 valign=bottom> <br> -<font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr> - -<tr><td bgcolor="#aa55cc"><tt> </tt></td><td> </td> -<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="os.html">os</a><br> -</td><td width="25%" valign=top><a href="time.html">time</a><br> -</td><td width="25%" valign=top><a href="unittest.html">unittest</a><br> -</td><td width="25%" valign=top></td></tr></table></td></tr></table><p> -<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> -<tr bgcolor="#ee77aa"> -<td colspan=3 valign=bottom> <br> -<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr> - -<tr><td bgcolor="#ee77aa"><tt> </tt></td><td> </td> -<td width="100%"><dl> -<dt><font face="helvetica, arial"><a href="unittest.html#TestCase">unittest.TestCase</a>(<a href="__builtin__.html#object">__builtin__.object</a>) -</font></dt><dd> -<dl> -<dt><font face="helvetica, arial"><a href="test.tc_bookmarks.html#TestDisplayable">TestDisplayable</a> -</font></dt></dl> -</dd> -</dl> - <p> -<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> -<tr bgcolor="#ffc8d8"> -<td colspan=3 valign=bottom> <br> -<font color="#000000" face="helvetica, arial"><a name="TestDisplayable">class <strong>TestDisplayable</strong></a>(<a href="unittest.html#TestCase">unittest.TestCase</a>)</font></td></tr> - -<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> -<td width="100%"><dl><dt>Method resolution order:</dt> -<dd><a href="test.tc_bookmarks.html#TestDisplayable">TestDisplayable</a></dd> -<dd><a href="unittest.html#TestCase">unittest.TestCase</a></dd> -<dd><a href="__builtin__.html#object">__builtin__.object</a></dd> -</dl> -<hr> -Methods defined here:<br> -<dl><dt><a name="TestDisplayable-setUp"><strong>setUp</strong></a>(self)</dt></dl> - -<dl><dt><a name="TestDisplayable-tearDown"><strong>tearDown</strong></a>(self)</dt></dl> - -<dl><dt><a name="TestDisplayable-test_adding_bookmarks"><strong>test_adding_bookmarks</strong></a>(self)</dt></dl> - -<dl><dt><a name="TestDisplayable-test_messing_around"><strong>test_messing_around</strong></a>(self)</dt></dl> - -<dl><dt><a name="TestDisplayable-test_sharing_bookmarks_between_instances"><strong>test_sharing_bookmarks_between_instances</strong></a>(self)</dt></dl> - -<hr> -Methods inherited from <a href="unittest.html#TestCase">unittest.TestCase</a>:<br> -<dl><dt><a name="TestDisplayable-__call__"><strong>__call__</strong></a>(self, *args, **kwds)</dt></dl> - -<dl><dt><a name="TestDisplayable-__eq__"><strong>__eq__</strong></a>(self, other)</dt></dl> - -<dl><dt><a name="TestDisplayable-__hash__"><strong>__hash__</strong></a>(self)</dt></dl> - -<dl><dt><a name="TestDisplayable-__init__"><strong>__init__</strong></a>(self, methodName<font color="#909090">='runTest'</font>)</dt><dd><tt>Create an instance of the class that will use the named test<br> -method when executed. Raises a ValueError if the instance does<br> -not have a method with the specified name.</tt></dd></dl> - -<dl><dt><a name="TestDisplayable-__ne__"><strong>__ne__</strong></a>(self, other)</dt></dl> - -<dl><dt><a name="TestDisplayable-__repr__"><strong>__repr__</strong></a>(self)</dt></dl> - -<dl><dt><a name="TestDisplayable-__str__"><strong>__str__</strong></a>(self)</dt></dl> - -<dl><dt><a name="TestDisplayable-assertAlmostEqual"><strong>assertAlmostEqual</strong></a> = failUnlessAlmostEqual(self, first, second, places<font color="#909090">=7</font>, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are unequal as determined by their<br> -difference rounded to the given number of decimal places<br> -(default 7) and comparing to zero.<br> - <br> -Note that decimal places (from zero) are usually not the same<br> -as significant digits (measured from the most signficant digit).</tt></dd></dl> - -<dl><dt><a name="TestDisplayable-assertAlmostEquals"><strong>assertAlmostEquals</strong></a> = failUnlessAlmostEqual(self, first, second, places<font color="#909090">=7</font>, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are unequal as determined by their<br> -difference rounded to the given number of decimal places<br> -(default 7) and comparing to zero.<br> - <br> -Note that decimal places (from zero) are usually not the same<br> -as significant digits (measured from the most signficant digit).</tt></dd></dl> - -<dl><dt><a name="TestDisplayable-assertEqual"><strong>assertEqual</strong></a> = failUnlessEqual(self, first, second, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are unequal as determined by the '=='<br> -operator.</tt></dd></dl> - -<dl><dt><a name="TestDisplayable-assertEquals"><strong>assertEquals</strong></a> = failUnlessEqual(self, first, second, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are unequal as determined by the '=='<br> -operator.</tt></dd></dl> - -<dl><dt><a name="TestDisplayable-assertFalse"><strong>assertFalse</strong></a> = failIf(self, expr, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail the test if the expression is true.</tt></dd></dl> - -<dl><dt><a name="TestDisplayable-assertNotAlmostEqual"><strong>assertNotAlmostEqual</strong></a> = failIfAlmostEqual(self, first, second, places<font color="#909090">=7</font>, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are equal as determined by their<br> -difference rounded to the given number of decimal places<br> -(default 7) and comparing to zero.<br> - <br> -Note that decimal places (from zero) are usually not the same<br> -as significant digits (measured from the most signficant digit).</tt></dd></dl> - -<dl><dt><a name="TestDisplayable-assertNotAlmostEquals"><strong>assertNotAlmostEquals</strong></a> = failIfAlmostEqual(self, first, second, places<font color="#909090">=7</font>, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are equal as determined by their<br> -difference rounded to the given number of decimal places<br> -(default 7) and comparing to zero.<br> - <br> -Note that decimal places (from zero) are usually not the same<br> -as significant digits (measured from the most signficant digit).</tt></dd></dl> - -<dl><dt><a name="TestDisplayable-assertNotEqual"><strong>assertNotEqual</strong></a> = failIfEqual(self, first, second, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are equal as determined by the '=='<br> -operator.</tt></dd></dl> - -<dl><dt><a name="TestDisplayable-assertNotEquals"><strong>assertNotEquals</strong></a> = failIfEqual(self, first, second, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are equal as determined by the '=='<br> -operator.</tt></dd></dl> - -<dl><dt><a name="TestDisplayable-assertRaises"><strong>assertRaises</strong></a> = failUnlessRaises(self, excClass, callableObj, *args, **kwargs)</dt><dd><tt>Fail unless an exception of class excClass is thrown<br> -by callableObj when invoked with arguments args and keyword<br> -arguments kwargs. If a different type of exception is<br> -thrown, it will not be caught, and the test case will be<br> -deemed to have suffered an error, exactly as for an<br> -unexpected exception.</tt></dd></dl> - -<dl><dt><a name="TestDisplayable-assertTrue"><strong>assertTrue</strong></a> = failUnless(self, expr, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail the test unless the expression is true.</tt></dd></dl> - -<dl><dt><a name="TestDisplayable-assert_"><strong>assert_</strong></a> = failUnless(self, expr, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail the test unless the expression is true.</tt></dd></dl> - -<dl><dt><a name="TestDisplayable-countTestCases"><strong>countTestCases</strong></a>(self)</dt></dl> - -<dl><dt><a name="TestDisplayable-debug"><strong>debug</strong></a>(self)</dt><dd><tt>Run the test without collecting errors in a TestResult</tt></dd></dl> - -<dl><dt><a name="TestDisplayable-defaultTestResult"><strong>defaultTestResult</strong></a>(self)</dt></dl> - -<dl><dt><a name="TestDisplayable-fail"><strong>fail</strong></a>(self, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail immediately, with the given message.</tt></dd></dl> - -<dl><dt><a name="TestDisplayable-failIf"><strong>failIf</strong></a>(self, expr, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail the test if the expression is true.</tt></dd></dl> - -<dl><dt><a name="TestDisplayable-failIfAlmostEqual"><strong>failIfAlmostEqual</strong></a>(self, first, second, places<font color="#909090">=7</font>, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are equal as determined by their<br> -difference rounded to the given number of decimal places<br> -(default 7) and comparing to zero.<br> - <br> -Note that decimal places (from zero) are usually not the same<br> -as significant digits (measured from the most signficant digit).</tt></dd></dl> - -<dl><dt><a name="TestDisplayable-failIfEqual"><strong>failIfEqual</strong></a>(self, first, second, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are equal as determined by the '=='<br> -operator.</tt></dd></dl> - -<dl><dt><a name="TestDisplayable-failUnless"><strong>failUnless</strong></a>(self, expr, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail the test unless the expression is true.</tt></dd></dl> - -<dl><dt><a name="TestDisplayable-failUnlessAlmostEqual"><strong>failUnlessAlmostEqual</strong></a>(self, first, second, places<font color="#909090">=7</font>, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are unequal as determined by their<br> -difference rounded to the given number of decimal places<br> -(default 7) and comparing to zero.<br> - <br> -Note that decimal places (from zero) are usually not the same<br> -as significant digits (measured from the most signficant digit).</tt></dd></dl> - -<dl><dt><a name="TestDisplayable-failUnlessEqual"><strong>failUnlessEqual</strong></a>(self, first, second, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are unequal as determined by the '=='<br> -operator.</tt></dd></dl> - -<dl><dt><a name="TestDisplayable-failUnlessRaises"><strong>failUnlessRaises</strong></a>(self, excClass, callableObj, *args, **kwargs)</dt><dd><tt>Fail unless an exception of class excClass is thrown<br> -by callableObj when invoked with arguments args and keyword<br> -arguments kwargs. If a different type of exception is<br> -thrown, it will not be caught, and the test case will be<br> -deemed to have suffered an error, exactly as for an<br> -unexpected exception.</tt></dd></dl> - -<dl><dt><a name="TestDisplayable-id"><strong>id</strong></a>(self)</dt></dl> - -<dl><dt><a name="TestDisplayable-run"><strong>run</strong></a>(self, result<font color="#909090">=None</font>)</dt></dl> - -<dl><dt><a name="TestDisplayable-shortDescription"><strong>shortDescription</strong></a>(self)</dt><dd><tt>Returns a one-line description of the test, or None if no<br> -description has been provided.<br> - <br> -The default implementation of this method returns the first line of<br> -the specified test method's docstring.</tt></dd></dl> - -<hr> -Data descriptors inherited from <a href="unittest.html#TestCase">unittest.TestCase</a>:<br> -<dl><dt><strong>__dict__</strong></dt> -<dd><tt>dictionary for instance variables (if defined)</tt></dd> -</dl> -<dl><dt><strong>__weakref__</strong></dt> -<dd><tt>list of weak references to the object (if defined)</tt></dd> -</dl> -<hr> -Data and other attributes inherited from <a href="unittest.html#TestCase">unittest.TestCase</a>:<br> -<dl><dt><strong>failureException</strong> = <type 'exceptions.AssertionError'><dd><tt>Assertion failed.</tt></dl> - -</td></tr></table></td></tr></table><p> -<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> -<tr bgcolor="#55aa55"> -<td colspan=3 valign=bottom> <br> -<font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr> - -<tr><td bgcolor="#55aa55"><tt> </tt></td><td> </td> -<td width="100%"><strong>BMFILE</strong> = '/home/hut/ranger/test/testdir/bookmarks'<br> -<strong>TESTDIR</strong> = '/home/hut/ranger/test/testdir'</td></tr></table> -</body></html> \ No newline at end of file diff --git a/doc/pydoc/test.tc_colorscheme.html b/doc/pydoc/test.tc_colorscheme.html deleted file mode 100644 index be917eb1..00000000 --- a/doc/pydoc/test.tc_colorscheme.html +++ /dev/null @@ -1,210 +0,0 @@ - -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<html><head><title>Python: module test.tc_colorscheme</title> -</head><body bgcolor="#f0f0f8"> - -<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading"> -<tr bgcolor="#7799ee"> -<td valign=bottom> <br> -<font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a href="test.html"><font color="#ffffff">test</font></a>.tc_colorscheme</strong></big></big></font></td -><td align=right valign=bottom -><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/home/hut/ranger/test/tc_colorscheme.py">/home/hut/ranger/test/tc_colorscheme.py</a></font></td></tr></table> - <p><tt># Copyright (C) 2009, 2010 Roman Zimbelmann <romanz@lavabit.com><br> -#<br> -# This program is free software: you can redistribute it and/or modify<br> -# it under the terms of the GNU General Public License as published by<br> -# the Free Software Foundation, either version 3 of the License, or<br> -# (at your option) any later version.<br> -#<br> -# This program is distributed in the hope that it will be useful,<br> -# but WITHOUT ANY WARRANTY; without even the implied warranty of<br> -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the<br> -# GNU General Public License for more details.<br> -#<br> -# You should have received a copy of the GNU General Public License<br> -# along with this program. If not, see <<a href="http://www.gnu.org/licenses/">http://www.gnu.org/licenses/</a>>.</tt></p> -<p> -<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> -<tr bgcolor="#aa55cc"> -<td colspan=3 valign=bottom> <br> -<font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr> - -<tr><td bgcolor="#aa55cc"><tt> </tt></td><td> </td> -<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="random.html">random</a><br> -</td><td width="25%" valign=top><a href="ranger.html">ranger</a><br> -</td><td width="25%" valign=top></td><td width="25%" valign=top></td></tr></table></td></tr></table><p> -<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> -<tr bgcolor="#ee77aa"> -<td colspan=3 valign=bottom> <br> -<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr> - -<tr><td bgcolor="#ee77aa"><tt> </tt></td><td> </td> -<td width="100%"><dl> -<dt><font face="helvetica, arial"><a href="unittest.html#TestCase">unittest.TestCase</a>(<a href="__builtin__.html#object">__builtin__.object</a>) -</font></dt><dd> -<dl> -<dt><font face="helvetica, arial"><a href="test.tc_colorscheme.html#Test">Test</a> -</font></dt></dl> -</dd> -</dl> - <p> -<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> -<tr bgcolor="#ffc8d8"> -<td colspan=3 valign=bottom> <br> -<font color="#000000" face="helvetica, arial"><a name="Test">class <strong>Test</strong></a>(<a href="unittest.html#TestCase">unittest.TestCase</a>)</font></td></tr> - -<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> -<td width="100%"><dl><dt>Method resolution order:</dt> -<dd><a href="test.tc_colorscheme.html#Test">Test</a></dd> -<dd><a href="unittest.html#TestCase">unittest.TestCase</a></dd> -<dd><a href="__builtin__.html#object">__builtin__.object</a></dd> -</dl> -<hr> -Methods defined here:<br> -<dl><dt><a name="Test-setUp"><strong>setUp</strong></a>(self)</dt></dl> - -<dl><dt><a name="Test-test_colorschemes"><strong>test_colorschemes</strong></a>(self)</dt></dl> - -<hr> -Methods inherited from <a href="unittest.html#TestCase">unittest.TestCase</a>:<br> -<dl><dt><a name="Test-__call__"><strong>__call__</strong></a>(self, *args, **kwds)</dt></dl> - -<dl><dt><a name="Test-__eq__"><strong>__eq__</strong></a>(self, other)</dt></dl> - -<dl><dt><a name="Test-__hash__"><strong>__hash__</strong></a>(self)</dt></dl> - -<dl><dt><a name="Test-__init__"><strong>__init__</strong></a>(self, methodName<font color="#909090">='runTest'</font>)</dt><dd><tt>Create an instance of the class that will use the named test<br> -method when executed. Raises a ValueError if the instance does<br> -not have a method with the specified name.</tt></dd></dl> - -<dl><dt><a name="Test-__ne__"><strong>__ne__</strong></a>(self, other)</dt></dl> - -<dl><dt><a name="Test-__repr__"><strong>__repr__</strong></a>(self)</dt></dl> - -<dl><dt><a name="Test-__str__"><strong>__str__</strong></a>(self)</dt></dl> - -<dl><dt><a name="Test-assertAlmostEqual"><strong>assertAlmostEqual</strong></a> = failUnlessAlmostEqual(self, first, second, places<font color="#909090">=7</font>, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are unequal as determined by their<br> -difference rounded to the given number of decimal places<br> -(default 7) and comparing to zero.<br> - <br> -Note that decimal places (from zero) are usually not the same<br> -as significant digits (measured from the most signficant digit).</tt></dd></dl> - -<dl><dt><a name="Test-assertAlmostEquals"><strong>assertAlmostEquals</strong></a> = failUnlessAlmostEqual(self, first, second, places<font color="#909090">=7</font>, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are unequal as determined by their<br> -difference rounded to the given number of decimal places<br> -(default 7) and comparing to zero.<br> - <br> -Note that decimal places (from zero) are usually not the same<br> -as significant digits (measured from the most signficant digit).</tt></dd></dl> - -<dl><dt><a name="Test-assertEqual"><strong>assertEqual</strong></a> = failUnlessEqual(self, first, second, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are unequal as determined by the '=='<br> -operator.</tt></dd></dl> - -<dl><dt><a name="Test-assertEquals"><strong>assertEquals</strong></a> = failUnlessEqual(self, first, second, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are unequal as determined by the '=='<br> -operator.</tt></dd></dl> - -<dl><dt><a name="Test-assertFalse"><strong>assertFalse</strong></a> = failIf(self, expr, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail the test if the expression is true.</tt></dd></dl> - -<dl><dt><a name="Test-assertNotAlmostEqual"><strong>assertNotAlmostEqual</strong></a> = failIfAlmostEqual(self, first, second, places<font color="#909090">=7</font>, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are equal as determined by their<br> -difference rounded to the given number of decimal places<br> -(default 7) and comparing to zero.<br> - <br> -Note that decimal places (from zero) are usually not the same<br> -as significant digits (measured from the most signficant digit).</tt></dd></dl> - -<dl><dt><a name="Test-assertNotAlmostEquals"><strong>assertNotAlmostEquals</strong></a> = failIfAlmostEqual(self, first, second, places<font color="#909090">=7</font>, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are equal as determined by their<br> -difference rounded to the given number of decimal places<br> -(default 7) and comparing to zero.<br> - <br> -Note that decimal places (from zero) are usually not the same<br> -as significant digits (measured from the most signficant digit).</tt></dd></dl> - -<dl><dt><a name="Test-assertNotEqual"><strong>assertNotEqual</strong></a> = failIfEqual(self, first, second, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are equal as determined by the '=='<br> -operator.</tt></dd></dl> - -<dl><dt><a name="Test-assertNotEquals"><strong>assertNotEquals</strong></a> = failIfEqual(self, first, second, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are equal as determined by the '=='<br> -operator.</tt></dd></dl> - -<dl><dt><a name="Test-assertRaises"><strong>assertRaises</strong></a> = failUnlessRaises(self, excClass, callableObj, *args, **kwargs)</dt><dd><tt>Fail unless an exception of class excClass is thrown<br> -by callableObj when invoked with arguments args and keyword<br> -arguments kwargs. If a different type of exception is<br> -thrown, it will not be caught, and the test case will be<br> -deemed to have suffered an error, exactly as for an<br> -unexpected exception.</tt></dd></dl> - -<dl><dt><a name="Test-assertTrue"><strong>assertTrue</strong></a> = failUnless(self, expr, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail the test unless the expression is true.</tt></dd></dl> - -<dl><dt><a name="Test-assert_"><strong>assert_</strong></a> = failUnless(self, expr, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail the test unless the expression is true.</tt></dd></dl> - -<dl><dt><a name="Test-countTestCases"><strong>countTestCases</strong></a>(self)</dt></dl> - -<dl><dt><a name="Test-debug"><strong>debug</strong></a>(self)</dt><dd><tt>Run the test without collecting errors in a TestResult</tt></dd></dl> - -<dl><dt><a name="Test-defaultTestResult"><strong>defaultTestResult</strong></a>(self)</dt></dl> - -<dl><dt><a name="Test-fail"><strong>fail</strong></a>(self, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail immediately, with the given message.</tt></dd></dl> - -<dl><dt><a name="Test-failIf"><strong>failIf</strong></a>(self, expr, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail the test if the expression is true.</tt></dd></dl> - -<dl><dt><a name="Test-failIfAlmostEqual"><strong>failIfAlmostEqual</strong></a>(self, first, second, places<font color="#909090">=7</font>, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are equal as determined by their<br> -difference rounded to the given number of decimal places<br> -(default 7) and comparing to zero.<br> - <br> -Note that decimal places (from zero) are usually not the same<br> -as significant digits (measured from the most signficant digit).</tt></dd></dl> - -<dl><dt><a name="Test-failIfEqual"><strong>failIfEqual</strong></a>(self, first, second, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are equal as determined by the '=='<br> -operator.</tt></dd></dl> - -<dl><dt><a name="Test-failUnless"><strong>failUnless</strong></a>(self, expr, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail the test unless the expression is true.</tt></dd></dl> - -<dl><dt><a name="Test-failUnlessAlmostEqual"><strong>failUnlessAlmostEqual</strong></a>(self, first, second, places<font color="#909090">=7</font>, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are unequal as determined by their<br> -difference rounded to the given number of decimal places<br> -(default 7) and comparing to zero.<br> - <br> -Note that decimal places (from zero) are usually not the same<br> -as significant digits (measured from the most signficant digit).</tt></dd></dl> - -<dl><dt><a name="Test-failUnlessEqual"><strong>failUnlessEqual</strong></a>(self, first, second, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are unequal as determined by the '=='<br> -operator.</tt></dd></dl> - -<dl><dt><a name="Test-failUnlessRaises"><strong>failUnlessRaises</strong></a>(self, excClass, callableObj, *args, **kwargs)</dt><dd><tt>Fail unless an exception of class excClass is thrown<br> -by callableObj when invoked with arguments args and keyword<br> -arguments kwargs. If a different type of exception is<br> -thrown, it will not be caught, and the test case will be<br> -deemed to have suffered an error, exactly as for an<br> -unexpected exception.</tt></dd></dl> - -<dl><dt><a name="Test-id"><strong>id</strong></a>(self)</dt></dl> - -<dl><dt><a name="Test-run"><strong>run</strong></a>(self, result<font color="#909090">=None</font>)</dt></dl> - -<dl><dt><a name="Test-shortDescription"><strong>shortDescription</strong></a>(self)</dt><dd><tt>Returns a one-line description of the test, or None if no<br> -description has been provided.<br> - <br> -The default implementation of this method returns the first line of<br> -the specified test method's docstring.</tt></dd></dl> - -<dl><dt><a name="Test-tearDown"><strong>tearDown</strong></a>(self)</dt><dd><tt>Hook method for deconstructing the test fixture after testing it.</tt></dd></dl> - -<hr> -Data descriptors inherited from <a href="unittest.html#TestCase">unittest.TestCase</a>:<br> -<dl><dt><strong>__dict__</strong></dt> -<dd><tt>dictionary for instance variables (if defined)</tt></dd> -</dl> -<dl><dt><strong>__weakref__</strong></dt> -<dd><tt>list of weak references to the object (if defined)</tt></dd> -</dl> -<hr> -Data and other attributes inherited from <a href="unittest.html#TestCase">unittest.TestCase</a>:<br> -<dl><dt><strong>failureException</strong> = <type 'exceptions.AssertionError'><dd><tt>Assertion failed.</tt></dl> - -</td></tr></table></td></tr></table><p> -<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> -<tr bgcolor="#55aa55"> -<td colspan=3 valign=bottom> <br> -<font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr> - -<tr><td bgcolor="#55aa55"><tt> </tt></td><td> </td> -<td width="100%"><strong>CONTEXT_KEYS</strong> = ['reset', 'error', 'in_browser', 'in_statusbar', 'in_titlebar', 'in_console', 'in_pager', 'in_taskview', 'directory', 'file', 'hostname', 'executable', 'media', 'link', 'video', 'audio', 'image', 'media', 'document', 'container', ...]</td></tr></table> -</body></html> \ No newline at end of file diff --git a/doc/pydoc/test.tc_directory.html b/doc/pydoc/test.tc_directory.html deleted file mode 100644 index 6ec13991..00000000 --- a/doc/pydoc/test.tc_directory.html +++ /dev/null @@ -1,218 +0,0 @@ - -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<html><head><title>Python: module test.tc_directory</title> -</head><body bgcolor="#f0f0f8"> - -<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading"> -<tr bgcolor="#7799ee"> -<td valign=bottom> <br> -<font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a href="test.html"><font color="#ffffff">test</font></a>.tc_directory</strong></big></big></font></td -><td align=right valign=bottom -><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/home/hut/ranger/test/tc_directory.py">/home/hut/ranger/test/tc_directory.py</a></font></td></tr></table> - <p><tt># Copyright (C) 2009, 2010 Roman Zimbelmann <romanz@lavabit.com><br> -#<br> -# This program is free software: you can redistribute it and/or modify<br> -# it under the terms of the GNU General Public License as published by<br> -# the Free Software Foundation, either version 3 of the License, or<br> -# (at your option) any later version.<br> -#<br> -# This program is distributed in the hope that it will be useful,<br> -# but WITHOUT ANY WARRANTY; without even the implied warranty of<br> -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the<br> -# GNU General Public License for more details.<br> -#<br> -# You should have received a copy of the GNU General Public License<br> -# along with this program. If not, see <<a href="http://www.gnu.org/licenses/">http://www.gnu.org/licenses/</a>>.</tt></p> -<p> -<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> -<tr bgcolor="#aa55cc"> -<td colspan=3 valign=bottom> <br> -<font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr> - -<tr><td bgcolor="#aa55cc"><tt> </tt></td><td> </td> -<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="ranger.fsobject.html">ranger.fsobject</a><br> -</td><td width="25%" valign=top><a href="unittest.html">unittest</a><br> -</td><td width="25%" valign=top></td><td width="25%" valign=top></td></tr></table></td></tr></table><p> -<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> -<tr bgcolor="#ee77aa"> -<td colspan=3 valign=bottom> <br> -<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr> - -<tr><td bgcolor="#ee77aa"><tt> </tt></td><td> </td> -<td width="100%"><dl> -<dt><font face="helvetica, arial"><a href="unittest.html#TestCase">unittest.TestCase</a>(<a href="__builtin__.html#object">__builtin__.object</a>) -</font></dt><dd> -<dl> -<dt><font face="helvetica, arial"><a href="test.tc_directory.html#Test1">Test1</a> -</font></dt></dl> -</dd> -</dl> - <p> -<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> -<tr bgcolor="#ffc8d8"> -<td colspan=3 valign=bottom> <br> -<font color="#000000" face="helvetica, arial"><a name="Test1">class <strong>Test1</strong></a>(<a href="unittest.html#TestCase">unittest.TestCase</a>)</font></td></tr> - -<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> -<td width="100%"><dl><dt>Method resolution order:</dt> -<dd><a href="test.tc_directory.html#Test1">Test1</a></dd> -<dd><a href="unittest.html#TestCase">unittest.TestCase</a></dd> -<dd><a href="__builtin__.html#object">__builtin__.object</a></dd> -</dl> -<hr> -Methods defined here:<br> -<dl><dt><a name="Test1-test_after_content_loaded"><strong>test_after_content_loaded</strong></a>(self)</dt></dl> - -<dl><dt><a name="Test1-test_initial_condition"><strong>test_initial_condition</strong></a>(self)</dt></dl> - -<dl><dt><a name="Test1-test_load_if_outdated"><strong>test_load_if_outdated</strong></a>(self)</dt></dl> - -<dl><dt><a name="Test1-test_nonexistant_dir"><strong>test_nonexistant_dir</strong></a>(self)</dt></dl> - -<hr> -Methods inherited from <a href="unittest.html#TestCase">unittest.TestCase</a>:<br> -<dl><dt><a name="Test1-__call__"><strong>__call__</strong></a>(self, *args, **kwds)</dt></dl> - -<dl><dt><a name="Test1-__eq__"><strong>__eq__</strong></a>(self, other)</dt></dl> - -<dl><dt><a name="Test1-__hash__"><strong>__hash__</strong></a>(self)</dt></dl> - -<dl><dt><a name="Test1-__init__"><strong>__init__</strong></a>(self, methodName<font color="#909090">='runTest'</font>)</dt><dd><tt>Create an instance of the class that will use the named test<br> -method when executed. Raises a ValueError if the instance does<br> -not have a method with the specified name.</tt></dd></dl> - -<dl><dt><a name="Test1-__ne__"><strong>__ne__</strong></a>(self, other)</dt></dl> - -<dl><dt><a name="Test1-__repr__"><strong>__repr__</strong></a>(self)</dt></dl> - -<dl><dt><a name="Test1-__str__"><strong>__str__</strong></a>(self)</dt></dl> - -<dl><dt><a name="Test1-assertAlmostEqual"><strong>assertAlmostEqual</strong></a> = failUnlessAlmostEqual(self, first, second, places<font color="#909090">=7</font>, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are unequal as determined by their<br> -difference rounded to the given number of decimal places<br> -(default 7) and comparing to zero.<br> - <br> -Note that decimal places (from zero) are usually not the same<br> -as significant digits (measured from the most signficant digit).</tt></dd></dl> - -<dl><dt><a name="Test1-assertAlmostEquals"><strong>assertAlmostEquals</strong></a> = failUnlessAlmostEqual(self, first, second, places<font color="#909090">=7</font>, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are unequal as determined by their<br> -difference rounded to the given number of decimal places<br> -(default 7) and comparing to zero.<br> - <br> -Note that decimal places (from zero) are usually not the same<br> -as significant digits (measured from the most signficant digit).</tt></dd></dl> - -<dl><dt><a name="Test1-assertEqual"><strong>assertEqual</strong></a> = failUnlessEqual(self, first, second, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are unequal as determined by the '=='<br> -operator.</tt></dd></dl> - -<dl><dt><a name="Test1-assertEquals"><strong>assertEquals</strong></a> = failUnlessEqual(self, first, second, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are unequal as determined by the '=='<br> -operator.</tt></dd></dl> - -<dl><dt><a name="Test1-assertFalse"><strong>assertFalse</strong></a> = failIf(self, expr, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail the test if the expression is true.</tt></dd></dl> - -<dl><dt><a name="Test1-assertNotAlmostEqual"><strong>assertNotAlmostEqual</strong></a> = failIfAlmostEqual(self, first, second, places<font color="#909090">=7</font>, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are equal as determined by their<br> -difference rounded to the given number of decimal places<br> -(default 7) and comparing to zero.<br> - <br> -Note that decimal places (from zero) are usually not the same<br> -as significant digits (measured from the most signficant digit).</tt></dd></dl> - -<dl><dt><a name="Test1-assertNotAlmostEquals"><strong>assertNotAlmostEquals</strong></a> = failIfAlmostEqual(self, first, second, places<font color="#909090">=7</font>, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are equal as determined by their<br> -difference rounded to the given number of decimal places<br> -(default 7) and comparing to zero.<br> - <br> -Note that decimal places (from zero) are usually not the same<br> -as significant digits (measured from the most signficant digit).</tt></dd></dl> - -<dl><dt><a name="Test1-assertNotEqual"><strong>assertNotEqual</strong></a> = failIfEqual(self, first, second, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are equal as determined by the '=='<br> -operator.</tt></dd></dl> - -<dl><dt><a name="Test1-assertNotEquals"><strong>assertNotEquals</strong></a> = failIfEqual(self, first, second, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are equal as determined by the '=='<br> -operator.</tt></dd></dl> - -<dl><dt><a name="Test1-assertRaises"><strong>assertRaises</strong></a> = failUnlessRaises(self, excClass, callableObj, *args, **kwargs)</dt><dd><tt>Fail unless an exception of class excClass is thrown<br> -by callableObj when invoked with arguments args and keyword<br> -arguments kwargs. If a different type of exception is<br> -thrown, it will not be caught, and the test case will be<br> -deemed to have suffered an error, exactly as for an<br> -unexpected exception.</tt></dd></dl> - -<dl><dt><a name="Test1-assertTrue"><strong>assertTrue</strong></a> = failUnless(self, expr, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail the test unless the expression is true.</tt></dd></dl> - -<dl><dt><a name="Test1-assert_"><strong>assert_</strong></a> = failUnless(self, expr, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail the test unless the expression is true.</tt></dd></dl> - -<dl><dt><a name="Test1-countTestCases"><strong>countTestCases</strong></a>(self)</dt></dl> - -<dl><dt><a name="Test1-debug"><strong>debug</strong></a>(self)</dt><dd><tt>Run the test without collecting errors in a TestResult</tt></dd></dl> - -<dl><dt><a name="Test1-defaultTestResult"><strong>defaultTestResult</strong></a>(self)</dt></dl> - -<dl><dt><a name="Test1-fail"><strong>fail</strong></a>(self, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail immediately, with the given message.</tt></dd></dl> - -<dl><dt><a name="Test1-failIf"><strong>failIf</strong></a>(self, expr, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail the test if the expression is true.</tt></dd></dl> - -<dl><dt><a name="Test1-failIfAlmostEqual"><strong>failIfAlmostEqual</strong></a>(self, first, second, places<font color="#909090">=7</font>, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are equal as determined by their<br> -difference rounded to the given number of decimal places<br> -(default 7) and comparing to zero.<br> - <br> -Note that decimal places (from zero) are usually not the same<br> -as significant digits (measured from the most signficant digit).</tt></dd></dl> - -<dl><dt><a name="Test1-failIfEqual"><strong>failIfEqual</strong></a>(self, first, second, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are equal as determined by the '=='<br> -operator.</tt></dd></dl> - -<dl><dt><a name="Test1-failUnless"><strong>failUnless</strong></a>(self, expr, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail the test unless the expression is true.</tt></dd></dl> - -<dl><dt><a name="Test1-failUnlessAlmostEqual"><strong>failUnlessAlmostEqual</strong></a>(self, first, second, places<font color="#909090">=7</font>, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are unequal as determined by their<br> -difference rounded to the given number of decimal places<br> -(default 7) and comparing to zero.<br> - <br> -Note that decimal places (from zero) are usually not the same<br> -as significant digits (measured from the most signficant digit).</tt></dd></dl> - -<dl><dt><a name="Test1-failUnlessEqual"><strong>failUnlessEqual</strong></a>(self, first, second, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are unequal as determined by the '=='<br> -operator.</tt></dd></dl> - -<dl><dt><a name="Test1-failUnlessRaises"><strong>failUnlessRaises</strong></a>(self, excClass, callableObj, *args, **kwargs)</dt><dd><tt>Fail unless an exception of class excClass is thrown<br> -by callableObj when invoked with arguments args and keyword<br> -arguments kwargs. If a different type of exception is<br> -thrown, it will not be caught, and the test case will be<br> -deemed to have suffered an error, exactly as for an<br> -unexpected exception.</tt></dd></dl> - -<dl><dt><a name="Test1-id"><strong>id</strong></a>(self)</dt></dl> - -<dl><dt><a name="Test1-run"><strong>run</strong></a>(self, result<font color="#909090">=None</font>)</dt></dl> - -<dl><dt><a name="Test1-setUp"><strong>setUp</strong></a>(self)</dt><dd><tt>Hook method for setting up the test fixture before exercising it.</tt></dd></dl> - -<dl><dt><a name="Test1-shortDescription"><strong>shortDescription</strong></a>(self)</dt><dd><tt>Returns a one-line description of the test, or None if no<br> -description has been provided.<br> - <br> -The default implementation of this method returns the first line of<br> -the specified test method's docstring.</tt></dd></dl> - -<dl><dt><a name="Test1-tearDown"><strong>tearDown</strong></a>(self)</dt><dd><tt>Hook method for deconstructing the test fixture after testing it.</tt></dd></dl> - -<hr> -Data descriptors inherited from <a href="unittest.html#TestCase">unittest.TestCase</a>:<br> -<dl><dt><strong>__dict__</strong></dt> -<dd><tt>dictionary for instance variables (if defined)</tt></dd> -</dl> -<dl><dt><strong>__weakref__</strong></dt> -<dd><tt>list of weak references to the object (if defined)</tt></dd> -</dl> -<hr> -Data and other attributes inherited from <a href="unittest.html#TestCase">unittest.TestCase</a>:<br> -<dl><dt><strong>failureException</strong> = <type 'exceptions.AssertionError'><dd><tt>Assertion failed.</tt></dl> - -</td></tr></table></td></tr></table><p> -<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> -<tr bgcolor="#55aa55"> -<td colspan=3 valign=bottom> <br> -<font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr> - -<tr><td bgcolor="#55aa55"><tt> </tt></td><td> </td> -<td width="100%"><strong>NONEXISTANT_DIR</strong> = '/home/hut/ranger/test/testdir/nonexistant'<br> -<strong>TESTDIR</strong> = '/home/hut/ranger/test/testdir'<br> -<strong>TESTFILE</strong> = '/home/hut/ranger/test/testdir/testfile5234148'</td></tr></table> -</body></html> \ No newline at end of file diff --git a/doc/pydoc/test.tc_displayable.html b/doc/pydoc/test.tc_displayable.html deleted file mode 100644 index f4e4ac64..00000000 --- a/doc/pydoc/test.tc_displayable.html +++ /dev/null @@ -1,367 +0,0 @@ - -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<html><head><title>Python: module test.tc_displayable</title> -</head><body bgcolor="#f0f0f8"> - -<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading"> -<tr bgcolor="#7799ee"> -<td valign=bottom> <br> -<font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a href="test.html"><font color="#ffffff">test</font></a>.tc_displayable</strong></big></big></font></td -><td align=right valign=bottom -><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/home/hut/ranger/test/tc_displayable.py">/home/hut/ranger/test/tc_displayable.py</a></font></td></tr></table> - <p><tt># Copyright (C) 2009, 2010 Roman Zimbelmann <romanz@lavabit.com><br> -#<br> -# This program is free software: you can redistribute it and/or modify<br> -# it under the terms of the GNU General Public License as published by<br> -# the Free Software Foundation, either version 3 of the License, or<br> -# (at your option) any later version.<br> -#<br> -# This program is distributed in the hope that it will be useful,<br> -# but WITHOUT ANY WARRANTY; without even the implied warranty of<br> -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the<br> -# GNU General Public License for more details.<br> -#<br> -# You should have received a copy of the GNU General Public License<br> -# along with this program. If not, see <<a href="http://www.gnu.org/licenses/">http://www.gnu.org/licenses/</a>>.</tt></p> -<p> -<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> -<tr bgcolor="#aa55cc"> -<td colspan=3 valign=bottom> <br> -<font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr> - -<tr><td bgcolor="#aa55cc"><tt> </tt></td><td> </td> -<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="curses.html">curses</a><br> -</td><td width="25%" valign=top><a href="unittest.html">unittest</a><br> -</td><td width="25%" valign=top></td><td width="25%" valign=top></td></tr></table></td></tr></table><p> -<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> -<tr bgcolor="#ee77aa"> -<td colspan=3 valign=bottom> <br> -<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr> - -<tr><td bgcolor="#ee77aa"><tt> </tt></td><td> </td> -<td width="100%"><dl> -<dt><font face="helvetica, arial"><a href="unittest.html#TestCase">unittest.TestCase</a>(<a href="__builtin__.html#object">__builtin__.object</a>) -</font></dt><dd> -<dl> -<dt><font face="helvetica, arial"><a href="test.tc_displayable.html#TestDisplayableWithCurses">TestDisplayableWithCurses</a> -</font></dt><dt><font face="helvetica, arial"><a href="test.tc_displayable.html#TestWithFakeCurses">TestWithFakeCurses</a> -</font></dt></dl> -</dd> -</dl> - <p> -<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> -<tr bgcolor="#ffc8d8"> -<td colspan=3 valign=bottom> <br> -<font color="#000000" face="helvetica, arial"><a name="TestDisplayableWithCurses">class <strong>TestDisplayableWithCurses</strong></a>(<a href="unittest.html#TestCase">unittest.TestCase</a>)</font></td></tr> - -<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> -<td width="100%"><dl><dt>Method resolution order:</dt> -<dd><a href="test.tc_displayable.html#TestDisplayableWithCurses">TestDisplayableWithCurses</a></dd> -<dd><a href="unittest.html#TestCase">unittest.TestCase</a></dd> -<dd><a href="__builtin__.html#object">__builtin__.object</a></dd> -</dl> -<hr> -Methods defined here:<br> -<dl><dt><a name="TestDisplayableWithCurses-setUp"><strong>setUp</strong></a>(self)</dt></dl> - -<dl><dt><a name="TestDisplayableWithCurses-tearDown"><strong>tearDown</strong></a>(self)</dt></dl> - -<dl><dt><a name="TestDisplayableWithCurses-test_boundaries"><strong>test_boundaries</strong></a>(self)</dt></dl> - -<dl><dt><a name="TestDisplayableWithCurses-test_click"><strong>test_click</strong></a>(self)</dt></dl> - -<hr> -Methods inherited from <a href="unittest.html#TestCase">unittest.TestCase</a>:<br> -<dl><dt><a name="TestDisplayableWithCurses-__call__"><strong>__call__</strong></a>(self, *args, **kwds)</dt></dl> - -<dl><dt><a name="TestDisplayableWithCurses-__eq__"><strong>__eq__</strong></a>(self, other)</dt></dl> - -<dl><dt><a name="TestDisplayableWithCurses-__hash__"><strong>__hash__</strong></a>(self)</dt></dl> - -<dl><dt><a name="TestDisplayableWithCurses-__init__"><strong>__init__</strong></a>(self, methodName<font color="#909090">='runTest'</font>)</dt><dd><tt>Create an instance of the class that will use the named test<br> -method when executed. Raises a ValueError if the instance does<br> -not have a method with the specified name.</tt></dd></dl> - -<dl><dt><a name="TestDisplayableWithCurses-__ne__"><strong>__ne__</strong></a>(self, other)</dt></dl> - -<dl><dt><a name="TestDisplayableWithCurses-__repr__"><strong>__repr__</strong></a>(self)</dt></dl> - -<dl><dt><a name="TestDisplayableWithCurses-__str__"><strong>__str__</strong></a>(self)</dt></dl> - -<dl><dt><a name="TestDisplayableWithCurses-assertAlmostEqual"><strong>assertAlmostEqual</strong></a> = failUnlessAlmostEqual(self, first, second, places<font color="#909090">=7</font>, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are unequal as determined by their<br> -difference rounded to the given number of decimal places<br> -(default 7) and comparing to zero.<br> - <br> -Note that decimal places (from zero) are usually not the same<br> -as significant digits (measured from the most signficant digit).</tt></dd></dl> - -<dl><dt><a name="TestDisplayableWithCurses-assertAlmostEquals"><strong>assertAlmostEquals</strong></a> = failUnlessAlmostEqual(self, first, second, places<font color="#909090">=7</font>, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are unequal as determined by their<br> -difference rounded to the given number of decimal places<br> -(default 7) and comparing to zero.<br> - <br> -Note that decimal places (from zero) are usually not the same<br> -as significant digits (measured from the most signficant digit).</tt></dd></dl> - -<dl><dt><a name="TestDisplayableWithCurses-assertEqual"><strong>assertEqual</strong></a> = failUnlessEqual(self, first, second, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are unequal as determined by the '=='<br> -operator.</tt></dd></dl> - -<dl><dt><a name="TestDisplayableWithCurses-assertEquals"><strong>assertEquals</strong></a> = failUnlessEqual(self, first, second, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are unequal as determined by the '=='<br> -operator.</tt></dd></dl> - -<dl><dt><a name="TestDisplayableWithCurses-assertFalse"><strong>assertFalse</strong></a> = failIf(self, expr, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail the test if the expression is true.</tt></dd></dl> - -<dl><dt><a name="TestDisplayableWithCurses-assertNotAlmostEqual"><strong>assertNotAlmostEqual</strong></a> = failIfAlmostEqual(self, first, second, places<font color="#909090">=7</font>, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are equal as determined by their<br> -difference rounded to the given number of decimal places<br> -(default 7) and comparing to zero.<br> - <br> -Note that decimal places (from zero) are usually not the same<br> -as significant digits (measured from the most signficant digit).</tt></dd></dl> - -<dl><dt><a name="TestDisplayableWithCurses-assertNotAlmostEquals"><strong>assertNotAlmostEquals</strong></a> = failIfAlmostEqual(self, first, second, places<font color="#909090">=7</font>, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are equal as determined by their<br> -difference rounded to the given number of decimal places<br> -(default 7) and comparing to zero.<br> - <br> -Note that decimal places (from zero) are usually not the same<br> -as significant digits (measured from the most signficant digit).</tt></dd></dl> - -<dl><dt><a name="TestDisplayableWithCurses-assertNotEqual"><strong>assertNotEqual</strong></a> = failIfEqual(self, first, second, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are equal as determined by the '=='<br> -operator.</tt></dd></dl> - -<dl><dt><a name="TestDisplayableWithCurses-assertNotEquals"><strong>assertNotEquals</strong></a> = failIfEqual(self, first, second, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are equal as determined by the '=='<br> -operator.</tt></dd></dl> - -<dl><dt><a name="TestDisplayableWithCurses-assertRaises"><strong>assertRaises</strong></a> = failUnlessRaises(self, excClass, callableObj, *args, **kwargs)</dt><dd><tt>Fail unless an exception of class excClass is thrown<br> -by callableObj when invoked with arguments args and keyword<br> -arguments kwargs. If a different type of exception is<br> -thrown, it will not be caught, and the test case will be<br> -deemed to have suffered an error, exactly as for an<br> -unexpected exception.</tt></dd></dl> - -<dl><dt><a name="TestDisplayableWithCurses-assertTrue"><strong>assertTrue</strong></a> = failUnless(self, expr, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail the test unless the expression is true.</tt></dd></dl> - -<dl><dt><a name="TestDisplayableWithCurses-assert_"><strong>assert_</strong></a> = failUnless(self, expr, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail the test unless the expression is true.</tt></dd></dl> - -<dl><dt><a name="TestDisplayableWithCurses-countTestCases"><strong>countTestCases</strong></a>(self)</dt></dl> - -<dl><dt><a name="TestDisplayableWithCurses-debug"><strong>debug</strong></a>(self)</dt><dd><tt>Run the test without collecting errors in a TestResult</tt></dd></dl> - -<dl><dt><a name="TestDisplayableWithCurses-defaultTestResult"><strong>defaultTestResult</strong></a>(self)</dt></dl> - -<dl><dt><a name="TestDisplayableWithCurses-fail"><strong>fail</strong></a>(self, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail immediately, with the given message.</tt></dd></dl> - -<dl><dt><a name="TestDisplayableWithCurses-failIf"><strong>failIf</strong></a>(self, expr, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail the test if the expression is true.</tt></dd></dl> - -<dl><dt><a name="TestDisplayableWithCurses-failIfAlmostEqual"><strong>failIfAlmostEqual</strong></a>(self, first, second, places<font color="#909090">=7</font>, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are equal as determined by their<br> -difference rounded to the given number of decimal places<br> -(default 7) and comparing to zero.<br> - <br> -Note that decimal places (from zero) are usually not the same<br> -as significant digits (measured from the most signficant digit).</tt></dd></dl> - -<dl><dt><a name="TestDisplayableWithCurses-failIfEqual"><strong>failIfEqual</strong></a>(self, first, second, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are equal as determined by the '=='<br> -operator.</tt></dd></dl> - -<dl><dt><a name="TestDisplayableWithCurses-failUnless"><strong>failUnless</strong></a>(self, expr, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail the test unless the expression is true.</tt></dd></dl> - -<dl><dt><a name="TestDisplayableWithCurses-failUnlessAlmostEqual"><strong>failUnlessAlmostEqual</strong></a>(self, first, second, places<font color="#909090">=7</font>, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are unequal as determined by their<br> -difference rounded to the given number of decimal places<br> -(default 7) and comparing to zero.<br> - <br> -Note that decimal places (from zero) are usually not the same<br> -as significant digits (measured from the most signficant digit).</tt></dd></dl> - -<dl><dt><a name="TestDisplayableWithCurses-failUnlessEqual"><strong>failUnlessEqual</strong></a>(self, first, second, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are unequal as determined by the '=='<br> -operator.</tt></dd></dl> - -<dl><dt><a name="TestDisplayableWithCurses-failUnlessRaises"><strong>failUnlessRaises</strong></a>(self, excClass, callableObj, *args, **kwargs)</dt><dd><tt>Fail unless an exception of class excClass is thrown<br> -by callableObj when invoked with arguments args and keyword<br> -arguments kwargs. If a different type of exception is<br> -thrown, it will not be caught, and the test case will be<br> -deemed to have suffered an error, exactly as for an<br> -unexpected exception.</tt></dd></dl> - -<dl><dt><a name="TestDisplayableWithCurses-id"><strong>id</strong></a>(self)</dt></dl> - -<dl><dt><a name="TestDisplayableWithCurses-run"><strong>run</strong></a>(self, result<font color="#909090">=None</font>)</dt></dl> - -<dl><dt><a name="TestDisplayableWithCurses-shortDescription"><strong>shortDescription</strong></a>(self)</dt><dd><tt>Returns a one-line description of the test, or None if no<br> -description has been provided.<br> - <br> -The default implementation of this method returns the first line of<br> -the specified test method's docstring.</tt></dd></dl> - -<hr> -Data descriptors inherited from <a href="unittest.html#TestCase">unittest.TestCase</a>:<br> -<dl><dt><strong>__dict__</strong></dt> -<dd><tt>dictionary for instance variables (if defined)</tt></dd> -</dl> -<dl><dt><strong>__weakref__</strong></dt> -<dd><tt>list of weak references to the object (if defined)</tt></dd> -</dl> -<hr> -Data and other attributes inherited from <a href="unittest.html#TestCase">unittest.TestCase</a>:<br> -<dl><dt><strong>failureException</strong> = <type 'exceptions.AssertionError'><dd><tt>Assertion failed.</tt></dl> - -</td></tr></table> <p> -<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> -<tr bgcolor="#ffc8d8"> -<td colspan=3 valign=bottom> <br> -<font color="#000000" face="helvetica, arial"><a name="TestWithFakeCurses">class <strong>TestWithFakeCurses</strong></a>(<a href="unittest.html#TestCase">unittest.TestCase</a>)</font></td></tr> - -<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> -<td width="100%"><dl><dt>Method resolution order:</dt> -<dd><a href="test.tc_displayable.html#TestWithFakeCurses">TestWithFakeCurses</a></dd> -<dd><a href="unittest.html#TestCase">unittest.TestCase</a></dd> -<dd><a href="__builtin__.html#object">__builtin__.object</a></dd> -</dl> -<hr> -Methods defined here:<br> -<dl><dt><a name="TestWithFakeCurses-setUp"><strong>setUp</strong></a>(self)</dt></dl> - -<dl><dt><a name="TestWithFakeCurses-tearDown"><strong>tearDown</strong></a>(self)</dt></dl> - -<dl><dt><a name="TestWithFakeCurses-test_colorscheme"><strong>test_colorscheme</strong></a>(self)</dt></dl> - -<dl><dt><a name="TestWithFakeCurses-test_focused_object"><strong>test_focused_object</strong></a>(self)</dt></dl> - -<hr> -Methods inherited from <a href="unittest.html#TestCase">unittest.TestCase</a>:<br> -<dl><dt><a name="TestWithFakeCurses-__call__"><strong>__call__</strong></a>(self, *args, **kwds)</dt></dl> - -<dl><dt><a name="TestWithFakeCurses-__eq__"><strong>__eq__</strong></a>(self, other)</dt></dl> - -<dl><dt><a name="TestWithFakeCurses-__hash__"><strong>__hash__</strong></a>(self)</dt></dl> - -<dl><dt><a name="TestWithFakeCurses-__init__"><strong>__init__</strong></a>(self, methodName<font color="#909090">='runTest'</font>)</dt><dd><tt>Create an instance of the class that will use the named test<br> -method when executed. Raises a ValueError if the instance does<br> -not have a method with the specified name.</tt></dd></dl> - -<dl><dt><a name="TestWithFakeCurses-__ne__"><strong>__ne__</strong></a>(self, other)</dt></dl> - -<dl><dt><a name="TestWithFakeCurses-__repr__"><strong>__repr__</strong></a>(self)</dt></dl> - -<dl><dt><a name="TestWithFakeCurses-__str__"><strong>__str__</strong></a>(self)</dt></dl> - -<dl><dt><a name="TestWithFakeCurses-assertAlmostEqual"><strong>assertAlmostEqual</strong></a> = failUnlessAlmostEqual(self, first, second, places<font color="#909090">=7</font>, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are unequal as determined by their<br> -difference rounded to the given number of decimal places<br> -(default 7) and comparing to zero.<br> - <br> -Note that decimal places (from zero) are usually not the same<br> -as significant digits (measured from the most signficant digit).</tt></dd></dl> - -<dl><dt><a name="TestWithFakeCurses-assertAlmostEquals"><strong>assertAlmostEquals</strong></a> = failUnlessAlmostEqual(self, first, second, places<font color="#909090">=7</font>, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are unequal as determined by their<br> -difference rounded to the given number of decimal places<br> -(default 7) and comparing to zero.<br> - <br> -Note that decimal places (from zero) are usually not the same<br> -as significant digits (measured from the most signficant digit).</tt></dd></dl> - -<dl><dt><a name="TestWithFakeCurses-assertEqual"><strong>assertEqual</strong></a> = failUnlessEqual(self, first, second, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are unequal as determined by the '=='<br> -operator.</tt></dd></dl> - -<dl><dt><a name="TestWithFakeCurses-assertEquals"><strong>assertEquals</strong></a> = failUnlessEqual(self, first, second, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are unequal as determined by the '=='<br> -operator.</tt></dd></dl> - -<dl><dt><a name="TestWithFakeCurses-assertFalse"><strong>assertFalse</strong></a> = failIf(self, expr, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail the test if the expression is true.</tt></dd></dl> - -<dl><dt><a name="TestWithFakeCurses-assertNotAlmostEqual"><strong>assertNotAlmostEqual</strong></a> = failIfAlmostEqual(self, first, second, places<font color="#909090">=7</font>, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are equal as determined by their<br> -difference rounded to the given number of decimal places<br> -(default 7) and comparing to zero.<br> - <br> -Note that decimal places (from zero) are usually not the same<br> -as significant digits (measured from the most signficant digit).</tt></dd></dl> - -<dl><dt><a name="TestWithFakeCurses-assertNotAlmostEquals"><strong>assertNotAlmostEquals</strong></a> = failIfAlmostEqual(self, first, second, places<font color="#909090">=7</font>, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are equal as determined by their<br> -difference rounded to the given number of decimal places<br> -(default 7) and comparing to zero.<br> - <br> -Note that decimal places (from zero) are usually not the same<br> -as significant digits (measured from the most signficant digit).</tt></dd></dl> - -<dl><dt><a name="TestWithFakeCurses-assertNotEqual"><strong>assertNotEqual</strong></a> = failIfEqual(self, first, second, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are equal as determined by the '=='<br> -operator.</tt></dd></dl> - -<dl><dt><a name="TestWithFakeCurses-assertNotEquals"><strong>assertNotEquals</strong></a> = failIfEqual(self, first, second, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are equal as determined by the '=='<br> -operator.</tt></dd></dl> - -<dl><dt><a name="TestWithFakeCurses-assertRaises"><strong>assertRaises</strong></a> = failUnlessRaises(self, excClass, callableObj, *args, **kwargs)</dt><dd><tt>Fail unless an exception of class excClass is thrown<br> -by callableObj when invoked with arguments args and keyword<br> -arguments kwargs. If a different type of exception is<br> -thrown, it will not be caught, and the test case will be<br> -deemed to have suffered an error, exactly as for an<br> -unexpected exception.</tt></dd></dl> - -<dl><dt><a name="TestWithFakeCurses-assertTrue"><strong>assertTrue</strong></a> = failUnless(self, expr, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail the test unless the expression is true.</tt></dd></dl> - -<dl><dt><a name="TestWithFakeCurses-assert_"><strong>assert_</strong></a> = failUnless(self, expr, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail the test unless the expression is true.</tt></dd></dl> - -<dl><dt><a name="TestWithFakeCurses-countTestCases"><strong>countTestCases</strong></a>(self)</dt></dl> - -<dl><dt><a name="TestWithFakeCurses-debug"><strong>debug</strong></a>(self)</dt><dd><tt>Run the test without collecting errors in a TestResult</tt></dd></dl> - -<dl><dt><a name="TestWithFakeCurses-defaultTestResult"><strong>defaultTestResult</strong></a>(self)</dt></dl> - -<dl><dt><a name="TestWithFakeCurses-fail"><strong>fail</strong></a>(self, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail immediately, with the given message.</tt></dd></dl> - -<dl><dt><a name="TestWithFakeCurses-failIf"><strong>failIf</strong></a>(self, expr, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail the test if the expression is true.</tt></dd></dl> - -<dl><dt><a name="TestWithFakeCurses-failIfAlmostEqual"><strong>failIfAlmostEqual</strong></a>(self, first, second, places<font color="#909090">=7</font>, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are equal as determined by their<br> -difference rounded to the given number of decimal places<br> -(default 7) and comparing to zero.<br> - <br> -Note that decimal places (from zero) are usually not the same<br> -as significant digits (measured from the most signficant digit).</tt></dd></dl> - -<dl><dt><a name="TestWithFakeCurses-failIfEqual"><strong>failIfEqual</strong></a>(self, first, second, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are equal as determined by the '=='<br> -operator.</tt></dd></dl> - -<dl><dt><a name="TestWithFakeCurses-failUnless"><strong>failUnless</strong></a>(self, expr, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail the test unless the expression is true.</tt></dd></dl> - -<dl><dt><a name="TestWithFakeCurses-failUnlessAlmostEqual"><strong>failUnlessAlmostEqual</strong></a>(self, first, second, places<font color="#909090">=7</font>, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are unequal as determined by their<br> -difference rounded to the given number of decimal places<br> -(default 7) and comparing to zero.<br> - <br> -Note that decimal places (from zero) are usually not the same<br> -as significant digits (measured from the most signficant digit).</tt></dd></dl> - -<dl><dt><a name="TestWithFakeCurses-failUnlessEqual"><strong>failUnlessEqual</strong></a>(self, first, second, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are unequal as determined by the '=='<br> -operator.</tt></dd></dl> - -<dl><dt><a name="TestWithFakeCurses-failUnlessRaises"><strong>failUnlessRaises</strong></a>(self, excClass, callableObj, *args, **kwargs)</dt><dd><tt>Fail unless an exception of class excClass is thrown<br> -by callableObj when invoked with arguments args and keyword<br> -arguments kwargs. If a different type of exception is<br> -thrown, it will not be caught, and the test case will be<br> -deemed to have suffered an error, exactly as for an<br> -unexpected exception.</tt></dd></dl> - -<dl><dt><a name="TestWithFakeCurses-id"><strong>id</strong></a>(self)</dt></dl> - -<dl><dt><a name="TestWithFakeCurses-run"><strong>run</strong></a>(self, result<font color="#909090">=None</font>)</dt></dl> - -<dl><dt><a name="TestWithFakeCurses-shortDescription"><strong>shortDescription</strong></a>(self)</dt><dd><tt>Returns a one-line description of the test, or None if no<br> -description has been provided.<br> - <br> -The default implementation of this method returns the first line of<br> -the specified test method's docstring.</tt></dd></dl> - -<hr> -Data descriptors inherited from <a href="unittest.html#TestCase">unittest.TestCase</a>:<br> -<dl><dt><strong>__dict__</strong></dt> -<dd><tt>dictionary for instance variables (if defined)</tt></dd> -</dl> -<dl><dt><strong>__weakref__</strong></dt> -<dd><tt>list of weak references to the object (if defined)</tt></dd> -</dl> -<hr> -Data and other attributes inherited from <a href="unittest.html#TestCase">unittest.TestCase</a>:<br> -<dl><dt><strong>failureException</strong> = <type 'exceptions.AssertionError'><dd><tt>Assertion failed.</tt></dl> - -</td></tr></table></td></tr></table><p> -<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> -<tr bgcolor="#55aa55"> -<td colspan=3 valign=bottom> <br> -<font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr> - -<tr><td bgcolor="#55aa55"><tt> </tt></td><td> </td> -<td width="100%"><strong>gWin</strong> = None</td></tr></table> -</body></html> \ No newline at end of file diff --git a/doc/pydoc/test.tc_history.html b/doc/pydoc/test.tc_history.html deleted file mode 100644 index 3c12d220..00000000 --- a/doc/pydoc/test.tc_history.html +++ /dev/null @@ -1,202 +0,0 @@ - -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<html><head><title>Python: module test.tc_history</title> -</head><body bgcolor="#f0f0f8"> - -<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading"> -<tr bgcolor="#7799ee"> -<td valign=bottom> <br> -<font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a href="test.html"><font color="#ffffff">test</font></a>.tc_history</strong></big></big></font></td -><td align=right valign=bottom -><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/home/hut/ranger/test/tc_history.py">/home/hut/ranger/test/tc_history.py</a></font></td></tr></table> - <p><tt># Copyright (C) 2009, 2010 Roman Zimbelmann <romanz@lavabit.com><br> -#<br> -# This program is free software: you can redistribute it and/or modify<br> -# it under the terms of the GNU General Public License as published by<br> -# the Free Software Foundation, either version 3 of the License, or<br> -# (at your option) any later version.<br> -#<br> -# This program is distributed in the hope that it will be useful,<br> -# but WITHOUT ANY WARRANTY; without even the implied warranty of<br> -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the<br> -# GNU General Public License for more details.<br> -#<br> -# You should have received a copy of the GNU General Public License<br> -# along with this program. If not, see <<a href="http://www.gnu.org/licenses/">http://www.gnu.org/licenses/</a>>.</tt></p> -<p> -<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> -<tr bgcolor="#aa55cc"> -<td colspan=3 valign=bottom> <br> -<font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr> - -<tr><td bgcolor="#aa55cc"><tt> </tt></td><td> </td> -<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="unittest.html">unittest</a><br> -</td><td width="25%" valign=top></td><td width="25%" valign=top></td><td width="25%" valign=top></td></tr></table></td></tr></table><p> -<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> -<tr bgcolor="#ee77aa"> -<td colspan=3 valign=bottom> <br> -<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr> - -<tr><td bgcolor="#ee77aa"><tt> </tt></td><td> </td> -<td width="100%"><dl> -<dt><font face="helvetica, arial"><a href="unittest.html#TestCase">unittest.TestCase</a>(<a href="__builtin__.html#object">__builtin__.object</a>) -</font></dt><dd> -<dl> -<dt><font face="helvetica, arial"><a href="test.tc_history.html#Test">Test</a> -</font></dt></dl> -</dd> -</dl> - <p> -<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> -<tr bgcolor="#ffc8d8"> -<td colspan=3 valign=bottom> <br> -<font color="#000000" face="helvetica, arial"><a name="Test">class <strong>Test</strong></a>(<a href="unittest.html#TestCase">unittest.TestCase</a>)</font></td></tr> - -<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> -<td width="100%"><dl><dt>Method resolution order:</dt> -<dd><a href="test.tc_history.html#Test">Test</a></dd> -<dd><a href="unittest.html#TestCase">unittest.TestCase</a></dd> -<dd><a href="__builtin__.html#object">__builtin__.object</a></dd> -</dl> -<hr> -Methods defined here:<br> -<dl><dt><a name="Test-test_history"><strong>test_history</strong></a>(self)</dt></dl> - -<hr> -Methods inherited from <a href="unittest.html#TestCase">unittest.TestCase</a>:<br> -<dl><dt><a name="Test-__call__"><strong>__call__</strong></a>(self, *args, **kwds)</dt></dl> - -<dl><dt><a name="Test-__eq__"><strong>__eq__</strong></a>(self, other)</dt></dl> - -<dl><dt><a name="Test-__hash__"><strong>__hash__</strong></a>(self)</dt></dl> - -<dl><dt><a name="Test-__init__"><strong>__init__</strong></a>(self, methodName<font color="#909090">='runTest'</font>)</dt><dd><tt>Create an instance of the class that will use the named test<br> -method when executed. Raises a ValueError if the instance does<br> -not have a method with the specified name.</tt></dd></dl> - -<dl><dt><a name="Test-__ne__"><strong>__ne__</strong></a>(self, other)</dt></dl> - -<dl><dt><a name="Test-__repr__"><strong>__repr__</strong></a>(self)</dt></dl> - -<dl><dt><a name="Test-__str__"><strong>__str__</strong></a>(self)</dt></dl> - -<dl><dt><a name="Test-assertAlmostEqual"><strong>assertAlmostEqual</strong></a> = failUnlessAlmostEqual(self, first, second, places<font color="#909090">=7</font>, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are unequal as determined by their<br> -difference rounded to the given number of decimal places<br> -(default 7) and comparing to zero.<br> - <br> -Note that decimal places (from zero) are usually not the same<br> -as significant digits (measured from the most signficant digit).</tt></dd></dl> - -<dl><dt><a name="Test-assertAlmostEquals"><strong>assertAlmostEquals</strong></a> = failUnlessAlmostEqual(self, first, second, places<font color="#909090">=7</font>, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are unequal as determined by their<br> -difference rounded to the given number of decimal places<br> -(default 7) and comparing to zero.<br> - <br> -Note that decimal places (from zero) are usually not the same<br> -as significant digits (measured from the most signficant digit).</tt></dd></dl> - -<dl><dt><a name="Test-assertEqual"><strong>assertEqual</strong></a> = failUnlessEqual(self, first, second, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are unequal as determined by the '=='<br> -operator.</tt></dd></dl> - -<dl><dt><a name="Test-assertEquals"><strong>assertEquals</strong></a> = failUnlessEqual(self, first, second, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are unequal as determined by the '=='<br> -operator.</tt></dd></dl> - -<dl><dt><a name="Test-assertFalse"><strong>assertFalse</strong></a> = failIf(self, expr, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail the test if the expression is true.</tt></dd></dl> - -<dl><dt><a name="Test-assertNotAlmostEqual"><strong>assertNotAlmostEqual</strong></a> = failIfAlmostEqual(self, first, second, places<font color="#909090">=7</font>, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are equal as determined by their<br> -difference rounded to the given number of decimal places<br> -(default 7) and comparing to zero.<br> - <br> -Note that decimal places (from zero) are usually not the same<br> -as significant digits (measured from the most signficant digit).</tt></dd></dl> - -<dl><dt><a name="Test-assertNotAlmostEquals"><strong>assertNotAlmostEquals</strong></a> = failIfAlmostEqual(self, first, second, places<font color="#909090">=7</font>, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are equal as determined by their<br> -difference rounded to the given number of decimal places<br> -(default 7) and comparing to zero.<br> - <br> -Note that decimal places (from zero) are usually not the same<br> -as significant digits (measured from the most signficant digit).</tt></dd></dl> - -<dl><dt><a name="Test-assertNotEqual"><strong>assertNotEqual</strong></a> = failIfEqual(self, first, second, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are equal as determined by the '=='<br> -operator.</tt></dd></dl> - -<dl><dt><a name="Test-assertNotEquals"><strong>assertNotEquals</strong></a> = failIfEqual(self, first, second, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are equal as determined by the '=='<br> -operator.</tt></dd></dl> - -<dl><dt><a name="Test-assertRaises"><strong>assertRaises</strong></a> = failUnlessRaises(self, excClass, callableObj, *args, **kwargs)</dt><dd><tt>Fail unless an exception of class excClass is thrown<br> -by callableObj when invoked with arguments args and keyword<br> -arguments kwargs. If a different type of exception is<br> -thrown, it will not be caught, and the test case will be<br> -deemed to have suffered an error, exactly as for an<br> -unexpected exception.</tt></dd></dl> - -<dl><dt><a name="Test-assertTrue"><strong>assertTrue</strong></a> = failUnless(self, expr, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail the test unless the expression is true.</tt></dd></dl> - -<dl><dt><a name="Test-assert_"><strong>assert_</strong></a> = failUnless(self, expr, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail the test unless the expression is true.</tt></dd></dl> - -<dl><dt><a name="Test-countTestCases"><strong>countTestCases</strong></a>(self)</dt></dl> - -<dl><dt><a name="Test-debug"><strong>debug</strong></a>(self)</dt><dd><tt>Run the test without collecting errors in a TestResult</tt></dd></dl> - -<dl><dt><a name="Test-defaultTestResult"><strong>defaultTestResult</strong></a>(self)</dt></dl> - -<dl><dt><a name="Test-fail"><strong>fail</strong></a>(self, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail immediately, with the given message.</tt></dd></dl> - -<dl><dt><a name="Test-failIf"><strong>failIf</strong></a>(self, expr, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail the test if the expression is true.</tt></dd></dl> - -<dl><dt><a name="Test-failIfAlmostEqual"><strong>failIfAlmostEqual</strong></a>(self, first, second, places<font color="#909090">=7</font>, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are equal as determined by their<br> -difference rounded to the given number of decimal places<br> -(default 7) and comparing to zero.<br> - <br> -Note that decimal places (from zero) are usually not the same<br> -as significant digits (measured from the most signficant digit).</tt></dd></dl> - -<dl><dt><a name="Test-failIfEqual"><strong>failIfEqual</strong></a>(self, first, second, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are equal as determined by the '=='<br> -operator.</tt></dd></dl> - -<dl><dt><a name="Test-failUnless"><strong>failUnless</strong></a>(self, expr, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail the test unless the expression is true.</tt></dd></dl> - -<dl><dt><a name="Test-failUnlessAlmostEqual"><strong>failUnlessAlmostEqual</strong></a>(self, first, second, places<font color="#909090">=7</font>, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are unequal as determined by their<br> -difference rounded to the given number of decimal places<br> -(default 7) and comparing to zero.<br> - <br> -Note that decimal places (from zero) are usually not the same<br> -as significant digits (measured from the most signficant digit).</tt></dd></dl> - -<dl><dt><a name="Test-failUnlessEqual"><strong>failUnlessEqual</strong></a>(self, first, second, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are unequal as determined by the '=='<br> -operator.</tt></dd></dl> - -<dl><dt><a name="Test-failUnlessRaises"><strong>failUnlessRaises</strong></a>(self, excClass, callableObj, *args, **kwargs)</dt><dd><tt>Fail unless an exception of class excClass is thrown<br> -by callableObj when invoked with arguments args and keyword<br> -arguments kwargs. If a different type of exception is<br> -thrown, it will not be caught, and the test case will be<br> -deemed to have suffered an error, exactly as for an<br> -unexpected exception.</tt></dd></dl> - -<dl><dt><a name="Test-id"><strong>id</strong></a>(self)</dt></dl> - -<dl><dt><a name="Test-run"><strong>run</strong></a>(self, result<font color="#909090">=None</font>)</dt></dl> - -<dl><dt><a name="Test-setUp"><strong>setUp</strong></a>(self)</dt><dd><tt>Hook method for setting up the test fixture before exercising it.</tt></dd></dl> - -<dl><dt><a name="Test-shortDescription"><strong>shortDescription</strong></a>(self)</dt><dd><tt>Returns a one-line description of the test, or None if no<br> -description has been provided.<br> - <br> -The default implementation of this method returns the first line of<br> -the specified test method's docstring.</tt></dd></dl> - -<dl><dt><a name="Test-tearDown"><strong>tearDown</strong></a>(self)</dt><dd><tt>Hook method for deconstructing the test fixture after testing it.</tt></dd></dl> - -<hr> -Data descriptors inherited from <a href="unittest.html#TestCase">unittest.TestCase</a>:<br> -<dl><dt><strong>__dict__</strong></dt> -<dd><tt>dictionary for instance variables (if defined)</tt></dd> -</dl> -<dl><dt><strong>__weakref__</strong></dt> -<dd><tt>list of weak references to the object (if defined)</tt></dd> -</dl> -<hr> -Data and other attributes inherited from <a href="unittest.html#TestCase">unittest.TestCase</a>:<br> -<dl><dt><strong>failureException</strong> = <type 'exceptions.AssertionError'><dd><tt>Assertion failed.</tt></dl> - -</td></tr></table></td></tr></table> -</body></html> \ No newline at end of file diff --git a/doc/pydoc/test.tc_keyapi.html b/doc/pydoc/test.tc_keyapi.html deleted file mode 100644 index 5feea805..00000000 --- a/doc/pydoc/test.tc_keyapi.html +++ /dev/null @@ -1,194 +0,0 @@ - -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<html><head><title>Python: module test.tc_keyapi</title> -</head><body bgcolor="#f0f0f8"> - -<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading"> -<tr bgcolor="#7799ee"> -<td valign=bottom> <br> -<font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a href="test.html"><font color="#ffffff">test</font></a>.tc_keyapi</strong></big></big></font></td -><td align=right valign=bottom -><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/home/hut/ranger/test/tc_keyapi.py">/home/hut/ranger/test/tc_keyapi.py</a></font></td></tr></table> - <p><tt># Copyright (C) 2009, 2010 Roman Zimbelmann <romanz@lavabit.com><br> -#<br> -# This program is free software: you can redistribute it and/or modify<br> -# it under the terms of the GNU General Public License as published by<br> -# the Free Software Foundation, either version 3 of the License, or<br> -# (at your option) any later version.<br> -#<br> -# This program is distributed in the hope that it will be useful,<br> -# but WITHOUT ANY WARRANTY; without even the implied warranty of<br> -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the<br> -# GNU General Public License for more details.<br> -#<br> -# You should have received a copy of the GNU General Public License<br> -# along with this program. If not, see <<a href="http://www.gnu.org/licenses/">http://www.gnu.org/licenses/</a>>.</tt></p> -<p> -<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> -<tr bgcolor="#ee77aa"> -<td colspan=3 valign=bottom> <br> -<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr> - -<tr><td bgcolor="#ee77aa"><tt> </tt></td><td> </td> -<td width="100%"><dl> -<dt><font face="helvetica, arial"><a href="unittest.html#TestCase">unittest.TestCase</a>(<a href="__builtin__.html#object">__builtin__.object</a>) -</font></dt><dd> -<dl> -<dt><font face="helvetica, arial"><a href="test.tc_keyapi.html#Test">Test</a> -</font></dt></dl> -</dd> -</dl> - <p> -<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> -<tr bgcolor="#ffc8d8"> -<td colspan=3 valign=bottom> <br> -<font color="#000000" face="helvetica, arial"><a name="Test">class <strong>Test</strong></a>(<a href="unittest.html#TestCase">unittest.TestCase</a>)</font></td></tr> - -<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> -<td width="100%"><dl><dt>Method resolution order:</dt> -<dd><a href="test.tc_keyapi.html#Test">Test</a></dd> -<dd><a href="unittest.html#TestCase">unittest.TestCase</a></dd> -<dd><a href="__builtin__.html#object">__builtin__.object</a></dd> -</dl> -<hr> -Methods defined here:<br> -<dl><dt><a name="Test-test_wrapper"><strong>test_wrapper</strong></a>(self)</dt></dl> - -<hr> -Methods inherited from <a href="unittest.html#TestCase">unittest.TestCase</a>:<br> -<dl><dt><a name="Test-__call__"><strong>__call__</strong></a>(self, *args, **kwds)</dt></dl> - -<dl><dt><a name="Test-__eq__"><strong>__eq__</strong></a>(self, other)</dt></dl> - -<dl><dt><a name="Test-__hash__"><strong>__hash__</strong></a>(self)</dt></dl> - -<dl><dt><a name="Test-__init__"><strong>__init__</strong></a>(self, methodName<font color="#909090">='runTest'</font>)</dt><dd><tt>Create an instance of the class that will use the named test<br> -method when executed. Raises a ValueError if the instance does<br> -not have a method with the specified name.</tt></dd></dl> - -<dl><dt><a name="Test-__ne__"><strong>__ne__</strong></a>(self, other)</dt></dl> - -<dl><dt><a name="Test-__repr__"><strong>__repr__</strong></a>(self)</dt></dl> - -<dl><dt><a name="Test-__str__"><strong>__str__</strong></a>(self)</dt></dl> - -<dl><dt><a name="Test-assertAlmostEqual"><strong>assertAlmostEqual</strong></a> = failUnlessAlmostEqual(self, first, second, places<font color="#909090">=7</font>, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are unequal as determined by their<br> -difference rounded to the given number of decimal places<br> -(default 7) and comparing to zero.<br> - <br> -Note that decimal places (from zero) are usually not the same<br> -as significant digits (measured from the most signficant digit).</tt></dd></dl> - -<dl><dt><a name="Test-assertAlmostEquals"><strong>assertAlmostEquals</strong></a> = failUnlessAlmostEqual(self, first, second, places<font color="#909090">=7</font>, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are unequal as determined by their<br> -difference rounded to the given number of decimal places<br> -(default 7) and comparing to zero.<br> - <br> -Note that decimal places (from zero) are usually not the same<br> -as significant digits (measured from the most signficant digit).</tt></dd></dl> - -<dl><dt><a name="Test-assertEqual"><strong>assertEqual</strong></a> = failUnlessEqual(self, first, second, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are unequal as determined by the '=='<br> -operator.</tt></dd></dl> - -<dl><dt><a name="Test-assertEquals"><strong>assertEquals</strong></a> = failUnlessEqual(self, first, second, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are unequal as determined by the '=='<br> -operator.</tt></dd></dl> - -<dl><dt><a name="Test-assertFalse"><strong>assertFalse</strong></a> = failIf(self, expr, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail the test if the expression is true.</tt></dd></dl> - -<dl><dt><a name="Test-assertNotAlmostEqual"><strong>assertNotAlmostEqual</strong></a> = failIfAlmostEqual(self, first, second, places<font color="#909090">=7</font>, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are equal as determined by their<br> -difference rounded to the given number of decimal places<br> -(default 7) and comparing to zero.<br> - <br> -Note that decimal places (from zero) are usually not the same<br> -as significant digits (measured from the most signficant digit).</tt></dd></dl> - -<dl><dt><a name="Test-assertNotAlmostEquals"><strong>assertNotAlmostEquals</strong></a> = failIfAlmostEqual(self, first, second, places<font color="#909090">=7</font>, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are equal as determined by their<br> -difference rounded to the given number of decimal places<br> -(default 7) and comparing to zero.<br> - <br> -Note that decimal places (from zero) are usually not the same<br> -as significant digits (measured from the most signficant digit).</tt></dd></dl> - -<dl><dt><a name="Test-assertNotEqual"><strong>assertNotEqual</strong></a> = failIfEqual(self, first, second, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are equal as determined by the '=='<br> -operator.</tt></dd></dl> - -<dl><dt><a name="Test-assertNotEquals"><strong>assertNotEquals</strong></a> = failIfEqual(self, first, second, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are equal as determined by the '=='<br> -operator.</tt></dd></dl> - -<dl><dt><a name="Test-assertRaises"><strong>assertRaises</strong></a> = failUnlessRaises(self, excClass, callableObj, *args, **kwargs)</dt><dd><tt>Fail unless an exception of class excClass is thrown<br> -by callableObj when invoked with arguments args and keyword<br> -arguments kwargs. If a different type of exception is<br> -thrown, it will not be caught, and the test case will be<br> -deemed to have suffered an error, exactly as for an<br> -unexpected exception.</tt></dd></dl> - -<dl><dt><a name="Test-assertTrue"><strong>assertTrue</strong></a> = failUnless(self, expr, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail the test unless the expression is true.</tt></dd></dl> - -<dl><dt><a name="Test-assert_"><strong>assert_</strong></a> = failUnless(self, expr, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail the test unless the expression is true.</tt></dd></dl> - -<dl><dt><a name="Test-countTestCases"><strong>countTestCases</strong></a>(self)</dt></dl> - -<dl><dt><a name="Test-debug"><strong>debug</strong></a>(self)</dt><dd><tt>Run the test without collecting errors in a TestResult</tt></dd></dl> - -<dl><dt><a name="Test-defaultTestResult"><strong>defaultTestResult</strong></a>(self)</dt></dl> - -<dl><dt><a name="Test-fail"><strong>fail</strong></a>(self, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail immediately, with the given message.</tt></dd></dl> - -<dl><dt><a name="Test-failIf"><strong>failIf</strong></a>(self, expr, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail the test if the expression is true.</tt></dd></dl> - -<dl><dt><a name="Test-failIfAlmostEqual"><strong>failIfAlmostEqual</strong></a>(self, first, second, places<font color="#909090">=7</font>, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are equal as determined by their<br> -difference rounded to the given number of decimal places<br> -(default 7) and comparing to zero.<br> - <br> -Note that decimal places (from zero) are usually not the same<br> -as significant digits (measured from the most signficant digit).</tt></dd></dl> - -<dl><dt><a name="Test-failIfEqual"><strong>failIfEqual</strong></a>(self, first, second, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are equal as determined by the '=='<br> -operator.</tt></dd></dl> - -<dl><dt><a name="Test-failUnless"><strong>failUnless</strong></a>(self, expr, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail the test unless the expression is true.</tt></dd></dl> - -<dl><dt><a name="Test-failUnlessAlmostEqual"><strong>failUnlessAlmostEqual</strong></a>(self, first, second, places<font color="#909090">=7</font>, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are unequal as determined by their<br> -difference rounded to the given number of decimal places<br> -(default 7) and comparing to zero.<br> - <br> -Note that decimal places (from zero) are usually not the same<br> -as significant digits (measured from the most signficant digit).</tt></dd></dl> - -<dl><dt><a name="Test-failUnlessEqual"><strong>failUnlessEqual</strong></a>(self, first, second, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are unequal as determined by the '=='<br> -operator.</tt></dd></dl> - -<dl><dt><a name="Test-failUnlessRaises"><strong>failUnlessRaises</strong></a>(self, excClass, callableObj, *args, **kwargs)</dt><dd><tt>Fail unless an exception of class excClass is thrown<br> -by callableObj when invoked with arguments args and keyword<br> -arguments kwargs. If a different type of exception is<br> -thrown, it will not be caught, and the test case will be<br> -deemed to have suffered an error, exactly as for an<br> -unexpected exception.</tt></dd></dl> - -<dl><dt><a name="Test-id"><strong>id</strong></a>(self)</dt></dl> - -<dl><dt><a name="Test-run"><strong>run</strong></a>(self, result<font color="#909090">=None</font>)</dt></dl> - -<dl><dt><a name="Test-setUp"><strong>setUp</strong></a>(self)</dt><dd><tt>Hook method for setting up the test fixture before exercising it.</tt></dd></dl> - -<dl><dt><a name="Test-shortDescription"><strong>shortDescription</strong></a>(self)</dt><dd><tt>Returns a one-line description of the test, or None if no<br> -description has been provided.<br> - <br> -The default implementation of this method returns the first line of<br> -the specified test method's docstring.</tt></dd></dl> - -<dl><dt><a name="Test-tearDown"><strong>tearDown</strong></a>(self)</dt><dd><tt>Hook method for deconstructing the test fixture after testing it.</tt></dd></dl> - -<hr> -Data descriptors inherited from <a href="unittest.html#TestCase">unittest.TestCase</a>:<br> -<dl><dt><strong>__dict__</strong></dt> -<dd><tt>dictionary for instance variables (if defined)</tt></dd> -</dl> -<dl><dt><strong>__weakref__</strong></dt> -<dd><tt>list of weak references to the object (if defined)</tt></dd> -</dl> -<hr> -Data and other attributes inherited from <a href="unittest.html#TestCase">unittest.TestCase</a>:<br> -<dl><dt><strong>failureException</strong> = <type 'exceptions.AssertionError'><dd><tt>Assertion failed.</tt></dl> - -</td></tr></table></td></tr></table> -</body></html> \ No newline at end of file diff --git a/doc/pydoc/test.tc_ui.html b/doc/pydoc/test.tc_ui.html deleted file mode 100644 index 90b9ca9c..00000000 --- a/doc/pydoc/test.tc_ui.html +++ /dev/null @@ -1,204 +0,0 @@ - -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<html><head><title>Python: module test.tc_ui</title> -</head><body bgcolor="#f0f0f8"> - -<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading"> -<tr bgcolor="#7799ee"> -<td valign=bottom> <br> -<font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a href="test.html"><font color="#ffffff">test</font></a>.tc_ui</strong></big></big></font></td -><td align=right valign=bottom -><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/home/hut/ranger/test/tc_ui.py">/home/hut/ranger/test/tc_ui.py</a></font></td></tr></table> - <p><tt># Copyright (C) 2009, 2010 Roman Zimbelmann <romanz@lavabit.com><br> -#<br> -# This program is free software: you can redistribute it and/or modify<br> -# it under the terms of the GNU General Public License as published by<br> -# the Free Software Foundation, either version 3 of the License, or<br> -# (at your option) any later version.<br> -#<br> -# This program is distributed in the hope that it will be useful,<br> -# but WITHOUT ANY WARRANTY; without even the implied warranty of<br> -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the<br> -# GNU General Public License for more details.<br> -#<br> -# You should have received a copy of the GNU General Public License<br> -# along with this program. If not, see <<a href="http://www.gnu.org/licenses/">http://www.gnu.org/licenses/</a>>.</tt></p> -<p> -<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> -<tr bgcolor="#aa55cc"> -<td colspan=3 valign=bottom> <br> -<font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr> - -<tr><td bgcolor="#aa55cc"><tt> </tt></td><td> </td> -<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="curses.html">curses</a><br> -</td><td width="25%" valign=top><a href="ranger.gui.ui.html">ranger.gui.ui</a><br> -</td><td width="25%" valign=top><a href="unittest.html">unittest</a><br> -</td><td width="25%" valign=top></td></tr></table></td></tr></table><p> -<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> -<tr bgcolor="#ee77aa"> -<td colspan=3 valign=bottom> <br> -<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr> - -<tr><td bgcolor="#ee77aa"><tt> </tt></td><td> </td> -<td width="100%"><dl> -<dt><font face="helvetica, arial"><a href="unittest.html#TestCase">unittest.TestCase</a>(<a href="__builtin__.html#object">__builtin__.object</a>) -</font></dt><dd> -<dl> -<dt><font face="helvetica, arial"><a href="test.tc_ui.html#Test">Test</a> -</font></dt></dl> -</dd> -</dl> - <p> -<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> -<tr bgcolor="#ffc8d8"> -<td colspan=3 valign=bottom> <br> -<font color="#000000" face="helvetica, arial"><a name="Test">class <strong>Test</strong></a>(<a href="unittest.html#TestCase">unittest.TestCase</a>)</font></td></tr> - -<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> -<td width="100%"><dl><dt>Method resolution order:</dt> -<dd><a href="test.tc_ui.html#Test">Test</a></dd> -<dd><a href="unittest.html#TestCase">unittest.TestCase</a></dd> -<dd><a href="__builtin__.html#object">__builtin__.object</a></dd> -</dl> -<hr> -Methods defined here:<br> -<dl><dt><a name="Test-setUp"><strong>setUp</strong></a>(self)</dt></dl> - -<dl><dt><a name="Test-tearDown"><strong>tearDown</strong></a>(self)</dt></dl> - -<dl><dt><a name="Test-test_passing"><strong>test_passing</strong></a>(self)</dt></dl> - -<hr> -Methods inherited from <a href="unittest.html#TestCase">unittest.TestCase</a>:<br> -<dl><dt><a name="Test-__call__"><strong>__call__</strong></a>(self, *args, **kwds)</dt></dl> - -<dl><dt><a name="Test-__eq__"><strong>__eq__</strong></a>(self, other)</dt></dl> - -<dl><dt><a name="Test-__hash__"><strong>__hash__</strong></a>(self)</dt></dl> - -<dl><dt><a name="Test-__init__"><strong>__init__</strong></a>(self, methodName<font color="#909090">='runTest'</font>)</dt><dd><tt>Create an instance of the class that will use the named test<br> -method when executed. Raises a ValueError if the instance does<br> -not have a method with the specified name.</tt></dd></dl> - -<dl><dt><a name="Test-__ne__"><strong>__ne__</strong></a>(self, other)</dt></dl> - -<dl><dt><a name="Test-__repr__"><strong>__repr__</strong></a>(self)</dt></dl> - -<dl><dt><a name="Test-__str__"><strong>__str__</strong></a>(self)</dt></dl> - -<dl><dt><a name="Test-assertAlmostEqual"><strong>assertAlmostEqual</strong></a> = failUnlessAlmostEqual(self, first, second, places<font color="#909090">=7</font>, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are unequal as determined by their<br> -difference rounded to the given number of decimal places<br> -(default 7) and comparing to zero.<br> - <br> -Note that decimal places (from zero) are usually not the same<br> -as significant digits (measured from the most signficant digit).</tt></dd></dl> - -<dl><dt><a name="Test-assertAlmostEquals"><strong>assertAlmostEquals</strong></a> = failUnlessAlmostEqual(self, first, second, places<font color="#909090">=7</font>, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are unequal as determined by their<br> -difference rounded to the given number of decimal places<br> -(default 7) and comparing to zero.<br> - <br> -Note that decimal places (from zero) are usually not the same<br> -as significant digits (measured from the most signficant digit).</tt></dd></dl> - -<dl><dt><a name="Test-assertEqual"><strong>assertEqual</strong></a> = failUnlessEqual(self, first, second, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are unequal as determined by the '=='<br> -operator.</tt></dd></dl> - -<dl><dt><a name="Test-assertEquals"><strong>assertEquals</strong></a> = failUnlessEqual(self, first, second, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are unequal as determined by the '=='<br> -operator.</tt></dd></dl> - -<dl><dt><a name="Test-assertFalse"><strong>assertFalse</strong></a> = failIf(self, expr, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail the test if the expression is true.</tt></dd></dl> - -<dl><dt><a name="Test-assertNotAlmostEqual"><strong>assertNotAlmostEqual</strong></a> = failIfAlmostEqual(self, first, second, places<font color="#909090">=7</font>, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are equal as determined by their<br> -difference rounded to the given number of decimal places<br> -(default 7) and comparing to zero.<br> - <br> -Note that decimal places (from zero) are usually not the same<br> -as significant digits (measured from the most signficant digit).</tt></dd></dl> - -<dl><dt><a name="Test-assertNotAlmostEquals"><strong>assertNotAlmostEquals</strong></a> = failIfAlmostEqual(self, first, second, places<font color="#909090">=7</font>, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are equal as determined by their<br> -difference rounded to the given number of decimal places<br> -(default 7) and comparing to zero.<br> - <br> -Note that decimal places (from zero) are usually not the same<br> -as significant digits (measured from the most signficant digit).</tt></dd></dl> - -<dl><dt><a name="Test-assertNotEqual"><strong>assertNotEqual</strong></a> = failIfEqual(self, first, second, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are equal as determined by the '=='<br> -operator.</tt></dd></dl> - -<dl><dt><a name="Test-assertNotEquals"><strong>assertNotEquals</strong></a> = failIfEqual(self, first, second, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are equal as determined by the '=='<br> -operator.</tt></dd></dl> - -<dl><dt><a name="Test-assertRaises"><strong>assertRaises</strong></a> = failUnlessRaises(self, excClass, callableObj, *args, **kwargs)</dt><dd><tt>Fail unless an exception of class excClass is thrown<br> -by callableObj when invoked with arguments args and keyword<br> -arguments kwargs. If a different type of exception is<br> -thrown, it will not be caught, and the test case will be<br> -deemed to have suffered an error, exactly as for an<br> -unexpected exception.</tt></dd></dl> - -<dl><dt><a name="Test-assertTrue"><strong>assertTrue</strong></a> = failUnless(self, expr, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail the test unless the expression is true.</tt></dd></dl> - -<dl><dt><a name="Test-assert_"><strong>assert_</strong></a> = failUnless(self, expr, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail the test unless the expression is true.</tt></dd></dl> - -<dl><dt><a name="Test-countTestCases"><strong>countTestCases</strong></a>(self)</dt></dl> - -<dl><dt><a name="Test-debug"><strong>debug</strong></a>(self)</dt><dd><tt>Run the test without collecting errors in a TestResult</tt></dd></dl> - -<dl><dt><a name="Test-defaultTestResult"><strong>defaultTestResult</strong></a>(self)</dt></dl> - -<dl><dt><a name="Test-fail"><strong>fail</strong></a>(self, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail immediately, with the given message.</tt></dd></dl> - -<dl><dt><a name="Test-failIf"><strong>failIf</strong></a>(self, expr, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail the test if the expression is true.</tt></dd></dl> - -<dl><dt><a name="Test-failIfAlmostEqual"><strong>failIfAlmostEqual</strong></a>(self, first, second, places<font color="#909090">=7</font>, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are equal as determined by their<br> -difference rounded to the given number of decimal places<br> -(default 7) and comparing to zero.<br> - <br> -Note that decimal places (from zero) are usually not the same<br> -as significant digits (measured from the most signficant digit).</tt></dd></dl> - -<dl><dt><a name="Test-failIfEqual"><strong>failIfEqual</strong></a>(self, first, second, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are equal as determined by the '=='<br> -operator.</tt></dd></dl> - -<dl><dt><a name="Test-failUnless"><strong>failUnless</strong></a>(self, expr, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail the test unless the expression is true.</tt></dd></dl> - -<dl><dt><a name="Test-failUnlessAlmostEqual"><strong>failUnlessAlmostEqual</strong></a>(self, first, second, places<font color="#909090">=7</font>, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are unequal as determined by their<br> -difference rounded to the given number of decimal places<br> -(default 7) and comparing to zero.<br> - <br> -Note that decimal places (from zero) are usually not the same<br> -as significant digits (measured from the most signficant digit).</tt></dd></dl> - -<dl><dt><a name="Test-failUnlessEqual"><strong>failUnlessEqual</strong></a>(self, first, second, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are unequal as determined by the '=='<br> -operator.</tt></dd></dl> - -<dl><dt><a name="Test-failUnlessRaises"><strong>failUnlessRaises</strong></a>(self, excClass, callableObj, *args, **kwargs)</dt><dd><tt>Fail unless an exception of class excClass is thrown<br> -by callableObj when invoked with arguments args and keyword<br> -arguments kwargs. If a different type of exception is<br> -thrown, it will not be caught, and the test case will be<br> -deemed to have suffered an error, exactly as for an<br> -unexpected exception.</tt></dd></dl> - -<dl><dt><a name="Test-id"><strong>id</strong></a>(self)</dt></dl> - -<dl><dt><a name="Test-run"><strong>run</strong></a>(self, result<font color="#909090">=None</font>)</dt></dl> - -<dl><dt><a name="Test-shortDescription"><strong>shortDescription</strong></a>(self)</dt><dd><tt>Returns a one-line description of the test, or None if no<br> -description has been provided.<br> - <br> -The default implementation of this method returns the first line of<br> -the specified test method's docstring.</tt></dd></dl> - -<hr> -Data descriptors inherited from <a href="unittest.html#TestCase">unittest.TestCase</a>:<br> -<dl><dt><strong>__dict__</strong></dt> -<dd><tt>dictionary for instance variables (if defined)</tt></dd> -</dl> -<dl><dt><strong>__weakref__</strong></dt> -<dd><tt>list of weak references to the object (if defined)</tt></dd> -</dl> -<hr> -Data and other attributes inherited from <a href="unittest.html#TestCase">unittest.TestCase</a>:<br> -<dl><dt><strong>failureException</strong> = <type 'exceptions.AssertionError'><dd><tt>Assertion failed.</tt></dl> - -</td></tr></table></td></tr></table> -</body></html> \ No newline at end of file diff --git a/doc/pydoc/test.test.html b/doc/pydoc/test.test.html deleted file mode 100644 index 14c090fd..00000000 --- a/doc/pydoc/test.test.html +++ /dev/null @@ -1,14 +0,0 @@ - -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<html><head><title>Python: module test.test</title> -</head><body bgcolor="#f0f0f8"> - -<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading"> -<tr bgcolor="#7799ee"> -<td valign=bottom> <br> -<font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a href="test.html"><font color="#ffffff">test</font></a>.test</strong></big></big></font></td -><td align=right valign=bottom -><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/home/hut/ranger/test/test.py">/home/hut/ranger/test/test.py</a></font></td></tr></table> - <p><tt>Workaround to allow running single test cases directly</tt></p> - -</body></html> \ No newline at end of file |