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

13 years agoFix up delete watched directory test
Chris Howey [Thu, 1 Nov 2012 12:30:25 +0000 (07:30 -0500)]
Fix up delete watched directory test

13 years agoBSD - Fix for Issue #24 - Deleting watched directory
Chris Howey [Thu, 1 Nov 2012 12:12:29 +0000 (07:12 -0500)]
BSD - Fix for Issue #24 - Deleting watched directory

This fixes the issue where the delete of a watched directory sends and
error instead of a delete for the directory and the underlying watched
files.

The reproduce case for reference: https://gist.github.com/3972447

Also included is a test case addition for the above issue.

13 years agoGolang exp/inotify fixes
Chris Howey [Wed, 10 Oct 2012 00:23:22 +0000 (19:23 -0500)]
Golang exp/inotify fixes

http://code.google.com/p/go/issues/detail?id=3713
http://codereview.appspot.com/5418045/

13 years agoPreserve watch flags when watching for delete
Chris Howey [Tue, 9 Oct 2012 03:37:09 +0000 (22:37 -0500)]
Preserve watch flags when watching for delete

Fixes issue where adding a watch for a directory assumed that all
subdirectories can be watched for only delete. They should, but if they
are already watched we need to preserve the flags already set and add
delete watch.

Issue #21

13 years agoMerge branch 'master' of https://github.com/robfig/fsnotify
Chris Howey [Tue, 9 Oct 2012 03:11:44 +0000 (22:11 -0500)]
Merge branch 'master' of https://github.com/robfig/fsnotify

13 years agoWatch the directory even if it isn't a new watch.
Rob Figueiredo [Tue, 9 Oct 2012 02:36:22 +0000 (22:36 -0400)]
Watch the directory even if it isn't a new watch.

This fixes the issue where you watch directory and then its
subdirectory, the subdirectory does not have all its files watched (via
watchDirectoryFiles)

13 years agoTravis CI
Chris Howey [Tue, 9 Oct 2012 02:22:28 +0000 (21:22 -0500)]
Travis CI

13 years agoBSD - Fix recreate file test
Chris Howey [Tue, 9 Oct 2012 01:57:32 +0000 (20:57 -0500)]
BSD - Fix recreate file test

13 years agoRecreate test more precise
Chris Howey [Tue, 9 Oct 2012 01:55:25 +0000 (20:55 -0500)]
Recreate test more precise

13 years agoTest - Modify after recreation of file
Chris Howey [Tue, 9 Oct 2012 01:51:37 +0000 (20:51 -0500)]
Test - Modify after recreation of file

13 years agoAdditional test - recreate a file
Chris Howey [Tue, 9 Oct 2012 00:59:45 +0000 (19:59 -0500)]
Additional test - recreate a file

13 years agoBSD - Fix watch when there is an existing folder inside the watched folder
Kelvin Fo [Thu, 27 Sep 2012 15:22:56 +0000 (23:22 +0800)]
BSD - Fix watch when there is an existing folder inside the watched folder

13 years agoBSD - fix for subdir test
Chris Howey [Wed, 26 Sep 2012 01:11:20 +0000 (20:11 -0500)]
BSD - fix for subdir test

13 years agoBSD - fix to not longer get duplicate CREATE events
Chris Howey [Wed, 26 Sep 2012 00:57:52 +0000 (19:57 -0500)]
BSD - fix to not longer get duplicate CREATE events

needed to add DELETE watch for directories that are created in
watched directory

Also added a test for this behaviour

13 years agoBSD - Now receive events for created directories
Chris Howey [Sat, 1 Sep 2012 20:09:30 +0000 (15:09 -0500)]
BSD - Now receive events for created directories

13 years agoNew test - Receive event directory creation
Chris Howey [Sat, 1 Sep 2012 19:26:14 +0000 (12:26 -0700)]
New test - Receive event directory creation

13 years agoReadme notes
Chris Howey [Sat, 14 Jul 2012 19:18:47 +0000 (14:18 -0500)]
Readme notes

13 years agoWindows - Move file out of directory is a "DELETE"
Chris Howey [Sat, 14 Jul 2012 19:03:00 +0000 (14:03 -0500)]
Windows - Move file out of directory is a "DELETE"

Also, cannot move an open file, so test had to change.

13 years agoBSD - do not watch moved files (don't know new name)
Chris Howey [Sat, 14 Jul 2012 18:38:01 +0000 (13:38 -0500)]
BSD - do not watch moved files (don't know new name)

13 years agoLinux - fix to see create of file after rename
Chris Howey [Sat, 14 Jul 2012 18:30:49 +0000 (11:30 -0700)]
Linux - fix to see create of file after rename

13 years agoBSD - Fix for rename test case provided by snoe
Chris Howey [Sat, 14 Jul 2012 16:23:14 +0000 (11:23 -0500)]
BSD - Fix for rename test case provided by snoe

13 years agotest case that shows problems with dir watch on bsd
Case Nelson [Tue, 3 Jul 2012 21:17:25 +0000 (15:17 -0600)]
test case that shows problems with dir watch on bsd

13 years agoLinux - Added file name back to event path
Chris Howey [Tue, 3 Jul 2012 13:06:23 +0000 (06:06 -0700)]
Linux - Added file name back to event path

13 years agoBring example file back.
Chris Howey [Tue, 3 Jul 2012 00:56:53 +0000 (19:56 -0500)]
Bring example file back.

13 years agoWindows - FSNotify flags
Chris Howey [Tue, 3 Jul 2012 00:47:44 +0000 (19:47 -0500)]
Windows - FSNotify flags

13 years agoLinux - FSNotify flags
Chris Howey [Mon, 2 Jul 2012 23:52:42 +0000 (16:52 -0700)]
Linux - FSNotify flags