Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Source: Replace uses of sprintf with safer snprintf | Sean McBride | 2022-06-22 | 1 | -7/+10 |
| | |||||
* | Tests: bump cmake_minimum_required version to 2.8.12 | Rolf Eike Beer | 2021-04-05 | 2 | -2/+2 |
| | | | | | This needlessly produces warnings during the test runs that no-one sees but that are distracting when actually inspecting the logs. | ||||
* | Fix typos identified using codespell | Jean-Christophe Fillion-Robin | 2020-07-22 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | See https://github.com/codespell-project/codespell#readme The following command was used: ``` codespell -q6 --skip="\ .git,\ *.json,\ ./Copyright.txt,\ ./Help/command/foreach.rst,\ ./Help/prop_test/REQUIRED_FILES.rst,\ ./Help/variable/CTEST_COVERAGE_COMMAND.rst,\ ./Modules/CMakeCheckCompilerFlagCommonPatterns.cmake,\ ./Modules/CMakeRCInformation.cmake,\ ./Modules/Internal/CPack/NSIS.template.in,\ ./Modules/FindMatlab.cmake,\ ./Modules/MatlabTestsRedirect.cmake,\ ./Modules/Platform/Windows-Clang.cmake,\ ./Modules/Platform/Windows-Intel-Fortran.cmake,\ ./Modules/Platform/Windows-MSVC.cmake,\ ./Source/CMakeVersion.cmake,\ ./Source/cmConvertMSBuildXMLToJSON.py,\ ./Source/cmCreateTestSourceList.cxx,\ ./Source/cmGlobalVisualStudio10Generator.cxx,\ ./Source/cmExportBuildFileGenerator.cxx,\ ./Source/cmExportInstallAndroidMKGenerator.cxx,\ ./Source/cmExportInstallFileGenerator.cxx,\ ./Source/cmExportSet.cxx,\ ./Source/cmExportTryCompileFileGenerator.cxx,\ ./Source/cmFindPackageCommand.cxx,\ ./Source/cmInstallCommand.cxx,\ ./Source/cmGeneratorExpressionLexer.cxx,\ ./Source/cmLocalVisualStudio7Generator.cxx,\ ./Source/cmOrderDirectories.cxx,\ ./Source/cmTarget.cxx,\ ./Source/kwsys/*,\ ./Source/QtDialog/CMakeSetupDialog.ui,\ ./Source/CPack/WiX/cmWIXRichTextFormatWriter.cxx,\ ./Source/CTest/cmParseCoberturaCoverage.h,\ ./Tests/CMakeTests/ImplicitLinkInfoTest.cmake.in,\ ./Tests/RunCMake/CPack/tests/DMG_SLA/English.license.rtf,\ ./Tests/RunCMake/CPack/tests/DMG_SLA/German.license.txt,\ ./Tests/RunCMake/CPack/tests/DMG_SLA/German.menu.txt,\ ./Tests/RunCMake/GoogleTest/xml_output.cpp,\ ./Tests/RunCMake/Make/TargetMessages*,\ ./Utilities/*,\ " \ -L "\ dependees,\ endwhile,\ fo,\ filetest,\ helpfull,\ nd,\ objext,\ stoll,\ supercedes,\ superceded,\ vas,\ varn,\ " ``` | ||||
* | Revise include order using clang-format-6.0 | Kitware Robot | 2019-10-01 | 1 | -1/+2 |
| | | | | | 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. | ||||
* | Tests: Remove ancient workaround in LoadCommand tests | Brad King | 2017-10-04 | 1 | -7/+0 |
| | |||||
* | Revise C++ coding style using clang-format | Kitware Robot | 2016-05-16 | 1 | -90/+56 |
| | | | | | | | | | | | | | Run the `Utilities/Scripts/clang-format.bash` script to update all our C++ code to a new style defined by `.clang-format`. Use `clang-format` version 3.8. * If you reached this commit for a line in `git blame`, re-run the blame operation starting at the parent of this commit to see older history for the content. * See the parent commit for instructions to rebase a change across this style transition commit. | ||||
* | Format include directive blocks and ordering with clang-format | Brad King | 2016-04-29 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sort include directives within each block (separated by a blank line) in lexicographic order (except to prioritize `sys/types.h` first). First run `clang-format` with the config file: --- SortIncludes: false ... Commit the result temporarily. Then run `clang-format` again with: --- SortIncludes: true IncludeCategories: - Regex: 'sys/types.h' Priority: -1 ... Commit the result temporarily. Start a new branch and cherry-pick the second commit. Manually resolve conflicts to preserve indentation of re-ordered includes. This cleans up the include ordering without changing any other style. Use the following command to run `clang-format`: $ git ls-files -z -- \ '*.c' '*.cc' '*.cpp' '*.cxx' '*.h' '*.hh' '*.hpp' '*.hxx' | egrep -z -v '(Lexer|Parser|ParserHelper)\.' | egrep -z -v '^Source/cm_sha2' | egrep -z -v '^Source/(kwsys|CursesDialog/form)/' | egrep -z -v '^Utilities/(KW|cm).*/' | egrep -z -v '^Tests/Module/GenerateExportHeader' | egrep -z -v '^Tests/RunCMake/CommandLine/cmake_depends/test_UTF-16LE.h' | xargs -0 clang-format -i This selects source files that do not come from a third-party. Inspired-by: Daniel Pfeifer <daniel@pfeifer-mail.de> | ||||
* | Tests: Simplify LoadCommand tests | Brad King | 2014-06-25 | 3 | -17/+0 |
| | | | | | | Drop out-of-place coverage of CheckFunctionExists module. The "printf" symbol is not available on VS 14 without including the <stdio.h> header to get a definition. | ||||
* | Remove CMake-language block-end command arguments | Kitware Robot | 2012-08-13 | 2 | -9/+9 |
| | | | | | | | | | | | | | | | | | Ancient versions of CMake required else(), endif(), and similar block termination commands to have arguments matching the command starting the block. This is no longer the preferred style. Run the following shell code: for c in else endif endforeach endfunction endmacro endwhile; do echo 's/\b'"$c"'\(\s*\)(.\+)/'"$c"'\1()/' done >convert.sed && git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' | egrep -z -v '^(Utilities/cm|Source/kwsys/)' | egrep -z -v 'Tests/CMakeTests/While-Endwhile-' | xargs -0 sed -i -f convert.sed && rm convert.sed | ||||
* | Convert CMake-language commands to lower case | Kitware Robot | 2012-08-13 | 2 | -36/+36 |
| | | | | | | | | | | | | | | | | | Ancient CMake versions required upper-case commands. Later command names became case-insensitive. Now the preferred style is lower-case. Run the following shell code: cmake --help-command-list | grep -v "cmake version" | while read c; do echo 's/\b'"$(echo $c | tr '[:lower:]' '[:upper:]')"'\(\s*\)(/'"$c"'\1(/g' done >convert.sed && git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' | egrep -z -v '^(Utilities/cm|Source/kwsys/)' | xargs -0 sed -i -f convert.sed && rm convert.sed | ||||
* | Remove trailing whitespace from most CMake and C/C++ code | Kitware Robot | 2012-08-13 | 2 | -28/+28 |
| | | | | | | | | | | | | | | | | | Our Git commit hooks disallow modification or addition of lines with trailing whitespace. Wipe out all remnants of trailing whitespace everywhere except third-party code. Run the following shell code: git ls-files -z -- \ bootstrap doxygen.config '*.readme' \ '*.c' '*.cmake' '*.cpp' '*.cxx' \ '*.el' '*.f' '*.f90' '*.h' '*.in' '*.in.l' '*.java' \ '*.mm' '*.pike' '*.py' '*.txt' '*.vim' | egrep -z -v '^(Utilities/cm|Source/(kwsys|CursesDialog/form)/)' | egrep -z -v '^(Modules/CPack\..*\.in)' | xargs -0 sed -i 's/ \+$//' | ||||
* | ENH: Remove CMAKE_ANSI_CFLAGS from tests | Brad King | 2009-07-08 | 1 | -2/+0 |
| | | | | | As of CMake 2.6 this variable is not defined, and the ANSI flags for the HP compiler are simply hard-coded in the default C flags. | ||||
* | ENH: preclean some warnings | Ken Martin | 2008-03-25 | 2 | -0/+2 |
| | |||||
* | BUG: Finish fixing test for new name. | Brad King | 2007-05-19 | 1 | -13/+13 |
| | |||||
* | BUG: fix project name for test | Bill Hoffman | 2007-05-19 | 1 | -1/+1 |
| | |||||
* | ENH: make properties a bit more formal with documentation and chaining | Ken Martin | 2006-12-07 | 1 | -2/+8 |
| | |||||
* | ENH: do not use c++ comments in c code | Bill Hoffman | 2006-07-26 | 1 | -1/+1 |
| | |||||
* | BUG: remove command causing issues with mid build reruns of cmake on vs70 | Ken Martin | 2006-07-25 | 1 | -3/+0 |
| | |||||
* | ENH: trying a slight change | Ken Martin | 2006-07-25 | 1 | -3/+3 |
| | |||||
* | BUG: remove c++comments | Ken Martin | 2006-07-25 | 1 | -2/+2 |
| | |||||
* | BUG: temp fix | Ken Martin | 2006-07-24 | 1 | -1/+1 |
| | |||||
* | ENH: add more coverage | Ken Martin | 2006-07-24 | 1 | -0/+18 |
| | |||||
* | BUG: work around XCode issue | Ken Martin | 2006-07-21 | 3 | -3/+3 |
| | |||||
* | ENH: increase coverage in a couple places | Ken Martin | 2006-07-21 | 2 | -4/+36 |
| | |||||
* | ENH: add support for watcom wmake and wcl386 | Bill Hoffman | 2006-01-17 | 2 | -7/+10 |
| | |||||
* | ENH: increase coverage in loaded commands | Ken Martin | 2005-09-20 | 2 | -6/+21 |
| | |||||
* | ENH: use native Deployment and Development directories | Bill Hoffman | 2005-08-30 | 1 | -0/+1 |
| | |||||
* | ENH: clean up loaded command test so you can tell what really failed | Bill Hoffman | 2004-10-25 | 3 | -14/+28 |
| | |||||
* | FIX: fix RunSingleCommand to work with spaces in the path, and with an ↵ | Bill Hoffman | 2004-10-25 | 1 | -1/+5 |
| | | | | already quoted command | ||||
* | ENH: Remove warning | Andy Cedilnik | 2004-05-03 | 1 | -0/+4 |
| | |||||
* | ENH: fix warnings in test | Bill Hoffman | 2004-05-03 | 1 | -7/+8 |
| | |||||
* | ENH: remove warnings in tests | Bill Hoffman | 2004-05-02 | 1 | -1/+1 |
| | |||||
* | ENH: Add support for importing modules without specifying path | Andy Cedilnik | 2004-03-28 | 1 | -1/+1 |
| | |||||
* | ENH: More coverage | Andy Cedilnik | 2003-07-22 | 2 | -0/+86 |
| | |||||
* | ENH: add a double try compile to fix crazy make on hp | Bill Hoffman | 2003-04-16 | 1 | -0/+7 |
| | |||||
* | BUG: fixes for hp | Bill Hoffman | 2003-03-11 | 1 | -2/+9 |
| | |||||
* | use module on all platforms | Bill Hoffman | 2003-01-15 | 1 | -5/+2 |
| | |||||
* | ENH: Renamed Modules/CheckSizeOf to Modules/CheckTypeSize for consistency ↵ | Brad King | 2002-12-30 | 1 | -1/+1 |
| | | | | with the macro name that is defined by the module. | ||||
* | Speedup the test | Andy Cedilnik | 2002-12-05 | 3 | -24/+13 |
| | |||||
* | new plugin API | Ken Martin | 2002-10-08 | 1 | -1/+1 |
| | |||||
* | Check for library | Andy Cedilnik | 2002-09-25 | 2 | -0/+6 |
| | |||||
* | Fix problem | Andy Cedilnik | 2002-09-23 | 1 | -1/+6 |
| | |||||
* | Some minor fixes for mac | Andy Cedilnik | 2002-09-23 | 2 | -4/+4 |
| | |||||
* | cleanup | Ken Martin | 2002-09-23 | 1 | -5/+1 |
| | |||||
* | Fix test so that it will work on HP | Andy Cedilnik | 2002-09-23 | 1 | -0/+3 |
| | |||||
* | Include more testing | Andy Cedilnik | 2002-09-20 | 2 | -3/+20 |
| | |||||
* | Fix test so that it does some modules testing by checking for some functions ↵ | Andy Cedilnik | 2002-09-20 | 3 | -3/+33 |
| | | | | and some size of types | ||||
* | removed c++ style comments | Ken Martin | 2002-09-20 | 1 | -4/+4 |
| | |||||
* | test passing CMAKE_FLAGS | Ken Martin | 2002-09-18 | 3 | -1/+7 |
| | |||||
* | removed target | Ken Martin | 2002-09-18 | 1 | -1/+1 |
| |