]>
go.fuhry.dev Git - fsnotify.git/log
Pieter Droogendijk [Sat, 7 Feb 2015 21:23:17 +0000 (22:23 +0100)]
Comment about the buffer size to epoll_wait
Pieter Droogendijk [Sat, 7 Feb 2015 21:18:46 +0000 (22:18 +0100)]
Generate inotify fd in NewWatcher, pass fd into newFdPoller
Pieter Droogendijk [Sat, 7 Feb 2015 21:10:39 +0000 (22:10 +0100)]
Remove NewSyscallError
Pieter Droogendijk [Sat, 7 Feb 2015 19:47:41 +0000 (20:47 +0100)]
Now use epoll so we can wake up readEvents
Nathan Youngman [Sat, 7 Feb 2015 18:10:00 +0000 (11:10 -0700)]
kqueue: wait to close kqueue until after removing watches
sending done would close w.kq before Remove had a chance to remove the watches with EV_DELETE, resulting in a file handle leak.
ref #59
also make Close() report the first error returned by Remove and continue.
closes #65
Pieter Droogendijk [Fri, 6 Feb 2015 01:47:13 +0000 (02:47 +0100)]
inotify: closing watcher should now always shut down goroutine
(fixes #3)
closes #63
Pieter Droogendijk [Thu, 5 Feb 2015 21:19:17 +0000 (22:19 +0100)]
inotify: Retry read on EINTR
closes #62
Nathan Youngman [Tue, 3 Feb 2015 20:42:50 +0000 (13:42 -0700)]
Go 1.4.1 multi-os build on Travis CI
closes #60
Nathan Youngman [Sun, 4 Jan 2015 00:26:17 +0000 (17:26 -0700)]
Merge pull request #57 from go-fsnotify/ci
setup CircleCI to test on OS X
Nathan Youngman [Sat, 3 Jan 2015 01:38:45 +0000 (18:38 -0700)]
Setup CircleCI to test on OS X.
With help from @z00b.
Nathan Youngman [Thu, 1 Jan 2015 03:28:30 +0000 (20:28 -0700)]
readme: add USN journals to maybe list
Nathan Youngman [Thu, 1 Jan 2015 03:24:48 +0000 (20:24 -0700)]
add v0.9.3 backport to changelog
Nathan Youngman [Thu, 1 Jan 2015 02:59:35 +0000 (19:59 -0700)]
changelog: fix link
Nathan Youngman [Thu, 1 Jan 2015 02:48:26 +0000 (19:48 -0700)]
updates to CONTRIBUTING
[ci skip]
Nathan Youngman [Wed, 31 Dec 2014 03:32:53 +0000 (20:32 -0700)]
add gofmt check to Travis CI
Nathan Youngman [Wed, 31 Dec 2014 03:06:24 +0000 (20:06 -0700)]
Merge pull request #56 from go-fsnotify/ci
CI
Nathan Youngman [Wed, 31 Dec 2014 02:51:32 +0000 (19:51 -0700)]
AppVeyor badge for Windows CI
Nathan Youngman [Wed, 31 Dec 2014 02:17:50 +0000 (19:17 -0700)]
Travis CI badge on Linux.
Nathan Youngman [Wed, 31 Dec 2014 02:04:11 +0000 (19:04 -0700)]
try Travis CI with docker containers
Nathan Youngman [Sat, 13 Dec 2014 06:17:38 +0000 (23:17 -0700)]
v1.1.0 focus on kqueue
Nathan Youngman [Sat, 13 Dec 2014 06:15:00 +0000 (23:15 -0700)]
kqueue: cleanup internal watch before sending remove event
#51 if the calling code were to Add the same file again it sometimes would result in a bad file descriptor (thought it was alreadyWatching)
Nathan Youngman [Sat, 13 Dec 2014 04:47:51 +0000 (21:47 -0700)]
kqueue: addWatch sometimes just watches deletions
fix regression #48
When watching a directory with kqueue, fsnotify will watch all the files in it. This includes subdirectories, but it only watches for the subdirectory being deleted. This is to emulate the behavior of inotify on Linux.
A bug in
4a0d1ae9df8c61fb8912829fc714f189358a3dc7 resulted in it watching that subdirectory for all events, so watching a single directory would result in more events than expected.
Matt Layher [Sun, 16 Nov 2014 02:36:10 +0000 (21:36 -0500)]
More efficient string concatenation for Event.String()
closes #52
Nathan Youngman [Sat, 15 Nov 2014 02:48:16 +0000 (19:48 -0700)]
CONTRIBUTING update
information for maintainers
Nathan Youngman [Fri, 14 Nov 2014 04:03:46 +0000 (21:03 -0700)]
Go 1.3+ required.
#50
Nathan Youngman [Wed, 24 Sep 2014 21:47:39 +0000 (15:47 -0600)]
readme: test against master
Nathan Youngman [Wed, 24 Sep 2014 21:41:13 +0000 (15:41 -0600)]
update changelog (dev)
rework kqueue internals
closes #13
closes #43
Nathan Youngman [Wed, 24 Sep 2014 18:56:27 +0000 (12:56 -0600)]
kqueue: remove calls to os.NewSyscallError
calling os.NewSyscallError would silently break comparisons with the syscall constants. it didn't really add much value either, besides the "Kevent" prefix.
http://play.golang.org/p/YKbmygNDu4
Nathan Youngman [Sun, 14 Sep 2014 23:58:38 +0000 (17:58 -0600)]
kqueue: less mutexes
closes #13
Nathan Youngman [Sun, 14 Sep 2014 23:40:15 +0000 (17:40 -0600)]
FIXME: something doesn't seem quite right
Ref: https://github.com/go-fsnotify/fsnotify/blob/v0.9.0/fsnotify_bsd.go#L384
Nathan Youngman [Sun, 14 Sep 2014 23:08:14 +0000 (17:08 -0600)]
kqueue: pathInfo struct containing name and isDir
we don't use fileInfo for anything but IsDir
Nathan Youngman [Sun, 14 Sep 2014 22:01:22 +0000 (16:01 -0600)]
kqueue: split off newCreateEvent
more clear.
Nathan Youngman [Sun, 14 Sep 2014 19:55:35 +0000 (13:55 -0600)]
kqueue: only need to store flags on directories
Nathan Youngman [Sun, 14 Sep 2014 17:06:34 +0000 (11:06 -0600)]
kqueue: done can be an unbuffered channel
Nathan Youngman [Sun, 14 Sep 2014 16:54:43 +0000 (10:54 -0600)]
add low-level kqueue functions
to separate out that functionality
Nathan Youngman [Mon, 8 Sep 2014 03:51:07 +0000 (21:51 -0600)]
add dragonfly bsd to the build tags
Nathan Youngman [Mon, 8 Sep 2014 03:46:41 +0000 (21:46 -0600)]
rename to inotify.go
Nathan Youngman [Mon, 8 Sep 2014 03:40:39 +0000 (21:40 -0600)]
put linux and windows build tags back
this reverts
30aab4aea324d0110394bb280d9bb128a9716dcb
Nathan Youngman [Mon, 8 Sep 2014 03:29:45 +0000 (21:29 -0600)]
rearrange code so exported APIs are at the top
Nathan Youngman [Mon, 8 Sep 2014 02:20:32 +0000 (20:20 -0600)]
code organization: rename files
Hopefully more clear.
Nathan Youngman [Mon, 8 Sep 2014 02:14:15 +0000 (20:14 -0600)]
merge integration tests into one file
Already have some tests using runtime.GOOS, might as well be consistient.
Yukang [Thu, 28 Aug 2014 11:07:42 +0000 (19:07 +0800)]
add done channal flag, keep waiting for the go loop func
closes #37
Nathan Youngman [Wed, 20 Aug 2014 03:04:42 +0000 (21:04 -0600)]
Windows MOVED_TO now translates to Create like on BSD and Linux.
closes #36
ref #26
Nathan Youngman [Sun, 17 Aug 2014 22:21:12 +0000 (16:21 -0600)]
add @zhsso to authors
Nathan Youngman [Sun, 17 Aug 2014 22:04:07 +0000 (16:04 -0600)]
add backports to changelog
v0.9.2
Nathan Youngman [Sun, 17 Aug 2014 21:35:13 +0000 (15:35 -0600)]
v1.0.2
ref #33
closes #14
Soge Zhang [Sun, 17 Aug 2014 16:28:19 +0000 (00:28 +0800)]
Make ./path and path equivalent.
Using filepath.Clean (BSD and Linux).
Soge Zhang [Sun, 17 Aug 2014 15:30:13 +0000 (23:30 +0800)]
Fix Issue: Missing create events on OS X. #14
Nathan Youngman [Sun, 17 Aug 2014 20:37:10 +0000 (14:37 -0600)]
update README for v0 and v1 versions
closes #34
Nathan Youngman [Sun, 17 Aug 2014 20:35:54 +0000 (14:35 -0600)]
use v1 in the example.
Nathan Youngman [Sun, 17 Aug 2014 19:51:59 +0000 (13:51 -0600)]
Make fsnotify.v0 use the old API from @howeyc
ref #34
Remove tags from v0.10.0 to v0.14.3:
* 'v0.10.0' (was
56a7b52 )
* 'v0.10.1' (was
620bfd9 )
* 'v0.11.0' (was
b97c307 )
* 'v0.12.0' (was
efe9224 )
* 'v0.13.0' (was
4a0c411 )
* 'v0.14.0' (was
960fdf5 )
* 'v0.14.1' (was
06d7792 )
* 'v0.14.2' (was
f65830e )
* 'v0.14.3' (was
2acad09 )
Nathan Youngman [Sat, 16 Aug 2014 05:30:22 +0000 (23:30 -0600)]
Update README.
Android and iOS are untested.
Maybe Polling
Nathan Youngman [Sat, 16 Aug 2014 05:24:09 +0000 (23:24 -0600)]
FYI, howeyc/fsnotify is v0.9.0
Nathan Youngman [Sat, 16 Aug 2014 05:15:25 +0000 (23:15 -0600)]
v1.0.0 - API change
this isn't a sign that it's done or stable yet
Nathan Youngman [Sat, 16 Aug 2014 05:12:21 +0000 (23:12 -0600)]
Remove AddWatch on Windows, use Add.
I really thought I did this before. :disappointed:
Nathan Youngman [Sat, 16 Aug 2014 04:26:19 +0000 (22:26 -0600)]
documentation and golint
Improve documentation for exported identifiers.
closes #30
Nathan Youngman [Thu, 10 Jul 2014 05:05:15 +0000 (23:05 -0600)]
v0.14.2
Nathan Youngman [Thu, 10 Jul 2014 04:52:33 +0000 (22:52 -0600)]
CLA
Nathan Youngman [Thu, 10 Jul 2014 04:50:57 +0000 (22:50 -0600)]
update AUTHORS
Nathan Youngman [Thu, 10 Jul 2014 04:47:24 +0000 (22:47 -0600)]
update contributing/issues
Nathan Youngman [Thu, 10 Jul 2014 04:46:53 +0000 (22:46 -0600)]
add platforms/adapters to README
Nathan Youngman [Thu, 10 Jul 2014 00:06:36 +0000 (18:06 -0600)]
shorter path for gopkg.in
Nathan Youngman [Thu, 10 Jul 2014 00:02:08 +0000 (18:02 -0600)]
update organization to go-fsnotify
Hari haran [Wed, 9 Jul 2014 09:08:13 +0000 (14:38 +0530)]
Return os.NewSyscallError instead of errno
Nathan Youngman [Tue, 8 Jul 2014 15:46:28 +0000 (09:46 -0600)]
Use SVG badge for GoDoc
Nathan Youngman [Sat, 5 Jul 2014 03:15:08 +0000 (21:15 -0600)]
update contributing
Nathan Youngman [Sat, 5 Jul 2014 03:04:52 +0000 (21:04 -0600)]
v0.14.1
Nathan Youngman [Sat, 5 Jul 2014 03:03:05 +0000 (21:03 -0600)]
update example
Nathan Youngman [Sat, 5 Jul 2014 02:15:51 +0000 (20:15 -0600)]
kqueue: fix incorrect mutex used in Close()
identified at https://code.google.com/p/go/issues/detail?id=8282#c5
Nathan Youngman [Sun, 29 Jun 2014 05:15:46 +0000 (23:15 -0600)]
update README
Nathan Youngman [Sun, 29 Jun 2014 03:25:39 +0000 (21:25 -0600)]
update AUTHORS file
add Tilak
Nathan Youngman [Sun, 29 Jun 2014 00:55:04 +0000 (18:55 -0600)]
v0.14.0
just doing a minor version because nobody is depending on this package yet.
Nathan Youngman [Sun, 29 Jun 2014 00:54:10 +0000 (18:54 -0600)]
Don't build on Plan 9 or Solaris (thanks @4ad)
https://codereview.appspot.com/
108110046
Nathan Youngman [Sun, 29 Jun 2014 00:47:45 +0000 (18:47 -0600)]
Don't set the Write Op for attribute notifications
closes #4
Nathan Youngman [Sun, 29 Jun 2014 00:38:41 +0000 (18:38 -0600)]
fix for String() method on Event
thanks Alex Brainman
https://codereview.appspot.com/
105370044 /
Nathan Youngman [Sat, 28 Jun 2014 21:37:47 +0000 (15:37 -0600)]
add reasons for removing WatchFlags to the CHANGELOG
Nathan Youngman [Sat, 28 Jun 2014 21:21:02 +0000 (15:21 -0600)]
move to fsnotify/fsnotify
* update contributing and readme
Nathan Youngman [Sun, 22 Jun 2014 05:10:24 +0000 (23:10 -0600)]
test for kevent buffer data race from @tilaks
`go test -test.run=TestConcurrentRemovalOfWatch -test.cpu=1,1,1,1,1 -race`
from CL https://codereview.appspot.com/
103300045 /
Nathan Youngman [Sun, 22 Jun 2014 04:54:01 +0000 (22:54 -0600)]
v0.13.0
Nathan Youngman [Sun, 22 Jun 2014 04:50:37 +0000 (22:50 -0600)]
Merge pull request #6 from nathany/cleanup2
More cleanup
Nathan Youngman [Sun, 22 Jun 2014 04:43:38 +0000 (22:43 -0600)]
Add/Remove accept a name rather than a path (same behavior).
Nathan Youngman [Sun, 22 Jun 2014 04:28:58 +0000 (22:28 -0600)]
kqueue: rename events to kevents and fileEvent to event
Nathan Youngman [Sun, 22 Jun 2014 03:56:05 +0000 (21:56 -0600)]
inotify: remove internal addWatch
Nathan Youngman [Sun, 22 Jun 2014 03:28:40 +0000 (21:28 -0600)]
kqueue: use syscall constants directly.
Nathan Youngman [Sun, 22 Jun 2014 03:16:33 +0000 (21:16 -0600)]
Events channel of type Event rather than *Event.
Nathan Youngman [Sun, 22 Jun 2014 03:02:54 +0000 (21:02 -0600)]
inotify: use syscall constants directly
Nathan Youngman [Sat, 21 Jun 2014 15:20:24 +0000 (09:20 -0600)]
remove unnecessary build tags, filename suffix is sufficient
Nathan Youngman [Fri, 20 Jun 2014 03:23:27 +0000 (21:23 -0600)]
move to nathany/fsnotify
Nathan Youngman [Fri, 20 Jun 2014 03:12:05 +0000 (21:12 -0600)]
Merge pull request #4 from gophertown/cleanup
Cleanup internals
Nathan Youngman [Fri, 20 Jun 2014 03:07:37 +0000 (21:07 -0600)]
remove internal watch and removeWatch methods
Nathan Youngman [Fri, 20 Jun 2014 02:55:57 +0000 (20:55 -0600)]
Event struct has the same definition across every OS
Nathan Youngman [Fri, 20 Jun 2014 02:50:20 +0000 (20:50 -0600)]
remove cookie from Event struct (unused)
Nathan Youngman [Fri, 20 Jun 2014 02:45:43 +0000 (20:45 -0600)]
windows: use syscall.ERROR_MORE_DATA from ztypes_windows (Go 1.3+)
Nathan Youngman [Fri, 13 Jun 2014 05:54:00 +0000 (23:54 -0600)]
Merge pull request #3 from gophertown/api
API
Nathan Youngman [Fri, 13 Jun 2014 05:40:32 +0000 (23:40 -0600)]
v0.11.0 changelog
Nathan Youngman [Fri, 13 Jun 2014 05:32:47 +0000 (23:32 -0600)]
finally remove IsCreate and friends
Nathan Youngman [Fri, 13 Jun 2014 05:07:09 +0000 (23:07 -0600)]
remove internal uses of IsDelete() and friends
Nathan Youngman [Fri, 13 Jun 2014 04:50:14 +0000 (22:50 -0600)]
Op constants and Event.Op
Nathan Youngman [Fri, 13 Jun 2014 04:40:19 +0000 (22:40 -0600)]
newEvent helper
in preparation for Op
Nathan Youngman [Fri, 13 Jun 2014 03:48:25 +0000 (21:48 -0600)]
Renamed FileEvent struct to Event.