]> go.fuhry.dev Git - fsnotify.git/log
fsnotify.git
11 years agov1.0.2
Nathan Youngman [Sun, 17 Aug 2014 21:35:13 +0000 (15:35 -0600)]
v1.0.2

ref #33

closes #14

11 years agoMake ./path and path equivalent.
Soge Zhang [Sun, 17 Aug 2014 16:28:19 +0000 (00:28 +0800)]
Make ./path and path equivalent.

Using filepath.Clean (BSD and Linux).

11 years agoFix Issue: Missing create events on OS X. #14
Soge Zhang [Sun, 17 Aug 2014 15:30:13 +0000 (23:30 +0800)]
Fix Issue: Missing create events on OS X. #14

11 years agoupdate README for v0 and v1 versions
Nathan Youngman [Sun, 17 Aug 2014 20:37:10 +0000 (14:37 -0600)]
update README for v0 and v1 versions

closes #34

11 years agouse v1 in the example.
Nathan Youngman [Sun, 17 Aug 2014 20:35:54 +0000 (14:35 -0600)]
use v1 in the example.

11 years agoMake fsnotify.v0 use the old API from @howeyc
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)

11 years agoUpdate README.
Nathan Youngman [Sat, 16 Aug 2014 05:30:22 +0000 (23:30 -0600)]
Update README.

Android and iOS are untested.
Maybe Polling

11 years agoFYI, howeyc/fsnotify is v0.9.0
Nathan Youngman [Sat, 16 Aug 2014 05:24:09 +0000 (23:24 -0600)]
FYI, howeyc/fsnotify is v0.9.0

11 years agov1.0.0 - API change
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

11 years agoRemove AddWatch on Windows, use Add.
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:

11 years agodocumentation and golint
Nathan Youngman [Sat, 16 Aug 2014 04:26:19 +0000 (22:26 -0600)]
documentation and golint

Improve documentation for exported identifiers.
closes #30

11 years agov0.14.2
Nathan Youngman [Thu, 10 Jul 2014 05:05:15 +0000 (23:05 -0600)]
v0.14.2

11 years agoCLA
Nathan Youngman [Thu, 10 Jul 2014 04:52:33 +0000 (22:52 -0600)]
CLA

11 years agoupdate AUTHORS
Nathan Youngman [Thu, 10 Jul 2014 04:50:57 +0000 (22:50 -0600)]
update AUTHORS

11 years agoupdate contributing/issues
Nathan Youngman [Thu, 10 Jul 2014 04:47:24 +0000 (22:47 -0600)]
update contributing/issues

11 years agoadd platforms/adapters to README
Nathan Youngman [Thu, 10 Jul 2014 04:46:53 +0000 (22:46 -0600)]
add platforms/adapters to README

11 years agoshorter path for gopkg.in
Nathan Youngman [Thu, 10 Jul 2014 00:06:36 +0000 (18:06 -0600)]
shorter path for gopkg.in

11 years agoupdate organization to go-fsnotify
Nathan Youngman [Thu, 10 Jul 2014 00:02:08 +0000 (18:02 -0600)]
update organization to go-fsnotify

11 years agoReturn os.NewSyscallError instead of errno
Hari haran [Wed, 9 Jul 2014 09:08:13 +0000 (14:38 +0530)]
Return os.NewSyscallError instead of errno

11 years agoUse SVG badge for GoDoc
Nathan Youngman [Tue, 8 Jul 2014 15:46:28 +0000 (09:46 -0600)]
Use SVG badge for GoDoc

11 years agoupdate contributing
Nathan Youngman [Sat, 5 Jul 2014 03:15:08 +0000 (21:15 -0600)]
update contributing

11 years agov0.14.1
Nathan Youngman [Sat, 5 Jul 2014 03:04:52 +0000 (21:04 -0600)]
v0.14.1

11 years agoupdate example
Nathan Youngman [Sat, 5 Jul 2014 03:03:05 +0000 (21:03 -0600)]
update example

11 years agokqueue: fix incorrect mutex used in Close()
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

