Upstream version 3.3.2
-----BEGIN PGP SIGNATURE----- iQIcBAABCgAGBQJV/wCpAAoJEP4ixv2DE11FmO0P/0WDVlhxl7pSaf8Db2MeG2R5 KqhiceX3kFuloURFgBtkOpjpJj22vl/FwQeLBPKGBKCJnHRYJfYJ1QDO9FoKs3HG Z9EyH9mLbip7rVdrrrH7Ao3C/2KQCArZ4zP/millMNp9K3COXr1sD4YlgdzRWmnw GJvwW8HmsaHxD2t4ZDX6icYOuy0yLBF6A24mWaslj2PjKjQN7JFOqfdYB3+GBsag l3dLSvWCZKbMVYr4Ge+rkBwYZXAucWfnxJx8yZoyNKBAB8AoIF5G1GagwzPeUrCf fnEHcmrtK4fCRp9Wp8mdX2UCAuI8RADfj2FU17kQf+ech5+brqTpa0gNaDGIxm58 8MAEADNGyD8vEFNv02eYmOSDuPx6tXvflmpiVhBOk65MSYh6offJtO81RoeoJeox Mplo1HpbAY02ZU0Hvm8MCz4xXVBN6II2BqHi6+AX9sCdt6Tiz+UOGuOxWwims867 7WVhEPRE44S5pxQf6S5yMxk4zvXdJ6OMn5oAcTJFErrqMBvlf5pWrlcLJBJ64Kkr JCzk94TdwWTkRDQMmEmtwwx23kWLVxAgz0Vp5Lb1L0aXKzlPCg5ksapd9t9waaQe m+wJuDjmiHy0Q9GkvZmrHf5w3osooJ7HxyW4xAZ65WInyEDMOCQoGxiJusrk/BVr cn65kcfRyAu/HzwXM+gz =YH/B -----END PGP SIGNATURE----- Merge tag 'upstream/3.3.2' Upstream version 3.3.2 # gpg: Signature made So 20 Sep 2015 20:53:29 CEST # gpg: using RSA key 0xFE22C6FD83135D45 # gpg: Good signature from "Felix Geyer <felix@fobos.de>" [ultimate] # gpg: aka "Felix Geyer <debfx-pkg@fobos.de>" [ultimate] # gpg: aka "Felix Geyer <debfx@kubuntu.org>" [ultimate] # gpg: aka "Felix Geyer <debfx@fobos.de>" [ultimate] # gpg: aka "Felix Geyer <debfx@ubuntu.com>" [ultimate] # gpg: aka "Felix Geyer <felix.geyer@fobos.de>" [ultimate] # gpg: aka "Felix Geyer <fgeyer@debian.org>" [ultimate] # Primary key fingerprint: 164C 7051 2F79 2947 6764 AB56 FE22 C6FD 8313 5D45
This commit is contained in:
		
						commit
						0ea2f7c235
					
				@ -95,6 +95,7 @@ if(NOT CMAKE_C_COMPILER_ID_RUN)
 | 
			
		||||
 | 
			
		||||
  # Try to identify the compiler.
 | 
			
		||||
  set(CMAKE_C_COMPILER_ID)
 | 
			
		||||
  set(CMAKE_C_PLATFORM_ID)
 | 
			
		||||
  file(READ ${CMAKE_ROOT}/Modules/CMakePlatformId.h.in
 | 
			
		||||
    CMAKE_C_COMPILER_ID_PLATFORM_CONTENT)
 | 
			
		||||
 | 
			
		||||
@ -108,12 +109,12 @@ if(NOT CMAKE_C_COMPILER_ID_RUN)
 | 
			
		||||
  CMAKE_DETERMINE_COMPILER_ID(C CFLAGS CMakeCCompilerId.c)
 | 
			
		||||
 | 
			
		||||
  # Set old compiler and platform id variables.
 | 
			
		||||
  if(CMAKE_C_COMPILER_ID MATCHES "GNU")
 | 
			
		||||
  if(CMAKE_C_COMPILER_ID STREQUAL "GNU")
 | 
			
		||||
    set(CMAKE_COMPILER_IS_GNUCC 1)
 | 
			
		||||
  endif()
 | 
			
		||||
  if("${CMAKE_C_PLATFORM_ID}" MATCHES "MinGW")
 | 
			
		||||
  if(CMAKE_C_PLATFORM_ID MATCHES "MinGW")
 | 
			
		||||
    set(CMAKE_COMPILER_IS_MINGW 1)
 | 
			
		||||
  elseif("${CMAKE_C_PLATFORM_ID}" MATCHES "Cygwin")
 | 
			
		||||
  elseif(CMAKE_C_PLATFORM_ID MATCHES "Cygwin")
 | 
			
		||||
    set(CMAKE_COMPILER_IS_CYGWIN 1)
 | 
			
		||||
  endif()
 | 
			
		||||
