!!! Moved to Github releases page !!!
- Rescue all error on sha1_checksum generation. (@thibaudgg)
- Ignore 'bundle' folder by default. (@thibaudgg)
- #124 New
force_adapter
option, skip the.listen_test
adapter test. (@nicobrevin)
- #120 Warn when using relative_paths option when listening to multiple diretories. (reported by @chriseppstein, added by @thibaudgg)
- #122 Fix stop called very soon after starting. (reported by @chriseppstein, fixed by @thibaudgg)
- #113 Kill poller_thread before waiting for it to die. (@antifuchs)
- #112 Expand path for the given directories. (reported by @nex3, fixed by @thibaudgg)
- #110 Remove MultiListener deprecation warning message. (reported by @nex3, fixed by @thibaudgg)
- Rescue Errno::EBADF on sha1_checksum generation. (@thibaudgg)
- #103 Support old version of rubygems. (reported by @ahoward, fixed by @thibaudgg)
- #93 Remove dependency operator in the "gem install" message. (reported by @scottdavis, fixed by @rymai)
- #98
Listen.to
does not block the current thread anymore. UseListen.to!
if you want the old behavior back. (@rymai) - #98
Listen::Listener#start
does not block the current thread anymore. UseListen::Listener#start!
if you want the old behavior back. (@rymai) - #98
Listen::Listener#start
'sblocking
parameter is deprecated. (@rymai)
- #98 New method:
Listen.to!
which blocks the current thread. (@rymai) - #98 New method:
Listen::Listener#start!
to start the listener and block the current thread. (@martikaljuve & @rymai) - #95 Make
Listen::Listener
capable of listening to multiple directories, deprecatesListen::MultiListener
, defaultsListener#relative_paths
totrue
when listening to a single directory (see #131). (@rymai) - #85 Compute the SHA1 sum only for regular files. (@antifuchs)
- New methods:
Listen::Adapter#pause
,Listen::Adapter#unpause
andListen::Adapter#paused?
. (@rymai) - Refactor
Listen::DirectoryRecord
internals. (@rymai) - Refactor
Listen::DependencyManager
internals. (@rymai)
- #88 Update wdm dependency. (@mrbinky3000)
- #78 Depend on latest rb-inotify. (@mbj)
- #76 Exception on filename which is not in UTF-8. (@piotr-sokolowski)
- #73 Rescue Errno::EOPNOTSUPP on sha1_checksum generation. (@thibaudgg)
- #65 Fix ruby warning in adapter.rb. (@vongruenigen)
- #64 ENXIO raised when hashing UNIX domain socket file. (@sunaku)
- #62 Fix double change callback with polling adapter. (@thibaudgg)
- #61 Fix a synchronisation bug that caused constant fallback to polling. (@Maher4Ever)
- Add a dependency manager to handle platform-specific gems. So there is no need anymore to install extra gems which will never be used on the user system. (@Maher4Ever)
- Add a manual reporting mode to the adapters. (@Maher4Ever)
- #28 Enhance the speed of detecting changes on Windows by using the [WDM][] library. (@Maher4Ever)
- Increase latency to 0.25, to avoid useless polling fallback. (@thibaudgg)
- Change watched inotify events, to avoid duplication callback. (@thibaudgg)
- #41 Use lstat instead of stat when calculating mtime. (@ebroder)
- #39 Rescue Errno::ENOENT when path inserted doesn't exist. (reported by @textgoeshere, fixed by @thibaudgg and @rymai)
#39 Non-existing path insertion bug. (reported by @textgoeshere, fixed by @thibaudgg)- Fix relative path for directories containing special characters. (reported by @napcs, fixed by @netzpirat)
- #24 Fail gracefully when the inotify limit is not enough for Listen to function. (reported by @daemonza, fixed by @Maher4Ever)
- #32 Fix a crash when trying to calculate the checksum of unreadable files. (reported by @nex3, fixed by @Maher4Ever)
- Add
Listener#relative_paths
. (@Maher4Ever) - Add
Adapter#started?
. (@Maher4Ever) - Dynamically detect the mtime precision used on a system. (@Maher4Ever with help from @nex3)
- #21 Issues when listening to changes in relative paths. (reported by @akerbos, fixed by @Maher4Ever)
- #27 Wrong reports for files modifications. (reported by @cobychapple, fixed by @Maher4Ever)
- Fix segmentation fault when profiling on Windows. (@Maher4Ever)
- Fix redundant watchers on Windows. (@Maher4Ever)
- #17 Use regexp-patterns with the
ignore
method instead of supplying paths. (reported by @fny, added by @Maher4Ever) - Speed improvement when listening to changes in directories with ignored paths. (@Maher4Ever)
- Added
.rbx
and.svn
to ignored directories. (@Maher4Ever)
- #18 Listener crashes when removing directories with nested paths. (reported by @daemonza, fixed by @Maher4Ever)
- Add
Adapter#wait_for_callback
. (@Maher4Ever) - Add
Listen::MultiListener
class to listen to multiple directories at once. (@Maher4Ever) - Allow passing multiple directories to the
Listen.to
method. (@Maher4Ever) - Add
blocking
option toListen#start
which can be used to disable blocking the current thread upon starting. (@Maher4Ever) - Use absolute-paths in callbacks by default instead of relative-paths. (@Maher4Ever)
- Add
relative_paths
option toListen::Listener
to retain the old functionality. (@Maher4Ever)
- Encapsulate thread spawning in the linux-adapter. (@Maher4Ever)
- Encapsulate thread spawning in the darwin-adapter. (@Maher4Ever with @scottdavis help)
- Encapsulate thread spawning in the windows-adapter. (@Maher4Ever)
- Fix linux-adapter bug where Listen would report file-modification events on the parent-directory. (@Maher4Ever)
- Remove
wait_until_listening
as adapters doesn't need to run inside threads anymore (@Maher4Ever)
- Improve pause/unpause. (@thibaudgg)
- Add pause/unpause listener's methods. (@thibaudgg)
- #9 Ignore doesn't seem to work. (reported by @markiz, fixed by @thibaudgg)
- Add automatic fallback to polling if system adapter doesn't work (like a DropBox folder). (@thibaudgg)
- Add latency and force_polling options. (@Maher4Ever)
- Add checksum comparaison support for detecting consecutive file modifications made during the same second. (@thibaudgg)
- Add rb-fchange support. (@thibaudgg)
- Add rb-inotify support. (@thibaudgg with @Maher4Ever help)
- Add rb-fsevent support. (@thibaudgg)
- Add non-recursive diff with multiple directories support. (@thibaudgg)
- Ignore
.DS_Store
files by default. (@thibaudgg)
- First version with only a polling adapter and basic features set (ignore & filter). (@thibaudgg)