Permalink
Commits on Jan 4, 2017
  1. Merge pull request #24 from hasufell/PR-cabal-dep-cleanup

    kolmodin committed Jan 4, 2017
    CABAL: 'directory' is not needed for the library
  2. CABAL: 'directory' is not needed for the library

    hasufell committed Jan 4, 2017
    Only for the test suite (and the examples).
Commits on Dec 3, 2016
Commits on Dec 1, 2016
  1. Fix "hWaitForInput: invalid argument" errors

    simonmar committed Dec 1, 2016
    When we use fdToHandle', GHC is careful not to enabled non-blocking mode
    on the file descriptor because it might affect other users of the FD.
    But when the FD does not have non-blocking mode enabled, reading from it
    uses select(), which returns EINVAL if the FD is >= 1024.  This is
    really a bug and we should fix it in GHC.  But for hinotify, we can work
    around it by allowing the IO library to enable non-blocking on our FD.
    
    The API that GHC provides here isn't great, but it hasn't changed at all
    for several years.
Commits on Nov 30, 2016
  1. Remove redundant killINotify

    simonmar committed Nov 30, 2016
  2. Use bracket

    simonmar committed Nov 30, 2016
  3. Fix problems with callbacks and killINotify

    simonmar committed Nov 30, 2016
    1. We shouldn't run the callback inside mask_, because that prevents it
       from receiving StackOverflow, amongst other things.  I think this was
       a  n attempt to prevent the delivery of ThreadKilled inside the
       callback, but to do that you would need uninterruptibleMask_
    
    2. killThread doesn't wait for the threads to die, so use the async
       package and cancel/wait instead.
    
    3. If the killThread happens during a callback, we don't want to discard
       the exception, because that will leave the thread running.
    
    I've added a new test for the problem of a callback hanging.
Commits on May 1, 2016
  1. Complete the move to ByteString.

    kolmodin committed May 1, 2016
    Also known as RawFilePath.
  2. Use ByteString for FilePaths.

    kolmodin committed May 1, 2016
    Instead of String.
    The linux file systems deal with raw bytes and doesn't care about encodings.
    GTK always uses UTF-8, QT uses the user's locale.
    By using ByteString, we let the libraries' users decide what they want to use.
  3. Remove old CPP.

    kolmodin committed May 1, 2016
    Not required any more since we depend on GHC >= 7.4.
Commits on Oct 29, 2015
  1. Faster Travis CI containers.

    kolmodin committed Oct 29, 2015
    Only install one version of GHC and Cabal into each container.
Commits on Aug 9, 2015
Commits on Aug 8, 2015
  1. Bump version to 0.3.8.1.

    kolmodin committed Aug 8, 2015
  2. Add Utils as 'other-modules' in tests.

    kolmodin committed Aug 8, 2015
    Previously there was no dependency on this module, so it didn't get
    included in 'cabal sdist'.
Commits on Aug 6, 2015
  1. Bump version to 0.3.8.

    kolmodin committed Aug 6, 2015
  2. Add CHANGELOG.md file.

    kolmodin committed Aug 6, 2015
  3. Remove split-base flag from hinotify.cabal.

    kolmodin committed Aug 6, 2015
    hinotify only compiles with GHC >= 7.4.1.
Commits on Aug 3, 2015
  1. Run Travis CI also with GHC 7.10.2

    kolmodin committed Aug 3, 2015
    Also update to GHC 7.8.4. Use various cabal-install versions.
  2. Merge pull request #14 from joeyh/master

    kolmodin committed Aug 3, 2015
    use file system encoding when peeking the filename from the event
  3. use file system encoding when peeking the filename from the event

    joeyh committed Aug 3, 2015
    When run in a locale like LANG=C, this ensures that the filename is encoded
    as a filename, so that arbitrary bytes in it will round-trip correctly,
    rather than being stripped out.
    
    Fixes #13
Commits on Jan 19, 2015
  1. Merge pull request #10 from juhp/patch-1

    kolmodin committed Jan 19, 2015
    Remove the pre and post .'s from description
Commits on May 11, 2014
  1. Add build status to README.

    kolmodin committed May 11, 2014
  2. Make tests into cabal tests.

    kolmodin committed May 11, 2014
    Test with 'cabal test'.
  3. Update .gitignore

    kolmodin committed May 11, 2014
Commits on Apr 27, 2014
  1. Bump version to 0.3.7.

    kolmodin committed Apr 27, 2014
  2. Merge pull request #7 from feuerbach/master

    kolmodin committed Apr 27, 2014
    addWatch: don't cancel other watches