1. 07 May, 2014 1 commit
  2. 05 May, 2014 1 commit
  3. 14 Apr, 2014 1 commit
    • Brad King's avatar
      hashtable: Poison operator= on internal node type · 1979c02d
      Brad King authored
      Declare a private _Hashtable_node<_Val>::operator= without
      implementation to ensure no code tries to assign nodes.
      The hash_map uses "pair<const _Key,_Tp>" as the value type
      so the const key cannot be assigned.
      
      Change-Id: If772e1588c9504df450c18eb0d36dc024db9f2da
      1979c02d
  4. 07 Apr, 2014 1 commit
  5. 05 Apr, 2014 1 commit
  6. 02 Apr, 2014 1 commit
  7. 01 Apr, 2014 1 commit
  8. 19 Mar, 2014 2 commits
  9. 12 Mar, 2014 1 commit
  10. 11 Mar, 2014 1 commit
    • Brad King's avatar
      Set policy CMP0025 to NEW within KWSys · 88c5a768
      Brad King authored
      KWSys does not depend on the Apple Clang compiler id being "Clang" so
      set the policy to NEW explicitly to avoid the warning and get the NEW
      behavior.
      
      Change-Id: I884a82876ced444753a28eec1a2a26cc8c07cdef
      88c5a768
  11. 06 Mar, 2014 1 commit
  12. 03 Mar, 2014 1 commit
  13. 28 Feb, 2014 1 commit
  14. 12 Feb, 2014 1 commit
  15. 24 Jan, 2014 1 commit
  16. 06 Jan, 2014 1 commit
  17. 04 Jan, 2014 1 commit
  18. 02 Jan, 2014 1 commit
    • Muli Baron's avatar
      Terminal: Add putty-256color as a VT100 color-capable terminal · 606d7d6f
      Muli Baron authored
      Using PuTTY with the terminal type set to putty-256color causes CMake
      not to output any colors during build. Changing it to one of the
      'supported' terminal types fixes the problem. This patch adds the
      putty-256color terminal type to the list of supported terminals.
      
      Change-Id: I0f261017f2a47348306a5c8da3e2c0e2f906c161
      606d7d6f
  19. 21 Dec, 2013 1 commit
  20. 19 Dec, 2013 3 commits
  21. 18 Dec, 2013 1 commit
  22. 03 Dec, 2013 1 commit
    • Rolf Eike Beer's avatar
      ProcessUNIX: close /proc entry before starting recursion · b2fd7da5
      Rolf Eike Beer authored
      If a group of processes needs to be terminated recursively the entry in /proc
      doesn't need to be kept open during the recursion as all the interesting
      information was already read from it. Especially in case of deeper recursion
      this lowers the memory pressure.
      
      Change-Id: I95b969f42c8dd68b57cdaf8fc1b705f358f1dc58
      b2fd7da5
  23. 02 Dec, 2013 1 commit
  24. 21 Nov, 2013 1 commit
    • Brad King's avatar
      SystemTools: Avoid unused function warnings · 1010d0e3
      Brad King authored
      The WindowsFileExists function was originally created to avoid
      duplication by the Cygwin and Windows implementations of FileExists.
      Now that we use the ANSI API on Cygwin and the Wide API on Windows, one
      of the two overloads is always left unused.  Drop the helper functions
      and inline the implementations at their respective (single) call sites.
      
      Change-Id: I4d25f98b8b11f0fdce2f360f5f425e0b159b22e5
      1010d0e3
  25. 20 Nov, 2013 1 commit
    • Brad King's avatar
      Encoding: Remove unused include · ace1364c
      Brad King authored
      The KWSys "String.h" is not needed by "Encoding.hxx" and may not
      be available in projects that do not enable the KWSys String API.
      
      Change-Id: I50ff9a89fc3d43b59f6958e09423862bf104d904
      ace1364c
  26. 19 Nov, 2013 2 commits
    • Sean McBride's avatar
      SystemInformation: Work around gcc -Wliteral-suffix warning · a40b9263
      Sean McBride authored
      A single quote in an inline assembly comment is confusing gcc:
      
       .../SystemInformation.cxx:256:24: warning: invalid suffix on literal;
       C++11 requires a space between literal and identifier [-Wliteral-suffix]
       ; optimiser doesn't know about <<CPUID>>, and so doesn't expect
                        ^
      
      Avoid it by changing "doesn't" to "does not".
      
      Change-Id: Ic4caaeaabfdb99aa486ec09b23d670ec1b125069
      a40b9263
    • Clinton Stimpson's avatar
      Encoding: Default to ANSI code page on Windows · 2b0c683d
      Clinton Stimpson authored
      Create a KWSYS_ENCODING_DEFAULT_CODEPAGE setting that can be used
      by parent projects to configure the default code page.  Default
      to CP_ACP (ANSI Code Page) so that our narrow->wide conversions
      used to access wide Windows APIs are equivalent to direct use of
      the narrow Windows APIs.
      
      Change-Id: I02ce362dbdc6127f42b7af7e620e46b7829cbc64
      2b0c683d
  27. 31 Oct, 2013 3 commits
  28. 15 Oct, 2013 2 commits
    • David Cole's avatar
      SystemTools: Move typedef mode_t inside the SystemTools class · f67bb2ba
      David Cole authored
      Cleans up a smidge of global namespace pollution. Allows using this
      header file in the same compilation unit with other header files
      that may also contain a mode_t typedef, possibly with a different
      underlying type.
      
      Actually encountered in the wild when trying to compile a class that
      uses both log4cpp and VTK.
      
      Change-Id: Iba5592778fc21d66946026847537d914e56f332b
      f67bb2ba
    • Raphael Kubo da Costa's avatar
      SystemInformation: Include backtrace-related headers on FreeBSD · 6eab64c3
      Raphael Kubo da Costa authored
      This was probably broken for a long while, but the problem was not apparent
      because the check for execinfo.h would fail by default because
      -I/usr/local/include was not being passed to the compiler when making the
      checks for the header's existence.
      
      Now that very recent FreeBSD versions (ie. 10-CURRENT) have NetBSD's
      libexecinfo in base (and it is thus installed into /usr), the
      backtrace-related checks would pass, but the required headers were not being
      included in SystemInformation.cxx.
      
      Change-Id: I3b91ed7ac0e6878035aee202b3336c536cc6d2ff
      6eab64c3
  29. 08 Oct, 2013 2 commits
  30. 14 Aug, 2013 1 commit
    • Rolf Eike Beer's avatar
      SystemInformation: fix truncation warnings · dbc8fa1b
      Rolf Eike Beer authored
      Fixes the following truncation warnings from g++ 4.8:
      
      kwsys/SystemInformation.cxx: In member function 'int cmsys::SystemInformationImplementation::GetFullyQualifiedDomainName(std::string&)':
      kwsys/SystemInformation.cxx:1738:31: warning: conversion to 'socklen_t {aka unsigned int}' from 'long unsigned int' may alter its value [-Wconversion]
               = (fam==AF_INET?sizeof(struct sockaddr_in):sizeof(struct sockaddr_in6));
                                     ^
      kwsys/SystemInformation.cxx:1738:58: warning: conversion to 'socklen_t {aka unsigned int}' from 'long unsigned int' may alter its value [-Wconversion]
               = (fam==AF_INET?sizeof(struct sockaddr_in):sizeof(struct sockaddr_in6));
                                                                ^
      kwsys/SystemInformation.cxx: In member function 'bool cmsys::SystemInformationImplementation::QueryLinuxMemory()':
      kwsys/SystemInformation.cxx:3839:33: warning: conversion to 'int' from 'long unsigned int' may alter its value [-Wconversion]
           char *r=fgets(buffer, sizeof(buffer), fd); // Skip "total: used:..."
                                       ^
      
      Change-Id: I1016a7e31325ee550322dde7a21ffc92d6ca49dc
      dbc8fa1b
  31. 06 Aug, 2013 2 commits