summaryrefslogtreecommitdiffstats
path: root/Utilities
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'libarchive-win-codepage' into release-3.17Brad King2020-02-071-2/+5
|\ | | | | | | | | | | | | | | 16e31523ba libarchive: Add support for UTF-8 locale on Windows f7c54d2049 libarchive: Fix WideCharToMultiByte output buffer size Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4332
| * libarchive: Add support for UTF-8 locale on WindowsBrad King2020-02-061-1/+3
| | | | | | | | | | | | | | Backport libarchive upstream commit `c46e7993` (windows: Support UTF-8 locale, 2018-07-23, v3.4.0~105^2). Fixes: #20320
| * libarchive: Fix WideCharToMultiByte output buffer sizeBrad King2020-02-061-1/+2
| | | | | | | | | | | | Fix `archive_string_append_from_wcs_in_codepage` to account for the already-used portion of the buffer when computing the size of the remaining buffer for ``WideCharToMultiByte` output.
| * Merge topic 'update-expat' into release-3.16Brad King2019-11-1224-4843/+4037
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | 50bc359184 expat: Update CMake build for 2.2.9 b63a5c88a2 Merge branch 'upstream-expat' into update-expat 1712885b4f expat 2019-09-25 (a7bc26b6) 512fabaa9d expat: Update script to get Expat 2.2.9 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4032
* | \ Merge topic 'libarchive-solaris-11.4'Brad King2020-01-311-1/+5
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | f70b49b498 libarchive: Fix detection of 'major' on Solaris 11.4 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4302
| * | | libarchive: Fix detection of 'major' on Solaris 11.4Brad King2020-01-301-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | In `archive_pack_dev.c` there is code checking the `HAVE_MAJOR` macro, but it is not computed. Port the equivalent logic from `archive_entry.c`.
* | | | Merge topic 'automoc-using-depfiles'Brad King2020-01-301-1/+2
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | aebfbcaa46 AutoGen: Use depfiles for the XXX_autogen ninja targets f765fdea03 AutoGen: Use moc's feature to output dependencies f8c505d4b3 Add a parser for GCC-style depfiles Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Jan Niklas Hasse <jhasse@bixense.com> Merge-request: !4221
| * | | Add a parser for GCC-style depfilesJoerg Bornemann2020-01-281-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Introduce the function cmReadGccDepfile that parses a GCC-style depfile and returns its content. The implementation uses a lexer that is modeled after the re2c implementation in Ninja. The sample files of the autotest have been created with gcc 8.3.0. This depfile reader is to be used by the Autogen facility to make use of the depfiles that are generated by Qt's meta object compiler.
* | | | STL support: make_unique can now handle arrayMarc Chevrier2020-01-281-1/+36
|/ / /
* | | Stl support: cm::append now supports any sequential containerMarc Chevrier2020-01-242-16/+145
| | |
* | | Merge topic 'mark_as_advanced-without-cache'Brad King2020-01-221-1/+0
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3ec82b713e cmMarkAsAdvancedCommand: ignore variables which don't exist in the cache 701a5c60e0 cmake: avoid marking local or unused variables as advanced af158149e7 FindOpenSSL: do not mark a local variable as advanced 74f659f1f2 FindCurses: only mark CURSES_EXTRA_LIBRARY when it is used 7e2ae4e96d FindOpenGL: only mark declared cache variables as advanced 7cc02a0c29 FindLua: only mark LUA_MATH_LIBRARY as advanced if required 85cd26b8a6 FindBoost: only mark Boost_DIR as advanced if defined 338c7916ba CTest: avoid marking undeclared cache variables as advanced ... Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4150
| * | | cmake: avoid marking local or unused variables as advancedBen Boeckel2020-01-201-1/+0
| | | |
* | | | STL Support: enhance behavior of cm::dynamic_reference_castMarc Chevrier2020-01-171-1/+9
| | | | | | | | | | | | | | | | | | | | Ensure cm::dynamic_reference_cast has same behavior as dynamic_cast on reference: raise std::bad_cast if dynamic_cast is not possible.
* | | | STL Support: extends type_traits for future developmentsMarc Chevrier2020-01-172-0/+78
|/ / /
* | | Merge topic 'doc-user-interaction'Brad King2020-01-142-1/+5
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bd681fee7a Help: Add guides for user interaction 6185265800 Utilities/Sphinx: Index guide-level documents for cross-referencing b1b7d01172 Utilities/Sphinx: Index document types only by top level directory Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Mateusz Łoskot <mateusz@loskot.net> Acked-by: Daan De Meyer <daan.j.demeyer@gmail.com> Merge-request: !4097
| * | | Utilities/Sphinx: Index guide-level documents for cross-referencingBrad King2020-01-132-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | Extend the change from commit d2fde94809 (Help: Add infrastructure for guide-level documentation, 2019-05-30, v3.16.0-rc1~531^2~4) to add support for cross-referencing and indexing the guides.
| * | | Utilities/Sphinx: Index document types only by top level directoryBrad King2020-01-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | We use the convention `Help/<type>/<doc>` for indexing each document as an object of type `<type>`. Split the document name on the first slash rather than the last slash so that multi-level documents like `Help/guide/tutorial/index.rst` are indexed as their top-level type.
* | | | STL support: add c++20 std::erase and std::erase_if functionsMarc Chevrier2020-01-0810-2/+369
|/ / /
* | | Refactoring: introduce header cmext/algorithm with append functionsMarc Chevrier2019-12-173-0/+108
| | |
* | | Memory management: cast functions for managed pointersMarc Chevrier2019-11-273-0/+79
| | |
* | | setup-user: switch to git-var to check if username and e-mail are setArkadiusz Drabczyk2019-11-241-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In git, apart from setting username and e-mail in .gitconfig it's also possible to set username in /etc/passwd and set e-mail using EMAIL environment variable. The advantage of this method is that other programs such as mutt or doxygen will pick up these settings up so there is no need to set them separately in each program. Current way of checking if username and e-mail are set using git config results in failure if they are set using this method.
* | | Merge topic 'cmake-e-rm'Kyle Edwards2019-11-152-2/+2
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2d0100fac7 replace remove and remove_directory with rm in tests 5239fc5c75 cmake -E: Add rm with improved semantics over remove and remove_directory Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3949
| * | | replace remove and remove_directory with rm in testsJohnny Jazeix2019-11-132-2/+2
| | | |
* | | | cmFileLockPool: enhance items managementMarc Chevrier2019-11-141-0/+2
| | | |
* | | | Merge topic 'update-expat'Brad King2019-11-1224-4843/+4037
|\ \ \ \ | |/ / / |/| | / | | |/ | |/| | | | | | | | | | | | | | | | 50bc359184 expat: Update CMake build for 2.2.9 b63a5c88a2 Merge branch 'upstream-expat' into update-expat 1712885b4f expat 2019-09-25 (a7bc26b6) 512fabaa9d expat: Update script to get Expat 2.2.9 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4032
| * | expat: Update CMake build for 2.2.9Brad King2019-11-111-1/+0
| | |
| * | Merge branch 'upstream-expat' into update-expatBrad King2019-11-1122-4840/+4036
| | | | | | | | | | | | | | | * upstream-expat: expat 2019-09-25 (a7bc26b6)
| * | expat: Update script to get Expat 2.2.9Brad King2019-11-111-2/+1
| | |
* | | Merge topic 'ctest-resource-groups'Kyle Edwards2019-11-071-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 016601e5e6 Merge branch 'backport-ctest-resource-groups' c1435d9812 Help: Fix error in resource allocation example eb9d945f14 CTest: Rename hardware -> resources for RunCMake tests c544cb6698 CTest: Rename hardware -> resources for source code 6ce27d3a2e cmCTestMultiProcessHandler: Rename resource locking functions a7c1e15cc4 CTest: Rename hardware -> resources for CMake variables, command options 73a40b19ff CTest: Rename "Processes" lexer to "ResourceGroups" af9ed543b0 CTest: Rename PROCESSES test property to RESOURCE_GROUPS Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3994
| * \ \ Merge branch 'backport-ctest-resource-groups'Brad King2019-11-051-1/+1
| |\ \ \ | | | |/ | | |/|
| | * | CTest: Rename "Processes" lexer to "ResourceGroups"Brad King2019-11-051-1/+1
| | |/ | | | | | | | | | | | | The corresponding test property `PROCESSES` has been renamed to `RESOURCE_GROUPS`.
* | | Refactor: Modernize `foreach` code and fix some bugsAlex Turbov2019-11-061-0/+1
|/ / | | | | | | | | | | - fix the typo in `foreach` documentation - fix broken `foreach(... IN ITEMS ... LISTS ...)` - add tests of `foreach` for existed functionality and fixes
* | Utilities/Release: Teach "push" script to create destination subdirectoryBrad King2019-10-101-0/+3
|/ | | | | | Extend the script added by commit 9bf97363b0 (Utilities/Release: Replace upload step with a "push" script, 2019-05-24, v3.15.0-rc1~56^2) to create the destination subdirectory for the CMake version being pushed.
* CTest: Add lexer for PROCESSES propertyKyle Edwards2019-10-021-0/+1
|
* Revise include order using clang-format-6.0Kitware Robot2019-10-012-5/+5
| | | | | Run the `clang-format.bash` script to update our C and C++ code to a new include order `.clang-format`. Use `clang-format` version 6.0.
* cm/algorithm: Provide function cm::clampRegina Pfeifer2019-09-251-0/+38
|
* Merge topic 'HP-UX_Port_GCC'Brad King2019-09-239-6/+70
|\ | | | | | | | | | | | | | | | | ba315f2035 bootstrap: Require GCC 4.9 or higher on HP-UX 5ffb2dbff6 libuv: Add partial port to HP-UX 1059f9a96d jsoncpp: Fix compilation on HP-UX 11.31 ia64 with GCC 4.9.3 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3508
| * libuv: Add partial port to HP-UXEarle Lowe2019-09-208-4/+67
| | | | | | | | | | Port enough of libuv to HP-UX 11.31 ia64 with GCC 4.9.3 to work for CMake.
| * jsoncpp: Fix compilation on HP-UX 11.31 ia64 with GCC 4.9.3Earle Lowe2019-09-201-2/+3
| | | | | | | | In particular, fix the `isfinite` definition.
* | cmstd: Extend header <cm/iterator>Marc Chevrier2019-09-201-0/+138
| |
* | cmstd: Modernize CMake system headersMarc Chevrier2019-09-2010-1/+1094
|/ | | | | | | | | | | | | | Provide a standardized way to handle the C++ "standard" headers customized to be used with current CMake C++ standard constraints. Offer under directory `cm` headers which can be used as direct replacements of the standard ones. For example: #include <cm/string_view> can be used safely for CMake development in place of the `<string_view>` standard header. Fixes: #19491
* Add compatibility with the cl.exe /permissive- compiler optionAlexej Harm2019-09-111-1/+2
|
* Merge topic 'docker-rel-linux'Brad King2019-08-302-2/+3
|\ | | | | | | | | | | | | 2c95c35c51 Utilities/Release: Add docker spec for STGZ package on Linux Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3753
| * Utilities/Release: Add docker spec for STGZ package on LinuxBrad King2019-08-292-2/+3
| | | | | | | | | | | | | | The spec added by commit facc240a45 (Utilities/Release: Add docker specs to build and test Linux binaries, 2019-08-23) generates only the TGZ package, but the old `Utilities/Release/linux64_release.cmake` script also generated a STGZ package.
* | Merge topic 'precompile-headers'Brad King2019-08-291-0/+2
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8da78d4efe Precompile headers: Update documentation 5772930164 Precompile headers: Add unit tests 519606704e Precompile headers: Add support for Visual Studio generators 28be170fbc Precompile headers: Add support for Xcode generator b8626261e9 Precompile headers: Add methods to generate PCH sources 375d01c680 PCH: add example/test 9b6797e71d PCH: add target_precompile_headers command 0467a2f91b PCH: add PRECOMPILE_HEADERS to special properties Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Daniel Pfeifer <daniel@pfeifer-mail.de> Acked-by: Ivan171 <heavenandhell171@gmail.com> Acked-by: Stanislav Ershov <digital.stream.of.mind@gmail.com> Acked-by: Steve Mokris <smokris@softpixel.com> Acked-by: Evgeniy Dushistov <dushistov@mail.ru> Acked-by: Danila Malyutin <flashmozzg@gmail.com> Acked-by: Viktor Kirilov <vik.kirilov@gmail.com> Acked-by: Lucas Zhao <zhaopf6@163.com> Merge-request: !3553
| * Precompile headers: Add methods to generate PCH sourcesCristian Adam2019-08-281-0/+2
| | | | | | | | Co-Author: Daniel Pfeifer <daniel@pfeifer-mail.de>
* | Merge topic 'docker-rel-linux'Brad King2019-08-2916-75/+437
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | 689fdbfc61 Utilities/Release: Drop linux64 script in favor of docker build 2d7cfd30ac Utilities/Release: Drop source archive generation in scripts facc240a45 Utilities/Release: Add docker specs to build and test Linux binaries bf832ccf01 Utilities/Release: Add README.rst describing directory content ab153f17bf Utilities/Release: Drop machine-specific README ed294c1664 Add option to skip CMake tests that need network access 4b8a864d52 Add option to test CMake itself against its hosting CMake Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Gregor Jasny <gjasny@googlemail.com> Merge-request: !3727
| * Utilities/Release: Drop linux64 script in favor of docker buildBrad King2019-08-282-56/+0
| | | | | | | | Drop also drop the CMakeNightlyLinux64 test that uses the script.
| * Utilities/Release: Drop source archive generation in scriptsBrad King2019-08-283-2/+3
| | | | | | | | | | We will generate the `.tar.gz` and `.zip` source archives using `git archive` in the scripts that drive the Linux build with Docker.
| * Utilities/Release: Add docker specs to build and test Linux binariesBrad King2019-08-2811-0/+408
| | | | | | | | | | These will allow anyone to produce portable binaries like those published on `cmake.org`.