Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | core.actions: the file macros work properly with :flat | Wojciech Siewierski | 2015-02-18 | 1 | -3/+3 | |
| |/ | | | | | | | %s, %f and %t in particular. | |||||
* / | core.actions: create multi-level directories with :mkdir | hut | 2015-03-05 | 1 | -1/+1 | |
|/ | | | | Thanks to @randynobx for suggesting it. See Github issue #238. | |||||
* | core.main: avoid creating ~/.config/ranger/commands.pyc | hut | 2015-02-17 | 1 | -0/+3 | |
| | | | | This fixes #248 (Cached python should not be stored in .config) | |||||
* | core.fm: more sane --copy-config of commands.py | hut | 2015-02-17 | 2 | -3/+5 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | This commit makes ranger only copy a small sample commands.py to ~/.config/ranger/commands.py when running --copy-config=commands. The default commands.py will be copied to commands_full.py instead, a file that will not be loaded at all, and will only serve as a reference. It can be obtained with --copy-config=commands_full This will avoid that the average user's commands.py will break ranger whenever she's updating ranger after using --copy-config=all. It's necessary because commands.py contains much of the actual program logic, but it can't be kept compatible like other configuration files, and the user can't be expected to always keep an up-to-date version of it. Overview: Removed --copy-config rule: --copy-config=commands: commands.py -> commands.py New --copy-config rules: --copy-config=commands: commands_sample.py -> commands.py --copy-config=commands_full: commands.py -> commands_full.py | |||||
* | core.fm: typo | hut | 2015-02-17 | 1 | -1/+1 | |
| | ||||||
* | core.actions: deleting a file with a cached image preview no longer crashes ↵ | Wojciech Siewierski | 2015-02-12 | 1 | -1/+1 | |
| | | | | ranger | |||||
* | Fix renaming with insufficient privileges | Alexander Buddenbrock | 2015-02-12 | 1 | -0/+2 | |
| | | | | | | | | | | | Closes #97 When renaming a file, the internal file pointer will be set to the new file name without checking if the file actually got renamed. This would cause the file pointer to be set to an invalid file if renaming failed because of bad privileges. With no valid file, the previev window will disappear. This patch adds a return value to the core renaming method so it can be checking by the caller. The rename command now checks if the rename succeeded and only then sets the new file pointer. | |||||
* | fix python version checking with python2.6 | hut | 2015-02-10 | 2 | -3/+3 | |
| | ||||||
* | core.fm: give clearer instructions on --copy-config | hut | 2015-02-09 | 1 | -3/+9 | |
| | ||||||
* | proper checking for the python version | hut | 2015-02-08 | 2 | -3/+3 | |
| | | | | | Let's not force python to jump from version 9 straight to 31, just because some silly software did fuzzy version checks :D | |||||
* | core.loader: fix copy&pasting directory links | hut | 2015-02-07 | 1 | -1/+1 | |
| | ||||||
* | core.loader: don't follow links when calculating size | hut | 2015-02-06 | 1 | -0/+2 | |
| | ||||||
* | core.actions: tab_switch uses realpath | Wojciech Siewierski | 2015-02-01 | 1 | -0/+1 | |
| | | | | | This way the different representation of the same path are treated in the same way. | |||||
* | Less invasive default parameter. | The Flying Rapist | 2015-01-30 | 1 | -1/+1 | |
| | ||||||
* | Added tab_switch fm action. | The Flying Rapist | 2015-01-30 | 1 | -0/+42 | |
| | ||||||
* | core.fm: Call default rifle.hook_command_preprocessing | hut | 2015-01-20 | 1 | -1/+2 | |
| | ||||||
* | core.actions: fix linemode validity check | hut | 2015-01-18 | 1 | -2/+4 | |
| | ||||||
* | core.fm: rearranged loading order of tags | hut | 2015-01-18 | 1 | -3/+3 | |
| | | | | | This avoids crashing on startup if there's a bookmarked file that is tagged to a tag which is used in ":default_linemode tag=X ..." | |||||
* | core.metadata: data of files with empty metadata is not stored | Wojciech Siewierski | 2015-01-17 | 1 | -0/+10 | |
| | ||||||
* | core.metadata: added another TODO entry | hut | 2015-01-17 | 1 | -0/+1 | |
| | ||||||
* | core.metadata: add some TODO entries | hut | 2015-01-17 | 1 | -0/+3 | |
| | ||||||
* | core.metadata: delete keys if value is empty | hut | 2015-01-17 | 1 | -0/+5 | |
| | ||||||
* | core.metadata: use DefaultOpenStruct instead of OpenStruct | hut | 2015-01-17 | 1 | -4/+4 | |
| | ||||||
* | core.metadata: use basenames by default | hut | 2015-01-17 | 1 | -2/+4 | |
| | ||||||
* | core.metadata: works well now, at first glance | hut | 2015-01-17 | 1 | -106/+64 | |
| | ||||||
* | core.metadata: added comments for self.meta{file,data}_cache | hut | 2015-01-17 | 1 | -0/+2 | |
| | ||||||
* | started porting core.metadata from csv to json | hut | 2015-01-17 | 1 | -12/+24 | |
| | ||||||
* | adapted commands for MetadataManager | hut | 2015-01-16 | 1 | -2/+2 | |
| | ||||||
* | start turning ext.papermanager to core.metadata | hut | 2015-01-13 | 3 | -6/+170 | |
| | ||||||
* | update email address | hut | 2014-12-11 | 8 | -8/+8 | |
| | ||||||
* | core.fm: move a signal binding to a more sensible spot | hut | 2014-12-09 | 1 | -3/+4 | |
| | ||||||
* | Merge branch 'fix-popen-shell' of https://github.com/amerlyq/ranger | hut | 2014-12-05 | 1 | -0/+4 | |
|\ | ||||||
| * | Fixed runner to use system SHELL env in ':shell' command | Amerlyq | 2014-11-22 | 1 | -0/+4 | |
| | | ||||||
* | | Merge branch 'flat_command' of https://github.com/tex/ranger | hut | 2014-12-05 | 1 | -7/+3 | |
|\ \ | | | | | | | | | | | | | | | | Conflicts: ranger/container/fsobject.py ranger/gui/widgets/browsercolumn.py | |||||
| * | | fixes to flat command | Milan Svoboda | 2014-11-22 | 1 | -7/+3 | |
| |/ | ||||||
* | | core.actions: make the hardcoded linemode check more dynamic | hut | 2014-12-05 | 1 | -2/+3 | |
| | | ||||||
* | | config/commands.py: added :default_linemode command | hut | 2014-12-05 | 1 | -0/+1 | |
| | | ||||||
* | | core.fm: propagate papermanager_deep_search setting | hut | 2014-12-03 | 1 | -0/+3 | |
| | | ||||||
* | | reset papermanager cache when resetting fm | hut | 2014-12-03 | 1 | -0/+2 | |
| | | ||||||
* | | rename "title" linemode to "papertitle" | hut | 2014-12-03 | 1 | -2/+2 | |
| | | ||||||
* | | core.actions: map linemode "normal" to "filemode" | hut | 2014-12-03 | 1 | -4/+8 | |
| | | ||||||
* | | properly redraw | hut | 2014-12-03 | 1 | -0/+4 | |
| | | ||||||
* | | implement a paper manager | hut | 2014-12-03 | 1 | -0/+2 | |
| | | ||||||
* | | implement "permissions" linemode | hut | 2014-12-03 | 1 | -2/+2 | |
| | | ||||||
* | | allow setting a "linemode" for each file/directory | hut | 2014-12-03 | 1 | -0/+36 | |
|/ | ||||||
* | core.actions: Avoid UnicodeDecodeError, fixes #172 | hut | 2014-11-02 | 1 | -1/+2 | |
| | | | | Thanks to cym13 and GermainZ for looking into this | |||||
* | implement flat command | Milan Svoboda | 2014-11-01 | 1 | -3/+7 | |
| | ||||||
* | core.actions: fixed _MacroTemplate.idpattern | hut | 2014-10-26 | 1 | -0/+1 | |
| | | | | | Thanks to trupanka for pointing out the problem at https://github.com/hut/ranger/issues/175 | |||||
* | change the bug tracker URL | hut | 2014-08-22 | 1 | -1/+1 | |
| | ||||||
* | fix crash in sha encode of previews | Nathan Typanski | 2014-06-11 | 1 | -0/+3 | |
| | | | | | | | | | | | | | | | When opening certain filetypes, for which Ranger can't render a preview (they appear as 0 bytes), Ranger will crash on the sha1_encode: Traceback (most recent call last): File "~/ranger/ranger/core/main.py", line 139, in main cacheimg = os.path.join(ranger.CACHEDIR, self.sha1_encode(path)) File "~/ranger/ranger/core/actions.py", line 821, in sha1_encode sha1(path.encode('utf-8')).hexdigest()) + '.jpg' AttributeError: 'NoneType' object has no attribute 'encode' This solves that by checking at the beginning of get_preview() that `file.realpath` is not None, and returning early if it is None. |