summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* add HasOnlyEmptyCommandLines() method to cmCustomCommandGeneratorMichael Stürmer2017-09-042-0/+13
|
* CMake Nightly Date StampKitware Robot2017-09-041-1/+1
|
* CMake Nightly Date StampKitware Robot2017-09-031-1/+1
|
* CMake Nightly Date StampKitware Robot2017-09-021-1/+1
|
* Merge topic 'server-refactor'Brad King2017-09-0111-119/+340
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0e4d5033 server: Added thread check to protect writedata 124424e9 server: Protect several fields from potentially pointing to bad memory 693fa0a9 server: Added assert to monitor uv_run status 882dcef8 server: Made connections in a server have a mutex to avoid use after frees 7ef28843 server: Moved buffer formatting into bufferstrategy dc7a18d8 server: test buffer parsing f8fd5a97 server: Made stdio connection accept different types of streams 6afc7f88 server: Remove unused fields / functions ... Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1111
| * server: Added thread check to protect writedataJustin Berger2017-08-313-0/+21
| |
| * server: Protect several fields from potentially pointing to bad memoryJustin Berger2017-08-312-1/+7
| |
| * server: Added assert to monitor uv_run statusJustin Berger2017-08-311-2/+10
| |
| * server: Made connections in a server have a mutex to avoid use after freesJustin Berger2017-08-312-7/+29
| |
| * server: Moved buffer formatting into bufferstrategyJustin Berger2017-08-315-3/+25
| |
| * server: test buffer parsingJustin Berger2017-08-314-0/+110
| |
| * server: Made stdio connection accept different types of streamsJustin Berger2017-08-313-57/+112
| |
| * server: Remove unused fields / functionsJustin Berger2017-08-312-22/+1
| |
| * server: Fixed minor memory leaksJustin Berger2017-08-311-4/+1
| |
| * server: Fixed mismatched new/delete; added proper shutdown procedureJustin Berger2017-08-316-28/+29
| |
* | Merge topic 'flang'Brad King2017-09-017-2/+32
|\ \ | | | | | | | | | | | | | | | | | | | | | d8e03e9b FindOpenMP: Add Flang flag. 2f3a07a9 Flang: Add support for flang Fortran compiler Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1141
| * | FindOpenMP: Add Flang flag.Tin Huynh2017-08-311-0/+1
| | |
| * | Flang: Add support for flang Fortran compilerTin Huynh2017-08-316-2/+31
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | flang is a Fortran compiler built on top of clang [1]. Because flang shares a lot of commonalities with clang, the flang module piggybacks off the clang module and overrides certain options. Add flang to Fortran compiler auto find list. Update flang preprocessor macros to differentiate from PGI. Add Flang-FindBinUtils. [1] https://github.com/flang-compiler/flang
* | Merge topic 'vs-std-cxx17-flag-map'Brad King2017-09-011-0/+1
|\ \ | | | | | | | | | | | | | | | | | | a46024be VS: Add v141 flag table entry for -std:c++17 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1221
| * | VS: Add v141 flag table entry for -std:c++17Brad King2017-08-311-0/+1
| | | | | | | | | | | | Fixes: #17171
* | | Merge topic 'tll-global-unknown-lib'Brad King2017-09-013-0/+6
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | a47a8533 target_link_libraries: Allow linking to UNKNOWN IMPORTED GLOBAL libs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1220
| * | | target_link_libraries: Allow linking to UNKNOWN IMPORTED GLOBAL libsBrad King2017-08-313-0/+6
| |/ / | | | | | | | | | | | | | | | This combination was accidentally rejected. Allow it and add a test. Fixes: #17245
* | | Merge topic 'fix-genex-SOURCES'Brad King2017-09-016-1/+16
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 068cc545 Genex: Fix TARGET_PROPERTY value of SOURCES Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1218
| * | | Genex: Fix TARGET_PROPERTY value of SOURCESBrad King2017-09-016-1/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactoring in commit v3.8.0-rc1~445^2~2 (cmTarget: Move sanity checks and computed property access to callers, 2016-10-13) exposed a typo in commit v3.8.0-rc1~445^2~3 (cmGeneratorTarget: Implement cmTargetPropertyComputer interface, 2016-10-13). Together they broke the `$<TARGET_PROPERTY:mytgt,SOURCES>` generator expression in the case that the `SOURCES` target property is populated in part by the `target_sources` command. Add the missing `;`-separator. Fixes: #17243
* | | | Merge topic 'FindThreads-cross-compile-no-try_run'Brad King2017-09-012-44/+11
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d4e551a9 FindThreads: Drop try_run to improve cross-compiling support Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1109
| * | | | FindThreads: Drop try_run to improve cross-compiling supportSteffen Dettmer2017-08-302-44/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use `try_compile` instead of `try_run`. It is not clear why `try_run` was ever needed, and it does not work during cross-compiling. Update the check's source file to remove code associated with actually running things. Also remove the ancient `__CLASSIC_C__` code path and use a simple `int main(void)` as in `Modules/CheckIncludeFile.c.in`. Fixes: #16920
* | | | | CMake Nightly Date StampKitware Robot2017-09-011-1/+1
| |_|_|/ |/| | |
* | | | Merge topic 'update-vim-syntax'Brad King2017-08-313-30/+68
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | 84d67356 Merge branch 'upstream-vim-cmake-syntax' 88da716c vim-cmake-syntax 2017-08-30 (40f5f4f3) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1214
| * | | Merge branch 'upstream-vim-cmake-syntax'Patrick Boettcher2017-08-303-30/+68
| |\ \ \ | | | | | | | | | | | | | | | | | | | | * upstream-vim-cmake-syntax: vim-cmake-syntax 2017-08-30 (40f5f4f3)
| | * | | vim-cmake-syntax 2017-08-30 (40f5f4f3)vim-cmake-syntax upstream2017-08-303-30/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Code extracted from: https://github.com/pboettch/vim-cmake-syntax.git at commit 40f5f4f356251802c0a12f63e5f717debbd0cadc (master). Upstream Shortlog ----------------- Daniel Hahler (1): 84967b5c Skip escaped quotes in cmakeString Patrick Boettcher (11): de7c9072 extract properties as well 5e4f9718 update keywords to latest cmake-revision 96ee5480 fix #1 - highlight escaped quotes in strings d791d3ac README updated, install instruction e12d6cb4 do not highlight cmake-commands in cmake-command argument-list d2d564aa multi-line comments are now highlighted (again) 0e62850d update keywords to v3.9.1-460-gce2750817 65932f07 add test-framework and two tests 018855b2 add cpo-saving and restoring (taken from vim's upstream-syntax-files) 8fcb0a7d updated keywords to 3.9.20170830-ge0713 40f5f4f3 preparations to be for inclusion to vim-repo
* | | | | Merge topic 'cxx11-clang-format'Brad King2017-08-3153-142/+130
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4022b286 clang-tidy: blacklist "modernize" checks 2b4c32c9 clang-format: format all code as Cpp11 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1191
| * | | | | clang-tidy: blacklist "modernize" checksDaniel Pfeifer2017-08-301-6/+13
| | | | | |
| * | | | | clang-format: format all code as Cpp11Daniel Pfeifer2017-08-3052-136/+117
| | | | | |
* | | | | | Merge topic 'doc-xref-prefix-path'Brad King2017-08-312-12/+19
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 952331cd Help: Cross-reference and clarify CMAKE_FIND_NO_INSTALL_PREFIX docs Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Luke Yeager <luke.yeager@gmail.com> Merge-request: !1213
| * | | | | | Help: Cross-reference and clarify CMAKE_FIND_NO_INSTALL_PREFIX docsBrad King2017-08-302-12/+19
| | |/ / / / | |/| | | | | | | | | | | | | | | | Suggested-by: Luke Yeager <lukeyeager@users.noreply.github.com>
* | | | | | Merge topic 'test-server-result'Brad King2017-08-312-1/+2
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ea359bc5 Tests: Teach Server test to print server return code Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1212
| * | | | | | Tests: Teach Server test to print server return codeBrad King2017-08-302-1/+2
| | |/ / / / | |/| | | | | | | | | | | | | | | | This will aid in diagnosing failures.
* | | | | | Merge topic 'irsl-intel'Brad King2017-08-312-1/+144
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fd4406f3 IRSL: Add Intel compiler support 8444252f IRSL: Install VC++ OpenMP libraries only for MSVC Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Pelle <pbregener@gmail.com> Merge-request: !1121
| * | | | | | IRSL: Add Intel compiler supportChristian Pfeiffer2017-08-302-2/+138
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #16891 Fixes: #9903
| * | | | | | IRSL: Install VC++ OpenMP libraries only for MSVCChristian Pfeiffer2017-08-231-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | At the moment, the Visual C++ OpenMP libraries will be installed for all compilers simulating MSVC. They should however only be provided if we're dealing with actual MSVC.
* | | | | | | Merge topic 'lexer-null'Brad King2017-08-316-98/+123
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 14d9a11b ListFileLexer: fix heap-buffer-overflow on malicious input Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1153
| * | | | | | | ListFileLexer: fix heap-buffer-overflow on malicious inputMatthias Maennich2017-08-306-98/+123
| | |_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In case a list file contains a null terminated string that is continued until a later space, the lexer token information got inconsistent: e.g. an argument "TEST\0FOOBAR" is passed by the lexer as a token char* = "TEST\0FOOBAR" and length 11 ^^ note: ascii 0x00 Using strdup in cmListFileLexer leads lexer->token.text to be allocated with size 5 and lexer->token.length to be set to 11 A subsequent call to this function with an argument of 5 < length <= 11 wrongly assumed a sufficiently sized buffer and therefore corrupted the heap buffer. The program might crash due to this corruption. The case "NullTerminatedArgument" is intentionally using a quite large 'rest' to increase the chance to actually hit the issue. It will reliably crash with address sanitizer enabled though. This fix addresses all rules where arbitrary characters are matched to ignore \0 in order to fall through to the rule that matches an arbitrary character as BadCharacter. Signed-off-by: Matthias Maennich <matthias@maennich.net>
* | | | | | | CMake Nightly Date StampKitware Robot2017-08-311-1/+1
| |_|_|/ / / |/| | | | |
* | | | | | Merge branch 'release-3.9'Brad King2017-08-300-0/+0
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | |
| * | | | | Merge branch 'fix-find-package-mode' into release-3.9Brad King2017-08-292-1/+3
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Merge-request: !1208
| * \ \ \ \ \ Merge branch 'cpack-dmg-iwyu' into release-3.9Brad King2017-08-291-0/+1
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Merge-request: !1206
* | \ \ \ \ \ \ Merge topic 'add-cppcheck'Brad King2017-08-3024-12/+184
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 311b7b1a Add properties to run cppcheck along with the compiler Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1147
| * | | | | | | | Add properties to run cppcheck along with the compilerBill Hoffman2017-08-3024-12/+184
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Create a `<LANG>_CPPCHECK` target property (initialized by a `CMAKE_<LANG>_CPPCHECK` variable) to specify a `cppcheck` command line to be run along with the compiler.
* | | | | | | | | Merge topic 'fix-find-package-mode'Brad King2017-08-302-1/+3
|\ \ \ \ \ \ \ \ \ | | |_|_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 18454ea4 cmake: Fix --find-package mode with imported targets Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1208
| * | | | | | | | cmake: Fix --find-package mode with imported targetsBrad King2017-08-292-1/+3
| | |_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The change in commit v3.9.0-rc1~116^2~6 (cmakemain: use script role for -P, 2017-05-11) accidentally left project commands out of find-package mode, causing packages that provide imported targets to break. Fixes: #17124