11 years agoupdate README
Nathan Youngman [Sun, 29 Jun 2014 05:15:46 +0000 (23:15 -0600)]
update README

11 years agoupdate AUTHORS file
Nathan Youngman [Sun, 29 Jun 2014 03:25:39 +0000 (21:25 -0600)]
update AUTHORS file

add Tilak

11 years agov0.14.0
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.

11 years agoDon't build on Plan 9 or Solaris (thanks @4ad)
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

11 years agoDon't set the Write Op for attribute notifications
Nathan Youngman [Sun, 29 Jun 2014 00:47:45 +0000 (18:47 -0600)]
Don't set the Write Op for attribute notifications

closes #4

11 years agofix for String() method on Event
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/

11 years agoadd reasons for removing WatchFlags to the CHANGELOG
Nathan Youngman [Sat, 28 Jun 2014 21:37:47 +0000 (15:37 -0600)]
add reasons for removing WatchFlags to the CHANGELOG

11 years agomove to fsnotify/fsnotify
Nathan Youngman [Sat, 28 Jun 2014 21:21:02 +0000 (15:21 -0600)]
move to fsnotify/fsnotify

* update contributing and readme

11 years agotest for kevent buffer data race from @tilaks
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/

11 years agov0.13.0
Nathan Youngman [Sun, 22 Jun 2014 04:54:01 +0000 (22:54 -0600)]
v0.13.0

11 years agoMerge pull request #6 from nathany/cleanup2
Nathan Youngman [Sun, 22 Jun 2014 04:50:37 +0000 (22:50 -0600)]
Merge pull request #6 from nathany/cleanup2

More cleanup

11 years agoAdd/Remove accept a name rather than a path (same behavior).
Nathan Youngman [Sun, 22 Jun 2014 04:43:38 +0000 (22:43 -0600)]
Add/Remove accept a name rather than a path (same behavior).

11 years agokqueue: rename events to kevents and fileEvent to event
Nathan Youngman [Sun, 22 Jun 2014 04:28:58 +0000 (22:28 -0600)]
kqueue: rename events to kevents and fileEvent to event

11 years agoinotify: remove internal addWatch
Nathan Youngman [Sun, 22 Jun 2014 03:56:05 +0000 (21:56 -0600)]
inotify: remove internal addWatch

11 years agokqueue: use syscall constants directly.
Nathan Youngman [Sun, 22 Jun 2014 03:28:40 +0000 (21:28 -0600)]
kqueue: use syscall constants directly.

11 years agoEvents channel of type Event rather than *Event.
Nathan Youngman [Sun, 22 Jun 2014 03:16:33 +0000 (21:16 -0600)]
Events channel of type Event rather than *Event.

11 years agoinotify: use syscall constants directly
Nathan Youngman [Sun, 22 Jun 2014 03:02:54 +0000 (21:02 -0600)]
inotify: use syscall constants directly

11 years agoremove unnecessary build tags, filename suffix is sufficient
Nathan Youngman [Sat, 21 Jun 2014 15:20:24 +0000 (09:20 -0600)]
remove unnecessary build tags, filename suffix is sufficient

11 years agomove to nathany/fsnotify
Nathan Youngman [Fri, 20 Jun 2014 03:23:27 +0000 (21:23 -0600)]
move to nathany/fsnotify

11 years agoMerge pull request #4 from gophertown/cleanup
Nathan Youngman [Fri, 20 Jun 2014 03:12:05 +0000 (21:12 -0600)]
Merge pull request #4 from gophertown/cleanup

Cleanup internals

11 years agoremove internal watch and removeWatch methods
Nathan Youngman [Fri, 20 Jun 2014 03:07:37 +0000 (21:07 -0600)]
remove internal watch and removeWatch methods

11 years agoEvent struct has the same definition across every OS
Nathan Youngman [Fri, 20 Jun 2014 02:55:57 +0000 (20:55 -0600)]
Event struct has the same definition across every OS

