summary refs log tree commit diff stats
path: root/ranger/core
Commit message (Collapse)AuthorAgeFilesLines
...
* core.fm: use "basename" instead of "path" in sxiv hookhut2013-03-051-3/+3
| | | | | This allows to pass more arguments before the argument list gets too long.
* added a rifle hook for better sxiv integrationhut2013-03-051-0/+19
|
* core.runner: dont switch to console when using "s" flaghut2013-03-041-0/+1
|
* core.fm: removed unnecessary importhut2013-03-041-1/+0
|
* renamed container.settingobject to container.settingshut2013-03-012-5/+4
| | | | | | | | | | ranger.container.settingobject.SettingObject -> ranger.container.settings.Settings ranger.container.settingobject.LocalSettingObject -> ranger.container.settings.LocalSettings This is for more conformity. No other class is called *Object.
* simplify sanitizing of settings and core.shared modulehut2013-03-012-60/+16
|
* core.tab: consistent return value in get_selection()hut2013-03-011-3/+1
|
* moved fsobject.* to container.*hut2013-03-012-2/+2
| | | | why have an extra directory for them?
* Fix docstrings to comply with the PEP8hut2013-02-227-31/+20
| | | | http://www.python.org/dev/peps/pep-0008/#documentation-strings
* core.main: added RANGER_LOAD_DEFAULT_RC environment variablehut2013-02-221-4/+1
| | | | | this fixes the problem that examples/plugin_skip_default_rc doesn't work, because plugins are loaded after the rc.conf.
* updated copyright noticeshut2013-02-228-8/+8
|
* update email address (romanz@lavabit.com -> hut@lavabit.com)hut2013-02-228-8/+8
|
* core.actions: fix a rare, silent exceptionhut2013-02-221-1/+1
| | | | There was some code assuming that fm.thisfile is not None.
* core.shared: silence "missing preview script" message @ starthut2013-02-211-1/+1
| | | | | | | | | This bug caused an error message to appear on every start of ranger, if the user has no scope.sh, because "use_preview_script" is set to true but "preview_script" is None. The expected behaviour would be to silently ignore it, to stop annoying people who don't want scope.sh.
* core.loader: handle race condition when process quits unexpectedlyhut2013-02-191-2/+10
|
* README: removed bash dependencyhut2013-02-181-1/+1
|
* ranger.1: update list of ranger optionshut2013-02-181-5/+5
|
* core.main: made --mode and --flag deprecatedhut2013-02-171-4/+6
| | | | Again, use rifle as a file launcher instead
* core.main: made --fail-unless-cd deprecatedhut2013-02-171-7/+11
| | | | Instead of launching ranger for opening files, simply use rifle.
* core.loader: actually kill the process when using kill_on_pausehut2013-02-171-0/+1
|
* core.loader: Fix passing stdin to commands in python3hut2013-02-171-3/+8
|
* core.loader: Added input and kill_on_pause options to CommandLoaderhut2013-02-161-4/+23
|
* core.fm: create $confdir when using --copy-confighut2013-02-161-0/+10
|
* core.actions: Don't break "uq" key on fm.reset()hut2013-02-151-1/+0
|
* removed all trailing whitespaceshut2013-02-102-2/+2
|
* replaced tabs with 4 spaces in all python fileshut2013-02-108-2510/+2510
| | | | | | | | | PEP 8 (Style Guide for Python Code) suggests the use of 4 spaces: http://www.python.org/dev/peps/pep-0008/#indentation If you need to use tools like "git blame", you can use the -w option to ignore this commit entirely. Patches will continue to work if you substitute tabs with 4 spaces everywhere except in the Makefile.
* core.actions: Warn about missing or non-executable scope.shhut2013-02-101-0/+14
|
* core.tab: Fix files being treated as dirs after renamehut2013-02-051-8/+3
| | | | | | | | | When you deleted a directory and created a file with the same name, it was treated like a directory, with ranger trying to preview it and throwing lots of errors. This was because it tried to look for the path of the currently selected file in fm.directories - a directory cache - and if a file with the same name existed as a directory once, it would have found it there.
* core.fm: ask user to update configs when updating rangerhut2013-02-051-1/+5
|
* fsobject.file: remove is_image(), use existing "image" attributehut2013-02-031-2/+2
|
* Add 'preview_images' settingEmanuel Guevel2013-02-021-2/+2
|
* Display image preview using w3mimgdisplayEmanuel Guevel2013-02-021-2/+12
| | | | It works, but is rather hackish.
* core.tab: fix incorrect pointer on tab changehut2013-01-281-1/+7
| | | | | | | | | | | | To reproduce the bug that this patch fixes, do: 1. start in a place where the second item is a directory that contains at least two files (the usual $HOME with sort_directories_first=True will likely do) 2. open (and enter) a new tab with ^N 3. move down and right, entering the directory. The cursor is now on file 1 4. switch to tab 1, then back to tab 2 5. now the cursor is on file 2 instead of file 1.
* core.main: Fix plugins when using custom color schemeshut2013-01-121-0/+4
| | | | | | | fm.source(custom_conf) could execute a "set colorscheme = ..." which would lead to a "allow_access_to_confdir(..., False)" and that would result in ranger not being able to find plugins since the confdir is not in os.path anymore.
* core.actions: fix another case in tab_openhut2012-12-171-1/+4
| | | | | if you use ":tab_open 1 /path" while being in tab 1, the path should change to /path, but it doesn't.
* core.actions: fix incorrect tab creation in tab_openhut2012-12-171-5/+4
|
* core.tab: fix %s macro in empty directorieshut2012-12-151-1/+3
|
* core.actions: make macros %F/%S work with new tab systemhut2012-12-141-3/+3
|
* core.tab: make tab.get_selection() cursor-agnostichut2012-12-141-1/+4
| | | | | | | Without this, if you enter another tab, the cursor of the directory may change and get_selection() will not return the actual selected file of the tab anymore (unless they have been marked, in which case everything's fine).
* core.loader: ensure that loaders are stopped on errorhut2012-12-111-4/+8
|
* core.actions: more debug outputhut2012-12-111-0/+2
|
* Implement local per-directory settingsAbdó Roig-Maranges2012-12-091-2/+4
| | | | | SettingObject can store settings local to a directory. Then LocalSettingObject choses the right settings according to context.
* Merge branch 'fix_selectfile' of https://github.com/PotatoesMaster/rangerhut2012-12-041-3/+3
|\
| * core.main: fix --selectfile argumentEmanuel Guevel2012-11-201-3/+3
| |
* | core.main: only import own commands if commands.py existshut2012-12-041-5/+6
| |
* | updated man page, improved hookshut2012-12-042-7/+5
| |
* | core.shared: remove obsolete settingobject codehut2012-12-041-15/+1
| |
* | removed options.py, improved plugins. *UPDATE YOUR COMMANDS.PY*hut2012-12-044-15/+72
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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/.
* 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
|