Julian Ospald
74a48b2668
Restructure module layout
2016-03-30 20:16:34 +02:00
Julian Ospald
efd2535ef9
LIB: cleanup ViewPatterns/PatternSynonyms
2016-03-30 19:38:06 +02:00
Julian Ospald
4b68bf759b
LIB: cleanup
2016-03-30 19:18:14 +02:00
Julian Ospald
5b1c595703
LIB: move maybeD to MyPrelude
2016-03-30 19:16:33 +02:00
Julian Ospald
f301e2e519
LIB/GTK: use our hpath lib for path type
2016-03-30 02:50:32 +02:00
Julian Ospald
09d8910eae
GTK: try to fix icon crap
...
Not sure if this is right, though.
2016-03-30 02:47:05 +02:00
Julian Ospald
74b83fe2e8
DOCS: add new screenshot
2015-12-30 18:15:19 +01:00
Julian Ospald
ee676d0a83
GTK: fix callbacks for IconView
2015-12-30 18:01:36 +01:00
Julian Ospald
b266b78e14
GTK: add IconView and refactor the modules
2015-12-30 17:53:16 +01:00
Julian Ospald
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
Julian Ospald
048bf8a328
LIB: don't do anything for FileLike (CharDev etc) yet
2015-12-30 02:16:39 +01:00
Julian Ospald
ed32961155
GTK: add rubberbanding
2015-12-30 02:16:21 +01:00
Julian Ospald
c6efdedf2d
GTK: fix relative dirs to work outside of project basedir
...
Fixes #23
2015-12-29 00:48:54 +01:00
Julian Ospald
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
Julian Ospald
c28eb1976a
GTK: re-throw non-catched errors in withCopyModeDialog
2015-12-28 03:18:22 +01:00
Julian Ospald
1738375432
DOCS: add screenshot to README.md
2015-12-28 03:13:54 +01:00
Julian Ospald
e44997cd9d
LIB/GTK: generalize DirCopyMode to CopyMode and improve user confirmation
2015-12-28 03:04:02 +01:00
Julian Ospald
eae68cc0ea
GTK: make the statusBar show the operation buffer
2015-12-28 02:02:06 +01:00
Julian Ospald
36768519a3
LIB: formatting, add TODO
2015-12-28 01:49:18 +01:00
Julian Ospald
ec6aa8fab1
LIB: fix copyFile'
2015-12-28 01:48:53 +01:00
Julian Ospald
8ffbd44ce4
LIB: preserve permissions in copyDir
2015-12-27 20:39:40 +01:00
Julian Ospald
f2fb4e0be0
LIB: improve safety by ignoring invalid file names for file operations
2015-12-27 20:17:14 +01:00
Julian Ospald
9445574097
LIB: improve documentation on pattern synonyms
2015-12-27 20:03:38 +01:00
Julian Ospald
a81ef6a38c
LIB: make deleteDirRecursive a little bit more safer
2015-12-27 20:00:28 +01:00
Julian Ospald
5d44243689
LIB: remove obsolete bifunctor stuff
2015-12-27 19:50:24 +01:00
Julian Ospald
6651fbcbce
LIB: fix packModTime error
2015-12-27 19:50:09 +01:00
Julian Ospald
7986ce0d4e
GTK: fix row activation callback
2015-12-27 19:27:13 +01:00
Julian Ospald
54af33f3a7
LIB/GTK: remove the rest of the directory package
2015-12-27 19:26:58 +01:00
Julian Ospald
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
Julian Ospald
c454fb0b9e
Add liquidhaskell files to .gitignore
2015-12-27 16:25:45 +01:00
Julian Ospald
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
Julian Ospald
27673b0751
LIB: make moveFile portable
2015-12-26 23:21:02 +01:00
Julian Ospald
35e6f5df82
GTK: validate arguments to main program
2015-12-26 22:48:20 +01:00
Julian Ospald
400a0242d6
LIB/GTK: refactor ViewPatterns/PatternSynonyms
2015-12-26 22:00:08 +01:00
Julian Ospald
83816ef1a6
LIB: fix isBrokenSymlink
2015-12-26 21:59:17 +01:00
Julian Ospald
fa3e5b3ff9
LIB: simplify file moving
2015-12-26 21:18:42 +01:00
Julian Ospald
2ee0d33f44
GTK: add symlink icons
2015-12-26 21:11:23 +01:00
Julian Ospald
3bd201f1b6
LIB: add more useful pattern synonyms
2015-12-26 20:28:00 +01:00
Julian Ospald
464e65d574
GTK: add inotify based file/dir watcher
...
This automatically updates the treeView if the folder/file changes.
2015-12-26 20:27:29 +01:00
Julian Ospald
0ec4aaac54
LIB/GTK: reduce usage of System.Directory (directory package)
2015-12-26 16:02:25 +01:00
Julian Ospald
edb51ad1f6
LIB: add createDir
2015-12-26 15:58:41 +01:00
Julian Ospald
d727566e86
LIB: don't allow empty FileName argument in createFile/renameFile
2015-12-26 03:07:36 +01:00
Julian Ospald
3639dec1d3
LIB/GTK: fix file renaming (previously called move)
2015-12-26 03:04:28 +01:00
Julian Ospald
5455ba1066
GTK: remove redundant bracket
2015-12-25 23:26:47 +01:00
Julian Ospald
61b2313320
GTK: add refresh button
2015-12-25 23:24:43 +01:00
Julian Ospald
3edd3c8a19
GTK: rename fileChooserDialog and add title parameter
2015-12-25 23:17:22 +01:00
Julian Ospald
71a2cb90be
LIB/GTK: add move menuitem and implement creating new files
2015-12-25 22:51:45 +01:00
Julian Ospald
c98db302ba
LIB: normalize instead of canonicalizePath'
...
We shouldn't follow symlinks in our internal paths, because that makes
us lose information. However, we normalize where we could have passed
user input, so we don't end up with ill-formed anchors/names.
2015-12-25 15:18:05 +01:00
Julian Ospald
b9e4b96c4a
Add GPL-2 license headers
2015-12-24 18:25:05 +01:00
Julian Ospald
bd448644d2
GTK: use Cabal to construct the about dialog information
2015-12-24 18:18:50 +01:00