watchexec/lib/tests
Félix Saparelli 446a8d95a7 Replace event queue with a priority queue (#302)
Solves several issues, generally through delivering signals before filesystem events, preventing situations where an overwhelming amount of events makes it impossible to quit.

Does _not_ solve the problem of a queue full of lower-priority events not accepting an urgent message, but that's a rarer issue that's more complicated to overcome.

Changes the Filterer trait: adds Priority to `check_event()`

Makes some events unfilterable (Urgent priority): SIGINT, SIGTERM, and CTRL_C to the main process. These still need to be handled by `on_action` to do anything, but cannot be stopped before reaching that.
2022-06-11 06:43:11 +00:00
..
helpers Replace event queue with a priority queue (#302) 2022-06-11 06:43:11 +00:00
ignores Test filter files 2021-12-24 02:21:45 +13:00
env_reporting.rs Deduplicate paths in summarise_events_to_env 2022-01-31 02:14:28 +13:00
error_handler.rs Change on_error to let the handler raise a CriticalError 2022-02-07 17:15:27 +13:00
filter_globset.rs Replace event queue with a priority queue (#302) 2022-06-11 06:43:11 +00:00
filter_ignorefiles.rs Add tests for ignore filterer 2022-01-15 23:46:41 +13:00
filter_tagged_filterfiles.rs Test filter files 2021-12-24 02:21:45 +13:00
filter_tagged_nonpaths.rs Replace event queue with a priority queue (#302) 2022-06-11 06:43:11 +00:00
filter_tagged_parser.rs Move TaggedFiltererError into main error mod 2022-01-16 19:14:31 +13:00
filter_tagged_paths.rs Start testing parser and nonpaths 2021-12-15 07:24:13 +13:00