tag:forum.world.st,2006:forum-134817Nabble - Squeak - Dev2024-03-28T02:07:43Ztag:forum.world.st,2006:post-134975Moving 3.9 mailinglist to mailman2006-03-11T05:32:07Z2006-03-11T05:32:07ZMarcus Denker
Hello,
<br/><br/>We are slowly converging all squeakfoundation lists to use Mailman
<br/>instead of ezmlm.
<br/><br/>This means:
<br/><br/>1) Please subscribe to the new list at
<br/> <a href="http://lists.squeakfoundation.org/mailman/listinfo/v3dot9" target="_top" rel="nofollow" link="external">http://lists.squeakfoundation.org/mailman/listinfo/v3dot9</a><br/><br/>2) The address of the list will be from now on:
<br/> <a href="/user/SendEmail.jtp?type=node&node=134975&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br/><br/>I will close the old 3.9 list (@discuss) later today.
<br/><br/> Marcus
<br/><br/>
tag:forum.world.st,2006:post-134972Loading a package vs. Merging?2006-03-04T02:13:05Z2006-03-04T02:13:05ZMarcus Denker
Hi,
<br/><br/>Honestly, the 3.9 setup of managing the image with MC is killing
<br/>me... it just does not work well.
<br/>We need to find another way or improve it. (I have no time to do this
<br/>in paralell to get 3.9 out of
<br/>the door).
<br/><br/>I am spending more time fighting with getting all packaged to load or
<br/>painstackingly updateing
<br/>the scriploader scripts by hand... doing a release take *hours* as
<br/>soon as something goes
<br/>wrong, and at least 30min for the most trivial case.
<br/><br/>My latest fun problems
<br/><br/>a) Upstream maintainers want to have their packages in as is, they
<br/>should not be merged...
<br/>b) moving methods between packages just does not work. They somehow
<br/>disappear.
<br/><br/>And everything just is far, far to slow. Impossibly slow.
<br/><br/>I don't know how long it will take to do a 7005... I hope this
<br/>weekend. Syncing with SqueakLand
<br/>is far away, as I am truly burned out... 150 changesets to go, I
<br/>don't know when I will find
<br/>the energy for that.
<br/><br/> Marcus
<br/>
tag:forum.world.st,2006:post-134969How close to Beta?2006-03-02T10:41:30Z2006-03-02T10:41:30ZKen Causey-3
I'm just wondering if you guys have any idea how close we are to beta
<br/>and if we should be avoiding any significant changes at this time, or
<br/>how soon that might be an issue.
<br/><br/>Thanks,
<br/><br/>Ken
<br/><!--start-attachments--><div class="small"><br/><img src="https://forum.world.st/images/icon_attachment.gif" > <strong>signature.asc</strong> (196 bytes) <a href="https://forum.world.st/attachment/134969/0/signature.asc" target="_top" rel="nofollow" link="external">Download Attachment</a></div><!--end-attachments-->
tag:forum.world.st,2006:post-134963if this is a problem we can roll back2006-02-21T01:11:14Z2006-02-21T01:11:14Zstéphane ducasse-2
Hi
<br/><br/>apparently in 3.9-7000 we have some problems with the iconic button
<br/>and flaps.
<br/>So we can either roll-back or fix it.
<br/>Let us know what you prefer.
<br/><br/>Stef
<br/>
tag:forum.world.st,2006:post-134961Re: RoelTyper2006-02-20T06:58:55Z2006-02-20T06:58:55Zstéphane ducasse-2
It would be good to have it as its own package on squeaksource (I can
<br/>do that)
<br/>this way people will be able to use it.
<br/><br/>I would announce it so that the guy doing the eCompletion can use it.
<br/>Then we would load it in the developer Full Image
<br/><br/>Stef
<br/><br/>On 20 févr. 06, at 13:56, Roel Wuyts wrote:
<br/><br/>> Hi Stef,
<br/>>
<br/>> quickly registered it on Squeakmap. What do I need to do to make it
<br/>> part of the official Squeak distro (if you think it should be) ?
<br/>>
<br/>> PS: I cast my votes for the Squeak elections this morning...
<br/>>
<br/>> --
<br/>> Rel Wuyts
<br/><br/>
tag:forum.world.st,2006:post-134951source.sqf down?2006-02-17T15:17:18Z2006-02-17T15:17:18ZMarcus Denker
Hi,
<br/><br/>I have problems connecting to source.squeakfoundation.org.
<br/><br/> Marcus
<br/>
tag:forum.world.st,2006:post-134959Re: Traits in 67242006-02-18T04:21:02Z2006-02-18T04:21:02ZAdrian Lienhard
Hi Alex,
<br/><br/>> Is there some hided menu in the code browser ? How can I add and
<br/>> define new traits ?
<br/><br/>There used to be menu entries to add and create new traits.
<br/>Apparently this was lost somewhere in recent 3.9a changes... Ok, this
<br/>is caused by the Services package that overrides the method
<br/>messageListMenu:shifted:.
<br/><br/>> I dusted off what I did some time ago. The changeset I attached to
<br/>> this email offers a minimal support for traits in current browser,
<br/>> while waiting for the OB-based trait browser...
<br/>>
<br/>> [...]
<br/>> I am not sure it makes sense to include it in a new release of
<br/>> squeak, but I had to use this changeset if I want to use traits...
<br/><br/>yes, maybe we should include this. I haven't done it because it had
<br/>some issues and because Daniel argued that it would make more sense
<br/>to push forward the Traits OmniBrowser instead of hacking the old
<br/>browser.
<br/><br/>Cheers,
<br/>Adrian
<br/>
tag:forum.world.st,2006:post-1349493.9a67252006-02-16T07:06:29Z2006-02-16T07:06:29ZMarcus Denker
Hi,
<br/><br/>Yet another 3.9a, fast #who first round:
<br/><br/><a href="http://ftp.squeak.org/3.9alpha/Squeak3.9a-6724.zip" target="_top" rel="nofollow" link="external">http://ftp.squeak.org/3.9alpha/Squeak3.9a-6724.zip</a><br/><br/>- 0002345: Cannot open Workspace from world menu in MVC
<br/>- fixes to MC tests by Adrian
<br/>- CompiledMethod>>decompileTree deprecated
<br/>- String>>numArgs: for building selectors easily
<br/>- cleaned up unused old property code in parser
<br/>- first cut at a fast #who (see Changelog Kernel-md.92)
<br/>- cleanups in CompiledMethod (see Changelog Kernel-md.92)
<br/>- some first refactorings to not call #who
<br/><br/><br/>Name: Kernel-md.92
<br/>Author: md
<br/>Time: 16 February 2006, 2:18:22 pm
<br/>UUID: 938634c4-fd4e-49ca-8921-4be99275f270
<br/>Ancestors: Kernel-md.91
<br/><br/>- remove MethodPropertie>>#propDict (leftover)
<br/>- Pragma>>#selector fixed to no call #who
<br/>- First cut at "fast #who"
<br/> - CompiledMethod>>#methodClass now gets class from
<br/> classbinging in the last literal
<br/> - cm>>#selector searches this class
<br/> - searchForClass/seachForSelector search like old #who
<br/> - who fixed to use methodClass/selector. does return
<br/> #(unkown unkown) when not installed. deprecated.
<br/> - isInstalled: tests if method is installed.
<br/> - methodRef fixed to not use #who
<br/> - #decompileTree deprecated
<br/> - #decompile now sets class / selector
<br/> - #decompileString changed to call #decompile
<br/> - Behavior>>#binding returns the association form
<br/> systemdict
<br/> - Behavior>>#basicAddSelector:withMethod sets class
<br/> in method on installation.
<br/>
tag:forum.world.st,2006:post-1349483.9a6724 with method properties/pragmas2006-02-15T10:23:57Z2006-02-15T10:23:57ZMarcus Denker
Hi,
<br/><br/>A version with the next iteraltion on properties/pragmas is available:
<br/><br/><a href="http://ftp.squeak.org/3.9alpha/Squeak3.9a-6724.zip" target="_top" rel="nofollow" link="external">http://ftp.squeak.org/3.9alpha/Squeak3.9a-6724.zip</a><br/><br/>I want to do some more testing and implement the fast #who before
<br/>announcing it more widely.
<br/><br/>And, we need to do something about space: 19.4mb is too big.
<br/>A lot of that comes from the changesets history... without that, it's
<br/>ca.
<br/>14.6, 4.6MB larger then the 3.8treated the same, which is quite a lot,
<br/>too. So how can we shrink it?
<br/><br/> Marcus
<br/>
tag:forum.world.st,2006:post-134908we would like to integrate network2006-02-03T03:37:28Z2006-02-03T03:37:28Zstéphane ducasse-2
HI guys
<br/><br/>integrate fast and often they said so we would like to try with 3.9
<br/>So do you have a version of network that you can push at us....
<br/><br/>Stef
<br/>
tag:forum.world.st,2006:post-134943about squeak size2006-02-11T05:40:23Z2006-02-11T05:40:23Zstéphane ducasse-2
Hi edgar and pavel
<br/><br/>I removed a lot of classes from Squeak3.9 and I arrived to something
<br/>like 1400.
<br/>however after several GC and cache flushing I only gained a couple of
<br/>MB. From 17Mb to 16Mb.
<br/>I wanted to know where you got a big win to get down to 6 Mb
<br/><br/>Stef
<br/>
tag:forum.world.st,2006:post-134940About diego changes2006-02-11T02:59:18Z2006-02-11T02:59:18Zstéphane ducasse-2
hi guys
<br/><br/>I had a really good chat with diego (he cannot work the next two
<br/>weeks but after he will really try to see how to integrate his changes).
<br/><br/>Stef
<br/>
tag:forum.world.st,2006:post-134939About participating in morphic2006-02-11T01:44:40Z2006-02-11T01:44:40Zstéphane ducasse-2
hi guys
<br/><br/>I would like to help a bit to decompose a bit more the morphic
<br/>packages. I would like to be able to unload
<br/>more packages from Morphic.
<br/>Is it ok to join? What are the todos?
<br/><br/>Stef
<br/>
tag:forum.world.st,2006:post-134828Re: What are the pending fixes for VMMaker2006-01-13T13:14:27Z2006-01-13T13:14:27Zstéphane ducasse-2
>> Hi tim
<br/>>>
<br/>>> I'm quite in rush in this moment, but I would like to take some
<br/>>> time to add the pending fixes for VMMaker or related.
<br/>>> Could you help me by sending me a list of issues (or mantis links)?
<br/>> Sure; sorry for the delay but you know what work can be like.
<br/><br/>NOoooooooo
<br/>I'm an academic and this is well-know we are getting paied to do
<br/>nothing.
<br/><br/>> Attached:-
<br/>> important
<br/>> VMM38-64bit-imageUpdates.1.cs - really ought to go into 3.8 update
<br/>> stream as well as 3.9
<br/>> VMM38-gc-instrument-image.1.cs - ditto
<br/><br/>Ok I will see and push these two.
<br/>But I really have enough to deal with 3.9a and I would like to avoid
<br/>to maintain 3.8
<br/><div class='shrinkable-quote'><br/>> usefull cleanups
<br/>> RemoveLeftoverVMMbits-38b4.1.cs - cleans out some leftover vmm
<br/>> methods that shouldn't be in the image
<br/>> WideStringPrimKill.1.cs - performance cleanup of left over string
<br/>> rework.
<br/>> LocalePluginAddins.1.cs - change methods to make use of
<br/>> LocalePlugin if it exists.
<br/>>
<br/>> Warning! I haven't had any opportunity to try these in a 3.9 image.
<br/>> The first two won't be any problem since they add to classes that
<br/>> shouldn't have changed.
</div><br/>I will try and let you know.
<br/>Thanks a lot.
<br/><br/>Stef
<div class='shrinkable-quote'><br/>>
<br/>>
<br/>> <LocalePluginAddins.1.cs>
<br/>> <RemoveLeftoverVMMbits-38b4.1.cs>
<br/>> <VMM38-64bit-imageUpdates.1.cs>
<br/>> <VMM38-gc-instrument-image.1.cs>
<br/>> <WideStringPrimKill.1.cs>
<br/>>
<br/>>
<br/>> tim
<br/>> --
<br/>> tim Rowledge; <a href="/user/SendEmail.jtp?type=node&node=134828&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>; <a href="http://www.rowledge.org/tim" target="_top" rel="nofollow" link="external">http://www.rowledge.org/tim</a><br/>> Strange OpCodes: HAL: Murder Operator
<br/>>
<br/>>
</div><br/>
tag:forum.world.st,2006:post-134938Fwd: did I do something wrong?2006-02-09T01:19:41Z2006-02-09T01:19:41Zstéphane ducasse-2
Hi all
<br/><br/>Some information about the classBuilder fixes of boris and ken
<br/><br/>Begin forwarded message:
<br/><div class='shrinkable-quote'><br/>> From: "Boris Gaertner" <<a href="/user/SendEmail.jtp?type=node&node=134938&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>>
<br/>> Date: 8 février 2006 22:41:56 HNEC
<br/>>
<br/>> Now let us discuss the bug Mantis 1405:
<br/>>
<br/>> The reported problem is that you cannot change a class into a
<br/>> variable subclass, which should be possible for classes that do not
<br/>> have subclasses andalso for classes whose subclasses are variable
<br/>> subclasses. I just convinced myself that this error can be found
<br/>> in these versions:
<br/>> Squeak 3.7 #5989
<br/>> Squeak 3.8 #6665
<br/>> Squeak 3.9 alpha #6704
<br/>>
<br/>> I think that the fix ClassBuilderCheck-bg[1].4.cs.gz that you find in
<br/>> Mantis is still a good proposal. It betters the situation for all
<br/>> three
<br/>> above-mentioned versions. Also, the problem analysis that Ken
<br/>> put into Mantis is still valid. I never got a review for that
<br/>> analysis -
<br/>> obviously it is very special stuff.
<br/>> The test is also still ok, but I think I should try to write
<br/>> additional
<br/>> tests over the coming weekend.
<br/>>
<br/></div>
tag:forum.world.st,2006:post-134934About UUID test2006-02-06T01:26:18Z2006-02-06T01:26:18Zstéphane ducasse-2
hi john
<br/><br/>do you have any idea how to solve the test
<br/><br/>testCreationRandom
<br/> | uuid |
<br/><br/> (UUID new asString last: 12) = (UUID new asString last: 12) ifTrue:
<br/>[^self].
<br/> 1000 timesRepeat:
<br/> [uuid _ UUID new.
<br/> self should: [((uuid at: 7) bitAnd: 16rF0) = 16r40].
<br/> self should: [((uuid at: 9) bitAnd: 16rC0) = 16r80]]
<br/><br/><br/>I do not understand
<br/>this line exactly
<br/> ((uuid at: 7) bitAnd: 16rF0) = 16r40
<br/><br/>I would like to start cleaning all the tests in 3.9 and only ship a
<br/>green image.
<br/><br/>Stef
<br/>
tag:forum.world.st,2006:post-134927about method annotations and trait fixes2006-02-05T08:52:12Z2006-02-05T08:52:12Zstéphane ducasse-2
Hi
<br/><br/>I would like to know
<br/> - when the annotations of lukas will be pushed in 3.9
<br/> - adrian would it be possible to fix the trait problem
<br/>
<br/>I would like to go beta soon.
<br/>And only integrate the stuff of smallland.
<br/><br/>Marcus could you send me your list of pending items so that I can go
<br/>over them.
<br/><br/>Stef
<br/>
tag:forum.world.st,2006:post-134925Re: about squeaklight2006-02-04T12:24:01Z2006-02-04T12:24:01Zstéphane ducasse-2
<br/>On 4 févr. 06, at 20:08, Lic. Edgar J. De Cleene wrote:
<br/><br/>> stéphane ducasse puso en su mail :
<br/>>
<br/>>> What are the cs files that you send to me?
<br/>>>
<br/>>> Stef
<br/>> I explain this in my previous mail.
<br/>>
<br/>> You wish Nebraska perform better as now in 3.9 ?
<br/><br/>I do not know.
<br/>If somebody is maintaining Nebraska and let us know that fixes have
<br/>been included
<br/>then we will update the package on 3.9.
<br/>If nobody cares then we will not care.
<br/><br/><div class='shrinkable-quote'><br/>> In my images I solve, as I do not have to ask anybody, so Juan and
<br/>> you trust
<br/>> me or no.
<br/>>
<br/>> Do what I say my students, then should disbelieve all, should try
<br/>> and found
<br/>> if work or not.:=)
<br/>>
<br/>> With this you solve the Nebraska peer to peer sharing worlds (where
<br/>> that
<br/>> WorldState finally shows ) between 3.9 and SqueakPlugin-dev.image
<br/>> both ways
<br/>> (and between two 3.9, off course)
<br/>>
<br/>> Do not solve if two images have different font or font sizes (that
<br/>> is the
<br/>> proposal what I send to Yoshiki and he still do not answer)
<br/>>
<br/>> Hope this help.
<br/>>
<br/>> edgar
<br/>>
<br/>>
<br/>>
<br/>>
<br/>>
<br/>>
<br/>>
<br/>>
<br/>> ___________________________________________________________
<br/>> 1GB gratis, Antivirus y Antispam
<br/>> Correo Yahoo!, el mejor correo web del mundo
<br/>> <a href="http://correo.yahoo.com.ar" target="_top" rel="nofollow" link="external">http://correo.yahoo.com.ar</a><br/>>
<br/>>
</div><br/>
tag:forum.world.st,2006:post-134924Strange....2006-02-04T11:06:53Z2006-02-04T11:06:53Zstéphane ducasse-2
marcus do you understand why the packages
<br/> Flash
<br/> Morphic-TrueType
<br/> Morphic-Balloon
<br/><br/>have changes?
<br/><br/>I do not get why?
<br/>May because andreas moved them to different packages.
<br/>But I thought that I merged his package.
<br/><br/>Stef
<br/>
tag:forum.world.st,2006:post-134923Re: small fix in tools related to traits2006-02-04T10:36:58Z2006-02-04T10:36:58Zstéphane ducasse-2
DONE!
<br/>will be shipped with 6720 :)
<br/><br/>Stef
<br/><br/><br/>> Hi Stef
<br/>>
<br/>> I committed Tools-al.52 to the inbox. It includes the following
<br/>> change:
<br/>>
<br/>> "Fixes browsing of traits, i.e., "TPureBehavior browse" which
<br/>> incorrectly selected the class Trait"
<br/>>
<br/>> Adrian
<br/><br/>
tag:forum.world.st,2006:post-134903Re: could you let us know about http://bugs.impara.de/view.php?id=14052006-02-03T02:52:47Z2006-02-03T02:52:47Zstéphane ducasse-2
Hi guys
<br/><br/>Did you receive this email from me?
<br/><br/>Stef
<br/><br/>On 25 janv. 06, at 21:52, stephane ducasse wrote:
<br/><div class='shrinkable-quote'><br/>> hi guys
<br/>>
<br/>> I would like to know what is the status of <a href="http://bugs.impara.de/" target="_top" rel="nofollow" link="external">http://bugs.impara.de/</a>
<br/>> view.php?id=1405.
<br/>>
<br/>> Could you help me there to get a better view on what should be done
<br/>> for 6718
<br/>>
<br/>> Thanks.
<br/>>
<br/>> Stef
<br/>>
</div><br/>
tag:forum.world.st,2006:post-134905difficulties about the TextAnchor fixes2006-02-03T03:27:30Z2006-02-03T03:27:30Zstéphane ducasse-2
hi lukas
<br/><br/>It is quite difficult for me to merge your changes (especially the
<br/>Graphics one)
<br/>since they are based on an old version of the packages and now
<br/>merging with the
<br/>most recent one of andreas is difficult.
<br/><br/>Could you have a look to see if this is possible to produce a new
<br/>package based on the
<br/>version available in 3.9-6719
<br/><br/>The merging tool is not that useful, when you do not have the context
<br/>of the change
<br/><br/>Stef
<br/>
tag:forum.world.st,2006:post-134902published a new version of script loader...2006-02-02T12:42:25Z2006-02-02T12:42:25Zstéphane ducasse-2
Hi
<br/><br/>while waiting for a new version of OB-Standard and before integrating
<br/>luaks textAnchor fixes.
<br/>I extracted from System, releaseBuilder classes and move them in
<br/>their own packages.
<br/><br/>Stef
<br/>
tag:forum.world.st,2006:post-134901About2006-02-02T12:21:14Z2006-02-02T12:21:14Zstéphane ducasse-2
Hi hernan
<br/><br/>I looked at WindowColorRegistry in System-Support and I thought that
<br/>it would be better to have it in Preferences.
<br/>Do you have any feedback about that? I have the impression that a
<br/>class (used as a global just for that could be moved in
<br/>preferences).
<br/><br/>Stef
<br/><br/><br/>
tag:forum.world.st,2006:post-134899integrating lukas textAnchor fixes2006-02-02T11:44:20Z2006-02-02T11:44:20Zstéphane ducasse-2
Hi guys
<br/><br/>I would like to integrate the fixes of lukas. Nobody reacted to his
<br/>fixes.
<br/>So my plan is to merge his changes on the latest 6718 image.
<br/>Once this is done, it would be better than you take the packages as a
<br/>basis for your future packages.
<br/><br/>Tell me if this is ok. I would like to do that tomorrow.
<br/><br/>Stef
<br/><div class='shrinkable-quote'><br/>>>> Subject: [FIX] TextAnchor
<br/>>>>
<br/>>>> The class TextAnchor (to allow Form's and Morph's in Text) is broken
<br/>>>> because the method #emphasizeScanner: is missing. Moreover I removed
<br/>>>> the unreferenced and as well broken subclass TextAnchorPlus. Then I
<br/>>>> also changed the CharacterScanner to properly render transparent
<br/>>>> Form's. This involves 4 mcz-files all commited to the 3.9 inbox:
<br/>>>>
<br/>>>> - Multilingual-lr.11
<br/>>>> - MorphicExtras-lr.10
<br/>>>> - Morphic-lr.63
<br/>>>> - Graphics-lr.17
<br/>>>>
<br/></div>
tag:forum.world.st,2006:post-134889I push in the 3.9 box a mcz harvested by cees on exception2006-01-25T13:25:02Z2006-01-25T13:25:02Zstéphane ducasse-2
But I should not have, so as soon as the foundation gets the new
<br/>squeaksource
<br/>we should remember to remove it.
<br/><br/>Marcus I harvested the stop on mc os X fix, so IU published a new
<br/>script and new kernel version
<br/><br/>Stef
<br/>
tag:forum.world.st,2006:post-134898About OB-Standard2006-01-31T01:40:45Z2006-01-31T01:40:45Zstéphane ducasse-2
hi colin
<br/><br/>marcus told me that there is a dependency on Bogus in OB-Standard.
<br/>Could you remove it? So we could load independently OB-Standard from
<br/>the test.
<br/>Note that we do not use dependencies between packages for the package
<br/>in the image.
<br/><br/>Stef
<br/>
tag:forum.world.st,2006:post-134884how to collect squeakland fixes...2006-01-24T10:37:01Z2006-01-24T10:37:01Zstéphane ducasse-2
Hi yoshiki
<br/><br/>We would really loved to be able to retrofit the fixes that were
<br/>harvested
<br/>for the squeakland version (and that are not in 3.8) in 3.9
<br/>so that we can back in track.
<br/><br/>Do you know how I could get my hands on these?
<br/><br/>Thanks yoshiki.
<br/><br/>Stef
<br/>
tag:forum.world.st,2006:post-134897I produced a new script but I do not understand why it does not work2006-01-29T09:44:28Z2006-01-29T09:44:28Zstéphane ducasse-2
I copied the OB-Standard file mentioned by colin and changed the
<br/>script but the script cannot find it on the server.
<br/>I will check that tomorrow.
<br/><br/>Stef
<br/>
tag:forum.world.st,2006:post-134895About OB2006-01-29T07:19:51Z2006-01-29T07:19:51Zstéphane ducasse-2
hi colin
<br/><br/>I have the impression that I do not have the complete OB in 3.9.
<br/>Normally I published the version you cleaned.
<br/>273.mcz
<br/><br/>Could you check and let me know?
<br/>It seems that the following classes are missing:
<br/><br/> OBClassCategoryNode
<br/> OBMetagraph
<br/> OBClassNode
<br/> OBMethodCategoryNode
<br/> OBEnvironmentNode
<br/> OBMethodDefinition
<br/> OBClassActor
<br/> OBMethodNode
<br/> OBCategoryActor
<br/> OBClassDefinition
<br/> OBSystemBrowser
<br/><br/>Stef
<br/>
tag:forum.world.st,2006:post-134887About some changed in 3.82006-01-24T13:02:45Z2006-01-24T13:02:45Zstéphane ducasse-2
hi
<br/><br/>I just browsed Tweak and looked at references of the exception
<br/>CSqueak3Point8Detected as mentioned by andreas
<br/><br/>I report here the stuff he is checking I let you judge.
<br/><br/><br/>ProtoObject class>>addSelectorSilently: selector withMethod: newMethod
<br/> | oldMethod result done |
<br/> CSqueak3Point8Detected signal. "Only used from 3.8"
<br/> oldMethod := self compiledMethodAt: selector ifAbsent:[nil].
<br/> done := false.
<br/> [result := super addSelectorSilently: selector withMethod: newMethod]
<br/> on: CSqueak3Point8Detected do:[:ex| done := true. ex resume].
<br/> done ifFalse:[self methodChanged: selector from: oldMethod to:
<br/>newMethod].
<br/> ^result
<br/><br/><br/>addSelector: selector withMethod: newMethod
<br/> | oldMethod result done |
<br/> oldMethod := self compiledMethodAt: selector ifAbsent:[nil].
<br/> done := false.
<br/> result := [super addSelector: selector withMethod: newMethod]
<br/> on: CSqueak3Point8Detected do:[:ex| done := true. ex resume].
<br/> done ifFalse:[self methodChanged: selector from: oldMethod to:
<br/>newMethod].
<br/> ^result
<br/><br/>addSelector: selector withMethod: newMethod notifying: requestor
<br/> | oldMethod result |
<br/> CSqueak3Point8Detected signal. "Only used from 3.8"
<br/> oldMethod := self compiledMethodAt: selector ifAbsent:[nil].
<br/> result := super addSelector: selector withMethod: newMethod
<br/>notifying: requestor.
<br/> self methodChanged: selector from: oldMethod to: newMethod.
<br/> ^result
<br/><br/><br/>basicRemoveSelector: selector
<br/> | oldMethod result |
<br/> CSqueak3Point8Detected signal. "Only used in 3.8"
<br/> oldMethod := self compiledMethodAt: selector ifAbsent:[^nil].
<br/> result := super basicRemoveSelector: selector.
<br/> self methodChanged: selector from: oldMethod to: nil.
<br/> ^result
<br/><br/>removeSelector: selector
<br/> | oldMethod result done |
<br/> oldMethod := self compiledMethodAt: selector ifAbsent:[^nil].
<br/> done := false.
<br/> result := [super removeSelector: selector]
<br/> on: CSqueak3Point8Detected do:[:ex| done := true. ex resume].
<br/> done ifFalse:[self methodChanged: selector from: oldMethod to: nil].
<br/> ^result
<br/><br/><br/><br/><br/><br/><br/>
tag:forum.world.st,2006:post-134864[FIX] TextAnchor2006-01-21T08:12:10Z2006-01-21T08:12:10ZLukas Renggli
The class TextAnchor (to allow Form's and Morph's in Text) is broken
<br/>because the method #emphasizeScanner: is missing. Moreover I removed
<br/>the unreferenced and as well broken subclass TextAnchorPlus. Then I
<br/>also changed the CharacterScanner to properly render transparent
<br/>Form's. This involves 4 mcz-files all commited to the 3.9 inbox:
<br/><br/>- Multilingual-lr.11
<br/>- MorphicExtras-lr.10
<br/>- Morphic-lr.63
<br/>- Graphics-lr.17
<br/><br/>Cheers,
<br/>Lukas
<br/><br/>--
<br/>Lukas Renggli
<br/><a href="http://www.lukas-renggli.ch" target="_top" rel="nofollow" link="external">http://www.lukas-renggli.ch</a><br/>
tag:forum.world.st,2006:post-134870Fwd: Creating services2006-01-22T05:24:18Z2006-01-22T05:24:18Zstéphane ducasse-2
Romain was checking services and apparently we have to take into
<br/>account a change between 6706 and 6713
<br/><br/><div class='shrinkable-quote'><br/>> While checking this procedure, I actually found that there is a
<br/>> difference of behavior between version 6706 and version 6713
<br/>> of squeak preventing this to work: Object>>#perform:orSendTo: has
<br/>> been modified between the two version.
<br/>>
<br/>> The bottomline is that the following method should be added:
<br/>>
<br/>> ServiceAction >> perform: selector orSendTo: otherTarget
<br/>> ^ self perform: selector
<br/>>
<br/>>
<br/>> Stef, could you put that in the update stream?
<br/>>
<br/>> Diego, feel free to ask further question if you need to.
<br/>>
<br/>> Romain
</div><br/>
tag:forum.world.st,2006:post-134882Fwd: may need another fix in 3.92006-01-24T05:46:09Z2006-01-24T05:46:09Zstéphane ducasse-2
<br/><br/>Begin forwarded message:
<br/><div class='shrinkable-quote'><br/>> From: Chris Muller <<a href="/user/SendEmail.jtp?type=node&node=134882&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>>
<br/>> Date: 23 janvier 2006 19:30:25 HNEC
<br/>> To: "stéphane" ducasse <<a href="/user/SendEmail.jtp?type=node&node=134882&i=1" target="_top" rel="nofollow" link="external">[hidden email]</a>>
<br/>> Subject: may need another fix in 3.9
<br/>> Reply-To: <a href="/user/SendEmail.jtp?type=node&node=134882&i=2" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br/>>
<br/>> Hi Stéphane, I just discovered that SmartRefStream
<br/>> cannot seem to serialize objects to a ByteArray, only
<br/>> a file. The problem appears to be related to the
<br/>> RWBinaryOrTextStream not having a default 'type' or
<br/>> something.
<br/>>
<br/>> I must do more research and work on a fix and submit
<br/>> it all to Mantis next week. But can you tell me what
<br/>> kind of time-frame I have available for this before
<br/>> 3.9 is locked down? The important thing for me is I
<br/>> would like KryptOn to be able to be usable directly in
<br/>> 3.9 without having to load a patch first, to have this
<br/>> I must be able to serialize an object to a ByteArray
<br/>> in memory..
<br/>>
<br/>> Thanks,
<br/>> Chris
</div><br/>
tag:forum.world.st,2006:post-134883Fwd: Creating services2006-01-24T03:23:31Z2006-01-24T03:23:31Zstéphane ducasse-2
<br/><br/>Begin forwarded message:
<br/><div class='shrinkable-quote'><br/>> From: Diego Fernandez <<a href="/user/SendEmail.jtp?type=node&node=134883&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>>
<br/>> Date: 24 janvier 2006 04:24:39 HNEC
<br/>> To: stéphane ducasse <<a href="/user/SendEmail.jtp?type=node&node=134883&i=1" target="_top" rel="nofollow" link="external">[hidden email]</a>>
<br/>> Cc: Romain Robbes <<a href="/user/SendEmail.jtp?type=node&node=134883&i=2" target="_top" rel="nofollow" link="external">[hidden email]</a>>
<br/>> Subject: Re: Creating services
<br/>>
<br/>> Hi Steph, Romain,
<br/>> I have loaded the latest Squeak image -6718, hey you are working
<br/>> hard! each time that I check the list there are 2 new versions :).
<br/>> In my previous image version (6716) I have loaded 'Services-all'
<br/>> and dependencies (and made a couple of patches to make it work), I
<br/>> know that this in development... and maybe that's why I get so
<br/>> frustrated in dealing with those arrays of symbols :P.
<br/>>
<br/>> This version is much more polished :)
<br/>>
<br/>> I cannot found "Create new service" option, so I create the new
<br/>> service evaluating:
<br/>> BrowserProvider newServiceFor: 'AutomaticMethodCategorizer-Services'
<br/>>
<br/>> Then I have created the following methods:
<br/>>
<br/>> AutomaticMethodCategorizerServicesServiceProvider>>browserMethodCatego
<br/>> ryMenuItems {saved preferences}
<br/>> ^ #(#'Items in browserMethodCategoryMenu:' #autocategorize 1 )
<br/>>
<br/>> AutomaticMethodCategorizerServicesServiceProvider>>autocategorize
<br/>> {services}
<br/>> ^ServiceAction
<br/>> text: 'SERVICE TEST'
<br/>> button: 'SERVICE TEST'
<br/>> description: 'first service' action: [Transcript cr; show:
<br/>> 'It worked :)'].
<br/>>
<br/>> And do a "Rebuild service registry"
<br/>>
<br/>> But I can't see the options in the menu. I know that I'm missing
<br/>> something
<br/>> Thanks in advance for the help!
<br/>>
<br/>> An small comment about "saved preferences", if its possible avoid
<br/>> the use of those arrays of symbols, they makes the code more
<br/>> difficult to understand (and refactor). For example if the saved
<br/>> preference is refied you could do something like this:
<br/>>
<br/>> AutomaticMethodCategorizerServicesServiceProvider>>browserMethodCatego
<br/>> ryMenuItems {saved preferences}
<br/>> ^SavedServicePreference named: 'Items in
<br/>> browserMethodCategoryMenu:'
<br/>> service: self autocategorize
<br/>> priority: 1
<br/>>
<br/>> An then #replayPreferences becomes very simple, for example:
<br/>> replayPreferences
<br/>> self savedPreferences applyTo: ServicePreferences
<br/>>
<br/>> SavedServicePreferences>>applyTo: aServicePreferences
<br/>> preferences do: [:each | each applyTo: aServicePreferences ]
<br/>>
<br/>> SavedServicePreference>>applyTo: aServicePreferences
<br/>> aServicePreferences setPreference: self name toValue: self value
<br/>>
<br/>> (the order of the preferences could be responsibility of
<br/>> "SavedServicePreferences"... mmm the name that I choose in the
<br/>> example "Saved.." is not a good one)
<br/>>
<br/>> Thanks for the patience
<br/>> Diego.-
<br/>>
<br/>>
<br/>> On 1/22/06, stéphane ducasse <<a href="/user/SendEmail.jtp?type=node&node=134883&i=3" target="_top" rel="nofollow" link="external">[hidden email]</a>> wrote: romain
<br/>>
<br/>> it would be good if you can also describe in class comment how to
<br/>> define services programmatically.
<br/>>
<br/>>
<br/>> On 22 janv. 06, at 12:33, Romain Robbes wrote:
<br/>>
<br/>> > Hi Diego,
<br/>> >
<br/>> > The latest version of services (which is in 3.9) functions
<br/>> a bit
<br/>> > differently. I tried to simplify the process as much as I could.
<br/>> >
<br/>> > You first have to open a browser and select a method in your
<br/>> > package. Then you should pop up the method menu in the
<br/>> > browser, and select the 'Create new service' item. This
<br/>> tells the
<br/>> > framework to find the service provider class for your package
<br/>> > (creating it if there isn't any), and then asks you for the
<br/>> > identifier of the service, which will also be the name of the method
<br/>> > in which it is implemented. Then it will compile an initial
<br/>> > version of the service-producing method, that you can fill with
<br/>> > the description of your item and the actual action it
<br/>> should perform.
<br/>> >
<br/>> > To plug it in the browser, you should open the services
<br/>> browser
<br/>> > (which is located in the world menu).
<br/>> > There you should find the category of items in which you
<br/>> want to
<br/>> > put your service in (browserMethodMenu,
<br/>> > browserClassCategoryMenu, if you want to have it in the
<br/>> browser).
<br/>> > You just have to insert the identifier of the service
<br/>> > you created in the space-separated list of names you will
<br/>> find here.
<br/>> >
<br/>> > If you want to create several services, you may want to
<br/>> create a
<br/>> > submenu of all of them. To do this, create a ServiceCategory
<br/>> > object in your service provider (it is the same procedure
<br/>> than for
<br/>> > services, except you need a ServiceCategory object,
<br/>> > not a ServiceAction). Then put this service category in the
<br/>> menu
<br/>> > you want to insert your items in, and put you items in
<br/>> > this category instead.
<br/>> >
<br/>> >
<br/>> > While checking this procedure, I actually found that there
<br/>> is a
<br/>> > difference of behavior between version 6706 and version 6713
<br/>> > of squeak preventing this to work:
<br/>> Object>>#perform:orSendTo: has
<br/>> > been modified between the two version.
<br/>> >
<br/>> > The bottomline is that the following method should be added:
<br/>> >
<br/>> > ServiceAction >> perform: selector orSendTo: otherTarget
<br/>> > ^ self perform: selector
<br/>> >
<br/>> >
<br/>> > Stef, could you put that in the update stream?
<br/>> >
<br/>> > Diego, feel free to ask further question if you need to.
<br/>> >
<br/>> > Romain
<br/>> >
<br/>> >
<br/>> > Il giorno Jan 21, 2006, alle ore 8:21 PM, stéphane ducasse ha
<br/>> scritto:
<br/>> >
<br/>> >> Hi diego
<br/>> >>
<br/>> >> I have been discussing with lukas and we would love to have the
<br/>> >> possibility to auto categorise the categories in Browsers and in
<br/>> >> particular OmniBrowser. So keep doing your work, I would really
<br/>> >> like to include it in the 3.9 full.
<br/>> >>
<br/>> >>> I'm trying to do tools to simplify testing and check "quality" of
<br/>> >>> packages before saving them (thanks Steph and Lucas your
<br/>> >>> recommendations on how to do code coverage save me a lot of work).
<br/>> >>> I want to do some simple services:
<br/>> >>> - a menu option to run unit tests of a category
<br/>> >>> - a menu option to browse unit test/tested class
<br/>> >>> - a menu option to auto categorize uncategorized method (so
<br/>> >>> the AutomaticMethodCategorizer doesn't have to overwrite the
<br/>> >>> Browser class)
<br/>> >>>
<br/>> >>> And I trying to figure out how to make a new "service", but I
<br/>> >>> can't figure out what is the correct way to do that.
<br/>> >>>
<br/>> >>> I must create a subclass of ServiceProvider and implement
<br/>> >>> #providedCategories?
<br/>> >>
<br/>> >> I do not think so. Your services can be defined as extension of
<br/>> >> BrowserProvider (may be I'm wrong).
<br/>> >> Look at ServiceAction comment (it is a bit obsolete). Romain do
<br/>> >> you have a more up to date version.
<br/>> >>
<br/>> >>
<br/>> >>> If this is the case, what is the meaning of the symbol array of
<br/>> >>> arrays returned by this method?
<br/>> >>>
<br/>> >>> small critic/question follows:
<br/>> >>> Why #providedCategories returns an array of symbols and not an
<br/>> >>> object that reifies the provided categories?
<br/>> >>
<br/>> >> Stef
<br/>> >>
<br/>> >
<br/>> > --
<br/>> > Romain Robbes
<br/>> > <a href="http://www.inf.unisi.ch/~robbes/" target="_top" rel="nofollow" link="external">http://www.inf.unisi.ch/~robbes/</a><br/>> >
<br/>> >
<br/>> >
<br/>>
<br/>>
</div><br/>