summaryrefslogtreecommitdiffstats
path: root/Source/cmFileMonitor.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Meta: modernize old-fashioned loops to range-based `for`.Pavel Solodovnikov2017-09-121-16/+17
| | | | | | Changes done via `clang-tidy` with some manual fine-tuning for the variable naming and `auto` type deduction where appropriate.
* server: Refactor to make the event loop owned by server objectJustin Berger2017-07-111-1/+3
|
* Merge topic 'c++11-iwyu'Brad King2017-05-081-2/+2
|\ | | | | | | | | | | | | | | | | | | | | 50dd15af QtDialog: block include-what-you-use f3e21613 cmServer: include what you use 9535823b IWYU: map system symbols to libuv 6a91ee02 IWYU: add mapping for cm::auto_ptr 7165065f cmInstalledFile: add cmConfigure.h as first #include Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !811
| * cmServer: include what you useDaniel Pfeifer2017-05-051-2/+2
| |
* | cmFileMonitor: use cmDeleteAllDaniel Pfeifer2017-05-051-9/+3
|/
* clang-tidy: avoid copyDaniel Pfeifer2017-04-211-1/+1
|
* 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"