Skip to content
Snippets Groups Projects
  1. Dec 19, 2012
  2. Dec 14, 2012
    • Brad King's avatar
      Remove KWSys Registry · 01e15c22
      Brad King authored
      The Registry class is not used by any other part of KWSys or by any of
      the major dependent projects (CMake, ITK, VTK, ParaView, etc.).  Remove
      it from KWSys proper.  It can be kept in a specific dependent if
      necessary.
      
      Change-Id: I82c0ae2f6a354e9fc5b267faf8fbbeaf9e99a75e
      01e15c22
  3. Nov 29, 2012
  4. Nov 14, 2012
    • Brad King's avatar
      Process: Remove support for Windows 98 · fea37696
      Brad King authored
      We no longer support Windows 98.  Remove Win9x-specific code and
      supporting infrastructure.  This simplifies the implementation in several
      places.
      
      Change-Id: Ic3062a81e5880b649feeedf397bf846400f12526
      fea37696
  5. Nov 08, 2012
  6. Nov 05, 2012
    • Brad King's avatar
      SystemInformation: Compute FQDN only on specific platforms · df32fa6f
      Brad King authored
      In order to compute FQDN portably in the future we will need an
      incremental series of try_compile tests to build up the list of
      available headers and supported APIs.  For now implement it only on
      platforms where we have already hard-coded preprocessor tests for the
      headers.
      
      Change-Id: Ie1b2ad30ef3c2d5939071c7cbd32826be64d7e29
      df32fa6f
    • Brad King's avatar
      SystemInformation: Fix sw_vers output processing · 2c46f562
      Brad King authored
      Commit 857bda17 (SystemInformation: Report more information, 2012-05-29)
      attempted to refactor the internal CallSwVers helper to avoid duplicate
      code but introduced a regression in output parsing.  Run sw_vers using
      our RunProcess helper rather than popen and restore the original output
      processing approach.
      
      Change-Id: I550af5813dcad5beaec86c7c5fa1f00bcc9070b6
      2c46f562
    • Brad King's avatar
      SystemInformation: No backtrace on LSB < 4.1 · b7c42507
      Brad King authored
      The backtrace API was added in LSB 4.1 but does not exist in 4.0.
      
      Change-Id: Iae84de74d83135c53f4c5fd7bd16d9764d3c161b
      b7c42507
  7. Nov 02, 2012
  8. Oct 16, 2012
  9. Oct 12, 2012
    • Brad King's avatar
      SystemInformation: Expose helper functions only where needed · a1e83e42
      Brad King authored
      Drop unused helper GetFieldFromCommand.  Define helpers
      
       LoadLines
       NameValue
       GetFieldFromFile
       GetFieldsFromFile
       GetFieldsFromCommand
       StacktraceSignalHandler
      
      only on platforms where they are used.  Hide all helpers in an anonymous
      namespace so they are not visible outside the SystemInformation
      translation unit.
      
      Change-Id: I514881a8f253d72e90a0fb8bf1a6d7d9bc7e01c5
      a1e83e42
    • Brad King's avatar
      SystemInformation: Fix helper definition order · f9db7eab
      Brad King authored
      Switch order of helper function definitions to avoid referencing names
      before they are declared.
      
      Change-Id: I25243b2042163f920f056b71941c88e6cfabac16
      f9db7eab
  10. Oct 10, 2012
  11. Oct 09, 2012
    • Burlen Loring's avatar
      SystemInformation: support for resource limits · 6072e63b
      Burlen Loring authored
      Add methods to report host memory total, host memory available,
      process memory available, host memory used, and process memory
      used. In this context memory is unavailable if there are resource
      limits in place that would prevent its use. Such resource limits
      assumed to be applied on a per host basis both to cooperatively
      operating process groups, such as mpi programms running in parallel,
      and to individual processes. When reporting host memory available
      consult an application specified environment variable. When reporting
      process memory available consult unix resource rlimits and an
      application specified environment variable. The environmant variables
      provide a means of communicating resource limits that are being
      applied in a non-standard way.
      
      Change-Id: Ifb3b0fdaab8db0ab87140fa2dcafad3c51e2d874
      6072e63b
  12. Oct 06, 2012
  13. Oct 01, 2012
  14. Sep 29, 2012
  15. Sep 27, 2012
    • Brad King's avatar
      SystemInformation: Use long long or __int64 only where available · 750b4b5c
      Brad King authored
      Change-Id: I52102945c67c902bc8578363b0d4712081a7fa1f
      750b4b5c
    • Brad King's avatar
      SystemInformation: Fix UNIX system includes for FQDN · 8d2cafcd
      Brad King authored
      Move general UNIX includes out of __linux and __APPLE__ blocks to
      anywhere _WIN32 is not defined.  Fix preprocessing rules to implement
      GetFullyQualifiedDomainName only where it is known to work.
      
      Change-Id: I2147d38359af169069fa1a9d516614a92902563c
      8d2cafcd
    • Burlen Loring's avatar
      SystemInformation: Report more information · 857bda17
      Burlen Loring authored and Brad King's avatar Brad King committed
      Support probing of the current process memory usage in KB
      (linux,win,mac), the total physical memory in KB (linux,win,mac), and
      the model name field of the cpuinfo (Linux only).  Add a method to
      return the host's FQDN (non-AIX), and methods to test for OS type
      (Windows, Apple, Linux).
      
      Change-Id: Iedb238f4ca49d5f13385a71a592ec67cec73b29c
      857bda17
    • Brad King's avatar
      Add and configure developer setup helper scripts · 63cbea35
      Brad King authored
      Configure GitSetup scripts for KWSys.  Run them from a single
      SetupForDevelopment.sh script.
      
      Change-Id: Ic4f02175fd65e2f4fe5688e43313766c2b23458f
      63cbea35
    • Brad King's avatar
      Merge branch 'setup' · ba1e532b
      Brad King authored
      Add GitSetup/ directory using subtree merge from
      the general GitSetup repository "setup" branch.
      
      Change-Id: Ibbdf355c1c28eada01d02a785533d0d82c25205a
      ba1e532b
    • Brad King's avatar
      Add 'git-gerrit-push' script · 341043cf
      Brad King authored
      Add a script implementing our standard "git gerrit-push" alias.  When
      invoked, first check that the current branch is a named topic.  Then
      fetch 'master' from the 'gerrit' remote repository so the local
      repository can compute a minimal pack to push.  Finally, push the topic
      to the 'gerrit' remote as "refs/for/master/$topic".
      341043cf
  16. Sep 19, 2012
  17. Sep 18, 2012
    • Sean McBride's avatar
      SystemTools: Fix accidental bitwise instead of logical OR · 924466f5
      Sean McBride authored and Brad King's avatar Brad King committed
      Change-Id: Ia49de4dfa022f9f284733e8b42c22c987b145bde
      924466f5
    • Brad King's avatar
      SystemTools: Remove unused environ declaration · 2f423229
      Brad King authored
      Commit "KWSys: Fix SystemTools environment memory handling" (2012-04-26)
      added a _WIN32 case inside !KWSYS_CXX_HAS_ENVIRON_IN_STDLIB_H to dllimport
      the "environ" global.  Howver, KWSYS_CXX_HAS_ENVIRON_IN_STDLIB_H is true
      on every Windows toolchain we support so the case is never reached.
      Furthermore, even if it were reached the use of dllimport is incorrect
      because the toolchain might not be compiling with a dynamic runtime
      library.  Remove the unused incorrect line and supporting conditionals.
      
      Change-Id: If2b24fcbec18a711e4fbc28c5d027506d14f9ccb
      2f423229
  18. Sep 17, 2012
    • Brad King's avatar
      Disable warnings about MS deprecation of C library · a49c2417
      Brad King authored
      Define macros
      
       _CRT_NONSTDC_NO_DEPRECATE
       _CRT_SECURE_NO_DEPRECATE
       _CRT_SECURE_NO_WARNINGS
       _SCL_SECURE_NO_DEPRECATE
      
      for all translation units in KWSys.  Drop definitions from Configure.h
      that are now redundant.
      
      Change-Id: I326a1edb6c5a8ab977ecd2370eed6fcdf4775208
      a49c2417
Loading