- Sep 27, 2012
-
-
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
-
Brad King authored
Configure GitSetup scripts for KWSys. Run them from a single SetupForDevelopment.sh script. Change-Id: Ic4f02175fd65e2f4fe5688e43313766c2b23458f
-
Brad King authored
Add GitSetup/ directory using subtree merge from the general GitSetup repository "setup" branch. Change-Id: Ibbdf355c1c28eada01d02a785533d0d82c25205a
-
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".
-
- Sep 19, 2012
-
-
Brad King authored
-
- Sep 18, 2012
-
-
Change-Id: Ia49de4dfa022f9f284733e8b42c22c987b145bde
-
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
-
- Sep 17, 2012
-
-
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
-
- Sep 14, 2012
-
-
Brad King authored
Change-Id: I08fd8c6ed7e9ba16216f1e8c52285f2f8e6be7fe
-
- Sep 10, 2012
-
-
Brad King authored
Add a .gitattributes line to match both "config.sample" and any config file added by the containing project.
-
- Jun 08, 2012
-
-
Brad King authored
Configure a separate pushurl only if it is different from the main url.
-
- May 18, 2012
-
-
Brad King authored
Honor the $username placeholder in the 'gerrit.url' configuration value. Configure a separate pushurl only if it is different from the main url.
-
- May 02, 2012
-
-
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.
-
- Apr 26, 2012
-
-
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.
-
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.
-
- Apr 23, 2012
-
-
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.
-
- Mar 02, 2012
-
-
Brad King authored
Add the "export-ignore" attribute to all such files. Remove the suggestion from the README since this should not be a responsibility of the including project.
-
- Feb 09, 2012
-
-
Brad King authored
-
Brad King authored
Interactively prompt the user for ~/.ssh/config setup.
-
Brad King authored
-
Brad King authored
Interactively prompt the user with Gerrit setup instructions.
-
Brad King authored
Fetch the hooks right out of the local clone if possible. Otherwise fall back to a project-configured remote repository.
-
Brad King authored
Prompt the user to configure user.name and user.email interactively.
-
Brad King authored
-
- Feb 08, 2012
-
-
Brad King authored
-
- Dec 15, 2011
-
-
Brad King authored
Fix a crash which occurs when SystemTools::GetPath attempts to process an empty environment variable. Author: Vladimir Panteleev <vladimir@thecybershadow.net>
-
- Nov 13, 2011
- Nov 01, 2011
-
-
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
-
- Oct 24, 2011
-
-
Brad King authored
Author: Nicolas Despres <nicolas.despres@gmail.com>
-
- Sep 06, 2011
-
-
David Cole authored
This behaviour was previously broken; regardless of the RecurseThroughSymLinks value, symlinks to directories were NEVER added as files in the results. When RecurseThroughSymLinks is ON, symlinks to directories should be recursed as if they were the actual directories to gather the files within. However, when RecurseThroughSymLinks is OFF, symlinks to directories should be returned as files in the result. Inspired-by:
Johan Björk <phb@spotify.com>
-
David Cole authored
Its presence confuses, and, since it is always true, is useless.
-
- Sep 01, 2011
-
-
Brad King authored
Borland ignores "const" qualifiers in template specializations.
-
Brad King authored
Added hashing fuction for std::string. This adds default support for std::strings to KWSys hashing containers. Author: Bradley Lowekamp <blowekamp@mail.nih.gov> Suggested-by:
Arnaud Gelas <arnaud_gelas@hms.harvard.edu> Change-Id: I7e7a0c356b73d19868a3df1db57b702ec7fffe9d
-
- Aug 20, 2011
-
-
David Cole authored
In SystemTools::ClassInitialize, remove call to AddTranslationPath that was originally put in place to "work around an SGI problem." This code precluded using CMake effectively in valid directories under "/tmp_mnt/"
-
- Aug 09, 2011
-
-
Brad King authored
For the specialization of hash<>(), the types long long and __int64 may be the same type. While the CMakeLists indicate that if __int64 is a alias for another type the it will not be enabled, on mingw they both appear to be the same type and enabled. This patch only enable specialization for long long OR __int64 to avoid the potential conflict. Author: Bradley Lowekamp <blowekamp@mail.nih.gov> Change-Id: I813a9ac008b296fab5a369c48e6dd5460fd0c035
-
- Aug 08, 2011
-
-
Brad King authored
Added hash function for types long long and __int64, conditional on detection by FundamentalType. Author: Bradley Lowekamp <blowekamp@mail.nih.gov> Change-Id: Ie273f55cd4387ca3dbbe00b9d96ad4935e456c9e
-
- Aug 04, 2011
-
-
Brad King authored
Convert struct timeval members to double explicitly to avoid a GCC warning with -Wconversion.
-
- Aug 03, 2011
-
-
Brad King authored
We already use GetSystemTimeAsFileTime() and gettimeofday() unconditionally on supported Windows and non-Windows platforms, respectively. Remove outdated portability complexity.
-
- Jun 19, 2011
-
-
Brad King authored
Author: Davide Mancusi <arekfu@gmail.com> Acked-By:
Modestas Vainius <modax@debian.org> Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=627853
-