Commit Graph

237 Commits

Author SHA1 Message Date
b66e12cc9e
LIB: fix documentation in throwDestinationInSource 2016-04-03 16:56:42 +02:00
ba4fbc200c
LIB: fix throwDestinationInSource
We now examine device+file IDs, so this check works reliably
with mountpoints too.
2016-04-03 16:20:58 +02:00
2777d2d2e8
LIB: fix bug in copyDir 2016-04-03 14:37:01 +02:00
9b03b36f2f
LIB: add throwCantOpenDirectory calls to file operations 2016-04-03 14:36:56 +02:00
8c95aa312a
LIB: fix bug in throwDestinationInSource
We should only run canoncializePath on dirname, otherwise
realPath will likely fail.
2016-04-03 14:33:39 +02:00
d8fc529bf1
LIB: add canOpenDirectory and throwCantOpenDirectory 2016-04-03 14:32:10 +02:00
b6342068f2
GTK: cleanup refreshView a bit
This moves some of the parsing logic where it belong, into Gtk.hs
and fixes the type to be proper 'Path Abs'.
2016-04-03 04:13:08 +02:00
0781fc690d
LIB/GTK: improve documentation 2016-04-03 03:57:35 +02:00
4e75a84439
LIB: remove more occurences of FilePath 2016-04-03 03:57:11 +02:00
4da3c92e5e
LIB/GTK: cleanup compiler warnings 2016-03-31 16:19:31 +02:00
65595fa9c5
LIB/GTK: refactor HSFM.FileSystem.Error to use Path type 2016-03-31 15:49:35 +02:00
51abfb1dce
GTK: fix spelling 2016-03-31 02:44:44 +02:00
2d447a05da
GTK: improve error handling in refreshView'
This could theoretically lead to infinite recursion, but only
in case "/" is inaccessible or something. In which case the user
has really bigger problems.
2016-03-31 02:44:10 +02:00
91b2dc9e4b
LIB: improve documentation in readWith 2016-03-31 02:29:32 +02:00
a2e6ced69a
GTK: improve error handling on invalid paths
Fixes #28
2016-03-31 02:29:16 +02:00
dd013b7d7b
Fix Copyright 2016-03-31 00:28:23 +02:00
5e232e3d4a
LIB/GTK: use fullPathS 2016-03-31 00:25:03 +02:00
74a48b2668
Restructure module layout 2016-03-30 20:16:34 +02:00
efd2535ef9
LIB: cleanup ViewPatterns/PatternSynonyms 2016-03-30 19:38:06 +02:00
4b68bf759b
LIB: cleanup 2016-03-30 19:18:14 +02:00
5b1c595703
LIB: move maybeD to MyPrelude 2016-03-30 19:16:33 +02:00
f301e2e519
LIB/GTK: use our hpath lib for path type 2016-03-30 02:50:32 +02:00
09d8910eae
GTK: try to fix icon crap
Not sure if this is right, though.
2016-03-30 02:47:05 +02:00
74b83fe2e8
DOCS: add new screenshot 2015-12-30 18:15:19 +01:00
ee676d0a83
GTK: fix callbacks for IconView 2015-12-30 18:01:36 +01:00
b266b78e14
GTK: add IconView and refactor the modules 2015-12-30 17:53:16 +01:00
2bc406f65e
LIB: fix file type indicators
It seems that PF.regularFileMode matches across symlinks and sockets
too, so we just examine the constructors instead.

Fixes #25
2015-12-30 02:32:48 +01:00
048bf8a328
LIB: don't do anything for FileLike (CharDev etc) yet 2015-12-30 02:16:39 +01:00
ed32961155
GTK: add rubberbanding 2015-12-30 02:16:21 +01:00
c6efdedf2d
GTK: fix relative dirs to work outside of project basedir
Fixes #23
2015-12-29 00:48:54 +01:00
ccc2f6f331
GTK: clear the Statusbar before pushing to it
Since we only show the most recent operationBuffer we only want
one item on the stack.
2015-12-28 03:20:29 +01:00
c28eb1976a
GTK: re-throw non-catched errors in withCopyModeDialog 2015-12-28 03:18:22 +01:00
1738375432
DOCS: add screenshot to README.md 2015-12-28 03:13:54 +01:00
e44997cd9d
LIB/GTK: generalize DirCopyMode to CopyMode and improve user confirmation 2015-12-28 03:04:02 +01:00
eae68cc0ea
GTK: make the statusBar show the operation buffer 2015-12-28 02:02:06 +01:00
36768519a3
LIB: formatting, add TODO 2015-12-28 01:49:18 +01:00
ec6aa8fab1
LIB: fix copyFile' 2015-12-28 01:48:53 +01:00
8ffbd44ce4
LIB: preserve permissions in copyDir 2015-12-27 20:39:40 +01:00
f2fb4e0be0
LIB: improve safety by ignoring invalid file names for file operations 2015-12-27 20:17:14 +01:00
9445574097
LIB: improve documentation on pattern synonyms 2015-12-27 20:03:38 +01:00
a81ef6a38c
LIB: make deleteDirRecursive a little bit more safer 2015-12-27 20:00:28 +01:00
5d44243689
LIB: remove obsolete bifunctor stuff 2015-12-27 19:50:24 +01:00
6651fbcbce
LIB: fix packModTime error 2015-12-27 19:50:09 +01:00
7986ce0d4e
GTK: fix row activation callback 2015-12-27 19:27:13 +01:00
54af33f3a7
LIB/GTK: remove the rest of the directory package 2015-12-27 19:26:58 +01:00
aba62f03f2
GTK: implement selecting multiple rows (and operations on them)
Not all operations yet support it and will throw an InvalidOperation
error in that case.
2015-12-27 18:17:33 +01:00
c454fb0b9e
Add liquidhaskell files to .gitignore 2015-12-27 16:25:45 +01:00
5afc25d2d1
LIB: improve error handling
* close all directory streams in case of IOErrors
* raise error on invalid input types in File operations
* properly catch eXDEV in moveFile instead of all errors
2015-12-27 16:25:24 +01:00
27673b0751
LIB: make moveFile portable 2015-12-26 23:21:02 +01:00
35e6f5df82
GTK: validate arguments to main program 2015-12-26 22:48:20 +01:00