summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'consistent-empty-method'Brad King2015-01-1981-310/+310
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | 5f69314e Replace foo.length() pattern with !foo.empty(). fd0c036c Replace 'foo.length() >= 1' pattern with !foo.empty() f09fde2d Replace 'foo.length() > 0' pattern with !foo.empty(). 86b5bdfa Replace 'foo.length() == 0' pattern with foo.empty(). fd7b3712 Replace foo.size() pattern with !foo.empty(). aa773035 Replace !foo.size() pattern with foo.empty(). 64592633 cmListCommand: Use empty() and expand whitespace. 607e1938 Replace 'foo.size() != 0' pattern with !foo.empty(). 930bd478 Replace 'foo.size() == 0' pattern with foo.empty(). d92887ef Replace 'foo.size() > 0' pattern with !foo.empty().
| * Replace foo.length() pattern with !foo.empty().Stephen Kelly2015-01-185-8/+8
| |
| * Replace 'foo.length() >= 1' pattern with !foo.empty()Stephen Kelly2015-01-182-2/+2
| |
| * Replace 'foo.length() > 0' pattern with !foo.empty().Stephen Kelly2015-01-185-8/+8
| |
| * Replace 'foo.length() == 0' pattern with foo.empty().Stephen Kelly2015-01-181-1/+1
| |
| * Replace foo.size() pattern with !foo.empty().Stephen Kelly2015-01-1842-114/+114
| |
| * Replace !foo.size() pattern with foo.empty().Stephen Kelly2015-01-187-13/+13
| |
| * cmListCommand: Use empty() and expand whitespace.Stephen Kelly2015-01-181-1/+1
| |
| * Replace 'foo.size() != 0' pattern with !foo.empty().Stephen Kelly2015-01-186-8/+8
| |
| * Replace 'foo.size() == 0' pattern with foo.empty().Stephen Kelly2015-01-1835-72/+72
| |
| * Replace 'foo.size() > 0' pattern with !foo.empty().Stephen Kelly2015-01-1832-83/+83
| |
* | Merge topic 'use-member-insert'Brad King2015-01-196-36/+13
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | fa889c4d cmakemain: Initialize vector content with iterators directly. 8211010c cmakemain: Use member insert in command line handling code. b5422573 cmListCommand: Replace loop with member algorithm. 92a37f92 Convert raw loops to set member insert. aac44e71 Convert raw loops to vector member insert.
| * | cmakemain: Initialize vector content with iterators directly.Stephen Kelly2015-01-181-5/+1
| | |
| * | cmakemain: Use member insert in command line handling code.Stephen Kelly2015-01-181-4/+2
| | |
| * | cmListCommand: Replace loop with member algorithm.Stephen Kelly2015-01-181-7/+3
| | |
| * | Convert raw loops to set member insert.Stephen Kelly2015-01-182-10/+3
| | |
| * | Convert raw loops to vector member insert.Stephen Kelly2015-01-182-10/+4
| |/
* | Merge topic 'delete-algorithm'Brad King2015-01-194-25/+21
|\ \ | | | | | | | | | | | | | | | 681d965d Use the cmDeleteAll algorithm for types derived from std::map. 4dc0c488 cmDeleteAll: Generalize deletion specialization for map types.
| * | Use the cmDeleteAll algorithm for types derived from std::map.Stephen Kelly2015-01-173-21/+4
| | |
| * | cmDeleteAll: Generalize deletion specialization for map types.Stephen Kelly2015-01-171-4/+17
| | | | | | | | | | | | | | | Assume that a container whose value_type is a std::pair should have its second member deleted.
* | | Merge topic 'remove-AppleClang-51-release-notes'Brad King2015-01-191-5/+0
|\ \ \ | | | | | | | | | | | | | | | | e11f8d64 Remove AppleClang-5.1-features.rst release notes.
| * | | Remove AppleClang-5.1-features.rst release notes.Stephen Kelly2015-01-171-5/+0
| |/ / | | | | | | | | | It is redundant after Xcode-clang-compile-features.rst.
* | | Merge topic 'FindQt-fixes'Brad King2015-01-191-3/+10
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | b937f753 FindQt: explicitely mention that it cannot Qt5 or later 6af8cbf2 FindQt: fix variable name in error message 49d05a47 FindQt: fix setting DESIRED_QT_VERSION if "find_package(Qt VVV)" was called
| * | | FindQt: explicitely mention that it cannot Qt5 or laterRolf Eike Beer2015-01-161-0/+3
| | | |
| * | | FindQt: fix variable name in error messageRolf Eike Beer2015-01-161-2/+2
| | | |
| * | | FindQt: fix setting DESIRED_QT_VERSION if "find_package(Qt VVV)" was calledRolf Eike Beer2015-01-161-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | In case the given version was not only "3" or "4", but something like "4.8" DESIRED_QT_VERSION was set to an unsupported value. While at it also check that the version passed in is really in the range of 3.x and 4.x. Also suggest switching to the more specific find modules if possible.
* | | | Merge topic 'fix-cmake-org-links'Brad King2015-01-193-4/+4
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | 91fbcda2 Help: Update cmake.org links to avoid redirects
| * | | | Help: Update cmake.org links to avoid redirectsWilliam Lynch2015-01-163-4/+4
| | | | | | | | | | | | | | | | | | | | Some links to cmake.org now redirect, so link to the new pages directly.
* | | | | Merge topic 'emacs-mode-fix-word-at-point'Brad King2015-01-191-3/+7
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | ca80598e cmake-mode.el: Fix extracting keyword at point in cmake-help
| * | | | | cmake-mode.el: Fix extracting keyword at point in cmake-helpPeter Vasil2015-01-191-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit v3.1.0-rc2~1^2~1 (cmake-mode.el: syntax of '_' should be treated as symbol, 2014-11-12) the 'word-at-point' function does not extract the whole keyword anymore if it contains an '_', because 'forward-word' stops at '_'. Use 'symbol-at-point' to extract a whole keyword even if there is an '_'.
* | | | | | Merge topic 'add-FindJsonCpp'Brad King2015-01-198-0/+159
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0aebeb9c FindJsonCpp: Add module to find JsonCpp package
| * | | | | | FindJsonCpp: Add module to find JsonCpp packageBrad King2015-01-198-0/+159
| | | | | | |
* | | | | | | Merge topic 'eclipse-fix-cxx-natures'Brad King2015-01-191-0/+1
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6e6e0c40 Eclipse: Add org.eclipse.cdt.core.cnature to CXX projects (#15068)
| * | | | | | | Eclipse: Add org.eclipse.cdt.core.cnature to CXX projects (#15068)André Klitzing2015-01-161-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit v3.0.0-rc1~335^2~1 (eclipse: Add natures for Eclipse based on enabled languages, 2013-08-29) CXX projects got only "ccnature", but Eclipse itself also adds "cnature" when creating C++ projects. Fix this by adding both for CXX projects.
* | | | | | | | CMake Nightly Date StampKitware Robot2015-01-191-1/+1
| |_|_|_|_|_|/ |/| | | | | |
* | | | | | | CMake Nightly Date StampKitware Robot2015-01-181-1/+1
| |_|_|_|_|/ |/| | | | |
* | | | | | CMake Nightly Date StampKitware Robot2015-01-171-1/+1
| | | | | |
* | | | | | Merge topic 'GNU-4.6-compile-features'Brad King2015-01-1615-40/+61
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 770ba876 Help: Add notes for topic 'GNU-4.6-compile-features' b15c008f Features: Record for GNU 4.6. f13a2eb1 Features: Adjust the RunCMake test to use more-common features. 1f19ac4d Features: Adjust cxx_variadic_templates unit test for GNU < 4.7. 0798d1e5 Features: Extend the generalized_initializers test for GNU < 4.7. 938bd94e Features: Test __GXX_EXPERIMENTAL_CXX0X__ macro for GNU < 4.7 compatibility. 462c630b Features: Don't test __cplusplus value for CXX98 on GNU. 222ec86f Features: Test an old value of __STDC_VERSION__ for GNU < 4.7 compatibility. 6e909035 Features: Record C/CXX dialect flags for GNU 4.6. bfc995cc Features: Remove wrong content from else() condition. 1532b921 Features: Make cxx_noexcept available from GNU 4.6. 1f4649e6 Features: Update the default_dialect test for old GNU-like compilers. a60027a6 Features: Ensure appropriate return value from feature test macros.
| * | | | | | Help: Add notes for topic 'GNU-4.6-compile-features'Brad King2015-01-161-0/+5
| | | | | | |
| * | | | | | Features: Record for GNU 4.6.Stephen Kelly2015-01-155-8/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adjust the CompileFeatures genex_test for the expectation of the OVERRIDE_CONTROL feature group.
| * | | | | | Features: Adjust the RunCMake test to use more-common features.Stephen Kelly2015-01-152-6/+6
| | | | | | |
| * | | | | | Features: Adjust cxx_variadic_templates unit test for GNU < 4.7.Stephen Kelly2015-01-151-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The unit test for this fails with GNU 4.6: Building CXX object CMakeFiles/test_cxx_variadic_templates.dir/cxx_variadic_templates.cpp.o CompileFeatures/cxx_variadic_templates.cpp: In static member function ‘static int Interface<I, Is>::accumulate()’: CompileFeatures/cxx_variadic_templates.cpp:18:31: sorry, unimplemented: cannot expand ‘Is ...’ into a fixed-length argument list CMakeFiles/test_cxx_variadic_templates.dir/build.make:54: recipe for target 'CMakeFiles/test_cxx_variadic_templates.dir/cxx_variadic_templates.cpp.o' failed The workaround is to use a specialization: http://stackoverflow.com/questions/1989552 http://stackoverflow.com/questions/11297376
| * | | | | | Features: Extend the generalized_initializers test for GNU < 4.7.Stephen Kelly2015-01-151-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | That compiler requires a different initializer_list constructor, so update the test to match.
| * | | | | | Features: Test __GXX_EXPERIMENTAL_CXX0X__ macro for GNU < 4.7 compatibility.Stephen Kelly2015-01-151-7/+12
| | | | | | |
| * | | | | | Features: Don't test __cplusplus value for CXX98 on GNU.Stephen Kelly2015-01-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The macro is defined to 1 for GNU 4.6, and such a test is only useful for features in language dialects newer than the default (CXX98 for GNU currently). Test only that it has a truthy value.
| * | | | | | Features: Test an old value of __STDC_VERSION__ for GNU < 4.7 compatibility.Stephen Kelly2015-01-151-1/+6
| | | | | | |
| * | | | | | Features: Record C/CXX dialect flags for GNU 4.6.Stephen Kelly2015-01-152-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This release was prior to standardization of C11/CXX11.
| * | | | | | Features: Remove wrong content from else() condition.Stephen Kelly2015-01-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As this is not elseif(), the content has no effect. Rather than changing it to an elseif(), remove the conditional content. All versions of GNU prior to 5.0 default to C90/89. Clang-C.cmake has a similar code block which correctly uses elseif() for setting the default C dialect to C99. That may have been updated from a C90 default at some point, so leave the version condition there in place for now.
| * | | | | | Features: Make cxx_noexcept available from GNU 4.6.Stephen Kelly2015-01-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | As listed in the reference document.
| * | | | | | Features: Update the default_dialect test for old GNU-like compilers.Stephen Kelly2015-01-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prior to GNU 4.7, GNU defined __cplusplus incorrectly, and defined __GXX_EXPERIMENTAL_CXX0X__ in C++11 mode.