Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ext.rifle: notify about unknown filetype in rifle when command==ask | hut | 2012-08-06 | 1 | -1/+6 |
| | |||||
* | ext.rifle: strip newline off mimetype | hut | 2012-08-06 | 1 | -1/+1 |
| | |||||
* | ext.rifle: implemented asking on unknown filetype (in ranger only) | hut | 2012-08-06 | 3 | -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. | ||||
* | widgets.titlebar: fixed crash on ':set dirname_in_tabs True' | hut | 2012-08-06 | 1 | -1/+1 |
| | |||||
* | core.fm: fixed passing directory arguments | hut | 2012-08-06 | 3 | -8/+16 |
| | |||||
* | core.actions: some cleaning | hut | 2012-08-06 | 1 | -5/+1 |
| | |||||
* | core.actions: get _get_macros to work with new tab system | hut | 2012-08-06 | 1 | -22/+24 |
| | |||||
* | config.commands: fixed bug in :delete and :find | hut | 2012-08-05 | 1 | -2/+2 |
| | | | | | I accidently wrote 'fm.thisfile.cf' which had to be changed to 'fm.thisfile' | ||||
* | config/rifle.conf: fixed .ogg files | hut | 2012-08-05 | 1 | -3/+3 |
| | |||||
* | config/rifle.conf: stricter settings for scripts | hut | 2012-08-05 | 1 | -6/+6 |
| | |||||
* | core.actions: fix tab-history bugs, inherit history from prev. tab | hut | 2012-08-05 | 3 | -2/+19 |
| | |||||
* | core.actions: Added {old,new} arguments to 'tba.change' signal | hut | 2012-08-05 | 2 | -3/+6 |
| | |||||
* | add keybinding 'uq' to restore a closed tab | hut | 2012-08-05 | 4 | -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 tab | hut | 2012-08-05 | 1 | -0/+10 |
| | |||||
* | core.tab: pass the tab as argument in the move-signal | hut | 2012-08-05 | 1 | -2/+2 |
| | |||||
* | core.actions: updated tab_open to work with new Tab class | hut | 2012-08-05 | 2 | -5/+14 |
| | |||||
* | Replaced core.environment with core.tab | hut | 2012-08-05 | 15 | -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() | hut | 2012-08-05 | 6 | -20/+24 |
| | |||||
* | moved env.garbage_collect to fm.garbage_collect | hut | 2012-08-05 | 2 | -18/+21 |
| | |||||
* | core.environment: cleanup | hut | 2012-08-05 | 1 | -8/+4 |
| | |||||
* | core.environment: removed unused attribute 'cmd' | hut | 2012-08-05 | 1 | -1/+0 |
| | |||||
* | moved fm.env.{username,hostname,home_path} to fm.* | hut | 2012-08-05 | 5 | -18/+29 |
| | |||||
* | core.environment: added a layer for backwards compatibility | hut | 2012-08-05 | 1 | -1/+20 |
| | |||||
* | move fm.env.{keymaps,keybuffer} to fm.ui.{keymaps,keybuffer} | hut | 2012-08-05 | 11 | -26/+29 |
| | |||||
* | move fm.env.{copy,cut} to fm.{copy_buffer,do_cut} | hut | 2012-08-05 | 5 | -24/+23 |
| | |||||
* | core.environment: s/fm.env.directories/fm.directories | hut | 2012-08-05 | 2 | -10/+9 |
| | |||||
* | core.environment: s/fm.env.termsize/fm.ui.termsize | hut | 2012-08-05 | 4 | -6/+6 |
| | |||||
* | core.actions: More reliable mimetype checking @ execute_file | hut | 2012-08-05 | 1 | -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 clarity | hut | 2012-08-05 | 2 | -7/+8 |
| | |||||
* | core.environment: removed unused functions | hut | 2012-08-05 | 1 | -14/+0 |
| | |||||
* | added scripts directory. rifle is now installed to /usr/bin/ | hut | 2012-08-04 | 1 | -1/+0 |
| | |||||
* | Revert e4f37e51 for backwards compatibility | hut | 2012-08-04 | 1 | -1/+1 |
| | | | | This reverts commit e4f37e51e91cc45b7660e3572a275c8dae6dbec9. | ||||
* | core.helper: moved functions to ranger and ranger.core.main | hut | 2012-08-02 | 4 | -177/+172 |
| | |||||
* | core.fm: stick to line length limit | hut | 2012-08-02 | 1 | -2/+4 |
| | |||||
* | widgets.browsercolumn: Fix disappearance of infostring | hut | 2012-08-02 | 1 | -1/+1 |
| | |||||
* | widgets.browsercolumn: fixed not drawing of unicode surrogates | hut | 2012-08-02 | 1 | -2/+1 |
| | |||||
* | container.settingobject: fixed type of hidden_filter | hut | 2012-08-02 | 1 | -1/+1 |
| | |||||
* | renamed ranger/defaults to ranger/config | hut | 2012-08-02 | 10 | -11/+11 |
| | |||||
* | defaults/rc.conf: simplify the chmod bindings | hut | 2012-08-02 | 1 | -7/+12 |
| | |||||
* | api.options is now obsolete (but kept for compatibility) | hut | 2012-08-02 | 2 | -2/+1 |
| | |||||
* | defaults.options: type of hidden_filter changed from regexp to string | hut | 2012-08-02 | 2 | -4/+13 |
| | |||||
* | ext.rifle: fixed imports when using rifle standalone | hut | 2012-07-05 | 1 | -4/+4 |
| | |||||
* | defaults/rifle.conf: added missing comma | hut | 2012-07-05 | 1 | -1/+1 |
| | |||||
* | Revert "gui.curses_shortcuts: partially reverted 0bb7e10b, it seems pointless" | hut | 2012-06-28 | 1 | -8/+10 |
| | | | | | | | | | The point of that commit was to not redraw stuff when using addstr("foo") and it raises an exception. Because You don't know where drawing started and you end up writing "foo" twice - the second foo starts at the place where the first one failed. This reverts commit 5aac03b4b405d30c973fb9d853ee2caffeac7013. | ||||
* | Revert "colorschemes.default: draw "documents" in green" | hut | 2012-06-23 | 1 | -2/+0 |
| | | | | | | | This reverts commit a222f3149d625a41b1596140e8c13c98973331d8. This change was objected because most files in unix are text files and it makes little sense to highlight them. | ||||
* | ext.rifle: make matching function "ext" case insensitive | hut | 2012-06-23 | 1 | -1/+1 |
| | |||||
* | fsobject.fsobject: sort DOCUMENT_{EXTENSIONS,BASENAMES} | hut | 2012-06-20 | 1 | -5/+5 |
| | |||||
* | fsobject.fsobject: added .ps to the extension of documents | hut | 2012-06-20 | 1 | -1/+1 |
| | |||||
* | core.helper: more useful --version output | hut | 2012-06-16 | 2 | -4/+3 |
| | |||||
* | STABLE = False; this shouldve been done right after last release | hut | 2012-06-16 | 1 | -1/+1 |
| |