[squeak-dev] Re: where does source.squeak.org get its title?

David T. Lewis lewis at mail.msen.com
Wed Aug 24 21:31:17 UTC 2016


On Wed, Aug 24, 2016 at 01:30:21PM -0500, Chris Muller wrote:
> 
> On Wed, Aug 24, 2016 at 11:58 AM, marcel.taeumel <Marcel.Taeumel at hpi.de> wrote:
> > Chris Muller-4 wrote
> >> Can anyone please help me figure where the heck SqueakSource gets its
> >> title text?  (see picture)
> >>
> >> This is the last thing needed to upgrade our code repository server.
> >> Months of work is completed, but I'm stuck at this last step for the
> >> last couple of days.
> >>
> >> In our production source.squeak.org image, there is one ByteString
> >> instance with the value 'Squeak Development' but when I chasePointers
> >> its an empty list..
> >>
> >> Sigh... Seaside magic.  Completely opaque!!  Can anyone give me a pointer?
> >> Hi Chris,
> >>
> >> this is a pre-rendered picture, right? At least on the rendered Website...
> >> Maybe you are looking for a resource, a form?
> >>
> >> Best,
> >> Marcel
> >>
> >>
> >>
> >> Squeak-Development-Green.png (64K)
> >> &lt;http://forum.world.st/attachment/4912504/0/Squeak-Development-Green.png&gt;
> >
>
> I think I finally found it...    SSFrame class>>#formLogo.
> 
> Whew!  Maybe..  this is the standard blue "SqueakSource" banner..
> 
> And, yes, its a Form.
> 
> Thanks.
>

Hi Chris,

I see you already found the answer, but for what it's worth, here is a
copy of the workspace that I left in the squeaksource.com image as a
reminder of how to change the logo. This is from the time when I imported
the squeaksource.com repository from its ancient 3.11 based image into a
copy of the (then) latest and greatest source.squeak.org image so that
both would be running on the same image and squeaksource versions. After
I did that I had to change the logo back to the squeaksource.com logo
(pretty much the reverse of the problem you had here).

The squeaksource.com image has a number of workspaces like this to keep
track of how it came to be. Whenever we update the source.squeak.org and
squeaksource.com images to some newer version of the image and VM, those
workspaces will hopefully provide some background to help with the update.

Dave

-------------- next part --------------
Background: The header banner at the top of the SqueakSource web page is a graphic that is activated by the style sheet. It is stored in class instance variable Logo in class SSGenericFrame. The original logo from the SCG image was stored as a byte array in that image, but was not transferred to the newer image. I exported the byte array from the old image, saving it in a file called SSPageHeaderBytes.jpg, then loaded it into the newer image. 

"Update the header logo"
SSFrame makeLogo: 'SSPageHeaderBytes.jpg'.

The style sheet is cached in the style instance variable of the active SSFrame instance, which can be cleared without restarting the image.

"Allow it to be activated"
SSFrame allInstances do: [:e | e instVarAt: 3 put: nil].


More information about the Squeak-dev mailing list