- Dec 01, 2016
-
-
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
-
Chuck Atkins authored
Change-Id: I4993716a1efebd32b3b0fc3e992c1b29f5305fe0
-
- Nov 28, 2016
-
-
Change-Id: Ib81221af43ee592b461b5d3c0437c46c2be0488d
-
- Nov 21, 2016
- Nov 18, 2016
-
-
Change-Id: Ib9f72534e2715ca6230b212231e4133e29bcab31
-
This allows to change ConsoleBuf parameters such as used codepages. Change-Id: I35c9262ada27b3817f8e3e52b235dc754d1bdd4b
-
- Nov 16, 2016
-
-
Brad King authored
Change-Id: I9861bf74cfbababeeb559652123fff60bb16edc8
-
- Nov 10, 2016
-
-
Brad King authored
Fix the path to the script within this source tree in example commands. Change-Id: Iee85cf12b2cf49eea7959685fe9bec223f7c1ff2
-
- Nov 09, 2016
-
-
DNS lookup on loopback devices is not needed to find the FQDN and just slows down this function, especially when the DNS lookup times out. Change-Id: I3f8b565cf8786b92cfef23b693c3c4fab57a904e
-
Brad King authored
In commit 15e90a3c (Sort includes to stabilize include order w.r.t. clang-format, 2016-11-04) we forgot to move `Configure.hxx` into its own block to ensure it remains first. Restore the original include order and add separating blanks to make it stable w.r.t. clang-format. Change-Id: Ibca524065147192da916ad98d7db3c5d86b26a5a
-
- Nov 08, 2016
-
-
Brad King authored
These files are only for development of KWSys itself and are not needed when the source tree is merged into clients. Change-Id: Ie4a42cae5bcf8993df958af178d3c5359684c598
-
- Nov 04, 2016
-
-
Run the `clang-format.bash` script to update all our C and C++ code to a new style defined by `.clang-format`. Use `clang-format` version 3.8. * If you reached this commit for a line in `git blame`, re-run the blame operation starting at the parent of this commit to see older history for the content. * See the parent commit for instructions to rebase a change across this style transition commit. Change-Id: Ie3aedc03bfe5c3999d4a077fafb8c6f3bbffc5c5
-
Brad King authored
This is an empty commit that precedes an automatic application of clang-format to update the C++ style of our entire source tree. This may be helpful to rebase a topic branch that was originally based on a commit preceding the transition. One may first rebase the topic on this commit. Then use one of the following approaches. * Rewrite the topic, including this commit, using `git filter-branch` `--tree-filter` with `clang-format.bash` to update the style in every commit. Rebase the revised topic, excluding the rewrite of this commit, on the style transition commit. OR * Add a `.git/info/grafts` entry to change the parent of the first commit in the topic from this commit to the style transition commit. Rewrite the topic using `git filter-branch --tree-filter` with `clang-format.bash` to update the style in every commit. Then remove the graft, which was resolved by the filter. See `git help filter-branch` and `git help repository-layout` for details. Change-Id: Ieab41df4c10872a91c974330d27abd292e2da510
-
Brad King authored
Document that we now define our coding style with `clang-format`. Change-Id: I6dea8c3816f277b0e56e074ccd6c64a2cfeb094c
-
Brad King authored
List all sources in version control and filter out those that we should not format for various reasons. Then run the clang-format tool to do an in-place update. Change-Id: If6d24b3b2e2de1b8e66f7fc2a713d2fd1d579f3d
-
Brad King authored
Use the same format as CMake. This is the Mozilla style with a few tweaks: * Do not align operator arguments. * Do not always break after a function return type. * Limit to 79 columns instead of 80 to fit edge cases better in 80-column terminals. * Format for C++98 instead of C++11 because KWSys is written in the former language. Change-Id: I755d3ca9cf2d883e85682fa86cab7127156da861
-
Brad King authored
Do not let clang-format add spaces around the "/" in the macro definition. Change-Id: I51dd99b304300b4181c6e35628f3a3c324935b7a
-
Brad King authored
References to `@KWSYS_NAMESPACE@` have no meaning in non-configured sources. Change-Id: I4ffa59918d69aefb4835b2d2e84e4c6bf73dd274
-
Brad King authored
Change-Id: I35dbe7cb024d2220e2a7137515d03c9b4dc838ba
-
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
-
Brad King authored
Add a script to replace our previous per-source license notices with a much simpler notice. This will be used in a following commit and then removed. Change-Id: I63911c5b21bab6c198f7f65f7facffd6a1df405c
-
Brad King authored
We do not require copyright assignment for contributions to KWSys. Update the top-level notice to mention "Contributors" explicitly. Change-Id: Id0bd823b8408b8041584a46c81ab46a8cfbe0c0d
-
Brad King authored
The clang-format tool sorts `#include` lines within contiguous blocks. Separate blocks with blank lines and sort the include lines within them so that clang-format does not re-order anything. Change-Id: I96d6828f470b9a234464972172d46afab322487c
-
- Nov 03, 2016
-
-
Brad King authored
On MSVC we get FStream.hxx(149): warning C4100: 'efilebuf' : unreferenced formal parameter Quiet the warning by casting the argument to `void`. Change-Id: Ife2e2301b95864b0ae4c8bafe21e8c989110d635
-
- Oct 22, 2016
-
-
Dāvis Mosāns authored
In some cases GetFileType returns FILE_TYPE_CHAR even if it isn't actual console. Change-Id: I84b6b7b8b3eebc840fd5464cf1de2e9be24f427e
-
- Oct 07, 2016
-
-
Brad King authored
The current implementation was added by commit 5c8693bc (remove redundant function and eliminate need for strcasecmp, 2003-04-11). The code was taken from Graphviz in 2003 from a source file that at the time was distributed under terms of the Common Public License, Version 1.0. While the actual content is simple and likely not copyrightable, clarify the licensing status by simply re-implementing the function from scratch using another approach. Change-Id: I44f72b215577af9e3de234b5ef03113c580a3bd6
-
- Sep 29, 2016
-
-
Brad King authored
Change-Id: I7b5d0b0edb756989d84d7291467256ad48004398
-
- Sep 23, 2016
-
-
Brad King authored
This compiler extension is not universally supported. Spell out the function name explicitly, and use __LINE__ to get more-specific information. Change-Id: I670d94a85f1ff8112655af62fb710460b3e76f19
-
Brad King authored
Streaming std::endl implies a flush. Change-Id: I770ee8ef989d096192fc9eb2a372eb2110ebe34c
-
Brad King authored
Borland 5.8 warns about initializations that are immediately followed by assignments. Change-Id: I74320629a3112b919b68215ebe74870881b210c5
-
- Sep 20, 2016
-
-
If expected and received characters don't match, output them. Change-Id: I348b531b85e2d09211c8d4c09eba12200d7ead32
-
std::wstring<>::size() returns characters, not bytes. Change-Id: Iced3d7246d022e3eea582dbd880ff2c71a145f5d
-
If FaceName wasn't previously present we need to remove it. Change-Id: I1e463f2b159de15838efe9f504ab5340aa5f2342
-
Change-Id: I3a726be174f9799e85d34243182e80cb35c655b5
-
Split the before-input and after-output cases since the parent must act between them. Change-Id: I14b704ea927c7ce7258d40ac105577a355cdcd13
-
Print more information about each failure. Change-Id: I9c9a0ad628fba6452894eb80251e6fa2bdf1a87f
-
- Sep 14, 2016
-
-
Brad King authored
If only some leading components of the input path exist then convert those and leave the rest unchanged. This way if a file path is constructed using GetActualCaseForPath and created on disk, then a following GetActualCaseForPath on the same now-existing path will return the same value. Change-Id: I6e09a4d411f8bf107312f39d7409ba2d22bf176b CMake-Issue: 16295
-
Brad King authored
Use ComparePath to perform case-insensitive comparison when needed. Change-Id: I901b1a12ab43655ac44eee2b3e18c3f2630d6c18
-
Brad King authored
Undefine any `_WIN32_WINNT` value that may be defined on the compiler command line by clients that are targeting the build at a different version of Windows than the host. We must build for the host APIs in order for the test to be able to configure its console correctly. Since the test binary is not installed it does not matter if it is not built for the client's target Windows version. Change-Id: Ic3e79550713384c45baf25aa624efbcb5d49d0a4
-