Skip to content
Snippets Groups Projects
  1. 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
  2. Oct 01, 2012
  3. Sep 29, 2012
  4. 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
  5. Sep 19, 2012
  6. 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
  7. 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
  8. Sep 14, 2012
  9. Sep 10, 2012
  10. Jun 08, 2012
  11. May 18, 2012
  12. May 02, 2012
    • Brad King's avatar
      KWSys: Remove dependencies on FundamentalType · 719638e2
      Brad King authored
      The hash_fun.hxx header is configured whether FundamentalType is enabled
      or not and so cannot depend on it.  Run the relevant platform tests
      whether or not FundamentalType is on and configure the result directly
      into hash_fun.  While at it, remove the dependence of SystemInformation
      on FundamentalType too since it needs only information that we now
      always compute.
      719638e2
  13. Apr 26, 2012
    • Brad King's avatar
      setup-stage: Optionally reconfigure topic stage · b7daff9b
      Brad King authored
      When the topic stage has already been configured present the current
      configuration and prompt for optional reconfiguration.  While at it,
      make the topic stage remote name configurable by the project.
      b7daff9b
    • Brad King's avatar
      KWSys: Fix SystemTools environment memory handling (#13156) · 48aeb751
      Brad King authored
      The SystemTools::PutEnv function tries to provide the "putenv" API
      without leaking memory.  However, the kwsysDeletingCharVector singleton
      frees memory that may still be referenced by the environment table,
      having been placed there by putenv.  If any static destruction or
      processing by an external tool happens after the singleton is destroyed
      and accesses the environment it will read invalid memory.
      
      Replace use of putenv with setenv/unsetenv when available.  The latter
      manage internal copies of the values passed instead of referencing the
      original memory.  When setenv/unsetenv are not available use putenv with
      a singleton that removes its values from the environment before freeing
      their memory.  This requires an "unputenv" implementation.  On at least
      some platforms it must be written in terms of "putenv" because other
      APIs are not available and direct modification of the "environ" global
      is not safe (e.g. on Windows there is interaction with "wenviron").
      Fortunately either putenv("A=") or putenv("A") will remove "A" from the
      environment on these platforms.  On other platforms fall back to direct
      manipulation of "environ".
      
      Also add UnPutEnv to the API and add a test for the behavior of both.
      48aeb751
  14. Apr 23, 2012
    • Brad King's avatar
      KWSys: Remove DateStamp · a3659a0d
      Brad King authored
      KWSys is no longer shared in projects via a server-side directory
      symlink in CVS.  An automated nightly date stamp commit can no longer be
      shared by multiple projects directly.  It needs a per-project replay
      robot so the nightly commits end up needing N+1 robots instead of N.
      Remove the DateStamp feature because it is no longer useful or
      maintained by nightly commits.
      a3659a0d
  15. Mar 02, 2012
  16. Feb 09, 2012
  17. Feb 08, 2012
  18. Dec 15, 2011
  19. Nov 13, 2011
  20. Nov 01, 2011
    • Brad King's avatar
      KWSys: Address Intel compiler remarks · e4d5f91e
      Brad King authored
      CommandLineArguments.cxx:
       remark #181: argument is incompatible with corresponding format
        string conversion
      
      SystemInformation.cxx:
       remark #193: zero used for undefined preprocessing identifier "_WIN32"
       warning #177: variable "Regebx" was declared but never referenced
      
      SystemTools.cxx(375):
       remark #444: destructor for base class "std::vector<char*>" is not virtual
        class kwsysDeletingCharVector : private kwsys_stl::vector<char*>
      
      Author: Hans Johnson <hans-johnson@uiowa.edu>
      Change-Id: Ibc899c3ba14990158ef7bbabace4b435b22495c3
      e4d5f91e
Loading