<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Dear all<div class=""><br class=""></div><div class="">our mailserver is being blocked by mircosoft (live/<a href="http://outlook.com" class="">outlook.com</a> etc.) for</div><div class="">sending from a rackspace IP range that is allegedly known for spamming.</div><div class=""><br class=""></div><div class="">I asked for removal but that didn't work, apparently.</div><div class=""><br class=""></div><div class="">I have no intention to fix that, too much effort, to be frank.</div><div class=""><br class=""></div><div class="">best regards</div><div class=""><span class="Apple-tab-span" style="white-space:pre">   </span>-Tobias</div><div class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">Begin forwarded message:</div><br class="Apple-interchange-newline"><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(0, 0, 0, 1.0);" class=""><b class="">From: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class=""><a href="mailto:mailman@lists.squeakfoundation.org" class="">mailman@lists.squeakfoundation.org</a><br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(0, 0, 0, 1.0);" class=""><b class="">Subject: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class=""><b class="">Bounce action notification</b><br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(0, 0, 0, 1.0);" class=""><b class="">Date: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">20. September 2017 um 12:23:16 MESZ<br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(0, 0, 0, 1.0);" class=""><b class="">To: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class=""><a href="mailto:squeak-dev-owner@lists.squeakfoundation.org" class="">squeak-dev-owner@lists.squeakfoundation.org</a><br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(0, 0, 0, 1.0);" class=""><b class="">Delivered-To: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class=""><a href="mailto:squeak-dev-owner@mail.squeak.org" class="">squeak-dev-owner@mail.squeak.org</a><br class=""></span></div><br class=""><div class="">This is a Mailman mailing list bounce action notice:<br class=""><br class="">    List:       Squeak-dev<br class="">    Member:     <a href="mailto:otadini@outlook.com" class="">otadini@outlook.com</a><br class="">    Action:     Subscription disabled.<br class="">    Reason:     Excessive or fatal bounces.<br class=""><br class=""><br class=""><br class="">The triggering bounce notice is attached below.<br class=""><br class="">Questions? Contact the Mailman site administrator at<br class=""><a href="mailto:mailman@lists.squeakfoundation.org" class="">mailman@lists.squeakfoundation.org</a>.<br class=""><br class=""><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">From: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class=""><a href="mailto:MAILER-DAEMON@mail.squeak.org" class="">MAILER-DAEMON@mail.squeak.org</a> (Mail Delivery System)<br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">Subject: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class=""><b class="">Undelivered Mail Returned to Sender</b><br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">Date: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">20. September 2017 um 12:16:47 MESZ<br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">To: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class=""><a href="mailto:squeak-dev-bounces@lists.squeakfoundation.org" class="">squeak-dev-bounces@lists.squeakfoundation.org</a><br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">Delivered-To: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class=""><a href="mailto:squeak-dev-bounces@mail.squeak.org" class="">squeak-dev-bounces@mail.squeak.org</a><br class=""></span></div><br class=""><br class="">This is the mail system at host <a href="http://mail.squeak.org" class="">mail.squeak.org</a>.<br class=""><br class="">I'm sorry to have to inform you that your message could not<br class="">be delivered to one or more recipients. It's attached below.<br class=""><br class="">For further assistance, please send mail to postmaster.<br class=""><br class="">If you do so, please include this problem report. You can<br class="">delete your own text from the attached returned message.<br class=""><br class="">                   The mail system<br class=""><br class=""><<a href="mailto:otadini@outlook.com" class="">otadini@outlook.com</a>>: host<br class="">    <a href="http://outlook-com.olc.protection.outlook.com" class="">outlook-com.olc.protection.outlook.com</a>[104.47.46.33] said: 550 5.7.1<br class="">    Unfortunately, messages from [162.242.237.43] weren't sent. Please contact<br class="">    your Internet service provider since part of their network is on our block<br class="">    list (AS3150). You can also refer your provider to<br class="">    <a href="http://mail.live.com/mail/troubleshooting.aspx#errors" class="">http://mail.live.com/mail/troubleshooting.aspx#errors</a>. (in reply to MAIL<br class="">    FROM command)<br class="">Reporting-MTA: dns; <a href="http://mail.squeak.org" class="">mail.squeak.org</a><br class="">X-Postfix-Queue-ID: B580A14D389<br class="">X-Postfix-Sender: rfc822; <a href="mailto:SRS0=peo+=AT=lists.squeakfoundation.org=squeak-dev-bounces@squeak.org" class="">SRS0=peo+=AT=lists.squeakfoundation.org=squeak-dev-bounces@squeak.org</a><br class="">Arrival-Date: Mon, 18 Sep 2017 12:00:02 +0000 (UTC)<br class=""><br class="">Final-Recipient: rfc822; <a href="mailto:otadini@outlook.com" class="">otadini@outlook.com</a><br class="">Original-Recipient: rfc822;<a href="mailto:otadini@outlook.com" class="">otadini@outlook.com</a><br class="">Action: failed<br class="">Status: 5.7.1<br class="">Remote-MTA: dns; <a href="http://outlook-com.olc.protection.outlook.com" class="">outlook-com.olc.protection.outlook.com</a><br class="">Diagnostic-Code: smtp; 550 5.7.1 Unfortunately, messages from [162.242.237.43]<br class="">    weren't sent. Please contact your Internet service provider since part of<br class="">    their network is on our block list (AS3150). You can also refer your<br class="">    provider to <a href="http://mail.live.com/mail/troubleshooting.aspx#errors" class="">http://mail.live.com/mail/troubleshooting.aspx#errors</a>.<br class=""><br class=""><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">From: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class=""><a href="mailto:squeak-dev-request@lists.squeakfoundation.org" class="">squeak-dev-request@lists.squeakfoundation.org</a><br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">Subject: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class=""><b class="">Squeak-dev Digest, Vol 177, Issue 17</b><br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">Date: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">18. September 2017 um 14:00:01 MESZ<br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">To: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class=""><a href="mailto:squeak-dev@lists.squeakfoundation.org" class="">squeak-dev@lists.squeakfoundation.org</a><br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">Reply-To: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class=""><a href="mailto:squeak-dev@lists.squeakfoundation.org" class="">squeak-dev@lists.squeakfoundation.org</a><br class=""></span></div><br class=""><br class="">Send Squeak-dev mailing list submissions to<br class=""><span class="Apple-tab-span" style="white-space:pre">        </span><a href="mailto:squeak-dev@lists.squeakfoundation.org" class="">squeak-dev@lists.squeakfoundation.org</a><br class=""><br class="">To subscribe or unsubscribe via the World Wide Web, visit<br class=""><span class="Apple-tab-span" style="white-space:pre">   </span>http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/squeak-dev<br class="">or, via email, send a message with subject or body 'help' to<br class=""><span class="Apple-tab-span" style="white-space:pre"> </span>squeak-dev-request@lists.squeakfoundation.org<br class=""><br class="">You can reach the person managing the list at<br class=""><span class="Apple-tab-span" style="white-space:pre">   </span>squeak-dev-owner@lists.squeakfoundation.org<br class=""><br class="">When replying, please edit your Subject line so it is more specific<br class="">than "Re: Contents of Squeak-dev digest..."<br class="">Today's Topics:<br class=""><br class="">   1. Re:  How should one implement a custom window color for a<br class="">      custom window? (Stéphane Rollandin)<br class="">   2. Re:  How should one implement a custom window color for a<br class="">      custom window? (Chris Muller)<br class="">   3.  IPv6 implementation code (Alan Pinch)<br class="">   4.  ASN1 encoding of UTF8 (Alan Pinch)<br class="">   5. Re:  IPv6 implementation code (David T. Lewis)<br class="">   6. Re:  ASN1 encoding of UTF8 (Jakob Reschke)<br class="">   7. Re:  How should one implement a custom window color for a<br class="">      custom window? (Marcel Taeumel)<br class="">   8.  The Trunk: Tests-mt.382.mcz (commits@source.squeak.org)<br class="">   9. Re:  IPv6 implementation code (Alan Pinch)<br class="">  10. Re:  ASN1 encoding of UTF8 (Alan Pinch)<br class="">  11. Re:  How should one implement a custom window color for a<br class="">      custom window? (Stéphane Rollandin)<br class="">  12. Re:  How should one implement a custom window color for a<br class="">      custom window? (Marcel Taeumel)<br class="">  13. Re:  How should one implement a custom window color for a<br class="">      custom window? (Stéphane Rollandin)<br class="">  14. Re:  How should one implement a custom window color for a<br class="">      custom window? (Stéphane Rollandin)<br class="">  15. Re:  How should one implement a custom window color for a<br class="">      custom window? (Marcel Taeumel)<br class="">  16. Re:  How should one implement a custom window color for a<br class="">      custom window? (Stéphane Rollandin)<br class="">  17.  The Trunk: Tests-mt.382.mcz (commits@source.squeak.org)<br class="">  18.  The Trunk: Tests-mt.383.mcz (commits@source.squeak.org)<br class=""><br class=""><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">From: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">Stéphane Rollandin <lecteur@zogotounga.net><br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">Subject: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class=""><b class="">Re: [squeak-dev] How should one implement a custom window color for a custom window?</b><br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">Date: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">17. September 2017 um 14:02:16 MESZ<br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">To: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">"liste [Squeak-dev]" <squeak-dev@lists.squeakfoundation.org><br class=""></span></div><br class=""><br class="">Nice informative post, thanks Marcel.<br class=""><br class="">I think I see something fragile in the implementation though: each #userInterfaceTheme send must absolutely be followed by another selector, else the relevant stacked object (in the scope inst. var. of the theme) will not be popped at the proper moment.<br class=""><br class="">In other words, a line of code as simple as<br class=""><br class=""><span class="Apple-tab-span" style="white-space:pre">      </span>Morph new userInterfaceTheme explore<br class=""><br class="">may break things in potentially ugly ways; for one thing, even if further scope push/pop work properly, the Morph instanciated by the above code will never be GCed...<br class=""><br class="">Does that make sense?<br class=""><br class=""><br class="">Stef<br class=""><br class=""><br class=""><br class=""><br class=""><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">From: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">Chris Muller <asqueaker@gmail.com><br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">Subject: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class=""><b class="">Re: [squeak-dev] How should one implement a custom window color for a custom window?</b><br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">Date: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">18. September 2017 um 02:09:22 MESZ<br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">To: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">The general-purpose Squeak developers list <squeak-dev@lists.squeakfoundation.org><br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">Reply-To: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">ma.chris.m@gmail.com<br class=""></span></div><br class=""><br class="">That's true.  One goal of the design was to provide access to a<br class="">first-class Theme object, without needing to either write, nor see,<br class="">that extra level of indirection in the code.<br class=""><br class="">   myMorph userInterfaceTheme color<br class=""><br class="">vs.<br class=""><br class="">   (myMorph userInterfaceTheme propertyNamed: #color)<br class=""><br class="">The latter becomes a wordy and repetitious (not to mention, the extra<br class="">parenthesis), a lot to ask clients to sprinkle throughout their code.<br class=""><br class="">I don't see the example "never being GC'd" as being related to the<br class="">UserInterfaceTheme implementation.  I may be missing your question but<br class="">-- if an explorer is opened [substitute with any case of:  user still<br class="">needs the object], the object would not be GC'd, regardless from which<br class="">code it was opened.<br class=""><br class=""> - Chris<br class=""><br class="">On Sun, Sep 17, 2017 at 7:02 AM, Stéphane Rollandin<br class=""><lecteur@zogotounga.net> wrote:<br class=""><blockquote type="cite" class="">Nice informative post, thanks Marcel.<br class=""><br class="">I think I see something fragile in the implementation though: each<br class="">#userInterfaceTheme send must absolutely be followed by another selector,<br class="">else the relevant stacked object (in the scope inst. var. of the theme) will<br class="">not be popped at the proper moment.<br class=""><br class="">In other words, a line of code as simple as<br class=""><br class="">        Morph new userInterfaceTheme explore<br class=""><br class="">may break things in potentially ugly ways; for one thing, even if further<br class="">scope push/pop work properly, the Morph instanciated by the above code will<br class="">never be GCed...<br class=""><br class="">Does that make sense?<br class=""><br class=""><br class="">Stef<br class=""><br class=""></blockquote><br class=""><br class=""><br class=""><br class=""><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">From: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">Alan Pinch <alan.c.pinch@gmail.com><br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">Subject: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class=""><b class="">[squeak-dev] IPv6 implementation code</b><br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">Date: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">18. September 2017 um 03:46:49 MESZ<br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">To: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">The general-purpose Squeak developers list <squeak-dev@lists.squeakfoundation.org><br class=""></span></div><br class=""><br class="">Could anyone be able to point me to working IPv6 code for squeak, please? I would appreciate any link.<br class=""><br class="">Alan<br class=""><br class=""><br class=""><br class=""><br class=""><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">From: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">Alan Pinch <alan.c.pinch@gmail.com><br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">Subject: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class=""><b class="">[squeak-dev] ASN1 encoding of UTF8</b><br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">Date: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">18. September 2017 um 03:49:37 MESZ<br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">To: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">The general-purpose Squeak developers list <squeak-dev@lists.squeakfoundation.org><br class=""></span></div><br class=""><br class="">I am trying to map utf8 into an ASN1 encoding, where the UTF8 is specified to perhaps extend past one byte in value. I am also interested in retaining this UTF8 characters in squeak to interoperate well. What would be my best approach to this, mapping to/from these bytes on a stream?<br class=""><br class="">Alan<br class=""><br class=""><br class=""><br class=""><br class=""><br class=""><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">From: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">"David T. Lewis" <lewis@mail.msen.com><br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">Subject: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class=""><b class="">Re: [squeak-dev] IPv6 implementation code</b><br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">Date: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">18. September 2017 um 04:44:54 MESZ<br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">To: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">The general-purpose Squeak developers list <squeak-dev@lists.squeakfoundation.org><br class=""></span></div><br class=""><br class="">On Sun, Sep 17, 2017 at 09:46:49PM -0400, Alan Pinch wrote:<br class=""><blockquote type="cite" class="">Could anyone be able to point me to working IPv6 code for squeak, <br class="">please? I would appreciate any link.<br class=""><br class="">Alan<br class=""><br class=""></blockquote><br class="">In the preferences browser, catagory general, set the preference for<br class="">"Enable IPv6 and new network support" to true.<br class=""><br class="">The default setting is false, largely because of some network name<br class="">resolver issues on the Windows platform.<br class=""><br class="">I do not think that the IPv6 code is exercised much, because most<br class="">people probably leave their image in the default mode. So if you are<br class="">using this and find problems with it, please let us know what does<br class="">not work.<br class=""><br class="">Dave<br class=""><br class=""><br class=""><br class=""><br class=""><br class=""><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">From: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">Jakob Reschke <jakob.reschke@student.hpi.de><br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">Subject: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class=""><b class="">Re: [squeak-dev] ASN1 encoding of UTF8</b><br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">Date: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">18. September 2017 um 07:46:24 MESZ<br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">To: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">The general-purpose Squeak developers list <squeak-dev@lists.squeakfoundation.org><br class=""></span></div><br class=""><br class=""><div dir="auto" class="">I just did a quick search on the web and it seems like ASN.1 has a UTF8String type (with tag 12) that just contains the sequence of bytes of the UTF-8-encoded string. Can you use that? See also this question on stackoverflow: <a href="https://stackoverflow.com/q/28929809" target="_blank" class="">https://<wbr class="">stackoverflow.com/q/28929809</a><div dir="auto" class=""><br class=""></div><div dir="auto" class="">In Squeak, you can convert between UTF-8-encoded byte strings and decoded (Squeak-encoded) character strings with the help of UTF8TextConverter. Have a look at its class-side methods. Also, there are conversion methods in String, IIRC. Try to filter its instance-side methods by "utf8".</div><div dir="auto" class=""><br class=""></div><div dir="auto" class="">Does this answer your question or are you in search of something else?</div><div dir="auto" class=""><br class=""></div><div dir="auto" class="">Kind regards,</div><div dir="auto" class="">Jakob</div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">Am 18.09.2017 03:49 schrieb "Alan Pinch" <<a href="mailto:alan.c.pinch@gmail.com" target="_blank" class="">alan.c.pinch@gmail.com</a>>:<br type="attribution" class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I am trying to map utf8 into an ASN1 encoding, where the UTF8 is<br class="">
specified to perhaps extend past one byte in value. I am also interested<br class="">
in retaining this UTF8 characters in squeak to interoperate well. What<br class="">
would be my best approach to this, mapping to/from these bytes on a stream?<br class="">
<br class="">
Alan<br class="">
<br class="">
<br class="">
</blockquote></div></div>
<br class=""><br class=""><br class=""><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">From: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">Marcel Taeumel <marcel.taeumel@hpi.de><br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">Subject: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class=""><b class="">Re: [squeak-dev] How should one implement a custom window color for a custom window?</b><br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">Date: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">18. September 2017 um 09:13:32 MESZ<br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">To: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">Milan Vavra via Squeak-dev <squeak-dev@lists.squeakfoundation.org><br class=""></span></div><br class=""><br class=""><div class=""><div id="__MailbirdStyleContent" style="font-size: 12pt; font-family: calibri;" class="">
                                        Hi Stef,<div class=""><br class=""></div><div class="">such fragility should usually be discovered quickly by the progarmmer that tries something like this. So, this is not considered an issue for bigger projects. Since Squeak is an interactive environment, the feedback loop is very short in this regard.</div><div class=""><br class=""></div><div class="">As for your GC concerns: Can you construct a more elaborate example? If your environment experiences a severe memory issue, you should just try to clean-up the system like in the release process:</div><div class=""><br class=""></div><div class="">UserInterfaceTheme cleanUp: true.</div><div class=""><br class=""></div><div class="">or</div><div class=""><br class=""></div><div class="">Smalltalk cleanUp: true.</div><div class=""><br class=""></div><div class="">Since the "cope" instVar is local to a specific instance of UserInterfaceTheme, programmers can easily fix any issues there. One could also add a test case for that to improve usability. :)</div><div class=""><br class=""></div><div class="">Best,</div><div class="">Marcel</div><div class="mb_sig"></div><blockquote class="history_container" type="cite" style="border-left-style:solid;border-width:1px; margin-top:20px; margin-left:0px;padding-left:10px;"><p style="color: #AAAAAA; margin-top: 10px;" class="">Am 17.09.2017 14:04:21 schrieb Stéphane Rollandin <lecteur@zogotounga.net>:</p>Nice informative post, thanks Marcel.<br class=""><br class="">I think I see something fragile in the implementation though: each <br class="">#userInterfaceTheme send must absolutely be followed by another <br class="">selector, else the relevant stacked object (in the scope inst. var. of <br class="">the theme) will not be popped at the proper moment.<br class=""><br class="">In other words, a line of code as simple as<br class=""><br class="">   Morph new userInterfaceTheme explore<br class=""><br class="">may break things in potentially ugly ways; for one thing, even if <br class="">further scope push/pop work properly, the Morph instanciated by the <br class="">above code will never be GCed...<br class=""><br class="">Does that make sense?<br class=""><br class=""><br class="">Stef<br class=""><br class="">
                        </blockquote>
                                        </div></div><br class=""><br class=""><br class=""><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">From: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">commits@source.squeak.org<br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">Subject: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class=""><b class="">[squeak-dev] The Trunk: Tests-mt.382.mcz</b><br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">Date: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">18. September 2017 um 09:24:20 MESZ<br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">To: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">squeak-dev@lists.squeakfoundation.org, packages@lists.squeakfoundation.org<br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">Reply-To: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">squeak-dev@lists.squeakfoundation.org<br class=""></span></div><br class=""><br class="">Marcel Taeumel uploaded a new version of Tests to project The Trunk:<br class="">http://source.squeak.org/trunk/Tests-mt.382.mcz<br class=""><br class="">==================== Summary ====================<br class=""><br class="">Name: Tests-mt.382<br class="">Author: mt<br class="">Time: 18 September 2017, 9:24:02.443429 am<br class="">UUID: e9db6354-5602-3d4a-b944-ad65501bad8d<br class="">Ancestors: Tests-eem.381<br class=""><br class="">Adds a test to verify the integrity of the environment's user interface themes wrt. scope.<br class=""><br class="">=============== Diff against Tests-eem.381 ===============<br class=""><br class="">Item was added:<br class="">+ ----- Method: UserInterfaceThemeTest>>test27ScopeIntegrity (in category 'tests') -----<br class="">+ test27ScopeIntegrity<br class="">+ <span class="Apple-tab-span" style="white-space:pre">  </span>"If application code manages to use Object >> #userInterfaceTheme without invoking the DNU dispatch directly afterwards, the theme's scope might get inconsistent. Even though this should usually never happen, check for it to be sure."<br class="">+ <span class="Apple-tab-span" style="white-space:pre">   </span><br class="">+ <span class="Apple-tab-span" style="white-space:pre">     </span>| issues |<br class="">+ <span class="Apple-tab-span" style="white-space:pre">   </span>issues := OrderedCollection new.<br class="">+ <span class="Apple-tab-span" style="white-space:pre">     </span>UserInterfaceTheme allThemes do: [:uit |<br class="">+ <span class="Apple-tab-span" style="white-space:pre">     </span><span class="Apple-tab-span" style="white-space:pre">    </span>(uit instVarNamed: #scope) isEmpty ifFalse: [issues add: uit]].<br class="">+ <span class="Apple-tab-span" style="white-space:pre">      </span>self assert: issues isEmpty description: 'Some user interface themes have an inconsistent scope state, which can interfere with GC.'.!<br class=""><br class=""><br class=""><br class=""><br class=""><br class=""><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">From: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">Alan Pinch <alan.c.pinch@gmail.com><br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">Subject: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class=""><b class="">Re: [squeak-dev] IPv6 implementation code</b><br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">Date: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">18. September 2017 um 10:19:54 MESZ<br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">To: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">squeak-dev@lists.squeakfoundation.org<br class=""></span></div><br class=""><br class="">I am running the Ubuntu 32-bit vm and I enabledIPv6: through the preferences browser. I am able to run yet it seems it is still IPv4. I do not know enough how IPv6 should work. I get the following host addresses:<br class=""><br class="">    Connection running..<cap://127.0.1.1:10012/Xrlgak8yDT0hgspNx0AyWoCdoZo=, cap://127.0.0.1:47684/FL4dilz6eq2sZDG5wKp3TFDoQEE=><br class=""><br class="">I get the following from NetNameResolver localAddressString<br class="">127.0.1.1<br class=""><br class="">Alan<br class=""><br class="">On 09/17/2017 10:44 PM, David T. Lewis wrote:<br class=""><blockquote type="cite" class="">On Sun, Sep 17, 2017 at 09:46:49PM -0400, Alan Pinch wrote:<br class=""><blockquote type="cite" class="">Could anyone be able to point me to working IPv6 code for squeak,<br class="">please? I would appreciate any link.<br class=""><br class="">Alan<br class=""><br class=""></blockquote>In the preferences browser, catagory general, set the preference for<br class="">"Enable IPv6 and new network support" to true.<br class=""><br class="">The default setting is false, largely because of some network name<br class="">resolver issues on the Windows platform.<br class=""><br class="">I do not think that the IPv6 code is exercised much, because most<br class="">people probably leave their image in the default mode. So if you are<br class="">using this and find problems with it, please let us know what does<br class="">not work.<br class=""><br class="">Dave<br class="">  <br class=""></blockquote><br class=""><br class=""><br class=""><br class=""><br class=""><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">From: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">Alan Pinch <alan.c.pinch@gmail.com><br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">Subject: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class=""><b class="">Re: [squeak-dev] ASN1 encoding of UTF8</b><br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">Date: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">18. September 2017 um 10:32:34 MESZ<br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">To: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">squeak-dev@lists.squeakfoundation.org<br class=""></span></div><br class=""><br class="">
  
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" class="">
  
  <div text="#000000" bgcolor="#FFFFFF" class=""><p class="">I had found the same stackover flow question. It is the only
      place I found that mentions that 0x0C is the tag for it.</p><p class="">I am currently encoding thus: <br class="">
    </p><p class="">aString squeakToUtf8 asByteArray.</p><p class="">and decoding:</p><p class="">bytes asByteArray asString utf8ToSqueak.<br class="">
    </p>
    Do you think this lays out the bytes as specified in this page? I
    gather from the stackoverflow that this would be the encoded form of
    utf8 for asn1.<br class="">
    <br class="">
    <a class="moz-txt-link-freetext" href="https://en.wikipedia.org/wiki/UTF-8#Description">https://en.wikipedia.org/wiki/UTF-8#Description</a><br class="">
    <br class="">
    Alan<br class="">
    <br class="">
    <div class="moz-cite-prefix">On 09/18/2017 01:46 AM, Jakob Reschke
      wrote:<br class="">
    </div>
    <blockquote type="cite" cite="mid:CA+ovNC6eWS3c9b=DG+mKGwF5wTgNfTKpGB2rpxMsLYWDcVHagw@mail.gmail.com" class="">
      <div dir="auto" class="">I just did a quick search on the web and it seems
        like ASN.1 has a UTF8String type (with tag 12) that just
        contains the sequence of bytes of the UTF-8-encoded string. Can
        you use that? See also this question on stackoverflow: <a href="https://stackoverflow.com/q/28929809" target="_blank" moz-do-not-send="true" class="">https://<wbr class="">stackoverflow.com/q/28929809</a>
        <div dir="auto" class=""><br class="">
        </div>
        <div dir="auto" class="">In Squeak, you can convert between UTF-8-encoded
          byte strings and decoded (Squeak-encoded) character strings
          with the help of UTF8TextConverter. Have a look at its
          class-side methods. Also, there are conversion methods in
          String, IIRC. Try to filter its instance-side methods by
          "utf8".</div>
        <div dir="auto" class=""><br class="">
        </div>
        <div dir="auto" class="">Does this answer your question or are you in
          search of something else?</div>
        <div dir="auto" class=""><br class="">
        </div>
        <div dir="auto" class="">Kind regards,</div>
        <div dir="auto" class="">Jakob</div>
      </div>
      <div class="gmail_extra"><br class="">
        <div class="gmail_quote">Am 18.09.2017 03:49 schrieb "Alan
          Pinch" <<a href="mailto:alan.c.pinch@gmail.com" target="_blank" moz-do-not-send="true" class="">alan.c.pinch@gmail.com</a>>:<br type="attribution" class="">
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">I am
            trying to map utf8 into an ASN1 encoding, where the UTF8 is<br class="">
            specified to perhaps extend past one byte in value. I am
            also interested<br class="">
            in retaining this UTF8 characters in squeak to interoperate
            well. What<br class="">
            would be my best approach to this, mapping to/from these
            bytes on a stream?<br class="">
            <br class="">
            Alan<br class="">
            <br class="">
            <br class="">
          </blockquote>
        </div>
      </div>
      <br class="">
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br class="">
      <pre wrap="" class=""></pre>
    </blockquote>
    <br class="">
  </div>

