<div dir="ltr">The best way to solve this problem would be to re-apply the changes on your image with your package loaded and solve the conflicts, but for that to really work we should reify renames as changes, etc. But if we do that, then we can have an automatic merger that takes care of all the possible conflicts for you, etc. That was my goal behind OOSCM a project about SCM reifying changes to allow smart merges... maybe someday I'll restart it :-)<div><br></div><div>Cheers!</div><div>Hernan.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jul 21, 2021 at 7:23 AM Gerald Klix via Cuis-dev <<a href="mailto:cuis-dev@lists.cuis.st">cuis-dev@lists.cuis.st</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
<br>
On 7/21/21 11:15 AM, Juan Vuletich via Cuis-dev wrote:<br>
> <br>
> See that I replaced #drawRoundGradientLookOn: with #drawRoundLookOn: , <br>
> because I removed the gradient option. I believe that if you do this <br>
> rename in any senders and/or implementors in Haver, it should work ok. <br>
> In any case, check in detail updates #4677, #4678, #4681, #4682 and #4688.<br>
IC and will check it out. Early in the morning a was bit<br>
pressed for time -- I still am -- so I not dig into it.<br>
> <br>
> In general, any Cuis code that is redefined by Haver could have issues <br>
> with future Cuis updates, right? I'm not complaining, it is just that I <br>
> think we'll need to deal with this fact.<br>
That's the risk I took when started on that "Haver"-journey.<br>
In fact I spent two days or so in mitigating the risks.<br>
That is I implemented a baseline checker that creates<br>
code that -- in turn -- checks every class and method<br>
modified in a changeset/package for being of<br>
the proper version.<br>
I used for that big Environments change set with<br>
good results; it detected a trivial change.<br>
Since there was not much change, I did not use<br>
it for all the other packages. In the button case<br>
it would have helped anyways, because id does not<br>
detect sends to `super`, it just looks at<br>
extension methods that override methods in the base image.<br>
<br>
What we need (for each class), is an interface<br>
definition for subclasses, that -- at least --<br>
lists the methods that will stay stable.<br>
<br>
<br>
Just my 0.03€ and many thanks for your help,<br>
<br>
Gerald<br>
<br>
<br>
<br>
> <br>
> Cheers,<br>
> <br>
> On 7/21/2021 4:33 AM, Gerald Klix via Cuis-dev wrote:<br>
>> Near miss: #drawRoundGradientLookOn: is still missing.<br>
>> Please see the attached debug log.<br>
>><br>
>> The code for the button stuff is here:<br>
>> <a href="https://hg.sr.ht/~cy-de-fect/HaverOnCuis/browse/haver/ui/Buttons.pck.st" rel="noreferrer" target="_blank">https://hg.sr.ht/~cy-de-fect/HaverOnCuis/browse/haver/ui/Buttons.pck.st</a><br>
>><br>
>> I am sorry there is now Haver release containing this package,<br>
>> I hope that I can prepare a new release next week.<br>
>> (Raspi builds still miss the FFI plugin, I dug into that one,<br>
>> it's a sad story)<br>
>><br>
>> Thank you for your efforts!<br>
>><br>
>><br>
>> Best Regards,<br>
>><br>
>> Gerald<br>
>><br>
>><br>
>><br>
>> On 7/21/21 4:31 AM, Juan Vuletich via Cuis-dev wrote:<br>
>>> Done. Just pushed another update. Please tell how it goes.<br>
>>><br>
>>> Cheers,<br>
>>><br>
>>> On 7/20/2021 6:34 PM, Juan Vuletich via Cuis-dev wrote:<br>
>>>> The truth is that all I need to move to the Canvas is the specific <br>
>>>> methods to draw the icons in window controls. There are Form in <br>
>>>> BitBltCanvas, but just drawing calls in VectorGraphicsCanvas. Let my <br>
>>>> try to partially revert the changes, and see if I can get VG drawing <br>
>>>> the icons, without reducing the flexibility you need.<br>
>>>><br>
>>>> Thanks,<br>
>>>><br>
>>>> On 7/20/2021 6:14 PM, Gerald Klix via Cuis-dev wrote:<br>
>>>>> I just looked into it, and discovered your changes as you<br>
>>>>> discribed them.<br>
>>>>><br>
>>>>> This move is a bit unfortunate, because<br>
>>>>> I overwrote many of the drawing methods.<br>
>>>>> Only drawRoundGradientLookOn: and draw3DLookOn:<br>
>>>>> are expected to be definded in the super class.<br>
>>>>> Sending the corespoinding messages to the canvas won't<br>
>>>>> do the job, because these methods delegate the icon<br>
>>>>> drawing not the canvas and not my subclass.<br>
>>>>> I don't want the icons to be magnified that much.<br>
>>>>> Maybe factroring out the magniofaction factors<br>
>>>>> might do the job. Also the icons are displayed left of<br>
>>>>> label.<br>
>>>>><br>
>>>>> I'll look into it tommorrow and try to come up with<br>
>>>>> a solution, its 23:10 here.<br>
>>>>><br>
>>>>> Just one remark (or rant):<br>
>>>>> I can't the my this solution is cleaner:<br>
>>>>> Now Canavs defines the geometry of Button<br>
>>>>> and not the button itself.<br>
>>>>><br>
>>>>><br>
>>>>> Thanks for your help and Best Regards,<br>
>>>>><br>
>>>>> Gerald<br>
>>>>><br>
>>>>><br>
>>><br>
> <br>
> <br>
-- <br>
Cuis-dev mailing list<br>
<a href="mailto:Cuis-dev@lists.cuis.st" target="_blank">Cuis-dev@lists.cuis.st</a><br>
<a href="https://lists.cuis.st/mailman/listinfo/cuis-dev" rel="noreferrer" target="_blank">https://lists.cuis.st/mailman/listinfo/cuis-dev</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><span style="font-size:xx-small;border-collapse:collapse"><div style="font-size:small"><a href="https://10pines.com/" style="font-family:Roboto,Helvetica,Arial,sans-serif;font-size:medium" target="_blank"><img width="108" src="https://10pines.github.io/email-signature/10pines-firma@2x.png" style="margin-bottom: 0.5em;"></a><span style="color:rgb(0,0,0);font-family:Roboto,Helvetica,Arial,sans-serif;font-size:medium"></span><h1 style="margin:0px;font-size:14px">Hernán Wilkinson</h1><h2 style="margin:0px 0px 1em;font-size:14px;color:rgb(100,100,100)">Software Developer, Teacher & Coach</h2><p style="margin:0px;color:rgb(100,100,100);font-size:12px">Alem 896, Floor 6, Buenos Aires, Argentina</p><p style="margin:0px;color:rgb(100,100,100);font-size:12px">+54 11 6091 3125</p><p style="margin:0px;color:rgb(100,100,100);font-size:12px">@HernanWilkinson</p></div></span></div></div>