<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dolphin/Source/UnitTests/Common, branch 2409</title>
<subtitle>GameCube and Wii emulator</subtitle>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/'/>
<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>Add some unit tests for the `Rectangle` class</title>
<updated>2024-06-09T23:28:35+00:00</updated>
<author>
<name>Niel Lebeck</name>
<email>niel.lebeck@gmail.com</email>
</author>
<published>2024-06-02T19:32:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=9b0dcc83d1d623e04928640770103e06a94c7f6f'/>
<id>9b0dcc83d1d623e04928640770103e06a94c7f6f</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 #12737 from nlebeck/settingshandler-split</title>
<updated>2024-05-05T20:35:23+00:00</updated>
<author>
<name>JosJuice</name>
<email>josjuice@gmail.com</email>
</author>
<published>2024-05-05T20:35:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=2c913674295e08bca0e2cb1726b778fb61bf6bd1'/>
<id>2c913674295e08bca0e2cb1726b778fb61bf6bd1</id>
<content type='text'>
Eliminate SettingsHandler's `SetBytes` and `Reset` methods</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Eliminate SettingsHandler's `SetBytes` and `Reset` methods</pre>
</div>
</content>
</entry>
<entry>
<title>Replace Common::BitCast with std::bit_cast</title>
<updated>2024-05-04T01:43:51+00:00</updated>
<author>
<name>Pokechu22</name>
<email>Pokechu022@gmail.com</email>
</author>
<published>2022-08-06T04:10:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=fbbfea8e8e536800a6a911eb90cecdd1f343f9e3'/>
<id>fbbfea8e8e536800a6a911eb90cecdd1f343f9e3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Eliminate SettingsHandler's `SetBytes` and `Reset` methods</title>
<updated>2024-04-24T00:19:01+00:00</updated>
<author>
<name>Niel Lebeck</name>
<email>niel.lebeck@gmail.com</email>
</author>
<published>2024-04-23T04:51:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=36cdb4a544341e45155ff750c5f67ece71348a52'/>
<id>36cdb4a544341e45155ff750c5f67ece71348a52</id>
<content type='text'>
Also make the `Decrypt` method private.

As far as I can tell, the only motivation for exposing the `SetBytes`
and `Reset` methods is to allow `CBoot::SetupWiiMemory` to use the same
`SettingsHandler` instance to read settings data and then write it back.
It seems cleaner to just use two separate instances, and require a given
`SettingsHandler` instance to be used for either writing data to a
buffer or reading data from a buffer, but not both.

A natural next step is to split the `SettingsHandler` class into two
classes, one for writing data and one for reading data. I've deferred
that change for a future PR.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also make the `Decrypt` method private.

As far as I can tell, the only motivation for exposing the `SetBytes`
and `Reset` methods is to allow `CBoot::SetupWiiMemory` to use the same
`SettingsHandler` instance to read settings data and then write it back.
It seems cleaner to just use two separate instances, and require a given
`SettingsHandler` instance to be used for either writing data to a
buffer or reading data from a buffer, but not both.

A natural next step is to split the `SettingsHandler` class into two
classes, one for writing data and one for reading data. I've deferred
that change for a future PR.
</pre>
</div>
</content>
</entry>
<entry>
<title>Pass SettingsHandler buffers by const ref instead of rvalue ref</title>
<updated>2024-04-13T01:50:21+00:00</updated>
<author>
<name>Niel Lebeck</name>
<email>niel.lebeck@gmail.com</email>
</author>
<published>2024-04-13T01:50:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=d2b96736e0d5e472afe2fc87df1ac8aa48bf3915'/>
<id>d2b96736e0d5e472afe2fc87df1ac8aa48bf3915</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add SettingsHandler unit tests exercising the edge case in PR #8704</title>
<updated>2024-03-07T06:08:30+00:00</updated>
<author>
<name>Niel Lebeck</name>
<email>niel.lebeck@gmail.com</email>
</author>
<published>2024-03-04T00:43:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=9029b7a08283f64f993f87d8378c6d6e285eba06'/>
<id>9029b7a08283f64f993f87d8378c6d6e285eba06</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add simple unit tests for SettingsHandler</title>
<updated>2024-03-02T04:52:45+00:00</updated>
<author>
<name>Niel Lebeck</name>
<email>niel.lebeck@gmail.com</email>
</author>
<published>2024-02-27T04:50:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=0344ec6d79c47a9301451c1cf376b02deb2c8fa1'/>
<id>0344ec6d79c47a9301451c1cf376b02deb2c8fa1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>BitSet64: Fix iterator incrementation</title>
<updated>2024-01-01T08:41:48+00:00</updated>
<author>
<name>Dentomologist</name>
<email>dentomologist@gmail.com</email>
</author>
<published>2023-12-31T19:57:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=7dbf463ddf4a89ec7158c955b421adb77670d37e'/>
<id>7dbf463ddf4a89ec7158c955b421adb77670d37e</id>
<content type='text'>
Use 1 of the same type as the stored value when shifting left. This
prevents undefined behavior caused by shifting an int more than 31 bits.

Previously iterator incrementation could either hang or prematurely
report it had reached the end of the bitset.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use 1 of the same type as the stored value when shifting left. This
prevents undefined behavior caused by shifting an int more than 31 bits.

Previously iterator incrementation could either hang or prematurely
report it had reached the end of the bitset.
</pre>
</div>
</content>
</entry>
<entry>
<title>UnitTests: Refactor BitSetTest</title>
<updated>2023-12-31T20:10:50+00:00</updated>
<author>
<name>Dentomologist</name>
<email>dentomologist@gmail.com</email>
</author>
<published>2023-12-31T10:02:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=58c5ae3de92015f8b4c3ae4b63e23b8669798edc'/>
<id>58c5ae3de92015f8b4c3ae4b63e23b8669798edc</id>
<content type='text'>
Group numbers and their bitcounts together in pairs, which allows for
range-based loop iteration.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Group numbers and their bitcounts together in pairs, which allows for
range-based loop iteration.
</pre>
</div>
</content>
</entry>
</feed>