<br class=""><br class=""><br class=""><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">From: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">Stéphane Rollandin <lecteur@zogotounga.net><br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">Subject: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class=""><b class="">Re: [squeak-dev] How should one implement a custom window color for a custom window?</b><br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">Date: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">18. September 2017 um 11:12:48 MESZ<br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">To: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">"liste [Squeak-dev]" <squeak-dev@lists.squeakfoundation.org><br class=""></span></div><br class=""><br class=""><blockquote type="cite" class="">As for your GC concerns: Can you construct a more elaborate example? If your environment experiences a severe memory issue, you should just try to clean-up the system like in the release process:<br class=""></blockquote><br class="">I have no problem in my images, it's just by perusing the code that I saw that #userInterfaceTheme requires a specific handling.<br class=""><br class="">What worries me is not the normal usage of #userInterfaceTheme, which works fine, it is how technically easy it is to mess things up, although I do not see that happening too often or at all actually. But if it happens sometime, somewhere, it will be a silent bug difficult to diagnose.<br class=""><br class="">BTW I see that the #cleanUp: method will indeed reset all stacks in hard-coded subclasses of UserInterfaceTheme, but it will not do so for possibly existing other subclasses. So if I create my own MuOInterfaceTheme for example, I will also need to monkey-patch #cleanUp:.. Maybe we should iterate long #allSubclasses?<br class=""><br class="">Stef<br class=""><br class=""><br class=""><br class=""><br class=""><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">From: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">Marcel Taeumel <marcel.taeumel@hpi.de><br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">Subject: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class=""><b class="">Re: [squeak-dev] How should one implement a custom window color for a custom window?</b><br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">Date: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">18. September 2017 um 11:17:35 MESZ<br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">To: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">Milan Vavra via Squeak-dev <squeak-dev@lists.squeakfoundation.org><br class=""></span></div><br class=""><br class=""><div class=""><div id="__MailbirdStyleContent" style="font-size: 12pt; font-family: calibri;" class="">
                                        Well, "Smalltalk cleanUp:except:" does exactly that, it iterates over all classes. :-) The call "UserInterfaceTheme cleanUp: true" was just an ad-hoc, oversimplified example for programmers to try out.<div class=""><br class=""></div><div class="">I just added a new test for the themes. If the integrity of a theme is broken, one can just browse all senders of #userInterfaceTheme and debug. I claim that it is quite simple to diagnose. :)</div><div class=""><br class=""></div><div class="">Best,</div><div class="">Marcel</div><div class="mb_sig"></div><blockquote class="history_container" type="cite" style="border-left-style:solid;border-width:1px; margin-top:20px; margin-left:0px;padding-left:10px;"><p style="color: #AAAAAA; margin-top: 10px;" class="">Am 18.09.2017 11:12:52 schrieb Stéphane Rollandin <lecteur@zogotounga.net>:</p>> As for your GC concerns: Can you construct a more elaborate example? If <br class="">> your environment experiences a severe memory issue, you should just try <br class="">> to clean-up the system like in the release process:<br class=""><br class="">I have no problem in my images, it's just by perusing the code that I <br class="">saw that #userInterfaceTheme requires a specific handling.<br class=""><br class="">What worries me is not the normal usage of #userInterfaceTheme, which <br class="">works fine, it is how technically easy it is to mess things up, although <br class="">I do not see that happening too often or at all actually. But if it <br class="">happens sometime, somewhere, it will be a silent bug difficult to diagnose.<br class=""><br class="">BTW I see that the #cleanUp: method will indeed reset all stacks in <br class="">hard-coded subclasses of UserInterfaceTheme, but it will not do so for <br class="">possibly existing other subclasses. So if I create my own <br class="">MuOInterfaceTheme for example, I will also need to monkey-patch <br class="">#cleanUp:.. Maybe we should iterate long #allSubclasses?<br class=""><br class="">Stef<br class=""><br class="">
                        </blockquote>
                                        </div></div><br class=""><br class=""><br class=""><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">From: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">Stéphane Rollandin <lecteur@zogotounga.net><br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">Subject: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class=""><b class="">Re: [squeak-dev] How should one implement a custom window color for a custom window?</b><br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">Date: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">18. September 2017 um 11:20:16 MESZ<br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">To: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">"liste [Squeak-dev]" <squeak-dev@lists.squeakfoundation.org><br class=""></span></div><br class=""><br class=""><blockquote type="cite" class="">I don't see the example "never being GC'd" as being related to the<br class="">UserInterfaceTheme implementation.  I may be missing your question but<br class=""></blockquote><br class="">Oh, easy to check: just do<br class=""><br class="">     100 timesRepeat: [Morph new userInterfaceTheme yourself].<br class=""><br class="">then<br class=""><br class="">     UserInterfaceTheme current explore<br class=""><br class="">... you will see all 100 instances of Morph in the stack.<br class=""><br class=""><br class="">Stef<br class=""><br class=""><br class=""><br class=""><br class=""><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">From: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">Stéphane Rollandin <lecteur@zogotounga.net><br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">Subject: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class=""><b class="">Re: [squeak-dev] How should one implement a custom window color for a custom window?</b><br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">Date: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">18. September 2017 um 11:23:15 MESZ<br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">To: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">"liste [Squeak-dev]" <squeak-dev@lists.squeakfoundation.org><br class=""></span></div><br class=""><br class=""><blockquote type="cite" class="">UserInterfaceTheme cleanUp: true.<br class="">or<br class="">Smalltalk cleanUp: true.<br class=""></blockquote><br class=""><br class="">Hmm I did:<br class=""><br class="">100 timesRepeat: [Morph new userInterfaceTheme yourself].<br class="">UserInterfaceTheme cleanUp: true.<br class="">Smalltalk cleanUp: true.<br class="">UserInterfaceTheme current explore<br class=""><br class="">... the scope stack was still populated.<br class=""><br class=""><br class="">Stef<br class=""><br class=""><br class=""><br class=""><br class=""><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">From: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">Marcel Taeumel <marcel.taeumel@hpi.de><br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">Subject: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class=""><b class="">Re: [squeak-dev] How should one implement a custom window color for a custom window?</b><br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">Date: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">18. September 2017 um 11:29:12 MESZ<br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">To: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">Milan Vavra via Squeak-dev <squeak-dev@lists.squeakfoundation.org><br class=""></span></div><br class=""><br class=""><div class=""><div id="__MailbirdStyleContent" style="font-size: 12pt; font-family: calibri;" class="">
                                        Thank you for this bug report. :)<div class=""><br class=""></div><div class="">The current clean-up strategy is to dismiss existing instances of UserInterfaceTheme. In your example, the current theme was not touched and is still active. That is, your environment as an active theme that is not in the list "UserInterfaceTheme allThemes". The release building process usually picks a new theme after the clean-up, which your example did not.</div><div class=""><br class=""></div><div class="">Anyway, I will fix the test to also consider the currently active theme. ;-)</div><div class=""><br class=""></div><div class="">Best,</div><div class="">Marcel</div><div class="mb_sig"></div><blockquote class="history_container" type="cite" style="border-left-style:solid;border-width:1px; margin-top:20px; margin-left:0px;padding-left:10px;"><p style="color: #AAAAAA; margin-top: 10px;" class="">Am 18.09.2017 11:23:18 schrieb Stéphane Rollandin <lecteur@zogotounga.net>:</p>> UserInterfaceTheme cleanUp: true.<br class="">> <br class="">> or<br class="">> <br class="">> Smalltalk cleanUp: true.<br class=""><br class=""><br class="">Hmm I did:<br class=""><br class="">100 timesRepeat: [Morph new userInterfaceTheme yourself].<br class="">UserInterfaceTheme cleanUp: true.<br class="">Smalltalk cleanUp: true.<br class="">UserInterfaceTheme current explore<br class=""><br class="">... the scope stack was still populated.<br class=""><br class=""><br class="">Stef<br class=""><br class="">
                        </blockquote>
                                        </div></div><br class=""><br class=""><br class=""><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">From: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">Stéphane Rollandin <lecteur@zogotounga.net><br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">Subject: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class=""><b class="">Re: [squeak-dev] How should one implement a custom window color for a custom window?</b><br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">Date: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">18. September 2017 um 11:33:12 MESZ<br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">To: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">"liste [Squeak-dev]" <squeak-dev@lists.squeakfoundation.org><br class=""></span></div><br class=""><br class=""><blockquote type="cite" class="">I just added a new test for the themes. If the integrity of a theme is broken, one can just browse all senders of #userInterfaceTheme and debug. I claim that it is quite simple to diagnose. :)<br class=""></blockquote><br class="">I am not too concerned by having the integrity of a theme broken. What I see more likely is objects accumulating silently in the stack until this becomes a problem.<br class=""><br class="">Stef<br class=""><br class=""><br class=""><br class=""><br class=""><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">From: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">commits@source.squeak.org<br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">Subject: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class=""><b class="">[squeak-dev] The Trunk: Tests-mt.382.mcz</b><br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">Date: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">18. September 2017 um 11:43:52 MESZ<br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">To: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">squeak-dev@lists.squeakfoundation.org, packages@lists.squeakfoundation.org<br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">Reply-To: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">squeak-dev@lists.squeakfoundation.org<br class=""></span></div><br class=""><br class="">Marcel Taeumel uploaded a new version of Tests to project The Trunk:<br class="">http://source.squeak.org/trunk/Tests-mt.382.mcz<br class=""><br class="">==================== Summary ====================<br class=""><br class="">Name: Tests-mt.382<br class="">Author: mt<br class="">Time: 18 September 2017, 9:24:02.443429 am<br class="">UUID: e9db6354-5602-3d4a-b944-ad65501bad8d<br class="">Ancestors: Tests-eem.381<br class=""><br class="">Adds a test to verify the integrity of the environment's user interface themes wrt. scope.<br class=""><br class="">=============== Diff against Tests-eem.381 ===============<br class=""><br class="">Item was added:<br class="">+ ----- Method: UserInterfaceThemeTest>>test27ScopeIntegrity (in category 'tests') -----<br class="">+ test27ScopeIntegrity<br class="">+ <span class="Apple-tab-span" style="white-space:pre">     </span>"If application code manages to use Object >> #userInterfaceTheme without invoking the DNU dispatch directly afterwards, the theme's scope might get inconsistent. Even though this should usually never happen, check for it to be sure."<br class="">+ <span class="Apple-tab-span" style="white-space:pre">   </span><br class="">+ <span class="Apple-tab-span" style="white-space:pre">     </span>| issues |<br class="">+ <span class="Apple-tab-span" style="white-space:pre">   </span>issues := OrderedCollection new.<br class="">+ <span class="Apple-tab-span" style="white-space:pre">     </span>UserInterfaceTheme allThemes do: [:uit |<br class="">+ <span class="Apple-tab-span" style="white-space:pre">     </span><span class="Apple-tab-span" style="white-space:pre">    </span>(uit instVarNamed: #scope) isEmpty ifFalse: [issues add: uit]].<br class="">+ <span class="Apple-tab-span" style="white-space:pre">      </span>self assert: issues isEmpty description: 'Some user interface themes have an inconsistent scope state, which can interfere with GC.'.!<br class=""><br class=""><br class=""><br class=""><br class=""><br class=""><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">From: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">commits@source.squeak.org<br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">Subject: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class=""><b class="">[squeak-dev] The Trunk: Tests-mt.383.mcz</b><br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">Date: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">18. September 2017 um 11:44:02 MESZ<br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">To: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">squeak-dev@lists.squeakfoundation.org, packages@lists.squeakfoundation.org<br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">Reply-To: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">squeak-dev@lists.squeakfoundation.org<br class=""></span></div><br class=""><br class="">Marcel Taeumel uploaded a new version of Tests to project The Trunk:<br class="">http://source.squeak.org/trunk/Tests-mt.383.mcz<br class=""><br class="">==================== Summary ====================<br class=""><br class="">Name: Tests-mt.383<br class="">Author: mt<br class="">Time: 18 September 2017, 11:43:21.93578 am<br class="">UUID: a6f43f48-58a8-774e-8ad4-3b102f1fda9d<br class="">Ancestors: Tests-mt.382<br class=""><br class="">Adds and fixes tests considering that current UI themes do not have to be registered such as in test code.<br class=""><br class="">=============== Diff against Tests-mt.382 ===============<br class=""><br class="">Item was changed:<br class="">  ----- Method: UserInterfaceThemeTest>>test27ScopeIntegrity (in category 'tests') -----<br class="">  test27ScopeIntegrity<br class="">  <span class="Apple-tab-span" style="white-space:pre"> </span>"If application code manages to use Object >> #userInterfaceTheme without invoking the DNU dispatch directly afterwards, the theme's scope might get inconsistent. Even though this should usually never happen, check for it to be sure."<br class="">  <span class="Apple-tab-span" style="white-space:pre">      </span><br class="">  <span class="Apple-tab-span" style="white-space:pre">        </span>| issues |<br class="">  <span class="Apple-tab-span" style="white-space:pre">      </span>issues := OrderedCollection new.<br class="">  <span class="Apple-tab-span" style="white-space:pre">        </span>UserInterfaceTheme allThemes do: [:uit |<br class="">  <span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">    </span>(uit instVarNamed: #scope) isEmpty ifFalse: [issues add: uit]].<br class="">+ <span class="Apple-tab-span" style="white-space:pre">      </span>UserInterfaceTheme current in: [:uit |<br class="">+ <span class="Apple-tab-span" style="white-space:pre">       </span><span class="Apple-tab-span" style="white-space:pre">    </span>(UserInterfaceTheme allThemes includes: uit)<br class="">+ <span class="Apple-tab-span" style="white-space:pre"> </span><span class="Apple-tab-span" style="white-space:pre">    </span><span class="Apple-tab-span" style="white-space:pre">    </span>ifFalse: [(uit instVarNamed: #scope) isEmpty ifFalse: [issues add: uit]]].<br class="">  <span class="Apple-tab-span" style="white-space:pre">      </span>self assert: issues isEmpty description: 'Some user interface themes have an inconsistent scope state, which can interfere with GC.'.!<br class=""><br class="">Item was added:<br class="">+ ----- Method: UserInterfaceThemeTest>>test28DanglingTheme (in category 'tests') -----<br class="">+ test28DanglingTheme<br class="">+ <span class="Apple-tab-span" style="white-space:pre">  </span><br class="">+ <span class="Apple-tab-span" style="white-space:pre">     </span>self<br class="">+ <span class="Apple-tab-span" style="white-space:pre"> </span><span class="Apple-tab-span" style="white-space:pre">    </span>assert: (UserInterfaceTheme allThemes includes: UserInterfaceTheme current)<br class="">+ <span class="Apple-tab-span" style="white-space:pre">  </span><span class="Apple-tab-span" style="white-space:pre">    </span>description: 'The current user interface theme is not registered.'.!<br class=""><br class=""><br class=""><br class=""><br class="">_______________________________________________<br class="">Squeak-dev mailing list<br class="">Squeak-dev@lists.squeakfoundation.org<br class="">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/squeak-dev<br class=""><br class=""><br class=""><br class=""></div></blockquote></div><br class=""></div></body></html>