Skip to content
Snippets Groups Projects
  1. Jan 23, 2019
  2. Oct 24, 2018
  3. Oct 04, 2018
  4. Jul 09, 2018
    • 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
  5. Apr 24, 2018
    • 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
  6. Apr 19, 2018
  7. Feb 20, 2018
    • 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
  8. Jan 31, 2018
    • Ben Boeckel's avatar
      GetFilenameName: optionally don't search for \ on non-Windows · 6770cb3e
      Ben Boeckel authored and Brad King's avatar Brad King committed
      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
  9. Jan 17, 2018
  10. Jan 09, 2018
  11. Jan 03, 2018
  12. Dec 08, 2017
    • 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
  13. Nov 29, 2017
    • 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
  14. Nov 06, 2017
  15. Oct 31, 2017
  16. Oct 11, 2017
    • 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
  17. Sep 29, 2017
    • 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
  18. Sep 01, 2017
  19. Aug 04, 2017
  20. Jun 28, 2017
  21. Jun 26, 2017
    • 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
  22. Apr 28, 2017
  23. Apr 27, 2017
    • 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
  24. Apr 18, 2017
  25. Apr 11, 2017
    • 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
  26. Feb 03, 2017
  27. Dec 21, 2016
  28. Dec 02, 2016
  29. Dec 01, 2016
  30. Nov 21, 2016
  31. Nov 04, 2016
    • 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
  32. Sep 09, 2016
    • 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
  33. Jul 19, 2016
    • Dāvis Mosāns's avatar
      FStream: Add MinGW support · 9d1dbd95
      Dāvis Mosāns authored and Brad King's avatar Brad King committed
      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
  34. Jun 30, 2016
  35. Dec 14, 2015
  36. Dec 09, 2015
Loading