Daniel Faust
3df0f65152
Use instant crate
2024-03-31 20:15:59 +02:00
Daniel Faust
8da5139565
Add serialization-compat-6 feature
2024-03-31 20:14:59 +02:00
Daniel Faust
416085e174
Move DebouncedEvent types into notify-types crate
2024-03-28 19:20:23 +01:00
Daniel Faust
f195bd66a3
Fix warnings
2024-03-28 19:20:23 +01:00
Daniel Faust
08e74dae8e
Move event types into separate crate
...
Closes #487 .
2024-01-25 19:23:44 +01:00
Daniel Faust
43efec9a54
Improve serialization ( #558 )
...
* Add event kind serialization tests
* Serialize events
* Flatten event kind during serialization
* Serialize event with attributes
* Serialize flags as camelCase
2024-01-23 09:06:36 +01:00
Daniel Faust
80aaee21f7
Bump debouncer-full version and add changelog
2024-01-22 16:51:51 +01:00
Daniel Faust
71022431b3
Deprecate watcher and cache methods
2024-01-22 16:51:51 +01:00
Daniel Faust
b15c88b10d
Move roots into DebounceDataInner
2024-01-22 16:51:51 +01:00
Daniel Faust
f676035ab9
Add RecommendedCache
2024-01-22 16:51:51 +01:00
Daniel Faust
87b126497a
Store file id in an enum
2023-08-08 17:13:31 +02:00
Daniel Faust
9d4b195640
Add debounced monitor example
2023-07-13 22:45:02 +02:00
Daniel Faust
2d569cc573
Add logging to monitor example
2023-07-13 22:45:02 +02:00
Daniel Faust
a694573939
Add log statements
2023-07-13 22:45:02 +02:00
Daniel Faust
58a4c13255
Add DebouncedEvent to debouncer-full
2023-06-09 14:13:09 +02:00
Daniel Faust
7b89553e27
Raise MSRV to 1.60
2023-05-15 15:43:19 +02:00
Daniel Faust
af9feef399
Rename debouncer-refined to debouncer-full
2023-05-15 15:43:19 +02:00
Daniel Faust
679fc4a3f2
Use path to link to local dependencies
2023-05-15 15:43:19 +02:00
Daniel Faust
1d88f6df4b
Revert "Use workspace dependencies"
...
This reverts commit 7e8ea0873ddb87530fb58c5341d2d00b89791c28.
2023-05-15 15:43:19 +02:00
Daniel Faust
b225bfe7e0
Revert "Update dependencies"
...
This reverts commit c25f338f3b135e53459562085e7e82d4ec832eb1.
2023-05-15 15:43:19 +02:00
Daniel Faust
4716930192
cargo clippy
2023-05-15 15:43:19 +02:00
Daniel Faust
b2b05ee24d
cargo fmt
2023-05-15 15:43:19 +02:00
Daniel Faust
4fc2a10814
Improve docs
2023-05-15 15:43:19 +02:00
Daniel Faust
a2f5666993
Rename file-id's inode property to file
2023-05-15 15:43:19 +02:00
Daniel Faust
da4cbba07a
Fix debounced examples
2023-05-15 15:43:19 +02:00
Daniel Faust
029d1b34ac
Implement Copy for EventKind
...
Closes #458
2023-05-15 15:43:19 +02:00
Daniel Faust
0d33bb31fb
Update dependencies
2023-05-15 15:43:19 +02:00
Daniel Faust
315bc709bf
Use workspace dependencies
2023-05-15 15:43:19 +02:00
Daniel Faust
65d6d91ca1
inotify: Emit rename from events immediately
2023-05-15 15:43:19 +02:00
Daniel Faust
fe18bbd425
Add notify-debouncer-refined and file-id crates
2023-05-15 15:43:19 +02:00
Daniel Faust
68802129f9
Implement Copy for EventKind
...
Closes #458
2023-05-15 10:37:28 +02:00
Daniel Faust
908c3c649d
Suppress events for files which have been moved and deleted if a new file in the original location is created quickly
...
Fixes #129 .
2017-11-02 12:26:20 +01:00
Daniel Faust
bbf142debc
Add tests for watching subdirectories
...
... that are either created very quickly before the parent directory can be watched or whose parent directory was moved into the watched directory
2017-08-05 14:59:02 +02:00
Daniel Faust
52be79bd87
Detect moves if two connected move events are split between two mio polls
2017-03-25 14:49:08 +13:00
Daniel Faust
4bb2f9c619
Remove unnecessary linebreaks from Cargo.toml
...
notify doesn't show up in the "filesystem" category on crates.to. Maybe removing these unnecessary linebreaks will help.
2017-02-27 18:17:10 +01:00
Daniel Faust
e5ccd3fc1d
Update travis config
...
- Enable build on beta
- Remove rustfmt
- Remove script section
2017-02-07 21:46:56 +13:00
Daniel Faust
73f43ef8b5
Add categories to Cargo.toml
2017-01-23 19:46:17 +01:00
Daniel Faust
c9a7d48d8b
Improve test watch_nonexisting
...
Make sure notify is still working after trying to watch a non-existing file or directory.
See #111
2017-01-23 19:46:17 +01:00
Daniel Faust
1674bfad8e
Update changelog
2017-01-12 22:56:16 +01:00
Daniel Faust
8cd537f16c
Update changelog
2017-01-12 22:06:50 +01:00
Daniel Faust
69d8d74121
Skip over event sequences that should be impossible but aren't with fsevents
...
Fixes #101
2016-11-25 16:52:08 +01:00
Daniel Faust
0e625daf03
Fix panic in debounce module
2016-11-25 16:49:09 +01:00
Daniel Faust
a43e8b345b
Disable failing tests instead of ignoring them
...
and ignore some tests that are failing when run on AppVeyor.
Ignored tests can and should still be run locally, but always having a
red build badge doesn't serve any purpose.
There are still tests failing randomly - especially on MacOS - though.
2016-11-20 14:25:35 +01:00
Daniel Faust
b124c36eca
Fix another panic in debounce module related to move events
...
Fixes #100
2016-11-19 17:04:03 +01:00
Daniel Faust
6f58cce7be
Fix panic in debounce module related to move events
...
Fixes #99
2016-11-14 11:45:56 +01:00
Daniel Faust
64f4645ab4
Fix example
2016-10-30 13:10:32 +01:00
Daniel Faust
0805e1a934
clippy fixes
2016-10-30 13:05:28 +01:00
Daniel Faust
e1e1203bf9
Refactor debounced API
...
- Move debounce::Event to lib.rs and rename it to DebouncedEvent
- Rename Event to RawEvent
- Rename Watcher::new to Watcher::new_raw and Watcher::debounced to Watcher::new_debounced
2016-10-18 17:45:48 +02:00
Daniel Faust
48bbbd49eb
Add doc links
2016-09-07 21:21:17 +02:00
Daniel Faust
9067343ecc
Add test for event paths and network shares
2016-09-07 21:21:17 +02:00
Daniel Faust
b7c93ecc6e
inotiy: Use absolute paths
...
This mirrors the behaviour of osx and windows.
2016-09-07 21:21:17 +02:00
Daniel Faust
758f95c8ac
Revert "Windows: Use canonicalized paths"
...
This reverts commit 73bf4db9d7 .
canonicalize() returns \\?\ style paths on windows.
It might be confusing to watch a file or directory using a standard path and receive events with \\?\ style paths.
Using \\?\ style paths is not necessary for watching network shares either.
Closes #95
2016-09-07 21:20:57 +02:00
Daniel Faust
e390305aed
Fix CLOSE_WRITE in ignored tests
2016-09-05 14:25:45 +02:00
Daniel Faust
8c0ae56a6f
Fix documentation link
2016-08-27 09:46:34 +02:00
Daniel Faust
037e40b119
Add documentation link to readme
2016-08-27 09:42:03 +02:00
Daniel Faust
768eeb45c7
Fix changelog
2016-08-15 14:32:44 +02:00
Daniel Faust
8009889ded
Improve docs
2016-08-15 14:11:36 +02:00
Daniel Faust
3935db45b5
Remove Error::NotImplemented since it wasn't used
2016-07-29 18:13:58 +02:00
Daniel Faust
04c6863673
Make debounce::Event unstructured enum
2016-07-29 18:13:58 +02:00
Daniel Faust
2f341a0651
Improve examples
2016-07-29 18:12:39 +02:00
Daniel Faust
bf85516725
Add macro assert_eq_any
2016-07-29 18:12:39 +02:00
Daniel Faust
34ad15b98a
Add sleep_macos and sleep_windows
2016-07-29 18:12:39 +02:00
Daniel Faust
19ee631cb9
Add debounced event notification interface
2016-07-29 18:12:39 +02:00
Daniel Faust
8b7f3fe5c8
Rename PollWatcher::with_delay to with_delay_ms
2016-07-28 15:58:06 +02:00
Daniel Faust
6ad8e776f9
More docs
2016-07-20 18:17:54 +02:00
Daniel Faust
ce1dc409c4
Remove unused log dependency
2016-07-20 18:02:51 +02:00
Daniel Faust
d0bbb8dbd6
More tests
2016-07-20 18:02:51 +02:00
Daniel Faust
cd62e658ed
"ignore" memtest_manual
...
Since it seems to cause problems with AppVeyor
2016-07-19 23:25:50 +02:00
Daniel Faust
2375ab0c7c
Add self_rename_* tests
2016-07-19 22:26:48 +02:00
Daniel Faust
f1ded10ee4
Inotify: Keep watching moved files/directories
2016-07-19 22:26:48 +02:00
Daniel Faust
1b0b94eec0
Test unwatch in watch_relative test
2016-07-19 22:26:48 +02:00
Daniel Faust
46e75f2380
Add more tests
2016-07-19 22:26:48 +02:00
Daniel Faust
c28e718ab8
Fix unwatch on Windows
...
Don't return IO error when unwatching a deleted directory.
Inotify and FSEvents aren't doing that either.
2016-07-19 22:26:48 +02:00
Daniel Faust
96cabc6626
FSEvents: Return error when trying to unwatch non-existing file or directory
2016-07-19 22:26:48 +02:00
Daniel Faust
da032fb4f3
Inotify: Fix removing watches
2016-07-19 22:26:48 +02:00
Daniel Faust
76f7b80795
Implement RESCAN event
2016-07-19 22:26:48 +02:00
Daniel Faust
15f67aa412
Fix broken link
2016-07-19 22:26:48 +02:00
Daniel Faust
ca017fb706
Reorganize tests
...
Eliminate warnings for unused code for platform specific tests
2016-07-19 22:26:30 +02:00
Daniel Faust
4d71a22dc3
Rename timing feature to timing_tests
2016-07-17 19:31:29 +02:00
Daniel Faust
f1fd62319b
Inotify: Skip IGNORED events
2016-07-17 17:45:45 +02:00
Daniel Faust
715dfae338
notify::op documentation
2016-07-17 17:45:38 +02:00
Daniel Faust
16f3e798d0
FSEvents: Report ITEM_CHANGE_OWNER as CHMOD events
2016-07-17 17:44:44 +02:00
Daniel Faust
162e47d469
Add FSEvents timing tests
2016-07-17 17:44:44 +02:00
Daniel Faust
defe31809e
Reduce the CPU burning during tests
2016-07-17 17:44:44 +02:00
Daniel Faust
ed49816a8a
Rename FSEvent to FSEvents in all docs
2016-07-17 17:44:44 +02:00
Daniel Faust
faf9ef437e
Update to bitflags 0.7
2016-07-17 17:44:44 +02:00
Daniel Faust
28b3d00c74
Track move events using a cookie
2016-07-17 17:44:44 +02:00
Daniel Faust
c717619f25
Fix clippy warnings + add clippy.toml
...
And some clean-ups
2016-07-17 17:11:51 +02:00
Daniel Faust
73bf4db9d7
Windows: Use canonicalized paths
...
Instead of env::current_dir().
2016-07-14 15:13:04 +02:00
Daniel Faust
6104990bb6
Fix watching files on windows using relative paths
...
Fixes #90
2016-07-14 13:08:43 +02:00
Daniel Faust
9be7b90db1
Add changelog
...
The formatting is inspired by clog.
2016-07-14 13:08:43 +02:00
Daniel Faust
293ee2ed79
Add migration section to readme
2016-07-14 13:08:43 +02:00
Daniel Faust
c6cc458621
Add myself to authors list
2016-07-14 13:07:30 +02:00
Daniel Faust
847b9d64a3
Reduce poll watcher interval for tests
...
Reduce interval from 100 ms to 50 ms, hopefully this will eliminate some random test failures.
2016-07-12 17:38:30 +02:00
Daniel Faust
ef14ae397d
Remove obsolete tests
...
Everything in these tests is covered by newer tests.
2016-07-12 17:27:20 +02:00
Daniel Faust
cd6cd42fc1
Simplify tests
2016-07-12 17:22:06 +02:00
Daniel Faust
ab8025a529
Set PollWatcher's default delay to 10 seconds
...
10 ms seems a bit short especially since the mtime resolution is just 1 second.
2016-07-09 17:56:22 +02:00
Daniel Faust
5baf0ccb0e
PollWatcher: Immediately scan path when adding a watch
2016-07-09 17:40:32 +02:00
Daniel Faust
a3e66f7830
Implement CREATE and DELETE for PollWatcher
...
Also implement RecursiveMode for watch(..).
2016-07-09 14:05:27 +02:00
Daniel Faust
84cfcfedaf
Update documentation
2016-07-09 13:53:36 +02:00