<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
On 6/24/2022 5:20 AM, Hilaire Fernandes via Cuis-dev wrote:
<blockquote cite="mid:bcb3e296-8206-7e1e-779c-e78ebccf6475@drgeo.eu"
type="cite">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<p><font size="4">Hi Juan, <br>
</font></p>
<p><font size="4">Here is the code to migrate to PreferenceSet.
Sorry of the multiple files, I did not find how to merge
changeset, so the code comes on the form of several changeset
and fileout<br>
</font></p>
<p><font size="4">You should install first</font><font size="4"> <b>Preferences
class-migration.st</b>, the changset files could be
installed following the number order.<br>
</font></p>
<p><font size="4"><br>
</font></p>
<p><font size="4">Then to migrate to the PreferenceSet use, you
invoke "PreferenceSet migrate". It will not work till the end
of the method, but I let you fix it, I guess you know how to
do it properly.</font></p>
<p><font size="4"><br>
</font></p>
<p><font size="4">Still to be done:</font></p>
<p><font size="4">- Remove former Preferences and Preference
classes</font></p>
<p><font size="4">- Rename PreferenceNG to Preference<br>
</font></p>
<p><br>
</p>
<p>Hilaire<br>
</p>
<pre class="moz-signature" cols="72">--
GNU Dr. Geo
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://drgeo.eu">http://drgeo.eu</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://blog.drgeo.eu">http://blog.drgeo.eu</a></pre>
</blockquote>
<br>
Hi Hilaire,<br>
<br>
I just pushed it all to GitHub. Thanks!<br>
<br>
Some comments:<br>
- Had to tweak some references to Preferences, that actually were
calling class side methods.<br>
- Had to add a couple of missing methods.<br>
- Had to completely rework the installation sequence, to avoid name
clashing on "Preferences"<br>
- Removed old classes Peferences and Preference<br>
- Renamed PreferenceNG to Preference, and tweakde
BaseImageTest.pck.st<br>
- Removed the places where symbols were built by code to perform
them. Used explicit symbol literals, so 'senders' finds them.<br>
- Maybe some other detail I'm not remembering right now.<br>
<br>
Please review what I just pushed, maybe compare with your version
(useful tip: Open a changes list, [contents] in the FileList, then
'remove up-to-date versions', etc). If you find anything else that
needs to be tweaked, please tell.<br>
<br>
Cheers,<br>
<pre class="moz-signature" cols="72">--
Juan Vuletich
<a class="moz-txt-link-abbreviated" href="http://www.cuis-smalltalk.org">www.cuis-smalltalk.org</a>
<a class="moz-txt-link-freetext" href="https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev">https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev</a>
<a class="moz-txt-link-freetext" href="https://github.com/jvuletich">https://github.com/jvuletich</a>
<a class="moz-txt-link-freetext" href="https://www.linkedin.com/in/juan-vuletich-75611b3">https://www.linkedin.com/in/juan-vuletich-75611b3</a>
<a class="moz-txt-link-freetext" href="https://independent.academia.edu/JuanVuletich">https://independent.academia.edu/JuanVuletich</a>
<a class="moz-txt-link-freetext" href="https://www.researchgate.net/profile/Juan-Vuletich">https://www.researchgate.net/profile/Juan-Vuletich</a>
<a class="moz-txt-link-freetext" href="https://patents.justia.com/inventor/juan-manuel-vuletich">https://patents.justia.com/inventor/juan-manuel-vuletich</a>
<a class="moz-txt-link-freetext" href="https://twitter.com/JuanVuletich">https://twitter.com/JuanVuletich</a></pre>
</body>
</html>