Граф коммитов

11 Коммитов

Автор SHA1 Сообщение Дата
Nathan Youngman 612490c990 fsnotify: remove fsnotify
This is an outdated clone of gopkg.in/fsnotify.v1

Change-Id: I1035dfebb85f7c07a4f730f5fc6912105096cb94
Reviewed-on: https://go-review.googlesource.com/3990
Reviewed-by: Rob Pike <r@golang.org>
Reviewed-by: Andrew Gerrand <adg@golang.org>
2015-02-17 00:19:28 +00:00
David Symonds c84be7c6d1 exp: add import comments.
Change-Id: I107c8d6562402d1533e46e30b0cd0f42cc856654
Reviewed-on: https://go-review.googlesource.com/1236
Reviewed-by: Andrew Gerrand <adg@golang.org>
2014-12-09 22:46:36 +00:00
Andrew Gerrand e1eb486a5d go.exp: use golang.org/x/... import paths
LGTM=bradfitz
R=rsc, bradfitz
CC=golang-codereviews
https://golang.org/cl/168200043
2014-11-10 08:50:24 +11:00
Aram Hăvărneanu ab88e75d34 go.exp/fsnotify: fix Plan 9 and Solaris builds
LGTM=0intro, dave
R=golang-codereviews, 0intro
CC=dave, golang-codereviews
https://golang.org/cl/108110046
2014-06-23 09:43:22 +10:00
Nathan John Youngman d9e1c40664 go.exp/fsnotify: remove current implementation of WatchFlags
removes fsnFlags, purgeEvents and internalEvent channel

The current implementation:
* doesn't take advantage of OS for efficiency
* no benefit over filtering events as received
* extra bookkeeping and mutexes
* no tests
* not correctly implemented on Windows https://github.com/howeyc/fsnotify/issues/93#issuecomment-39285195

LGTM=mikioh.mikioh, rsc
R=golang-codereviews, mikioh.mikioh, rsc
CC=golang-codereviews
https://golang.org/cl/100860043
2014-06-20 14:45:55 +09:00
Nathan John Youngman c52c4c8327 go.exp/fsnotify: bring up-to-date with GitHub (move development here)
Handle ERROR_MORE_DATA on Windows
(https://github.com/howeyc/fsnotify/issues/49)

Run tests in random temp directories
(https://github.com/howeyc/fsnotify/issues/57)

Fix: RemoveWatch is not removing the path from the watch list
The issue was that files watched internally were not being removed
when the parent directory's watch was removed.
(https://github.com/howeyc/fsnotify/issues/71)

Fix: Race on OS X between Close() and readEvents()
(https://github.com/howeyc/fsnotify/issues/70)

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.
(https://github.com/howeyc/fsnotify/pull/77)

Add an IsAttrib method on the FileEvent struct
(https://github.com/howeyc/fsnotify/pull/79)

Fix: a few typos

Test helpers for shared setup.

LGTM=iant
R=golang-codereviews, dave, alex.brainman, gobot, bradfitz, iant
CC=bradfitz, bronze1man, cespare, denis.brandolini, golang-codereviews, henrik.edwards, jbowtie, travis.cline, webustany
https://golang.org/cl/58500043
2014-02-06 14:11:02 -08:00
Chris Howey 4a4ec32b4b go.exp/fsnotify: Windows-specific flags made private.
This change makes the Windows syscall flags that are used internally
lowercase so they are no longer public.

Related to issue 5234.

R=golang-dev, alex.brainman
CC=golang-dev
https://golang.org/cl/12050044
2013-08-01 14:24:33 +10:00
Chris Howey 266bdb5247 go.exp/fsnotify: fixes
WatchFlags of files created in Watched directories are now the same as the
parent directory. (https://github.com/howeyc/fsnotify/issues/33)

Darwin now uses EVT_ONLY flag on Open file for watching.
(https://github.com/howeyc/fsnotify/issues/44)

Linux has been updated to ignore events that occur after delete.
(https://github.com/howeyc/fsnotify/issues/36)

Symlink test updated.
(https://github.com/howeyc/fsnotify/pull/42)

Rename tests use external "mv" where available.

R=golang-dev, dave, fullung, rsc
CC=golang-dev
https://golang.org/cl/9827046
2013-07-11 16:16:05 -04:00
Albert Strasheim c2986ec09a go.exp/fsnotify: fix test nit
R=golang-dev, dave, minux.ma
CC=golang-dev
https://golang.org/cl/8193044
2013-03-31 10:36:07 +11:00
Chris Howey e95fcf9876 go.exp: fix windows build for fsnotify
R=dave
CC=alex.brainman, gobot, golang-dev
https://golang.org/cl/7817043
2013-03-16 11:04:41 +11:00
Chris Howey e3f617561d go.exp: Add fsnotify package
Previous discussions:
https://golang.org/cl/5585043/
https://code.google.com/p/go/issues/detail?id=4068

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/7497045
2013-03-11 18:07:51 -04:00