diff --git a/CHANGELOG.md b/CHANGELOG.md index 4dec1aa1..d7829463 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,37 +12,37 @@ - FIX: Undo filetime pin. [#202], [`22e40f5e`] - META: Project is abandoned. -[#202]: https://github.com/passcod/notify/issues/202 -[`22e40f5e`]: https://github.com/passcod/notify/commit/22e40f5e4cb2a23528f169fc92015f935edc1c55 +[#202]: https://github.com/notify-rs/notify/issues/202 +[`22e40f5e`]: https://github.com/notify-rs/notify/commit/22e40f5e4cb2a23528f169fc92015f935edc1c55 ## 4.0.12 (2019-05-22) - FIX: Implement `Sync` for PollWatcher to support FreeBSD. [#198] - DEPS: Peg filetime to 1.2.5 to maintain rustc 1.26.1 compatibility. [#199] -[#198]: https://github.com/passcod/notify/issues/198 -[#199]: https://github.com/passcod/notify/issues/199 +[#198]: https://github.com/notify-rs/notify/issues/198 +[#199]: https://github.com/notify-rs/notify/issues/199 ## 4.0.11 (2019-05-08) - DEPS: \[macOS\] Upgrade fsevent to 0.4. [#196] -[#196]: https://github.com/passcod/notify/issues/196 +[#196]: https://github.com/notify-rs/notify/issues/196 ## 4.0.10 (2019-03-07) - FIX: Panic caused by a clock race. [#182] - DOCS: Add xi to Readme showcase. [`e6f09441`] -[#182]: https://github.com/passcod/notify/issues/182 -[`e6f09441`]: https://github.com/passcod/notify/commit/e6f0944165551fa2ed9ad70e3e11d8b14186fc0a +[#182]: https://github.com/notify-rs/notify/issues/182 +[`e6f09441`]: https://github.com/notify-rs/notify/commit/e6f0944165551fa2ed9ad70e3e11d8b14186fc0a ## 4.0.9 (2019-02-09) - FIX: High CPU usage in some conditions when using debouncing. [#177], [#178], coming from [rust-analyzer/#556] -[#177]: https://github.com/passcod/notify/issues/177 -[#178]: https://github.com/passcod/notify/issues/178 +[#177]: https://github.com/notify-rs/notify/issues/177 +[#178]: https://github.com/notify-rs/notify/issues/178 [rust-analyzer/#556]: https://github.com/rust-analyzer/rust-analyzer/issues/556 ## 4.0.8 (2019-02-06) @@ -53,13 +53,13 @@ - DOCS: Backfill changelog: 4.0.2 to 4.0.7. [`6457f697`] - DOCS: Backfill changelog: 0.0.1 to 2.6.0. [`d34e6ee7`] -[#175]: https://github.com/passcod/notify/issues/175 -[`34775f26`]: https://github.com/passcod/notify/commit/34775f2695ec236fabc79f2c938e12e4cd54047b -[#176]: https://github.com/passcod/notify/issues/176 -[`e729e279`]: https://github.com/passcod/notify/commit/e729e279f0721c4a5729e725a7cd5e4d761efb58 -[`cc621398`]: https://github.com/passcod/notify/commit/cc621398e56e2257daf5816e8c2bb01ca79e8ddb -[`6457f697`]: https://github.com/passcod/notify/commit/6457f6975a9171483d531fcdafb956d2ee334d55 -[`d34e6ee7`]: https://github.com/passcod/notify/commit/d34e6ee70df9b4905cbd04fe1a2b5770a9d2a4d4 +[#175]: https://github.com/notify-rs/notify/issues/175 +[`34775f26`]: https://github.com/notify-rs/notify/commit/34775f2695ec236fabc79f2c938e12e4cd54047b +[#176]: https://github.com/notify-rs/notify/issues/176 +[`e729e279`]: https://github.com/notify-rs/notify/commit/e729e279f0721c4a5729e725a7cd5e4d761efb58 +[`cc621398`]: https://github.com/notify-rs/notify/commit/cc621398e56e2257daf5816e8c2bb01ca79e8ddb +[`6457f697`]: https://github.com/notify-rs/notify/commit/6457f6975a9171483d531fcdafb956d2ee334d55 +[`d34e6ee7`]: https://github.com/notify-rs/notify/commit/d34e6ee70df9b4905cbd04fe1a2b5770a9d2a4d4 ## 4.0.7 (2019-01-23) @@ -76,25 +76,25 @@ - META: Add maintenance status badge. [`ecd686ba`] - DOCS: Freeze v4 branch (2018-10-05) [`8310b2cc`] — and subsequently unfreeze it. (2019-01-19) [`20c40f99`], [`c00da47c`] -[#165]: https://github.com/passcod/notify/issues/165 -[#166]: https://github.com/passcod/notify/issues/166 -[`8310b2cc`]: https://github.com/passcod/notify/commit/8310b2ccf68382548914df6ffeaf45248565b9fb -[`0b4c8400`]: https://github.com/passcod/notify/commit/0b4c840091f5b3ebd3262d7109308828800dc976 -[#167]: https://github.com/passcod/notify/issues/167 -[#170]: https://github.com/passcod/notify/issues/170 -[#174]: https://github.com/passcod/notify/issues/174 -[`eab75118`]: https://github.com/passcod/notify/commit/eab75118464dc5d0d48dce31ab7a8e07d7e68d80 -[`50924cd6`]: https://github.com/passcod/notify/commit/50924cd676c8bce877634e32260ef3872f2feccb -[`ecd686ba`]: https://github.com/passcod/notify/commit/ecd686bab604442c315c114e536bdc310a9413b1 -[`20c40f99`]: https://github.com/passcod/notify/commit/20c40f99ad042fba5abf36f65e9ee598562744d8 -[`c00da47c`]: https://github.com/passcod/notify/commit/c00da47ce63815972ef7c4bafd3b8c2c11b8b0de +[#165]: https://github.com/notify-rs/notify/issues/165 +[#166]: https://github.com/notify-rs/notify/issues/166 +[`8310b2cc`]: https://github.com/notify-rs/notify/commit/8310b2ccf68382548914df6ffeaf45248565b9fb +[`0b4c8400`]: https://github.com/notify-rs/notify/commit/0b4c840091f5b3ebd3262d7109308828800dc976 +[#167]: https://github.com/notify-rs/notify/issues/167 +[#170]: https://github.com/notify-rs/notify/issues/170 +[#174]: https://github.com/notify-rs/notify/issues/174 +[`eab75118`]: https://github.com/notify-rs/notify/commit/eab75118464dc5d0d48dce31ab7a8e07d7e68d80 +[`50924cd6`]: https://github.com/notify-rs/notify/commit/50924cd676c8bce877634e32260ef3872f2feccb +[`ecd686ba`]: https://github.com/notify-rs/notify/commit/ecd686bab604442c315c114e536bdc310a9413b1 +[`20c40f99`]: https://github.com/notify-rs/notify/commit/20c40f99ad042fba5abf36f65e9ee598562744d8 +[`c00da47c`]: https://github.com/notify-rs/notify/commit/c00da47ce63815972ef7c4bafd3b8c2c11b8b0de ## 4.0.6 (2018-08-30) - FIX: Add some consts to restore semver compatibility. [`6d4f1ab9`] -[`6d4f1ab9`]: https://github.com/passcod/notify/commit/6d4f1ab9af76ecfc856f573a3f5584ddcfe017df +[`6d4f1ab9`]: https://github.com/notify-rs/notify/commit/6d4f1ab9af76ecfc856f573a3f5584ddcfe017df ## 4.0.5 (2018-08-29) @@ -102,7 +102,7 @@ - DEPS: Update winapi (0.3), mio (0.6), inotify (0.6), filetime (0.2), bitflags (1.0). [#162] - SEMVER BREAK: The bitflags upgrade introduced a breaking change to the API. -[#162]: https://github.com/passcod/notify/issues/162 +[#162]: https://github.com/notify-rs/notify/issues/162 ## 4.0.4 (2018-08-06) @@ -112,10 +112,10 @@ - DOCS: [Rename OS X to macOS](https://www.wired.com/2016/06/apple-os-x-dead-long-live-macos/). [#156] - FIX: \[FreeBSD / Poll\] Release the lock while the thread sleeps (was causing random hangs). [#159] -[#148]: https://github.com/passcod/notify/issues/148 -[#154]: https://github.com/passcod/notify/issues/154 -[#156]: https://github.com/passcod/notify/issues/156 -[#159]: https://github.com/passcod/notify/issues/159 +[#148]: https://github.com/notify-rs/notify/issues/148 +[#154]: https://github.com/notify-rs/notify/issues/154 +[#156]: https://github.com/notify-rs/notify/issues/156 +[#159]: https://github.com/notify-rs/notify/issues/159 ## 4.0.3 (2017-11-26) @@ -124,17 +124,17 @@ - FIX: \[macOS\] Deadlock due to race in FsEventWatcher. [#118], [#134] - DEPS: Update walkdir to 2.0. [`fbffef24`] -[#118]: https://github.com/passcod/notify/issues/118 -[#132]: https://github.com/passcod/notify/issues/132 -[#134]: https://github.com/passcod/notify/issues/134 -[`fbffef24`]: https://github.com/passcod/notify/commit/fbffef244726aae6e8a98e33ecb77a66274db91b +[#118]: https://github.com/notify-rs/notify/issues/118 +[#132]: https://github.com/notify-rs/notify/issues/132 +[#134]: https://github.com/notify-rs/notify/issues/134 +[`fbffef24`]: https://github.com/notify-rs/notify/commit/fbffef244726aae6e8a98e33ecb77a66274db91b ## 4.0.2 (2017-11-03) - FIX: Suppress events for files which have been moved and deleted if a new file in the original location is created quickly when using the debounced interface (eg. while safe-saving files) [#129] -[#129]: https://github.com/passcod/notify/issues/129 +[#129]: https://github.com/notify-rs/notify/issues/129 ## 4.0.1 (2017-03-25) @@ -147,7 +147,7 @@ - CHANGE: \[Linux\] Update dependency to inotify 0.3.0. - FIX: \[macOS\] `.watch()` panics on macOS when the target doesn't exist. [#105] -[#105]: https://github.com/passcod/notify/issues/105 +[#105]: https://github.com/notify-rs/notify/issues/105 ## (start work on vNext) (2016-12-29) @@ -155,9 +155,9 @@ - FIX: \[macOS\] Fix multiple panics in debounce module related to move events. [#99], [#100], [#101] -[#99]: https://github.com/passcod/notify/issues/99 -[#100]: https://github.com/passcod/notify/issues/100 -[#101]: https://github.com/passcod/notify/issues/101 +[#99]: https://github.com/notify-rs/notify/issues/99 +[#100]: https://github.com/notify-rs/notify/issues/100 +[#101]: https://github.com/notify-rs/notify/issues/101 ## 3.0.0 (2016-10-30) @@ -174,19 +174,19 @@ - CHANGE: \[Linux\] Remove `IGNORED` event. **breaking** - CHANGE: \[Linux\] Provide absolute paths even if the watch was created with a relative path. -[#60]: https://github.com/passcod/notify/issues/60 -[#61]: https://github.com/passcod/notify/issues/61 -[#63]: https://github.com/passcod/notify/issues/63 -[#88]: https://github.com/passcod/notify/issues/88 -[#90]: https://github.com/passcod/notify/issues/90 -[#93]: https://github.com/passcod/notify/issues/93 +[#60]: https://github.com/notify-rs/notify/issues/60 +[#61]: https://github.com/notify-rs/notify/issues/61 +[#63]: https://github.com/notify-rs/notify/issues/63 +[#88]: https://github.com/notify-rs/notify/issues/88 +[#90]: https://github.com/notify-rs/notify/issues/90 +[#93]: https://github.com/notify-rs/notify/issues/93 ## 2.6.3 (2016-08-05) - FIX: \[macOS\] Bump `fsevents` version. [#91] -[#91]: https://github.com/passcod/notify/issues/91 +[#91]: https://github.com/notify-rs/notify/issues/91 ## 2.6.2 (2016-07-05) @@ -195,8 +195,8 @@ - FEATURE: \[Windows\] Implement Send and Sync for ReadDirectoryChangesWatcher. [#82] - DOCS: Add example to monitor a given file or directory. [#77] -[#77]: https://github.com/passcod/notify/issues/77 -[#82]: https://github.com/passcod/notify/issues/82 +[#77]: https://github.com/notify-rs/notify/issues/77 +[#82]: https://github.com/notify-rs/notify/issues/82 ## 2.6.1 (2016-06-09) @@ -204,8 +204,8 @@ - FIX: \[Linux\] Only register _directories_ for watching. [#74] - DOCS: Update Readme example code. [`ccfb54be`] -[`ccfb54be`]: https://github.com/passcod/notify/commit/ccfb54bed3df7c4c5e0058566f10232e92b526a4 -[#74]: https://github.com/passcod/notify/issues/74 +[`ccfb54be`]: https://github.com/notify-rs/notify/commit/ccfb54bed3df7c4c5e0058566f10232e92b526a4 +[#74]: https://github.com/notify-rs/notify/issues/74 ## 2.6.0 (2016-06-06) @@ -220,16 +220,16 @@ - Simplify Cargo.toml. [#75] - FEATURE: Implement std::Error for our Error type. [#71] -[#57]: https://github.com/passcod/notify/issues/57 -[#59]: https://github.com/passcod/notify/issues/59 -[#58]: https://github.com/passcod/notify/issues/58 -[#72]: https://github.com/passcod/notify/issues/72 -[#49]: https://github.com/passcod/notify/issues/49 -[#70]: https://github.com/passcod/notify/issues/70 -[#65]: https://github.com/passcod/notify/issues/65 -[#73]: https://github.com/passcod/notify/issues/73 -[#75]: https://github.com/passcod/notify/issues/75 -[#71]: https://github.com/passcod/notify/issues/71 +[#57]: https://github.com/notify-rs/notify/issues/57 +[#59]: https://github.com/notify-rs/notify/issues/59 +[#58]: https://github.com/notify-rs/notify/issues/58 +[#72]: https://github.com/notify-rs/notify/issues/72 +[#49]: https://github.com/notify-rs/notify/issues/49 +[#70]: https://github.com/notify-rs/notify/issues/70 +[#65]: https://github.com/notify-rs/notify/issues/65 +[#73]: https://github.com/notify-rs/notify/issues/73 +[#75]: https://github.com/notify-rs/notify/issues/75 +[#71]: https://github.com/notify-rs/notify/issues/71 ## 2.5.5 (2016-03-27) @@ -239,24 +239,24 @@ - RELENG: \[macOS\] Support i686. [#54] - FEATURE: Implement `Display` on `Error`. [#56] -[#51]: https://github.com/passcod/notify/issues/51 -[#52]: https://github.com/passcod/notify/issues/52 -[#54]: https://github.com/passcod/notify/issues/54 -[#56]: https://github.com/passcod/notify/issues/56 +[#51]: https://github.com/notify-rs/notify/issues/51 +[#52]: https://github.com/notify-rs/notify/issues/52 +[#54]: https://github.com/notify-rs/notify/issues/54 +[#56]: https://github.com/notify-rs/notify/issues/56 ## 2.5.4 (2016-01-23) - META: Remove all `*` specifiers to comply with Crates.io policy. [`9f44843f`] -[`9f44843f`]: https://github.com/passcod/notify/commit/9f44843f2e70b2e1fcb3ef8b0834692fe75a99a6 +[`9f44843f`]: https://github.com/notify-rs/notify/commit/9f44843f2e70b2e1fcb3ef8b0834692fe75a99a6 ## 2.5.3 (2015-12-25) - RELENG: \[Linux\] Support i686. [#46] -[#46]: https://github.com/passcod/notify/issues/46 +[#46]: https://github.com/notify-rs/notify/issues/46 ## 2.5.2 (2015-12-21) @@ -265,10 +265,10 @@ - FIX: \[Linux\] Use a mio loop instead of handmade. [#40] - DEPS: Replace walker by walkdir (0.1). [#44] -[#43]: https://github.com/passcod/notify/issues/43 -[#45]: https://github.com/passcod/notify/issues/45 -[#40]: https://github.com/passcod/notify/issues/40 -[#44]: https://github.com/passcod/notify/issues/44 +[#43]: https://github.com/notify-rs/notify/issues/43 +[#45]: https://github.com/notify-rs/notify/issues/45 +[#40]: https://github.com/notify-rs/notify/issues/40 +[#44]: https://github.com/notify-rs/notify/issues/44 ## 2.5.1 (2015-12-05) @@ -276,8 +276,8 @@ - META: Update Code of Conduct. [`c963bdf0`] - RELENG: Support musl. [#42] -[`c963bdf0`]: https://github.com/passcod/notify/commit/c963bdf0a94d951f5d11ca2a691eeb42746e721b -[#42]: https://github.com/passcod/notify/issues/42 +[`c963bdf0`]: https://github.com/notify-rs/notify/commit/c963bdf0a94d951f5d11ca2a691eeb42746e721b +[#42]: https://github.com/notify-rs/notify/issues/42 ## 2.5.0 (2015-11-29) @@ -285,8 +285,8 @@ - FEATURE: Add Windows backend. [#39] - META: Add AppVeyor CI. [`304473c3`] -[`304473c3`]: https://github.com/passcod/notify/commit/304473c32a76ec60bbcb20a1d673fa7c5879767d -[#39]: https://github.com/passcod/notify/issues/39 +[`304473c3`]: https://github.com/notify-rs/notify/commit/304473c32a76ec60bbcb20a1d673fa7c5879767d +[#39]: https://github.com/notify-rs/notify/issues/39 ## 2.4.1 (2015-11-06) @@ -299,16 +299,16 @@ - FIX: \[macOS\] Stop segfault when watcher is moved. [#33], [#35] - FEATURE: Add `::with_delay` to poll. [#34] -[#33]: https://github.com/passcod/notify/issues/33 -[#35]: https://github.com/passcod/notify/issues/35 -[#34]: https://github.com/passcod/notify/issues/34 +[#33]: https://github.com/notify-rs/notify/issues/33 +[#35]: https://github.com/notify-rs/notify/issues/35 +[#34]: https://github.com/notify-rs/notify/issues/34 ## 2.3.3 (2015-10-08) - FIX: Comply with Rust RFC 1214, adding `Sized` bound to trait. [#32] -[#32]: https://github.com/passcod/notify/issues/32 +[#32]: https://github.com/notify-rs/notify/issues/32 ## 2.3.2 (2015-09-08) @@ -316,22 +316,22 @@ - META: Use Travis CI Linux containers, macOS builds. [`7081297d`] - FIX: \[macOS\] Symlinks and broken tests. [#27] -[`7081297d`]: https://github.com/passcod/notify/commit/7081297de6c557484e4cc7fbf8b2837a7d408870 -[#27]: https://github.com/passcod/notify/issues/27 +[`7081297d`]: https://github.com/notify-rs/notify/commit/7081297de6c557484e4cc7fbf8b2837a7d408870 +[#27]: https://github.com/notify-rs/notify/issues/27 ## 2.3.1 (2015-08-24) - FIX: Move paths instead of borrowing. [`3340d740`] -[`3340d740`]: https://github.com/passcod/notify/commit/3340d7401230be5f5ed59956b29f8db3a1c12d1c +[`3340d740`]: https://github.com/notify-rs/notify/commit/3340d7401230be5f5ed59956b29f8db3a1c12d1c ## 2.3.0 (2015-07-29) - FEATURE: Use `AsRef` instead of `Path` in signatures. [#25] -[#25]: https://github.com/passcod/notify/issues/25 +[#25]: https://github.com/notify-rs/notify/issues/25 ## 2.2.0 (2015-07-12) @@ -339,7 +339,7 @@ - FEATURE: \[Linux\] Support watching single file. [#22] - META: Change release commit message style to be just the version, instead of "Cut ${version}". -[#22]: https://github.com/passcod/notify/issues/22 +[#22]: https://github.com/notify-rs/notify/issues/22 ## 2.1.0 (2015-06-26) @@ -349,10 +349,10 @@ - FIX: \[Linux\] Inverse op::WRITE and op::REMOVE. [#18] - DEPS: \[macOS\] Use fsevent (0.2). [#14] -[`4b88f7d9`]: https://github.com/passcod/notify/commit/4b88f7d9fcc4c41bb942c46c792f64afc848db2c -[#12]: https://github.com/passcod/notify/issues/12 -[#18]: https://github.com/passcod/notify/issues/18 -[#14]: https://github.com/passcod/notify/issues/14 +[`4b88f7d9`]: https://github.com/notify-rs/notify/commit/4b88f7d9fcc4c41bb942c46c792f64afc848db2c +[#12]: https://github.com/notify-rs/notify/issues/12 +[#18]: https://github.com/notify-rs/notify/issues/18 +[#14]: https://github.com/notify-rs/notify/issues/14 ## 2.0.0 (2015-06-09) @@ -361,30 +361,30 @@ - FEATURE: \[macOS\] FSEvent backend. [#13] - BREAKING: Remove Poll backend. [`92936460`] -[`0b127a38`]: https://github.com/passcod/notify/commit/0b127a383072b0136bb44f74d5580abae01e7627 -[`92936460`]: https://github.com/passcod/notify/commit/92936460070d4dd44090fc9e3b4c4150c2ef434c -[#13]: https://github.com/passcod/notify/issues/13 +[`0b127a38`]: https://github.com/notify-rs/notify/commit/0b127a383072b0136bb44f74d5580abae01e7627 +[`92936460`]: https://github.com/notify-rs/notify/commit/92936460070d4dd44090fc9e3b4c4150c2ef434c +[#13]: https://github.com/notify-rs/notify/issues/13 ## 1.2.2 (2015-05-09) - RUST: Update to latest, migrate to bitflags crate. [#11] -[#11]: https://github.com/passcod/notify/issues/11 +[#11]: https://github.com/notify-rs/notify/issues/11 ## 1.2.1 (2015-04-03) - RUST: Update to latest, thread upgrades. [#9] -[#9]: https://github.com/passcod/notify/issues/9 +[#9]: https://github.com/notify-rs/notify/issues/9 ## 1.2.0 (2015-03-05) - FEATURE: Provide full path to file that caused an event. [#8] -[#8]: https://github.com/passcod/notify/issues/8 +[#8]: https://github.com/notify-rs/notify/issues/8 ## 1.1.3 (2015-02-18) @@ -394,31 +394,31 @@ - RUST: Update to latest, upgrade to new IO. [#5] - FIX: \[Linux\] Keep watching when there are no events received. [#6] -[`2c865803`]: https://github.com/passcod/notify/commit/2c865803ba9d04227661e3cd320732da22526634 -[`9c7dd960`]: https://github.com/passcod/notify/commit/9c7dd960f3f4e635046b6a1dd4b847c69dfd4f94 -[#5]: https://github.com/passcod/notify/issues/5 -[#6]: https://github.com/passcod/notify/issues/6 +[`2c865803`]: https://github.com/notify-rs/notify/commit/2c865803ba9d04227661e3cd320732da22526634 +[`9c7dd960`]: https://github.com/notify-rs/notify/commit/9c7dd960f3f4e635046b6a1dd4b847c69dfd4f94 +[#5]: https://github.com/notify-rs/notify/issues/5 +[#6]: https://github.com/notify-rs/notify/issues/6 ## 1.1.2 (2015-02-03) - RUST: Update to latest, using `old_io`. [`116af0c4`] -[`116af0c4`]: https://github.com/passcod/notify/commit/116af0c4e00b5d5b268a9d69bba772cc1f2f67fa +[`116af0c4`]: https://github.com/notify-rs/notify/commit/116af0c4e00b5d5b268a9d69bba772cc1f2f67fa ## 1.1.1 (2015-01-06) - RUST: Update to latest and fix changes to channels. [`327075c2`] -[`327075c2`]: https://github.com/passcod/notify/commit/327075c2ecd1d0c4123e9979aeebde4248015ef6 +[`327075c2`]: https://github.com/notify-rs/notify/commit/327075c2ecd1d0c4123e9979aeebde4248015ef6 ## 1.1.0 (2015-01-06) - FEATURE: \[Linux\] Recursive watch. [#2] -[#2]: https://github.com/passcod/notify/issues/2 +[#2]: https://github.com/notify-rs/notify/issues/2 ## 1.0.5 (2015-01-03) @@ -427,29 +427,29 @@ - RUST: Update to latest. [`fd78d0e4`] - FIX: \[Linux\] Stop panic when inotify backend is dropped. [`6f7d38a9`] -[`6f7d38a9`]: https://github.com/passcod/notify/commit/6f7d38a94aead30c2f059bb6bea8bdcda542d4af -[`fd78d0e4`]: https://github.com/passcod/notify/commit/fd78d0e4b988d92d1be81e05e1812432ad476149 +[`6f7d38a9`]: https://github.com/notify-rs/notify/commit/6f7d38a94aead30c2f059bb6bea8bdcda542d4af +[`fd78d0e4`]: https://github.com/notify-rs/notify/commit/fd78d0e4b988d92d1be81e05e1812432ad476149 ## 1.0.4 (2014-12-23) - RUST: Update to latest. [`d45c954c`] -[`d45c954c`]: https://github.com/passcod/notify/commit/d45c954c03f2d4d948e252abdcf7136a139b378b +[`d45c954c`]: https://github.com/notify-rs/notify/commit/d45c954c03f2d4d948e252abdcf7136a139b378b ## 1.0.3 (2014-12-23) - DEPS: Update inotify (0.1). [`fcda20bb`] -[`fcda20bb`]: https://github.com/passcod/notify/commit/fcda20bb17e9b2b30645350c57d9bfe2ce9b78d9 +[`fcda20bb`]: https://github.com/notify-rs/notify/commit/fcda20bb17e9b2b30645350c57d9bfe2ce9b78d9 ## 1.0.2 (2014-12-21) - FIX: Build on non-Linux platforms. [`55c8d7b0`] -[`55c8d7b0`]: https://github.com/passcod/notify/commit/55c8d7b0bb7ae767b3032ccb57571de5d506e842 +[`55c8d7b0`]: https://github.com/notify-rs/notify/commit/55c8d7b0bb7ae767b3032ccb57571de5d506e842 ## 1.0.1 (2014-12-20) @@ -457,7 +457,7 @@ - DOCS: Add example code to Readme. [`f14e83f3`] - META: Add cargo metadata. [`f14e83f3`] -[`f14e83f3`]: https://github.com/passcod/notify/commit/f14e83f33df33f362f151525bce768911933d0dd +[`f14e83f3`]: https://github.com/notify-rs/notify/commit/f14e83f33df33f362f151525bce768911933d0dd ## 1.0.0 (2014-12-20) @@ -467,9 +467,9 @@ - FEATURE: Poll backend. [`b24a5339`] - FEATURE: Recommended watcher selection mechanism. [`a9c60ebf`] -[`d4b61fd2`]: https://github.com/passcod/notify/commit/d4b61fd29c82880c473f20a2d7119977817530e0 -[`b24a5339`]: https://github.com/passcod/notify/commit/b24a5339680792cbd7b4f25ad7ec23a04b2eba57 -[`a9c60ebf`]: https://github.com/passcod/notify/commit/a9c60ebf0fcc630bd745dc7e5106a24311c5f1bf +[`d4b61fd2`]: https://github.com/notify-rs/notify/commit/d4b61fd29c82880c473f20a2d7119977817530e0 +[`b24a5339`]: https://github.com/notify-rs/notify/commit/b24a5339680792cbd7b4f25ad7ec23a04b2eba57 +[`a9c60ebf`]: https://github.com/notify-rs/notify/commit/a9c60ebf0fcc630bd745dc7e5106a24311c5f1bf ## 0.0.1 (2014-12-11) diff --git a/Cargo.toml b/Cargo.toml index c75c3a24..77626b37 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "notify" -version = "4.0.14" +version = "4.0.15" authors = [ "Félix Saparelli ", "Jorge Israel Peña ", @@ -12,15 +12,15 @@ authors = [ ] description = "Cross-platform filesystem notification library" documentation = "https://docs.rs/notify" -homepage = "https://github.com/passcod/notify" -repository = "https://github.com/passcod/notify.git" +homepage = "https://github.com/notify-rs/notify" +repository = "https://github.com/notify-rs/notify.git" readme = "README.md" license = "CC0-1.0" keywords = ["events", "filesystem", "notify", "watch"] categories = ["filesystem"] [badges] -travis-ci = { repository = "passcod/notify", branch = "main" } +travis-ci = { repository = "notify-rs/notify", branch = "main" } [dependencies] bitflags = "^1.0.4" @@ -38,8 +38,7 @@ fsevent = "0.4" fsevent-sys = "2" [target.'cfg(windows)'.dependencies] -winapi = "^0.3.5" -kernel32-sys = "^0.2.1" +winapi = { version = "0.3.8", features = ["fileapi", "handleapi", "ioapiset", "minwinbase", "synchapi", "winbase", "winnt"] } [dev-dependencies] tempdir = "^0.3.4" diff --git a/README.md b/README.md index 593f7ef1..38a650d0 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ [![» Crate](https://flat.badgen.net/crates/v/notify)][crate] [![» Docs](https://flat.badgen.net/badge/api/docs.rs/df3600)][docs] -[![» CI](https://flat.badgen.net/travis/passcod/notify/main)][build] +[![» CI](https://flat.badgen.net/travis/notify-rs/notify/main)][build] [![» Downloads](https://flat.badgen.net/crates/d/notify)][crate] [![» Conduct](https://flat.badgen.net/badge/contributor/covenant/5e0d73)][coc] [![» Public Domain](https://flat.badgen.net/badge/license/CC0-1.0/purple)][cc0] @@ -14,41 +14,17 @@ _Cross-platform filesystem notification library for Rust._ - [API Documentation][docs] - [Crate page][crate] -- [Version Next progress](https://github.com/passcod/notify/tree/next#status) +- [Version Next progress](https://github.com/notify-rs/notify/tree/next#status) - Earliest supported Rust version: **1.26.1** As used by: [alacritty], [cargo watch], [cobalt], [docket], [handlebars-iron], [mdBook], [pax], [rdiff], [timetrack], [watchexec], [xi-editor], and others. -## Notify is abandoned - -Sorry. - -Notify has been years of my life and as much as it’s a tough decision, I’m also -greatly relieved. It’s been great, it’s been not so great; it’s now time. I got -some distance, took a hard look at it all, and realised I don’t want to do this -any more. For way longer than I should have let this go on for, Notify sparked -negative joy, and I’m Marie-Kondo-ing it out. - -The logistics: several people have commit bit, and several people have publish -bit, and the project is also covered by the -[Rust Bus](https://users.rust-lang.org/t/bus-factor-1-for-crates/17046). - -If you want to take over or get commit/publish bits and you’re a -trusted/respected community member, just ask. If you’re not a trusted/respected -community member, try forking first. - -I will not merge PRs, I will not commit unless it’s an emergency, I will not -respond to issues or comments unless I really really feel like it, and the goal -is total disengagement. - -So Long 🔭 And Thanks For All The Fish 🐬 - ## Installation ```toml [dependencies] -notify = "4.0.13" +notify = "4.0.15" ``` ## Usage @@ -131,13 +107,13 @@ Public Domain using the [Creative Commons Zero Declaration][cc0]. [Félix Saparelli]: https://passcod.name [alert-after]: https://github.com/frewsxcv/alert-after [alacritty]: https://github.com/jwilm/alacritty -[artistic]: https://github.com/passcod/notify/blob/next/LICENSE -[build]: https://travis-ci.org/passcod/notify +[artistic]: https://github.com/notify-rs/notify/blob/next/LICENSE +[build]: https://travis-ci.com/notify-rs/notify [cargo watch]: https://github.com/passcod/cargo-watch [cc0]: https://creativecommons.org/publicdomain/zero/1.0/ [cobalt]: https://github.com/cobalt-org/cobalt.rs [coc]: http://contributor-covenant.org/version/1/4/ -[contributors]: https://github.com/passcod/notify/graphs/contributors +[contributors]: https://github.com/notify-rs/notify/graphs/contributors [crate]: https://crates.io/crates/notify [docs-debounce]: https://docs.rs/notify/#default-debounced-api [docs-raw]: https://docs.rs/notify/#raw-api diff --git a/src/debounce/mod.rs b/src/debounce/mod.rs index 5fe1f970..2d7d4502 100644 --- a/src/debounce/mod.rs +++ b/src/debounce/mod.rs @@ -104,7 +104,7 @@ impl Debounce { // get details for the last rename event from the operations_buffer. // the last rename event might not be found in case the timer already fired - // (https://github.com/passcod/notify/issues/101). + // (https://github.com/notify-rs/notify/issues/101). if let Some(&mut (ref mut operation, ref mut from_path, ref mut timer_id)) = op_buf.get_mut(self.rename_path.as_ref().unwrap()) { @@ -128,7 +128,7 @@ impl Debounce { _ => { // this code can only be reached with fsevents because it may // repeat a rename event for a file that has been renamed before - // (https://github.com/passcod/notify/issues/99) + // (https://github.com/notify-rs/notify/issues/99) } } } else { @@ -164,7 +164,7 @@ impl Debounce { // file has been renamed and then removed / keep write event // this code can only be reached with fsevents because it may // repeat a rename event for a file that has been renamed before - // (https://github.com/passcod/notify/issues/100) + // (https://github.com/notify-rs/notify/issues/100) restart_timer(timer_id, path, &mut self.timer); } // CLOSE_WRITE and RESCAN aren't tracked by operations_buffer @@ -399,7 +399,7 @@ impl Debounce { // renaming a deleted file should be impossible, // but with fsevents everything is possible - // (https://github.com/passcod/notify/issues/101) + // (https://github.com/notify-rs/notify/issues/101) Some(op::Op::REMOVE) => {} _ => { unreachable!(); } diff --git a/src/lib.rs b/src/lib.rs index 6518e7d1..0666489f 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,6 +1,6 @@ //! Cross-platform file system notification library //! -//! Source is on GitHub: https://github.com/passcod/notify +//! Source is on GitHub: https://github.com/notify-rs/notify //! //! # Installation //! @@ -600,8 +600,8 @@ pub trait Watcher: Sized { /// be unexpected. See discussions in [#165] and [#166]. If less surprising behaviour is wanted /// one may non-recursively watch the _parent_ directory as well and manage related events. /// - /// [#165]: https://github.com/passcod/notify/issues/165 - /// [#166]: https://github.com/passcod/notify/issues/166 + /// [#165]: https://github.com/notify-rs/notify/issues/165 + /// [#166]: https://github.com/notify-rs/notify/issues/166 fn watch>(&mut self, path: P, recursive_mode: RecursiveMode) -> Result<()>; /// Stop watching a path. diff --git a/src/windows.rs b/src/windows.rs index 4b28333f..e7a78bbb 100644 --- a/src/windows.rs +++ b/src/windows.rs @@ -5,13 +5,15 @@ //! //! [ref]: https://msdn.microsoft.com/en-us/library/windows/desktop/aa363950(v=vs.85).aspx -extern crate kernel32; +extern crate winapi; use winapi::shared::minwindef::TRUE; use winapi::shared::winerror::ERROR_OPERATION_ABORTED; use winapi::um::fileapi; -use winapi::um::handleapi::INVALID_HANDLE_VALUE; +use winapi::um::handleapi::{self, INVALID_HANDLE_VALUE}; +use winapi::um::ioapiset; use winapi::um::minwinbase::{LPOVERLAPPED, OVERLAPPED}; +use winapi::um::synchapi; use winapi::um::winbase::{self, INFINITE, WAIT_OBJECT_0}; use winapi::um::winnt::{self, FILE_NOTIFY_INFORMATION, HANDLE}; @@ -128,7 +130,7 @@ impl ReadDirectoryChangesServer { unsafe { // wait with alertable flag so that the completion routine fires - let waitres = kernel32::WaitForSingleObjectEx(self.wakeup_sem, 100, TRUE); + let waitres = synchapi::WaitForSingleObjectEx(self.wakeup_sem, 100, TRUE); if waitres == WAIT_OBJECT_0 { let _ = self.meta_tx.send(MetaEvent::WatcherAwakened); } @@ -137,7 +139,7 @@ impl ReadDirectoryChangesServer { // we have to clean this up, since the watcher may be long gone unsafe { - kernel32::CloseHandle(self.wakeup_sem); + handleapi::CloseHandle(self.wakeup_sem); } } @@ -165,7 +167,7 @@ impl ReadDirectoryChangesServer { .collect(); let handle; unsafe { - handle = kernel32::CreateFileW( + handle = fileapi::CreateFileW( encoded_path.as_ptr(), winnt::FILE_LIST_DIRECTORY, winnt::FILE_SHARE_READ | winnt::FILE_SHARE_DELETE | winnt::FILE_SHARE_WRITE, @@ -196,10 +198,10 @@ impl ReadDirectoryChangesServer { }; // every watcher gets its own semaphore to signal completion let semaphore = - unsafe { kernel32::CreateSemaphoreW(ptr::null_mut(), 0, 1, ptr::null_mut()) }; + unsafe { synchapi::CreateSemaphoreW(ptr::null_mut(), 0, 1, ptr::null_mut()) }; if semaphore == ptr::null_mut() || semaphore == INVALID_HANDLE_VALUE { unsafe { - kernel32::CloseHandle(handle); + handleapi::CloseHandle(handle); } return Err(Error::Generic( "Failed to create semaphore for watch.".to_owned(), @@ -229,13 +231,13 @@ impl ReadDirectoryChangesServer { fn stop_watch(ws: &WatchState, meta_tx: &Sender) { unsafe { - let cio = kernel32::CancelIo(ws.dir_handle); - let ch = kernel32::CloseHandle(ws.dir_handle); + let cio = ioapiset::CancelIo(ws.dir_handle); + let ch = handleapi::CloseHandle(ws.dir_handle); // have to wait for it, otherwise we leak the memory allocated for there read request if cio != 0 && ch != 0 { - kernel32::WaitForSingleObjectEx(ws.complete_sem, INFINITE, TRUE); + synchapi::WaitForSingleObjectEx(ws.complete_sem, INFINITE, TRUE); } - kernel32::CloseHandle(ws.complete_sem); + handleapi::CloseHandle(ws.complete_sem); } let _ = meta_tx.send(MetaEvent::SingleWatchComplete); } @@ -289,7 +291,7 @@ fn start_read(rd: &ReadData, event_tx: Arc>, handle: HANDLE) { // allow overlapped to drop by omitting forget() let request: Box = mem::transmute(request_p); - kernel32::ReleaseSemaphore(request.data.complete_sem, 1, ptr::null_mut()); + synchapi::ReleaseSemaphore(request.data.complete_sem, 1, ptr::null_mut()); } else { // read ok. forget overlapped to let the completion routine handle memory mem::forget(overlapped); @@ -318,7 +320,7 @@ unsafe extern "system" fn handle_event( if error_code == ERROR_OPERATION_ABORTED { // received when dir is unwatched or watcher is shutdown; return and let overlapped/request // get drop-cleaned - kernel32::ReleaseSemaphore(request.data.complete_sem, 1, ptr::null_mut()); + synchapi::ReleaseSemaphore(request.data.complete_sem, 1, ptr::null_mut()); return; } @@ -430,7 +432,7 @@ impl ReadDirectoryChangesWatcher { let (cmd_tx, cmd_rx) = channel(); let wakeup_sem = - unsafe { kernel32::CreateSemaphoreW(ptr::null_mut(), 0, 1, ptr::null_mut()) }; + unsafe { synchapi::CreateSemaphoreW(ptr::null_mut(), 0, 1, ptr::null_mut()) }; if wakeup_sem == ptr::null_mut() || wakeup_sem == INVALID_HANDLE_VALUE { return Err(Error::Generic( "Failed to create wakeup semaphore.".to_owned(), @@ -456,7 +458,7 @@ impl ReadDirectoryChangesWatcher { let (cmd_tx, cmd_rx) = channel(); let wakeup_sem = - unsafe { kernel32::CreateSemaphoreW(ptr::null_mut(), 0, 1, ptr::null_mut()) }; + unsafe { synchapi::CreateSemaphoreW(ptr::null_mut(), 0, 1, ptr::null_mut()) }; if wakeup_sem == ptr::null_mut() || wakeup_sem == INVALID_HANDLE_VALUE { return Err(Error::Generic( "Failed to create wakeup semaphore.".to_owned(), @@ -482,7 +484,7 @@ impl ReadDirectoryChangesWatcher { // so that if you add a watch you don't block for 100ms in watch() while the // server sleeps. unsafe { - kernel32::ReleaseSemaphore(self.wakeup_sem, 1, ptr::null_mut()); + synchapi::ReleaseSemaphore(self.wakeup_sem, 1, ptr::null_mut()); } }