summaryrefslogtreecommitdiff
path: root/Source/cmFileMonitor.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Use quotes for non-system includesDaniel Pfeifer2017-04-111-1/+1
| | | | | | | | | | | | | Automate with: git grep -l '#include <cm_' -- Source \ | xargs sed -i 's/#include <\(cm_.*\)>/#include "\1"/g' git grep -l '#include <cmsys/' -- Source \ | xargs sed -i 's/#include <\(cmsys\/.*\)>/#include "\1"/g' git grep -l '#include <cm[A-Z]' -- Source \ | xargs sed -i 's/#include <\(cm[A-Z].*\)>/#include "\1"/g'
* Merge topic 'cmFileMonitor-skip-empty-names'Brad King2017-01-121-0/+3
|\ | | | | | | | | 7bad99b0 cmake-server: Do not try watching subdirectories with empty names
| * cmake-server: Do not try watching subdirectories with empty namesAleix Pol2017-01-111-0/+3
| | | | | | | | | | | | | | | | | | `cmsys::SystemTools::SplitPath` will return empty segments on paths where there's duplicaded consequent slashes (e.g. `/home/dir/my//stuff`). This makes the cmFileWatcher choke. Teach cmFileMonitor to skip these empty segments. Closes: #16531
* | Merge topic 'cmake-server-fix-16422'Brad King2016-11-151-1/+1
|\ \ | |/ | | | | | | d0a707b3 server-mode: Prevent possible crash when watching directories
| * server-mode: Prevent possible crash when watching directoriesTobias Hunger2016-11-141-1/+1
| | | | | | | | | | | | | | The `filename` passed by libuv may be `nullptr`, so handle that explicitly. Fixes: #16422
* | Avoid some copiesDaniel Pfeifer2016-10-301-2/+5
| |
* | fix more issues reported by clang-tidyDaniel Pfeifer2016-10-201-2/+2
|/
* server-mode: Improve shutdown behaviorTobias Hunger2016-10-041-4/+4
| | | | | | Add a signal handler to trigger shutdown and be more paranoid about libuv doing things asynchronously. This should fix test cases not shutting down properly.
* server-mode: Add infrastructure to watch the filesystemTobias Hunger2016-09-291-0/+389
Enable the server to watch for filesystem changes. This patch includes * The infrastructure for the file watching * makes that infrastructure available to cmServerProtocols * Resets the filesystemwatchers on "configure"