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:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;cache-squeakLo=
goInverted<br>
Date:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;29 July 2026<br>
Author:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;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&gt;&gt;squeakLogoInverted {*MorphicExtras-sprites} &middot;=
 ct 7/29/2026 03:41</b><br>
<font color=3D"#FF0000">+ squeakLogoInverted<br>
+ <br>
+ &nbsp;&nbsp;&nbsp;&nbsp;^ Imports default imports<br>
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at: #squeakLogoInverted=
<br>
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ifAbsentPut: [ self squ=
eakLogo collectColors: #negated ]</font><br>
<br>
<b>MovingEyeMorph class&gt;&gt;extraExampleSqueakGhostIsWatchingYou {exam=
ples} &middot; ct 7/29/2026 03:42 (changed)</b><br>
extraExampleSqueakGhostIsWatchingYou<br>
&nbsp;&nbsp;&nbsp;&nbsp;&quot;MovingEyeMorph extraExampleSqueakGhostIsWat=
chingYou openInHand&quot;<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;| logoMorph leftEye rightEye |<br>
<s><font color=3D"#0000FF">- &nbsp;&nbsp;&nbsp;&nbsp;logoMorph :=3D (Form squ=
eakLogo collectColors: #negated) asMorph.<br>
</font></s><font color=3D"#FF0000">+ &nbsp;&nbsp;&nbsp;&nbsp;logoMorph :=3D F=
orm squeakLogoInverted asMorph.<br>
</font>&nbsp;&nbsp;&nbsp;&nbsp;leftEye :=3D (self color: Color white irisCo=
lor: Color black)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;extent: logoMorph extent =
* (0.1 @ 0.15);<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;center: (logoMorph pointA=
tFraction: 0.39 @ 0.55);<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;yourself.<br>
&nbsp;&nbsp;&nbsp;&nbsp;rightEye :=3D (self color: Color white irisColor: C=
olor black)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;extent: logoMorph extent =
* (0.1 @ 0.15);<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;center: (logoMorph pointA=
tFraction: 0.59 @ 0.56);<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;yourself.<br>
&nbsp;&nbsp;&nbsp;&nbsp;logoMorph addAllMorphs: {leftEye. rightEye}.<br>
&nbsp;&nbsp;&nbsp;&nbsp;^ logoMorph.<br>
<br>
<b>ReleaseBuilder class&gt;&gt;prepareEnvironment {preparing} &middot; ct=
 7/29/2026 03:43 (changed)</b><br>
prepareEnvironment<br>
&nbsp;&nbsp;&nbsp;&nbsp;&quot;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>
&nbsp;&nbsp;&nbsp;&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;| balloon |<br>
&nbsp;&nbsp;&nbsp;&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;self<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;clearCaches;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;configureProjects;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;configureTools;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;setPreferences;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;clearPreferenceCaches;<br=
>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;configureDesktop.<br>
&nbsp;&nbsp;&nbsp;&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;balloon :=3D self getBalloonForm. &quot;Get now bec=
ause later the file might be missing.&quot;<br>
&nbsp;&nbsp;&nbsp;&nbsp;DeferredTask :=3D [<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;DisplayScreen checkForNew=
ScreenScaleFactor.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;self openWelcomeWorkspace=
sWith: (balloon ifNotNil: [balloon scaleFormToDisplay]).<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ObjectlandMorph openObjec=
tlandStarter.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;PreferenceWizardMorph ope=
n].<br>
&nbsp;&nbsp;&nbsp;&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&quot;If you save-and-quit the image after callin=
g #prepareEnvironment, ensure that the next image startup will be fast.&q=
uot;<br>
&nbsp;&nbsp;&nbsp;&nbsp;Project current world doOneCycle.<br>
<s><font color=3D"#0000FF">- &nbsp;&nbsp;&nbsp;&nbsp;Display platformScaleF=
actor: nil; platformScaleFactor: 1.0.<br>
</font></s><font color=3D"#FF0000">+ &nbsp;&nbsp;&nbsp;&nbsp;Display platfo=
rmScaleFactor: nil; platformScaleFactor: 1.0.<br>
+ &nbsp;&nbsp;&nbsp;&nbsp;Form squeakLogoInverted. &quot;Takes 3 seconds =
on SqueakJS :O&quot;</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==--