Review Request: cache-squeakLogoInverted.1.cs
Christoph Thiede via Squeak-dev <[email protected]> Wed, 29 Jul 2026 03:46:02 +0200
| Newsgroups | gmane.comp.lang.smalltalk.squeak.general |
|---|---|
| Message-ID | <e62b6fa0-b6d0-4670-8527-1160092656fd@MX2025-DAG1.hpi.uni-potsdam.de> |
--==CelesteAttachment92642==
Content-Type: multipart/alternative; boundary="==CelesteAttachment61882=="
--==CelesteAttachment61882==
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="UTF-8"
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Summary =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Change Set:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0cache-squeakLogoInverted
Date:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A029 July 2026
Author:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0Christoph Thiede
Speeds up objectland starter construction by at least 3 seconds for Squea=
kJS.
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Diff =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Form class>>squeakLogoInverted {*MorphicExtras-sprites} =C2=B7 ct 7/29/2026 0=
3:41
+ squeakLogoInverted
+
+ =C2=A0=C2=A0=C2=A0=C2=A0^ Imports default imports
+ =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0at: #squeakLogoInverted
+ =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0ifAbsentPut: [ self squeakLogo collectColors: #negated =
]
MovingEyeMorph class>>extraExampleSqueakGhostIsWatchingYou {examples} =C2=B7 =
ct 7/29/2026 03:42 (changed)
extraExampleSqueakGhostIsWatchingYou
=C2=A0=C2=A0=C2=A0=C2=A0"MovingEyeMorph extraExampleSqueakGhostIsWatchingYou openInHand"
=C2=A0=C2=A0=C2=A0=C2=A0| logoMorph leftEye rightEye |
- =C2=A0=C2=A0=C2=A0=C2=A0logoMorph :=3D (Form squeakLogo collectColors: #negated) asMorph.=
+ =C2=A0=C2=A0=C2=A0=C2=A0logoMorph :=3D Form squeakLogoInverted asMorph.
=C2=A0=C2=A0=C2=A0=C2=A0leftEye :=3D (self color: Color white irisColor: Color black)
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0extent: logoMorph extent * (0.1 @ 0.15);
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0center: (logoMorph pointAtFraction: 0.39 @ 0.55);
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0yourself.
=C2=A0=C2=A0=C2=A0=C2=A0rightEye :=3D (self color: Color white irisColor: Color black)
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0extent: logoMorph extent * (0.1 @ 0.15);
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0center: (logoMorph pointAtFraction: 0.59 @ 0.56);
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0yourself.
=C2=A0=C2=A0=C2=A0=C2=A0logoMorph addAllMorphs: {leftEye. rightEye}.
=C2=A0=C2=A0=C2=A0=C2=A0^ logoMorph.
ReleaseBuilder class>>prepareEnvironment {preparing} =C2=B7 ct 7/29/2026 03:4=
3 (changed)
prepareEnvironment
=C2=A0=C2=A0=C2=A0=C2=A0"Prepare everything that should be done for a new image build. Cl=
ear caches, passwords, etc. Note that this will be called automatically i=
n the CI on github.com/squeak-smalltalk/squeak-app."
=C2=A0=C2=A0=C2=A0=C2=A0
=C2=A0=C2=A0=C2=A0=C2=A0| balloon |
=C2=A0=C2=A0=C2=A0=C2=A0
=C2=A0=C2=A0=C2=A0=C2=A0self
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0clearCaches;
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0configureProjects;
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0configureTools;
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0setPreferences;
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0clearPreferenceCaches;
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0configureDesktop.
=C2=A0=C2=A0=C2=A0=C2=A0
=C2=A0=C2=A0=C2=A0=C2=A0balloon :=3D self getBalloonForm. "Get now because later the file m=
ight be missing."
=C2=A0=C2=A0=C2=A0=C2=A0DeferredTask :=3D [
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0DisplayScreen checkForNewScreenScaleFactor.
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0self openWelcomeWorkspacesWith: (balloon ifNotNil: [ballo=
on scaleFormToDisplay]).
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0ObjectlandMorph openObjectlandStarter.
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0PreferenceWizardMorph open].
=C2=A0=C2=A0=C2=A0=C2=A0
=C2=A0=C2=A0=C2=A0=C2=A0"If you save-and-quit the image after calling #prepareEnvironment=
, ensure that the next image startup will be fast."
=C2=A0=C2=A0=C2=A0=C2=A0Project current world doOneCycle.
- =C2=A0=C2=A0=C2=A0=C2=A0Display platformScaleFactor: nil; platformScaleFactor: 1.0.
+ =C2=A0=C2=A0=C2=A0=C2=A0Display platformScaleFactor: nil; platformScaleFactor: 1.0.
+ =C2=A0=C2=A0=C2=A0=C2=A0Form squeakLogoInverted. "Takes 3 seconds on SqueakJS :O"
--
Sent from Squeak Inbox Talk
--==CelesteAttachment61882==
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset="UTF-8"
<b>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Summary =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D</b><br>
<br>
Change Set: cache-squeakLo=
goInverted<br>
Date: &n=
bsp;29 July 2026<br>
Author: =
Christoph Thiede<br>
<br>
Speeds up objectland starter construction by at least 3 seconds for Squea=
kJS.<br>
<br>
<b>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Diff =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D</b><br>
<br>
<b>Form class>>squeakLogoInverted {*MorphicExtras-sprites} ·=
ct 7/29/2026 03:41</b><br>
<font color=3D"#FF0000">+ squeakLogoInverted<br>
+ <br>
+ ^ Imports default imports<br>
+ at: #squeakLogoInverted=
<br>
+ ifAbsentPut: [ self squ=
eakLogo collectColors: #negated ]</font><br>
<br>
<b>MovingEyeMorph class>>extraExampleSqueakGhostIsWatchingYou {exam=
ples} · ct 7/29/2026 03:42 (changed)</b><br>
extraExampleSqueakGhostIsWatchingYou<br>
"MovingEyeMorph extraExampleSqueakGhostIsWat=
chingYou openInHand"<br>
<br>
| logoMorph leftEye rightEye |<br>
<s><font color=3D"#0000FF">- logoMorph :=3D (Form squ=
eakLogo collectColors: #negated) asMorph.<br>
</font></s><font color=3D"#FF0000">+ logoMorph :=3D F=
orm squeakLogoInverted asMorph.<br>
</font> leftEye :=3D (self color: Color white irisCo=
lor: Color black)<br>
extent: logoMorph extent =
* (0.1 @ 0.15);<br>
center: (logoMorph pointA=
tFraction: 0.39 @ 0.55);<br>
yourself.<br>
rightEye :=3D (self color: Color white irisColor: C=
olor black)<br>
extent: logoMorph extent =
* (0.1 @ 0.15);<br>
center: (logoMorph pointA=
tFraction: 0.59 @ 0.56);<br>
yourself.<br>
logoMorph addAllMorphs: {leftEye. rightEye}.<br>
^ logoMorph.<br>
<br>
<b>ReleaseBuilder class>>prepareEnvironment {preparing} · ct=
7/29/2026 03:43 (changed)</b><br>
prepareEnvironment<br>
"Prepare everything that should be done for =
a new image build. Clear caches, passwords, etc. Note that this will be c=
alled automatically in the CI on github.com/squeak-smalltalk/squeak-app.&=
quot;<br>
<br>
| balloon |<br>
<br>
self<br>
clearCaches;<br>
configureProjects;<br>
configureTools;<br>
setPreferences;<br>
clearPreferenceCaches;<br=
>
configureDesktop.<br>
<br>
balloon :=3D self getBalloonForm. "Get now bec=
ause later the file might be missing."<br>
DeferredTask :=3D [<br>
DisplayScreen checkForNew=
ScreenScaleFactor.<br>
self openWelcomeWorkspace=
sWith: (balloon ifNotNil: [balloon scaleFormToDisplay]).<br>
ObjectlandMorph openObjec=
tlandStarter.<br>
PreferenceWizardMorph ope=
n].<br>
<br>
"If you save-and-quit the image after callin=
g #prepareEnvironment, ensure that the next image startup will be fast.&q=
uot;<br>
Project current world doOneCycle.<br>
<s><font color=3D"#0000FF">- Display platformScaleF=
actor: nil; platformScaleFactor: 1.0.<br>
</font></s><font color=3D"#FF0000">+ Display platfo=
rmScaleFactor: nil; platformScaleFactor: 1.0.<br>
+ Form squeakLogoInverted. "Takes 3 seconds =
on SqueakJS :O"</font><br>
<br>
<br>
<font color=3D"#808080">-- <br>
</font><font color=3D"#808080"><i>Sent from </i></font><font color=3D"#808080=
"><i><a href=3D"https://github.com/hpi-swa-lab/squeak-inbox-talk"><u><font =
color=3D"#808080">Squeak Inbox Talk</font></u></a></i></font>
--==CelesteAttachment61882==--
--==CelesteAttachment92642==
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment; filename="cache-squeakLogoInverted.1.cs"
Content-Type: text/squeak-changes; name="cache-squeakLogoInverted.1.cs"
'From Squeak6.1rc1 of 27 July 2026 [latest update: #23918] on 29 July 202=
6 at 3:43:54 am'!
"Change Set: cache-squeakLogoInverted
Date: 29 July 2026
Author: Christoph Thiede
Speeds up objectland starter construction by at least 3 seconds for Squea=
kJS."!
!Form class methodsFor: '*MorphicExtras-sprites' stamp: 'ct 7/29/2026 03:=
41'!
squeakLogoInverted
^ Imports default imports
at: #squeakLogoInverted
ifAbsentPut: [ self squeakLogo collectColors: #negated ]! !
!MovingEyeMorph class methodsFor: 'examples' stamp: 'ct 7/29/2026 03:42'!=
extraExampleSqueakGhostIsWatchingYou
"MovingEyeMorph extraExampleSqueakGhostIsWatchingYou openInHand"
| logoMorph leftEye rightEye |
logoMorph :=3D Form squeakLogoInverted asMorph.
leftEye :=3D (self color: Color white irisColor: Color black)
extent: logoMorph extent * (0.1 @ 0.15);
center: (logoMorph pointAtFraction: 0.39 @ 0.55);
yourself.
rightEye :=3D (self color: Color white irisColor: Color black)
extent: logoMorph extent * (0.1 @ 0.15);
center: (logoMorph pointAtFraction: 0.59 @ 0.56);
yourself.
logoMorph addAllMorphs: {leftEye. rightEye}.
^ logoMorph.! !
!ReleaseBuilder class methodsFor: 'preparing' stamp: 'ct 7/29/2026 03:43'=
!
prepareEnvironment
"Prepare everything that should be done for a new image build. Clear cac=
hes, passwords, etc. Note that this will be called automatically in the C=
I on github.com/squeak-smalltalk/squeak-app."
| balloon |
self
clearCaches;
configureProjects;
configureTools;
setPreferences;
clearPreferenceCaches;
configureDesktop.
balloon :=3D self getBalloonForm. "Get now because later the file might be=
missing."
DeferredTask :=3D [
DisplayScreen checkForNewScreenScaleFactor.
self openWelcomeWorkspacesWith: (balloon ifNotNil: [balloon scaleFormTo=
Display]).
ObjectlandMorph openObjectlandStarter.
PreferenceWizardMorph open].
"If you save-and-quit the image after calling #prepareEnvironment, ensur=
e that the next image startup will be fast."
Project current world doOneCycle.
Display platformScaleFactor: nil; platformScaleFactor: 1.0.
Form squeakLogoInverted. "Takes 3 seconds on SqueakJS :O"! !
--==CelesteAttachment92642==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Squeak-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
--==CelesteAttachment92642==--