aboutsummaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2013-12-27 11:09:23 +0200
committerSergey Poznyakoff <gray@gnu.org.ua>2013-12-27 14:12:45 +0200
commitee6ce9f5da1d780a9efe5a6126884d1f0ae1b5a2 (patch)
tree6395ce4d873cc317293e9d1929b12d4de89342fe /NEWS
parente37d338c901a12d8b39481da8e5f437555705e16 (diff)
downloaddirevent-ee6ce9f5da1d780a9efe5a6126884d1f0ae1b5a2.tar.gz
direvent-ee6ce9f5da1d780a9efe5a6126884d1f0ae1b5a2.tar.bz2
Implement filename selection
* NEWS: Update. * doc/dircond.texi: Document the file statement. * src/fnpat.c: New file. * src/Makefile.am (dircond_SOURCES): Add fnpat.c * src/config.c (eventconf) <fnames>: New member. (eventconf_free): Free fnames. (eventconf_flush): Set fnames. (watcher_kw) <file>: New statement. * src/dircond.h (filename_pattern): New struct. (handler) <fnames>: New member. (handler_matches_event): New macro. (filename_pattern_free) (filename_pattern_match): New proto. * src/ev_inotify.c (process_event): Use handler_matches_event. * src/ev_kqueue.c: Likewise. * src/watcher.c (deliver_ev_create): Likewise. * tests/Makefile.am: Add new tests. * tests/testsuite.at: Likewise. * tests/create.at: Add a distinctive keyword. * tests/glob01.at: New testcase. * tests/re01.at: New testcase. * tests/re02.at: Likewise. * tests/re03.at: Likewise. * tests/re04.at: Likewise.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS7
1 files changed, 6 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 31cdec4..50aa5bb 100644
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,4 @@
-dircond -- history of user-visible changes. 2013-06-04
+dircond -- history of user-visible changes. 2013-12-27
Copyright (C) 2012, 2013 Sergey Poznyakoff
See the end of file for copying conditions.
@@ -6,6 +6,11 @@ Please send dircond bug reports to <bug-dircond@gnu.org.ua>
Version 4.0.90 (Git)
+A watcher can be configured to react only on certain files. To that
+effect, a new statement "file" is introduced. This statement defines
+a list of regular expressions one of which the file name must match in
+order for the watcher to wake up.
+
Version 4.0, 2013-06-04

Return to:

Send suggestions and report system problems to the System administrator.