endif()
 | 
			
		||||
 | 
			
		||||
@ -90,6 +90,7 @@ if(NOT CMAKE_CXX_COMPILER_ID_RUN)
 | 
			
		||||
 | 
			
		||||
  # Try to identify the compiler.
 | 
			
		||||
  set(CMAKE_CXX_COMPILER_ID)
 | 
			
		||||
  set(CMAKE_CXX_PLATFORM_ID)
 | 
			
		||||
  file(READ ${CMAKE_ROOT}/Modules/CMakePlatformId.h.in
 | 
			
		||||
    CMAKE_CXX_COMPILER_ID_PLATFORM_CONTENT)
 | 
			
		||||
 | 
			
		||||
@ -103,12 +104,12 @@ if(NOT CMAKE_CXX_COMPILER_ID_RUN)
 | 
			
		||||
  CMAKE_DETERMINE_COMPILER_ID(CXX CXXFLAGS CMakeCXXCompilerId.cpp)
 | 
			
		||||
 | 
			
		||||
  # Set old compiler and platform id variables.
 | 
			
		||||
  if("${CMAKE_CXX_COMPILER_ID}" MATCHES "GNU")
 | 
			
		||||
  if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
 | 
			
		||||
    set(CMAKE_COMPILER_IS_GNUCXX 1)
 | 
			
		||||
  endif()
 | 
			
		||||
  if("${CMAKE_CXX_PLATFORM_ID}" MATCHES "MinGW")
 | 
			
		||||
  if(CMAKE_CXX_PLATFORM_ID MATCHES "MinGW")
 | 
			
		||||
    set(CMAKE_COMPILER_IS_MINGW 1)
 | 
			
		||||
  elseif("${CMAKE_CXX_PLATFORM_ID}" MATCHES "Cygwin")
 | 
			
		||||
  elseif(CMAKE_CXX_PLATFORM_ID MATCHES "Cygwin")
 | 
			
		||||
    set(CMAKE_COMPILER_IS_CYGWIN 1)
 | 
			
		||||
  endif()
 | 
			
		||||
endif()
 | 
			
		||||
 | 
			
		||||
@ -1,5 +1,5 @@
 | 
			
		||||
# CMake version number components.
 | 
			
		||||
set(CMake_VERSION_MAJOR 3)
 | 
			
		||||
set(CMake_VERSION_MINOR 3)
 | 
			
		||||
set(CMake_VERSION_PATCH 1)
 | 
			
		||||
set(CMake_VERSION_PATCH 2)
 | 
			
		||||
#set(CMake_VERSION_RC 0)
 | 
			
		||||
 | 
			
		||||
@ -14,7 +14,6 @@
 | 
			
		||||
#include "cmCTest.h"
 | 
			
		||||
#include "cmSystemTools.h"
 | 
			
		||||
#include "cmXMLParser.h"
 | 
			
		||||
#include "cmXMLSafe.h"
 | 
			
		||||
 | 
			
		||||
#include <cmsys/RegularExpression.hxx>
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -14,7 +14,6 @@
 | 
			
		||||
#include "cmCTest.h"
 | 
			
		||||
#include "cmSystemTools.h"
 | 
			
		||||
#include "cmAlgorithms.h"
 | 
			
		||||
#include "cmXMLSafe.h"
 | 
			
		||||
 | 
			
		||||
#include <cmsys/RegularExpression.hxx>
 | 
			
		||||
#include <cmsys/ios/sstream>
 | 
			
		||||
 | 
			
		||||
@ -80,8 +80,8 @@ public:
 | 
			
		||||
      int i = 0;
 | 
			
		||||
      for(; atts[i] != 0; i+=2)
 | 
			
		||||
        {
 | 
			
		||||
        ostr << "   " << cmXMLSafe(atts[i])
 | 
			
		||||
             << " - " << cmXMLSafe(atts[i+1]) << "\n";
 | 
			
		||||
        ostr << "   " << atts[i]
 | 
			
		||||
             << " - " << atts[i+1] << "\n";
 | 
			
		||||
        }
 | 
			
		||||
      ostr << "\n";
 | 
			
		||||
      this->Log += ostr.str();
 | 
			
		||||
