|
ok i guess i miss understood what Make your own Etoy meant.i am still not able to see any tutorial in http://www.squeakland.org/whatis/tutorials.html
Make your own Etoy. i guess now this is just an empty work-space. to practice but no tutorial.
i am looking on a tutorial on how to use a morph i built into something like an Etoys. particularly i would like to know how to make my own bricks so it shows in the miscellaneous category.
how to make a flap where i could put all my morphs for later use an instantiation a little like the suply flap but with my own stuff. to be more clear i want to draw a car "suv". teach it to "roll over" show the "roll over" method as a tile for the "suv" toys. create a flaps with all my "rebuilt cars".
i feel quite lost with my current understanding of squeak . is my design even feasible. thanks for any help. so far i have tried to track down how the rectangle Morph was build but i haven't yet grasp the concepts from the code .
Kemal On Jan 1, 2008 1:00 PM, < [hidden email]> wrote:
Send Squeak-dev mailing list submissions to [hidden email]
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/squeak-dev or, via email, send a message with subject or body 'help' to
[hidden email]
You can reach the person managing the list at [hidden email]
When replying, please edit your Subject line so it is more specific than "Re: Contents of Squeak-dev digest..."
Today's Topics:
1. Re: etoys tutorial (subbukk)
2. Fireworks (Alexander Lazarevic') 3. Re: GridBag (Brian Brown) 4. [ANN] Logging api (Keith Hodges) 5. Re: [ANN] Logging api (Keith Hodges) 6. AddMiorph causes VM coma? (Jerome Peace)
7. Re: Squeak and composite desktop (beryl/compiz) (Igor Stasenko) 8. Re: [ANN] ICal occurrence API (Philippe Marschall) 9. Re: GridBag (Blake) 10. Re: GridBag (Brian Brown) 11. Re: GridBag (Blake)
12. Re: [Vm-dev] Re: Unix VM path encodings (Yoshiki Ohshima)
----------------------------------------------------------------------
Message: 1 Date: Mon, 31 Dec 2007 18:03:24 +0530 From: subbukk <
[hidden email]> Subject: Re: etoys tutorial To: [hidden email] Message-ID: <[hidden email]> Content-Type: text/plain; charset="utf-8"
On Sunday 30 December 2007 5:50 pm, kemal asad-syed wrote: > I am trying to have a look to the > tutorial : *Make your own Etoy
> of the page > http://www.squeakland.org/index.html > the project opens in my browser with the plugin but i just get an empty > white screen once it is loaded.
> * > how it should be ? What you are seeing is the World - empty until you fill it up with objects. If you scroll down the page, you will see the Navigator flap along the bottom left corner, Click on "Escape Browser" to switch to full screen mode. The
default language is Deutsche. Use the "World" button in Navigator to change the language.
Have fun, Subbu
------------------------------
Message: 2 Date: Mon, 31 Dec 2007 16:37:56 +0100
From: Alexander Lazarevic' <[hidden email]> Subject: Fireworks To: [hidden email] Message-ID: <[hidden email]> Content-Type: text/plain; charset=ISO-8859-15
Close to/After the beginning of 2008 it might be a good time for an
(ugly) but fun hack! ;)
The project can be loaded into a 3.9 image.
http://www.lazarevic.de/download/squeak/fireworks.002.pr
This should also work, but no guaranties...
http://squeakland.org/project.jsp?http://www.lazarevic.de/download/squeak/fireworks.002.pr
Cheers (in every sense), Alex :D
PS: This is the result of some fun hours of hacking, but shouldn't be looked at closely! After all this should be much nicer in kedama! PPS: Use Alt-. to stop it
------------------------------
Message: 3 Date: Mon, 31 Dec 2007 10:13:24 -0700 From: Brian Brown <[hidden email]> Subject: Re: GridBag To: The general-purpose Squeak developers list
<[hidden email]> Message-ID: <[hidden email]> Content-Type: text/plain; charset="us-ascii"
You can take a look at this: http://www.squeaksource.com/GuidedLayout.html
- Brian
On Dec 29, 2007, at 3:22 PM, Blake wrote:
> Hello, All: > > I note that here: > > http://wiki.squeak.org/squeak/282
> > > a suggestion was made for a GridBagLayout (a way to fix columns and > rows). I don't actually see one in Squeak however. > > Has anyone done this? Or is there another (good) way to constrain
> layouts to a fixed number of columns and rows? > > ===Blake=== > -------------- next part -------------- An HTML attachment was scrubbed... URL:
http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20071231/4aee1876/attachment-0001.htm
------------------------------
Message: 4 Date: Mon, 31 Dec 2007 18:41:20 +0000 From: Keith Hodges <
[hidden email]> Subject: [ANN] Logging api To: The general-purpose Squeak developers list <[hidden email]> Message-ID: <[hidden email]> Content-Type: text/plain; charset=ISO-8859-1
Hello all, and happy new year,
There are three Logging packages for Squeak that I know of.
1. SimpleLog 2. Toothpick 3. LogEngine there is also a Null logger.
This package "Logging", available from SqueakMap and in Universes, is
slightly higher level 'front end' api to these logging back ends.
best regards
Keith
=================== from the class comment
Convenient usage: 'annotated values'
self log x: 10 y: 20 z: 30.
To select a specific log severity level (i.e. not the temporary one featured above).
self log info x: 10 y: 20 z: 30.
To log the current method's input parameters.
Rectangle-#corner: topLeftPoint extent: heightWidthPoint
self log debug this.
would be the same as
self log corner: topLeftPoint extent: heightWidthPoint.
To log the current methods variables:
self log debug vars instance.
------------------------------
Message: 5 Date: Mon, 31 Dec 2007 18:46:15 +0000 From: Keith Hodges <[hidden email]> Subject: Re: [ANN] Logging api To: The general-purpose Squeak developers list <[hidden email]> Message-ID: <
[hidden email]> Content-Type: text/plain; charset=ISO-8859-1
Keith Hodges wrote: > Hello all, and happy new year, > > There are three Logging packages for Squeak that I know of.
> > 1. SimpleLog > 2. Toothpick > 3. LogEngine > there is also a Null logger. > > This package "Logging", available from SqueakMap and in Universes, is > slightly higher level 'front end' api to these logging back ends.
> > best regards > > Keith I forgot to mention the new news, that being support for Göran's SimpleLog has been added recently. Toothpick is also supported, though LogEngine does not have an adaptor
as yet.
best regards
Keith
p.s. if the authors of toothpick happen to read this, I still think some additional work is needed for Toothpick to support logging to a file reliably on windows.
------------------------------
Message: 6 Date: Mon, 31 Dec 2007 12:28:04 -0800 (PST) From: Jerome Peace <[hidden email]> Subject: AddMiorph causes VM coma?
To: "[hidden email]" <[hidden email]> Message-ID: <[hidden email]> Content-Type: text/plain; charset=iso-8859-1
AddMiorph causes VM coma?
Hi Blake,
It looks like your son found a good one.* Can he do it again? And can you explain how to reproduce the error?
I tried it and failed to get stopped. Which is not surprising.
What I did was:
(In a fresh squeak 3.10 version 7159, opened with a mac classic vm 3.8.9beta7)
Dropped a .gif file on the image (which gave me a sketch morph)
Opened a workspace (Worldmenu>open>workspace) and
from the menu in the title bar set create textual references to dropped morphs to true
then I dropped the sketch onto the workspace (which created a textual reference to the morph in my case sketch3255)
wrote, selected and did a "print it" on 'World addMorph: sketch3255' .
This caused me no problems.
I then deleted the sketch; reselected the phrase and did it again.
Still no problems.
----- What did your son do different? Can you supply a report similar in detail to the above? If you can show how to reproduce the problem then someone may be able to help you track down the trouble.
Yours in curiosity and service,
Jerome Peace
*My imaginary friend Puck says "A troublesome bug is its own reward." Puck is an essential part of my bug finding team. His additude is that crashing the system is a good way
to improve it.
See: http://wiki.squeak.org/squeak/5915 Game of Mantis
and also
http://www.folklore.org/StoryView.py?project=Macintosh&story=Make_a_Mess,_Clean_it_Up!.txt for a neat Burell Smith story.
*** >Blake blake at
kingdomrpg.com >Mon Dec 31 02:47:50 UTC 2007 > >Hello, all, > > My son is working with morphs and has a sketchmorph sublcass that he's >adding to the World like this:
> >World addMorph: aCity. > > This causes Squeak to go away and never come back. Alt+. does not work. >When I debug, it seems to hang up in the CopyReplace code of the AddMorph >routine. I've put halts in his initialize code
thinking he's looping >somehow but I sure can't see it. I can run the CopyReplace code once, then >the VM goes back to that code, and if it tries to run it again, it hangs >up. It's trying to replace with a start of 2 and a
stop of 1, but that >appears to be a legimate "add". > > I'm kind of stumped as to where to look. > > ===Blake=== ***
____________________________________________________________________________________
Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs
------------------------------
Message: 7 Date: Mon, 31 Dec 2007 22:37:41 +0200
From: "Igor Stasenko" <[hidden email]> Subject: Re: Squeak and composite desktop (beryl/compiz) To: "The general-purpose Squeak developers list"
<[hidden email]> Message-ID: <[hidden email]> Content-Type: text/plain; charset=UTF-8
On 30/12/2007, Hilaire Fernandes <[hidden email]> wrote:
> Igor Stasenko a écrit : > > I'm just installed ubuntu, which using composite desktop enhancements. > > Squeak can't draw itself correctly when running in such mode. > > It looks like a semi-transparent window.
> > Does anybody knows how to fix that? > > > > > > If you switch Squeak display to 32bbp it will be much better and usable, > although not exactly perfect. >
I never coded for X server, so i don't know what can cause problems,
but i'm sure that proper fix should work regardless of display bpp.
-- Best regards, Igor Stasenko AKA sig.
------------------------------
Message: 8 Date: Mon, 31 Dec 2007 21:55:04 +0100
From: "Philippe Marschall" <[hidden email]> Subject: Re: [ANN] ICal occurrence API To: "The general-purpose Squeak developers list"
<[hidden email]> Message-ID: <[hidden email]> Content-Type: text/plain; charset=UTF-8
2007/12/31, Alan L. Lovejoy <[hidden email]>:> > Philippe Marschall wrote: > 2007/12/30, Alan L. Lovejoy < [hidden email]>: > > > Jason, > > I spent the the last hour rooting around in the latest version of the
> iCalendar package from SqueakSource. I see lots of code for parsing and > representing iCal recurrence rules, > > Yes, for quite some time that was the only thing the package did > because computing the occurrences is a bit tricky.
> > > > but can't find any code that > actually attempts to generate the set of occurrences specified by the rules. > > Am I missing something? > > If you load one of the later jbj versions you should get the code
> described by Jason, see the added tests in ICEventTests for example > #testOccurencesWithExclusionDate. > > Cheers > Philippe > > > I didn't see any "jbj" versions yesterday. And today, both the "Versions"
> tab and the "Latest" tab report "No matching public versions available". > > ??? Sorry I can not reproduce this. It shows me several jbj versions in non-filtered and filtered [1] mode. In the latest tab I
see ICal-jbj.67.mcz.
[1] http://img175.imageshack.us/img175/8395/jbjversionsiv6.png
Cheers Philippe
------------------------------
Message: 9 Date: Mon, 31 Dec 2007 14:31:03 -0800 From: Blake <[hidden email]> Subject: Re: GridBag To: "The general-purpose Squeak developers list"
<[hidden email]> Message-ID: <[hidden email]
> Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-15
Thanks, Brian.
I notice it says several demos are included but I don't see any.
Dunno if you ever got much feedback but I'll tell you what we think once
we figure it out.<s>
===Blake===
On Mon, 31 Dec 2007 09:13:24 -0800, Brian Brown <[hidden email]> wrote:
> You can take a look at this:
> http://www.squeaksource.com/GuidedLayout.html > > - Brian > > On Dec 29, 2007, at 3:22 PM, Blake wrote: >
>> Hello, All:>> >> I note that here: >> >> http://wiki.squeak.org/squeak/282>> >> >> a suggestion was made for a GridBagLayout (a way to fix columns and
>> rows). I don't actually see one in Squeak however. >> >> Has anyone done this? Or is there another (good) way to constrain >> layouts to a fixed number of columns and rows?
>> >> ===Blake=== >> >
------------------------------
Message: 10 Date: Mon, 31 Dec 2007 16:06:42 -0700 From: Brian Brown <[hidden email]> Subject: Re: GridBag To: The general-purpose Squeak developers list <[hidden email]> Message-ID: <
[hidden email]> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
The demos are in some class side methods, IIRC :)
It's been a while, and I published it, but a different developer here wrote it.
- Brian
On Dec 31, 2007, at 3:31 PM, Blake wrote:
> Thanks, Brian. > > I notice it says several demos are included but I don't see any.
> > Dunno if you ever got much feedback but I'll tell you what we think > once we figure it out.<s> > > ===Blake=== > > On Mon, 31 Dec 2007 09:13:24 -0800, Brian Brown <
[hidden email]> > wrote: > >> You can take a look at this: http://www.squeaksource.com/GuidedLayout.html
>> >> - Brian >> >> On Dec 29, 2007, at 3:22 PM, Blake wrote: >> >>> Hello, All: >>> >>> I note that here: >>> >>>
http://wiki.squeak.org/squeak/282>>> >>> >>> a suggestion was made for a GridBagLayout (a way to fix columns and >>> rows). I don't actually see one in Squeak however.
>>> >>> Has anyone done this? Or is there another (good) way to constrain >>> layouts to a fixed number of columns and rows? >>> >>> ===Blake=== >>>
>> > > >
------------------------------
Message: 11 Date: Mon, 31 Dec 2007 15:24:22 -0800 From: Blake <[hidden email]
> Subject: Re: GridBag To: "The general-purpose Squeak developers list" <[hidden email]> Message-ID: <
[hidden email]> Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-15
Ah. There they are. Thanks!
On Mon, 31 Dec 2007 15:06:42 -0800, Brian Brown <[hidden email]> wrote:
> The demos are in some class side methods, IIRC :) > > It's been a while, and I published it, but a different developer here
> wrote it. > > - Brian > > On Dec 31, 2007, at 3:31 PM, Blake wrote: > >> Thanks, Brian. >> >> I notice it says several demos are included but I don't see any.
>> >> Dunno if you ever got much feedback but I'll tell you what we think >> once we figure it out.<s> >> >> ===Blake=== >> >> On Mon, 31 Dec 2007 09:13:24 -0800, Brian Brown <
[hidden email]> >> wrote: >> >>> You can take a look at this: >>>
http://www.squeaksource.com/GuidedLayout.html>>> >>> - Brian >>> >>> On Dec 29, 2007, at 3:22 PM, Blake wrote: >>> >>>> Hello, All: >>>>
>>>> I note that here: >>>> >>>> http://wiki.squeak.org/squeak/282>>>> >>>>
>>>> a suggestion was made for a GridBagLayout (a way to fix columns and >>>> rows). I don't actually see one in Squeak however. >>>> >>>> Has anyone done this? Or is there another (good) way to constrain
>>>> layouts to a fixed number of columns and rows? >>>> >>>> ===Blake=== >>>> >>> >> >> >> > >
------------------------------
Message: 12 Date: Mon, 31 Dec 2007 23:01:30 -0800 From: Yoshiki Ohshima <[hidden email]> Subject: Re: [Vm-dev] Re: Unix VM path encodings
To: The general-purpose Squeak developers list <[hidden email]>, Squeak Virtual Machine Development Discussion <
[hidden email]> Message-ID: <[hidden email]> Content-Type: text/plain; charset=US-ASCII
Andreas,
> Odd. Checking the latest OLPC image I have access to (etoys2.3-1867) > there is nothing I can see that would deal properly in the image with > non-ascii file names on Unix. LanguageEnvironment still returns "self
> currentPlatform class fileNameConverterClass" which won't use an UTF-8 > converter anywhere. So unless I'm missing something it probably > shouldn't work on OLPC. Maybe try it with some "real" UTF-32 names?
Ah, you are right. the code wasn't the way I remember it should be. Latin1Environment (which should be called WesternEuropeanEnvironment) flieNameConverterClass should be a bit more elaborated (or just
returning UTF8TextConverter).
-- Yoshiki
------------------------------
_______________________________________________ Squeak-dev mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/squeak-dev
End of Squeak-dev Digest, Vol 61, Issue 1 *****************************************
|