33824 Commits

Author SHA1 Message Date
Brad King
837d1359ee Merge topic 'update-kwsys'
451e9f93 Merge branch 'upstream-KWSys' into update-kwsys
572ac897 KWSys 2016-11-16 (a0c60eec)
2016-11-17 09:40:23 -05:00
Kitware Robot
ab4a9a9826 CMake Nightly Date Stamp 2016-11-17 00:01:03 -05:00
Brad King
451e9f93be Merge branch 'upstream-KWSys' into update-kwsys
* upstream-KWSys:
  KWSys 2016-11-16 (a0c60eec)
2016-11-16 13:27:07 -05:00
KWSys Upstream
572ac89773 KWSys 2016-11-16 (a0c60eec)
Code extracted from:

    http://public.kitware.com/KWSys.git

at commit a0c60eec7cdbe7b5d0196bfc5b69bd969fe8786f (master).

Upstream Shortlog
-----------------

Brad King (2):
      818405fc Fix typo in clang-format script documentation
      a0c60eec Terminal: Add tmux to VT100 color support whitelist

Matt Leotta (1):
      6a642f72 SystemInformation: Skip loopback devices in search for FQDN
2016-11-16 13:27:06 -05:00
Brad King
095279bc94 Merge topic 'ccmake_fix_print_keys'
5ca4abb2 ccmake: Correctly display edit mode and associated keys
a9562eac ccmake: Add missing spaces to match the previous text length
2016-11-16 07:47:15 -05:00
Brad King
338e681c76 Merge topic 'test_vs_targets_file_reference'
c9560a9a Tests: Extend VS10Project to cover `.targets` file linking
2016-11-16 07:47:12 -05:00
Brad King
7849424173 Merge topic 'vs-suppress-upgrade-prompt'
7c8f7737 VS: Disable project upgrade prompt on VS 2013 and above
2016-11-16 07:47:09 -05:00
Brad King
e1c410dea3 Merge topic 'msvc-no-explicit-_DEBUG'
6d0b5ff6 MSVC: Do not define _DEBUG explicitly when using /MDd
2016-11-16 07:47:06 -05:00
Brad King
e57ee41370 Merge topic 'Empty_CTestTestfile_on_BUILD_TESTING_OFF'
ae4cfa8b Remove CTestTestfile.cmake when BUILD_TESTING is OFF
2016-11-16 07:47:02 -05:00
Brad King
2a663ebce1 Merge topic 'childEncoding'
f55fcdc8 CTest: Use UTF-8 encoding for output from Git
40bd42df Add Encoding option for RunChild, RunMakeCommand and RunProcess
595feb32 Windows: Encode child process output to internally-used encoding
96103972 Add cmProcessOutput class to be used for decoding text data
92c865b8 cmCTestBuildHandler: Use size_t in ProcessBuffer length argument
2016-11-16 07:46:48 -05:00
Brad King
b6da714af7 Merge topic 'armcc-response-file-flag'
d608e85c ARMCC: Fix flag used for response files
2016-11-16 07:45:54 -05:00
Kitware Robot
af46484bc4 CMake Nightly Date Stamp 2016-11-16 00:01:04 -05:00
Sylvain Joubert
5ca4abb27f ccmake: Correctly display edit mode and associated keys
Specific widgets can implement `PrintKeys` but their effects were hidden
by the main widget `PrintKeys`.  Fix this to give the user a better hint
about the edit mode status.

Closes: #13757
2016-11-15 11:01:01 -05:00
Sylvain Joubert
a9562eac3e ccmake: Add missing spaces to match the previous text length
There was a "glitch" leaving "it" on the screen
2016-11-15 11:00:58 -05:00
Soji Yamakawa
c9560a9a7b Tests: Extend VS10Project to cover .targets file linking
With VS generators for 2010 and above, passing a `.targets` file to
`target_link_libraries` is expected to generate content in the
`.vcxproj` file to import the targets file.  Add a test to cover this.
2016-11-15 10:47:15 -05:00
Erik Christensen
7c8f7737fd VS: Disable project upgrade prompt on VS 2013 and above
When opening projects in Visual Studio that specify an older toolset
version, a prompt is displayed the first time asking the user whether to
upgrade the projects.  This is meant for project files that are
maintained manually and updated through the IDE.  For CMake-generated
projects this does not make sense, so add content to tell VS not to
upgrade.
2016-11-15 10:40:55 -05:00
Brad King
6d0b5ff60d MSVC: Do not define _DEBUG explicitly when using /MDd
With the latter flag the compiler automatically defines `_DEBUG`:

  https://msdn.microsoft.com/en-us/library/2kzt1wy3.aspx

