Commit Graph

90 Commits

Author SHA1 Message Date
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
400a0242d6
LIB/GTK: refactor ViewPatterns/PatternSynonyms 2015-12-26 22:00:08 +01:00
83816ef1a6
LIB: fix isBrokenSymlink 2015-12-26 21:59:17 +01:00
fa3e5b3ff9
LIB: simplify file moving 2015-12-26 21:18:42 +01:00
2ee0d33f44
GTK: add symlink icons 2015-12-26 21:11:23 +01:00
3bd201f1b6
LIB: add more useful pattern synonyms 2015-12-26 20:28:00 +01:00
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
0ec4aaac54
LIB/GTK: reduce usage of System.Directory (directory package) 2015-12-26 16:02:25 +01:00
edb51ad1f6
LIB: add createDir 2015-12-26 15:58:41 +01:00
d727566e86
LIB: don't allow empty FileName argument in createFile/renameFile 2015-12-26 03:07:36 +01:00
3639dec1d3
LIB/GTK: fix file renaming (previously called move) 2015-12-26 03:04:28 +01:00
5455ba1066
GTK: remove redundant bracket 2015-12-25 23:26:47 +01:00
61b2313320
GTK: add refresh button 2015-12-25 23:24:43 +01:00
3edd3c8a19
GTK: rename fileChooserDialog and add title parameter 2015-12-25 23:17:22 +01:00
71a2cb90be
LIB/GTK: add move menuitem and implement creating new files 2015-12-25 22:51:45 +01:00
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
b9e4b96c4a
Add GPL-2 license headers 2015-12-24 18:25:05 +01:00
bd448644d2
GTK: use Cabal to construct the about dialog information 2015-12-24 18:18:50 +01:00
1ea20efe49
DOCS: add experimental note to README.md 2015-12-24 17:48:52 +01:00
5c8907143a
LIB: add symlink helpers 2015-12-24 17:45:04 +01:00
f64f2a975c
GTK: add about dialog 2015-12-24 17:44:55 +01:00
b657756e37
GTK: set default application icon 2015-12-24 17:44:42 +01:00
bd7b2ab82b
GTK: add application icon 2015-12-24 17:44:28 +01:00
e639405d7f
GTK: implement right-click menu 2015-12-24 15:36:21 +01:00
d184b82648
GTK: fix show/hide hidden files 2015-12-24 14:45:30 +01:00
e160f340ec
GTK: make file/edit menus useful 2015-12-24 14:41:06 +01:00
137956df42
DOCS: update HACKING.md 2015-12-24 06:32:49 +01:00
2ca7df5696
LIB: style formatting 2015-12-24 05:53:11 +01:00
9efe2e5f60
GUI: improve error handling in urlGoTo 2015-12-24 05:52:46 +01:00
47aee871be
LIB/GTK: improve our ViewPatterns/PatternSynonyms + refactor 2015-12-24 03:11:17 +01:00
5f183bef3f
LIB/GTK: use new data structure with explicit SymLink constructor
This still needs a lot of work to function consistently, but it's better
than the old approach.
2015-12-23 22:50:04 +01:00
06b96eecea
GTK: restructure modules a bit 2015-12-23 16:14:38 +01:00
1aeb92d657
LIB: fix documentation in IO.File 2015-12-23 16:10:08 +01:00
f55572542f
GTK: minor cleanup 2015-12-23 16:09:51 +01:00
4d2a4fd1fc
GTK: implement file move callbacks 2015-12-23 16:09:37 +01:00
09821f8fc2
LIB: implement file moving operations 2015-12-23 16:08:39 +01:00
6b89dd8564
LIB: make pattern IsSymL more lazy 2015-12-22 19:50:24 +01:00
9288be7ff7
GTK: readd copy mode dialog 2015-12-22 19:50:07 +01:00
aa1401d874
LIB: remove debug print 2015-12-22 19:49:47 +01:00
eba0c95f8c
LIB: simplify symlink pattern matching via ViewPatterns/PatternSynonyms 2015-12-22 19:40:29 +01:00
0b41fee237
GTK: improve error dialog system 2015-12-22 17:56:37 +01:00
6a9d408925
GTK: remove debug prints 2015-12-22 17:50:31 +01:00
2ba9620fdc
LIB: update documentation 2015-12-22 14:17:46 +01:00
dd07a31d35
CABAL: enable threading and -N 2015-12-22 14:16:17 +01:00
2486d83260
LIB/GTK: use AnchoredFile in IO.File
What's the point of having it anyway if we don't?
2015-12-22 14:15:48 +01:00
06151a3a08
LIB: minor improvement to copyDir 2015-12-21 18:54:37 +01:00
da32ccf619
LIB: improve documentation 2015-12-21 18:39:30 +01:00
773cb100b4
LIB: make recreateSymlink more robust 2015-12-21 18:36:45 +01:00