| Commit message (Expand) | Author | Age | Files | Lines |
... | |
* | implemented exact focus next, if arg != NULL to focus{next,prev} | Anselm R Garbe | 2008-05-11 | 4 | -17/+27 |
* | applied the proposal by nsz | Anselm R Garbe | 2008-05-06 | 1 | -3/+5 |
* | applied JUCE patch | Anselm R Garbe | 2008-05-06 | 2 | -0/+3 |
* | simplification of view() as proposed by anydot | Anselm R Garbe | 2008-04-27 | 1 | -10/+3 |
* | applied yiyus tagset patch | Anselm R Garbe | 2008-04-27 | 1 | -21/+16 |
* | applied yiyus fgeom patch | Anselm R Garbe | 2008-04-27 | 2 | -35/+41 |
* | applied dfenze drawtext simplifications | Anselm R Garbe | 2008-04-27 | 1 | -8/+7 |
* | this is the correct way | anselm@anselm1 | 2008-04-20 | 1 | -0/+1 |
* | copyright notice is in LICENSE | anselm@anselm1 | 2008-04-20 | 1 | -1/+0 |
* | applied Ph's seltags-simplification with some modifications | anselm@anselm1 | 2008-04-20 | 1 | -13/+10 |
* | applied Ph's MIN/MAX patch, nice work! | anselm@anselm1 | 2008-04-20 | 1 | -31/+22 |
* | applied Ph's patch regarding geom and lt initialization | anselm@anselm1 | 2008-04-20 | 1 | -8/+4 |
* | applied Gottox' applyrules() fix | anselm@anselm1 | 2008-04-20 | 1 | -2/+2 |
* | geometry fix proposed by Jukka | Anselm R Garbe | 2008-04-08 | 1 | -1/+1 |
* | applied applyrules-fix by Jukka, thank you Jukka! | Anselm R Garbe | 2008-04-07 | 1 | -3/+3 |
* | fix | Anselm R Garbe | 2008-04-05 | 1 | -1/+1 |
* | applied the proposed monocle patch from the mailinglist | Anselm R Garbe | 2008-04-05 | 1 | -1/+1 |
* | next version is 5.0 | Anselm R Garbe | 2008-04-04 | 1 | -1/+1 |
* | Added tag 4.9 for changeset 22c669b2dd36 | anselm@anselm1 | 2008-04-03 | 1 | -0/+1 |
* | yet another cleanup 4.9 | Anselm R Garbe | 2008-04-03 | 1 | -2/+2 |
* | some cleanup changes | Anselm R Garbe | 2008-04-03 | 2 | -3/+1 |
* | uncommented dual layout in preparation of dwm 4.9 | anselm@anselm1 | 2008-04-02 | 1 | -2/+2 |
* | applied Peter Hartlich's simplification patch of setmfact and his revival of ... | anselm@anselm1 | 2008-04-02 | 2 | -42/+24 |
* | aspects hints seem broken for fullscreen apps | Anselm R Garbe | 2008-04-01 | 1 | -3/+5 |
* | removed uneccessary line | Anselm R Garbe | 2008-03-31 | 1 | -1/+0 |
* | bugfix | Anselm R Garbe | 2008-03-25 | 1 | -1/+1 |
* | setmfact should not have any effect if in floating layout | Anselm R Garbe | 2008-03-24 | 1 | -1/+1 |
* | minor fix | Anselm R Garbe | 2008-03-24 | 1 | -1/+1 |
* | revival of mfact and setmfact | Anselm R Garbe | 2008-03-24 | 3 | -1/+31 |
Guidelines on Code Modification
===============================
Coding Style
------------
* Use syntax compatible to both python 2.6 and 3.1.
* Use docstrings with pydoc in mind
* Follow the style guide for python code:
http://www.python.org/dev/peps/pep-0008/
* Although this guide suggests otherwise, tabs are used for indentation
of code and docstrings. In other documents (readme, etc), use spaces.
Patches
-------
Send patches, created with "git format-patch", to the email adress
romanz@lavabit.com
If you plan to do major changes, or many changes over time, I encourage
you to create a fork on GitHub, Gitorious or any other site.
Common Changes
--------------
* Change which files are previewed in the auto preview:
In ranger/gui/widget/browsercolumn.py
the constant PREVIEW_BLACKLIST
* Adding options:
In ranger/defaults/options.py
add the default value, like: my_option = True
In ranger/shared/settings.py
add the name of your option to the constant ALLOWED_SETTINGS
The setting is now accessible at self.settings.my_option,
assuming <self> is a "SettingsAware" object.
* Change commands:
ranger/defaults/commands.py
* Create aliases for commands:
In ranger/defaults/commands.py
at the bottom, write something like: alias(exit=quit)
* Adding colorschemes:
Copy ranger/colorschemes/default.py to ranger/colorschemes/myscheme.py
and modify it according to your needs. Alternatively, mimic the jungle
colorscheme. It subclasses the default scheme and just modifies a few things.
In ranger/defaults/options.py (or ~/.ranger/options.py), change
colorscheme = colorschemes.default
to: colorscheme = colorschemes.myscheme
* Change which files are considered to be "hidden":
In ranger/defaults/options.py
change the hidden_filter regular expression.
* Change the key map:
Modify ranger/defaults/keys.py. This should be self-explanatory.
Check out ranger/core/actions.py for the most common actions, of course
you can also use your own functions.
* Change the file type => application associations:
In ranger/defaults/apps.py
modify the method app_default.
The variable "f" is a filesystem-object with attributes like mimetype,
extension, etc. For a full list, check ranger/fsobject/fsobject.py
* Change the file extension => mime type associations:
Modify ranger/data/mime.types
and run ranger/data/generate.py to compile it.
Version Numbering
-----------------
X.Y.Z, where:
* X: Milestones
* Y: Stable versions
* Z: Experimental versions
[next]