]>
go.fuhry.dev Git - fsnotify.git/log
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.
Nathan Youngman [Fri, 13 Jun 2014 03:43:49 +0000 (21:43 -0600)]
Pluralized channel names: Events and Errors.
Nathan Youngman [Fri, 13 Jun 2014 03:30:02 +0000 (21:30 -0600)]
Add/Remove watches
Nathan Youngman [Fri, 13 Jun 2014 03:07:57 +0000 (21:07 -0600)]
10.1 changelog
Tilak Sharma [Tue, 10 Jun 2014 20:09:37 +0000 (13:09 -0700)]
Fix data race on kevent buffer.
In the BSD implementation of fsnotify, the watcher's kbuf buffers a kevent
between syscall.SetKevent (which prepares the kevent) and syscall.Kevent
(which registers the kevent). The implementation intends to protect access to
kbuf, but fails to do so in addWatch and removeWatch.
This change fixes the data race by allocating a new kevent buffer for every
method invocation.
Nathan Youngman [Sat, 24 May 2014 05:44:02 +0000 (23:44 -0600)]
v0.10.0
Nathan Youngman [Sat, 24 May 2014 05:39:08 +0000 (23:39 -0600)]
Merge pull request #1 from gophertown/no_flags
Remove current implementation of WatchFlags
Nathan Youngman [Fri, 31 Jan 2014 04:09:43 +0000 (21:09 -0700)]
remove fsnFlags, purgeEvents and internalEvent channel
Nathan Youngman [Sat, 24 May 2014 05:35:57 +0000 (23:35 -0600)]
Revert "Travis CI badge"
This reverts commit
c61d698fb2cd959615b183ddd90834479dd81fd5 .
Nathan Youngman [Sat, 24 May 2014 03:04:21 +0000 (21:04 -0600)]
travis: no email notifications
[skip ci]
Nathan Youngman [Sat, 24 May 2014 02:55:12 +0000 (20:55 -0600)]
Travis CI badge
Nathan Youngman [Sat, 24 May 2014 02:47:22 +0000 (20:47 -0600)]
Travis CI
Nathan Youngman [Sat, 24 May 2014 02:30:50 +0000 (20:30 -0600)]
a fork to experiment on
Chris Howey [Thu, 27 Feb 2014 14:46:22 +0000 (08:46 -0600)]
Merge pull request #92 from gophertown/moving2
add moving notice to readme
Nathan Youngman [Thu, 27 Feb 2014 03:42:34 +0000 (20:42 -0700)]
add moving notice to readme
Chris Howey [Sun, 9 Feb 2014 21:49:45 +0000 (15:49 -0600)]
Merge pull request #86 from gophertown/cl58500043
test helpers and cleanup
Chris Howey [Sun, 9 Feb 2014 21:49:14 +0000 (15:49 -0600)]
Merge pull request #84 from gophertown/moving
fsnotify moving notice
Nathan Youngman [Thu, 6 Feb 2014 03:06:35 +0000 (20:06 -0700)]
code review from Ian Lance Taylor
Nathan Youngman [Sun, 2 Feb 2014 07:00:38 +0000 (00:00 -0700)]
more typo fixes
Nathan Youngman [Sun, 2 Feb 2014 04:54:36 +0000 (21:54 -0700)]
test helpers and cleanup
These changes are based on @davecheney's code review:
https://codereview.appspot.com/
58500043 /
Since the API hasn't changed, I thought I might as well submit them here too.
Nathan Youngman [Fri, 31 Jan 2014 02:31:23 +0000 (19:31 -0700)]
v0.9.0 Changelog
Nathan Youngman [Fri, 31 Jan 2014 02:16:00 +0000 (19:16 -0700)]
run AUTHORS update
Nathan Youngman [Thu, 30 Jan 2014 03:55:59 +0000 (20:55 -0700)]
moving notice
Chris Howey [Fri, 17 Jan 2014 15:56:35 +0000 (07:56 -0800)]
Merge pull request #80 from gophertown/contrib
Suggest testing with "Vagrant Gopher"
Chris Howey [Fri, 17 Jan 2014 15:53:08 +0000 (07:53 -0800)]
Merge pull request #81 from gophertown/typos
fix a few typos
Chris Howey [Fri, 17 Jan 2014 15:50:58 +0000 (07:50 -0800)]
Merge pull request #79 from abustany/master
Add an IsAttrib method on the FileEvent struct
Adrien Bustany [Thu, 16 Jan 2014 16:51:14 +0000 (17:51 +0100)]
Add tests for the IsAttrib method
Adrien Bustany [Thu, 16 Jan 2014 16:43:46 +0000 (17:43 +0100)]
tests: Allow resetting the value of a counter
This is useful when you want to check the event count delta after doing
some operations.
Adrien Bustany [Thu, 16 Jan 2014 14:47:11 +0000 (15:47 +0100)]
tests: Rename attribReceived to modifyReceived in TestFsnotifyAttrib
This counter is counting "IsModify" events.
Adrien Bustany [Mon, 23 Dec 2013 14:03:50 +0000 (15:03 +0100)]
Add an IsAttrib method on the FileEvent struct
This IsAttrib function can be used to distinguish events that only
concern a file's metadata (eg. atime, mtime etc.).
Nathan Youngman [Thu, 16 Jan 2014 04:58:23 +0000 (21:58 -0700)]
fix a few typos
Nathan Youngman [Sat, 4 Jan 2014 04:55:56 +0000 (21:55 -0700)]
Suggest testing with "Vagrant Gopher"
* A Vagrantfile at the root of the src folder means one box can be used for testing all Go projects instead of just fsnotify
* Updates to the Vagrantfile can happen in one place
* One less file to drop when fsnotify moves to the standard library #13.
Chris Howey [Thu, 21 Nov 2013 16:20:02 +0000 (08:20 -0800)]
Merge pull request #77 from cespare/bsd-deadlock-fix
Fix deadlock on BSD
Caleb Spare [Thu, 21 Nov 2013 13:02:37 +0000 (05:02 -0800)]
Fix deadlock on BSD
The removeWatch routine could return without releasing the lock on
w.bufmut. This change unlocks the mutex before checking for errors.
Chris Howey [Mon, 18 Nov 2013 15:35:59 +0000 (07:35 -0800)]
Merge pull request #76 from bronze1man/pr-gofmt
gofmt
bronze1man [Mon, 18 Nov 2013 14:37:22 +0000 (22:37 +0800)]
gofmyt
Chris Howey [Thu, 14 Nov 2013 22:58:54 +0000 (14:58 -0800)]
Merge pull request #75 from gophertown/fd_set
remove FD_SET and friends
Chris Howey [Thu, 14 Nov 2013 22:57:19 +0000 (14:57 -0800)]
Merge pull request #74 from gophertown/doc
GoDoc badge and AUTHORS update
Nathan Youngman [Thu, 14 Nov 2013 04:07:16 +0000 (21:07 -0700)]
changelog for FD_SET
Nathan Youngman [Fri, 27 Sep 2013 01:00:24 +0000 (19:00 -0600)]
remove FD_SET and friends
should not have been exported
https://github.com/howeyc/fsnotify/issues/64#issuecomment-
24915706
Nathan Youngman [Thu, 14 Nov 2013 03:58:59 +0000 (20:58 -0700)]
GoDoc badge and AUTHORS update
Chris Howey [Sat, 2 Nov 2013 12:25:09 +0000 (07:25 -0500)]
Update CHANGELOG.md
Chris Howey [Sat, 2 Nov 2013 12:24:14 +0000 (05:24 -0700)]
Merge pull request #72 from gophertown/changelog
Changelog
Chris Howey [Sat, 2 Nov 2013 12:23:32 +0000 (05:23 -0700)]
Merge pull request #73 from gophertown/spotlight
Add note about Spotlight double modify events to README
Nathan Youngman [Mon, 28 Oct 2013 01:29:31 +0000 (19:29 -0600)]
link issues in README
Nathan Youngman [Mon, 28 Oct 2013 01:26:57 +0000 (19:26 -0600)]
add some new lines
Nathan Youngman [Mon, 28 Oct 2013 01:18:37 +0000 (19:18 -0600)]
link issues mentioned in Changelog
Nathan Youngman [Mon, 28 Oct 2013 01:05:35 +0000 (19:05 -0600)]
my attempt to add versions
Nathan Youngman [Mon, 28 Oct 2013 00:50:31 +0000 (18:50 -0600)]
this changelog goes all the way back
Nathan Youngman [Sun, 27 Oct 2013 23:44:17 +0000 (17:44 -0600)]
more Changelog
still working my way back through history
Nathan Youngman [Sun, 27 Oct 2013 22:13:31 +0000 (16:13 -0600)]
Add note about Spotlight double modify events to README
#62
Nathan Youngman [Sun, 27 Oct 2013 19:59:39 +0000 (13:59 -0600)]
Changelog
This doesn't go back very far. Do we want to?
Should we start using versions, and if so, what version would we be at?
closes #66
Chris Howey [Sat, 19 Oct 2013 15:48:14 +0000 (10:48 -0500)]
Fixes issue #70
Not exactly the best fix, but it'll do.
Chris Howey [Sat, 19 Oct 2013 15:38:20 +0000 (10:38 -0500)]
Add the test from Issue #71 and fix it.
The issue was that files watched internally were not being removed
when the parent directory's watch was removed.
Chris Howey [Sun, 13 Oct 2013 16:51:11 +0000 (11:51 -0500)]
Update readme to specify BSD / OSX limits.
debrando [Thu, 10 Oct 2013 14:25:22 +0000 (16:25 +0200)]
Added a note about 'no space left on device' error, issue #68 involving OS configuration
Chris Howey [Mon, 9 Sep 2013 23:07:54 +0000 (18:07 -0500)]
Merge branch 'master' of github.com:howeyc/fsnotify
Conflicts:
example_test.go
Nathan Youngman [Mon, 9 Sep 2013 05:00:16 +0000 (23:00 -0600)]
Contributing & Testing
some guidance
Chris Howey [Sun, 8 Sep 2013 19:34:13 +0000 (12:34 -0700)]
Merge pull request #63 from paulhammond/update-example-test
Update package path in example code.
Paul Hammond [Sun, 8 Sep 2013 18:57:42 +0000 (11:57 -0700)]
Update package path in example code.
Nathan Youngman [Sun, 8 Sep 2013 18:38:26 +0000 (12:38 -0600)]
provisioning freebsd with the help of @petecheslock
Nathan Youngman [Sun, 8 Sep 2013 06:59:59 +0000 (00:59 -0600)]
Vagrant file for Linux 32-bit, ref #59
* git ignore .vagrant
* fixup example test to use the github path (otherwise need to install as a test dependency)
Chris Howey [Sun, 8 Sep 2013 15:22:57 +0000 (08:22 -0700)]
Merge pull request #60 from gophertown/badge
May your badge be forever green
Chris Howey [Sun, 8 Sep 2013 15:17:08 +0000 (10:17 -0500)]
Run tests in random temp directories. Fixes issue #57.
Nathan Youngman [Sun, 8 Sep 2013 02:25:23 +0000 (20:25 -0600)]
May your badge be forever green
Adds GoCI badge.
[skip ci]
Chris Howey [Wed, 3 Jul 2013 12:47:43 +0000 (07:47 -0500)]
Linux - Remove Select() syscall for now
Needs more testing, getting reports from users of no new events
on some Linux systems after adding Select() call.
Chris Howey [Fri, 28 Jun 2013 14:23:20 +0000 (07:23 -0700)]
Merge pull request #53 from henrikedwards/patch-1
Update fsnotify_linux.go
henrikedwards [Fri, 28 Jun 2013 13:26:36 +0000 (15:26 +0200)]
Update fsnotify_linux.go
Operator precedence fix
Chris Howey [Mon, 17 Jun 2013 23:11:16 +0000 (18:11 -0500)]
Windows - fix up handling of ERROR_MORE_DATA
John C Barstow [Mon, 10 Jun 2013 03:18:34 +0000 (15:18 +1200)]
Handle ERROR_MORE_DATA on Windows
See issue #49 for background and discussion
Chris Howey [Fri, 7 Jun 2013 00:39:28 +0000 (19:39 -0500)]
Linux - use select to see if any watch data
With this fix, we can check if Close() has been called on the
Watcher after every select. Before the Read would block indefinately,
possibly hanging forever (user calling watch.Close() when no events
available).
Chris Howey [Tue, 4 Jun 2013 01:50:34 +0000 (20:50 -0500)]
Linux - ignore event changes
Chris Howey [Sat, 1 Jun 2013 21:45:05 +0000 (16:45 -0500)]
Simplify the ignore linux if statement.
Chris Howey [Sat, 1 Jun 2013 21:37:54 +0000 (16:37 -0500)]
Update copyright on new files.
Chris Howey [Sat, 1 Jun 2013 21:37:11 +0000 (16:37 -0500)]
If statements on map results more idiomatic.
Chris Howey [Sat, 1 Jun 2013 21:36:47 +0000 (16:36 -0500)]
Lowercase error messages.
Chris Howey [Sat, 1 Jun 2013 21:35:37 +0000 (16:35 -0500)]
Place const declarations to top of file
Chris Howey [Thu, 30 May 2013 00:12:43 +0000 (19:12 -0500)]
Windows - make system flags internal
Chris Howey [Thu, 30 May 2013 00:04:31 +0000 (19:04 -0500)]
Linux - make syscall flags internal
Chris Howey [Thu, 30 May 2013 00:03:21 +0000 (19:03 -0500)]
BSD - Make syscall flags internal
Chris Howey [Wed, 29 May 2013 23:19:33 +0000 (18:19 -0500)]
Fix symlink test race, Issue #45
Chris Howey [Sun, 26 May 2013 14:27:04 +0000 (09:27 -0500)]
Small error reporting fix
Chris Howey [Sun, 26 May 2013 14:12:11 +0000 (09:12 -0500)]
Windows cannot overwrite file on rename.
Chris Howey [Sun, 26 May 2013 14:08:47 +0000 (09:08 -0500)]
No attributes on Windows.
Chris Howey [Sun, 26 May 2013 13:53:04 +0000 (08:53 -0500)]
No "chmod" executable on Windows.
Chris Howey [Sun, 26 May 2013 13:52:43 +0000 (08:52 -0500)]
Fix a couple tests
Chris Howey [Sun, 26 May 2013 13:50:48 +0000 (08:50 -0500)]
Update tests to be similar to changes made for go.exp
Chris Howey [Thu, 23 May 2013 23:06:06 +0000 (18:06 -0500)]
Darwin - Use EVT_ONLY flag on open file.
Chris Howey [Wed, 15 May 2013 13:02:54 +0000 (08:02 -0500)]
No Travis-CI until Go 1.1
Chris Howey [Wed, 15 May 2013 12:40:31 +0000 (07:40 -0500)]
Update with full example
Chris Howey [Fri, 10 May 2013 12:22:38 +0000 (07:22 -0500)]
typo
Tudor Golubenco [Thu, 9 May 2013 16:55:29 +0000 (16:55 +0000)]
Fixed symlink notifications on Linux
The linux code used to ignore events on the files that os.Stat reports as
non existing. This ignores the CREATEion of broken links, but monitoring
those can be useful, for example /proc/<pid>/fd/ contains fake links
for all sockets.
The patch simply replaces os.Stat with os.Lstat to solve the issue.
I updated the fsnotify_symlink_test.go to what I consider the correct
behavior but unfortunately couldn't test under windows, so I'm not sure
if it breaks the test there or not.
Chris Howey [Mon, 8 Apr 2013 01:33:26 +0000 (18:33 -0700)]
Merge pull request #40 from ChrisBuchholz/master
watch all file events on files inside folder being watched