Closes: #16430
2016-11-15 10:24:06 -05:00
Sylvain Joubert
ae4cfa8b12 Remove CTestTestfile.cmake when BUILD_TESTING is OFF
When disabling BUILD_TESTING after a previous configure, the
`CTestTestfile.cmake` was left unchanged.  As a result, ctest would see
the tests while the user disabled testing.  Now when BUILD_TESTING is
OFF any existing `CTestTestfile.cmake` is removed ensuring an empty test
list.
2016-11-15 10:08:12 -05:00
Dāvis Mosāns
f55fcdc859 CTest: Use UTF-8 encoding for output from Git 2016-11-15 10:02:47 -05:00
Ben Boeckel
d608e85cfe ARMCC: Fix flag used for response files
ARMCC does not use the `@` sigil to indicate response files, but instead
the `--via=` flag. See the documentation here:

    http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0491h/CHDCIEGC.html

Fixes: #16425
2016-11-15 09:31:33 -05:00
Brad King
4790842612 Merge branch 'release' 2016-11-15 09:28:30 -05:00
Brad King
b6f1b1741d Merge topic 'add-SHA-3'
f636d1e7 Help: Add notes for topic 'add-SHA-3'
cb5dba8e Tests: Add SHA-3 algorithm coverage to CPack checksum test
a9fa6099 ExternalProject: Add support for SHA-3 algorithms
b4ffd26f ExternalData: Add support for SHA-3 algorithms
60939702 file: Add support for SHA-3 algorithms
92f95aed string: Add support for SHA-3 algorithms
c326209f cmCryptoHash: Add support for SHA-3 algorithms
979e8ba6 Help: De-duplicate and spell out supported hash algorithms
7a79f7e3 librhash: Activate SHA-3 implementation
87584b5e Merge branch 'upstream-librhash' into add-SHA-3
7fcbd47e librhash 2016-11-06 (de79828d)
c50c32a3 librhash: Update import script to add SHA-3 implementation
2016-11-15 09:26:16 -05:00
Brad King
2b7cc76440 Merge topic 'UseSWIG_USE_BUILD_SHARED_LIBS'
d5b56dd1 UseSWIG: Add USE_BUILD_SHARED_LIBS to accepted values for the TYPE arg
2016-11-15 09:26:13 -05:00
Brad King
06209c4ce2 Merge topic 'ExternalProject-fix-UPDATE_DISCONNECTED'
4deaa25f ExternalProject: Fix UPDATE_DISCONNECTED with empty update steps
2016-11-15 09:26:10 -05:00
Brad King
dadccc752e Merge topic 'cmake-server-fix-16423'
516a2cd3 server-mode: Reset GlobalGenerator before configure
2016-11-15 09:26:07 -05:00
Brad King
fcfddc67ed Merge topic 'cmake-server-fix-16422'
d0a707b3 server-mode: Prevent possible crash when watching directories
2016-11-15 09:25:58 -05:00
Brad King
06ee14f5be Merge topic 'FindBISON-fix-rebuild'
c087072e FindBISON: Do not rebuild every time when not VERBOSE
2016-11-15 09:25:54 -05:00
Brad King
4deaa25f46 ExternalProject: Fix UPDATE_DISCONNECTED with empty update steps
When `UPDATE_DISCONNECTED` is enabled the post-update steps
unconditionally depend on a `skip-update` step instead of `update`.
Make `skip-update` available whenever `UPDATE_DISCONNECTED` is enabled,
whether there is a real update step or not.

