]> go.fuhry.dev Git - fsnotify.git/log
fsnotify.git
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

12 years agolink issues mentioned in Changelog
Nathan Youngman [Mon, 28 Oct 2013 01:18:37 +0000 (19:18 -0600)]
link issues mentioned in Changelog

12 years agomy attempt to add versions
Nathan Youngman [Mon, 28 Oct 2013 01:05:35 +0000 (19:05 -0600)]
my attempt to add versions

12 years agothis changelog goes all the way back
Nathan Youngman [Mon, 28 Oct 2013 00:50:31 +0000 (18:50 -0600)]
this changelog goes all the way back

12 years agomore Changelog
Nathan Youngman [Sun, 27 Oct 2013 23:44:17 +0000 (17:44 -0600)]
more Changelog

still working my way back through history

12 years agoAdd note about Spotlight double modify events to README
Nathan Youngman [Sun, 27 Oct 2013 22:13:31 +0000 (16:13 -0600)]
Add note about Spotlight double modify events to README

#62

12 years agoChangelog
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

12 years agoFixes issue #70
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.

12 years agoAdd the test from Issue #71 and fix it.
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.

12 years agoUpdate readme to specify BSD / OSX limits.
Chris Howey [Sun, 13 Oct 2013 16:51:11 +0000 (11:51 -0500)]
Update readme to specify BSD / OSX limits.

12 years agoAdded a note about 'no space left on device' error, issue #68 involving OS configuration
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

12 years agoMerge branch 'master' of github.com:howeyc/fsnotify
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

12 years agoContributing & Testing
Nathan Youngman [Mon, 9 Sep 2013 05:00:16 +0000 (23:00 -0600)]
Contributing & Testing

some guidance

12 years agoMerge pull request #63 from paulhammond/update-example-test
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.

12 years agoUpdate package path in example code.
Paul Hammond [Sun, 8 Sep 2013 18:57:42 +0000 (11:57 -0700)]
Update package path in example code.

12 years agoprovisioning freebsd with the help of @petecheslock
Nathan Youngman [Sun, 8 Sep 2013 18:38:26 +0000 (12:38 -0600)]
provisioning freebsd with the help of @petecheslock

12 years agoVagrant file for Linux 32-bit, ref #59
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)

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

12 years agoRun tests in random temp directories. Fixes issue #57.
Chris Howey [Sun, 8 Sep 2013 15:17:08 +0000 (10:17 -0500)]
Run tests in random temp directories. Fixes issue #57.

12 years agoMay your badge be forever green
Nathan Youngman [Sun, 8 Sep 2013 02:25:23 +0000 (20:25 -0600)]
May your badge be forever green

Adds GoCI badge.

[skip ci]

12 years agoLinux - Remove Select() syscall for now
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.

12 years agoMerge pull request #53 from henrikedwards/patch-1
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

12 years agoUpdate fsnotify_linux.go
henrikedwards [Fri, 28 Jun 2013 13:26:36 +0000 (15:26 +0200)]
Update fsnotify_linux.go

Operator precedence fix

12 years agoWindows - fix up handling of ERROR_MORE_DATA
Chris Howey [Mon, 17 Jun 2013 23:11:16 +0000 (18:11 -0500)]
Windows - fix up handling of ERROR_MORE_DATA

12 years agoHandle ERROR_MORE_DATA on Windows
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

12 years agoLinux - use select to see if any watch data
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).

12 years agoLinux - ignore event changes
Chris Howey [Tue, 4 Jun 2013 01:50:34 +0000 (20:50 -0500)]
Linux - ignore event changes

12 years agoSimplify the ignore linux if statement.
Chris Howey [Sat, 1 Jun 2013 21:45:05 +0000 (16:45 -0500)]
Simplify the ignore linux if statement.

12 years agoUpdate copyright on new files.
Chris Howey [Sat, 1 Jun 2013 21:37:54 +0000 (16:37 -0500)]
Update copyright on new files.

12 years agoIf statements on map results more idiomatic.
Chris Howey [Sat, 1 Jun 2013 21:37:11 +0000 (16:37 -0500)]
If statements on map results more idiomatic.

12 years agoLowercase error messages.
Chris Howey [Sat, 1 Jun 2013 21:36:47 +0000 (16:36 -0500)]
Lowercase error messages.

12 years agoPlace const declarations to top of file
Chris Howey [Sat, 1 Jun 2013 21:35:37 +0000 (16:35 -0500)]
Place const declarations to top of file