@ -856,7 +856,7 @@ bool cmCTestMemCheckHandler::ProcessMemCheckSanitizerOutput(
 | 
			
		||||
      defects++;
 | 
			
		||||
      ostr << "<b>" <<  this->ResultStrings[idx] << "</b> ";
 | 
			
		||||
      }
 | 
			
		||||
    ostr << cmXMLSafe(*i) << std::endl;
 | 
			
		||||
    ostr << *i << std::endl;
 | 
			
		||||
    }
 | 
			
		||||
  log = ostr.str();
 | 
			
		||||
  if(defects)
 | 
			
		||||
@ -908,7 +908,7 @@ bool cmCTestMemCheckHandler::ProcessMemCheckPurifyOutput(
 | 
			
		||||
      results[failure] ++;
 | 
			
		||||
      defects ++;
 | 
			
		||||
      }
 | 
			
		||||
    ostr << cmXMLSafe(*i) << std::endl;
 | 
			
		||||
    ostr << *i << std::endl;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
  log = ostr.str();
 | 
			
		||||
@ -1056,7 +1056,7 @@ bool cmCTestMemCheckHandler::ProcessMemCheckValgrindOutput(
 | 
			
		||||
        defects ++;
 | 
			
		||||
        }
 | 
			
		||||
      totalOutputSize += lines[cc].size();
 | 
			
		||||
      ostr << cmXMLSafe(lines[cc]) << std::endl;
 | 
			
		||||
      ostr << lines[cc] << std::endl;
 | 
			
		||||
      }
 | 
			
		||||
    else
 | 
			
		||||
      {
 | 
			
		||||
@ -1070,11 +1070,7 @@ bool cmCTestMemCheckHandler::ProcessMemCheckValgrindOutput(
 | 
			
		||||
        nonValGrindOutput.begin(); i != nonValGrindOutput.end(); ++i)
 | 
			
		||||
    {
 | 
			
		||||
    totalOutputSize += lines[*i].size();
 | 
			
		||||
    cmCTestOptionalLog(this->CTest, DEBUG, "before xml safe "
 | 
			
		||||
               << lines[*i] << std::endl, this->Quiet);
 | 
			
		||||
    cmCTestOptionalLog(this->CTest, DEBUG, "after  xml safe "
 | 
			
		||||
               <<  cmXMLSafe(lines[*i]) << std::endl, this->Quiet);
 | 
			
		||||
    ostr << cmXMLSafe(lines[*i]) << std::endl;
 | 
			
		||||
    ostr << lines[*i] << std::endl;
 | 
			
		||||
    if(!unlimitedOutput && totalOutputSize >
 | 
			
		||||
       static_cast<size_t>(this->CustomMaximumFailedTestOutputSize))
 | 
			
		||||
      {
 | 
			
		||||
 | 
			
		||||
@ -13,7 +13,6 @@
 | 
			
		||||
 | 
			
		||||
#include "cmCTest.h"
 | 
			
		||||
#include "cmSystemTools.h"
 | 
			
		||||
#include "cmXMLSafe.h"
 | 
			
		||||
 | 
			
		||||
#include <cmsys/RegularExpression.hxx>
 | 
			
		||||
#include <cmsys/ios/sstream>
 | 
			
		||||
 | 
			
		||||
@ -2070,7 +2070,7 @@ bool cmCTestTestHandler::CleanTestOutput(std::string& output, size_t length)
 | 
			
		||||
        }
 | 
			
		||||
      current = next;
 | 
			
		||||
      }
 | 
			
		||||
    else // Bad byte will be handled by cmXMLSafe.
 | 
			
		||||
    else // Bad byte will be handled by cmXMLWriter.
 | 
			
		||||
      {
 | 
			
		||||
      ++current;
 | 
			
		||||
      }
 | 
			
		||||
 | 
			
		||||
@ -22,7 +22,6 @@
 | 
			
		||||
#include <cmsys/FStream.hxx>
 | 
			
		||||
#include "cmDynamicLoader.h"
 | 
			
		||||
#include "cmGeneratedFileStream.h"
 | 
			
		||||
#include "cmXMLSafe.h"
 | 
			
		||||
#include "cmVersionMacros.h"
 | 
			
		||||
#include "cmCTestCommand.h"
 | 
			
		||||
#include "cmCTestStartCommand.h"
 | 
			
		||||
@ -156,7 +155,7 @@ std::string cmCTest::CurrentTime()
 | 
			
		||||
    strftime(current_time, 1000, "%a %b %d %H:%M:%S %Z %Y", t);
 | 
			
		||||
    }
 | 
			
		||||
  cmCTestLog(this, DEBUG, "   Current_Time: " << current_time << std::endl);
 | 
			
		||||
  return cmXMLSafe(cmCTest::CleanString(current_time)).str();
 | 
			
		||||
  return cmCTest::CleanString(current_time);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
