<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cmake.git/Source/cmStringAlgorithms.h, branch master</title>
<subtitle>cmake</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/cmake.git/atom/Source/cmStringAlgorithms.h?h=master</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/cmake.git/atom/Source/cmStringAlgorithms.h?h=master'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/cmake.git/'/>
<updated>2024-10-26T10:01:09Z</updated>
<entry>
<title>cmStringAlgorithms: Fix core.NonNullParamChecker diagnostic in cmAlphaNum</title>
<updated>2024-10-26T10:01:09Z</updated>
<author>
<name>Brad King</name>
<email>brad.king@kitware.com</email>
</author>
<published>2024-10-23T23:24:03Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/cmake.git/commit/?id=5c7a55edc2f11b96c93cf207773c176ade66326f'/>
<id>urn:sha1:5c7a55edc2f11b96c93cf207773c176ade66326f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>cmStringAlgorithms: Move generic strings join function to public API</title>
<updated>2024-07-18T14:29:46Z</updated>
<author>
<name>Alex Turbov</name>
<email>i.zaufi@gmail.com</email>
</author>
<published>2024-07-01T16:29:20Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/cmake.git/commit/?id=2e16b58b7c72525f78b8aa1eebb7ccd9a0a24512'/>
<id>urn:sha1:2e16b58b7c72525f78b8aa1eebb7ccd9a0a24512</id>
<content type='text'>
Move `cmJoinImpl` from `cmStringAlgorithms.cxx` to the
`cmStringAlgorithms.h` as `cmJoinStrings`.  Two existing overloads are
not suitable for reverse iterators due to the hardcoded type of the
first parameter.

The signature is similar to the generic (template) `cmJoin`.  With
`enable_if` "magic", `cmJoinString` could be renamed to `cmJoin` in the
future.

Also, replace `getJoinedLength` with `std::accumulate`.
</content>
</entry>
<entry>
<title>Source: Avoid out-of-range inputs to std::isspace()</title>
<updated>2024-01-17T15:17:06Z</updated>
<author>
<name>Brad King</name>
<email>brad.king@kitware.com</email>
</author>
<published>2024-01-17T14:56:00Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/cmake.git/commit/?id=d9d9326e1438855efd5089f76943ce7b31d1f2ad'/>
<id>urn:sha1:d9d9326e1438855efd5089f76943ce7b31d1f2ad</id>
<content type='text'>
`isspace` takes `int` but documents that the value must be representable
by `unsigned char`, or be EOF.  Use a wrapper to cast to `unsigned char`
to avoid sign extension while converting to `int`.  This generalizes the
fix from commit 5e8c176e2a (cmExecuteProcessCommand: Cast c to unsigned
char before cast to int, 2024-01-05) to other `isspace` call sites.

This was detected by assertions in the MSVC standard library while
processing UTF-8 text.

Issue: #25561
</content>
</entry>
<entry>
<title>CMake code rely on cmList class for CMake lists management (part. 2)</title>
<updated>2023-04-29T07:54:31Z</updated>
<author>
<name>Marc Chevrier</name>
<email>marc.chevrier@gmail.com</email>
</author>
<published>2023-04-25T17:54:23Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/cmake.git/commit/?id=241304190ffdf9cc7d4ede0601da370b111468cc'/>
<id>urn:sha1:241304190ffdf9cc7d4ede0601da370b111468cc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>cmList class: various enhancements</title>
<updated>2023-04-29T07:54:22Z</updated>
<author>
<name>Marc Chevrier</name>
<email>marc.chevrier@gmail.com</email>
</author>
<published>2023-04-26T13:27:46Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/cmake.git/commit/?id=87fe031a0703f07b8636f8ea59b6746788e71869'/>
<id>urn:sha1:87fe031a0703f07b8636f8ea59b6746788e71869</id>
<content type='text'>
</content>
</entry>
<entry>
<title>CMake code rely on cmList class for CMake lists management (part. 1)</title>
<updated>2023-04-24T08:41:10Z</updated>
<author>
<name>Marc Chevrier</name>
<email>marc.chevrier@gmail.com</email>
</author>
<published>2023-04-14T14:48:16Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/cmake.git/commit/?id=e08ba229ee3107bcb814ca45bc9c72a48abf1ba2'/>
<id>urn:sha1:e08ba229ee3107bcb814ca45bc9c72a48abf1ba2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>cmExpandList and cmExpandLists rely on cmList class</title>
<updated>2023-04-23T12:48:36Z</updated>
<author>
<name>Marc Chevrier</name>
<email>marc.chevrier@gmail.com</email>
</author>
<published>2023-04-17T10:32:18Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/cmake.git/commit/?id=51b0d45d9120d4bca5c7285d5e6b2f80db5a8310'/>
<id>urn:sha1:51b0d45d9120d4bca5c7285d5e6b2f80db5a8310</id>
<content type='text'>
</content>
</entry>
<entry>
<title>cmStrCat(): allow any argument to be an rvalue string</title>
<updated>2022-12-06T18:54:42Z</updated>
<author>
<name>Kyle Edwards</name>
<email>kyle.edwards@kitware.com</email>
</author>
<published>2022-12-06T16:05:57Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/cmake.git/commit/?id=1cca051470c9f7959e58f3867cb89ffcd97b73a0'/>
<id>urn:sha1:1cca051470c9f7959e58f3867cb89ffcd97b73a0</id>
<content type='text'>
This will allow us to re-use any rvalue allocation that is
available, not just from the first argument.
</content>
</entry>
<entry>
<title>cmStrCat(): optimize when first argument is an rvalue string</title>
<updated>2022-11-30T05:05:09Z</updated>
<author>
<name>Kyle Edwards</name>
<email>kyle.edwards@kitware.com</email>
</author>
<published>2022-11-29T21:59:24Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/cmake.git/commit/?id=beba50bd61d32ea68acffca67a48bd7e81e6e097'/>
<id>urn:sha1:beba50bd61d32ea68acffca67a48bd7e81e6e097</id>
<content type='text'>
</content>
</entry>
<entry>
<title>cmStringAlgorithms: Add functions to parse strings to long long integers</title>
<updated>2022-09-20T16:00:08Z</updated>
<author>
<name>Brad King</name>
<email>brad.king@kitware.com</email>
</author>
<published>2022-09-20T15:12:23Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/cmake.git/commit/?id=31f158e4c881bea2b526102b2024b0fb34ade42d'/>
<id>urn:sha1:31f158e4c881bea2b526102b2024b0fb34ade42d</id>
<content type='text'>
</content>
</entry>
</feed>
