summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* 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
* ext.rifle: silenced output of forked programshut2012-08-091-2/+7
|
* ext.rifle: flags now work with commands with pipes, semicolons etchut2012-08-092-7/+21
| | | | | | | | rough explanation: before, the "t" flag would run the program in a terminal by prepending something like "xterm -e " to the command. If the command is "ls | less", it would result in "xterm -e ls | less". This commit changes it so the result looks more like "xterm -e sh -c 'ls | less'" and works as intended.
* ext.rifle: fix "flag r" in rifle.confhut2012-08-081-0/+1
|
* widgets.browsercolumn: Fixed segmentation fault due to 93601b17hut2012-08-081-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://github.com/hut/ranger/issues/45 hut: I've been experiencing irregular segfaults in ranger-master for which I can't figure out the reasons. Here is all the info I got: - It started around the time of commit 5417dda - I think it is a problem with curses' addstr/addnstr function - It happens randomly, there is no specific action that causes it - It happens more often with python3 than with python2 - It's most likely somewhere in here: git diff master 5417dda5^ ranger/gui/widgets/browsercolumn.py - but I don't see anything wrong. hut: I nailed it down to 93601b1 and fixed it. For what it's worth, this is how to reproduce it: (tested with rxvt-unicode 9.15 and dwm but may work with any other tiling window manager): - Ensure that the setting display_tags_in_all_columns is set to True (this is the default) - Tag a file or directory with the "t" key - Navigate so that this tagged file is the LAST file you see of a column other the main column - Open a new window (resulting in rangers window getting smaller by at least one row) - Close a window (resulting in rangers window growing back to the original size) - Watch rangers brain being splattered all over the sand If you don't use a tiling window manager, you can do steps 1-3 and then resize rangers window very quickly. When resizing ranger manually, one of these messages is printed instead of "Segmentation Fault": - *** glibc detected *** python2.7: corrupted double-linked list: 0x0949cc98 *** - python2.7: malloc.c:3964: _int_free: Assertion `nextchunk->fd_nextsize->bk_nextsize == nextchunk' failed.
* core.tab: fixed restoring pointer on tab changehut2012-08-072-3/+5
|
* config/rifle.conf: Fix handling of mkv fileshut2012-08-071-0/+13
| | | | | | | | | https://github.com/hut/ranger/issues/44#issuecomment-7558251 adam8157: have 10 mkv files, four of them are "application/octet-stream"(and file without options returns "EBML file, creator matroska"), others are "video/x-matroska".
* widgets.taskview: show progressbar only if task supports ithut2012-08-072-5/+9
|
* widgets.taskview: added progressbars for dir loading taskshut2012-08-075-2/+14
|
* examples/rifle_sxiv.sh: fix symlink handlinghut2012-08-071-1/+1
| | | | | Previously, this would not work if the current working directory is a symlink.
* core.tab: fix weakref bug with python2 that breaks fm.thisfilehut2012-08-071-2/+7
| | | | | | in python2, weak references are not equal to the original object when tested with "==", and this breaks Tab._set_thisfile_from_signal and Tab._on_tab_change in python2 if weak=True is used in signal bindings
* ext.rifle: notify about unknown filetype in rifle when command==askhut2012-08-061-1/+6
|
* ext.rifle: strip newline off mimetypehut2012-08-061-1/+1
|
* ext.rifle: implemented asking on unknown filetype (in ranger only)hut2012-08-063-2/+9
| | | | | | | | | | | | this was requested here: https://github.com/hut/ranger/issues/36 adam8157: Why non-text files' default opener is editor now? It invoked open_with before. I think the old way is better. We can't describe all types in rifle.conf, so many types are defined as unknown non-text types, it's not appropriate to open them all with editor.
* added the examples from the man page to the examples directoryhut2012-08-065-4/+46
| | | | | I guess a whole directory for examples scales better than having them in the man page.
* widgets.titlebar: fixed crash on ':set dirname_in_tabs True'hut2012-08-061-1/+1
|
* core.fm: fixed passing directory argumentshut2012-08-063-8/+16
|
* core.actions: some cleaninghut2012-08-061-5/+1
|
* core.actions: get _get_macros to work with new tab systemhut2012-08-061-22/+24
|
* config.commands: fixed bug in :delete and :findhut2012-08-051-2/+2
| | | | | I accidently wrote 'fm.thisfile.cf' which had to be changed to 'fm.thisfile'
* config/rifle.conf: fixed .ogg fileshut2012-08-051-3/+3
|
* config/rifle.conf: stricter settings for scriptshut2012-08-051-6/+6
|
* core.actions: fix tab-history bugs, inherit history from prev. tabhut2012-08-053-2/+19
|
* core.actions: Added {old,new} arguments to 'tba.change' signalhut2012-08-052-3/+6
|
* add keybinding 'uq' to restore a closed tabhut2012-08-054-0/+20
| | | | | This is added to compensate for the fact that the history is not shared anymore and you can't simply type gnHH to restore a closed tab.
* core.tab: save and restore pointer when changing tabhut2012-08-051-0/+10
|
* core.tab: pass the tab as argument in the move-signalhut2012-08-051-2/+2
|
* core.actions: updated tab_open to work with new Tab classhut2012-08-052-5/+14
|
* Replaced core.environment with core.tabhut2012-08-0515-291/+369
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Environment class was weird to begin with. It had attributes and methods that belonged to other classes. For example, keybinding management (the attributes keybuffer and keymaps) should go to gui.ui, directory management (garbage_collect, get_directory) should be in core.fm whereas entering directories (enter_dir) and managing history (history_go) should be the task of a separate Tab class. This commit fixes it, all references to env should be only for backwards compatibility now. I still need to rewrite the tabbing API in core.actions to work with the new system. Every tab that is opened will have its own Tab instance with its own history and pointer. Tab, unlike Environment, is no SignalDispatcher - Environment's signals were moved to fm. BEFORE: fm.env.cf AFTER : fm.thisfile BEFORE: fm.env.cwd AFTER : fm.thisdir BEFORE: fm.env.signal_bind("move", ...) # same for the "cd" signal AFTER : fm.signal_bind("move", ...) BEFORE: fm.env.keybuffer # same for fm.env.keymaps AFTER : fm.ui.keybuffer BEFORE: fm.env.get_directory("/usr/lib") # same for half of the env methods AFTER : fm.get_directory("/usr/lib") BEFORE: fm.env.get_selection() # same for the other half of the env methods AFTER : fm.thistab.get_selection() Old configurations and hacks should still work because I added a compatibility layer for the Environment class which translates all getters and setters to the respective call of the new class. What will NOT work are the Environment signals, please bind them to fm instead.
* moved fm.env.get_directory() to fm.get_directory()hut2012-08-056-20/+24
|
* moved env.garbage_collect to fm.garbage_collecthut2012-08-052-18/+21
|
* core.environment: cleanuphut2012-08-051-8/+4
|
* core.environment: removed unused attribute 'cmd'hut2012-08-051-1/+0
|
* moved fm.env.{username,hostname,home_path} to fm.*hut2012-08-055-18/+29
|
* core.environment: added a layer for backwards compatibilityhut2012-08-051-1/+20
|
* move fm.env.{keymaps,keybuffer} to fm.ui.{keymaps,keybuffer}hut2012-08-0511-26/+29
|
* move fm.env.{copy,cut} to fm.{copy_buffer,do_cut}hut2012-08-055-24/+23
|
* core.environment: s/fm.env.directories/fm.directorieshut2012-08-052-10/+9
|
* core.environment: s/fm.env.termsize/fm.ui.termsizehut2012-08-054-6/+6
|
* core.actions: More reliable mimetype checking @ execute_filehut2012-08-051-3/+2
| | | | | | | | | | | | | | | | | | | | | | | This is a result of https://github.com/hut/ranger/issues/43 : adam8157: Hmm... I found this behavior is different between running in Debian Sid and Fedora 17. Their python version are both 2.7.3, but when you touch a file named foo.sh, and press "r", ranger in Fedora 17 displays bash as the first opener, then editor and pager, but ranger in Debian Sid displays editor first, then pager and bash. [...] hut: Ok, with your help I found it. Actions.execute_file and Actions.draw_possible_programs optimize the process by skipping the call to file --mimetype -Lb and using the mime type that the python mimetypes library found. The two methods return different mimetypes sometimes. Since file is more reliable than the python mimetypes library, I'll change it to use file always.
* core.fm: moved attributes of core.action to core.fm for clarityhut2012-08-052-7/+8
|
* core.environment: removed unused functionshut2012-08-051-14/+0
|
* added scripts directory. rifle is now installed to /usr/bin/hut2012-08-044-2/+3
|
* Revert e4f37e51 for backwards compatibilityhut2012-08-041-1/+1
| | | | This reverts commit e4f37e51e91cc45b7660e3572a275c8dae6dbec9.
* doc/ranger.1: rebuilt man pagehut2012-08-021-5/+5
|
* core.helper: moved functions to ranger and ranger.core.mainhut2012-08-024-177/+172
|
* core.fm: stick to line length limithut2012-08-021-2/+4
|
* widgets.browsercolumn: Fix disappearance of infostringhut2012-08-021-1/+1
|
* widgets.browsercolumn: fixed not drawing of unicode surrogateshut2012-08-021-2/+1
|
* setup.py: s/defaults/config/hut2012-08-021-3/+3
|