summary refs log tree commit diff stats
path: root/ranger
Commit message (Collapse)AuthorAgeFilesLines
* Adds config settings and documentation for the vcs featureAbdo Roig-Maranges2013-02-122-0/+7
|
* Displays version control data on the status barAbdó Roig-Maranges2013-02-121-1/+23
| | | | Data displayed: branch, repo status and summary of last commit.
* Displays version control data on browser columnAbdo Roig-Maranges2013-02-124-80/+180
| | | | | | | | | | | * I have restructured BrowserColumn._draw_directory. Hopefully it is easier mantain now. Simplified horizontal space computations, etc. * Displays two symbols on the right of every entry, showing local status, and status regarding the remote vcs repo. * Added the necessary context to be able to change colors for individual symbols from the colorscheme.
* Support for extracting metadata from version control systemsAbdo Roig-Maranges2013-02-123-1/+71
| | | | | | * Makes fsobject aware of vcs. * Makes directory get vcs status data when loading content. * Adds a config option to enable/disable the vcs info feature.
* Merged code to manipulate version control systemsAbdo Roig-Maranges2013-02-125-0/+1209
| | | | Supports git, hg and bzr.
* ext.img_display: disable preview_images when unsupportedhut2013-02-102-1/+6
|
* ext.img_display: don't draw image when fonth/fontw is 0hut2013-02-101-0/+2
|
* removed all trailing whitespaceshut2013-02-105-5/+5
|
* replaced tabs with 4 spaces in all python fileshut2013-02-1059-9642/+9642
| | | | | | | | | 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
|
* widgets.browsercolumn: fix display of non-tagged filenameshut2013-02-101-0/+1
| | | | | | | | | | When you see a non-tagged file in a column other than the main column and its name is shortened because it doesn't fit into the column, it would have 1 less character of space available. The reason is that since it has no tag, a simulated tag with the content " " is added before the name so it appears to be 1 character longer than files with tags. This commit fixes that.
* fsobject.fsobject: Fix incorrect symlink formatting (#38271)hut2013-02-061-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | Thanks to looper for reporting. Bug report was: Symlink looses formatting Details: Steps to reproduce: 1. Make an empty directory end enter it. 2. Do :touch <some_filename>. 3. Open other tab with any path and copy any file with 'yy'. 4. Swap to previous tab and paste the symlink with 'pl'. 5. The symlink coloured and looks like common file, not like a symlink. 6. Move cursor to the symlink and back to <some_filename> from point 2. Now the symlink looks as intended. 7. While cursos stays on <some_file>, reload cwd with 'R'. The symlink looks like common file again. ---- ranger-master 1.5.5 Python 2.7.3 (default, Jan 2 2013, 16:53:07) [GCC 4.7.2]
* config/rc.conf: add setting for "preview_images"hut2013-02-061-0/+3
|
* Merge branch 'posix_scope'hut2013-02-061-45/+45
|\
| * data/scope: replace tabs with 4 spaceshut2013-02-061-14/+14
| |
| * data/scope: fix handling of spaces in try() functionhut2013-02-061-1/+1
| |
| * data/scope: add missing flags for bsdtar callhut2013-02-061-1/+1
| |
| * data/scope.sh: trim output of highlighthut2013-02-051-1/+1
| |
| * data/scope.sh: rewrote in POSIX shellhut2013-02-051-43/+43
| |
* | config/commands: correct tabbing for string settingshut2013-02-061-1/+1
| |
* | config/commands: sort settings when using TAB on ":set "hut2013-02-061-1/+1
| |
* | gui.ui: Flush stdout after setting tmux titlehut2013-02-051-0/+1
| | | | | | | | | | This fixes the bug that when using python3, the title is only set after exiting ranger.
* | ext.widestring: Fix corner case (bug #32687)hut2013-02-051-0/+6
| | | | | | | | https://savannah.nongnu.org/bugs/index.php?32687
* | 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.
* | fsobject.fsobject: fix handling of symlinkshut2013-02-051-6/+4
| | | | | | | | | | | | When you deleted a symlink to a directory and created a normal directory with the same name, it still appeared a symlink. This commit fixes that.
* | config/rc.conf: delete() does not accept argumentszmode2013-02-052-5/+2
| | | | | | | | | | The delete() command as defined in rc.conf does not accept arguments, but asks for confirmation after enter is pressed.
* | config/commands: helpful error message for :delete in empty dirhut2013-02-051-0/+3
| |
* | added tab completion for open_withhut2013-02-052-0/+14
| |
* | config/commands: style improvementhut2013-02-051-2/+3
| |
* | config/commands: fix error message in copymaphut2013-02-051-1/+1
| |
* | config/commands: less global importshut2013-02-051-5/+8
| | | | | | | | | | | | | | | | the point of this is that you can copy&paste commands to your own commands.py without having to care about what modules it uses. It should work as long as you import * from ranger.api.commands and make sure that you also include the base class if your command is a subclass of something other than Command.
* | core.fm: ask user to update configs when updating rangerhut2013-02-051-1/+5
| |
* | config/commands: added tab completion to mkdir/touchhut2013-02-051-0/+6
|/
* data/scope.sh: shorten previous commithut2013-02-051-2/+1
|
* data/scope.sh: fix hanging on password-protectet rar filehut2013-02-051-1/+5
|
* config/rc.conf: revert value for "xterm_alt_key" to falsehut2013-02-041-1/+1
| | | | No idea why this was turned to true by default :S
* data/scope.sh: change shebang to #!/usr/bin/env bashhut2013-02-031-1/+1
|
* Image preview: clear images without full redrawEmanuel Guevel2013-02-032-2/+18
|
* Allow to pass custom options to w3mimgdisplayEmanuel Guevel2013-02-031-2/+3
| | | | | | | | Can be useful to change image display offset or adapt to term background color. See http://w3m.cvs.sourceforge.net/viewvc/w3m/w3m/doc/README.img for available options.
* gui.ui: shift column levels by 1 when pressing "i"hut2013-02-032-0/+13
|
* widgets.pager: no unnecessary redrawing of imageshut2013-02-031-2/+4
|
* widgets.pager: draw the image at the very endhut2013-02-032-10/+11
|
* widgets.browserview: don't collapse preview when drawing imageshut2013-02-031-7/+10
|
* fsobject.file: remove is_image(), use existing "image" attributehut2013-02-033-6/+3
|
* Merge remote-tracking branch 'potato/img-preview'hut2013-02-037-12/+152
|\
| * Add 'preview_images' settingEmanuel Guevel2013-02-023-3/+4
| |
| * Display image preview using w3mimgdisplayEmanuel Guevel2013-02-025-12/+72
| | | | | | | | It works, but is rather hackish.
| * ext: add img_displayEmanuel Guevel2013-02-021-0/+79
| | | | | | | | This new file provides functions to draw images in the terminal.
* | widgets.statusbar: removed space between size and size unithut2013-02-011-1/+3
|/
* 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.