-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1 Hi, Though I've followed the instruction in wiki (http://wiki.squeak.org/squeak/607), it does not work well. Biggest problem is that assign.frame: assign.form: like messages does not work. Can anyone help me? Thanks in advance. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGIgqKQqspS1+XJHgRAiPFAJsHchgaEBNQLsS3+zfP1Qtx+jINXACfaqw7 APupw2j12V6WhuxXat+vwf8= =CUtO -----END PGP SIGNATURE----- |
On Sun, Apr 15, 2007 at 08:20:43PM +0900, Sungjin Chun wrote:
> Though I've followed the instruction in wiki > (http://wiki.squeak.org/squeak/607), it does not work well. Biggest > problem is that assign.frame: assign.form: like messages does not work. > Can anyone help me? I am responsible for the ThingLab in SqueakSource. What Squeak Image are you using? I have only tested ThingLab with Squeak 3.8 images. I have no idea what you mean by assign.frame: and assign.form: messages. can you elaborate? Also, I have not examined it yet, but Cassowary may be a better ThingLab. The only way I know of to install it is through Universes in the 3.10 alpha image, but it may work in older images too. -- Matthew Fulmer -- http://mtfulmer.wordpress.com/ Help improve Squeak Documentation: http://wiki.squeak.org/squeak/808 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1 Matthew Fulmer wrote: > I am responsible for the ThingLab in SqueakSource. What Squeak > Image are you using? I have only tested ThingLab with Squeak 3.8 > images. I'm using MVC only image which derived from 3.8.1 image. > > I have no idea what you mean by assign.frame: and assign.form: > messages. can you elaborate? The problem is that my image has problem with compiling assign.frame: like method, there seems that supporting facilities from you changeset posted in wiki but from my quick debugging session, it cannot get fields(arguments) of given selector. (Sorry for my poor english). For example, during compiling of "assign.point: (Point x: 1 y: 2)" the compiling logic can find the selector name correctly ("assign.point:") but cannot find its field(argument, Point instance). > > Also, I have not examined it yet, but Cassowary may be a better > ThingLab. The only way I know of to install it is through > Universes in the 3.10 alpha image, but it may work in older > images too. > Does it work well with MVC only image? And is it improved version of ThingLab or so? I tried ThingLab for demonstration of Smalltalk-80. Thanks. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGIqQHQqspS1+XJHgRAsB7AJ0d2r6Z3wTq0ntMRnLue2T1CNxLCwCgtTzy exgm00x3/F3VNnYjw21sf2A= =y+/e -----END PGP SIGNATURE----- |
On Mon, Apr 16, 2007 at 07:15:35AM +0900, Sungjin Chun wrote:
> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Matthew Fulmer wrote: > > > I am responsible for the ThingLab in SqueakSource. What Squeak > > Image are you using? I have only tested ThingLab with Squeak 3.8 > > images. > > I'm using MVC only image which derived from 3.8.1 image. > > > > > I have no idea what you mean by assign.frame: and assign.form: > > messages. can you elaborate? > > The problem is that my image has problem with compiling assign.frame: > like method, there seems that supporting facilities from you changeset > posted in wiki but from my quick debugging session, it cannot get > fields(arguments) of given selector. (Sorry for my poor english). For > example, during compiling of "assign.point: (Point x: 1 y: 2)" the > compiling logic can find the selector name correctly ("assign.point:") > but cannot find its field(argument, Point instance). selectors should not have periods in their name. is assign an object name, and point: a method? if so, perhaps you are trying to do: assign point: 1@2 or is assign.point: the name of a message you made up? I have no idea what assign.point: is, or what it has to do with ThingLab. Indeed, it is not even valid Smalltalk syntax. You may also be trying to write an accessor method, one that sets the 'point' instance variable of your object. if so, rename it to simply point: and it should work ThingLab does use selectors with periods in their names behind the scenes, but none of those are built in the browser; it only uses those for auto-generated intermediate methods used in the incremental constraint solver. It is quite an egregious violation of Smalltalk syntax, so don't expect any tool support. A serious update of ThingLab would require selectors-with-periods to be removed. > > Also, I have not examined it yet, but Cassowary may be a better > > ThingLab. The only way I know of to install it is through > > Universes in the 3.10 alpha image, but it may work in older > > images too. > > > > Does it work well with MVC only image? And is it improved version of > ThingLab or so? I tried ThingLab for demonstration of Smalltalk-80. It is a completely different system, written simultaneously for C, Java, Python, and Smalltalk: http://www.cs.washington.edu/research/constraints/cassowary/ It was ported to Squeak later. I don't know whether it is for MVC, Morphic, or non-graphic, as I have never yet tried it. -- Matthew Fulmer -- http://mtfulmer.wordpress.com/ Help improve Squeak Documentation: http://wiki.squeak.org/squeak/808 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1 Matthew Fulmer wrote: > > selectors should not have periods in their name. is assign an > object name, and point: a method? if so, perhaps you are trying > to do: > > assign point: 1@2 > > or is assign.point: the name of a message you made up? I have no > idea what assign.point: is, or what it has to do with ThingLab. > Indeed, it is not even valid Smalltalk syntax. > > You may also be trying to write an accessor method, one that > sets the 'point' instance variable of your object. if so, rename > it to simply point: and it should work It seems that assign.point: thing is related to accessor method point: but if I have to create it everytime ThingLab is very hard to use one. Instead, I fixed(patched) following !Object methodsFor: '*ThingLab-message handling' stamp: 'NeXT 4/16/2007 08:12' prior: 33693109! getFieldsForKeywordSelector: sel "sel should be of the form part1.subpart: part2.subpart.subsubpart: part3: check that I have subparts of the appropriate names. If so, return a collection of arrays of Fields matching the keywords in sel; otherwise return nil" | fields arrayOfFields | arrayOfFields _ OrderedCollection new. sel keywords do: [:k | k size == 0 ifTrue: [ fields _ nil ] ifFalse: [ fields _ self getFieldsForPath: k pathFromDottedSelector.]. fields isNil ifTrue: [^nil] ifFalse: [arrayOfFields add: fields]]. ^arrayOfFields! ! (Sorry for bad indentation, I don't know why) The problem I tried to fix is that sel keywords does have '' as its last element which causes error. So, I ignore it. :-) With above patch it seems that ThingLab does work. Thanks. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGIrN0QqspS1+XJHgRAr1IAJ433oUhlIwE4g0H38sPcXQVe/xJeQCcCYH9 bhVYMifuuESbMYPVf0rdhPE= =ciRs -----END PGP SIGNATURE----- |
On Mon, Apr 16, 2007 at 08:21:24AM +0900, Sungjin Chun wrote:
> It seems that assign.point: thing is related to accessor method point: > but if I have to create it everytime ThingLab is very hard to use one. > Instead, I fixed(patched) following > > <snip> > > With above patch it seems that ThingLab does work. You seem to understand ThingLab better than I do. I opened up the repository for global write access. Please commit your patch. Thanks a lot. -- Matthew Fulmer -- http://mtfulmer.wordpress.com/ Help improve Squeak Documentation: http://wiki.squeak.org/squeak/808 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1 Matthew Fulmer wrote: > You seem to understand ThingLab better than I do. I opened up > the repository for global write access. Please commit your > patch. Thanks a lot. > Thanks, but I do not know how to use repository or others and worse, my MVC only image does not have monticello(right?) support. (But if anyone can help me, I can do it after I might managed to install monticello to my own MVC-only image). Also, for the patch, the real problem, it seems that "sel keywords", that is, keywords method is the main source of the problem. I don't know why it does return array with empty last element, but for me, it seems wrong. Who does know well on this selector would better investigate. Thanks. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGI2FOQqspS1+XJHgRAi9oAJ4kdzdqc5wnUs3VUFPDUx/xinqaCwCfYdad UFaF2KLqfX6hD/wnX1znRxE= =+oHR -----END PGP SIGNATURE----- |
In reply to this post by Tapple Gao
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1 Matthew Fulmer wrote: > > You seem to understand ThingLab better than I do. I opened up > the repository for global write access. Please commit your > patch. Thanks a lot. > OOPS, I missed this; whether I can use repository or not, I will send my "fix" or "patched" I've found to this mailing list. Bye. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGI2GvQqspS1+XJHgRAsv1AJ9L//iVTS7Eboh24WvEN0xtrriY+QCguSx4 PyxjAVLNzhgSJxqdZ2pU72A= =nl4Y -----END PGP SIGNATURE----- |
In reply to this post by Chun, Sungjin
Sungjin Chun wrote:
> Thanks, but I do not know how to use repository or others and worse, my > MVC only image does not have monticello(right?) support. (But if anyone > can help me, I can do it after I might managed to install monticello to > my own MVC-only image). > Although it will not help you to post updates to the monticello repository from your MVC only image. You could use "Installer" as a front end to search and load packages from SqueakMap and Monticello, even though you lack a full UI. Installer can be bootstrapped from http://installer.pbwiki.com/f/Installer.st For detailed usage examples, see the class comment. regards Keith |
In reply to this post by Chun, Sungjin
On Mon, Apr 16, 2007 at 08:43:10PM +0900, Sungjin Chun wrote:
> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Matthew Fulmer wrote: > > You seem to understand ThingLab better than I do. I opened up > > the repository for global write access. Please commit your > > patch. Thanks a lot. > > > > Thanks, but I do not know how to use repository or others and worse, my > MVC only image does not have monticello(right?) support. (But if anyone > can help me, I can do it after I might managed to install monticello to > my own MVC-only image). How did you install the SqueakSource package without Monticello? If you are in a regular 3.8 image, you can open Monticello in MVC by doing: - World Menu > open... > Morphic World - Within the Morphic world, do - World Menu > open... > Monticello Browser or, you can escape back to the top-level Morphic project by doing World Menu > previous project > Also, for the patch, the real problem, it seems that "sel keywords", > that is, keywords method is the main source of the problem. I don't know > why it does return array with empty last element, but for me, it seems > wrong. Who does know well on this selector would better investigate. I have no idea what you are trying to do, what you have done, or how to test for or reproduce the problem you are having. Please say what you are doing; perhaps then I will be able to reproduce this problem. -- Matthew Fulmer -- http://mtfulmer.wordpress.com/ Help improve Squeak Documentation: http://wiki.squeak.org/squeak/808 |
In reply to this post by keith1y
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1 Keith Hodges wrote: > Although it will not help you to post updates to the monticello > repository from your MVC only image. You could use "Installer" as a > front end to search and load packages from SqueakMap and Monticello, > even though you lack a full UI. > > Installer can be bootstrapped from > http://installer.pbwiki.com/f/Installer.st > > For detailed usage examples, see the class comment. > > regards > > Keith > Wow, Thank you very much, this is what I'm looking for. I'll try this and if there's problem, I'll ask :-) Thanks again. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGJCEnQqspS1+XJHgRAhP7AJ9Oap1ge7oO4YkyD5RpVLQbm8lKDgCguJeP /rINAL6W002Fz5EidGGlY2s= =0908 -----END PGP SIGNATURE----- |
In reply to this post by Tapple Gao
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1 Matthew Fulmer wrote: > How did you install the SqueakSource package without Monticello? I've download the package(and it is simple zip file as you know) and unpack it and open it with code-file browser and edit something if required then just "file-in". > > I have no idea what you are trying to do, what you have done, or > how to test for or reproduce the problem you are having. Please > say what you are doing; perhaps then I will be able to reproduce > this problem. > What I just do is following instruction on wiki. The problem occurs when I "filed in" postscript change set. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGJCImQqspS1+XJHgRAqmaAKDUaB8Ki1IfWtt4Exe6ZF2yOydNbgCg4mS1 HDOIW2LDgsUYHM5JO3jlvMI= =Qpo+ -----END PGP SIGNATURE----- |
In reply to this post by Chun, Sungjin
Sungjin Chun,
While I am telling you about tools which dont require a UI. The version of SUnit in http://www.squeaksource.com/Testing Contains a class TestReporter which runs test cases and outputs the failures/errors to files in a directory 'tests'. e.g. TestReporter new runCategories: #( 'Rio-*' ). <print-it> The results file can be filed in, or for debugging, viewed in a FileList and you can 'doit' individual failures. SSpec, (also available in the above repository) is another Testing/Specifying framework which has a non GUI TextRunner best regards Keith > Keith Hodges wrote: > Although it will not help you to post updates to the monticello > repository from your MVC only image. You could use "Installer" as a > front end to search and load packages from SqueakMap and Monticello, > even though you lack a full UI. > > Installer can be bootstrapped from > http://installer.pbwiki.com/f/Installer.st > > For detailed usage examples, see the class comment. > > regards > > Keith > > > > Wow, Thank you very much, this is what I'm looking for. I'll try this > and if there's problem, I'll ask |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1 Keith Hodges wrote: > Sungjin Chun, > > While I am telling you about tools which dont require a UI. > > The version of SUnit in http://www.squeaksource.com/Testing > > Contains a class TestReporter which runs test cases and outputs the > failures/errors to files in a directory 'tests'. > > e.g. TestReporter new runCategories: #( 'Rio-*' ). <print-it> > > The results file can be filed in, or for debugging, viewed in a FileList > and you can 'doit' individual failures. > > SSpec, (also available in the above repository) is another > Testing/Specifying framework which has a non GUI TextRunner > > best regards Thank you. I've used my own TestRunner(built with MVC, in fact, this is just patched version of original, old MVC TestRunner). But I've always want some kind of batch runner like which you let me know. Thanks again. Bye. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGJHZZQqspS1+XJHgRAit9AKCweKgInJU6Vo3I1ONmVMKaMkr5QACgq8vq YekPfpSXpLk9Iv2YMpcSuWY= =WOfE -----END PGP SIGNATURE----- |
In reply to this post by keith1y
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1 Keith Hodges wrote: > Sungjin Chun, > > While I am telling you about tools which dont require a UI. > > The version of SUnit in http://www.squeaksource.com/Testing > OOPS!, I missed my question, which version/package should I try? Thanks in advance. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGJHcWQqspS1+XJHgRArZyAJ0RwWZOQmFZolOdBAO5anFrNqfWuACcCVOp 86fTlG8qc/RAE1w0ks7ckJU= =nAv9 -----END PGP SIGNATURE----- |
>
>> The version of SUnit in http://www.squeaksource.com/Testing >> >> > OOPS!, I missed my question, which version/package should I try? > The basic improvements and the TestReporter are available in the latest Package 'SUnit-kph-*.mcz', in http://www.squeaksource.com/Testing Keith |
Free forum by Nabble | Edit this page |