summaryrefslogtreecommitdiff
path: root/Utility/FreeDesktop.hs
Commit message (Collapse)AuthorAge
* use System.Directory not Utility.DirectoryGravatar Joey Hess2016-09-22
| | | | | This module does not use isSymbolicLink so avoid depending on extra Utility.* stuff, to make it more easily reused elsewhere.
* avoid needing PartialPreludeGravatar Joey Hess2016-09-22
|
* use takeDirectory instead of parentDirGravatar Joey Hess2016-09-22
| | | | | No need for a trailing slash in the directory here, so avoid pulling in an extra module.
* avoid using split unnecessarilyGravatar Joey Hess2016-09-22
| | | | I'd like to get rid of all uses of Data.String.Utils eventually..
* avoid warnings about not exported System.Directory.isSymbolicLinkGravatar Joey Hess2016-04-28
|
* Fix build with directory-1.2.6.2.Gravatar Joey Hess2016-04-28
| | | | | | It started exporting a isSymbolicLink which supports windows. But, git-annex does no use symlinks on windows yet and this conflicts with the function by the same name from unix-compat, so hide it.
* use intercalate instead of MissingH's joinGravatar Joey Hess2015-11-17
| | | | The two functions are identical.
* more {-# OPTIONS_GHC -fno-warn-tabs #-} ... Forcing people who have what is ↵Gravatar Joey Hess2015-05-10
| | | | merely a difference of opinion to you to do this is a bit of an asshole move. Just saying.
* rejigger imports for clean build with ghc 7.10's AMP changesGravatar Joey Hess2015-05-10
| | | | | The explict import Prelude after import Control.Applicative is a trick to avoid a warning.
* update my email address and homepage urlGravatar Joey Hess2015-01-21
|
* revert parentDir changeGravatar Joey Hess2015-01-09
| | | | | | | | Reverts 2bba5bc22d049272d3328bfa6c452d3e2e50e86c Unfortunately, this caused breakage on Windows, and possibly elsewhere, because parentDir and takeDirectory do not behave the same when there is a trailing directory separator.
* made parentDir return a Maybe FilePath; removed most uses of itGravatar Joey Hess2015-01-06
| | | | | | | | parentDir is less safe than takeDirectory, especially when working with relative FilePaths. It's really only useful in loops that want to terminate at / This commit was sponsored by Audric SCHILTKNECHT.
* relicense general utility library code to BSDGravatar Joey Hess2014-05-10
| | | | | Omitted a couple of files what have had significant contributions from others.
* linux standalone auto-install iconsGravatar Joey Hess2013-07-09
|
* install to ~/.local/icons, not ~/iconsGravatar Joey Hess2013-07-09
| | | | | Apparently the Icon Theme Specification no longer matches reality, as implemented by XFCE and xdg-icon-resource.
* Install XDG desktop icon files.Gravatar Joey Hess2013-07-09
| | | | | | | | | | | | | | | | The icon files will be installed when running make install or cabal install. Did not try to run update-icon-caches, since I think it's debian specific, and dh_icons will take care of that for the Debian package. Using the favicon as a 16x16 icon. At 24x24 the svg displays pretty well, although the dotted lines are rather faint. The svg is ok at all higher resolutions. The standalone linux build auto-installs the desktop and autostart files when run. I have not made it auto-install the icon file too, because a) that would take more work to include them in the tarball and find them b) it would need to be an install to ~/.icons/, and I don't know if that really works!
* finished where indentation changesGravatar Joey Hess2012-12-13
|
* Use USER and HOME environment when set, and only fall back to getpwent, ↵Gravatar Joey Hess2012-10-25
| | | | which doesn't work with LDAP or NIS.
* flip catchDefaultIOGravatar Joey Hess2012-09-17
|
* updateGravatar Joey Hess2012-08-07
|
* fix xdg desktop dir lookup codeGravatar Joey Hess2012-08-02
| | | | | had to use xdg-user-dir to query it, since it's in a shell format file. Fall back to
* fix bugs, add desktop dirGravatar Joey Hess2012-08-02
|
* full autostart supportGravatar Joey Hess2012-08-02
| | | | | | | | git annex assistant --autostart will start separate daemons in each listed autostart repo running the webapp outside any git-annex repo will open it on the first listed autostart repo
* install autostart file tooGravatar Joey Hess2012-08-01
|
* installing desktop file workingGravatar Joey Hess2012-08-01
| | | | Not hooked up to either Makefile or cabal yet
* implement enough of the fdo specs to be able to write desktop menu filesGravatar Joey Hess2012-08-01
to the appropriate system or local user directory