]> git.saurik.com Git - wxWidgets.git/commit
Check for filespec when generating events in wxFileSystemWatcher.
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 15 Oct 2012 01:09:25 +0000 (01:09 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 15 Oct 2012 01:09:25 +0000 (01:09 +0000)
commit6eef5763a81cf58ba9ca4f6adcaa996d263258a0
treec6ca5b55eea112b85cdd83705feaa458977d30f0
parentc063adebbad51e9ba8727a5e37d89190807864a4
Check for filespec when generating events in wxFileSystemWatcher.

Instead of setting watches on individual files when a non-empty filespec is
given, always watch all the files but just ignore the events from the ones not
matching the filespec. This makes the code simpler and fixes several bugs.

See #14544.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/private/fswatcher.h
src/common/fswatchercmn.cpp
src/msw/fswatcher.cpp
src/unix/fswatcher_inotify.cpp
tests/fswatcher/fswatchertest.cpp