KWSys 2014-03-12 (dd873734)

Extract upstream KWSys using the following shell commands.

$ git archive --prefix=upstream-kwsys/ dd873734 | tar x
$ git shortlog --no-merges --abbrev=8 --format='%h %s' 1010d0e3..dd873734
Adrien Destugues (1):
      b1916e0a SystemInformation: Update CPU count code for Haiku

Brad King (2):
      9c653603 Process: Suppress IBM XL warning about infinite loop in test
      88c5a768 Set policy CMP0025 to NEW within KWSys

Clinton Stimpson (7):
      ab6f8c36 FStream: Fix rdbuf() return and use use of FStream in SystemTools.
      88165c5e Encoding: Fix bug in kwsysEncoding_DupToNarrow.
      2426b57d Encoding: Add support for program arguments argc/argv.
      e81f2a9e FStream: Fix opening non-existant file.
      0d8ef429 Encoding:  Help enforce the use of wide apis on Windows.
      cfbc1cc8 FStream: Remove unused basic_filebuf declaration.
      b3b20cc0 FStream: Add ability to detect BOM.

Jiri Malak (1):
      e66d99b8 SystemTools: Fix compilation with Open Watcom

Matt McCormick (1):
      b3db597b SystemInformation: Mark EXECINFO_LIB as advanced

Muli Baron (1):
      606d7d6f Terminal: Add putty-256color as a VT100 color-capable terminal

Rolf Eike Beer (2):
      d2bcbe11 SystemInformation: extract CPU information on Linux/Sparc
      b2fd7da5 ProcessUNIX: close /proc entry before starting recursion

Stephen Kelly (1):
      dd873734 SystemTools: Remove some unnecessary c_str() calls

Ådne Hovda (1):
      a02a1ad2 SystemInformation: Fix compilation on HP-UX 11.11 hppa

Change-Id: Ie37283772a55f9843a778b88361c5bb5c9f8dbb7
Merge branch 'upstream-kwsys' into update-kwsys

Change-Id: Ib90785038a14ec5e7f9dc2977f2e09a6e455de7b
Merge topic 'update-kwsys' into master

b385607b Merge branch 'upstream-kwsys' into update-kwsys
2eede99a KWSys 2014-03-12 (dd873734)
ENH: Unit test for vtkMath

A comprehensive test for vtkMath.

This UnitTest provides 86% coverage for vtkMath. When combined with
TestMath, the total coverage comes to over 96%. The remaining untested
lines are special cases that I have not been able to exercise.

During the test creation process, these bugs were found:

NextCombination() always returned after one interation.

Memory leak in SolveLeastSquares

Change-Id: I22dfd2198e52f8980445e0ba5e951f811700af16
Wrapping/Tcl: Fix CMake Policy CMP0050 warnings

Avoid using the undocumented SOURCE option to add_custom_command.
Replace the ancient SOURCE == TARGET spelling with POST_BUILD.
While at it, use a $<TARGET_FILE> generator expression to refer
to the executable location of the vtk and pvtk targets.

Change-Id: I8fcd894ede6e430dc148dced98f3b404b9ae1101
IO/XML: Remove unnecessary <sstream> include

The VTK standard headers include <iosfwd> and make std::istringstream
available for use as an incomplete type.  That is all vtkXMLReader.h
needs.  Remove the extra <sstream> include.

In particular, by including it before the VTK headers it causes system
headers to be included with inconsistent Large File Support definitions
on AIX, leading to runtime shared library unresolved symbols.  Remove
the inclusion to fix this.

Change-Id: I78ec9efae24c8f721f079ab8946afcde413fe17f
Merge topic 'Coverage_Math' into master

5988b551 ENH: Unit test for vtkMath
Merge topic 'remove-unnecessary-include' into master

d8a74423 IO/XML: Remove unnecessary <sstream> include
Merge topic 'fix-CMP0050-warnings' into master

e2d31236 Wrapping/Tcl: Fix CMake Policy CMP0050 warnings
IO/XML: Add missing <string> include

Now that <sstream> is not included we need <string> to get std::string
when compiling Java wrapper sources.

Change-Id: I5b36410f8bdb2e13c497b0adaa11e95142fd56a0
Merge topic 'remove-unnecessary-include' into master

4327fceb IO/XML: Add missing <string> include
Correct warnings about negative unsigned constant values.

Change-Id: Icc81419ba319821ae5fc68bc8db3eadc2db5f818
IO/XML: Fix HeaderTest for this module

Comment reason for <string> inclusion.

Change-Id: I7e0b1d7bd52a3ee66f5d078f330520bb7e6461a2
Merge topic 'remove-unnecessary-include' into master

f2a2eeab IO/XML: Fix HeaderTest for this module
Merge topic 'ensight_binary_time_caching' into master

d353840f Correct warnings about negative unsigned constant values.