about summary refs log tree commit diff stats
Commit message (Expand)AuthorAgeFilesLines
* during writing 2wm.1 I noticed some bugs in dwm.1Anselm R. Garbe2007-02-121-3/+3
* removing all EnterNotifys after resizeAnselm R. Garbe2007-02-121-0/+1
* added pointer warp on drop in resizeAnselm R. Garbe2007-02-121-0/+2
* pneubeck pointed out an obvious thing, that a second p = stext + strlen(stext...Anselm R. Garbe2007-02-091-1/+1
* treating acroread and mplayer floating by defaultAnselm R. Garbe2007-02-091-0/+2
* adapting John Grahor's patch to dwm-3.5Anselm R. Garbe2007-02-091-2/+3
* fixed copyright notice in MakefileAnselm R. Garbe2007-02-081-1/+1
* fixed order of Bool declarationsAnselm R. Garbe2007-02-081-1/+1
* added TOPBAR option for making the bar appear what the user likesAnselm R. Garbe2007-02-083-3/+5
* next version is 3.5Anselm R. Garbe2007-02-081-1/+1
* making the bar appear at bottomAnselm R. Garbe2007-02-081-2/+2
* Added tag 3.4 for changeset 9ede7b2d2450Anselm R. Garbe2007-02-071-0/+1
* removed debug flags 3.4Anselm R. Garbe2007-02-071-2/+2
* replaced getproto with a saner function, now old-school artifacts of WM times...Anselm R. Garbe2007-02-075-31/+20
* yet another fixAnselm R. Garbe2007-02-061-1/+1
* simplificationAnselm R. Garbe2007-02-061-10/+5
* implemented aspect ratio support of windowsAnselm R. Garbe2007-02-062-4/+41
* made some changes more concistentAnselm R. Garbe2007-02-052-3/+3
* got rid of LD (inspired by JGs patch to wmii)Anselm R. Garbe2007-02-052-4/+2
* applied apm's patch proposal, getting rid of XDrawLinesAnselm R. Garbe2007-02-051-14/+4
* Added tag 3.3 for changeset 0f91934037b0Anselm R. Garbe2007-02-011-0/+1
* applied Sander's drop_bh patch 3.3Anselm R. Garbe2007-01-311-5/+5
* handling WM_STATE seems to make DnD in gtk/qt apps working, well let's handle...Anselm R. Garbe2007-01-283-1/+11
* regarding to http://plan9.bell-labs.com/sources/contrib/rsc/man.ps the BUGS s...Anselm R. Garbe2007-01-261-2/+2
* renamed CAVEATS into BUGSAnselm R. Garbe2007-01-262-2/+2
* Added tag 3.2.2 for changeset d3876aa79292Anselm R. Garbe2007-01-251-0/+1
* prepared yet another hotfix release 3.2.2Anselm R. Garbe2007-01-253-5/+9
* Added tag 3.2.1 for changeset f2cabc83a18fAnselm R. Garbe2007-01-241-0/+1
* hotfix release 3.2.1 3.2.1Anselm R. Garbe2007-01-241-1/+1
* applied offscreen appearance hotfixAnselm R. Garbe2007-01-241-8/+8
* Added tag 3.2 for changeset 4ce65f61f01bAnselm R. Garbe2007-01-241-0/+1
* renamed activescreen into selscreen 3.2Anselm R. Garbe2007-01-234-6/+6
* implemented Sanders remarksAnselm R. Garbe2007-01-231-1/+2
* small changesAnselm R. Garbe2007-01-234-9/+11
* removed a blank lineAnselm R. Garbe2007-01-231-1/+0
* this version should also work with cornercases (like unmanage during !issel, ...Anselm R. Garbe2007-01-231-7/+7
* I think this is the best solution of multihead supportAnselm R. Garbe2007-01-232-11/+7
* darker borderAnselm R. Garbe2007-01-221-1/+1
* this variant is known to work, but focus() is ugly - we need in general a bet...Anselm R. Garbe2007-01-222-9/+13
* applied Sanders all5.patch (thanks for your weekend session, Sander!)Anselm R. Garbe2007-01-225-71/+63
* leavenotify also don't needs the checkAnselm R. Garbe2007-01-191-5/+2
* deciding for focus(NULL);Anselm R. Garbe2007-01-191-2/+2
* replaced XSetBorder.../focus()Anselm R. Garbe2007-01-191-1/+1
* yet another multihead fix by Christof MusikAnselm R. Garbe2007-01-191-0/+2
* I prefer BORDERPX=1Anselm R. Garbe2007-01-192-2/+2
* personally I prefer 2px bordersAnselm R. Garbe2007-01-181-1/+1
* applied a modified version of Christof Musik's multihead patch (though this i...Anselm R. Garbe2007-01-181-1/+4
* moved BORDERPX to config.*.hAnselm R. Garbe2007-01-175-3/+4
* Added tag 3.1 for changeset e1c8bef05e6eAnselm R. Garbe2007-01-161-0/+1
* removed erealloc (not used) 3.1Anselm R. Garbe2007-01-162-10/+0
d.linenos .normal { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; } span.linenos { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; } td.linenos .special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; } span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; } .highlight .hll { background-color: #ffffcc } .highlight .c { color: #888888 } /* Comment */ .highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */ .highlight .k { color: #008800; font-weight: bold } /* Keyword */ .highlight .ch { color: #888888 } /* Comment.Hashbang */ .highlight .cm { color: #888888 } /* Comment.Multiline */ .highlight .cp { color: #cc0000; font-weight: bold } /* Comment.Preproc */ .highlight .cpf { color: #888888 } /* Comment.PreprocFile */ .highlight .c1 { color: #888888 } /* Comment.Single */ .highlight .cs { color: #cc0000; font-weight: bold; background-color: #fff0f0 } /* Comment.Special */ .highlight .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */ .highlight .ge { font-style: italic } /* Generic.Emph */ .highlight .ges { font-weight: bold; font-style: italic } /* Generic.EmphStrong */ .highlight .gr { color: #aa0000 } /* Generic.Error */ .highlight .gh { color: #333333 } /* Generic.Heading */ .highlight .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */ .highlight .go { color: #888888 } /* Generic.Output */ .highlight .gp { color: #555555 } /* Generic.Prompt */ .highlight .gs { font-weight: bold } /* Generic.Strong */ .highlight .gu { color: #666666 } /* Generic.Subheading */ .highlight .gt { color: #aa0000 } /* Generic.Traceback */ .highlight .kc { color: #008800; font-weight: bold } /* Keyword.Constant */ .highlight .kd { color: #008800; font-weight: bold } /* Keyword.Declaration */ .highlight .kn { color: #008800; font-weight: bold } /* Keyword.Namespace */ .highlight .kp { color: #008800 } /* Keyword.Pseudo */ .highlight .kr { color: #008800; font-weight: bold } /* Keyword.Reserved */ .highlight .kt { color: #888888; font-weight: bold } /* Keyword.Type */ .highlight .m { color: #0000DD; font-weight: bold } /* Literal.Number */ .highlight .s { color: #dd2200; background-color: #fff0f0 } /* Literal.String */ .highlight .na { color: #336699 } /* Name.Attribute */ .highlight .nb { color: #003388 } /* Name.Builtin */ .highlight .nc { color: #bb0066; font-weight: bold } /* Name.Class */ .highlight .no { color: #003366; font-weight: bold } /* Name.Constant */ .highlight .nd { color: #555555 } /* Name.Decorator */ .highlight .ne { color: #bb0066; font-weight: bold } /* Name.Exception */ .highlight .nf { color: #0066bb; font-weight: bold } /* Name.Function */ .highlight .nl { color: #336699; font-style: italic } /* Name.Label */ .highlight .nn { color: #bb0066; font-weight: bold } /* Name.Namespace */ .highlight .py { color: #336699; font-weight: bold } /* Name.Property */ .highlight .nt { color: #bb0066; font-weight: bold } /* Name.Tag */ .highlight .nv { color: #336699 } /* Name.Variable */ .highlight .ow { color: #008800 } /* Operator.Word */ .highlight .w { color: #bbbbbb } /* Text.Whitespace */ .highlight .mb { color: #0000DD; font-weight: bold } /* Literal.Number.Bin */ .highlight .mf { color: #0000DD; font-weight: bold } /* Literal.Number.Float */ .highlight .mh { color: #0000DD; font-weight: bold } /* Literal.Number.Hex */ .highlight .mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */ .highlight .mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */ .highlight .sa { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Affix */ .highlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */ .highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */ .highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */ .highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
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/
* Test the code with "doctest" where it makes sense


Patches
-------

Send patches, created with "git format-patch", to the email adress

    hut@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.


Starting Points
---------------

Good places to read about ranger internals are:
ranger/core/actions.py
ranger/fsobject/fsobject.py

About the UI:
ranger/gui/widgets/browsercolumn.py
ranger/gui/widgets/browserview.py
ranger/gui/ui.py


Common Changes
--------------

* Change which files are previewed in the auto preview:
In ranger/fsobject/file.py
the constant PREVIEW_BLACKLIST

* Adding options:
In ranger/config/options.py
add the default value, like: my_option = True
In ranger/container/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.

* 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/config/options.py (or ~/.config/ranger/options.py), change
    colorscheme = 'default'
to: colorscheme = 'myscheme'

* Change the file type => application associations:
In ranger/config/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


Version Numbering
-----------------

Three numbers;  The first changes on a rewrite, the second changes when major
configuration incompatibilities occur and the third changes with each release.