Commit Graph

35 Commits

Author SHA1 Message Date
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 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 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 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 400a0242d6
LIB/GTK: refactor ViewPatterns/PatternSynonyms 2015-12-26 22:00:08 +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 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 b9e4b96c4a
Add GPL-2 license headers 2015-12-24 18:25:05 +01:00
Julian Ospald f64f2a975c
GTK: add about dialog 2015-12-24 17:44:55 +01:00
Julian Ospald e639405d7f
GTK: implement right-click menu 2015-12-24 15:36:21 +01:00
Julian Ospald d184b82648
GTK: fix show/hide hidden files 2015-12-24 14:45:30 +01:00
Julian Ospald e160f340ec
GTK: make file/edit menus useful 2015-12-24 14:41:06 +01:00
Julian Ospald 9efe2e5f60
GUI: improve error handling in urlGoTo 2015-12-24 05:52:46 +01:00
Julian Ospald 47aee871be
LIB/GTK: improve our ViewPatterns/PatternSynonyms + refactor 2015-12-24 03:11:17 +01:00
Julian Ospald 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
Julian Ospald f55572542f
GTK: minor cleanup 2015-12-23 16:09:51 +01:00
Julian Ospald 4d2a4fd1fc
GTK: implement file move callbacks 2015-12-23 16:09:37 +01:00
Julian Ospald 9288be7ff7
GTK: readd copy mode dialog 2015-12-22 19:50:07 +01:00
Julian Ospald 0b41fee237
GTK: improve error dialog system 2015-12-22 17:56:37 +01:00
Julian Ospald 6a9d408925
GTK: remove debug prints 2015-12-22 17:50:31 +01:00
Julian Ospald 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
Julian Ospald 433cb164a6
LIB: improve symlink handling 2015-12-21 18:32:53 +01:00
Julian Ospald 0867c8b2e3
LIB/GTK: add '.' and '..' files, remove fsState and improve safety
We use canonicalizePaths where we need well-formed paths and cannot
rely on the input being sane.
2015-12-21 05:41:12 +01:00
Julian Ospald 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
Julian Ospald 5bfea0db10
GUI: clean up copyFinal
Don't show CopyModeChooserDialog for file copy operations.
2015-12-20 05:32:11 +01:00
Julian Ospald 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
Julian Ospald d13cdac9e0
Initial commit 2015-12-17 04:42:22 +01:00