//----------------------------------------------------------------------
 | 
			
		||||
@ -1477,8 +1476,6 @@ std::string cmCTest::SafeBuildIdField(const std::string& value)
 | 
			
		||||
        cmSystemTools::ReplaceString(safevalue, replace, "");
 | 
			
		||||
        }
 | 
			
		||||
      }
 | 
			
		||||
 | 
			
		||||
    safevalue = cmXMLSafe(safevalue).str();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
  if (safevalue == "")
 | 
			
		||||
 | 
			
		||||
@ -19,7 +19,6 @@
 | 
			
		||||
#include "cmGeneratedFileStream.h"
 | 
			
		||||
#include "cmTarget.h"
 | 
			
		||||
#include "cmSystemTools.h"
 | 
			
		||||
#include "cmXMLSafe.h"
 | 
			
		||||
 | 
			
		||||
#include <cmsys/SystemTools.hxx>
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -21,7 +21,6 @@
 | 
			
		||||
#include "cmSourceFile.h"
 | 
			
		||||
#include "cmSystemTools.h"
 | 
			
		||||
#include "cmTarget.h"
 | 
			
		||||
#include "cmXMLSafe.h"
 | 
			
		||||
 | 
			
		||||
#include <cmsys/SystemTools.hxx>
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -207,6 +207,10 @@ void cmFindBase::ExpandPaths()
 | 
			
		||||
      {
 | 
			
		||||
      this->FillCMakeEnvironmentPath();
 | 
			
		||||
      }
 | 
			
		||||
    }
 | 
			
		||||
  this->FillUserHintsPath();
 | 
			
		||||
  if(!this->NoDefaultPath)
 | 
			
		||||
    {
 | 
			
		||||
    if(!this->NoSystemEnvironmentPath)
 | 
			
		||||
      {
 | 
			
		||||
      this->FillSystemEnvironmentPath();
 | 
			
		||||
@ -216,8 +220,6 @@ void cmFindBase::ExpandPaths()
 | 
			
		||||
      this->FillCMakeSystemVariablePath();
 | 
			
		||||
      }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
  this->FillUserHintsPath();
 | 
			
		||||
  this->FillUserGuessPath();
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -1133,6 +1133,10 @@ void cmFindPackageCommand::ComputePrefixes()
 | 
			
		||||
      {
 | 
			
		||||
      this->FillPrefixesCMakeEnvironment();
 | 
			
		||||
      }
 | 
			
		||||
    }
 | 
			
		||||
  this->FillPrefixesUserHints();
 | 
			
		||||
  if(!this->NoDefaultPath)
 | 
			
		||||
    {
 | 
			
		||||
    if(!this->NoSystemEnvironmentPath)
 | 
			
		||||
      {
 | 
			
		||||
      this->FillPrefixesSystemEnvironment();
 | 
			
		||||
@ -1150,7 +1154,6 @@ void cmFindPackageCommand::ComputePrefixes()
 | 
			
		||||
      this->FillPrefixesSystemRegistry();
 | 
			
		||||
      }
 | 
			
		||||
    }
 | 
			
		||||
  this->FillPrefixesUserHints();
 | 
			
		||||
  this->FillPrefixesUserGuess();
 | 
			
		||||
 | 
			
		||||
  this->ComputeFinalPaths();
 | 
			
		||||
 | 
			
		||||
@ -2331,7 +2331,7 @@ void cmSystemTools::MakefileColorEcho(int color, const char* message,
 | 
			
		||||
    assumeTTY = 0;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
  if(enabled)
 | 
			
		||||
  if(enabled && color != cmsysTerminal_Color_Normal)
 | 
			
		||||
    {
 | 
			
		||||
    // Print with color.  Delay the newline until later so that
 | 
			
		||||
    // all color restore sequences appear before it.
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user