11 years agoremove cookie from Event struct (unused)
Nathan Youngman [Fri, 20 Jun 2014 02:50:20 +0000 (20:50 -0600)]
remove cookie from Event struct (unused)

11 years agowindows: use syscall.ERROR_MORE_DATA from ztypes_windows (Go 1.3+)
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+)

11 years agoMerge pull request #3 from gophertown/api
Nathan Youngman [Fri, 13 Jun 2014 05:54:00 +0000 (23:54 -0600)]
Merge pull request #3 from gophertown/api

API

11 years agov0.11.0 changelog
Nathan Youngman [Fri, 13 Jun 2014 05:40:32 +0000 (23:40 -0600)]
v0.11.0 changelog

11 years agofinally remove IsCreate and friends
Nathan Youngman [Fri, 13 Jun 2014 05:32:47 +0000 (23:32 -0600)]
finally remove IsCreate and friends

11 years agoremove internal uses of IsDelete() and friends
Nathan Youngman [Fri, 13 Jun 2014 05:07:09 +0000 (23:07 -0600)]
remove internal uses of IsDelete() and friends

11 years agoOp constants and Event.Op
Nathan Youngman [Fri, 13 Jun 2014 04:50:14 +0000 (22:50 -0600)]
Op constants and Event.Op

11 years agonewEvent helper
Nathan Youngman [Fri, 13 Jun 2014 04:40:19 +0000 (22:40 -0600)]
newEvent helper

in preparation for Op

11 years agoRenamed FileEvent struct to Event.
Nathan Youngman [Fri, 13 Jun 2014 03:48:25 +0000 (21:48 -0600)]
Renamed FileEvent struct to Event.

11 years agoPluralized channel names: Events and Errors.
Nathan Youngman [Fri, 13 Jun 2014 03:43:49 +0000 (21:43 -0600)]
Pluralized channel names: Events and Errors.

11 years agoAdd/Remove watches
Nathan Youngman [Fri, 13 Jun 2014 03:30:02 +0000 (21:30 -0600)]
Add/Remove watches

11 years ago10.1 changelog
Nathan Youngman [Fri, 13 Jun 2014 03:07:57 +0000 (21:07 -0600)]
10.1 changelog

11 years agoFix data race on kevent buffer.
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.

11 years agov0.10.0
Nathan Youngman [Sat, 24 May 2014 05:44:02 +0000 (23:44 -0600)]
v0.10.0

11 years agoMerge pull request #1 from gophertown/no_flags
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

11 years agoremove fsnFlags, purgeEvents and internalEvent channel
Nathan Youngman [Fri, 31 Jan 2014 04:09:43 +0000 (21:09 -0700)]
remove fsnFlags, purgeEvents and internalEvent channel

11 years agoRevert "Travis CI badge"
Nathan Youngman [Sat, 24 May 2014 05:35:57 +0000 (23:35 -0600)]
Revert "Travis CI badge"

This reverts commit c61d698fb2cd959615b183ddd90834479dd81fd5.

11 years agotravis: no email notifications
Nathan Youngman [Sat, 24 May 2014 03:04:21 +0000 (21:04 -0600)]
travis: no email notifications

[skip ci]

11 years agoTravis CI badge
Nathan Youngman [Sat, 24 May 2014 02:55:12 +0000 (20:55 -0600)]
Travis CI badge

11 years agoTravis CI
Nathan Youngman [Sat, 24 May 2014 02:47:22 +0000 (20:47 -0600)]
Travis CI

11 years agoa fork to experiment on
Nathan Youngman [Sat, 24 May 2014 02:30:50 +0000 (20:30 -0600)]
a fork to experiment on

11 years agoMerge pull request #92 from gophertown/moving2
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

11 years agoadd moving notice to readme
Nathan Youngman [Thu, 27 Feb 2014 03:42:34 +0000 (20:42 -0700)]
add moving notice to readme

11 years agoMerge pull request #86 from gophertown/cl58500043
Chris Howey [Sun, 9 Feb 2014 21:49:45 +0000 (15:49 -0600)]
Merge pull request #86 from gophertown/cl58500043

