Skip to content
Snippets Groups Projects
  1. May 07, 2014
  2. May 05, 2014
  3. Apr 14, 2014
    • 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. Apr 07, 2014
  5. Apr 05, 2014
  6. Apr 02, 2014
  7. Apr 01, 2014
  8. Mar 19, 2014
  9. Mar 12, 2014
  10. Mar 11, 2014
    • 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. Mar 06, 2014
  12. Mar 03, 2014
  13. Feb 28, 2014
  14. Feb 12, 2014
  15. Jan 24, 2014
  16. Jan 06, 2014
  17. Jan 04, 2014
  18. Jan 02, 2014
    • Muli Baron's avatar
      Terminal: Add putty-256color as a VT100 color-capable terminal · 606d7d6f
      Muli Baron authored and Brad King's avatar Brad King committed
      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. Dec 21, 2013
  20. Dec 19, 2013
  21. Dec 18, 2013
  22. Dec 03, 2013
    • 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. Dec 02, 2013
  24. Nov 21, 2013
    • 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. Nov 20, 2013
    • 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. Nov 19, 2013
    • Sean McBride's avatar
      SystemInformation: Work around gcc -Wliteral-suffix warning · a40b9263
      Sean McBride authored and Brad King's avatar Brad King committed
      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 and Brad King's avatar Brad King committed
      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. Oct 31, 2013
  28. Oct 15, 2013
    • 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 and Brad King's avatar Brad King committed
      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. Oct 08, 2013
  30. Aug 14, 2013
    • 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. Aug 06, 2013
Loading