summaryrefslogtreecommitdiffstats
path: root/testEncoding.cxx
Commit message (Collapse)AuthorAgeFilesLines
* KWSys 2021-10-27 (e19a5668)KWSys Upstream2021-10-271-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | Code extracted from: https://gitlab.kitware.com/utils/kwsys.git at commit e19a5668f01bb9d96440ce96e777749d6e92562d (e19a5668f01bb9d96440ce96e777749d6e92562d). Upstream Shortlog ----------------- Mathieu Westphal (1): e28d7282 DynamicLoader: Add RTLD_GLOBAL as a supported flag on linux Sean McBride (8): 704a63d4 Replace sprintf with snprintf f9f6d67b Replace non-standard _snprintf with standard snprintf f771c009 Fix -Wunused-macros warning by defining under same conditions as usage f3d4b12b Fix Wmissing-prototypes warnings by making functions static 6f4a1826 Fix Wmissing-variable-declarations by declaring variable in a header 31d25023 Fix all Wold-style-cast warnings 0f44b620 Fix Wreserved-id-macro warning by removing double underscore 44718539 Fix for extraneous semi-colon warning
* KWSys 2020-05-13 (d4da6980)KWSys Upstream2020-05-131-4/+4
| | | | | | | | | | | | | | | | | | Code extracted from: https://gitlab.kitware.com/utils/kwsys.git at commit d4da69800d9103a7d3654f9428386a914ba280f2 (master). Upstream Shortlog ----------------- Sean McBride (5): c58d4b47 SystemTools: On Windows, strip 'e' from Fopen mode cb541c31 Auto-fixed various clang-tidy warnings 2c179921 Applied clang-tidy modernize-deprecated-headers 775296c8 Applied clang-tidy bugprone-suspicious-string-compare fixes a19f0ac6 Fixed clang -Wstrict-prototypes warning
* KWSys 2020-03-04 (6af2e592)KWSys Upstream2020-03-041-10/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Code extracted from: https://gitlab.kitware.com/utils/kwsys.git at commit 6af2e59217a7e10ed507da564a1445b60ac2a095 (master). Upstream Shortlog ----------------- Hans Johnson (17): 81d1e737 STYLE: Use modern path naming 28b8e6c2 STYLE: Convert CMake-language commands to lower case 6ce3d69a DOC: Update documentation for modern add_subdirectory. 8a7fe7ac STYLE: Remove redundant void argument lists 1c3e193d COMP: Use nullptr instead of 0 or NULL 2a4c1252 STYLE: Replace integer literals which are cast to bool. 0fe7214d STYLE: Make prototype match definition names 3b30d0ff STYLE: Make prototype match definition names 691d5612 PERF: readability container size empty 7be4043f STYLE: Prefer c++11 'using' to 'typedef' acc916ed COMP: Prefer const pointer when value does not change 4c7f64eb COMP: Prefer const member functions d07092a0 STYLE: Use default member initialization 6d20e7c9 STYLE: Prefer = default to explicitly trivial implementations 91429382 PERF: emplace_back method results in potentially more efficient code cc8fc323 STYLE: Use auto for variable type matches the type of the initializer 6621b069 STYLE: Use range-based loops from C++11 Julien Schueller (1): a1a261ac CMake: Fix psapi lib name on case-sensitive fs
* KWSys 2019-09-18 (c6bc38c1)KWSys Upstream2019-09-181-2/+2
| | | | | | | | | | | | | | | | | | Code extracted from: https://gitlab.kitware.com/utils/kwsys.git at commit c6bc38c11a3a11e393f0608486b08dadc8dbacc3 (master). Upstream Shortlog ----------------- Sean McBride (5): 4de1241f Fixed -Wextra-semi-stmt warning 30de8e17 Fixed -Wsign-conversion warnings by adding casts 750da75a Fixed 64 to 32 bit truncation warning by casting 419aaa35 Fixed -Wunused-macros warnings 46c55893 Replaced several 0, NULL, and KWSYS_NULLPTR with nullptr
* KWSys 2018-06-01 (8ef62b28)KWSys Upstream2018-06-011-3/+3
| | | | | | | | | | | | | | | | | | Code extracted from: https://gitlab.kitware.com/utils/kwsys.git at commit 8ef62b289e0a99856893ef49106c2b2d94e9dd0c (master). Upstream Shortlog ----------------- Brad King (2): 6b9c233c clang-format.bash: update to clang-format-6.0 b7a341cf Empty commit at end of history preceding clang-format-6.0 style transition Kitware Robot (1): 828b6837 Revise C++ coding style using clang-format-6.0
* KWSys 2018-01-23 (0579db1c)KWSys Upstream2018-01-241-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Code extracted from: https://gitlab.kitware.com/utils/kwsys.git at commit 0579db1c97715f9936523dd473c0ed7613b68e68 (master). Upstream Shortlog ----------------- Ben Boeckel (1): 3e807fd6 cmake: specify source file extensions Brad King (1): 38855ca1 Set CMP0042 explicitly with CMake 3.0 and above Chuck Atkins (1): 4ca97fc6 SystemTools: Disable getpwnam for static linux builds Hans Johnson (1): 7d7f3b2d Configure: Add KWSYS_NULLPTR macro for C++ code Sankhesh Jhaveri (1): 20c458d0 Set CMP0022 policy to new to provide link interface definitions Sean McBride (1): c6829e4d Fixed a few comments, mostly regarding base 2 vs base 10 sizes luz.paz (1): 4b67f965 Remove superfluous double whitespace in appropriate places
* KWSys 2017-10-10 (239bc737)KWSys Upstream2017-10-101-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | Code extracted from: https://gitlab.kitware.com/utils/kwsys.git at commit 239bc737543886a72c5e9e3445d51e17f7e26abe (master). Upstream Shortlog ----------------- Matthias Maennich (5): 6599eda6 testRobustEncoding: restore format flags for std::cout before exiting 862562ce SystemInformation: fix potential off-by-one write 13e02b76 processUNIX: close intermediate file descriptor in error case 73c491e8 processUNIX: fix not null terminated buffer during error reporting ce55a255 testSystemTools: fix some copy'n'paste issues Rolf Eike Beer (5): 6ca15069 SystemTools: make Getcwd() more efficient on Windows 6d7eb3a1 CommandLineArguments: do not check variable before delete[] 3b8fefea remove pointer checks before calling free() cf8beae3 ProcessUNIX: use strdup() instead of open coding it 5d2aff9d ProcessWin32: use strdup() instead of open coding it
* KWSys 2017-05-16 (fe1f22ce)KWSys Upstream2017-05-161-3/+0
| | | | | | | | | | | | | | | | | | | | Code extracted from: https://gitlab.kitware.com/utils/kwsys.git at commit fe1f22ceefdae18df33e5bab8483fec7a82d4cee (master). Upstream Shortlog ----------------- Adam Weisi (3): 8a799e36 Process: Improve definition ordering in header file 7d56ef24 Process: Save results from all children internally b7eba998 Process: Add APIs to get results of individual processes Ben Boeckel (2): cea71543 style: remove separator comments 874dc559 style: help clang-format near macros
* KWSys 2017-04-19 (9f6ffaff)KWSys Upstream2017-04-191-0/+83
| | | | | | | | | | | | | | | | | | | Code extracted from: https://gitlab.kitware.com/utils/kwsys.git at commit 9f6ffaff4ed7b639b3523b43f41e70f75271f0cc (master). Upstream Shortlog ----------------- Brad King (3): e71a3406 Encoding: Add ToWindowsExtendedPath function 41b8603c SystemTools: Use Encoding::ToWindowsExtendedPath edd8b5e0 FStream: Open files on Windows using UNC path Chuck Atkins (1): 0c4e58ec Silence warnings from newer CMake versions from CMP0048
* KWSys 2016-12-02 (4967ccc0)KWSys Upstream2016-12-051-0/+31
| | | | | | | | | | | | | | | | | | | Code extracted from: http://public.kitware.com/KWSys.git at commit 4967ccc054d268c430e73445f3a103e737c5f5f7 (master). Upstream Shortlog ----------------- Chuck Atkins (2): f1afce25 DynamicLoader: Re-organize preprocessor checks to use if, elif, else d94f92f7 DynamicLoader: Expand noop implementation to more platforms Dāvis Mosāns (2): f069db91 Encoding: Fix conversion of strings that contain null bytes 4967ccc0 ConsoleBuf: Fix output for strings that contain null byte
* KWSys 2016-11-09 (18c65411)KWSys Upstream2016-11-091-79/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Code extracted from: http://public.kitware.com/KWSys.git at commit 18c654114de3aa65429542f95308720bc68f9231 (master). Upstream Shortlog ----------------- Brad King (14): 37306a1c FStream: Quiet unused argument warning 15e90a3c Sort includes to stabilize include order w.r.t. clang-format 26509227 Copyright.txt: Add notice of copyright by contributors fc42d3f2 Add temporary script to filter license notices c41c1bc4 Simplify KWSys per-source license notices 1d4c0b4a Remove temporary script that filtered license notices a4f5ef79 SystemInformation: Remove stray comment 8649a886 kwsysPrivate: Protect KWSYS_HEADER macro from clang-format 89b98af5 Configure clang-format for KWSys source tree 547dacad Add a script to run clang-format on the entire source tree aa94be0c CONTRIBUTING: Add a section on coding style 6604c4b6 Empty commit at end of history preceding clang-format style transition 2b3e2b1c Tell Git to not export 'clang-format' infrastructure 18c65411 FStream: Include Configure.hxx before other headers Kitware Robot (1): 6c973b46 Revise C++ coding style using clang-format
* KWSys 2016-03-29 (b51abb30)KWSys Upstream2016-03-291-1/+1
| | | | | | | | | | | | | | | | | Code extracted from: http://public.kitware.com/KWSys.git at commit b51abb307d3b40957cc508aa54d449d9b41f5537 (master). Upstream Shortlog ----------------- Ben Boeckel (1): 069a6b37 windows: check for _WIN32 rather than WIN32 Felix Geyer (1): b51abb30 SystemInformation: Fix spelling typos in comments
* KWSys 2015-08-28 (dc3fdd7f)KWSys Robot2015-09-021-2/+1
| | | | | | | | | | | | | | | | | Extract upstream KWSys using the following shell commands. $ git archive --prefix=upstream-kwsys/ dc3fdd7f | tar x $ git shortlog --no-merges --abbrev=8 --format='%h %s' cdaf522c..dc3fdd7f Brad King (9): 15a16826 Remove include <kwsys/ios/*> and kwsys_ios:: compatibility layer a5799c17 Remove unused KWSYS_IOS_USE_{SSTREAM,STRSTREAM_H,STRSTREA_H} checks 198957cf Remove unused KWSYS_IOS_USE_SSTREAM check 24d2b60e Remove support for pre-C++98 streams 2a581c30 Remove support for pre-C++98 std::string missing operators 5f3fd465 Remove support for pre-C++98 STL cded1574 Remove support for pre-C++98 STL from hash_map and hash_set f130a3ab Remove kwsys/cstddef compatibility header dc3fdd7f Remove support for pre-C++98 template capabilities
* KWSys 2013-12-19 (2426b57d)KWSys Robot2013-12-201-0/+31
| | | | | | | | | | | Extract upstream KWSys using the following shell commands. $ git archive --prefix=upstream-kwsys/ 2426b57d | tar x $ git shortlog --no-merges --abbrev=8 --format='%h %s' 88165c5e..2426b57d Clinton Stimpson (1): 2426b57d Encoding: Add support for program arguments argc/argv. Change-Id: Id1fbc042a093b1de398753ffa16d4f9449e99423
* KWSys 2013-12-19 (88165c5e)KWSys Robot2013-12-191-1/+10
| | | | | | | | | | | | | | | | | | | Extract upstream KWSys using the following shell commands. $ git archive --prefix=upstream-kwsys/ 88165c5e | tar x $ git shortlog --no-merges --abbrev=8 --format='%h %s' 1010d0e3..88165c5e Clinton Stimpson (2): ab6f8c36 FStream: Fix rdbuf() return and use use of FStream in SystemTools. 88165c5e Encoding: Fix bug in kwsysEncoding_DupToNarrow. Rolf Eike Beer (2): d2bcbe11 SystemInformation: extract CPU information on Linux/Sparc b2fd7da5 ProcessUNIX: close /proc entry before starting recursion Ådne Hovda (1): a02a1ad2 SystemInformation: Fix compilation on HP-UX 11.11 hppa Change-Id: I225e0517379d88612f18215b43c7d6a9daad6326
* KWSys 2013-11-21 (1010d0e3)KWSys Robot2013-11-251-0/+159
Extract upstream KWSys using the following shell commands. $ git archive --prefix=upstream-kwsys/ 1010d0e3 | tar x $ git shortlog --no-merges --abbrev=8 --format='%h %s' 6eab64c3..1010d0e3 Brad King (2): ace1364c Encoding: Remove unused include 1010d0e3 SystemTools: Avoid unused function warnings Clinton Stimpson (4): 0c2ff1f7 Encoding: Add Encoding module. 8abbad82 FStream: Add FStream module. 0a98de97 KWSys: Port to use wide character Windows APIs throughout. 2b0c683d Encoding: Default to ANSI code page on Windows David Cole (1): f67bb2ba SystemTools: Move typedef mode_t inside the SystemTools class Sean McBride (1): a40b9263 SystemInformation: Work around gcc -Wliteral-suffix warning Change-Id: Ie52df972331cc7377c236d410ead86024e9d15ab