12 years agoWindows - make system flags internal
Chris Howey [Thu, 30 May 2013 00:12:43 +0000 (19:12 -0500)]
Windows - make system flags internal

12 years agoLinux - make syscall flags internal
Chris Howey [Thu, 30 May 2013 00:04:31 +0000 (19:04 -0500)]
Linux - make syscall flags internal

12 years agoBSD - Make syscall flags internal
Chris Howey [Thu, 30 May 2013 00:03:21 +0000 (19:03 -0500)]
BSD - Make syscall flags internal

12 years agoFix symlink test race, Issue #45
Chris Howey [Wed, 29 May 2013 23:19:33 +0000 (18:19 -0500)]
Fix symlink test race, Issue #45

12 years agoSmall error reporting fix
Chris Howey [Sun, 26 May 2013 14:27:04 +0000 (09:27 -0500)]
Small error reporting fix

12 years agoWindows cannot overwrite file on rename.
Chris Howey [Sun, 26 May 2013 14:12:11 +0000 (09:12 -0500)]
Windows cannot overwrite file on rename.

12 years agoNo attributes on Windows.
Chris Howey [Sun, 26 May 2013 14:08:47 +0000 (09:08 -0500)]
No attributes on Windows.

12 years agoNo "chmod" executable on Windows.
Chris Howey [Sun, 26 May 2013 13:53:04 +0000 (08:53 -0500)]
No "chmod" executable on Windows.

12 years agoFix a couple tests
Chris Howey [Sun, 26 May 2013 13:52:43 +0000 (08:52 -0500)]
Fix a couple tests

12 years agoUpdate tests to be similar to changes made for go.exp
Chris Howey [Sun, 26 May 2013 13:50:48 +0000 (08:50 -0500)]
Update tests to be similar to changes made for go.exp

12 years agoDarwin - Use EVT_ONLY flag on open file.
Chris Howey [Thu, 23 May 2013 23:06:06 +0000 (18:06 -0500)]
Darwin - Use EVT_ONLY flag on open file.

12 years agoNo Travis-CI until Go 1.1
Chris Howey [Wed, 15 May 2013 13:02:54 +0000 (08:02 -0500)]
No Travis-CI until Go 1.1

12 years agoUpdate with full example
Chris Howey [Wed, 15 May 2013 12:40:31 +0000 (07:40 -0500)]
Update with full example

12 years agotypo
Chris Howey [Fri, 10 May 2013 12:22:38 +0000 (07:22 -0500)]
typo

12 years agoFixed symlink notifications on Linux
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.

12 years agoMerge pull request #40 from ChrisBuchholz/master
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

12 years agowatch all file events on files inside folder being watched
Christoffer Buchholz [Sun, 7 Apr 2013 23:51:04 +0000 (01:51 +0200)]
watch all file events on files inside folder being watched

12 years agoBSD - Some internal watch flag cleanup
Chris Howey [Thu, 14 Mar 2013 01:31:43 +0000 (20:31 -0500)]
BSD - Some internal watch flag cleanup

12 years agoLinux - Fixes issue #36
Chris Howey [Wed, 13 Mar 2013 23:47:20 +0000 (18:47 -0500)]
Linux - Fixes issue #36

12 years agoMerge branch 'issue-33'
Chris Howey [Tue, 12 Mar 2013 00:09:37 +0000 (19:09 -0500)]
Merge branch 'issue-33'

Fix issue #33

12 years agogo.exp travis-ci
Chris Howey [Mon, 11 Mar 2013 23:32:02 +0000 (18:32 -0500)]
go.exp travis-ci

12 years agoRemove skip test
Chris Howey [Mon, 11 Mar 2013 23:29:07 +0000 (18:29 -0500)]
Remove skip test

12 years agoCommited to go.exp
Chris Howey [Mon, 11 Mar 2013 23:26:37 +0000 (18:26 -0500)]
Commited to go.exp

https://codereview.appspot.com/7497045
https://code.google.com/p/go/issues/detail?id=4068

12 years agoWhen adding files of directory, use fsnFlags from directory.
Chris Howey [Mon, 11 Mar 2013 21:29:55 +0000 (16:29 -0500)]
When adding files of directory, use fsnFlags from directory.

Fixes issue #33

12 years agoAuthors
Chris Howey [Fri, 8 Feb 2013 02:10:13 +0000 (20:10 -0600)]
Authors

12 years agoMutex for map access on Windows
Chris Howey [Thu, 7 Feb 2013 04:48:47 +0000 (22:48 -0600)]
Mutex for map access on Windows

