<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dolphin/Source/Core/Common/SettingsHandler.h, branch master</title>
<subtitle>GameCube and Wii emulator</subtitle>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/'/>
<entry>
<title>Split `SettingsHandler` into separate reader and writer classes</title>
<updated>2024-10-22T03:20:15+00:00</updated>
<author>
<name>Niel Lebeck</name>
<email>niel.lebeck@gmail.com</email>
</author>
<published>2024-04-28T03:07:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=1d79991ec4b4fa62df619e9352cd2f4f4c68156d'/>
<id>1d79991ec4b4fa62df619e9352cd2f4f4c68156d</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>Common/SettingsHandler: Use std::string_view more</title>
<updated>2023-12-11T12:54:43+00:00</updated>
<author>
<name>Lioncash</name>
<email>mai.iam2048@gmail.com</email>
</author>
<published>2023-12-11T12:53:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=88a973131cd3f865651bd4169a6e3bf6826fdecc'/>
<id>88a973131cd3f865651bd4169a6e3bf6826fdecc</id>
<content type='text'>
We don't need to enforce the use of std::string instances with
AddSetting(). We can accept views and only construct one string,
rather than three temporaries.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We don't need to enforce the use of std::string instances with
AddSetting(). We can accept views and only construct one string,
rather than three temporaries.
</pre>
</div>
</content>
</entry>
<entry>
<title>treewide: convert GPLv2+ license info to SPDX tags</title>
<updated>2021-07-05T02:35:56+00:00</updated>
<author>
<name>Pierre Bourdon</name>
<email>delroth@gmail.com</email>
</author>
<published>2021-07-05T01:22:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=e149ad4f0a9874f354221a7fc76d8f1841e47808'/>
<id>e149ad4f0a9874f354221a7fc76d8f1841e47808</id>
<content type='text'>
SPDX standardizes how source code conveys its copyright and licensing
information. See https://spdx.github.io/spdx-spec/1-rationale/ . SPDX
tags are adopted in many large projects, including things like the Linux
kernel.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
SPDX standardizes how source code conveys its copyright and licensing
information. See https://spdx.github.io/spdx-spec/1-rationale/ . SPDX
tags are adopted in many large projects, including things like the Linux
kernel.
</pre>
</div>
</content>
</entry>
<entry>
<title>SettingsHandler: Don't output null bytes</title>
<updated>2020-03-24T16:01:15+00:00</updated>
<author>
<name>JosJuice</name>
<email>josjuice@gmail.com</email>
</author>
<published>2020-03-24T15:58:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=5d6f23e424ae06a00341ebbb085811c0fe331e96'/>
<id>5d6f23e424ae06a00341ebbb085811c0fe331e96</id>
<content type='text'>
https://bugs.dolphin-emu.org/issues/12019, take two.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://bugs.dolphin-emu.org/issues/12019, take two.
</pre>
</div>
</content>
</entry>
<entry>
<title>Common/SettingsHandler: Use std::string_view where applicable</title>
<updated>2019-07-16T08:15:25+00:00</updated>
<author>
<name>Lioncash</name>
<email>mathew1800@gmail.com</email>
</author>
<published>2019-07-16T08:11:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=af576839d894c3a34cbf6b7e007e674415f98d72'/>
<id>af576839d894c3a34cbf6b7e007e674415f98d72</id>
<content type='text'>
Allows passed in strings to be non-allocating.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Allows passed in strings to be non-allocating.
</pre>
</div>
</content>
</entry>
<entry>
<title>SettingsHandler: Namespace code under the Common namespace</title>
<updated>2018-05-12T17:39:37+00:00</updated>
<author>
<name>Lioncash</name>
<email>mathew1800@gmail.com</email>
</author>
<published>2018-05-12T17:39:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=5677e5d74a21a59ee9978b81ff6f59eb74c64147'/>
<id>5677e5d74a21a59ee9978b81ff6f59eb74c64147</id>
<content type='text'>
Adds another file in Common to the Common namespace.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Adds another file in Common to the Common namespace.
</pre>
</div>
</content>
</entry>
<entry>
<title>SettingsHandler: Fix const correctness</title>
<updated>2018-05-10T19:35:27+00:00</updated>
<author>
<name>Léo Lam</name>
<email>leo@innovatetechnologi.es</email>
</author>
<published>2018-05-10T18:34:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=722d31124ca4a958d658b3c8d2d5dba1cb637ab8'/>
<id>722d31124ca4a958d658b3c8d2d5dba1cb637ab8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>SettingsHandler: Migrate to new filesystem interface</title>
<updated>2018-05-10T19:35:27+00:00</updated>
<author>
<name>Léo Lam</name>
<email>leo@innovatetechnologi.es</email>
</author>
<published>2018-05-09T18:40:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=09d2afa91f7781c84c25e989d916957200e63eca'/>
<id>09d2afa91f7781c84c25e989d916957200e63eca</id>
<content type='text'>
Change SettingsHandler to take a buffer instead of assuming that the
setting file to read is always on the host filesystem for more
flexibility and make it possible to use the new filesystem interface.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change SettingsHandler to take a buffer instead of assuming that the
setting file to read is always on the host filesystem for more
flexibility and make it possible to use the new filesystem interface.
</pre>
</div>
</content>
</entry>
</feed>