Closes: #16428
2016-11-15 08:45:04 -05:00
Kitware Robot
1d9934a56a CMake Nightly Date Stamp 2016-11-15 00:01:04 -05:00
Dāvis Mosāns
40bd42dfbc Add Encoding option for RunChild, RunMakeCommand and RunProcess 2016-11-15 01:00:46 +02:00
Dāvis Mosāns
595feb3234 Windows: Encode child process output to internally-used encoding
Typically Windows applications (eg. MSVC compiler) use current console's
codepage for output to pipes so we need to encode that to our
internally-used encoding (`KWSYS_ENCODING_DEFAULT_CODEPAGE`).
2016-11-14 21:21:20 +02:00
Dāvis Mosāns
96103972ea Add cmProcessOutput class to be used for decoding text data
This allows to decode text data we receive from external process which
uses external encoding to our internal encoding.
2016-11-14 21:21:20 +02:00
Brad King
92c865b8f5 cmCTestBuildHandler: Use size_t in ProcessBuffer length argument 2016-11-14 21:21:19 +02:00
Daniele E. Domenichelli
d5b56dd15c UseSWIG: Add USE_BUILD_SHARED_LIBS to accepted values for the TYPE arg
The new signature is

  SWIG_ADD_LIBRARY(<name>
                   [TYPE <SHARED|MODULE|STATIC|USE_BUILD_SHARED_LIBS>]
                   LANGUAGE <language>
                   SOURCES <file>...
                   )
2016-11-14 18:02:12 +01:00
Brad King
d608cfb6bf Merge topic 'ninja-comment-ComputeLinkCmd'
de7083f3 Ninja: Document why ComputeLinkCmd is structured the way it is.
2016-11-14 11:49:05 -05:00
Robert Maynard
de7083f3c0 Ninja: Document why ComputeLinkCmd is structured the way it is. 2016-11-14 11:39:23 -05:00
Brad King
afb4a224be Merge branch 'cmake-server-fix-16423' into release 2016-11-14 11:24:56 -05:00
Tobias Hunger
516a2cd360 server-mode: Reset GlobalGenerator before configure
This is what cmake-gui also does to avoid CMake crashing on repeated
attempts to configure it.

Fixes #16423.
2016-11-14 11:06:37 -05:00
Brad King
04dce5f965 Merge branch 'cmake-server-fix-16422' into release 2016-11-14 10:19:12 -05:00
Tobias Hunger
d0a707b3d0 server-mode: Prevent possible crash when watching directories
The `filename` passed by libuv may be `nullptr`, so handle that
explicitly.

Fixes: #16422
2016-11-14 10:18:44 -05:00
Brad King
7f0470cabc Merge branch 'FindBISON-fix-rebuild' into release 2016-11-14 10:14:13 -05:00
Brad King
c087072e21 FindBISON: Do not rebuild every time when not VERBOSE
Since commit v3.7.0-rc1~348^2~3 (FindBISON: Change usage of [VERBOSE
<file>] to [VERBOSE [<file>]], 2016-07-16) we always list the VERBOSE
output file as an output of our custom command even if the option is not
used.  This causes the rule to re-run every time (e.g. with Ninja).
Revert one hunk from that change (that looks incorrect) to fix it.

Closes: #16426
2016-11-14 10:06:48 -05:00
Brad King
4a4be0301b Merge topic 'swig_add_library'
a57e7630 Help: Add notes for topic 'swig_add_library'
013193d0 SwigTest: Update for swig_add_library and add lua example
ec1d585c UseSWIG: Do not set PREFIX property for SHARED and STATIC lua libraries
4c5b3c1c UseSWIG: Do not set NO_SONAME property for SHARED and STATIC libraries
d0a9d8bb UseSWIG: Add swig_add_library macro.
2016-11-14 09:44:17 -05:00
Kitware Robot
bfa8831f02 CMake Nightly Date Stamp 2016-11-14 00:01:10 -05:00
Kitware Robot
0120e474a3 CMake Nightly Date Stamp 2016-11-13 00:01:03 -05:00
Kitware Robot
f02b67787d CMake Nightly Date Stamp 2016-11-12 00:01:07 -05:00
Brad King
f636d1e74a Help: Add notes for topic 'add-SHA-3' 2016-11-11 11:46:01 -05:00
Brad King
cb5dba8eb1 Tests: Add SHA-3 algorithm coverage to CPack checksum test 2016-11-11 11:46:01 -05:00
Brad King
a9fa60997a ExternalProject: Add support for SHA-3 algorithms 2016-11-11 11:46:00 -05:00
Brad King
b4ffd26fd8 ExternalData: Add support for SHA-3 algorithms 2016-11-11 11:46:00 -05:00