Commit Graph

10 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
71a2cb90be LIB/GTK: add move menuitem and implement creating new files 2015-12-25 22:51:45 +01:00
b9e4b96c4a Add GPL-2 license headers 2015-12-24 18:25:05 +01:00
433cb164a6 LIB: improve symlink handling 2015-12-21 18:32:53 +01:00
3ba647d172 LIB/GTK: rewrite to use more atomic operations/data structures
This is a little bit less fancy, but avoids lazy IO. It depends a
little bit more on FilePath, but that also allows for a more general
interface.
2015-12-20 00:30:52 +01:00
0f1c8dafe8 LIB: use whenM/unlessM 2015-12-18 15:37:14 +01:00
34c6223c25 LIB: fix throwDirDoesExist exception type 2015-12-18 15:28:04 +01:00
d4a5460128 LIB: implement copyDir and minor refactor
We also had to lock the FileOperation type to DTInfoZipper so
we can examine symlinks and other stuff, without re-reading
all the information.
2015-12-18 04:22:13 +01:00
87ad7d02f0 LIB/GTK: refactor File API and add copyFile 2015-12-17 23:08:02 +01:00
d13cdac9e0 Initial commit 2015-12-17 04:42:22 +01:00