1. 09 Jul, 2018 1 commit
    • Brad King's avatar
      XL: Restore suppression of infinite loop warning in process test · aebe4597
      Brad King authored
      Our use of the `-qsuppress=` flag to suppress this warning was removed
      by commit 51e95ba7 (XL: Fix compatibility with newer clang-based XL on
      Linux, 2017-04-28) because XL 13.1.[1-6] for Linux does not support the
      flag.  XL 16.1 restores support for the flag.  Restore our use of it for
      this version.  Suppress the warning on intermediate versions by blocking
      all warnings with `-w`.
      aebe4597
  2. 24 Apr, 2018 1 commit
    • Kyle Edwards's avatar
      Fix recent regression in installation of namelink · e5733515
      Kyle Edwards authored
      The check for whether or not to install a namelink depends on
      KWSYS_BUILD_SHARED, but this variable wasn't being set until later
      in CMakeLists.txt, causing the namelink to not be installed if
      KWSYS_BUILD_SHARED is not explicitly set. Fix this by moving the
      variable assignment closer to the top of the file.
      e5733515
  3. 19 Apr, 2018 1 commit
  4. 20 Feb, 2018 1 commit
    • Brad King's avatar
      Fix include directory usage requirement for build tree · 6e190d9a
      Brad King authored
      The include directory usage requirement for the build tree was added by
      commit 993f0ea4 (Add an option to split object and interface libs,
      2017-06-19) and preserved by commit b61faf89 (Fix install rules and
      usage requirements for interface+object libs, 2017-06-28).  However, its
      value should be that of `KWSYS_HEADER_ROOT` rather than just its
      default.
      6e190d9a
  5. 31 Jan, 2018 1 commit
    • Ben Boeckel's avatar
      GetFilenameName: optionally don't search for \ on non-Windows · 6770cb3e
      Ben Boeckel authored
      Non-Windows platforms don't have backslash as a separator, however some
      projects may want to support Windows paths on non-Windows platforms
      (e.g., paths from data files). For those which don't need this, this
      allows the search to be faster since it's searching for a single
      character.
      6770cb3e
  6. 17 Jan, 2018 1 commit
  7. 09 Jan, 2018 3 commits
  8. 03 Jan, 2018 1 commit
  9. 08 Dec, 2017 1 commit
    • Brad King's avatar
      hashtable: Drop when building inside CMake · 9995f700
      Brad King authored
      CMake now builds as C++11 or higher and uses `unordered_{map,set}`
      instead of `hash_{map,set}`.  Skip providing KWSys hashtable to it
      since it uses features deprecated by C++17.
      9995f700
  10. 29 Nov, 2017 1 commit
    • Brad King's avatar
      Configure: Add KWSYS_FALLTHROUGH macro for C++ code · 1b09cf0d
      Brad King authored
      Some C++ compilers now warn when a switch case falls through to another
      case, but compilers vary in how to suppress the warning with an explicit
      fallthrough specifier.  Provide a macro for the specifier.
      1b09cf0d
  11. 06 Nov, 2017 1 commit
  12. 31 Oct, 2017 2 commits
  13. 11 Oct, 2017 1 commit
    • Wouter Klouwen's avatar
      ProcessUNIX: Use monotonic clock in kwsysProcessTimeGetCurrent() for POSIX · 749b7506
      Wouter Klouwen authored
      While a process is running, it is possible for other processes such as
      NTP to alter the system clock in large jumps.
      
      To make the measurement of how long a process has taken to run
      impervious to such large jumps it is helpful to use a monotonic clock.
      This is a clock that takes an arbitrary starting point that does not
      change.
      
      clock_gettime() is a POSIX method that implements this clock. This is
      not available on all platforms, so this commit adds a check for its
      presence. If the monotonic timer is available, use that in
      kwsysProcessTimeGetCurrent(), otherwise falls back to previous
      non-monotonic behaviour.
      749b7506
  14. 29 Sep, 2017 1 commit
    • Brad King's avatar
      Remove unnecessary testIOS · 41c93d97
      Brad King authored
      This test was meant to cover the `kwsys/ios/*` headers, but they were
      removed in commit 15a16826 (Remove include <kwsys/ios/*> and
      kwsys_ios:: compatibility layer, 2015-08-20).
      41c93d97
  15. 01 Sep, 2017 1 commit
  16. 04 Aug, 2017 1 commit
  17. 28 Jun, 2017 1 commit
  18. 26 Jun, 2017 1 commit
    • Chuck Atkins's avatar
      Add an option to split object and interface libs. · 993f0ea4
      Chuck Atkins authored
      Introduce the KWSYS_SPLIT_OBJECTS_FROM_INTERFACE option.  This will
      cause the build to generate a separate interface and object library,
      instead of a static or shared library.  This will enable kwsys to be
      embedded into another library as objects rather than linked as a
      seperate library while still maintaining the propagation of target usage
      requirements.
      993f0ea4
  19. 28 Apr, 2017 1 commit
  20. 27 Apr, 2017 1 commit
    • Daniel Pfeifer's avatar
      Disable clang-tidy · 2564822b
      Daniel Pfeifer authored
      KWSys has not been updated for `clang-tidy`.
      Until this is done, block use of the tool on our own targets.
      This is useful when KWSys is embedded in the source tree of
      another project that may activate clang-tidy.
      2564822b
  21. 18 Apr, 2017 1 commit
  22. 11 Apr, 2017 1 commit
    • Daniel Pfeifer's avatar
      Disable include-what-you-use · ce5b0d34
      Daniel Pfeifer authored
      KWSys has not been updated for `include-what-you-use`.
      Until this is done, block use of the tool on our own targets.
      This is useful when KWSys is embedded in the source tree of
      another project that may activate iwyu.
      ce5b0d34
  23. 03 Feb, 2017 1 commit
  24. 21 Dec, 2016 1 commit
  25. 02 Dec, 2016 1 commit
  26. 01 Dec, 2016 1 commit
    • Chuck Atkins's avatar
      DynamicLoader: Expand noop implementation to more platforms · d94f92f7
      Chuck Atkins authored
      Rather than just testing for explicit platforms in the dynamic loader,
      i.e. old BlueGene and Cray systems, leverage CMake's platform knowlege
      to determine if shared libraries are supported.
      
      Change-Id: I6189bcfb6d528cf4c96a40be2b31af981d09dbb2
      d94f92f7
  27. 21 Nov, 2016 2 commits
  28. 04 Nov, 2016 1 commit
    • Brad King's avatar
      Simplify KWSys per-source license notices · c41c1bc4
      Brad King authored
      Per-source copyright/license notice headers that spell out copyright holder
      names and years are hard to maintain and often out-of-date or plain wrong.
      Precise contributor information is already maintained automatically by the
      version control tool.  Ultimately it is the receiver of a file who is
      responsible for determining its licensing status, and per-source notices are
      merely a convenience.  Therefore it is simpler and more accurate for
      each source to have a generic notice of the license name and references to
      more detailed information on copyright holders and full license terms.
      
      Our `Copyright.txt` file now contains a list of Contributors whose names
      appeared source-level copyright notices.  It also references version control
      history for more precise information.  Therefore we no longer need to spell
      out the list of Contributors in each source file notice.
      
      Replace KWSys per-source copyright/license notice headers with a short
      description of the license and links to `Copyright.txt` and online
      information available from "https://cmake.org/licensing#kwsys".
      
      Run the `filter-notices.bash` script to perform the replacements mechanically.
      Manually fix up the shebang line in one file.
      
      Change-Id: I8497f7c868664dcf54a8608ab302ad93c860b334
      c41c1bc4
  29. 09 Sep, 2016 1 commit
    • Dāvis Mosāns's avatar
      ConsoleBuf: Use a custom std::streambuf for console output on Windows · 669e3a06
      Dāvis Mosāns authored
      Currently Microsoft's C++ libraries implementation of std::cout/cerr
      can't output Unicode characters but only ASCII or ANSI if locale is set
      so we implement and use our own ConsoleBuf which can output Unicode
      characters to console and it doesn't matter what locale or console's
      codepage is set.
      
      Change-Id: I33053aa229796e84088aa3beb0ebe8bdbebaf3d1
      669e3a06
  30. 19 Jul, 2016 1 commit
    • Dāvis Mosāns's avatar
      FStream: Add MinGW support · 9d1dbd95
      Dāvis Mosāns authored
      std::basic_filebuf::open(const wchar_t *) isn't part of C++ standard
      and it's only present for MSVC but it isn't present in libstdc++ (MinGW)
      so we implement this functionality using GNU libstdc++ stdio_filebuf
      extension and _wfopen function.
      
      Change-Id: I7df7a1b22ba272db23c8d962cb66ec71a278ef06
      9d1dbd95
  31. 30 Jun, 2016 1 commit
  32. 14 Dec, 2015 1 commit
  33. 09 Dec, 2015 1 commit
  34. 04 Dec, 2015 1 commit
    • Brad King's avatar
      FundamentalType: Drop KWSYS_CAN_CONVERT_UI64_TO_DOUBLE macro · 452b10d5
      Brad King authored
      This was used only for an old VS 6 version that did not support
      conversion of `unsigned __int64` to `double`.  Support for this compiler
      has been dropped from KWSys clients that used the macro.
      
      Change-Id: Ia61beaa0251fc2b6d77632af3e610c08f64d11eb
      452b10d5
  35. 06 Oct, 2015 2 commits