Commit Graph

209 Commits

Author SHA1 Message Date
Julian Ospald a452b44cfe
Blub 2016-04-26 12:23:47 +02:00
Julian Ospald 8bcdb84efd
LIB: add mkdirP 2016-04-26 01:45:24 +02:00
Julian Ospald 746daf9ba6
LIB: first try of bookmarks 2016-04-25 02:08:44 +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 9420af15a1
README: update image 2016-04-24 18:48:13 +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
hasufell 44fc047223 Minor addition in HACKING.md 2016-04-21 02:50:10 +02:00
hasufell 8348f34a4a Improve HACKING.md 2016-04-21 02:45:23 +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 39bc0cba24
GTK: tweak GUI appearance 2016-04-20 16:33:39 +02:00
Julian Ospald 07c5fa2d62
GTK: fix imports 2016-04-20 16:33:18 +02:00
Julian Ospald 5c57551438
GTK: restructure Callbacks.hs to make it more readable 2016-04-20 01:25:40 +02:00
Julian Ospald 3c6aca04b4
GTK: fix history when clicking on HOME button 2016-04-20 00:48:34 +02:00
Julian Ospald 9d572c8a6e
GTK: remove obsolete void usage 2016-04-20 00:39:53 +02:00
Julian Ospald 680a75f5be
GTK: implement rudimentary history support wrt #21
5 items back and forth only. Implemented via a simple
TVar ([], []). Might be improved in the future.
2016-04-20 00:38:22 +02:00
Julian Ospald 4b0e3ba89a
Add symbolic link to hacking/HACKING.md 2016-04-19 21:17:17 +02:00
Julian Ospald 02f04d92f3
Fix missing whitespace in hsimport.hs prettyPrint String 2016-04-19 21:05:52 +02:00
Julian Ospald a61b409486
GTK: implement fileinfo dialog wrt #32 2016-04-19 21:05:29 +02:00
Julian Ospald a7ba20ae00
README: fix installation instructions 2016-04-18 01:59:46 +02:00
Julian Ospald 9b43814846
GTK: clear move buffer after move
Doesn't make sense to keep it since the buffer
will probably point to a non-existing file afterwards.
2016-04-18 01:02:18 +02:00
Julian Ospald 8b8c9a669f
GTK: implement file drag and drop
Still doesn't work on multiple rows.

Also see #14
2016-04-18 00:51:45 +02:00
Julian Ospald 7f538f4fae
Update hpath submodule 2016-04-18 00:28:10 +02:00
Julian Ospald 1d2bf37a44
GTK: implement creating new directories
And moving it with creating new files to a submenuitem.
2016-04-17 03:12:34 +02:00
Julian Ospald 2e16e0ae48
HACKING: add note about absolute paths 2016-04-17 01:44:53 +02:00
Julian Ospald 260e7ea01c
HACKING: fix newlines in hsimport.hs 2016-04-17 01:41:36 +02:00
Julian Ospald a98bdf972d
HACKING: fix links for real 2016-04-17 01:37:29 +02:00
Julian Ospald 454f64d410
HACKING: fix links 2016-04-17 01:34:49 +02:00
Julian Ospald 69e417cf19
HACKING: improve documentation 2016-04-17 01:31:13 +02:00
Julian Ospald b02d2c0d5c
README: update image 2016-04-17 01:12:58 +02:00
Julian Ospald e98fb577ed
GTK: implement home and up buttons wrt #40 2016-04-17 01:01:04 +02:00
Julian Ospald c0bd5f3c37
HACKING: rm default comments 2016-04-17 00:25:47 +02:00
Julian Ospald c0ef142c41
Check in hsimport.hs and create hacking subdir 2016-04-17 00:24:59 +02:00
Julian Ospald e2c83b3c31
LIB/GTK: remove obsolete fullPath/fullPathS and refactor for prettiness 2016-04-16 21:50:15 +02:00
Julian Ospald 593a59787f
LIB: use posix-path traversal functions for getDirsFiles
This should also speed up reading.
2016-04-16 19:39:03 +02:00
Julian Ospald 339cfe1e0b
Update hpath module 2016-04-16 19:24:47 +02:00
Julian Ospald bd707fc193
LIB: fix readFile, rm obsolete comment 2016-04-16 19:24:36 +02:00
Julian Ospald 0fca64594d
LIB/GTK: use more recent library versions 2016-04-16 19:14:08 +02:00
Julian Ospald bb6c1b3cda
LIB/GTK: refactor File base type
We have now ditched AnchoredFile and just use File with Path Abs
in the path field.

This is useful since we now:
* don't allow "." or ".." as filenames anymore
* normalise paths in our path parsers and reject paths with ".."

This also allows us to know that filepaths are always valid. In addition
the 'basename' function from hpath may throw an exception if run
on the root dir "/". This exception is basically uncatched currently,
which is fine, because it's not a selectable directory.
2016-04-15 14:23:41 +02:00
Julian Ospald 3d15a66350
LIB: don't use show on String 2016-04-11 02:24:23 +02:00
Julian Ospald 2ae574688b
LIB: fix spelling error 2016-04-11 02:05:58 +02:00
Julian Ospald c2f3da6180
LIB/GTK: improve exceptions/error handling 2016-04-11 01:59:18 +02:00
Julian Ospald 3f303b4cd4
LIB: minor cleanup 2016-04-10 22:04:07 +02:00
Julian Ospald b7ee2ccd3d
LIB: move 'hiddenFile' to hpath package 2016-04-10 22:03:30 +02:00
Julian Ospald bddf29671a
LIB: improve documentation 2016-04-10 19:25:22 +02:00
Julian Ospald 59d4051d84
LIB: small cleanup, rm obsolete functions, fix some TODOs 2016-04-10 19:16:06 +02:00