summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* update documentation for options, plugins and exampleshut2012-12-043-172/+127
|
* removed options.py, improved plugins. *UPDATE YOUR COMMANDS.PY*hut2012-12-0416-277/+286
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, you could change settings in both rc.conf and options.py. With this commit, options.py is deprecated and you are encouraged to use rc.conf to change settings. I chose to do this because it is more elegant to use a simple list of ranger commands for configuration rather than a python file with lots of magic around it and potential syntax errors for inexperienced users. The existing "set" command doesn't evaluate python objects anymore, instead it always takes strings and converts to the proper type automatically. This means that the old set command will not work anymore and you have to update your commands.py if it still uses the old definition of the "set" command. This is how to convert your options.py: old way, in options.py | new way, in rc.conf ---------------------------+------------------------ show_hidden = False | set show_hidden false sort = 'basename' | set sort basename column_ratios = (1, 5, 3) | set column_ratios 1,5,3 For backward compatibility, you still can use options.py, but you get a warning when you start ranger. You can pipe stderr to /dev/null to silence the warning, or just move your stuff from options.py to rc.conf and plugins and delete the options.py. Finally, to extend ranger, which you previously could do through monkey-patching in options.py, you should now use the plugin system. This was an experimental, undocumented feature of ranger for some time, but this and the following commits will imrpove and document it. You can simply move all the monkey-patching code from options.py to a *.py file in ~/.config/ranger/plugins/.
* fixed ansi color parsingAbdó Roig-Maranges2012-12-011-10/+45
| | | | | | | | | | | * implemented 22, 24, 26, 27, 28, to disable attributes, and don't reset fg, bg attr on every escape block so that, for example, fg color persists through different escape blocks until it is changed. * Support for xterm256 colors * Support aixterm escapes for high intensity colors (8 light but not bold colors)
* rifle.conf: fix opening doc/docx files with ooffice variantsEmanuel Guevel2012-11-181-9/+6
|
* ext.popen_forked: get rid of zombiesEmanuel Guevel2012-11-181-0/+2
|
* widgets.browsercolumn: check if file was copied or cut when drawinghut2012-11-101-1/+2
|
* gui.ui: more portable terminal title supporthut2012-11-091-6/+5
|
* core.actions: fixed ci keyhut2012-11-091-1/+1
| | | | | | before, in the search_next method, item.mimetype could be None, resulting in an exception in lst.sort(key=fnc) when order == 'mimetype'.
* core.actions: fixed cm/ca keyshut2012-11-091-1/+2
|
* widgets.browserview: catch an error in _draw_bordershut2012-11-051-5/+8
|
* Makefile: use python2.7 toohut2012-10-181-1/+1
|
* gui.ansi: Fix crash https://savannah.nongnu.org/bugs/?37346hut2012-10-031-0/+3
|
* Revert "config/rifle.conf: Fix handling of mkv files"hut2012-08-201-13/+0
| | | | | | | This reverts commit 14412eea0cd7ec556062f8f984dc5577ebdc8b30. Since rifle now does file-extension-based file type recognition, this commit is not necessary anymore.
* ext.rifle: Use python mimetypes module again, file as fallback.hut2012-08-201-4/+21
| | | | | | | | | file is unreliable, often simple file-extension based recognition yields better results. See: https://github.com/hut/ranger/issues/44 https://bbs.archlinux.org/viewtopic.php?pid=1147719#p1147719
* ext.rifle: Fixed rifle when running as standalone programhut2012-08-161-1/+1
|
* Revert "core.runner: removed 's', 'p', 'w' flags to behave like rifle"hut2012-08-151-1/+19
| | | | | | This reverts commit d6c78470ba0e3a9923d5cc13a5babaca4d52aecf. It makes ... little sense atm to remove this.
* core.loader: implemented progressbar for CopyLoaderhut2012-08-152-3/+28
|
* core.actions: move paste() logic to core.loader.CopyLoaderhut2012-08-152-51/+52
|
* core.actions: update shutil_g paste function to not use Environmenthut2012-08-151-8/+8
|
* core.actions: imported shutil_g paste function from v1.2.3hut2012-08-153-34/+364
| | | | | | | | | | | | | | | | | | | | | The code implements the functionality of cp and mv coreutils in python and was removed as of v1.4.0 for efficiency and simplicity reasons. I moved it back in for several reasons: 1. I plan to enhance shutil_g to report on its copying status so I can display a progress bar 2. With no need for external cp/mv programs, distribution-specific differences (like broken backup option on MacOS/BSD?) become irrelevant 3. You can still copy in ranger if you accidently delete /bin/cp 4. It gets rid of the occasional bug that the cp process keeps running when ranger is terminated while copying The possible downside is reduced efficiency in copying and ranger might get stuck if the copying function is blocked. Let's see if it works out.
* core.runner: Added TODO: "make 'r' flag work with pipes"hut2012-08-151-0/+1
|
* config/rifle.conf: added note about 'c' flaghut2012-08-151-0/+2
|
* core.runner: removed 's', 'p', 'w' flags to behave like riflehut2012-08-151-19/+1
| | | | | | | | instead of 's', you can append &>/dev/null instead of 'p', you can append |less instead of 'w', you can append ;read If there is demand, I'll add the flags back in.
* ext.rifle: add TODO entry "Test all of the hooks properly"hut2012-08-151-0/+1
|
* core.runner: fixed missing importhut2012-08-151-0/+1
|
* ext.rifle: removed bad importhut2012-08-151-1/+0
|
* core.runner: remove 'setsid' dependency, use Popen_forkedhut2012-08-151-5/+8
|
* ext.popen_forked: tweak mechanismhut2012-08-152-24/+22
|
* ext.rifle: added some commentshut2012-08-151-0/+3
|
* ext.popen_forked: separated Popen_forked to a libraryhut2012-08-152-14/+47
|
* core.runner: renamed flag "d" to "f" in the runner toohut2012-08-152-8/+8
|
* ranger.__init__: print python info with --versionhut2012-08-151-1/+2
|
* widgets.browsercolumn: Catch a "wmove() returned ERR" exceptionhut2012-08-141-1/+4
|
* config/rifle.conf: added notehut2012-08-141-0/+2
|
* ranger.__init__: cleaner ranger.log()hut2012-08-141-4/+4
|
* deleted colorschemes/default88.py, it is outdated (and ugly)hut2012-08-131-45/+0
|
* colorschemes.snow: updated to work with progressbars and taskviewhut2012-08-121-3/+12
|
* colorschemes.jungle: changed progressbar color to greenhut2012-08-121-0/+1
|
* colorschemes.default: changed color of progressbar to bluehut2012-08-121-3/+5
|
* widgets.statusbar: draw an averaging progress barhut2012-08-127-4/+32
|
* config/rifle.conf: added chromiumhut2012-08-121-0/+1
|
* ext.rifle: BSD-friendly setsid usagehut2012-08-111-8/+15
|
* ext.rifle: remove unused _apply_flags methodhut2012-08-111-28/+2
|
* Merge branch 'stable'hut2012-08-105-3/+8
|\ | | | | | | | | | | Conflicts: doc/ranger.1 ranger/defaults/apps.py
| * ceci n'est pas un nouveau version v1.5.5hut2012-08-104-4/+7
| |
| * defaults/apps.py: added "odb" entryhut2012-08-101-1/+1
| |
| * core.runner: use setsid to stabilize detached programshut2012-08-091-0/+2
| | | | | | | | | | | | This fixes the bug that some programs are killed even if they were run with the "d" flag, if ranger is killed by closing its terminal with the window manager instead of closed with :quit.
* | config/rifle.conf: added "odb" entryhut2012-08-101-5/+5
| |
* | gui.ui: Amendment to previous commithut2012-08-091-1/+0
| |
* | gui.ui: Fixed crash due to bad ui.termsize with padding_right=Falsehut2012-08-091-1/+1
| | | | | | | | https://bbs.archlinux.org/viewtopic.php?pid=1143920#p1143920