arbtt 0.10.3 → 0.10.4
raw patch · 3 files changed
+20/−7 lines, 3 filesdep ~aeson
Dependency ranges changed: aeson
Files
- arbtt.cabal +5/−5
- doc/arbtt.xml +11/−0
- src/LockFile.hs +4/−2
arbtt.cabal view
@@ -1,5 +1,5 @@ name: arbtt-version: 0.10.3+version: 0.10.4 license: GPL-2 license-file: LICENSE category: Desktop@@ -43,7 +43,7 @@ base >= 4.7 && < 5, filepath, directory, transformers, utf8-string, strict, containers >= 0.5 && < 0.7,- aeson >= 0.10 && < 1.5,+ aeson >= 0.10 && < 1.6, binary >= 0.5, bytestring, deepseq @@ -107,7 +107,7 @@ binary >= 0.5, deepseq, bytestring, utf8-string, strict, transformers, directory, filepath,- aeson >= 0.10 && < 1.5,+ aeson >= 0.10 && < 1.6, array == 0.4.* || == 0.5.*, terminal-progress-bar >= 0.4 && < 0.5, bytestring-progress,@@ -152,7 +152,7 @@ base >= 4.7 && < 5, parsec == 3.*, containers >= 0.5 && < 0.7,- aeson >= 0.10 && < 1.5,+ aeson >= 0.10 && < 1.6, array == 0.4.* || == 0.5.*, binary >= 0.5, deepseq, bytestring, utf8-string, strict,@@ -191,7 +191,7 @@ parsec == 3.*, containers >= 0.5 && < 0.7, binary >= 0.5,- aeson >= 0.10 && < 1.5,+ aeson >= 0.10 && < 1.6, conduit >= 1.2 && < 1.4, exceptions >= 0.8, attoparsec == 0.13.*,
doc/arbtt.xml view
@@ -1774,6 +1774,17 @@ The version history with changes relevant for the user is documented here. </para> + <sect2 id="release-notes-0.10.4">+ <title>Version 0.10.4</title>+ <itemizedlist>+ <listitem>+ <para>+ Support symlinks for <filename>~/.arbtt/capture.log</filename>+ </para>+ </listitem>+ </itemizedlist>+ </sect2>+ <sect2 id="release-notes-0.10.3"> <title>Version 0.10.3</title> <itemizedlist>
src/LockFile.hs view
@@ -1,6 +1,7 @@ {-# LANGUAGE CPP #-} module LockFile where +import System.Directory import System.Exit import System.IO import System.IO.Error@@ -13,9 +14,10 @@ #endif -- | This is very raw, someone ought to improve this-lockFile filename =+lockFile filename' = do+ filename <- canonicalizePath filename' #ifdef WIN32- do success <- claimMutex filename+ success <- claimMutex filename unless success $ do hPutStrLn stderr ("arbtt [Error]: Could not aquire lock for " ++ filename ++"!") exitFailure