test helpers and cleanup

11 years agoMerge pull request #84 from gophertown/moving
Chris Howey [Sun, 9 Feb 2014 21:49:14 +0000 (15:49 -0600)]
Merge pull request #84 from gophertown/moving

fsnotify moving notice

11 years agocode review from Ian Lance Taylor
Nathan Youngman [Thu, 6 Feb 2014 03:06:35 +0000 (20:06 -0700)]
code review from Ian Lance Taylor

11 years agomore typo fixes
Nathan Youngman [Sun, 2 Feb 2014 07:00:38 +0000 (00:00 -0700)]
more typo fixes

11 years agotest helpers and cleanup
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.

11 years agov0.9.0 Changelog
Nathan Youngman [Fri, 31 Jan 2014 02:31:23 +0000 (19:31 -0700)]
v0.9.0 Changelog

11 years agorun AUTHORS update
Nathan Youngman [Fri, 31 Jan 2014 02:16:00 +0000 (19:16 -0700)]
run AUTHORS update

11 years agomoving notice
Nathan Youngman [Thu, 30 Jan 2014 03:55:59 +0000 (20:55 -0700)]
moving notice

11 years agoMerge pull request #80 from gophertown/contrib
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"

11 years agoMerge pull request #81 from gophertown/typos
Chris Howey [Fri, 17 Jan 2014 15:53:08 +0000 (07:53 -0800)]
Merge pull request #81 from gophertown/typos

fix a few typos

11 years agoMerge pull request #79 from abustany/master
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

11 years agoAdd tests for the IsAttrib method
Adrien Bustany [Thu, 16 Jan 2014 16:51:14 +0000 (17:51 +0100)]
Add tests for the IsAttrib method

11 years agotests: Allow resetting the value of a counter
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.

11 years agotests: Rename attribReceived to modifyReceived in TestFsnotifyAttrib
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.

11 years agoAdd an IsAttrib method on the FileEvent struct
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.).

11 years agofix a few typos
Nathan Youngman [Thu, 16 Jan 2014 04:58:23 +0000 (21:58 -0700)]
fix a few typos

11 years agoSuggest testing with "Vagrant Gopher"
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.

12 years agoMerge pull request #77 from cespare/bsd-deadlock-fix
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

12 years agoFix 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.

12 years agoMerge pull request #76 from bronze1man/pr-gofmt
Chris Howey [Mon, 18 Nov 2013 15:35:59 +0000 (07:35 -0800)]
Merge pull request #76 from bronze1man/pr-gofmt

gofmt

12 years agogofmyt
bronze1man [Mon, 18 Nov 2013 14:37:22 +0000 (22:37 +0800)]
gofmyt

12 years agoMerge pull request #75 from gophertown/fd_set
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

12 years agoMerge pull request #74 from gophertown/doc
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

12 years agochangelog for FD_SET
Nathan Youngman [Thu, 14 Nov 2013 04:07:16 +0000 (21:07 -0700)]
changelog for FD_SET

12 years agoremove FD_SET and friends
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

12 years agoGoDoc badge and AUTHORS update
Nathan Youngman [Thu, 14 Nov 2013 03:58:59 +0000 (20:58 -0700)]
GoDoc badge and AUTHORS update

12 years agoUpdate CHANGELOG.md
Chris Howey [Sat, 2 Nov 2013 12:25:09 +0000 (07:25 -0500)]
Update CHANGELOG.md

12 years agoMerge pull request #72 from gophertown/changelog
Chris Howey [Sat, 2 Nov 2013 12:24:14 +0000 (05:24 -0700)]
Merge pull request #72 from gophertown/changelog

Changelog

12 years agoMerge pull request #73 from gophertown/spotlight
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

12 years agolink issues in README
Nathan Youngman [Mon, 28 Oct 2013 01:29:31 +0000 (19:29 -0600)]
link issues in README

12 years agoadd some new lines
Nathan Youngman [Mon, 28 Oct 2013 01:26:57 +0000 (19:26 -0600)]
add some new lines