From 919af7d78f2b8ad7db35d6833f108a3df499fcb3 Mon Sep 17 00:00:00 2001 From: Nathan Youngman Date: Sun, 27 Oct 2013 13:59:39 -0600 Subject: [PATCH 1/5] 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 --- CHANGELOG.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..0595ea7 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,14 @@ +# Changelog + +## r2013-10-19 + +* [Fix] kqueue: remove file watches when parent directory is removed #71 (reported by @mdwhatcott) +* [Fix] kqueue: race between Close and readEvents #70 (reported by @bernerdschaefer) +* [Doc] specify OS-specific limits in README (thanks @debrando) + +## r2013-09-08 + +* [Doc] update package path in example code #63 (thanks @paulhammond) +* [Doc] Contributing document (thanks @nathany) +* [Doc] Cross-platform testing with Vagrant #59 (thanks @nathany) +* [Doc] GoCI badge in README (tests Linux only) #60 From e1892dbebf90e7a0e288c086ec0c6cb9e4d22459 Mon Sep 17 00:00:00 2001 From: Nathan Youngman Date: Sun, 27 Oct 2013 17:44:17 -0600 Subject: [PATCH 2/5] more Changelog still working my way back through history --- CHANGELOG.md | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0595ea7..b872b22 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,4 +11,30 @@ * [Doc] update package path in example code #63 (thanks @paulhammond) * [Doc] Contributing document (thanks @nathany) * [Doc] Cross-platform testing with Vagrant #59 (thanks @nathany) -* [Doc] GoCI badge in README (tests Linux only) #60 +* [Doc] GoCI badge in README (Linux only) #60 + +## r2013-06-17 + +* [Fix] Windows: handle `ERROR_MORE_DATA` on Windows #49 (thanks @jbowtie) + +## r2013-06-03 + +* [Fix] inotify: ignore event changes +* lower case error messages +* [API] Make syscall flags internal +* [Fix] race in symlink test #45 (reported by @srid) +* [Fix] tests on Windows + +## r2013-05-23 + +* kqueue: Use EVT_ONLY flag on Darwin +* [Doc] Update README with full example + +## r2013-05-09 + +* [Fix] inotify: allow monitoring of "broken" symlinks (thanks @tsg) + +## r2013-04-07 + +* [Fix] kqueue: watch all file events #40 (thanks @ChrisBuchholz) + From 985a98c43bd76e7d4a8dd62e14798673a594a43f Mon Sep 17 00:00:00 2001 From: Nathan Youngman Date: Sun, 27 Oct 2013 18:50:31 -0600 Subject: [PATCH 3/5] this changelog goes all the way back --- CHANGELOG.md | 94 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 94 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index b872b22..2282145 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -38,3 +38,97 @@ * [Fix] kqueue: watch all file events #40 (thanks @ChrisBuchholz) +## r2013-03-13 + +* [Fix] inoitfy/kqueue memory leak #36 (reported by @nbkolchin) +* [Fix] kqueue: use fsnFlags for watching a directory #33 (reported by @nbkolchin) + +## r2013-02-07 + +* [Doc] add Authors +* [Fix] fix data races for map access #29 (thanks @fsouza) + +## r2013-01-09 + +* [Fix] Windows path separators + +## r2012-12-17 + +* [Doc] BSD License + +## r2012-11-09 + +* kqueue: directory watching improvements (thanks @vmirage) + +## r2012-11-01 + +* inotify: add `IN_MOVED_TO` #25 (requested by @cpisto) +* [Fix] kqueue: deleting watched directory #24 (reported by @jakerr) + +## r2012-10-09 + +* [Fix] inotify: fixes from https://codereview.appspot.com/5418045/ (ugorji) +* [Fix] kqueue: preserve watch flags when watching for delete #21 (reported by @robfig) +* [Fix] kqueue: watch the directory even if it isn't a new watch (thanks @robfig) +* [Fix] kqueue: modify after recreation of file + +## r2012-09-27 + +* [Fix] kqueue: watch with an existing folder inside the watched folder (thanks @vmirage) +* [Fix] kqueue: no longer get duplicate CREATE events + +## r2012-09-01 + +* kqueue: events for created directories + +## r2012-07-14 + +* [Fix] for renaming files + +## r2012-07-02 + +* [Feature] FSNotify flags +* [Fix] inotify: Added file name back to event path + +## r2012-06-06 + +* kqueue: watch files after directory created (thanks @tmc) + +## r2012-05-22 + +* [Fix] inotify: remove all watches before Close() + +## r2012-05-03 + +* [API] kqueue: return errors during watch instead of sending over channel + +## r2012-04-28 + +* kqueue: match symlink behavior on Linux +* inotify: add `DELETE_SELF` (requested by @taralx) +* [Doc] Godoc example (thanks @davecheney) +* [Fix] kqueue: handle EINTR (reported by @robfig) + +## r2012-03-30 + +* Go 1 released: build with go tool +* [Feature] Windows support using winfsnotify +* Windows does not have attribute change notifications +* Roll attribute notifications into IsModify + +## r2012-02-19 + +* kqueue: add files when watch directory + +## r2011-12-30 + +* update to latest Go weekly code + +## r2011-10-19 + +* kqueue: add watch on file creation to match inotify +* kqueue: create file event +* inotify: ignore `IN_IGNORED` events +* event String() +* linux: common FileEvent functions +* initial commit From 61d3c62f6d0570244f3e5c5d4af77f82baf05e26 Mon Sep 17 00:00:00 2001 From: Nathan Youngman Date: Sun, 27 Oct 2013 19:05:35 -0600 Subject: [PATCH 4/5] my attempt to add versions --- CHANGELOG.md | 63 ++++++++++++++++++++++------------------------------ 1 file changed, 27 insertions(+), 36 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2282145..e6ea667 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,130 +1,121 @@ # Changelog -## r2013-10-19 +## v0.8.10 / 2013-10-19 * [Fix] kqueue: remove file watches when parent directory is removed #71 (reported by @mdwhatcott) * [Fix] kqueue: race between Close and readEvents #70 (reported by @bernerdschaefer) * [Doc] specify OS-specific limits in README (thanks @debrando) -## r2013-09-08 +## v0.8.9 / 2013-09-08 -* [Doc] update package path in example code #63 (thanks @paulhammond) * [Doc] Contributing document (thanks @nathany) * [Doc] Cross-platform testing with Vagrant #59 (thanks @nathany) +* [Doc] update package path in example code #63 (thanks @paulhammond) * [Doc] GoCI badge in README (Linux only) #60 -## r2013-06-17 +## v0.8.8 / 2013-06-17 * [Fix] Windows: handle `ERROR_MORE_DATA` on Windows #49 (thanks @jbowtie) -## r2013-06-03 +## v0.8.7 / 2013-06-03 -* [Fix] inotify: ignore event changes -* lower case error messages * [API] Make syscall flags internal +* [Fix] inotify: ignore event changes * [Fix] race in symlink test #45 (reported by @srid) * [Fix] tests on Windows +* lower case error messages -## r2013-05-23 +## v0.8.6 / 2013-05-23 * kqueue: Use EVT_ONLY flag on Darwin * [Doc] Update README with full example -## r2013-05-09 +## v0.8.5 / 2013-05-09 * [Fix] inotify: allow monitoring of "broken" symlinks (thanks @tsg) -## r2013-04-07 +## v0.8.4 / 2013-04-07 * [Fix] kqueue: watch all file events #40 (thanks @ChrisBuchholz) -## r2013-03-13 +## v0.8.3 / 2013-03-13 * [Fix] inoitfy/kqueue memory leak #36 (reported by @nbkolchin) * [Fix] kqueue: use fsnFlags for watching a directory #33 (reported by @nbkolchin) -## r2013-02-07 +## v0.8.2 / 2013-02-07 * [Doc] add Authors * [Fix] fix data races for map access #29 (thanks @fsouza) -## r2013-01-09 +## v0.8.1 / 2013-01-09 * [Fix] Windows path separators - -## r2012-12-17 - * [Doc] BSD License -## r2012-11-09 +## v0.8.0 / 2012-11-09 * kqueue: directory watching improvements (thanks @vmirage) - -## r2012-11-01 - * inotify: add `IN_MOVED_TO` #25 (requested by @cpisto) * [Fix] kqueue: deleting watched directory #24 (reported by @jakerr) -## r2012-10-09 +## v0.7.4 / 2012-10-09 * [Fix] inotify: fixes from https://codereview.appspot.com/5418045/ (ugorji) * [Fix] kqueue: preserve watch flags when watching for delete #21 (reported by @robfig) * [Fix] kqueue: watch the directory even if it isn't a new watch (thanks @robfig) * [Fix] kqueue: modify after recreation of file -## r2012-09-27 +## v0.7.3 / 2012-09-27 * [Fix] kqueue: watch with an existing folder inside the watched folder (thanks @vmirage) * [Fix] kqueue: no longer get duplicate CREATE events -## r2012-09-01 +## v0.7.2 / 2012-09-01 * kqueue: events for created directories -## r2012-07-14 +## v0.7.1 / 2012-07-14 * [Fix] for renaming files -## r2012-07-02 +## v0.7.0 / 2012-07-02 * [Feature] FSNotify flags * [Fix] inotify: Added file name back to event path -## r2012-06-06 +## v0.6.0 / 2012-06-06 * kqueue: watch files after directory created (thanks @tmc) -## r2012-05-22 +## v0.5.1 / 2012-05-22 * [Fix] inotify: remove all watches before Close() -## r2012-05-03 +## v0.5.0 / 2012-05-03 * [API] kqueue: return errors during watch instead of sending over channel - -## r2012-04-28 - * kqueue: match symlink behavior on Linux * inotify: add `DELETE_SELF` (requested by @taralx) -* [Doc] Godoc example (thanks @davecheney) * [Fix] kqueue: handle EINTR (reported by @robfig) +* [Doc] Godoc example (thanks @davecheney) -## r2012-03-30 +## v0.4.0 / 2012-03-30 * Go 1 released: build with go tool * [Feature] Windows support using winfsnotify * Windows does not have attribute change notifications * Roll attribute notifications into IsModify -## r2012-02-19 +## v0.3.0 / 2012-02-19 * kqueue: add files when watch directory -## r2011-12-30 +## v0.2.0 / 2011-12-30 * update to latest Go weekly code -## r2011-10-19 +## v0.1.0 / 2011-10-19 * kqueue: add watch on file creation to match inotify * kqueue: create file event From 97acc6a289c3a7698ff621c9ea68ed7da22a7f09 Mon Sep 17 00:00:00 2001 From: Nathan Youngman Date: Sun, 27 Oct 2013 19:18:37 -0600 Subject: [PATCH 5/5] link issues mentioned in Changelog --- CHANGELOG.md | 55 +++++++++++++++++++++++++++++++++++++--------------- 1 file changed, 39 insertions(+), 16 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e6ea667..917ea3f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,27 +1,32 @@ # Changelog +## unreleased + +* [Doc] Add Changelog [#72][] (thanks @nathany) +* [Doc] Spotlight and double modify events on OS X [#62][] (reported by @paulhammond) + ## v0.8.10 / 2013-10-19 -* [Fix] kqueue: remove file watches when parent directory is removed #71 (reported by @mdwhatcott) -* [Fix] kqueue: race between Close and readEvents #70 (reported by @bernerdschaefer) +* [Fix] kqueue: remove file watches when parent directory is removed [#71][] (reported by @mdwhatcott) +* [Fix] kqueue: race between Close and readEvents [#70][] (reported by @bernerdschaefer) * [Doc] specify OS-specific limits in README (thanks @debrando) ## v0.8.9 / 2013-09-08 -* [Doc] Contributing document (thanks @nathany) -* [Doc] Cross-platform testing with Vagrant #59 (thanks @nathany) -* [Doc] update package path in example code #63 (thanks @paulhammond) -* [Doc] GoCI badge in README (Linux only) #60 +* [Doc] Contributing (thanks @nathany) +* [Doc] update package path in example code [#63][] (thanks @paulhammond) +* [Doc] GoCI badge in README (Linux only) [#60][] +* [Doc] Cross-platform testing with Vagrant [#59][] (thanks @nathany) ## v0.8.8 / 2013-06-17 -* [Fix] Windows: handle `ERROR_MORE_DATA` on Windows #49 (thanks @jbowtie) +* [Fix] Windows: handle `ERROR_MORE_DATA` on Windows [#49][] (thanks @jbowtie) ## v0.8.7 / 2013-06-03 * [API] Make syscall flags internal * [Fix] inotify: ignore event changes -* [Fix] race in symlink test #45 (reported by @srid) +* [Fix] race in symlink test [#45][] (reported by @srid) * [Fix] tests on Windows * lower case error messages @@ -36,17 +41,17 @@ ## v0.8.4 / 2013-04-07 -* [Fix] kqueue: watch all file events #40 (thanks @ChrisBuchholz) +* [Fix] kqueue: watch all file events [#40][] (thanks @ChrisBuchholz) ## v0.8.3 / 2013-03-13 -* [Fix] inoitfy/kqueue memory leak #36 (reported by @nbkolchin) -* [Fix] kqueue: use fsnFlags for watching a directory #33 (reported by @nbkolchin) +* [Fix] inoitfy/kqueue memory leak [#36][] (reported by @nbkolchin) +* [Fix] kqueue: use fsnFlags for watching a directory [#33][] (reported by @nbkolchin) ## v0.8.2 / 2013-02-07 * [Doc] add Authors -* [Fix] fix data races for map access #29 (thanks @fsouza) +* [Fix] fix data races for map access [#29][] (thanks @fsouza) ## v0.8.1 / 2013-01-09 @@ -56,13 +61,13 @@ ## v0.8.0 / 2012-11-09 * kqueue: directory watching improvements (thanks @vmirage) -* inotify: add `IN_MOVED_TO` #25 (requested by @cpisto) -* [Fix] kqueue: deleting watched directory #24 (reported by @jakerr) +* inotify: add `IN_MOVED_TO` [#25][] (requested by @cpisto) +* [Fix] kqueue: deleting watched directory [#24][] (reported by @jakerr) ## v0.7.4 / 2012-10-09 * [Fix] inotify: fixes from https://codereview.appspot.com/5418045/ (ugorji) -* [Fix] kqueue: preserve watch flags when watching for delete #21 (reported by @robfig) +* [Fix] kqueue: preserve watch flags when watching for delete [#21][] (reported by @robfig) * [Fix] kqueue: watch the directory even if it isn't a new watch (thanks @robfig) * [Fix] kqueue: modify after recreation of file @@ -98,7 +103,7 @@ * kqueue: match symlink behavior on Linux * inotify: add `DELETE_SELF` (requested by @taralx) * [Fix] kqueue: handle EINTR (reported by @robfig) -* [Doc] Godoc example (thanks @davecheney) +* [Doc] Godoc example [#1][] (thanks @davecheney) ## v0.4.0 / 2012-03-30 @@ -123,3 +128,21 @@ * event String() * linux: common FileEvent functions * initial commit + +[#72]: https://github.com/howeyc/fsnotify/issues/72 +[#71]: https://github.com/howeyc/fsnotify/issues/71 +[#70]: https://github.com/howeyc/fsnotify/issues/70 +[#63]: https://github.com/howeyc/fsnotify/issues/63 +[#62]: https://github.com/howeyc/fsnotify/issues/62 +[#60]: https://github.com/howeyc/fsnotify/issues/60 +[#59]: https://github.com/howeyc/fsnotify/issues/59 +[#49]: https://github.com/howeyc/fsnotify/issues/49 +[#45]: https://github.com/howeyc/fsnotify/issues/45 +[#40]: https://github.com/howeyc/fsnotify/issues/40 +[#36]: https://github.com/howeyc/fsnotify/issues/36 +[#33]: https://github.com/howeyc/fsnotify/issues/33 +[#29]: https://github.com/howeyc/fsnotify/issues/29 +[#25]: https://github.com/howeyc/fsnotify/issues/25 +[#24]: https://github.com/howeyc/fsnotify/issues/24 +[#21]: https://github.com/howeyc/fsnotify/issues/21 +[#1]: https://github.com/howeyc/fsnotify/issues/1