Commit Graph

54 Commits

Author SHA1 Message Date
3cd7a246ab
Fix build with latest hpath library
This also touches some exception handling code, be careful.
2018-05-17 11:42:36 +02:00
Julian Ospald
93369900f8
Update for GHC-8.2.2 2017-12-13 23:33:34 +01:00
df0b5e3e16
LIB/GTK: cleanup 2016-06-12 23:40:55 +02:00
a9238ab3d1
GTK: first take on Plugins system 2016-06-08 18:23:20 +02:00
89710d9d1a
Add Settings modules wrt #22 2016-06-07 20:07:16 +02:00
64fb9fbea0
Use new hpath API 2016-06-05 17:58:50 +02:00
48b0b7b1d8
GTK: overhaul history feature
Allowing righ-click menu.
2016-06-04 18:58:33 +02:00
d904b74629
LIB: add History module 2016-06-04 17:28:04 +02:00
da2c7f8e8b
CABAL: raise hpath constraint 2016-06-02 13:56:21 +02:00
5b749417c5
CABAL: relax Cabal version constraint 2016-06-02 13:45:57 +02:00
23d3775d37
CABAL: add source-repository section 2016-05-30 14:50:58 +02:00
5f82c63aa7
CABAL: remove unnecessary ghc-options
These also caused problems with 'cabal check'.
2016-05-30 14:50:44 +02:00
812bf2fa73
CABAL: fix version constraints 2016-05-30 14:50:14 +02:00
5aef692b4f
Fix build 2016-05-29 13:26:21 +02:00
8739ccc55f
Adjust to hpath-0.6.0 2016-05-10 02:05:05 +02:00
3b2ee6dfd4
Adjust to new hpath API 2016-05-09 19:56:14 +02:00
41e2ae6131
Adjust to new HPath API 2016-05-09 16:37:02 +02:00
5fc77f6b24
Move to new HPath API 2016-05-09 14:41:57 +02:00
4254c80a64
TESTS: add missing utf8-string dependency 2016-05-09 00:21:54 +02:00
c89d6b945c
TESTS: use hspec-discover 2016-05-08 23:45:51 +02:00
5b6a342a9e
LIB/TESTS: fix moveFileOverwrite and add tests
We must not allow to move a file to a directory, deleting that
directory and effectively changing the filetype.
2016-05-08 23:20:00 +02:00
3af8b36940
GTK: adjust to new LIB API and refactor file error handling
This restructures large parts of the GUI-wise error handling code
and makes it more fine-grained, so the user can react appropriately
to exceptions.
2016-05-08 20:14:30 +02:00
9c6cf51825
LIB: refactor FileOperation and related Errors
* move FileOperation/Copy/Move types to its own UtilTypes module
* remove runFileOp, since it's hard to really do the correct
  thing here for all possible exceptions... instead, let the
  GUI logic handle this
* introduce copyDirRecursiveOverwrite, copyFileOverwrite and
  easyCopyOverwrite
* use our own throwSameFile on functions to distinguish between
  "same file" and "file already exists"
* don't follow destination in copyFile* either
* improve throwSameFile, by examining device and file ids
* add isWritable
* improve documentation
* adjust and fix tests
2016-05-08 18:48:17 +02:00
1487351f29
TESTS: restructure files 2016-05-03 13:27:10 +02:00
e56c345156
TESTS: general refactoring 2016-05-03 13:13:07 +02:00
c5afe976cf
GTK: adjust to new APIs, CopyMode functionality is broken for now! 2016-05-02 19:14:41 +02:00
ce1383dc11
TESTS: first set of hspec tests 2016-05-02 19:08:46 +02:00
hasufell
1be9ecb44e Use hinotify-bytestring fork 2016-05-01 04:37:34 +02:00
0fca64594d
LIB/GTK: use more recent library versions 2016-04-16 19:14:08 +02:00
5bcbbcc69c
LIB: overhaul file operations and improve overall performance
This introduces a lot of changes and uses a more solid
file copy operation.
2016-04-10 03:58:20 +02:00
bad817d32d
LIB/GTK: use ByteString instead of String for 2016-04-05 00:56:36 +02:00
fa7cab69c6
LIB: fix copyFile'
Previously, BS.writeFile would fail if the created file
was not writable, obviously. Now we use the file-descriptor
to write the content.
2016-04-03 18:19:02 +02:00
4da3c92e5e
LIB/GTK: cleanup compiler warnings 2016-03-31 16:19:31 +02:00
dd013b7d7b
Fix Copyright 2016-03-31 00:28:23 +02:00
74a48b2668
Restructure module layout 2016-03-30 20:16:34 +02:00
f301e2e519
LIB/GTK: use our hpath lib for path type 2016-03-30 02:50:32 +02:00
b266b78e14
GTK: add IconView and refactor the modules 2015-12-30 17:53:16 +01:00
c6efdedf2d
GTK: fix relative dirs to work outside of project basedir
Fixes #23
2015-12-29 00:48:54 +01:00
5d44243689
LIB: remove obsolete bifunctor stuff 2015-12-27 19:50:24 +01:00
54af33f3a7
LIB/GTK: remove the rest of the directory package 2015-12-27 19:26:58 +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
bd448644d2
GTK: use Cabal to construct the about dialog information 2015-12-24 18:18:50 +01:00
f64f2a975c
GTK: add about dialog 2015-12-24 17:44:55 +01:00
bd7b2ab82b
GTK: add application icon 2015-12-24 17:44:28 +01:00
47aee871be
LIB/GTK: improve our ViewPatterns/PatternSynonyms + refactor 2015-12-24 03:11:17 +01:00
06b96eecea
GTK: restructure modules a bit 2015-12-23 16:14:38 +01:00
eba0c95f8c
LIB: simplify symlink pattern matching via ViewPatterns/PatternSynonyms 2015-12-22 19:40:29 +01:00
dd07a31d35
CABAL: enable threading and -N 2015-12-22 14:16:17 +01:00
fe6145d5be
LIB/GTK: change DirTree again
we now have:
* AnchoredFile -- for representing a file with context
* File         -- for representing a file only

Both representations mean "file" in the broader sense, including
directories.
2015-12-21 00:41:02 +01:00
98216a97c3
CABAL: cleanup 2015-12-20 01:01:45 +01:00