12 years agoMutex for map access on Linux
Chris Howey [Thu, 7 Feb 2013 04:22:29 +0000 (22:22 -0600)]
Mutex for map access on Linux

12 years agoFix tests for Windows : '\\' and '/' path seperators
Chris Howey [Thu, 7 Feb 2013 04:01:39 +0000 (22:01 -0600)]
Fix tests for Windows : '\\' and '/' path seperators

12 years agomutex
Chris Howey [Thu, 7 Feb 2013 03:45:39 +0000 (21:45 -0600)]
mutex

12 years agoMutex used on all OSs
Chris Howey [Thu, 7 Feb 2013 03:43:44 +0000 (21:43 -0600)]
Mutex used on all OSs

12 years agoFix travis-ci
Chris Howey [Thu, 7 Feb 2013 03:04:23 +0000 (21:04 -0600)]
Fix travis-ci

12 years agoFixed unlock for watching directory
Chris Howey [Thu, 7 Feb 2013 02:55:39 +0000 (20:55 -0600)]
Fixed unlock for watching directory

12 years agoMerge branch 'issue-29' of https://github.com/fsouza/fsnotify into race
Chris Howey [Thu, 7 Feb 2013 02:50:51 +0000 (20:50 -0600)]
Merge branch 'issue-29' of https://github.com/fsouza/fsnotify into race

12 years agoMerge pull request #30 from fsouza/mkdir-error-report
Chris Howey [Wed, 6 Feb 2013 23:37:02 +0000 (15:37 -0800)]
Merge pull request #30 from fsouza/mkdir-error-report

tests: fix error reporting from Mkdir calls

12 years agotests: fix data races
Francisco Souza [Wed, 6 Feb 2013 21:18:54 +0000 (19:18 -0200)]
tests: fix data races

go test -race does not report any data races in darwin anymore. I still
need to check Linux.

Related to #29.

12 years agofsnotify_bsd: fix for some data races
Francisco Souza [Wed, 6 Feb 2013 19:11:17 +0000 (17:11 -0200)]
fsnotify_bsd: fix for some data races

All data races detected in tests, that happens in fsnotify_bsd file are
now fixed. I still need to fix data races in tests.

Related to #29.

12 years agotest: fix if expression
Francisco Souza [Wed, 6 Feb 2013 19:05:58 +0000 (17:05 -0200)]
test: fix if expression

12 years agotests: fix error reporting from Mkdir calls
Francisco Souza [Wed, 6 Feb 2013 19:02:58 +0000 (17:02 -0200)]
tests: fix error reporting from Mkdir calls

Whenever the creation of a directory fails, it was trying to report an
error from an outer scope.

12 years agoMerge pull request #28 from Pursuit92/master
Chris Howey [Thu, 10 Jan 2013 01:26:36 +0000 (17:26 -0800)]
Merge pull request #28 from Pursuit92/master

Fix Windows Filepath Separators

12 years agofixed windows path separator
Pursuit92 [Thu, 10 Jan 2013 00:43:11 +0000 (19:43 -0500)]
fixed windows path separator

12 years agoAdd license
Chris Howey [Mon, 17 Dec 2012 20:32:53 +0000 (14:32 -0600)]
Add license

13 years agoBSD - remove merging of flags. remove deleted check in sendDirectoryChangeEvents
Kelvin Fo [Sat, 10 Nov 2012 01:19:54 +0000 (09:19 +0800)]
BSD - remove merging of flags. remove deleted check in sendDirectoryChangeEvents

Remove the unnecessary merging of flags when watching an existing
file/dir since the flags passed is already merged

Remove deleted path check in sendDirectoryChangeEvents. Instead we check
for directory existence before passing to sendDirectoryChangeEvents

13 years agoBSD - support for recursivable watching of subfolders
Kelvin Fo [Tue, 6 Nov 2012 23:27:58 +0000 (07:27 +0800)]
BSD - support for recursivable watching of subfolders

13 years agoFile rename tests, rename file into watched folder
Chris Howey [Fri, 2 Nov 2012 19:18:25 +0000 (14:18 -0500)]
File rename tests, rename file into watched folder

Two types:
Rename a file into folder where no file exists with that name.
Rename a file into a folder over a file with that name.

13 years agoLinux - Add IN_MOVED_TO by request, Issue #25
Chris Howey [Thu, 1 Nov 2012 23:20:07 +0000 (18:20 -0500)]
Linux - Add IN_MOVED_TO by request, Issue #25