<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dolphin/Source/Core/Common/StringUtil.cpp, branch release-prep-2503a</title>
<subtitle>GameCube and Wii emulator</subtitle>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/'/>
<entry>
<title>Modernize `std::replace` with ranges</title>
<updated>2024-10-10T07:53:48+00:00</updated>
<author>
<name>mitaclaw</name>
<email>140017135+mitaclaw@users.noreply.github.com</email>
</author>
<published>2024-09-29T18:08:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=0a80243a926fdab20ef0a57411e80bead989128f'/>
<id>0a80243a926fdab20ef0a57411e80bead989128f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Modernize `std::transform` with ranges</title>
<updated>2024-10-10T07:53:48+00:00</updated>
<author>
<name>mitaclaw</name>
<email>140017135+mitaclaw@users.noreply.github.com</email>
</author>
<published>2024-09-29T17:44:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=72436a0d1f0c9c4c67f8763e0ec2f0941a975e02'/>
<id>72436a0d1f0c9c4c67f8763e0ec2f0941a975e02</id>
<content type='text'>
In StringUtil.h, the lambdas wrapping `Common::ToLower(char)` and `Common::ToUpper(char)` were only necessary due to the function names being overloaded.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In StringUtil.h, the lambdas wrapping `Common::ToLower(char)` and `Common::ToUpper(char)` were only necessary due to the function names being overloaded.
</pre>
</div>
</content>
</entry>
<entry>
<title>Modernize `std::count_if` with ranges</title>
<updated>2024-10-10T07:53:48+00:00</updated>
<author>
<name>mitaclaw</name>
<email>140017135+mitaclaw@users.noreply.github.com</email>
</author>
<published>2024-09-22T01:24:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=4cc5e1972ae5643af001276758c4456ee7292f41'/>
<id>4cc5e1972ae5643af001276758c4456ee7292f41</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #13068 from mitaclaw/redundant-case-insensitive</title>
<updated>2024-09-26T22:24:36+00:00</updated>
<author>
<name>JMC47</name>
<email>JMC4789@gmail.com</email>
</author>
<published>2024-09-26T22:24:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=b1cd4a6690241f2372fc7ef1471e4e23f1366ac1'/>
<id>b1cd4a6690241f2372fc7ef1471e4e23f1366ac1</id>
<content type='text'>
IniFile: Migrate `Common::CaseInsensitiveLess` to StringUtil</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
IniFile: Migrate `Common::CaseInsensitiveLess` to StringUtil</pre>
</div>
</content>
</entry>
<entry>
<title>StringUtil: Remove `JoinStrings`</title>
<updated>2024-09-23T04:09:36+00:00</updated>
<author>
<name>mitaclaw</name>
<email>140017135+mitaclaw@users.noreply.github.com</email>
</author>
<published>2024-09-22T07:24:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=5f906736863f35a7018aaa11a7cac408229c21cf'/>
<id>5f906736863f35a7018aaa11a7cac408229c21cf</id>
<content type='text'>
With 12 uses of `JoinStrings` in the codebase vs 36 uses of `fmt::join`, fmtlib's range adapter for string concatenation with delimiters is clearly the preferred option.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
With 12 uses of `JoinStrings` in the codebase vs 36 uses of `fmt::join`, fmtlib's range adapter for string concatenation with delimiters is clearly the preferred option.
</pre>
</div>
</content>
</entry>
<entry>
<title>IniFile: Migrate `Common::CaseInsensitiveLess` to StringUtil</title>
<updated>2024-09-22T06:15:42+00:00</updated>
<author>
<name>mitaclaw</name>
<email>140017135+mitaclaw@users.noreply.github.com</email>
</author>
<published>2024-09-22T05:32:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=508ccc2054590a9efa89054e742b74521f272063'/>
<id>508ccc2054590a9efa89054e742b74521f272063</id>
<content type='text'>
Migrating `Common::CaseInsensitiveLess` to StringUtil.h will hopefully discourage rolling one's own solution in the future for case-insensitive associative containers when this (quite robust!) solution already exists.

`Common::CaseInsensitiveStringCompare::IsEqual` was removed in favor of using the `Common::CaseInsensitiveEquals` function.

The `a.size() != b.size()` condition in `Common::CaseInsensitiveEquals` can be removed, since `std::ranges::equal` already checks this condition (confirmed in libc++).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Migrating `Common::CaseInsensitiveLess` to StringUtil.h will hopefully discourage rolling one's own solution in the future for case-insensitive associative containers when this (quite robust!) solution already exists.

`Common::CaseInsensitiveStringCompare::IsEqual` was removed in favor of using the `Common::CaseInsensitiveEquals` function.

The `a.size() != b.size()` condition in `Common::CaseInsensitiveEquals` can be removed, since `std::ranges::equal` already checks this condition (confirmed in libc++).
</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for libfmt-11</title>
<updated>2024-08-22T13:54:35+00:00</updated>
<author>
<name>Alfred Wingate</name>
<email>parona@protonmail.com</email>
</author>
<published>2024-08-09T05:54:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=d7c93d87befcc1ee29e0355338d960b7f8d31e78'/>
<id>d7c93d87befcc1ee29e0355338d960b7f8d31e78</id>
<content type='text'>
fmt::join was moved into fmt/ranges.h

Signed-off-by: Alfred Wingate &lt;parona@protonmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
fmt::join was moved into fmt/ranges.h

Signed-off-by: Alfred Wingate &lt;parona@protonmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>improve NetBSD-specific code</title>
<updated>2024-05-03T15:12:29+00:00</updated>
<author>
<name>Guilherme Janczak</name>
<email>guilherme.janczak@yandex.com</email>
</author>
<published>2024-05-03T00:30:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=0859d2c4721d6f7748d60cd232f0006e0957ef2f'/>
<id>0859d2c4721d6f7748d60cd232f0006e0957ef2f</id>
<content type='text'>
NetBSD doesn't put packages in /usr/local like /CMakeLists.txt thought.
The `#ifdef __NetBSD__` around iconv was actually breaking compilation
on NetBSD when using the system libiconv (there's also a GNU iconv
package)
A C program included from C++ source broke on NetBSD specifically, work
around it.

This doesn't fix compilation on NetBSD, which is currently broken, but
is closer to correct.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
NetBSD doesn't put packages in /usr/local like /CMakeLists.txt thought.
The `#ifdef __NetBSD__` around iconv was actually breaking compilation
on NetBSD when using the system libiconv (there's also a GNU iconv
package)
A C program included from C++ source broke on NetBSD specifically, work
around it.

This doesn't fix compilation on NetBSD, which is currently broken, but
is closer to correct.
</pre>
</div>
</content>
</entry>
<entry>
<title>Common/StringUtil: Use internal linkage for codepage conversion functions.</title>
<updated>2023-12-29T18:50:55+00:00</updated>
<author>
<name>Admiral H. Curtiss</name>
<email>pikachu025@gmail.com</email>
</author>
<published>2023-12-29T18:50:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=4f04ac5858052fe32598c4650b58e3e26b292c0e'/>
<id>4f04ac5858052fe32598c4650b58e3e26b292c0e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>IOS/KD: Implement NWC24_CHECK_MAIL_NOW</title>
<updated>2023-09-03T17:05:58+00:00</updated>
<author>
<name>Sketch</name>
<email>75850871+SketchMaster2001@users.noreply.github.com</email>
</author>
<published>2023-08-15T01:02:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=2154941c2c30e6a728c4212a17d492da439e922e'/>
<id>2154941c2c30e6a728c4212a17d492da439e922e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
