Commit Graph

81 Commits

Author SHA1 Message Date
Julian Ospald 3cd7a246ab
Fix build with latest hpath library
This also touches some exception handling code, be careful.
2018-05-17 11:42:36 +02:00
Julian Ospald 6ff620d4ae Fix some compiler warnings
The Plugin module is supposed to be extendable so
there will be unused imports on purpose.
2018-02-06 00:59:50 +01:00
Julian Ospald 93369900f8
Update for GHC-8.2.2 2017-12-13 23:33:34 +01:00
Julian Ospald e2bf4d5f03
GTK: have two panels, fixes #52 2016-11-06 01:33:03 +01:00
Julian Ospald df0b5e3e16
LIB/GTK: cleanup 2016-06-12 23:40:55 +02:00
Julian Ospald 369278e734
GTK: cosmetics, docs 2016-06-08 21:39:55 +02:00
Julian Ospald e3a840b051
GTK: refactor plugins to allow filtering the items 2016-06-08 21:36:36 +02:00
Julian Ospald 841757857a
GTK: rename diffPlugin to diffItem 2016-06-08 18:37:01 +02:00
Julian Ospald a9238ab3d1
GTK: first take on Plugins system 2016-06-08 18:23:20 +02:00
Julian Ospald eb99c6fc43
Small internal doc fix 2016-06-07 20:08:20 +02:00
Julian Ospald 89710d9d1a
Add Settings modules wrt #22 2016-06-07 20:07:16 +02:00
Julian Ospald 64fb9fbea0
Use new hpath API 2016-06-05 17:58:50 +02:00
Julian Ospald 8ec925aa8f
GTK: improve sections 2016-06-04 19:09:56 +02:00
Julian Ospald 48b0b7b1d8
GTK: overhaul history feature
Allowing righ-click menu.
2016-06-04 18:58:33 +02:00
Julian Ospald 05a62cb382
GTK: use new History module 2016-06-04 17:28:15 +02:00
Julian Ospald 7998ea33de
GTK: fix umlaut in error dialogs 2016-06-03 23:54:39 +02:00
Julian Ospald 1fec2983bd
GTK: fix closing tabs via [Control]+w when tab was switched 2016-06-03 22:34:49 +02:00
Julian Ospald e4bb5104e8
GTK: fix opening non-readable directory as tab 2016-06-03 14:46:23 +02:00
Julian Ospald 3e4621fe70
GTK: add "New -> Terminal" to right-click menu 2016-06-03 14:42:28 +02:00
Julian Ospald 077ac81227
GTK: improve tab opening
When multiple folders are selected, a regular 'open' will
open new tabs for each of them without changing the current view.
2016-06-03 14:25:17 +02:00
Julian Ospald e72bff4180
GTK: fix switchView 2016-06-03 14:06:18 +02:00
Julian Ospald e310879d61
GTK: add newTab{,Here} buttons and allow closing tabs via middle-click
This also fixes behavior of destroyView.
2016-06-03 13:44:59 +02:00
Julian Ospald d460b4ce11
LIB: simplify error handling in FileType
We don't have a Failed constructor anymore.
2016-06-02 13:44:47 +02:00
Julian Ospald 244a58d8c2
GTK: refactor refreshView a bit 2016-06-01 23:58:34 +02:00
Julian Ospald 89b231a2c9
GTK: fix various glitches when opening tabs 2016-06-01 23:24:00 +02:00
Julian Ospald d14caf5269
GTK: don't allow new-tab middle-click on non-directories 2016-06-01 22:26:32 +02:00
Julian Ospald 9549b40745
GTK: implement newTab on middle-click 2016-06-01 22:02:18 +02:00
Julian Ospald 01c241a01e
GTK: remove tab label side-effect from refreshView'
This would cause bugs when newtab on middle-click is implemented,
since creating a new tab creates also a new view, but doesn't
change the current tab to that view. refreshView' would then
update that view with the information from the wrong tab.
2016-06-01 22:00:37 +02:00
Julian Ospald 5aef692b4f
Fix build 2016-05-29 13:26:21 +02:00
Julian Ospald 274aabe1f3
GTK: make tabs reorderable and scrollable 2016-05-10 02:16:03 +02:00
Julian Ospald 8739ccc55f
Adjust to hpath-0.6.0 2016-05-10 02:05:05 +02:00
Julian Ospald 41e2ae6131
Adjust to new HPath API 2016-05-09 16:37:02 +02:00
Julian Ospald 5fc77f6b24
Move to new HPath API 2016-05-09 14:41:57 +02:00
Julian Ospald dc457eb168
LIB/GTK: use throwIO instead of throw 2016-05-09 11:34:02 +02:00
Julian Ospald 173c4cbddd
GTK: minor cleanup 2016-05-09 00:52:22 +02:00
Julian Ospald a25f92e4ec
GTK: pre-set input field when renaming files 2016-05-09 00:45:47 +02:00
Julian Ospald 8646a6338c
LIB/GTK: simplify error handling, add 'reactOnError' 2016-05-08 23:06:40 +02:00
Julian Ospald db16dcbb5d
GTK: fix renameF callback 2016-05-08 20:14:39 +02:00
Julian Ospald 3af8b36940
GTK: adjust to new LIB API and refactor file error handling
This restructures large parts of the GUI-wise error handling code
and makes it more fine-grained, so the user can react appropriately
to exceptions.
2016-05-08 20:14:30 +02:00
Julian Ospald 526db2cbb7
GTK: fix opening symlinks that point to directories 2016-05-02 22:13:33 +02:00
Julian Ospald c5afe976cf
GTK: adjust to new APIs, CopyMode functionality is broken for now! 2016-05-02 19:14:41 +02:00
Julian Ospald 251a20e881
GTK: minor fixes 2016-04-24 20:01:22 +02:00
Julian Ospald c29693fbd0
GTK: allow to open terminal at current directory
TODO: terminal needs to be configurable
2016-04-24 20:00:34 +02:00
Julian Ospald 3008e4463b
GTK: implement tabs wrt #45
This also restructures the meaning of MyGUI and MyView.
They are now more strictly a hierarchy and everything that may
be specific to a view (like urlBar) has been moved into the MyView
context.

In addition, this also fixes #42
2016-04-24 18:38:47 +02:00
Julian Ospald a4c8995299
GTK: formatting and comments 2016-04-20 17:59:55 +02:00
Julian Ospald 0ff24002e5
GTK: avoid subsequent duplicate entries in history 2016-04-20 17:27:47 +02:00
Julian Ospald 7608d838aa
GTK: improve history navigation
* increase maximum numbers of items in the history
* empty the "forward" history if we enter a directory
  via normal navigation
2016-04-20 17:20:04 +02:00
Julian Ospald d432c2146b
GTK: improve file property dialog
Adds the following fields:
* file type
* permissions
* link destination of symlink (if applicable)
2016-04-20 17:16:58 +02:00
Julian Ospald 064d5a1032
LIB/GTK: use strict data types where possible 2016-04-20 16:34:26 +02:00
Julian Ospald 07c5fa2d62
GTK: fix imports 2016-04-20 16:33:18 +02:00