summaryrefslogtreecommitdiffstats
path: root/Tests/X11
Commit message (Collapse)AuthorAgeFilesLines
* Revise C++ coding style using clang-formatKitware Robot2016-05-161-72/+68
| | | | | | | | | | | | | 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-formatBrad King2016-04-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* Remove CMake-language block-end command argumentsKitware Robot2012-08-131-5/+5
| | | | | | | | | | | | | | | | | 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 caseKitware Robot2012-08-131-22/+22
| | | | | | | | | | | | | | | | | 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++ codeKitware Robot2012-08-132-13/+13
| | | | | | | | | | | | | | | | | 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/ \+$//'
* Tests/X11: Add missing include <stdlib.h> for 'rand'Brad King2012-07-181-0/+1
|
* ENH: make sure tests for cpack are run correctlyBill Hoffman2009-04-211-1/+1
|
* ENH: make sure tests for cpack are run correctlyBill Hoffman2009-04-211-2/+2
|
* ENH: make sure tests for cpack are run correctlyBill Hoffman2009-04-211-1/+1
|
* ENH: make sure tests for cpack are run correctlyBill Hoffman2009-04-211-2/+2
|
* BUG: Fix issue #7833: Add file extension handling to CPack generated ↵David Cole2009-01-211-3/+8
| | | | installers for OSXX11 applications. Also modify the X11 test to build such an installer on Mac builds that test CPack and have X11 available. Thanks to Wes Turner for the patch.
* ENH: add a simple x11 test for packagingBill Hoffman2008-04-112-2/+11
|
* ENH: add a simple x11 programBill Hoffman2008-04-111-0/+145
|
* ENH: preclean some warningsKen Martin2008-03-251-0/+1
|
* ENH: add support for universal binariesBill Hoffman2006-03-241-0/+12
|
* ERR: Fix test to use post CMAKE_X_LIBS variablesAndy Cedilnik2004-07-291-3/+4
|
* Change name of variableAndy Cedilnik2003-01-081-1/+1
|
* ERR: Project name and executable name should match for consistency in the ↵Brad King2002-12-181-11/+3
| | | | X11 test.
* BUG: Renamed X11 test executable to useX11 to avoid conflict with name of ↵Brad King2002-12-171-11/+12
| | | | library.
* Try to fix testAndy Cedilnik2002-11-061-18/+2
|
* Try to fix FindX11Andy Cedilnik2002-11-051-1/+5
|
* SimplifyAndy Cedilnik2002-11-051-20/+3
|
* Fix testAndy Cedilnik2002-11-041-13/+13
|
* Try to make test to runAndy Cedilnik2002-11-031-0/+2
|
* Print message on system without X11Andy Cedilnik2002-10-291-1/+5
|
* Add Windows codeAndy Cedilnik2002-10-292-1/+15
|
* Add test for X11Andy Cedilnik2002-10-292-0/+49