From ume at blueplane.jp Thu Sep 3 21:27:02 2015 From: ume at blueplane.jp (Masashi UMEZAWA) Date: Fri, 4 Sep 2015 11:27:02 +0900 Subject: [Cuis] Wrapper for file access in different Smalltalk dialects In-Reply-To: <55E45486.30506@jvuletich.org> References: <20140501080531.493624077a7c3f67688650f9@whidbey.com> <555A8705.5080502@jvuletich.org> <5573BD8C.4010008@jvuletich.org> <55B64713.8040806@jvuletich.org> <55D5DDC4.9030101@jvuletich.org> <55DB1F56.608@jvuletich.org> <55E45486.30506@jvuletich.org> Message-ID: Hi Juan, I've updated Cuis-Smalltalk-FileMan repository. https://github.com/mumez/Cuis-Smalltalk-FileMan I've added FmFileEntry>>tryReadStream, tryWriteStream, readStreamIfError:, writeStreamIfError: and unit tests for them. All tests were green on Windows. Please check. Best regards, 2015-08-31 22:20 GMT+09:00 Juan Vuletich : > Hi Masashi, > > Looks great to me. Please let us know when you update > https://github.com/mumez/FileMan (or > https://github.com/mumez/Cuis-Smalltalk-FileMan ), so we follow. Or post > code to the mail list. As you prefer. > > Thanks! > Juan Vuletich > > > On 8/27/2015 12:24 PM, Masashi UMEZAWA wrote: >> >> Hi Juan, >> >> How about adding #tryWriteStream and #tryWriteStreamIfError: for >> consistency. >> Currently FmFileEntry has #writeStreamConfirming, but it is a bit >> ad-hoc. It can be renamed to #tryWriteStream. >> >> So we can write: >> >> [ writeStream := 'foo.txt' asFileEntry tryWriteStream ] on: >> FmFileIOAccessor fileExistsException do: [:ex | ]. >> >> writeStream := 'foo.txt' asFileEntry tryWriteStreamIfError: [:ex | ]. >> >> Best regards, >> >> 2015-08-24 22:42 GMT+09:00 Juan Vuletich: >>> >>> Hi Masashi, >>> >>> Ok. #tryReadStream is reasonable. Or maybe #readStreamOrFail. >>> >>> Any other suggestion? Preferences? >>> >>> Thanks, >>> Juan Vuletich >>> >>> >>> On 8/22/2015 10:15 AM, Masashi UMEZAWA wrote: >>>> >>>> Hi Juan, >>>> >>>> Yes, I'm concerning about backward-compatibility. >>>> FmFileEntry>>#readStream has been used long. So I would prefer just >>>> adding new APIs. >>>> >>>> Best regards, >>>> >>>>> I guess I would prefer #readStream for the basic, raising exceptions >>>>> api, >>>>> and maybe #readStreamNoFail or #readStreamOrEmpty or such for the >>>>> "exception >>>>> eating api" . In any case it is your call, I understand there is back >>>>> compatibility to care about, and I'll be happy with your choice. >>>>> >>>>> Cheers, >>>>> Juan Vuletich >>>>> >>>>> >>>>>> 2015-07-27 23:58 GMT+09:00 Juan Vuletich: >>>>>>> >>>>>>> Hi Masashi, >>>>>>> >>>>>>> Recently we found that in FileMan, if we do >>>>>>> >>>>>>> 'inexistentFile' asFileEntry readStream >>>>>>> >>>>>>> we get an empty readStream. >>>>>>> >>>>>>> I think it is better to throw the #fileDoesNotExistException , as >>>>>>> FileDirectory did, and let the user handle the exception >>>>>>> appropriately. >>>>>>> But >>>>>>> I would not want to break compatibility with FileMan, as the main >>>>>>> purpose >>>>>>> of >>>>>>> FileMan is to give compatibility amongst dialects. >>>>>>> >>>>>>> Are there good reasons to avoid the exception? Should we add another >>>>>>> method, >>>>>>> besides #readStream when we want a readStream strictly on existing >>>>>>> file >>>>>>> contents? >>>>>>> >>>>>>> Thanks, >>>>>>> Juan Vuletich >>>>>>> >>>>>>> >>>>>>> >>>>>>> On 6/14/2015 8:38 AM, Masashi UMEZAWA wrote: >>>>>>>> >>>>>>>> Hello Juan, >>>>>>>> >>>>>>>> Thank you for the patches and more tests! I'll adapt those updates >>>>>>>> for >>>>>>>> other FileMan ports. >>>>>>>> >>>>>>>> Best regards, >>>>>>>> >>>>>>>> 2015-06-07 12:42 GMT+09:00 Juan Vuletich: >>>>>>>>> >>>>>>>>> Hi Masashi, >>>>>>>>> >>>>>>>>> I was trying FileMan tests today and I saw they create some folders >>>>>>>>> in >>>>>>>>> my >>>>>>>>> drive. The names looked a bit strange, so I took a closer look and >>>>>>>>> found >>>>>>>>> a >>>>>>>>> couple of bugs. At least on Windows, #testRecursiveDelete instead >>>>>>>>> of >>>>>>>>> creating >>>>>>>>> subDir/aaa/bbb/ccc/ddd/eee/fff/ggg/test1 >>>>>>>>> it created >>>>>>>>> subDir/bbb/ccc/eee/ggg/test! >>>>>>>>> >>>>>>>>> So I wrote a few more tests on the issues I saw, and teaked the >>>>>>>>> code >>>>>>>>> to >>>>>>>>> make >>>>>>>>> them pass. The result is attached, and I think is useful for all >>>>>>>>> ports >>>>>>>>> of >>>>>>>>> FileMan. >>>>>>>>> >>>>>>>>> Thanks, >>>>>>>>> Juan Vuletich >>>>>>>>> >>>>>>>>> On 5/26/2015 11:34 PM, Masashi UMEZAWA wrote: >>>>>>>>>> >>>>>>>>>> Hi all, >>>>>>>>>> >>>>>>>>>> I think it is nice if FileMan is on the core package repository. >>>>>>>>>> >>>>>>>>>> FileMan for Cuis (and Squeak) has minimum dependencies to the >>>>>>>>>> existing >>>>>>>>>> FileDirectory and DirectoryEntry. FileMan selectively uses a few >>>>>>>>>> methods of them. >>>>>>>>>> >>>>>>>>>> So we can gradually adopt FileMan interfaces and trim the >>>>>>>>>> FileDirectory and DirectoryEntry's non-intuitive methods. >>>>>>>>>> >>>>>>>>>> Another way of cleaning-up the file-related classes is to port >>>>>>>>>> FileSystems to Cuis. >>>>>>>>>> But since Cuis is a lightweight Smalltalk dialect, FileSystems >>>>>>>>>> might >>>>>>>>>> be an overkill. >>>>>>>>>> >>>>>>>>>> Best regards, >>>>>>>>>> >>>>>>>>>> 2015-05-19 9:42 GMT+09:00 Juan Vuletich: >>>>>>>>>>> >>>>>>>>>>> Hi Folks, >>>>>>>>>>> >>>>>>>>>>> I apologize for talking before taking even a quick look, but >>>>>>>>>>> anyway, >>>>>>>>>>> We'd >>>>>>>>>>> take a good look at this. And seriously consider replacing files >>>>>>>>>>> stuff >>>>>>>>>>> in >>>>>>>>>>> Cuis base. Or at least adopting it as a core package in our repo. >>>>>>>>>>> >>>>>>>>>>> Thoughts? >>>>>>>>>>> >>>>>>>>>>> Masashi-san: opinions? >>>>>>>>>>> >>>>>>>>>>> Thanks, >>>>>>>>>>> Juan Vuletich >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> On 5/17/2015 12:07 PM, H. Hirzel wrote: >>>>>>>>>>>> >>>>>>>>>>>> Below are the comments from the FileMan package. >>>>>>>>>>>> >>>>>>>>>>>> Question: How do you compare the FileMan package to the >>>>>>>>>>>> FileSystem >>>>>>>>>>>> package in Pharo? >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> https://github.com/mumez/Cuis-Smalltalk-FileMan/blob/master/FileMan-Core.pck.st#L45 >>>>>>>>>>>> I represent a single file entry (including directory). >>>>>>>>>>>> You can write data by #fileContents: , and read the data by >>>>>>>>>>>> #fileContents. >>>>>>>>>>>> --- >>>>>>>>>>>> mu 11/6/2006 20:21! >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> https://github.com/mumez/Cuis-Smalltalk-FileMan/blob/master/FileMan-Core.pck.st#L53 >>>>>>>>>>>> I represent a single file directory. >>>>>>>>>>>> I implement various directory specific behaviors. >>>>>>>>>>>> You can write data by #at:put: , and read the data by #at:. >>>>>>>>>>>> --- >>>>>>>>>>>> mu 11/6/2006 20:21 >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> https://github.com/mumez/Cuis-Smalltalk-FileMan/blob/master/FileMan-Core.pck.st#L63 >>>>>>>>>>>> !FmFileIOAccessor commentStamp: '' prior: 0! >>>>>>>>>>>> I am an accessor to the low level file IO. >>>>>>>>>>>> You can extend/rewrite me if you port FileMan to other Smalltalk >>>>>>>>>>>> dialects. >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> https://github.com/mumez/Cuis-Smalltalk-FileMan/blob/master/FileMan-Example.pck.st#L44 >>>>>>>>>>>> !FmBackupDirectoryEntry commentStamp: 'mu 5/4/2007 23:26' prior: >>>>>>>>>>>> 0! >>>>>>>>>>>> This is a simple example for adding special behaviors to >>>>>>>>>>>> FmDirectoryEntry. >>>>>>>>>>>> I backup file contents automatically, while users are not >>>>>>>>>>>> conscious >>>>>>>>>>>> about >>>>>>>>>>>> that. >>>>>>>>>>>> Usage: >>>>>>>>>>>> dir := './withBackup' asDirectoryEntry: FmBackupDirectoryEntry. >>>>>>>>>>>> dir at: 'text' put: 'abc'. >>>>>>>>>>>> dir at: 'text' put: 'def'. >>>>>>>>>>>> (dir at: 'text') inspect. "def" >>>>>>>>>>>> (dir backupAt: 'text') inspect. "abc" >>>>>>>>>>>> ((dir / 'sub') at: 'text2' put: '123'). >>>>>>>>>>>> ((dir / 'sub') at: 'text2' put: '456'). >>>>>>>>>>>> ((dir / 'sub') at: 'text2') inspect. "456" >>>>>>>>>>>> ((dir / 'sub') backupAt: 'text2') inspect. "123" >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> https://github.com/mumez/Cuis-Smalltalk-FileMan/blob/master/FileMan-Example.pck.st#L63 >>>>>>>>>>>> This is a simple example for adding special behaviors to >>>>>>>>>>>> FmDirectoryEntry. >>>>>>>>>>>> I put and get file contents as gzipped, while users are not >>>>>>>>>>>> conscious >>>>>>>>>>>> about that. >>>>>>>>>>>> Usage: >>>>>>>>>>>> | dir | >>>>>>>>>>>> dir := './gzipped2' asDirectoryEntry: FmGZipDirectoryEntry. >>>>>>>>>>>> dir binaryAt: 'bin' put: #(1 2 3 12 34 56) asByteArray. >>>>>>>>>>>> (dir binaryAt: 'bin') inspect. >>>>>>>>>>>> dir at: 'text' put: 'This will be gzipped'. >>>>>>>>>>>> (dir at: 'text') inspect. >>>>>>>>>>>> I would be useful for storing/loading big contents in a simple >>>>>>>>>>>> dictionary-like manner. >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> On 5/17/15, H. Hirzel wrote: >>>>>>>>>>>>> >>>>>>>>>>>>> Hello Masashi-san >>>>>>>>>>>>> >>>>>>>>>>>>> I'd like to come back to your FileMan package >>>>>>>>>>>>> >>>>>>>>>>>>> https://github.com/mumez/Cuis-Smalltalk-FileMan >>>>>>>>>>>>> >>>>>>>>>>>>> and ask a question. >>>>>>>>>>>>> >>>>>>>>>>>>> Is this package a port from somewhere or did you write it from >>>>>>>>>>>>> scratch? >>>>>>>>>>>>> >>>>>>>>>>>>> Some background information is appreciated. >>>>>>>>>>>>> >>>>>>>>>>>>> There is no description >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> https://github.com/mumez/Cuis-Smalltalk-FileMan/blob/master/FileMan-Example.pck.st#L2 >>>>>>>>>>>>> >>>>>>>>>>>>> Thank you in advance >>>>>>>>>>>>> >>>>>>>>>>>>> Hannes Hirzel >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> On 5/2/14, Masashi UMEZAWA wrote: >>>>>>>>>>>>>> >>>>>>>>>>>>>> Hi all, >>>>>>>>>>>>>> >>>>>>>>>>>>>> Thank you for the kind words. I've just started Cuis on March, >>>>>>>>>>>>>> and >>>>>>>>>>>>>> I >>>>>>>>>>>>>> was impressed with its cleanness, simplicity, etc. >>>>>>>>>>>>>> So I did a introductory presentation at Tokyo Smalltalkers >>>>>>>>>>>>>> meeting. >>>>>>>>>>>>>> It >>>>>>>>>>>>>> was successful. >>>>>>>>>>>>>> Now I'm planning to port Folktale (telnet-base object shell), >>>>>>>>>>>>>> and >>>>>>>>>>>>>> SIXX >>>>>>>>>>>>>> to Cuis. My pace maybe slow, but please stay tuned. ;) >>>>>>>>>>>>>> >>>>>>>>>>>>>> Best regards, >>>>>>>>>>>>>> >>>>>>>>>>>>>> 2014-05-02 1:05 GMT+09:00 Germ?n Arduino: >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> Wow, I was completely unaware of Masashi working in Cuis! >>>>>>>>>>>>>>> Welcome >>>>>>>>>>>>>>> aboard!! >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> 2014-05-01 12:19 GMT-03:00 H. >>>>>>>>>>>>>>> Hirzel: >>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> Thank you for the link to Masashi Umezawa's presentation. >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> It is from 2014 and talks about >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> - the number of classes compared to Squeak and Pharo >>>>>>>>>>>>>>>> - the size of Morphic -- Morph allSelectors size "=> >>>>>>>>>>>>>>>> 502" >>>>>>>>>>>>>>>> - something I do not fully get about instance variables >>>>>>>>>>>>>>>> 'bounds owner submorphs fullBounds color >>>>>>>>>>>>>>>> extension' >>>>>>>>>>>>>>>> versus >>>>>>>>>>>>>>>> 'owner submorphs location layoutNeeded layoutSpec >>>>>>>>>>>>>>>> properties' >>>>>>>>>>>>>>>> - layoutSpec >>>>>>>>>>>>>>>> - PackageInfo >>>>>>>>>>>>>>>> - version control with git >>>>>>>>>>>>>>>> - Feature require: ''. >>>>>>>>>>>>>>>> - your Unicode package >>>>>>>>>>>>>>>> https://github.com/KenDickey/Cuis-Smalltalk-Unicode >>>>>>>>>>>>>>>> - >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-StyledTextEditor >>>>>>>>>>>>>>>> - How to query for other Cuis-Smalltalk repositories >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> https://github.com/search?q=cuis-smalltalk >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> All things which we will include Cuis documentation effort. >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> --Hannes >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> On 5/1/14, Ken Dickey wrote: >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> On Thu, 1 May 2014 07:28:54 +0000 >>>>>>>>>>>>>>>>> "H. Hirzel" wrote: >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> A noteworthy effort >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> https://github.com/mumez/Cuis-Smalltalk-FileMan >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> Yes. Masashi Umezawa is the man in Japan! >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> He should introduce himself. >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> He gave a talk about Cuis at the 63rd Smalltalkers' meeting >>>>>>>>>>>>>>>>> in >>>>>>>>>>>>>>>>> Tokyo: >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> http://www.smalltalk-users.jp/Home/gao-zhi/dai63kaismalltalkbenkyoukai/shiryou >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> Masashi has ported several packages to CUis. >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> Because of Unicode interest, I was made aware that recent >>>>>>>>>>>>>>>>> font >>>>>>>>>>>>>>>>> tweaks >>>>>>>>>>>>>>>>> have >>>>>>>>>>>>>>>>> broken my Unicode package in the latest Cuis versions. >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> Masashi-san, would you care to tell us about yourself and >>>>>>>>>>>>>>>>> what >>>>>>>>>>>>>>>>> people >>>>>>>>>>>>>>>>> there >>>>>>>>>>>>>>>>> think about Cuis? >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> -KenD >>>>>>>>>>>> >>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>> Cuis mailing list >>>>>>>>>>>> Cuis at jvuletich.org >>>>>>>>>>>> http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org >>>>>>>>>>> >>>>>>>>>>> >>>> >> >> > -- [:masashi | ^umezawa] From edgardec2005 at gmail.com Sat Sep 5 09:38:32 2015 From: edgardec2005 at gmail.com (Edgar J. De Cleene) Date: Sat, 05 Sep 2015 14:38:32 -0000 Subject: [Cuis] OMeta/Cuis? In-Reply-To: <1433671115.2295.55.camel@gmail.com> Message-ID: On 6/7/15, 6:58 AM, "Phil (list)" wrote: > Having dug deeper into OMeta than I did the last time I worked with it, > I'm now much more comfortable with both the ins and outs of its syntax > as well as what's going on behind the scenes. However, that also means > I want to 'fix' a few things. So my dilemma is what to call where I'm > headed with it and generally get some feedback if anyone has had time to > play with what's there so far to see what you're thinking about. > > The general idea is to not change anything that is working well. That > means the existing syntax and rules (...mostly) wouldn't change as they > seem to be well thought out and working pretty well. Here are a few > examples to give you a flavor for what I'm thinking about: > > 1) Adding a couple of features which will likely require additional > syntax. Examples: rule pragmas and down the road possibly an error > handling and/or debug semantic action. > > 2) Adding a few new base rules and fixing existing bugs. Examples: the > fromTo rule looks broken to me if you actually attempt to use what it > returns by default and I'm convinced that there really should be a > fromToEnd rule (see what happens currently if you put a comment on the > last line of your rule without a trailing lf... this will be an issue with > any grammar that allows lf-terminated comments. There are numerous > other use cases as well.) > > 3) Generally trying to polish any other rough edges and make things feel > more natural. Example: the [] syntax doesn't behave the way you'd > expect (it's not actually a block, it takes a single expression so you > end up needing to do something like [[] value] for multiple > expressions... ugh. It should be possible to handle both scenarios > pretty easily.) > > 4) There are a couple of optimization rules that OMeta/JS has that > don't appear to have made it to Squeak so I'm planning on adding them. > There are a couple of new ones I think I can add beyond that. > > 5) Doing some work improving debugging and adding parser tracing (if > you've taken a look at OMeta3/Ohm... something similar to that.) While > this wouldn't alter the behavior/functionality of any code you write, it > will likely require changing quite a bit behind the scenes in the core > code to make it work. > > 6) Generally starting to document the code. As is sadly the case with > so much Smalltalk code, there aren't many comments that I've seen... > use the source, Luke! While it's very clean (and clever) code, it > took me a while to figure out what was actually going on so I'd rather > avoid needing to go on that excursion again and plan on writing some > things down. > > 7) Syntax coloring/highlighting in the editor would be great to have. > I've still got some research to do to determine the effort involved. > > What that will mean is that the vast majority of any existing > OMeta/Squeak grammars should work just fine with what I'm planning. > The biggest issue I can think of is if there's a name collision with > one of the rules I add which is unlikely (and easy to resolve.) > However, if you were to write code that expected the behavior some of > my changes would make and go back to the Squeak version of OMeta, you'd > run into problems. (The Squeak version is welcome to use any of my > changes as they see fit, but I'm not committing to keeping in sync with > future changes from it at this time as it seems to be pretty much dead > and I think I'll be moving pretty fast on some this for at least a > while) > > So the first question is what should I call it? I'm thinking OMeta/Cuis > unless there are objections or a better name is suggested. Next, do you > want me to keep the vanilla port that I have currently or should I just > start making my changes on top of it? Finally, are there any other > issues you've run into that I've missed? > > Thanks, > Phil Great. Can't wait to examples Edgar From dnorton at mindspring.com Sun Sep 6 11:46:11 2015 From: dnorton at mindspring.com (Dan Norton) Date: Sun, 06 Sep 2015 12:46:11 -0400 Subject: [Cuis] Cuis-Base Package Message-ID: <55EC6DD3.15922.5C72B1@dnorton.mindspring.com> 'Core-Packages' 1 5 !requires: 'Cuis-Base' 42 2327 nil! which is missing from Cuis 2463. - Dan -------------- next part -------------- An HTML attachment was scrubbed... URL: From Ken.Dickey at whidbey.com Sun Sep 6 15:29:14 2015 From: Ken.Dickey at whidbey.com (Ken.Dickey) Date: Sun, 6 Sep 2015 13:29:14 -0700 Subject: [Cuis] Cuis-Base Package In-Reply-To: <55EC6DD3.15922.5C72B1@dnorton.mindspring.com> References: <55EC6DD3.15922.5C72B1@dnorton.mindspring.com> Message-ID: <20150906132914.30fad3c56d1b443e68c59d94@whidbey.com> On Sun, 06 Sep 2015 12:46:11 -0400 "Dan Norton" wrote: > 'Core-Packages' 1 5 > > !requires: 'Cuis-Base' 42 2327 nil! > > which is missing from Cuis 2463. The base package is Cuis itself. Requiring a (4.2) base with revision 2327 or higher should be fine with (4.2) rev 2463 as 2463 is larger than 2327. What error/message are you seeing which indicates a failed requirement? What is the context? -- -KenD From dnorton at mindspring.com Sun Sep 6 16:48:07 2015 From: dnorton at mindspring.com (Dan Norton) Date: Sun, 06 Sep 2015 17:48:07 -0400 Subject: [Cuis] Cuis-Base Package In-Reply-To: <20150906132914.30fad3c56d1b443e68c59d94@whidbey.com> References: <55EC6DD3.15922.5C72B1@dnorton.mindspring.com>, <20150906132914.30fad3c56d1b443e68c59d94@whidbey.com> Message-ID: <55ECB497.27062.170E518@dnorton.mindspring.com> Ah, no wonder. Are you able to install Core-Packages? I get a VM crash. The dump is attached. After the crash, I was going through the "requires" list of "Core-Packages", trying to load each individually to see which might be the culprit. The first two install, then comes "Cuis-Base" which I could not find. :) - Dan On 6 Sep 2015 at 13:29, Ken.Dickey wrote: > On Sun, 06 Sep 2015 12:46:11 -0400 > "Dan Norton" wrote: > > > 'Core-Packages' 1 5 > > > > !requires: 'Cuis-Base' 42 2327 nil! > > > > which is missing from Cuis 2463. > > The base package is Cuis itself. > > Requiring a (4.2) base with revision 2327 or higher should be fine > with (4.2) rev 2463 as 2463 is larger than 2327. > > What error/message are you seeing which indicates a failed > requirement? What is the context? > > -- > -KenD -------------- next part -------------- A non-text attachment was scrubbed... Name: crash1.zip Type: application/zip Size: 3956 bytes Desc: not available URL: From dnorton at mindspring.com Sun Sep 6 17:14:11 2015 From: dnorton at mindspring.com (Dan Norton) Date: Sun, 06 Sep 2015 18:14:11 -0400 Subject: [Cuis] Cuis-Base Package Message-ID: <55ECBAB3.9336.188C4DC@dnorton.mindspring.com> Attempts to install "Compression" package consistently fail, sometimes with a VM crash and sometimes with MNU. - Dan On 6 Sep 2015 at 17:48, Dan wrote: > Ah, no wonder. Are you able to install Core-Packages? I get a VM > crash. The dump is > attached. > > After the crash, I was going through the "requires" list of > "Core-Packages", trying to load each > individually to see which might be the culprit. The first two > install, then comes "Cuis-Base" > which I could not find. :) > > - Dan > > On 6 Sep 2015 at 13:29, Ken.Dickey wrote: > > > On Sun, 06 Sep 2015 12:46:11 -0400 > > "Dan Norton" wrote: > > > > > 'Core-Packages' 1 5 > > > > > > !requires: 'Cuis-Base' 42 2327 nil! > > > > > > which is missing from Cuis 2463. > > > > The base package is Cuis itself. > > > > Requiring a (4.2) base with revision 2327 or higher should be > fine > > with (4.2) rev 2463 as 2463 is larger than 2327. > > > > What error/message are you seeing which indicates a failed > > requirement? What is the context? > > > > -- > > -KenD > > > > Attachments: > C:\Cog\cogwin-15.33.3427\cogwin\crash1.zip From Ken.Dickey at whidbey.com Sun Sep 6 18:26:34 2015 From: Ken.Dickey at whidbey.com (Ken.Dickey) Date: Sun, 6 Sep 2015 16:26:34 -0700 Subject: [Cuis] Cuis-Base Package In-Reply-To: <55ECB497.27062.170E518@dnorton.mindspring.com> References: <55EC6DD3.15922.5C72B1@dnorton.mindspring.com> <20150906132914.30fad3c56d1b443e68c59d94@whidbey.com> <55ECB497.27062.170E518@dnorton.mindspring.com> Message-ID: <20150906162634.cf64eac3e7d96ff202851bed@whidbey.com> On Sun, 06 Sep 2015 17:48:07 -0400 "Dan Norton" wrote: > .. Are you able to install Core-Packages? I get a VM crash. I am running 2463 without problems on an ARM Chromebook and a Toshiba Intel laptop, both running variants of Linux. I suspect a VM problem. What VM are you running? Try "squeak -version" Here is my Chromebook output: >> squeak -version 4.5-3386 Sat Jun 20 16:20:09 PDT 2015 gcc 4.6.3 [Production VM] StackInterpreter VMMaker.oscog-eem.1370 uuid: 779d3751-cd1b-4882-b870-156bf7da752a Jun 20 2015 VM: r3386 http://www.squeakvm.org/svn/squeak/branches/Cog Date: 2015-06-20 15:42:13 -0700 Plugins: r3347 http://squeakvm.org/svn/squeak/trunk/platforms/Cross/plugins Linux MiniMcStalker 3.12.28+ #709 PREEMPT Mon Sep 8 15:28:00 BST 2014 armv6l GNU/Linux plugin path: /usr/local/bin/../lib/squeak/4.5-3386 [default: /usr/local/lib/squeak/4.5-3386/] You can pick up a new VM at: http://www.mirandabanda.org/files/Cog/VM/ Note that CUIS does NOT yet run on SPUR VMs. -- -KenD From Ken.Dickey at whidbey.com Sun Sep 6 03:33:59 2015 From: Ken.Dickey at whidbey.com (Ken.Dickey) Date: Sun, 6 Sep 2015 16:33:59 +0800 Subject: [Cuis] Cuis-Base Package In-Reply-To: <20150906162634.cf64eac3e7d96ff202851bed@whidbey.com> References: <55EC6DD3.15922.5C72B1@dnorton.mindspring.com> <20150906132914.30fad3c56d1b443e68c59d94@whidbey.com> <55ECB497.27062.170E518@dnorton.mindspring.com> <20150906162634.cf64eac3e7d96ff202851bed@whidbey.com> Message-ID: <20150906163359.43582500db2f66cde4efd563@whidbey.com> On Sun, 6 Sep 2015 16:26:34 -0700 "Ken.Dickey" wrote: > I suspect a VM problem. What VM are you running? Try "squeak -version" Here is the Toshiba/Intel/Linux output. root# squeak -version 4.5-3397 Mon Jul 6 15:10:41 PDT 2015 gcc 4.4.7 [Production ITHB VM] CoInterpreter VMMaker.oscog-eem.1405 uuid: 7aff388a-73ba-4202-bb5a-72b0759ff46b Jul 6 2015 StackToRegisterMappingCogit VMMaker.oscog-eem.1401 uuid: 036f0933-639a-49dd-8a1d-a03bcdcb0a0a Jul 3 2015 VM: r3397 http://www.squeakvm.org/svn/squeak/branches/Cog Date: 2015-07-06 11:56:39 -0700 Plugins: r3347 http://squeakvm.org/svn/squeak/trunk/platforms/Cross/plugins Linux mclinux32 2.6.32-431.el6.i686 #1 SMP Fri Nov 22 00:26:36 UTC 2013 i686 i686 i386 GNU/Linux plugin path: /usr/local/bin/../lib/squeak/4.5-3397 [default: /usr/local/lib/squeak/4.5-3397/] -- -KenD From dnorton at mindspring.com Sun Sep 6 19:19:25 2015 From: dnorton at mindspring.com (Dan Norton) Date: Sun, 06 Sep 2015 20:19:25 -0400 Subject: [Cuis] Cuis-Base Package In-Reply-To: <20150906162634.cf64eac3e7d96ff202851bed@whidbey.com> References: <55EC6DD3.15922.5C72B1@dnorton.mindspring.com>, <55ECB497.27062.170E518@dnorton.mindspring.com>, <20150906162634.cf64eac3e7d96ff202851bed@whidbey.com> Message-ID: <55ECD80D.22968.1FB6ABD@dnorton.mindspring.com> cogwin-15.33.3427 it's the latest one. Ran across this looking for more indented list examples, so it's not holding me back, but I am having trouble deciphering how to speak to HierarchicalListMorph and friends. - Dan On 6 Sep 2015 at 16:26, Ken.Dickey wrote: > On Sun, 06 Sep 2015 17:48:07 -0400 > "Dan Norton" wrote: > > > .. Are you able to install Core-Packages? I get a VM crash. > > I am running 2463 without problems on an ARM Chromebook and a > Toshiba Intel laptop, both running variants of Linux. > > I suspect a VM problem. What VM are you running? Try "squeak > -version" > > Here is my Chromebook output: > > >> squeak -version > 4.5-3386 Sat Jun 20 16:20:09 PDT 2015 gcc 4.6.3 [Production VM] > StackInterpreter VMMaker.oscog-eem.1370 uuid: > 779d3751-cd1b-4882-b870-156bf7da752a Jun 20 2015 > VM: r3386 http://www.squeakvm.org/svn/squeak/branches/Cog Date: > 2015-06-20 15:42:13 -0700 > Plugins: r3347 > http://squeakvm.org/svn/squeak/trunk/platforms/Cross/plugins > Linux MiniMcStalker 3.12.28+ #709 PREEMPT Mon Sep 8 15:28:00 BST > 2014 armv6l GNU/Linux > plugin path: /usr/local/bin/../lib/squeak/4.5-3386 [default: > /usr/local/lib/squeak/4.5-3386/] > > You can pick up a new VM at: > http://www.mirandabanda.org/files/Cog/VM/ > > Note that CUIS does NOT yet run on SPUR VMs. > > -- > -KenD -------------- next part -------------- An HTML attachment was scrubbed... URL: From Ken.Dickey at whidbey.com Mon Sep 7 19:46:45 2015 From: Ken.Dickey at whidbey.com (Ken.Dickey) Date: Tue, 8 Sep 2015 08:46:45 +0800 Subject: [Cuis] Cuis-Base Package In-Reply-To: <55ECD80D.22968.1FB6ABD@dnorton.mindspring.com> References: <55EC6DD3.15922.5C72B1@dnorton.mindspring.com> <55ECB497.27062.170E518@dnorton.mindspring.com> <20150906162634.cf64eac3e7d96ff202851bed@whidbey.com> <55ECD80D.22968.1FB6ABD@dnorton.mindspring.com> Message-ID: <20150908084645.68ce718d7450d684616d77ee@whidbey.com> On Sun, 06 Sep 2015 20:19:25 -0400 "Dan Norton" wrote: > cogwin-15.33.3427 > it's the latest one. You might try an earlier VM version (e.g. 3397,3410) and see if the result is the same. -- -KenD From dnorton at mindspring.com Tue Sep 8 11:56:28 2015 From: dnorton at mindspring.com (Dan Norton) Date: Tue, 08 Sep 2015 12:56:28 -0400 Subject: [Cuis] Implementors of initWithContents:font:emphasis: Message-ID: <55EF133C.28738.74D7CA@dnorton.mindspring.com> Greetings, The following implement #initWithContents:font:emphasis: identically: MinimalStringMorph OneLineEditorMorph StringMorph and they all inherit from: Morph RectangleLikeMorph So, refactoring seems to be in order, maybe by pulling #initWithContents:font:emphasis: up into Morph. What do you think? - Dan From dnorton at mindspring.com Tue Sep 8 11:59:32 2015 From: dnorton at mindspring.com (Dan Norton) Date: Tue, 8 Sep 2015 09:59:32 -0700 (PDT) Subject: [Cuis] Cuis-Base Package In-Reply-To: <20150908084645.68ce718d7450d684616d77ee@whidbey.com> References: <55EC6DD3.15922.5C72B1@dnorton.mindspring.com> <20150906132914.30fad3c56d1b443e68c59d94@whidbey.com> <55ECB497.27062.170E518@dnorton.mindspring.com> <20150906162634.cf64eac3e7d96ff202851bed@whidbey.com> <55ECD80D.22968.1FB6ABD@dnorton.mindspring.com> <20150908084645.68ce718d7450d684616d77ee@whidbey.com> Message-ID: <1441731572845-4848883.post@n4.nabble.com> It installed without problems in the past. Not sure which Cog version tho. - Dan -- View this message in context: http://forum.world.st/Cuis-Base-Package-tp4848441p4848883.html Sent from the Cuis Smalltalk mailing list archive at Nabble.com. From hannes.hirzel at gmail.com Tue Sep 8 12:24:25 2015 From: hannes.hirzel at gmail.com (H. Hirzel) Date: Tue, 8 Sep 2015 19:24:25 +0200 Subject: [Cuis] Implementors of initWithContents:font:emphasis: In-Reply-To: <55EF133C.28738.74D7CA@dnorton.mindspring.com> References: <55EF133C.28738.74D7CA@dnorton.mindspring.com> Message-ID: Hi Dan No. The three morphs you mention all have instance variables font emphasis whereas the sibling morphs do not have these variables neither does Morph. So the reason of not doing it is that we do not want these instance variables to be in the other Morphs where they are not used. --Hannes On 9/8/15, Dan Norton wrote: > Greetings, > > The following implement #initWithContents:font:emphasis: identically: > > MinimalStringMorph > OneLineEditorMorph > StringMorph > > and they all inherit from: > > Morph > RectangleLikeMorph > > So, refactoring seems to be in order, maybe by pulling > #initWithContents:font:emphasis: up > into Morph. What do you think? > > - Dan > > _______________________________________________ > Cuis mailing list > Cuis at jvuletich.org > http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org > From dnorton at mindspring.com Tue Sep 8 16:08:59 2015 From: dnorton at mindspring.com (Dan Norton) Date: Tue, 08 Sep 2015 17:08:59 -0400 Subject: [Cuis] Implementors of initWithContents:font:emphasis: In-Reply-To: References: <55EF133C.28738.74D7CA@dnorton.mindspring.com>, Message-ID: <55EF4E6B.15771.15C08FC@dnorton.mindspring.com> Hi Hannes, I get it. There are lots of sibling morphs. RectangleMorph doesn't need font or emphasis for sure. And, adding a class to the hierarchy simply to contain the method would not be desirable either. Geez who came up with this idea, anyway? - Dan On 8 Sep 2015 at 19:24, H. Hirzel wrote: > Hi Dan > > No. The three morphs you mention all have instance variables > > font emphasis > > whereas the sibling morphs do not have these variables neither does > Morph. > > So the reason of not doing it is that we do not want these > instance > variables to be in the other Morphs where they are not used. > > --Hannes > > > On 9/8/15, Dan Norton wrote: > > Greetings, > > > > The following implement #initWithContents:font:emphasis: > identically: > > > > MinimalStringMorph > > OneLineEditorMorph > > StringMorph > > > > and they all inherit from: > > > > Morph > > RectangleLikeMorph > > > > So, refactoring seems to be in order, maybe by pulling > > #initWithContents:font:emphasis: up > > into Morph. What do you think? > > > > - Dan > > > > _______________________________________________ > > Cuis mailing list > > Cuis at jvuletich.org > > http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org > > > > _______________________________________________ > Cuis mailing list > Cuis at jvuletich.org > http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org -------------- next part -------------- An HTML attachment was scrubbed... URL: From juan at jvuletich.org Wed Sep 9 17:19:25 2015 From: juan at jvuletich.org (Juan Vuletich) Date: Wed, 09 Sep 2015 19:19:25 -0300 Subject: [Cuis] Cuis-Base Package In-Reply-To: <55ECD80D.22968.1FB6ABD@dnorton.mindspring.com> References: <55EC6DD3.15922.5C72B1@dnorton.mindspring.com>, <55ECB497.27062.170E518@dnorton.mindspring.com>, <20150906162634.cf64eac3e7d96ff202851bed@whidbey.com> <55ECD80D.22968.1FB6ABD@dnorton.mindspring.com> Message-ID: <55F0B06D.3070209@jvuletich.org> Hi folks, I get the same crash when loading Compression if I use Cog 3410 or 3427. I don't get the crash if I use 3397. But this version had another issue, when using AndreasSystemProfiler. I'd say we need to use 3370 or earlier. I'll ask Eliot to take a look. Thanks, Juan Vuletich On 9/6/2015 9:19 PM, Dan Norton wrote: > > cogwin-15.33.3427 > > it's the latest one. Ran across this looking for more indented list > examples, so it's not holding me back, but I am having trouble > deciphering how to speak to HierarchicalListMorph and friends. > > > - Dan > > > On 6 Sep 2015 at 16:26, Ken.Dickey wrote: > > > On Sun, 06 Sep 2015 17:48:07 -0400 > > "Dan Norton" wrote: > > > > > .. Are you able to install Core-Packages? I get a VM crash. > > > > I am running 2463 without problems on an ARM Chromebook and a > > Toshiba Intel laptop, both running variants of Linux. > > > > I suspect a VM problem. What VM are you running? Try "squeak > > -version" > > > > Here is my Chromebook output: > > > > >> squeak -version > > 4.5-3386 Sat Jun 20 16:20:09 PDT 2015 gcc 4.6.3 [Production VM] > > StackInterpreter VMMaker.oscog-eem.1370 uuid: > > 779d3751-cd1b-4882-b870-156bf7da752a Jun 20 2015 > > VM: r3386 http://www.squeakvm.org/svn/squeak/branches/Cog Date: > > 2015-06-20 15:42:13 -0700 > > Plugins: r3347 > > http://squeakvm.org/svn/squeak/trunk/platforms/Cross/plugins > > Linux MiniMcStalker 3.12.28+ #709 PREEMPT Mon Sep 8 15:28:00 BST > > 2014 armv6l GNU/Linux > > plugin path: /usr/local/bin/../lib/squeak/4.5-3386 [default: > > /usr/local/lib/squeak/4.5-3386/] > > > > You can pick up a new VM at: > > http://www.mirandabanda.org/files/Cog/VM/ > > > > Note that CUIS does NOT yet run on SPUR VMs. > > > > -- > > -KenD > > > _______________________________________________ > Cuis mailing list > Cuis at jvuletich.org > http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org -------------- next part -------------- An HTML attachment was scrubbed... URL: From dnorton at mindspring.com Wed Sep 9 20:59:03 2015 From: dnorton at mindspring.com (Dan Norton) Date: Wed, 09 Sep 2015 21:59:03 -0400 Subject: [Cuis] Class Comment Browser Message-ID: <55F0E3E7.9240.F68663@dnorton.mindspring.com> Announcing a browser for certain class comments. The classes have names containing: Pluggable Morphic Morph and appear in a hierarchical list categorized as above. From the popup menu you can open the regular browsers on: Class Hierarchy Full Protocol The package is at: https://github.com/dhnorton/Cuis-Smalltalk-morphs - Dan From juan at jvuletich.org Wed Sep 9 21:12:29 2015 From: juan at jvuletich.org (Juan Vuletich) Date: Wed, 09 Sep 2015 23:12:29 -0300 Subject: [Cuis] Updates on GitHub Message-ID: <55F0E70D.30209@jvuletich.org> Hi Folks, I've just commited to GitHub. Biggest news is a new OpenCL package, originally for Squeak by Josh Gargus. Thanks Josh! Within some misc fixes and enhancements, there is cool stuff by Ken, Duncan, Dan and Masashi. Thank you all folks! Cheers, Juan Vuletich From dnorton at mindspring.com Fri Sep 11 09:40:30 2015 From: dnorton at mindspring.com (Dan Norton) Date: Fri, 11 Sep 2015 10:40:30 -0400 Subject: [Cuis] Class Comment Browser In-Reply-To: <20150911073112.3f21bb65283f3a3e4aa211b0@whidbey.com> References: <55F0E3E7.9240.F68663@dnorton.mindspring.com>, <20150911073112.3f21bb65283f3a3e4aa211b0@whidbey.com> Message-ID: <55F2E7DE.18780.18C37D@dnorton.mindspring.com> Hi Ken, Thanks, glad to hear it. A search capability has been added which I hope will help. - Dan On 11 Sep 2015 at 7:31, Ken.Dickey wrote: > On Wed, 09 Sep 2015 21:59:03 -0400 > "Dan Norton" wrote: > > > Announcing a browser for certain class comments. .. > > Dan. Finally got a chance to take a look. > > Very helpful! > > Thanks, > -KenD From dnorton at mindspring.com Fri Sep 11 11:19:19 2015 From: dnorton at mindspring.com (Dan Norton) Date: Fri, 11 Sep 2015 12:19:19 -0400 Subject: [Cuis] Effect of Cursor Movement Message-ID: <55F2FF07.16923.7339F5@dnorton.mindspring.com> Hello, To see this, Bring up BouncingAtomsMorph, enlarge the window, set a high atoms count so that you can easily sense atom movement. Notice how movement speeds up when the cursor is moved and slows when it stops? Turn on FPS. On my machine, frame rate is about 22 with no cursor movement and increases to around 36 when the cursor is moving. The cursor does not have to be in the window. It can be anywhere. Why should that be? It may not be a problem, but it is a curiosity. Any explanation? BTW this is Win7, cogwin-15.33.3427, Cuis 2478. - Dan From juan at jvuletich.org Fri Sep 11 11:24:26 2015 From: juan at jvuletich.org (Juan Vuletich) Date: Fri, 11 Sep 2015 13:24:26 -0300 Subject: [Cuis] Class Comment Browser In-Reply-To: <55F2E7DE.18780.18C37D@dnorton.mindspring.com> References: <55F0E3E7.9240.F68663@dnorton.mindspring.com>, <20150911073112.3f21bb65283f3a3e4aa211b0@whidbey.com> <55F2E7DE.18780.18C37D@dnorton.mindspring.com> Message-ID: <55F3003A.8080403@jvuletich.org> Very nice, Dan! Thank you! It would be nice to make this an optional package, like TerseGuide, and referenced from there! Cheers, Juan Vuletich On 9/11/2015 11:40 AM, Dan Norton wrote: > Hi Ken, > > Thanks, glad to hear it. A search capability has been added which I hope will help. > > - Dan > > On 11 Sep 2015 at 7:31, Ken.Dickey wrote: > >> On Wed, 09 Sep 2015 21:59:03 -0400 >> "Dan Norton" wrote: >> >>> Announcing a browser for certain class comments. .. >> Dan. Finally got a chance to take a look. >> >> Very helpful! >> >> Thanks, >> -KenD > > > _______________________________________________ > Cuis mailing list > Cuis at jvuletich.org > http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org > From juan at jvuletich.org Fri Sep 11 11:57:06 2015 From: juan at jvuletich.org (Juan Vuletich) Date: Fri, 11 Sep 2015 13:57:06 -0300 Subject: [Cuis] Effect of Cursor Movement In-Reply-To: <55F2FF07.16923.7339F5@dnorton.mindspring.com> References: <55F2FF07.16923.7339F5@dnorton.mindspring.com> Message-ID: <55F307E2.4040706@jvuletich.org> Hi Dan, (below) On 9/11/2015 1:19 PM, Dan Norton wrote: > Hello, > > To see this, Bring up BouncingAtomsMorph, enlarge the window, set a high atoms count so > that you can easily sense atom movement. > > Notice how movement speeds up when the cursor is moved and slows when it stops? Turn > on FPS. On my machine, frame rate is about 22 with no cursor movement and increases to > around 36 when the cursor is moving. The cursor does not have to be in the window. It can > be anywhere. > > Why should that be? It may not be a problem, but it is a curiosity. Any explanation? > > BTW this is Win7, cogwin-15.33.3427, Cuis 2478. > > - Dan Haven't even taken a look, so if I did maybe I would find something else... but for sure Cuis is triggering MouseMoveEvents, and looking for possible interested parties. That, on each Morphic cycle. So, each Morphic cycle might take a bit longer, and FPS can go a bit down. In any case, if you are curious, you can take a closer look. Often, questions like this lead to possible optimizations! Cheers, Juan Vuletich From dnorton at mindspring.com Sat Sep 12 10:57:52 2015 From: dnorton at mindspring.com (Dan Norton) Date: Sat, 12 Sep 2015 11:57:52 -0400 Subject: [Cuis] Class Comment Browser In-Reply-To: <55F3003A.8080403@jvuletich.org> References: <55F0E3E7.9240.F68663@dnorton.mindspring.com>, <55F2E7DE.18780.18C37D@dnorton.mindspring.com>, <55F3003A.8080403@jvuletich.org> Message-ID: <55F44B80.2759.563045@dnorton.mindspring.com> OK, the browser is attached. It has a new home until it is added to Cuis Packages: https://github.com/dhnorton/Cuis-Smalltalk-comments The list has been cleaned up and expanded. Search on class names has been added. - Dan On 11 Sep 2015 at 13:24, Juan Vuletich wrote: > Very nice, Dan! Thank you! > > It would be nice to make this an optional package, like TerseGuide, > and > referenced from there! > > Cheers, > Juan Vuletich > > On 9/11/2015 11:40 AM, Dan Norton wrote: > > Hi Ken, > > > > Thanks, glad to hear it. A search capability has been added which > I hope will help. > > > > - Dan > > > > On 11 Sep 2015 at 7:31, Ken.Dickey wrote: > > > >> On Wed, 09 Sep 2015 21:59:03 -0400 > >> "Dan Norton" wrote: > >> > >>> Announcing a browser for certain class comments. .. > >> Dan. Finally got a chance to take a look. > >> > >> Very helpful! > >> > >> Thanks, > >> -KenD > > > > > > _______________________________________________ > > Cuis mailing list > > Cuis at jvuletich.org > > http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org > > > -------------- next part -------------- A non-text attachment was scrubbed... Name: ClassCommentBrowser.pck.zip Type: application/zip Size: 2988 bytes Desc: not available URL: From dnorton at mindspring.com Sat Sep 12 11:53:39 2015 From: dnorton at mindspring.com (Dan Norton) Date: Sat, 12 Sep 2015 12:53:39 -0400 Subject: [Cuis] Class Comment Browser Message-ID: <55F45893.23266.894184@dnorton.mindspring.com> Stepped on 'search' (sigh). Try the attached instead. - Dan On 12 Sep 2015 at 11:58, Dan wrote: > OK, the browser is attached. It has a new home until it is added to > Cuis Packages: > > https://github.com/dhnorton/Cuis-Smalltalk-comments > > The list has been cleaned up and expanded. Search on class names has > been added. > > - Dan > > On 11 Sep 2015 at 13:24, Juan Vuletich wrote: > > > Very nice, Dan! Thank you! > > > > It would be nice to make this an optional package, like > TerseGuide, > > and > > referenced from there! > > > > Cheers, > > Juan Vuletich > > > > On 9/11/2015 11:40 AM, Dan Norton wrote: > > > Hi Ken, > > > > > > Thanks, glad to hear it. A search capability has been added > which > > I hope will help. > > > > > > - Dan > > > > > > On 11 Sep 2015 at 7:31, Ken.Dickey wrote: > > > > > >> On Wed, 09 Sep 2015 21:59:03 -0400 > > >> "Dan Norton" wrote: > > >> > > >>> Announcing a browser for certain class comments. .. > > >> Dan. Finally got a chance to take a look. > > >> > > >> Very helpful! > > >> > > >> Thanks, > > >> -KenD > > > > > > > > > _______________________________________________ > > > Cuis mailing list > > > Cuis at jvuletich.org > > > http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org > > > > > > > > > Attachments: > > C:\Cuis\Comments\Cuis-Smalltalk-comments\ClassCommentBrowser.pck.zip -------------- next part -------------- A non-text attachment was scrubbed... Name: ClassCommentBrowser.pck.zip Type: application/zip Size: 3042 bytes Desc: not available URL: From Ken.Dickey at whidbey.com Sat Sep 12 20:36:58 2015 From: Ken.Dickey at whidbey.com (Ken.Dickey) Date: Sat, 12 Sep 2015 18:36:58 -0700 Subject: [Cuis] Updates on GitHub In-Reply-To: <55F0E70D.30209@jvuletich.org> References: <55F0E70D.30209@jvuletich.org> Message-ID: <20150912183658.07bbefafa76422d0fc9790e7@whidbey.com> On Wed, 09 Sep 2015 23:12:29 -0300 Juan Vuletich wrote: > I've just commited to GitHub. Biggest news is a new OpenCL package, > originally for Squeak by Josh Gargus. Thanks Josh! FYI, The OpenCL unit tests, Blur and JuliaSet examples work on a SAMSUNG ARM Chromebook. Apple Copy Benchmark reports VM lacks AndreasSystemProfiler prims. Deformation Grid Example reports: 'failed to enqueue kernel for execution' Let me know if there is anything else you want me to poke. ;^) Cheers, -KenD From dnorton at mindspring.com Sun Sep 13 14:42:09 2015 From: dnorton at mindspring.com (Dan Norton) Date: Sun, 13 Sep 2015 15:42:09 -0400 Subject: [Cuis] (Fwd) Re: Class Comment Browser Message-ID: <55F5D191.32653.B8C66D@dnorton.mindspring.com> Added color to the window and flashed the list if a search comes up empty. Package attached. - Dan ------- Forwarded message follows ------- From: Dan Norton To: cuis at jvuletich.org Subject: Re: [Cuis] Class Comment Browser Date sent: Sat, 12 Sep 2015 12:53:40 -0400 Stepped on 'search' (sigh). Try the attached instead. - Dan On 12 Sep 2015 at 11:58, Dan wrote: > OK, the browser is attached. It has a new home until it is added to > Cuis Packages: > > https://github.com/dhnorton/Cuis-Smalltalk-comments > > The list has been cleaned up and expanded. Search on class names has > been added. > > - Dan > > On 11 Sep 2015 at 13:24, Juan Vuletich wrote: > > > Very nice, Dan! Thank you! > > > > It would be nice to make this an optional package, like > TerseGuide, > > and > > referenced from there! > > > > Cheers, > > Juan Vuletich > > > > On 9/11/2015 11:40 AM, Dan Norton wrote: > > > Hi Ken, > > > > > > Thanks, glad to hear it. A search capability has been added > which > > I hope will help. > > > > > > - Dan > > > > > > On 11 Sep 2015 at 7:31, Ken.Dickey wrote: > > > > > >> On Wed, 09 Sep 2015 21:59:03 -0400 > > >> "Dan Norton" wrote: > > >> > > >>> Announcing a browser for certain class comments. .. > > >> Dan. Finally got a chance to take a look. > > >> > > >> Very helpful! > > >> > > >> Thanks, > > >> -KenD > > > > > > > > > _______________________________________________ > > > Cuis mailing list > > > Cuis at jvuletich.org > > > http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org > > > > > > > > > Attachments: > > C:\Cuis\Comments\Cuis-Smalltalk-comments\ClassCommentBrowser.pck.zip Attachments: C:\Cuis\Comments\Cuis-Smalltalk-comments\ClassCommentBrowser.pck.zip ------- End of forwarded message ------- -------------- next part -------------- A non-text attachment was scrubbed... Name: ClassCommentBrowser.pck.zip Type: application/zip Size: 3086 bytes Desc: not available URL: From juan at jvuletich.org Tue Sep 15 09:08:27 2015 From: juan at jvuletich.org (Juan Vuletich) Date: Tue, 15 Sep 2015 11:08:27 -0300 Subject: [Cuis] Updates on GitHub In-Reply-To: <20150912183658.07bbefafa76422d0fc9790e7@whidbey.com> References: <55F0E70D.30209@jvuletich.org> <20150912183658.07bbefafa76422d0fc9790e7@whidbey.com> Message-ID: <55F8265B.6020304@jvuletich.org> On 9/12/2015 10:36 PM, Ken.Dickey wrote: > On Wed, 09 Sep 2015 23:12:29 -0300 > Juan Vuletich wrote: > >> I've just commited to GitHub. Biggest news is a new OpenCL package, >> originally for Squeak by Josh Gargus. Thanks Josh! > FYI, The OpenCL unit tests, Blur and JuliaSet examples work on a SAMSUNG ARM Chromebook. > > Apple Copy Benchmark reports VM lacks AndreasSystemProfiler prims. > > Deformation Grid Example reports: 'failed to enqueue kernel for execution' > > Let me know if there is anything else you want me to poke. ;^) > > Cheers, > -KenD Thanks Ken. It is nice to know it works on the Chromebook! Is it running Chrome OS? Which VM? AndreasSystemProfiler prims are just for that, profiling. No direct relation with OpenCL. Deformation Grid Example doesn't work (yet) on my machines either! This is pretty early stuff. If you (or anybody) has interest in learning OpenCL, it is there for you to play with. OpenCL is extremely powerful, and using it from Cuis is surprisingly simple. I mean, it is quite free from extra complexity, such as trouble to get tools setup, and examples running. Programming in OpenCL is far from trivial, although the programming model is quite good and well thought. Cheers, Juan Vuletich From juan at jvuletich.org Tue Sep 15 09:10:00 2015 From: juan at jvuletich.org (Juan Vuletich) Date: Tue, 15 Sep 2015 11:10:00 -0300 Subject: [Cuis] (Fwd) Re: Class Comment Browser In-Reply-To: <55F5D191.32653.B8C66D@dnorton.mindspring.com> References: <55F5D191.32653.B8C66D@dnorton.mindspring.com> Message-ID: <55F826B8.1070508@jvuletich.org> Thanks Dan, This is cool. Should we add it to /packages? What do you all think? Cheers, Juan Vuletich On 9/13/2015 4:42 PM, Dan Norton wrote: > Added color to the window and flashed the list if a search comes up empty. > Package attached. > > - Dan > ------- Forwarded message follows ------- > From: Dan Norton > To: cuis at jvuletich.org > Subject: Re: [Cuis] Class Comment Browser > Date sent: Sat, 12 Sep 2015 12:53:40 -0400 > > > Stepped on 'search' (sigh). Try the attached instead. > > - Dan > > On 12 Sep 2015 at 11:58, Dan wrote: > >> OK, the browser is attached. It has a new home until it is added > to >> Cuis Packages: >> >> https://github.com/dhnorton/Cuis-Smalltalk-comments >> >> The list has been cleaned up and expanded. Search on class names > has >> been added. >> >> - Dan >> >> On 11 Sep 2015 at 13:24, Juan Vuletich wrote: >> >>> Very nice, Dan! Thank you! >>> >>> It would be nice to make this an optional package, like >> TerseGuide, >>> and >>> referenced from there! >>> >>> Cheers, >>> Juan Vuletich >>> >>> On 9/11/2015 11:40 AM, Dan Norton wrote: >>>> Hi Ken, >>>> >>>> Thanks, glad to hear it. A search capability has been added >> which >>> I hope will help. >>>> - Dan >>>> >>>> On 11 Sep 2015 at 7:31, Ken.Dickey wrote: >>>> >>>>> On Wed, 09 Sep 2015 21:59:03 -0400 >>>>> "Dan Norton" wrote: >>>>> >>>>>> Announcing a browser for certain class comments. .. >>>>> Dan. Finally got a chance to take a look. >>>>> >>>>> Very helpful! >>>>> >>>>> Thanks, >>>>> -KenD >>>> >>>> _______________________________________________ >>>> Cuis mailing list >>>> Cuis at jvuletich.org >>>> http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org >>>> >> >> >> Attachments: >> >> > C:\Cuis\Comments\Cuis-Smalltalk-comments\ClassCommentBrowser.pck.zip > > > > Attachments: > > C:\Cuis\Comments\Cuis-Smalltalk-comments\ClassCommentBrowser.pck.zip > ------- End of forwarded message ------- > > > > _______________________________________________ > Cuis mailing list > Cuis at jvuletich.org > http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org -------------- next part -------------- An HTML attachment was scrubbed... URL: From Ken.Dickey at whidbey.com Tue Sep 15 09:46:52 2015 From: Ken.Dickey at whidbey.com (Ken.Dickey) Date: Tue, 15 Sep 2015 07:46:52 -0700 Subject: [Cuis] (Fwd) Re: Class Comment Browser In-Reply-To: <55F826B8.1070508@jvuletich.org> References: <55F5D191.32653.B8C66D@dnorton.mindspring.com> <55F826B8.1070508@jvuletich.org> Message-ID: <20150915074652.13f748ae545f10b6d03ea701@whidbey.com> On Tue, 15 Sep 2015 11:10:00 -0300 Juan Vuletich wrote: > This is cool. Should we add it to /packages? What do you all think? I find it useful. -- -KenD From Ken.Dickey at whidbey.com Tue Sep 15 10:10:23 2015 From: Ken.Dickey at whidbey.com (Ken.Dickey) Date: Tue, 15 Sep 2015 08:10:23 -0700 Subject: [Cuis] Updates on GitHub In-Reply-To: <55F8265B.6020304@jvuletich.org> References: <55F0E70D.30209@jvuletich.org> <20150912183658.07bbefafa76422d0fc9790e7@whidbey.com> <55F8265B.6020304@jvuletich.org> Message-ID: <20150915081023.ac6ed586a20db7a36c68a9b2@whidbey.com> On Tue, 15 Sep 2015 11:08:27 -0300 Juan Vuletich wrote: > Thanks Ken. It is nice to know it works on the Chromebook! Is it running > Chrome OS? Which VM? Same as Cuis: Ubuntu trusty via Crouton. >> uname -a Linux localhost 3.8.11 #1 SMP Mon Aug 31 19:45:33 PDT 2015 armv7l armv7l armv7l GNU/Linux Note that the OpenCL/OpenGLES driver mods need to be loaded: http://drinkcat.blogspot.com/2013/11/opencl-on-samsung-chromebook-arm-under.html Thanks agan to all, -KenD From Ken.Dickey at whidbey.com Tue Sep 15 10:19:29 2015 From: Ken.Dickey at whidbey.com (Ken.Dickey) Date: Tue, 15 Sep 2015 08:19:29 -0700 Subject: [Cuis] Updates on GitHub In-Reply-To: <55F8265B.6020304@jvuletich.org> References: <55F0E70D.30209@jvuletich.org> <20150912183658.07bbefafa76422d0fc9790e7@whidbey.com> <55F8265B.6020304@jvuletich.org> Message-ID: <20150915081929.68b2fb8b363cd96c99a0587a@whidbey.com> On Tue, 15 Sep 2015 11:08:27 -0300 Juan Vuletich wrote: > Thanks Ken. It is nice to know it works on the Chromebook! Is it running > Chrome OS? Which VM? Ah. A Cog VM. >> squeak -version 4.5-3386 Sat Jun 20 16:20:09 PDT 2015 gcc 4.6.3 [Production VM] StackInterpreter VMMaker.oscog-eem.1370 uuid: 779d3751-cd1b-4882-b870-156bf7da752a Jun 20 2015 VM: r3386 http://www.squeakvm.org/svn/squeak/branches/Cog Date: 2015-06-20 15:42:13 -0700 Plugins: r3347 http://squeakvm.org/svn/squeak/trunk/platforms/Cross/plugins Linux MiniMcStalker 3.12.28+ #709 PREEMPT Mon Sep 8 15:28:00 BST 2014 armv6l GNU/Linux plugin path: /usr/local/bin/../lib/squeak/4.5-3386 [default: /usr/local/lib/squeak/4.5-3386/] -- -KenD From dnorton at mindspring.com Wed Sep 16 19:12:33 2015 From: dnorton at mindspring.com (Dan Norton) Date: Wed, 16 Sep 2015 20:12:33 -0400 Subject: [Cuis] Class Comment Browser In-Reply-To: <55F826B8.1070508@jvuletich.org> References: <55F5D191.32653.B8C66D@dnorton.mindspring.com>, <55F826B8.1070508@jvuletich.org> Message-ID: <55FA0571.2055.2041AE9@dnorton.mindspring.com> Hello all, By using this browser, you become aware of Cuis classes you may have overlooked. It reveals relationships among classes, beyond hierarchy. It may inspire revision of some class comments :-) The latest on gitHub: https://github.com/dhnorton/Cuis-Smalltalk-comments covers all classes, searches class names, and searches class comments from the root or from a leaf. I think this latest should be in /packages. I confess an author's bias :-) - Dan On 15 Sep 2015 at 11:10, Juan Vuletich wrote: > > Thanks Dan, > > This is cool. Should we add it to /packages? What do you all > think? > > Cheers, > Juan Vuletich > > On 9/13/2015 4:42 PM, Dan Norton wrote: > > Added color to the window and flashed the list if a search comes > up empty. > Package attached. > > - Dan > ------- Forwarded message follows ------- > From: Dan Norton > To: cuis at jvuletich.org > Subject: Re: [Cuis] Class Comment Browser > Date sent: Sat, 12 Sep 2015 12:53:40 -0400 > > > Stepped on 'search' (sigh). Try the attached instead. > > - Dan > > On 12 Sep 2015 at 11:58, Dan wrote: > > > > OK, the browser is attached. It has a new home until it is > added > > > to > > > Cuis Packages: > > https://github.com/dhnorton/Cuis-Smalltalk-comments > > The list has been cleaned up and expanded. Search on class > names > > > has > > > been added. > > - Dan > > On 11 Sep 2015 at 13:24, Juan Vuletich wrote: > > > > Very nice, Dan! Thank you! > > It would be nice to make this an optional package, like > > > TerseGuide, > > > and > referenced from there! > > Cheers, > Juan Vuletich > > On 9/11/2015 11:40 AM, Dan Norton wrote: > > > Hi Ken, > > Thanks, glad to hear it. A search capability has been added > > > which > > > I hope will help. > > > - Dan > > On 11 Sep 2015 at 7:31, Ken.Dickey wrote: > > > > On Wed, 09 Sep 2015 21:59:03 -0400 > "Dan Norton" wrote: > > > > Announcing a browser for certain class comments. .. > > > Dan. Finally got a chance to take a look. > > Very helpful! > > Thanks, > -KenD > > > > _______________________________________________ > Cuis mailing list > Cuis at jvuletich.org > http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org > > > > > > > > Attachments: > > > > > > C:\Cuis\Comments\Cuis-Smalltalk-comments\ClassCommentBrowser.pck.zip > > > > Attachments: > > > C:\Cuis\Comments\Cuis-Smalltalk-comments\ClassCommentBrowser.pck.zip > ------- End of forwarded message ------- > > > > > > > _______________________________________________ > Cuis mailing list > Cuis at jvuletich.org > http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org > > From juan at jvuletich.org Sat Sep 19 19:11:38 2015 From: juan at jvuletich.org (Juan Vuletich) Date: Sat, 19 Sep 2015 21:11:38 -0300 Subject: [Cuis] Class Comment Browser In-Reply-To: <55FA0571.2055.2041AE9@dnorton.mindspring.com> References: <55F5D191.32653.B8C66D@dnorton.mindspring.com>, <55F826B8.1070508@jvuletich.org> <55FA0571.2055.2041AE9@dnorton.mindspring.com> Message-ID: <55FDF9BA.1030901@jvuletich.org> Thanks Dan. It is now @ GitHub! Cheers, Juan Vuletich On 9/16/2015 9:12 PM, Dan Norton wrote: > Hello all, > > By using this browser, you become aware of Cuis classes you may have overlooked. It > reveals relationships among classes, beyond hierarchy. It may inspire revision of some class > comments :-) > > The latest on gitHub: > > https://github.com/dhnorton/Cuis-Smalltalk-comments > > covers all classes, searches class names, and searches class comments from the root or > from a leaf. I think this latest should be in /packages. I confess an author's bias :-) > > - Dan > > On 15 Sep 2015 at 11:10, Juan Vuletich wrote: > >> Thanks Dan, >> >> This is cool. Should we add it to /packages? What do you all >> think? >> >> Cheers, >> Juan Vuletich >> >> On 9/13/2015 4:42 PM, Dan Norton wrote: >> >> Added color to the window and flashed the list if a search comes >> up empty. >> Package attached. >> >> - Dan >> ------- Forwarded message follows ------- >> From: Dan Norton >> To: cuis at jvuletich.org >> Subject: Re: [Cuis] Class Comment Browser >> Date sent: Sat, 12 Sep 2015 12:53:40 -0400 >> >> >> Stepped on 'search' (sigh). Try the attached instead. >> >> - Dan >> >> On 12 Sep 2015 at 11:58, Dan wrote: >> >> >> >> OK, the browser is attached. It has a new home until it is >> added >> >> >> to >> >> >> Cuis Packages: >> >> https://github.com/dhnorton/Cuis-Smalltalk-comments >> >> The list has been cleaned up and expanded. Search on class >> names >> >> >> has >> >> >> been added. >> >> - Dan >> >> On 11 Sep 2015 at 13:24, Juan Vuletich wrote: >> >> >> >> Very nice, Dan! Thank you! >> >> It would be nice to make this an optional package, like >> >> >> TerseGuide, >> >> >> and >> referenced from there! >> >> Cheers, >> Juan Vuletich >> >> On 9/11/2015 11:40 AM, Dan Norton wrote: >> >> >> Hi Ken, >> >> Thanks, glad to hear it. A search capability has been added >> >> >> which >> >> >> I hope will help. >> >> >> - Dan >> >> On 11 Sep 2015 at 7:31, Ken.Dickey wrote: >> >> >> >> On Wed, 09 Sep 2015 21:59:03 -0400 >> "Dan Norton" wrote: >> >> >> >> Announcing a browser for certain class comments. .. >> >> >> Dan. Finally got a chance to take a look. >> >> Very helpful! >> >> Thanks, >> -KenD >> >> >> >> _______________________________________________ >> Cuis mailing list >> Cuis at jvuletich.org >> http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org >> >> >> >> >> >> >> >> Attachments: >> >> >> >> >> >> C:\Cuis\Comments\Cuis-Smalltalk-comments\ClassCommentBrowser.pck.zip >> >> >> >> Attachments: >> >> >> C:\Cuis\Comments\Cuis-Smalltalk-comments\ClassCommentBrowser.pck.zip >> ------- End of forwarded message ------- >> >> >> >> >> >> >> _______________________________________________ >> Cuis mailing list >> Cuis at jvuletich.org >> http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org >> >> > > > _______________________________________________ > Cuis mailing list > Cuis at jvuletich.org > http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org > From dnorton at mindspring.com Sun Sep 20 10:43:28 2015 From: dnorton at mindspring.com (Dan Norton) Date: Sun, 20 Sep 2015 11:43:28 -0400 Subject: [Cuis] Terse Guide to Cuis Message-ID: <55FED420.30690.E6CA64@dnorton.mindspring.com> Regarding the "Better openTerseGuide menu option": Neat. Thanks, Ken. This is definitely better. - Dan -------------- next part -------------- An HTML attachment was scrubbed... URL: From Ken.Dickey at whidbey.com Sun Sep 20 17:46:40 2015 From: Ken.Dickey at whidbey.com (Ken.Dickey) Date: Sun, 20 Sep 2015 15:46:40 -0700 Subject: [Cuis] Terse Guide to Cuis In-Reply-To: <55FED420.30690.E6CA64@dnorton.mindspring.com> References: <55FED420.30690.E6CA64@dnorton.mindspring.com> Message-ID: <20150920154640.e0231760da083e263fdba4f0@whidbey.com> On Sun, 20 Sep 2015 11:43:28 -0400 "Dan Norton" wrote: > Regarding the "Better openTerseGuide menu option": Neat. Thanks, Ken. Glad you approve. -- -KenD From avalloud at smalltalk.comcastbiz.net Sun Sep 20 19:53:35 2015 From: avalloud at smalltalk.comcastbiz.net (Andres Valloud) Date: Sun, 20 Sep 2015 17:53:35 -0700 Subject: [Cuis] Table data morphic widget Message-ID: <55FF550F.3000709@smalltalk.comcastbiz.net> Hello... I'm looking for a table data morphic widget. Does anyone have one of those? Or, did I miss one already in the image? Basically I need to display row-type data where each column may be of different nature (such as strings, or numbers, etc). Critically, selecting any of the columns in a row should select the entire row. Andres. From garduino at gmail.com Sun Sep 20 20:34:26 2015 From: garduino at gmail.com (=?UTF-8?Q?Germ=C3=A1n_Arduino?=) Date: Sun, 20 Sep 2015 22:34:26 -0300 Subject: [Cuis] Table data morphic widget In-Reply-To: <55FF550F.3000709@smalltalk.comcastbiz.net> References: <55FF550F.3000709@smalltalk.comcastbiz.net> Message-ID: Hi Andres: I do not saw nothing as you comment in Cuis but I remember in the Squeak package ODBC Enhanced a sort of morphic grid. Cheers. Saludos / Regards, Germ?n Arduino @garduino 2015-09-20 21:53 GMT-03:00 Andres Valloud : > Hello... I'm looking for a table data morphic widget. Does anyone have > one of those? Or, did I miss one already in the image? Basically I need > to display row-type data where each column may be of different nature (such > as strings, or numbers, etc). Critically, selecting any of the columns in > a row should select the entire row. > > Andres. > > _______________________________________________ > Cuis mailing list > Cuis at jvuletich.org > http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dnorton at mindspring.com Sun Sep 20 21:07:44 2015 From: dnorton at mindspring.com (Dan Norton) Date: Sun, 20 Sep 2015 22:07:44 -0400 Subject: [Cuis] Table data morphic widget In-Reply-To: <55FF550F.3000709@smalltalk.comcastbiz.net> References: <55FF550F.3000709@smalltalk.comcastbiz.net> Message-ID: <55FF6670.17020.3225012@dnorton.mindspring.com> Hi Andres, It is possible that all you need is a fixed-width font and a SystemWindow with a PluggableListMorph. Data in the rows of the list morph will appear in columns and when you click on any column, the entire row is selected. Instead of a package, this approach uses features already in Cuis. See the Terse Guide (in Help) for hints on installing and using the font. If you want, I can provide an example of columns in a PluggableListMorph. - Dan On 20 Sep 2015 at 17:53, Andres Valloud wrote: > Hello... I'm looking for a table data morphic widget. Does anyone > have > one of those? Or, did I miss one already in the image? Basically I > need to display row-type data where each column may be of different > nature (such as strings, or numbers, etc). Critically, selecting > any of > the columns in a row should select the entire row. > > Andres. > > _______________________________________________ > Cuis mailing list > Cuis at jvuletich.org > http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org From dnorton at mindspring.com Mon Sep 21 11:35:21 2015 From: dnorton at mindspring.com (Dan Norton) Date: Mon, 21 Sep 2015 12:35:21 -0400 Subject: [Cuis] Feature Request In-Reply-To: <20150921085357.f49a3600feb98ff8f18c3699@whidbey.com> References: <20150921085357.f49a3600feb98ff8f18c3699@whidbey.com> Message-ID: <560031C9.2826.235E84@dnorton.mindspring.com> Agreed that is desirable. I was considering a "refresh" menu item but I like your idea better. Also, what about the category list? Currently it is hand-crafted. It started out with only three items: Pluggable, Morphic, and Morph. It grew to include anything that has four or more children, but with Other Classes at the bottom. I've tried to reduce the Other Classes but it's still 130+ in size for the base image. The category list can be automatically generated from Smalltalk classNames by parsing for all terms and acronyms. A name such as "RWBinaryOrTextStream" would generate five categories: RW, Binary, Or, Text, and Stream. It seems that the up side would be elimination of Other Classes since every class would be included in some category. Also, when packages are loaded the list would be re-formed. The down side would be the list of categories is longer and some categories would only have one to three children. What do you think? Anyone have an opinion? - Dan On 21 Sep 2015 at 8:53, Ken.Dickey wrote: > Dan, > > I would appreciate it if the Class Comment Browser would react to > the same changed message that triggers the code browsers to update > their state so that when new classes are loaded they show up in the > browser. > > This saves me opening a new instance of the browser. > > Thanks a bunch for CCB! > -KenD From dnorton at mindspring.com Tue Sep 29 21:35:14 2015 From: dnorton at mindspring.com (Dan Norton) Date: Tue, 29 Sep 2015 22:35:14 -0400 Subject: [Cuis] Class Comment Browser Message-ID: <560B4A62.7244.292AF3F@dnorton.mindspring.com> Hi Juan, A little help, please. BrowserWindow uses CodeWindow>>buildMorphicCodePane for the class comment area. Although this area looks like text, expressions appearing in class comments can be executed as in a workspace. I want the same behavior in Class Comment Browser, but all I get is text behavior (no execution). How can this be changed? - Dan From juan at jvuletich.org Wed Sep 30 06:19:38 2015 From: juan at jvuletich.org (Juan Vuletich) Date: Wed, 30 Sep 2015 08:19:38 -0300 Subject: [Cuis] Class Comment Browser In-Reply-To: <560B4A62.7244.292AF3F@dnorton.mindspring.com> References: <560B4A62.7244.292AF3F@dnorton.mindspring.com> Message-ID: <4f00e132cd45e6e377ff945fafa610b0.squirrel@gator3294.hostgator.com> Hi Dan, See the TextEditor hierarchy. See #editorClass, senders and implementors. It is the model who decides what kind of editor to use. An easy way to find out about this, is to realiza that what you want is the "Smalltalk Options" menu in code panes. Just write "Smalltalk Options" in some code pane, select it (without the quotes) and do right click / Smalltalk Options / Method Source with it. That leads you right to SmalltalkEditor. Cheers, Juan Vuletich On Tue, September 29, 2015 11:35 pm, Dan Norton wrote: > Hi Juan, > > > A little help, please. BrowserWindow uses > CodeWindow>>buildMorphicCodePane for the > class comment area. Although this area looks like text, expressions > appearing in class comments can be executed as in a workspace. > > I want the same behavior in Class Comment Browser, but all I get is text > behavior (no execution). How can this be changed? > > - Dan > > > _______________________________________________ > Cuis mailing list > Cuis at jvuletich.org > http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org > > From dnorton at mindspring.com Wed Sep 30 16:45:00 2015 From: dnorton at mindspring.com (Dan Norton) Date: Wed, 30 Sep 2015 17:45:00 -0400 Subject: [Cuis] Class Comment Browser In-Reply-To: <4f00e132cd45e6e377ff945fafa610b0.squirrel@gator3294.hostgator.com> References: <560B4A62.7244.292AF3F@dnorton.mindspring.com>, <4f00e132cd45e6e377ff945fafa610b0.squirrel@gator3294.hostgator.com> Message-ID: <560C57DC.32345.163B7FF@dnorton.mindspring.com> Hi Juan, The editor class seems to remain constant as SmalltalkEditor. To see what is puzzling: open a browser on a class with an actual comment view the class comment (? button) select all of the comment and copy it select, then deselect a message category paste the comment in the code window as if defining a new method see the difference in presentation What is making this switch? If I knew where this is done I might get the behavior I want in CCB. - Dan On 30 Sep 2015 at 8:19, Juan Vuletich wrote: > Hi Dan, > > See the TextEditor hierarchy. See #editorClass, senders and > implementors. > It is the model who decides what kind of editor to use. > > An easy way to find out about this, is to realiza that what you want > is > the "Smalltalk Options" menu in code panes. Just write "Smalltalk > Options" > in some code pane, select it (without the quotes) and do right click > / > Smalltalk Options / Method Source with it. That leads you right to > SmalltalkEditor. > > Cheers, > Juan Vuletich > > On Tue, September 29, 2015 11:35 pm, Dan Norton wrote: > > Hi Juan, > > > > > > A little help, please. BrowserWindow uses > > CodeWindow>>buildMorphicCodePane for the > > class comment area. Although this area looks like text, > expressions > > appearing in class comments can be executed as in a workspace. > > > > I want the same behavior in Class Comment Browser, but all I get > is text > > behavior (no execution). How can this be changed? > > > > - Dan > > > > > > _______________________________________________ > > Cuis mailing list > > Cuis at jvuletich.org > > http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org > > > > > > > _______________________________________________ > Cuis mailing list > Cuis at jvuletich.org > http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org From ume at blueplane.jp Thu Sep 3 21:27:02 2015 From: ume at blueplane.jp (Masashi UMEZAWA) Date: Fri, 4 Sep 2015 11:27:02 +0900 Subject: [Cuis] Wrapper for file access in different Smalltalk dialects In-Reply-To: <55E45486.30506@jvuletich.org> References: <20140501080531.493624077a7c3f67688650f9@whidbey.com> <555A8705.5080502@jvuletich.org> <5573BD8C.4010008@jvuletich.org> <55B64713.8040806@jvuletich.org> <55D5DDC4.9030101@jvuletich.org> <55DB1F56.608@jvuletich.org> <55E45486.30506@jvuletich.org> Message-ID: Hi Juan, I've updated Cuis-Smalltalk-FileMan repository. https://github.com/mumez/Cuis-Smalltalk-FileMan I've added FmFileEntry>>tryReadStream, tryWriteStream, readStreamIfError:, writeStreamIfError: and unit tests for them. All tests were green on Windows. Please check. Best regards, 2015-08-31 22:20 GMT+09:00 Juan Vuletich : > Hi Masashi, > > Looks great to me. Please let us know when you update > https://github.com/mumez/FileMan (or > https://github.com/mumez/Cuis-Smalltalk-FileMan ), so we follow. Or post > code to the mail list. As you prefer. > > Thanks! > Juan Vuletich > > > On 8/27/2015 12:24 PM, Masashi UMEZAWA wrote: >> >> Hi Juan, >> >> How about adding #tryWriteStream and #tryWriteStreamIfError: for >> consistency. >> Currently FmFileEntry has #writeStreamConfirming, but it is a bit >> ad-hoc. It can be renamed to #tryWriteStream. >> >> So we can write: >> >> [ writeStream := 'foo.txt' asFileEntry tryWriteStream ] on: >> FmFileIOAccessor fileExistsException do: [:ex | ]. >> >> writeStream := 'foo.txt' asFileEntry tryWriteStreamIfError: [:ex | ]. >> >> Best regards, >> >> 2015-08-24 22:42 GMT+09:00 Juan Vuletich: >>> >>> Hi Masashi, >>> >>> Ok. #tryReadStream is reasonable. Or maybe #readStreamOrFail. >>> >>> Any other suggestion? Preferences? >>> >>> Thanks, >>> Juan Vuletich >>> >>> >>> On 8/22/2015 10:15 AM, Masashi UMEZAWA wrote: >>>> >>>> Hi Juan, >>>> >>>> Yes, I'm concerning about backward-compatibility. >>>> FmFileEntry>>#readStream has been used long. So I would prefer just >>>> adding new APIs. >>>> >>>> Best regards, >>>> >>>>> I guess I would prefer #readStream for the basic, raising exceptions >>>>> api, >>>>> and maybe #readStreamNoFail or #readStreamOrEmpty or such for the >>>>> "exception >>>>> eating api" . In any case it is your call, I understand there is back >>>>> compatibility to care about, and I'll be happy with your choice. >>>>> >>>>> Cheers, >>>>> Juan Vuletich >>>>> >>>>> >>>>>> 2015-07-27 23:58 GMT+09:00 Juan Vuletich: >>>>>>> >>>>>>> Hi Masashi, >>>>>>> >>>>>>> Recently we found that in FileMan, if we do >>>>>>> >>>>>>> 'inexistentFile' asFileEntry readStream >>>>>>> >>>>>>> we get an empty readStream. >>>>>>> >>>>>>> I think it is better to throw the #fileDoesNotExistException , as >>>>>>> FileDirectory did, and let the user handle the exception >>>>>>> appropriately. >>>>>>> But >>>>>>> I would not want to break compatibility with FileMan, as the main >>>>>>> purpose >>>>>>> of >>>>>>> FileMan is to give compatibility amongst dialects. >>>>>>> >>>>>>> Are there good reasons to avoid the exception? Should we add another >>>>>>> method, >>>>>>> besides #readStream when we want a readStream strictly on existing >>>>>>> file >>>>>>> contents? >>>>>>> >>>>>>> Thanks, >>>>>>> Juan Vuletich >>>>>>> >>>>>>> >>>>>>> >>>>>>> On 6/14/2015 8:38 AM, Masashi UMEZAWA wrote: >>>>>>>> >>>>>>>> Hello Juan, >>>>>>>> >>>>>>>> Thank you for the patches and more tests! I'll adapt those updates >>>>>>>> for >>>>>>>> other FileMan ports. >>>>>>>> >>>>>>>> Best regards, >>>>>>>> >>>>>>>> 2015-06-07 12:42 GMT+09:00 Juan Vuletich: >>>>>>>>> >>>>>>>>> Hi Masashi, >>>>>>>>> >>>>>>>>> I was trying FileMan tests today and I saw they create some folders >>>>>>>>> in >>>>>>>>> my >>>>>>>>> drive. The names looked a bit strange, so I took a closer look and >>>>>>>>> found >>>>>>>>> a >>>>>>>>> couple of bugs. At least on Windows, #testRecursiveDelete instead >>>>>>>>> of >>>>>>>>> creating >>>>>>>>> subDir/aaa/bbb/ccc/ddd/eee/fff/ggg/test1 >>>>>>>>> it created >>>>>>>>> subDir/bbb/ccc/eee/ggg/test! >>>>>>>>> >>>>>>>>> So I wrote a few more tests on the issues I saw, and teaked the >>>>>>>>> code >>>>>>>>> to >>>>>>>>> make >>>>>>>>> them pass. The result is attached, and I think is useful for all >>>>>>>>> ports >>>>>>>>> of >>>>>>>>> FileMan. >>>>>>>>> >>>>>>>>> Thanks, >>>>>>>>> Juan Vuletich >>>>>>>>> >>>>>>>>> On 5/26/2015 11:34 PM, Masashi UMEZAWA wrote: >>>>>>>>>> >>>>>>>>>> Hi all, >>>>>>>>>> >>>>>>>>>> I think it is nice if FileMan is on the core package repository. >>>>>>>>>> >>>>>>>>>> FileMan for Cuis (and Squeak) has minimum dependencies to the >>>>>>>>>> existing >>>>>>>>>> FileDirectory and DirectoryEntry. FileMan selectively uses a few >>>>>>>>>> methods of them. >>>>>>>>>> >>>>>>>>>> So we can gradually adopt FileMan interfaces and trim the >>>>>>>>>> FileDirectory and DirectoryEntry's non-intuitive methods. >>>>>>>>>> >>>>>>>>>> Another way of cleaning-up the file-related classes is to port >>>>>>>>>> FileSystems to Cuis. >>>>>>>>>> But since Cuis is a lightweight Smalltalk dialect, FileSystems >>>>>>>>>> might >>>>>>>>>> be an overkill. >>>>>>>>>> >>>>>>>>>> Best regards, >>>>>>>>>> >>>>>>>>>> 2015-05-19 9:42 GMT+09:00 Juan Vuletich: >>>>>>>>>>> >>>>>>>>>>> Hi Folks, >>>>>>>>>>> >>>>>>>>>>> I apologize for talking before taking even a quick look, but >>>>>>>>>>> anyway, >>>>>>>>>>> We'd >>>>>>>>>>> take a good look at this. And seriously consider replacing files >>>>>>>>>>> stuff >>>>>>>>>>> in >>>>>>>>>>> Cuis base. Or at least adopting it as a core package in our repo. >>>>>>>>>>> >>>>>>>>>>> Thoughts? >>>>>>>>>>> >>>>>>>>>>> Masashi-san: opinions? >>>>>>>>>>> >>>>>>>>>>> Thanks, >>>>>>>>>>> Juan Vuletich >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> On 5/17/2015 12:07 PM, H. Hirzel wrote: >>>>>>>>>>>> >>>>>>>>>>>> Below are the comments from the FileMan package. >>>>>>>>>>>> >>>>>>>>>>>> Question: How do you compare the FileMan package to the >>>>>>>>>>>> FileSystem >>>>>>>>>>>> package in Pharo? >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> https://github.com/mumez/Cuis-Smalltalk-FileMan/blob/master/FileMan-Core.pck.st#L45 >>>>>>>>>>>> I represent a single file entry (including directory). >>>>>>>>>>>> You can write data by #fileContents: , and read the data by >>>>>>>>>>>> #fileContents. >>>>>>>>>>>> --- >>>>>>>>>>>> mu 11/6/2006 20:21! >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> https://github.com/mumez/Cuis-Smalltalk-FileMan/blob/master/FileMan-Core.pck.st#L53 >>>>>>>>>>>> I represent a single file directory. >>>>>>>>>>>> I implement various directory specific behaviors. >>>>>>>>>>>> You can write data by #at:put: , and read the data by #at:. >>>>>>>>>>>> --- >>>>>>>>>>>> mu 11/6/2006 20:21 >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> https://github.com/mumez/Cuis-Smalltalk-FileMan/blob/master/FileMan-Core.pck.st#L63 >>>>>>>>>>>> !FmFileIOAccessor commentStamp: '' prior: 0! >>>>>>>>>>>> I am an accessor to the low level file IO. >>>>>>>>>>>> You can extend/rewrite me if you port FileMan to other Smalltalk >>>>>>>>>>>> dialects. >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> https://github.com/mumez/Cuis-Smalltalk-FileMan/blob/master/FileMan-Example.pck.st#L44 >>>>>>>>>>>> !FmBackupDirectoryEntry commentStamp: 'mu 5/4/2007 23:26' prior: >>>>>>>>>>>> 0! >>>>>>>>>>>> This is a simple example for adding special behaviors to >>>>>>>>>>>> FmDirectoryEntry. >>>>>>>>>>>> I backup file contents automatically, while users are not >>>>>>>>>>>> conscious >>>>>>>>>>>> about >>>>>>>>>>>> that. >>>>>>>>>>>> Usage: >>>>>>>>>>>> dir := './withBackup' asDirectoryEntry: FmBackupDirectoryEntry. >>>>>>>>>>>> dir at: 'text' put: 'abc'. >>>>>>>>>>>> dir at: 'text' put: 'def'. >>>>>>>>>>>> (dir at: 'text') inspect. "def" >>>>>>>>>>>> (dir backupAt: 'text') inspect. "abc" >>>>>>>>>>>> ((dir / 'sub') at: 'text2' put: '123'). >>>>>>>>>>>> ((dir / 'sub') at: 'text2' put: '456'). >>>>>>>>>>>> ((dir / 'sub') at: 'text2') inspect. "456" >>>>>>>>>>>> ((dir / 'sub') backupAt: 'text2') inspect. "123" >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> https://github.com/mumez/Cuis-Smalltalk-FileMan/blob/master/FileMan-Example.pck.st#L63 >>>>>>>>>>>> This is a simple example for adding special behaviors to >>>>>>>>>>>> FmDirectoryEntry. >>>>>>>>>>>> I put and get file contents as gzipped, while users are not >>>>>>>>>>>> conscious >>>>>>>>>>>> about that. >>>>>>>>>>>> Usage: >>>>>>>>>>>> | dir | >>>>>>>>>>>> dir := './gzipped2' asDirectoryEntry: FmGZipDirectoryEntry. >>>>>>>>>>>> dir binaryAt: 'bin' put: #(1 2 3 12 34 56) asByteArray. >>>>>>>>>>>> (dir binaryAt: 'bin') inspect. >>>>>>>>>>>> dir at: 'text' put: 'This will be gzipped'. >>>>>>>>>>>> (dir at: 'text') inspect. >>>>>>>>>>>> I would be useful for storing/loading big contents in a simple >>>>>>>>>>>> dictionary-like manner. >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> On 5/17/15, H. Hirzel wrote: >>>>>>>>>>>>> >>>>>>>>>>>>> Hello Masashi-san >>>>>>>>>>>>> >>>>>>>>>>>>> I'd like to come back to your FileMan package >>>>>>>>>>>>> >>>>>>>>>>>>> https://github.com/mumez/Cuis-Smalltalk-FileMan >>>>>>>>>>>>> >>>>>>>>>>>>> and ask a question. >>>>>>>>>>>>> >>>>>>>>>>>>> Is this package a port from somewhere or did you write it from >>>>>>>>>>>>> scratch? >>>>>>>>>>>>> >>>>>>>>>>>>> Some background information is appreciated. >>>>>>>>>>>>> >>>>>>>>>>>>> There is no description >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> https://github.com/mumez/Cuis-Smalltalk-FileMan/blob/master/FileMan-Example.pck.st#L2 >>>>>>>>>>>>> >>>>>>>>>>>>> Thank you in advance >>>>>>>>>>>>> >>>>>>>>>>>>> Hannes Hirzel >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> On 5/2/14, Masashi UMEZAWA wrote: >>>>>>>>>>>>>> >>>>>>>>>>>>>> Hi all, >>>>>>>>>>>>>> >>>>>>>>>>>>>> Thank you for the kind words. I've just started Cuis on March, >>>>>>>>>>>>>> and >>>>>>>>>>>>>> I >>>>>>>>>>>>>> was impressed with its cleanness, simplicity, etc. >>>>>>>>>>>>>> So I did a introductory presentation at Tokyo Smalltalkers >>>>>>>>>>>>>> meeting. >>>>>>>>>>>>>> It >>>>>>>>>>>>>> was successful. >>>>>>>>>>>>>> Now I'm planning to port Folktale (telnet-base object shell), >>>>>>>>>>>>>> and >>>>>>>>>>>>>> SIXX >>>>>>>>>>>>>> to Cuis. My pace maybe slow, but please stay tuned. ;) >>>>>>>>>>>>>> >>>>>>>>>>>>>> Best regards, >>>>>>>>>>>>>> >>>>>>>>>>>>>> 2014-05-02 1:05 GMT+09:00 Germ?n Arduino: >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> Wow, I was completely unaware of Masashi working in Cuis! >>>>>>>>>>>>>>> Welcome >>>>>>>>>>>>>>> aboard!! >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> 2014-05-01 12:19 GMT-03:00 H. >>>>>>>>>>>>>>> Hirzel: >>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> Thank you for the link to Masashi Umezawa's presentation. >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> It is from 2014 and talks about >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> - the number of classes compared to Squeak and Pharo >>>>>>>>>>>>>>>> - the size of Morphic -- Morph allSelectors size "=> >>>>>>>>>>>>>>>> 502" >>>>>>>>>>>>>>>> - something I do not fully get about instance variables >>>>>>>>>>>>>>>> 'bounds owner submorphs fullBounds color >>>>>>>>>>>>>>>> extension' >>>>>>>>>>>>>>>> versus >>>>>>>>>>>>>>>> 'owner submorphs location layoutNeeded layoutSpec >>>>>>>>>>>>>>>> properties' >>>>>>>>>>>>>>>> - layoutSpec >>>>>>>>>>>>>>>> - PackageInfo >>>>>>>>>>>>>>>> - version control with git >>>>>>>>>>>>>>>> - Feature require: ''. >>>>>>>>>>>>>>>> - your Unicode package >>>>>>>>>>>>>>>> https://github.com/KenDickey/Cuis-Smalltalk-Unicode >>>>>>>>>>>>>>>> - >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-StyledTextEditor >>>>>>>>>>>>>>>> - How to query for other Cuis-Smalltalk repositories >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> https://github.com/search?q=cuis-smalltalk >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> All things which we will include Cuis documentation effort. >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> --Hannes >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> On 5/1/14, Ken Dickey wrote: >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> On Thu, 1 May 2014 07:28:54 +0000 >>>>>>>>>>>>>>>>> "H. Hirzel" wrote: >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> A noteworthy effort >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> https://github.com/mumez/Cuis-Smalltalk-FileMan >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> Yes. Masashi Umezawa is the man in Japan! >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> He should introduce himself. >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> He gave a talk about Cuis at the 63rd Smalltalkers' meeting >>>>>>>>>>>>>>>>> in >>>>>>>>>>>>>>>>> Tokyo: >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> http://www.smalltalk-users.jp/Home/gao-zhi/dai63kaismalltalkbenkyoukai/shiryou >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> Masashi has ported several packages to CUis. >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> Because of Unicode interest, I was made aware that recent >>>>>>>>>>>>>>>>> font >>>>>>>>>>>>>>>>> tweaks >>>>>>>>>>>>>>>>> have >>>>>>>>>>>>>>>>> broken my Unicode package in the latest Cuis versions. >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> Masashi-san, would you care to tell us about yourself and >>>>>>>>>>>>>>>>> what >>>>>>>>>>>>>>>>> people >>>>>>>>>>>>>>>>> there >>>>>>>>>>>>>>>>> think about Cuis? >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> -KenD >>>>>>>>>>>> >>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>> Cuis mailing list >>>>>>>>>>>> Cuis at jvuletich.org >>>>>>>>>>>> http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org >>>>>>>>>>> >>>>>>>>>>> >>>> >> >> > -- [:masashi | ^umezawa] From edgardec2005 at gmail.com Sat Sep 5 09:38:32 2015 From: edgardec2005 at gmail.com (Edgar J. De Cleene) Date: Sat, 05 Sep 2015 14:38:32 -0000 Subject: [Cuis] OMeta/Cuis? In-Reply-To: <1433671115.2295.55.camel@gmail.com> Message-ID: On 6/7/15, 6:58 AM, "Phil (list)" wrote: > Having dug deeper into OMeta than I did the last time I worked with it, > I'm now much more comfortable with both the ins and outs of its syntax > as well as what's going on behind the scenes. However, that also means > I want to 'fix' a few things. So my dilemma is what to call where I'm > headed with it and generally get some feedback if anyone has had time to > play with what's there so far to see what you're thinking about. > > The general idea is to not change anything that is working well. That > means the existing syntax and rules (...mostly) wouldn't change as they > seem to be well thought out and working pretty well. Here are a few > examples to give you a flavor for what I'm thinking about: > > 1) Adding a couple of features which will likely require additional > syntax. Examples: rule pragmas and down the road possibly an error > handling and/or debug semantic action. > > 2) Adding a few new base rules and fixing existing bugs. Examples: the > fromTo rule looks broken to me if you actually attempt to use what it > returns by default and I'm convinced that there really should be a > fromToEnd rule (see what happens currently if you put a comment on the > last line of your rule without a trailing lf... this will be an issue with > any grammar that allows lf-terminated comments. There are numerous > other use cases as well.) > > 3) Generally trying to polish any other rough edges and make things feel > more natural. Example: the [] syntax doesn't behave the way you'd > expect (it's not actually a block, it takes a single expression so you > end up needing to do something like [[] value] for multiple > expressions... ugh. It should be possible to handle both scenarios > pretty easily.) > > 4) There are a couple of optimization rules that OMeta/JS has that > don't appear to have made it to Squeak so I'm planning on adding them. > There are a couple of new ones I think I can add beyond that. > > 5) Doing some work improving debugging and adding parser tracing (if > you've taken a look at OMeta3/Ohm... something similar to that.) While > this wouldn't alter the behavior/functionality of any code you write, it > will likely require changing quite a bit behind the scenes in the core > code to make it work. > > 6) Generally starting to document the code. As is sadly the case with > so much Smalltalk code, there aren't many comments that I've seen... > use the source, Luke! While it's very clean (and clever) code, it > took me a while to figure out what was actually going on so I'd rather > avoid needing to go on that excursion again and plan on writing some > things down. > > 7) Syntax coloring/highlighting in the editor would be great to have. > I've still got some research to do to determine the effort involved. > > What that will mean is that the vast majority of any existing > OMeta/Squeak grammars should work just fine with what I'm planning. > The biggest issue I can think of is if there's a name collision with > one of the rules I add which is unlikely (and easy to resolve.) > However, if you were to write code that expected the behavior some of > my changes would make and go back to the Squeak version of OMeta, you'd > run into problems. (The Squeak version is welcome to use any of my > changes as they see fit, but I'm not committing to keeping in sync with > future changes from it at this time as it seems to be pretty much dead > and I think I'll be moving pretty fast on some this for at least a > while) > > So the first question is what should I call it? I'm thinking OMeta/Cuis > unless there are objections or a better name is suggested. Next, do you > want me to keep the vanilla port that I have currently or should I just > start making my changes on top of it? Finally, are there any other > issues you've run into that I've missed? > > Thanks, > Phil Great. Can't wait to examples Edgar From dnorton at mindspring.com Sun Sep 6 11:46:11 2015 From: dnorton at mindspring.com (Dan Norton) Date: Sun, 06 Sep 2015 12:46:11 -0400 Subject: [Cuis] Cuis-Base Package Message-ID: <55EC6DD3.15922.5C72B1@dnorton.mindspring.com> 'Core-Packages' 1 5 !requires: 'Cuis-Base' 42 2327 nil! which is missing from Cuis 2463. - Dan -------------- next part -------------- An HTML attachment was scrubbed... URL: From Ken.Dickey at whidbey.com Sun Sep 6 15:29:14 2015 From: Ken.Dickey at whidbey.com (Ken.Dickey) Date: Sun, 6 Sep 2015 13:29:14 -0700 Subject: [Cuis] Cuis-Base Package In-Reply-To: <55EC6DD3.15922.5C72B1@dnorton.mindspring.com> References: <55EC6DD3.15922.5C72B1@dnorton.mindspring.com> Message-ID: <20150906132914.30fad3c56d1b443e68c59d94@whidbey.com> On Sun, 06 Sep 2015 12:46:11 -0400 "Dan Norton" wrote: > 'Core-Packages' 1 5 > > !requires: 'Cuis-Base' 42 2327 nil! > > which is missing from Cuis 2463. The base package is Cuis itself. Requiring a (4.2) base with revision 2327 or higher should be fine with (4.2) rev 2463 as 2463 is larger than 2327. What error/message are you seeing which indicates a failed requirement? What is the context? -- -KenD From dnorton at mindspring.com Sun Sep 6 16:48:07 2015 From: dnorton at mindspring.com (Dan Norton) Date: Sun, 06 Sep 2015 17:48:07 -0400 Subject: [Cuis] Cuis-Base Package In-Reply-To: <20150906132914.30fad3c56d1b443e68c59d94@whidbey.com> References: <55EC6DD3.15922.5C72B1@dnorton.mindspring.com>, <20150906132914.30fad3c56d1b443e68c59d94@whidbey.com> Message-ID: <55ECB497.27062.170E518@dnorton.mindspring.com> Ah, no wonder. Are you able to install Core-Packages? I get a VM crash. The dump is attached. After the crash, I was going through the "requires" list of "Core-Packages", trying to load each individually to see which might be the culprit. The first two install, then comes "Cuis-Base" which I could not find. :) - Dan On 6 Sep 2015 at 13:29, Ken.Dickey wrote: > On Sun, 06 Sep 2015 12:46:11 -0400 > "Dan Norton" wrote: > > > 'Core-Packages' 1 5 > > > > !requires: 'Cuis-Base' 42 2327 nil! > > > > which is missing from Cuis 2463. > > The base package is Cuis itself. > > Requiring a (4.2) base with revision 2327 or higher should be fine > with (4.2) rev 2463 as 2463 is larger than 2327. > > What error/message are you seeing which indicates a failed > requirement? What is the context? > > -- > -KenD -------------- next part -------------- A non-text attachment was scrubbed... Name: crash1.zip Type: application/zip Size: 3956 bytes Desc: not available URL: From dnorton at mindspring.com Sun Sep 6 17:14:11 2015 From: dnorton at mindspring.com (Dan Norton) Date: Sun, 06 Sep 2015 18:14:11 -0400 Subject: [Cuis] Cuis-Base Package Message-ID: <55ECBAB3.9336.188C4DC@dnorton.mindspring.com> Attempts to install "Compression" package consistently fail, sometimes with a VM crash and sometimes with MNU. - Dan On 6 Sep 2015 at 17:48, Dan wrote: > Ah, no wonder. Are you able to install Core-Packages? I get a VM > crash. The dump is > attached. > > After the crash, I was going through the "requires" list of > "Core-Packages", trying to load each > individually to see which might be the culprit. The first two > install, then comes "Cuis-Base" > which I could not find. :) > > - Dan > > On 6 Sep 2015 at 13:29, Ken.Dickey wrote: > > > On Sun, 06 Sep 2015 12:46:11 -0400 > > "Dan Norton" wrote: > > > > > 'Core-Packages' 1 5 > > > > > > !requires: 'Cuis-Base' 42 2327 nil! > > > > > > which is missing from Cuis 2463. > > > > The base package is Cuis itself. > > > > Requiring a (4.2) base with revision 2327 or higher should be > fine > > with (4.2) rev 2463 as 2463 is larger than 2327. > > > > What error/message are you seeing which indicates a failed > > requirement? What is the context? > > > > -- > > -KenD > > > > Attachments: > C:\Cog\cogwin-15.33.3427\cogwin\crash1.zip From Ken.Dickey at whidbey.com Sun Sep 6 18:26:34 2015 From: Ken.Dickey at whidbey.com (Ken.Dickey) Date: Sun, 6 Sep 2015 16:26:34 -0700 Subject: [Cuis] Cuis-Base Package In-Reply-To: <55ECB497.27062.170E518@dnorton.mindspring.com> References: <55EC6DD3.15922.5C72B1@dnorton.mindspring.com> <20150906132914.30fad3c56d1b443e68c59d94@whidbey.com> <55ECB497.27062.170E518@dnorton.mindspring.com> Message-ID: <20150906162634.cf64eac3e7d96ff202851bed@whidbey.com> On Sun, 06 Sep 2015 17:48:07 -0400 "Dan Norton" wrote: > .. Are you able to install Core-Packages? I get a VM crash. I am running 2463 without problems on an ARM Chromebook and a Toshiba Intel laptop, both running variants of Linux. I suspect a VM problem. What VM are you running? Try "squeak -version" Here is my Chromebook output: >> squeak -version 4.5-3386 Sat Jun 20 16:20:09 PDT 2015 gcc 4.6.3 [Production VM] StackInterpreter VMMaker.oscog-eem.1370 uuid: 779d3751-cd1b-4882-b870-156bf7da752a Jun 20 2015 VM: r3386 http://www.squeakvm.org/svn/squeak/branches/Cog Date: 2015-06-20 15:42:13 -0700 Plugins: r3347 http://squeakvm.org/svn/squeak/trunk/platforms/Cross/plugins Linux MiniMcStalker 3.12.28+ #709 PREEMPT Mon Sep 8 15:28:00 BST 2014 armv6l GNU/Linux plugin path: /usr/local/bin/../lib/squeak/4.5-3386 [default: /usr/local/lib/squeak/4.5-3386/] You can pick up a new VM at: http://www.mirandabanda.org/files/Cog/VM/ Note that CUIS does NOT yet run on SPUR VMs. -- -KenD From Ken.Dickey at whidbey.com Sun Sep 6 03:33:59 2015 From: Ken.Dickey at whidbey.com (Ken.Dickey) Date: Sun, 6 Sep 2015 16:33:59 +0800 Subject: [Cuis] Cuis-Base Package In-Reply-To: <20150906162634.cf64eac3e7d96ff202851bed@whidbey.com> References: <55EC6DD3.15922.5C72B1@dnorton.mindspring.com> <20150906132914.30fad3c56d1b443e68c59d94@whidbey.com> <55ECB497.27062.170E518@dnorton.mindspring.com> <20150906162634.cf64eac3e7d96ff202851bed@whidbey.com> Message-ID: <20150906163359.43582500db2f66cde4efd563@whidbey.com> On Sun, 6 Sep 2015 16:26:34 -0700 "Ken.Dickey" wrote: > I suspect a VM problem. What VM are you running? Try "squeak -version" Here is the Toshiba/Intel/Linux output. root# squeak -version 4.5-3397 Mon Jul 6 15:10:41 PDT 2015 gcc 4.4.7 [Production ITHB VM] CoInterpreter VMMaker.oscog-eem.1405 uuid: 7aff388a-73ba-4202-bb5a-72b0759ff46b Jul 6 2015 StackToRegisterMappingCogit VMMaker.oscog-eem.1401 uuid: 036f0933-639a-49dd-8a1d-a03bcdcb0a0a Jul 3 2015 VM: r3397 http://www.squeakvm.org/svn/squeak/branches/Cog Date: 2015-07-06 11:56:39 -0700 Plugins: r3347 http://squeakvm.org/svn/squeak/trunk/platforms/Cross/plugins Linux mclinux32 2.6.32-431.el6.i686 #1 SMP Fri Nov 22 00:26:36 UTC 2013 i686 i686 i386 GNU/Linux plugin path: /usr/local/bin/../lib/squeak/4.5-3397 [default: /usr/local/lib/squeak/4.5-3397/] -- -KenD From dnorton at mindspring.com Sun Sep 6 19:19:25 2015 From: dnorton at mindspring.com (Dan Norton) Date: Sun, 06 Sep 2015 20:19:25 -0400 Subject: [Cuis] Cuis-Base Package In-Reply-To: <20150906162634.cf64eac3e7d96ff202851bed@whidbey.com> References: <55EC6DD3.15922.5C72B1@dnorton.mindspring.com>, <55ECB497.27062.170E518@dnorton.mindspring.com>, <20150906162634.cf64eac3e7d96ff202851bed@whidbey.com> Message-ID: <55ECD80D.22968.1FB6ABD@dnorton.mindspring.com> cogwin-15.33.3427 it's the latest one. Ran across this looking for more indented list examples, so it's not holding me back, but I am having trouble deciphering how to speak to HierarchicalListMorph and friends. - Dan On 6 Sep 2015 at 16:26, Ken.Dickey wrote: > On Sun, 06 Sep 2015 17:48:07 -0400 > "Dan Norton" wrote: > > > .. Are you able to install Core-Packages? I get a VM crash. > > I am running 2463 without problems on an ARM Chromebook and a > Toshiba Intel laptop, both running variants of Linux. > > I suspect a VM problem. What VM are you running? Try "squeak > -version" > > Here is my Chromebook output: > > >> squeak -version > 4.5-3386 Sat Jun 20 16:20:09 PDT 2015 gcc 4.6.3 [Production VM] > StackInterpreter VMMaker.oscog-eem.1370 uuid: > 779d3751-cd1b-4882-b870-156bf7da752a Jun 20 2015 > VM: r3386 http://www.squeakvm.org/svn/squeak/branches/Cog Date: > 2015-06-20 15:42:13 -0700 > Plugins: r3347 > http://squeakvm.org/svn/squeak/trunk/platforms/Cross/plugins > Linux MiniMcStalker 3.12.28+ #709 PREEMPT Mon Sep 8 15:28:00 BST > 2014 armv6l GNU/Linux > plugin path: /usr/local/bin/../lib/squeak/4.5-3386 [default: > /usr/local/lib/squeak/4.5-3386/] > > You can pick up a new VM at: > http://www.mirandabanda.org/files/Cog/VM/ > > Note that CUIS does NOT yet run on SPUR VMs. > > -- > -KenD -------------- next part -------------- An HTML attachment was scrubbed... URL: From Ken.Dickey at whidbey.com Mon Sep 7 19:46:45 2015 From: Ken.Dickey at whidbey.com (Ken.Dickey) Date: Tue, 8 Sep 2015 08:46:45 +0800 Subject: [Cuis] Cuis-Base Package In-Reply-To: <55ECD80D.22968.1FB6ABD@dnorton.mindspring.com> References: <55EC6DD3.15922.5C72B1@dnorton.mindspring.com> <55ECB497.27062.170E518@dnorton.mindspring.com> <20150906162634.cf64eac3e7d96ff202851bed@whidbey.com> <55ECD80D.22968.1FB6ABD@dnorton.mindspring.com> Message-ID: <20150908084645.68ce718d7450d684616d77ee@whidbey.com> On Sun, 06 Sep 2015 20:19:25 -0400 "Dan Norton" wrote: > cogwin-15.33.3427 > it's the latest one. You might try an earlier VM version (e.g. 3397,3410) and see if the result is the same. -- -KenD From dnorton at mindspring.com Tue Sep 8 11:56:28 2015 From: dnorton at mindspring.com (Dan Norton) Date: Tue, 08 Sep 2015 12:56:28 -0400 Subject: [Cuis] Implementors of initWithContents:font:emphasis: Message-ID: <55EF133C.28738.74D7CA@dnorton.mindspring.com> Greetings, The following implement #initWithContents:font:emphasis: identically: MinimalStringMorph OneLineEditorMorph StringMorph and they all inherit from: Morph RectangleLikeMorph So, refactoring seems to be in order, maybe by pulling #initWithContents:font:emphasis: up into Morph. What do you think? - Dan From dnorton at mindspring.com Tue Sep 8 11:59:32 2015 From: dnorton at mindspring.com (Dan Norton) Date: Tue, 8 Sep 2015 09:59:32 -0700 (PDT) Subject: [Cuis] Cuis-Base Package In-Reply-To: <20150908084645.68ce718d7450d684616d77ee@whidbey.com> References: <55EC6DD3.15922.5C72B1@dnorton.mindspring.com> <20150906132914.30fad3c56d1b443e68c59d94@whidbey.com> <55ECB497.27062.170E518@dnorton.mindspring.com> <20150906162634.cf64eac3e7d96ff202851bed@whidbey.com> <55ECD80D.22968.1FB6ABD@dnorton.mindspring.com> <20150908084645.68ce718d7450d684616d77ee@whidbey.com> Message-ID: <1441731572845-4848883.post@n4.nabble.com> It installed without problems in the past. Not sure which Cog version tho. - Dan -- View this message in context: http://forum.world.st/Cuis-Base-Package-tp4848441p4848883.html Sent from the Cuis Smalltalk mailing list archive at Nabble.com. From hannes.hirzel at gmail.com Tue Sep 8 12:24:25 2015 From: hannes.hirzel at gmail.com (H. Hirzel) Date: Tue, 8 Sep 2015 19:24:25 +0200 Subject: [Cuis] Implementors of initWithContents:font:emphasis: In-Reply-To: <55EF133C.28738.74D7CA@dnorton.mindspring.com> References: <55EF133C.28738.74D7CA@dnorton.mindspring.com> Message-ID: Hi Dan No. The three morphs you mention all have instance variables font emphasis whereas the sibling morphs do not have these variables neither does Morph. So the reason of not doing it is that we do not want these instance variables to be in the other Morphs where they are not used. --Hannes On 9/8/15, Dan Norton wrote: > Greetings, > > The following implement #initWithContents:font:emphasis: identically: > > MinimalStringMorph > OneLineEditorMorph > StringMorph > > and they all inherit from: > > Morph > RectangleLikeMorph > > So, refactoring seems to be in order, maybe by pulling > #initWithContents:font:emphasis: up > into Morph. What do you think? > > - Dan > > _______________________________________________ > Cuis mailing list > Cuis at jvuletich.org > http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org > From dnorton at mindspring.com Tue Sep 8 16:08:59 2015 From: dnorton at mindspring.com (Dan Norton) Date: Tue, 08 Sep 2015 17:08:59 -0400 Subject: [Cuis] Implementors of initWithContents:font:emphasis: In-Reply-To: References: <55EF133C.28738.74D7CA@dnorton.mindspring.com>, Message-ID: <55EF4E6B.15771.15C08FC@dnorton.mindspring.com> Hi Hannes, I get it. There are lots of sibling morphs. RectangleMorph doesn't need font or emphasis for sure. And, adding a class to the hierarchy simply to contain the method would not be desirable either. Geez who came up with this idea, anyway? - Dan On 8 Sep 2015 at 19:24, H. Hirzel wrote: > Hi Dan > > No. The three morphs you mention all have instance variables > > font emphasis > > whereas the sibling morphs do not have these variables neither does > Morph. > > So the reason of not doing it is that we do not want these > instance > variables to be in the other Morphs where they are not used. > > --Hannes > > > On 9/8/15, Dan Norton wrote: > > Greetings, > > > > The following implement #initWithContents:font:emphasis: > identically: > > > > MinimalStringMorph > > OneLineEditorMorph > > StringMorph > > > > and they all inherit from: > > > > Morph > > RectangleLikeMorph > > > > So, refactoring seems to be in order, maybe by pulling > > #initWithContents:font:emphasis: up > > into Morph. What do you think? > > > > - Dan > > > > _______________________________________________ > > Cuis mailing list > > Cuis at jvuletich.org > > http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org > > > > _______________________________________________ > Cuis mailing list > Cuis at jvuletich.org > http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org -------------- next part -------------- An HTML attachment was scrubbed... URL: From juan at jvuletich.org Wed Sep 9 17:19:25 2015 From: juan at jvuletich.org (Juan Vuletich) Date: Wed, 09 Sep 2015 19:19:25 -0300 Subject: [Cuis] Cuis-Base Package In-Reply-To: <55ECD80D.22968.1FB6ABD@dnorton.mindspring.com> References: <55EC6DD3.15922.5C72B1@dnorton.mindspring.com>, <55ECB497.27062.170E518@dnorton.mindspring.com>, <20150906162634.cf64eac3e7d96ff202851bed@whidbey.com> <55ECD80D.22968.1FB6ABD@dnorton.mindspring.com> Message-ID: <55F0B06D.3070209@jvuletich.org> Hi folks, I get the same crash when loading Compression if I use Cog 3410 or 3427. I don't get the crash if I use 3397. But this version had another issue, when using AndreasSystemProfiler. I'd say we need to use 3370 or earlier. I'll ask Eliot to take a look. Thanks, Juan Vuletich On 9/6/2015 9:19 PM, Dan Norton wrote: > > cogwin-15.33.3427 > > it's the latest one. Ran across this looking for more indented list > examples, so it's not holding me back, but I am having trouble > deciphering how to speak to HierarchicalListMorph and friends. > > > - Dan > > > On 6 Sep 2015 at 16:26, Ken.Dickey wrote: > > > On Sun, 06 Sep 2015 17:48:07 -0400 > > "Dan Norton" wrote: > > > > > .. Are you able to install Core-Packages? I get a VM crash. > > > > I am running 2463 without problems on an ARM Chromebook and a > > Toshiba Intel laptop, both running variants of Linux. > > > > I suspect a VM problem. What VM are you running? Try "squeak > > -version" > > > > Here is my Chromebook output: > > > > >> squeak -version > > 4.5-3386 Sat Jun 20 16:20:09 PDT 2015 gcc 4.6.3 [Production VM] > > StackInterpreter VMMaker.oscog-eem.1370 uuid: > > 779d3751-cd1b-4882-b870-156bf7da752a Jun 20 2015 > > VM: r3386 http://www.squeakvm.org/svn/squeak/branches/Cog Date: > > 2015-06-20 15:42:13 -0700 > > Plugins: r3347 > > http://squeakvm.org/svn/squeak/trunk/platforms/Cross/plugins > > Linux MiniMcStalker 3.12.28+ #709 PREEMPT Mon Sep 8 15:28:00 BST > > 2014 armv6l GNU/Linux > > plugin path: /usr/local/bin/../lib/squeak/4.5-3386 [default: > > /usr/local/lib/squeak/4.5-3386/] > > > > You can pick up a new VM at: > > http://www.mirandabanda.org/files/Cog/VM/ > > > > Note that CUIS does NOT yet run on SPUR VMs. > > > > -- > > -KenD > > > _______________________________________________ > Cuis mailing list > Cuis at jvuletich.org > http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org -------------- next part -------------- An HTML attachment was scrubbed... URL: From dnorton at mindspring.com Wed Sep 9 20:59:03 2015 From: dnorton at mindspring.com (Dan Norton) Date: Wed, 09 Sep 2015 21:59:03 -0400 Subject: [Cuis] Class Comment Browser Message-ID: <55F0E3E7.9240.F68663@dnorton.mindspring.com> Announcing a browser for certain class comments. The classes have names containing: Pluggable Morphic Morph and appear in a hierarchical list categorized as above. From the popup menu you can open the regular browsers on: Class Hierarchy Full Protocol The package is at: https://github.com/dhnorton/Cuis-Smalltalk-morphs - Dan From juan at jvuletich.org Wed Sep 9 21:12:29 2015 From: juan at jvuletich.org (Juan Vuletich) Date: Wed, 09 Sep 2015 23:12:29 -0300 Subject: [Cuis] Updates on GitHub Message-ID: <55F0E70D.30209@jvuletich.org> Hi Folks, I've just commited to GitHub. Biggest news is a new OpenCL package, originally for Squeak by Josh Gargus. Thanks Josh! Within some misc fixes and enhancements, there is cool stuff by Ken, Duncan, Dan and Masashi. Thank you all folks! Cheers, Juan Vuletich From dnorton at mindspring.com Fri Sep 11 09:40:30 2015 From: dnorton at mindspring.com (Dan Norton) Date: Fri, 11 Sep 2015 10:40:30 -0400 Subject: [Cuis] Class Comment Browser In-Reply-To: <20150911073112.3f21bb65283f3a3e4aa211b0@whidbey.com> References: <55F0E3E7.9240.F68663@dnorton.mindspring.com>, <20150911073112.3f21bb65283f3a3e4aa211b0@whidbey.com> Message-ID: <55F2E7DE.18780.18C37D@dnorton.mindspring.com> Hi Ken, Thanks, glad to hear it. A search capability has been added which I hope will help. - Dan On 11 Sep 2015 at 7:31, Ken.Dickey wrote: > On Wed, 09 Sep 2015 21:59:03 -0400 > "Dan Norton" wrote: > > > Announcing a browser for certain class comments. .. > > Dan. Finally got a chance to take a look. > > Very helpful! > > Thanks, > -KenD From dnorton at mindspring.com Fri Sep 11 11:19:19 2015 From: dnorton at mindspring.com (Dan Norton) Date: Fri, 11 Sep 2015 12:19:19 -0400 Subject: [Cuis] Effect of Cursor Movement Message-ID: <55F2FF07.16923.7339F5@dnorton.mindspring.com> Hello, To see this, Bring up BouncingAtomsMorph, enlarge the window, set a high atoms count so that you can easily sense atom movement. Notice how movement speeds up when the cursor is moved and slows when it stops? Turn on FPS. On my machine, frame rate is about 22 with no cursor movement and increases to around 36 when the cursor is moving. The cursor does not have to be in the window. It can be anywhere. Why should that be? It may not be a problem, but it is a curiosity. Any explanation? BTW this is Win7, cogwin-15.33.3427, Cuis 2478. - Dan From juan at jvuletich.org Fri Sep 11 11:24:26 2015 From: juan at jvuletich.org (Juan Vuletich) Date: Fri, 11 Sep 2015 13:24:26 -0300 Subject: [Cuis] Class Comment Browser In-Reply-To: <55F2E7DE.18780.18C37D@dnorton.mindspring.com> References: <55F0E3E7.9240.F68663@dnorton.mindspring.com>, <20150911073112.3f21bb65283f3a3e4aa211b0@whidbey.com> <55F2E7DE.18780.18C37D@dnorton.mindspring.com> Message-ID: <55F3003A.8080403@jvuletich.org> Very nice, Dan! Thank you! It would be nice to make this an optional package, like TerseGuide, and referenced from there! Cheers, Juan Vuletich On 9/11/2015 11:40 AM, Dan Norton wrote: > Hi Ken, > > Thanks, glad to hear it. A search capability has been added which I hope will help. > > - Dan > > On 11 Sep 2015 at 7:31, Ken.Dickey wrote: > >> On Wed, 09 Sep 2015 21:59:03 -0400 >> "Dan Norton" wrote: >> >>> Announcing a browser for certain class comments. .. >> Dan. Finally got a chance to take a look. >> >> Very helpful! >> >> Thanks, >> -KenD > > > _______________________________________________ > Cuis mailing list > Cuis at jvuletich.org > http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org > From juan at jvuletich.org Fri Sep 11 11:57:06 2015 From: juan at jvuletich.org (Juan Vuletich) Date: Fri, 11 Sep 2015 13:57:06 -0300 Subject: [Cuis] Effect of Cursor Movement In-Reply-To: <55F2FF07.16923.7339F5@dnorton.mindspring.com> References: <55F2FF07.16923.7339F5@dnorton.mindspring.com> Message-ID: <55F307E2.4040706@jvuletich.org> Hi Dan, (below) On 9/11/2015 1:19 PM, Dan Norton wrote: > Hello, > > To see this, Bring up BouncingAtomsMorph, enlarge the window, set a high atoms count so > that you can easily sense atom movement. > > Notice how movement speeds up when the cursor is moved and slows when it stops? Turn > on FPS. On my machine, frame rate is about 22 with no cursor movement and increases to > around 36 when the cursor is moving. The cursor does not have to be in the window. It can > be anywhere. > > Why should that be? It may not be a problem, but it is a curiosity. Any explanation? > > BTW this is Win7, cogwin-15.33.3427, Cuis 2478. > > - Dan Haven't even taken a look, so if I did maybe I would find something else... but for sure Cuis is triggering MouseMoveEvents, and looking for possible interested parties. That, on each Morphic cycle. So, each Morphic cycle might take a bit longer, and FPS can go a bit down. In any case, if you are curious, you can take a closer look. Often, questions like this lead to possible optimizations! Cheers, Juan Vuletich From dnorton at mindspring.com Sat Sep 12 10:57:52 2015 From: dnorton at mindspring.com (Dan Norton) Date: Sat, 12 Sep 2015 11:57:52 -0400 Subject: [Cuis] Class Comment Browser In-Reply-To: <55F3003A.8080403@jvuletich.org> References: <55F0E3E7.9240.F68663@dnorton.mindspring.com>, <55F2E7DE.18780.18C37D@dnorton.mindspring.com>, <55F3003A.8080403@jvuletich.org> Message-ID: <55F44B80.2759.563045@dnorton.mindspring.com> OK, the browser is attached. It has a new home until it is added to Cuis Packages: https://github.com/dhnorton/Cuis-Smalltalk-comments The list has been cleaned up and expanded. Search on class names has been added. - Dan On 11 Sep 2015 at 13:24, Juan Vuletich wrote: > Very nice, Dan! Thank you! > > It would be nice to make this an optional package, like TerseGuide, > and > referenced from there! > > Cheers, > Juan Vuletich > > On 9/11/2015 11:40 AM, Dan Norton wrote: > > Hi Ken, > > > > Thanks, glad to hear it. A search capability has been added which > I hope will help. > > > > - Dan > > > > On 11 Sep 2015 at 7:31, Ken.Dickey wrote: > > > >> On Wed, 09 Sep 2015 21:59:03 -0400 > >> "Dan Norton" wrote: > >> > >>> Announcing a browser for certain class comments. .. > >> Dan. Finally got a chance to take a look. > >> > >> Very helpful! > >> > >> Thanks, > >> -KenD > > > > > > _______________________________________________ > > Cuis mailing list > > Cuis at jvuletich.org > > http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org > > > -------------- next part -------------- A non-text attachment was scrubbed... Name: ClassCommentBrowser.pck.zip Type: application/zip Size: 2988 bytes Desc: not available URL: From dnorton at mindspring.com Sat Sep 12 11:53:39 2015 From: dnorton at mindspring.com (Dan Norton) Date: Sat, 12 Sep 2015 12:53:39 -0400 Subject: [Cuis] Class Comment Browser Message-ID: <55F45893.23266.894184@dnorton.mindspring.com> Stepped on 'search' (sigh). Try the attached instead. - Dan On 12 Sep 2015 at 11:58, Dan wrote: > OK, the browser is attached. It has a new home until it is added to > Cuis Packages: > > https://github.com/dhnorton/Cuis-Smalltalk-comments > > The list has been cleaned up and expanded. Search on class names has > been added. > > - Dan > > On 11 Sep 2015 at 13:24, Juan Vuletich wrote: > > > Very nice, Dan! Thank you! > > > > It would be nice to make this an optional package, like > TerseGuide, > > and > > referenced from there! > > > > Cheers, > > Juan Vuletich > > > > On 9/11/2015 11:40 AM, Dan Norton wrote: > > > Hi Ken, > > > > > > Thanks, glad to hear it. A search capability has been added > which > > I hope will help. > > > > > > - Dan > > > > > > On 11 Sep 2015 at 7:31, Ken.Dickey wrote: > > > > > >> On Wed, 09 Sep 2015 21:59:03 -0400 > > >> "Dan Norton" wrote: > > >> > > >>> Announcing a browser for certain class comments. .. > > >> Dan. Finally got a chance to take a look. > > >> > > >> Very helpful! > > >> > > >> Thanks, > > >> -KenD > > > > > > > > > _______________________________________________ > > > Cuis mailing list > > > Cuis at jvuletich.org > > > http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org > > > > > > > > > Attachments: > > C:\Cuis\Comments\Cuis-Smalltalk-comments\ClassCommentBrowser.pck.zip -------------- next part -------------- A non-text attachment was scrubbed... Name: ClassCommentBrowser.pck.zip Type: application/zip Size: 3042 bytes Desc: not available URL: From Ken.Dickey at whidbey.com Sat Sep 12 20:36:58 2015 From: Ken.Dickey at whidbey.com (Ken.Dickey) Date: Sat, 12 Sep 2015 18:36:58 -0700 Subject: [Cuis] Updates on GitHub In-Reply-To: <55F0E70D.30209@jvuletich.org> References: <55F0E70D.30209@jvuletich.org> Message-ID: <20150912183658.07bbefafa76422d0fc9790e7@whidbey.com> On Wed, 09 Sep 2015 23:12:29 -0300 Juan Vuletich wrote: > I've just commited to GitHub. Biggest news is a new OpenCL package, > originally for Squeak by Josh Gargus. Thanks Josh! FYI, The OpenCL unit tests, Blur and JuliaSet examples work on a SAMSUNG ARM Chromebook. Apple Copy Benchmark reports VM lacks AndreasSystemProfiler prims. Deformation Grid Example reports: 'failed to enqueue kernel for execution' Let me know if there is anything else you want me to poke. ;^) Cheers, -KenD From dnorton at mindspring.com Sun Sep 13 14:42:09 2015 From: dnorton at mindspring.com (Dan Norton) Date: Sun, 13 Sep 2015 15:42:09 -0400 Subject: [Cuis] (Fwd) Re: Class Comment Browser Message-ID: <55F5D191.32653.B8C66D@dnorton.mindspring.com> Added color to the window and flashed the list if a search comes up empty. Package attached. - Dan ------- Forwarded message follows ------- From: Dan Norton To: cuis at jvuletich.org Subject: Re: [Cuis] Class Comment Browser Date sent: Sat, 12 Sep 2015 12:53:40 -0400 Stepped on 'search' (sigh). Try the attached instead. - Dan On 12 Sep 2015 at 11:58, Dan wrote: > OK, the browser is attached. It has a new home until it is added to > Cuis Packages: > > https://github.com/dhnorton/Cuis-Smalltalk-comments > > The list has been cleaned up and expanded. Search on class names has > been added. > > - Dan > > On 11 Sep 2015 at 13:24, Juan Vuletich wrote: > > > Very nice, Dan! Thank you! > > > > It would be nice to make this an optional package, like > TerseGuide, > > and > > referenced from there! > > > > Cheers, > > Juan Vuletich > > > > On 9/11/2015 11:40 AM, Dan Norton wrote: > > > Hi Ken, > > > > > > Thanks, glad to hear it. A search capability has been added > which > > I hope will help. > > > > > > - Dan > > > > > > On 11 Sep 2015 at 7:31, Ken.Dickey wrote: > > > > > >> On Wed, 09 Sep 2015 21:59:03 -0400 > > >> "Dan Norton" wrote: > > >> > > >>> Announcing a browser for certain class comments. .. > > >> Dan. Finally got a chance to take a look. > > >> > > >> Very helpful! > > >> > > >> Thanks, > > >> -KenD > > > > > > > > > _______________________________________________ > > > Cuis mailing list > > > Cuis at jvuletich.org > > > http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org > > > > > > > > > Attachments: > > C:\Cuis\Comments\Cuis-Smalltalk-comments\ClassCommentBrowser.pck.zip Attachments: C:\Cuis\Comments\Cuis-Smalltalk-comments\ClassCommentBrowser.pck.zip ------- End of forwarded message ------- -------------- next part -------------- A non-text attachment was scrubbed... Name: ClassCommentBrowser.pck.zip Type: application/zip Size: 3086 bytes Desc: not available URL: From juan at jvuletich.org Tue Sep 15 09:08:27 2015 From: juan at jvuletich.org (Juan Vuletich) Date: Tue, 15 Sep 2015 11:08:27 -0300 Subject: [Cuis] Updates on GitHub In-Reply-To: <20150912183658.07bbefafa76422d0fc9790e7@whidbey.com> References: <55F0E70D.30209@jvuletich.org> <20150912183658.07bbefafa76422d0fc9790e7@whidbey.com> Message-ID: <55F8265B.6020304@jvuletich.org> On 9/12/2015 10:36 PM, Ken.Dickey wrote: > On Wed, 09 Sep 2015 23:12:29 -0300 > Juan Vuletich wrote: > >> I've just commited to GitHub. Biggest news is a new OpenCL package, >> originally for Squeak by Josh Gargus. Thanks Josh! > FYI, The OpenCL unit tests, Blur and JuliaSet examples work on a SAMSUNG ARM Chromebook. > > Apple Copy Benchmark reports VM lacks AndreasSystemProfiler prims. > > Deformation Grid Example reports: 'failed to enqueue kernel for execution' > > Let me know if there is anything else you want me to poke. ;^) > > Cheers, > -KenD Thanks Ken. It is nice to know it works on the Chromebook! Is it running Chrome OS? Which VM? AndreasSystemProfiler prims are just for that, profiling. No direct relation with OpenCL. Deformation Grid Example doesn't work (yet) on my machines either! This is pretty early stuff. If you (or anybody) has interest in learning OpenCL, it is there for you to play with. OpenCL is extremely powerful, and using it from Cuis is surprisingly simple. I mean, it is quite free from extra complexity, such as trouble to get tools setup, and examples running. Programming in OpenCL is far from trivial, although the programming model is quite good and well thought. Cheers, Juan Vuletich From juan at jvuletich.org Tue Sep 15 09:10:00 2015 From: juan at jvuletich.org (Juan Vuletich) Date: Tue, 15 Sep 2015 11:10:00 -0300 Subject: [Cuis] (Fwd) Re: Class Comment Browser In-Reply-To: <55F5D191.32653.B8C66D@dnorton.mindspring.com> References: <55F5D191.32653.B8C66D@dnorton.mindspring.com> Message-ID: <55F826B8.1070508@jvuletich.org> Thanks Dan, This is cool. Should we add it to /packages? What do you all think? Cheers, Juan Vuletich On 9/13/2015 4:42 PM, Dan Norton wrote: > Added color to the window and flashed the list if a search comes up empty. > Package attached. > > - Dan > ------- Forwarded message follows ------- > From: Dan Norton > To: cuis at jvuletich.org > Subject: Re: [Cuis] Class Comment Browser > Date sent: Sat, 12 Sep 2015 12:53:40 -0400 > > > Stepped on 'search' (sigh). Try the attached instead. > > - Dan > > On 12 Sep 2015 at 11:58, Dan wrote: > >> OK, the browser is attached. It has a new home until it is added > to >> Cuis Packages: >> >> https://github.com/dhnorton/Cuis-Smalltalk-comments >> >> The list has been cleaned up and expanded. Search on class names > has >> been added. >> >> - Dan >> >> On 11 Sep 2015 at 13:24, Juan Vuletich wrote: >> >>> Very nice, Dan! Thank you! >>> >>> It would be nice to make this an optional package, like >> TerseGuide, >>> and >>> referenced from there! >>> >>> Cheers, >>> Juan Vuletich >>> >>> On 9/11/2015 11:40 AM, Dan Norton wrote: >>>> Hi Ken, >>>> >>>> Thanks, glad to hear it. A search capability has been added >> which >>> I hope will help. >>>> - Dan >>>> >>>> On 11 Sep 2015 at 7:31, Ken.Dickey wrote: >>>> >>>>> On Wed, 09 Sep 2015 21:59:03 -0400 >>>>> "Dan Norton" wrote: >>>>> >>>>>> Announcing a browser for certain class comments. .. >>>>> Dan. Finally got a chance to take a look. >>>>> >>>>> Very helpful! >>>>> >>>>> Thanks, >>>>> -KenD >>>> >>>> _______________________________________________ >>>> Cuis mailing list >>>> Cuis at jvuletich.org >>>> http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org >>>> >> >> >> Attachments: >> >> > C:\Cuis\Comments\Cuis-Smalltalk-comments\ClassCommentBrowser.pck.zip > > > > Attachments: > > C:\Cuis\Comments\Cuis-Smalltalk-comments\ClassCommentBrowser.pck.zip > ------- End of forwarded message ------- > > > > _______________________________________________ > Cuis mailing list > Cuis at jvuletich.org > http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org -------------- next part -------------- An HTML attachment was scrubbed... URL: From Ken.Dickey at whidbey.com Tue Sep 15 09:46:52 2015 From: Ken.Dickey at whidbey.com (Ken.Dickey) Date: Tue, 15 Sep 2015 07:46:52 -0700 Subject: [Cuis] (Fwd) Re: Class Comment Browser In-Reply-To: <55F826B8.1070508@jvuletich.org> References: <55F5D191.32653.B8C66D@dnorton.mindspring.com> <55F826B8.1070508@jvuletich.org> Message-ID: <20150915074652.13f748ae545f10b6d03ea701@whidbey.com> On Tue, 15 Sep 2015 11:10:00 -0300 Juan Vuletich wrote: > This is cool. Should we add it to /packages? What do you all think? I find it useful. -- -KenD From Ken.Dickey at whidbey.com Tue Sep 15 10:10:23 2015 From: Ken.Dickey at whidbey.com (Ken.Dickey) Date: Tue, 15 Sep 2015 08:10:23 -0700 Subject: [Cuis] Updates on GitHub In-Reply-To: <55F8265B.6020304@jvuletich.org> References: <55F0E70D.30209@jvuletich.org> <20150912183658.07bbefafa76422d0fc9790e7@whidbey.com> <55F8265B.6020304@jvuletich.org> Message-ID: <20150915081023.ac6ed586a20db7a36c68a9b2@whidbey.com> On Tue, 15 Sep 2015 11:08:27 -0300 Juan Vuletich wrote: > Thanks Ken. It is nice to know it works on the Chromebook! Is it running > Chrome OS? Which VM? Same as Cuis: Ubuntu trusty via Crouton. >> uname -a Linux localhost 3.8.11 #1 SMP Mon Aug 31 19:45:33 PDT 2015 armv7l armv7l armv7l GNU/Linux Note that the OpenCL/OpenGLES driver mods need to be loaded: http://drinkcat.blogspot.com/2013/11/opencl-on-samsung-chromebook-arm-under.html Thanks agan to all, -KenD From Ken.Dickey at whidbey.com Tue Sep 15 10:19:29 2015 From: Ken.Dickey at whidbey.com (Ken.Dickey) Date: Tue, 15 Sep 2015 08:19:29 -0700 Subject: [Cuis] Updates on GitHub In-Reply-To: <55F8265B.6020304@jvuletich.org> References: <55F0E70D.30209@jvuletich.org> <20150912183658.07bbefafa76422d0fc9790e7@whidbey.com> <55F8265B.6020304@jvuletich.org> Message-ID: <20150915081929.68b2fb8b363cd96c99a0587a@whidbey.com> On Tue, 15 Sep 2015 11:08:27 -0300 Juan Vuletich wrote: > Thanks Ken. It is nice to know it works on the Chromebook! Is it running > Chrome OS? Which VM? Ah. A Cog VM. >> squeak -version 4.5-3386 Sat Jun 20 16:20:09 PDT 2015 gcc 4.6.3 [Production VM] StackInterpreter VMMaker.oscog-eem.1370 uuid: 779d3751-cd1b-4882-b870-156bf7da752a Jun 20 2015 VM: r3386 http://www.squeakvm.org/svn/squeak/branches/Cog Date: 2015-06-20 15:42:13 -0700 Plugins: r3347 http://squeakvm.org/svn/squeak/trunk/platforms/Cross/plugins Linux MiniMcStalker 3.12.28+ #709 PREEMPT Mon Sep 8 15:28:00 BST 2014 armv6l GNU/Linux plugin path: /usr/local/bin/../lib/squeak/4.5-3386 [default: /usr/local/lib/squeak/4.5-3386/] -- -KenD From dnorton at mindspring.com Wed Sep 16 19:12:33 2015 From: dnorton at mindspring.com (Dan Norton) Date: Wed, 16 Sep 2015 20:12:33 -0400 Subject: [Cuis] Class Comment Browser In-Reply-To: <55F826B8.1070508@jvuletich.org> References: <55F5D191.32653.B8C66D@dnorton.mindspring.com>, <55F826B8.1070508@jvuletich.org> Message-ID: <55FA0571.2055.2041AE9@dnorton.mindspring.com> Hello all, By using this browser, you become aware of Cuis classes you may have overlooked. It reveals relationships among classes, beyond hierarchy. It may inspire revision of some class comments :-) The latest on gitHub: https://github.com/dhnorton/Cuis-Smalltalk-comments covers all classes, searches class names, and searches class comments from the root or from a leaf. I think this latest should be in /packages. I confess an author's bias :-) - Dan On 15 Sep 2015 at 11:10, Juan Vuletich wrote: > > Thanks Dan, > > This is cool. Should we add it to /packages? What do you all > think? > > Cheers, > Juan Vuletich > > On 9/13/2015 4:42 PM, Dan Norton wrote: > > Added color to the window and flashed the list if a search comes > up empty. > Package attached. > > - Dan > ------- Forwarded message follows ------- > From: Dan Norton > To: cuis at jvuletich.org > Subject: Re: [Cuis] Class Comment Browser > Date sent: Sat, 12 Sep 2015 12:53:40 -0400 > > > Stepped on 'search' (sigh). Try the attached instead. > > - Dan > > On 12 Sep 2015 at 11:58, Dan wrote: > > > > OK, the browser is attached. It has a new home until it is > added > > > to > > > Cuis Packages: > > https://github.com/dhnorton/Cuis-Smalltalk-comments > > The list has been cleaned up and expanded. Search on class > names > > > has > > > been added. > > - Dan > > On 11 Sep 2015 at 13:24, Juan Vuletich wrote: > > > > Very nice, Dan! Thank you! > > It would be nice to make this an optional package, like > > > TerseGuide, > > > and > referenced from there! > > Cheers, > Juan Vuletich > > On 9/11/2015 11:40 AM, Dan Norton wrote: > > > Hi Ken, > > Thanks, glad to hear it. A search capability has been added > > > which > > > I hope will help. > > > - Dan > > On 11 Sep 2015 at 7:31, Ken.Dickey wrote: > > > > On Wed, 09 Sep 2015 21:59:03 -0400 > "Dan Norton" wrote: > > > > Announcing a browser for certain class comments. .. > > > Dan. Finally got a chance to take a look. > > Very helpful! > > Thanks, > -KenD > > > > _______________________________________________ > Cuis mailing list > Cuis at jvuletich.org > http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org > > > > > > > > Attachments: > > > > > > C:\Cuis\Comments\Cuis-Smalltalk-comments\ClassCommentBrowser.pck.zip > > > > Attachments: > > > C:\Cuis\Comments\Cuis-Smalltalk-comments\ClassCommentBrowser.pck.zip > ------- End of forwarded message ------- > > > > > > > _______________________________________________ > Cuis mailing list > Cuis at jvuletich.org > http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org > > From juan at jvuletich.org Sat Sep 19 19:11:38 2015 From: juan at jvuletich.org (Juan Vuletich) Date: Sat, 19 Sep 2015 21:11:38 -0300 Subject: [Cuis] Class Comment Browser In-Reply-To: <55FA0571.2055.2041AE9@dnorton.mindspring.com> References: <55F5D191.32653.B8C66D@dnorton.mindspring.com>, <55F826B8.1070508@jvuletich.org> <55FA0571.2055.2041AE9@dnorton.mindspring.com> Message-ID: <55FDF9BA.1030901@jvuletich.org> Thanks Dan. It is now @ GitHub! Cheers, Juan Vuletich On 9/16/2015 9:12 PM, Dan Norton wrote: > Hello all, > > By using this browser, you become aware of Cuis classes you may have overlooked. It > reveals relationships among classes, beyond hierarchy. It may inspire revision of some class > comments :-) > > The latest on gitHub: > > https://github.com/dhnorton/Cuis-Smalltalk-comments > > covers all classes, searches class names, and searches class comments from the root or > from a leaf. I think this latest should be in /packages. I confess an author's bias :-) > > - Dan > > On 15 Sep 2015 at 11:10, Juan Vuletich wrote: > >> Thanks Dan, >> >> This is cool. Should we add it to /packages? What do you all >> think? >> >> Cheers, >> Juan Vuletich >> >> On 9/13/2015 4:42 PM, Dan Norton wrote: >> >> Added color to the window and flashed the list if a search comes >> up empty. >> Package attached. >> >> - Dan >> ------- Forwarded message follows ------- >> From: Dan Norton >> To: cuis at jvuletich.org >> Subject: Re: [Cuis] Class Comment Browser >> Date sent: Sat, 12 Sep 2015 12:53:40 -0400 >> >> >> Stepped on 'search' (sigh). Try the attached instead. >> >> - Dan >> >> On 12 Sep 2015 at 11:58, Dan wrote: >> >> >> >> OK, the browser is attached. It has a new home until it is >> added >> >> >> to >> >> >> Cuis Packages: >> >> https://github.com/dhnorton/Cuis-Smalltalk-comments >> >> The list has been cleaned up and expanded. Search on class >> names >> >> >> has >> >> >> been added. >> >> - Dan >> >> On 11 Sep 2015 at 13:24, Juan Vuletich wrote: >> >> >> >> Very nice, Dan! Thank you! >> >> It would be nice to make this an optional package, like >> >> >> TerseGuide, >> >> >> and >> referenced from there! >> >> Cheers, >> Juan Vuletich >> >> On 9/11/2015 11:40 AM, Dan Norton wrote: >> >> >> Hi Ken, >> >> Thanks, glad to hear it. A search capability has been added >> >> >> which >> >> >> I hope will help. >> >> >> - Dan >> >> On 11 Sep 2015 at 7:31, Ken.Dickey wrote: >> >> >> >> On Wed, 09 Sep 2015 21:59:03 -0400 >> "Dan Norton" wrote: >> >> >> >> Announcing a browser for certain class comments. .. >> >> >> Dan. Finally got a chance to take a look. >> >> Very helpful! >> >> Thanks, >> -KenD >> >> >> >> _______________________________________________ >> Cuis mailing list >> Cuis at jvuletich.org >> http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org >> >> >> >> >> >> >> >> Attachments: >> >> >> >> >> >> C:\Cuis\Comments\Cuis-Smalltalk-comments\ClassCommentBrowser.pck.zip >> >> >> >> Attachments: >> >> >> C:\Cuis\Comments\Cuis-Smalltalk-comments\ClassCommentBrowser.pck.zip >> ------- End of forwarded message ------- >> >> >> >> >> >> >> _______________________________________________ >> Cuis mailing list >> Cuis at jvuletich.org >> http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org >> >> > > > _______________________________________________ > Cuis mailing list > Cuis at jvuletich.org > http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org > From dnorton at mindspring.com Sun Sep 20 10:43:28 2015 From: dnorton at mindspring.com (Dan Norton) Date: Sun, 20 Sep 2015 11:43:28 -0400 Subject: [Cuis] Terse Guide to Cuis Message-ID: <55FED420.30690.E6CA64@dnorton.mindspring.com> Regarding the "Better openTerseGuide menu option": Neat. Thanks, Ken. This is definitely better. - Dan -------------- next part -------------- An HTML attachment was scrubbed... URL: From Ken.Dickey at whidbey.com Sun Sep 20 17:46:40 2015 From: Ken.Dickey at whidbey.com (Ken.Dickey) Date: Sun, 20 Sep 2015 15:46:40 -0700 Subject: [Cuis] Terse Guide to Cuis In-Reply-To: <55FED420.30690.E6CA64@dnorton.mindspring.com> References: <55FED420.30690.E6CA64@dnorton.mindspring.com> Message-ID: <20150920154640.e0231760da083e263fdba4f0@whidbey.com> On Sun, 20 Sep 2015 11:43:28 -0400 "Dan Norton" wrote: > Regarding the "Better openTerseGuide menu option": Neat. Thanks, Ken. Glad you approve. -- -KenD From avalloud at smalltalk.comcastbiz.net Sun Sep 20 19:53:35 2015 From: avalloud at smalltalk.comcastbiz.net (Andres Valloud) Date: Sun, 20 Sep 2015 17:53:35 -0700 Subject: [Cuis] Table data morphic widget Message-ID: <55FF550F.3000709@smalltalk.comcastbiz.net> Hello... I'm looking for a table data morphic widget. Does anyone have one of those? Or, did I miss one already in the image? Basically I need to display row-type data where each column may be of different nature (such as strings, or numbers, etc). Critically, selecting any of the columns in a row should select the entire row. Andres. From garduino at gmail.com Sun Sep 20 20:34:26 2015 From: garduino at gmail.com (=?UTF-8?Q?Germ=C3=A1n_Arduino?=) Date: Sun, 20 Sep 2015 22:34:26 -0300 Subject: [Cuis] Table data morphic widget In-Reply-To: <55FF550F.3000709@smalltalk.comcastbiz.net> References: <55FF550F.3000709@smalltalk.comcastbiz.net> Message-ID: Hi Andres: I do not saw nothing as you comment in Cuis but I remember in the Squeak package ODBC Enhanced a sort of morphic grid. Cheers. Saludos / Regards, Germ?n Arduino @garduino 2015-09-20 21:53 GMT-03:00 Andres Valloud : > Hello... I'm looking for a table data morphic widget. Does anyone have > one of those? Or, did I miss one already in the image? Basically I need > to display row-type data where each column may be of different nature (such > as strings, or numbers, etc). Critically, selecting any of the columns in > a row should select the entire row. > > Andres. > > _______________________________________________ > Cuis mailing list > Cuis at jvuletich.org > http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dnorton at mindspring.com Sun Sep 20 21:07:44 2015 From: dnorton at mindspring.com (Dan Norton) Date: Sun, 20 Sep 2015 22:07:44 -0400 Subject: [Cuis] Table data morphic widget In-Reply-To: <55FF550F.3000709@smalltalk.comcastbiz.net> References: <55FF550F.3000709@smalltalk.comcastbiz.net> Message-ID: <55FF6670.17020.3225012@dnorton.mindspring.com> Hi Andres, It is possible that all you need is a fixed-width font and a SystemWindow with a PluggableListMorph. Data in the rows of the list morph will appear in columns and when you click on any column, the entire row is selected. Instead of a package, this approach uses features already in Cuis. See the Terse Guide (in Help) for hints on installing and using the font. If you want, I can provide an example of columns in a PluggableListMorph. - Dan On 20 Sep 2015 at 17:53, Andres Valloud wrote: > Hello... I'm looking for a table data morphic widget. Does anyone > have > one of those? Or, did I miss one already in the image? Basically I > need to display row-type data where each column may be of different > nature (such as strings, or numbers, etc). Critically, selecting > any of > the columns in a row should select the entire row. > > Andres. > > _______________________________________________ > Cuis mailing list > Cuis at jvuletich.org > http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org From dnorton at mindspring.com Mon Sep 21 11:35:21 2015 From: dnorton at mindspring.com (Dan Norton) Date: Mon, 21 Sep 2015 12:35:21 -0400 Subject: [Cuis] Feature Request In-Reply-To: <20150921085357.f49a3600feb98ff8f18c3699@whidbey.com> References: <20150921085357.f49a3600feb98ff8f18c3699@whidbey.com> Message-ID: <560031C9.2826.235E84@dnorton.mindspring.com> Agreed that is desirable. I was considering a "refresh" menu item but I like your idea better. Also, what about the category list? Currently it is hand-crafted. It started out with only three items: Pluggable, Morphic, and Morph. It grew to include anything that has four or more children, but with Other Classes at the bottom. I've tried to reduce the Other Classes but it's still 130+ in size for the base image. The category list can be automatically generated from Smalltalk classNames by parsing for all terms and acronyms. A name such as "RWBinaryOrTextStream" would generate five categories: RW, Binary, Or, Text, and Stream. It seems that the up side would be elimination of Other Classes since every class would be included in some category. Also, when packages are loaded the list would be re-formed. The down side would be the list of categories is longer and some categories would only have one to three children. What do you think? Anyone have an opinion? - Dan On 21 Sep 2015 at 8:53, Ken.Dickey wrote: > Dan, > > I would appreciate it if the Class Comment Browser would react to > the same changed message that triggers the code browsers to update > their state so that when new classes are loaded they show up in the > browser. > > This saves me opening a new instance of the browser. > > Thanks a bunch for CCB! > -KenD From dnorton at mindspring.com Tue Sep 29 21:35:14 2015 From: dnorton at mindspring.com (Dan Norton) Date: Tue, 29 Sep 2015 22:35:14 -0400 Subject: [Cuis] Class Comment Browser Message-ID: <560B4A62.7244.292AF3F@dnorton.mindspring.com> Hi Juan, A little help, please. BrowserWindow uses CodeWindow>>buildMorphicCodePane for the class comment area. Although this area looks like text, expressions appearing in class comments can be executed as in a workspace. I want the same behavior in Class Comment Browser, but all I get is text behavior (no execution). How can this be changed? - Dan From juan at jvuletich.org Wed Sep 30 06:19:38 2015 From: juan at jvuletich.org (Juan Vuletich) Date: Wed, 30 Sep 2015 08:19:38 -0300 Subject: [Cuis] Class Comment Browser In-Reply-To: <560B4A62.7244.292AF3F@dnorton.mindspring.com> References: <560B4A62.7244.292AF3F@dnorton.mindspring.com> Message-ID: <4f00e132cd45e6e377ff945fafa610b0.squirrel@gator3294.hostgator.com> Hi Dan, See the TextEditor hierarchy. See #editorClass, senders and implementors. It is the model who decides what kind of editor to use. An easy way to find out about this, is to realiza that what you want is the "Smalltalk Options" menu in code panes. Just write "Smalltalk Options" in some code pane, select it (without the quotes) and do right click / Smalltalk Options / Method Source with it. That leads you right to SmalltalkEditor. Cheers, Juan Vuletich On Tue, September 29, 2015 11:35 pm, Dan Norton wrote: > Hi Juan, > > > A little help, please. BrowserWindow uses > CodeWindow>>buildMorphicCodePane for the > class comment area. Although this area looks like text, expressions > appearing in class comments can be executed as in a workspace. > > I want the same behavior in Class Comment Browser, but all I get is text > behavior (no execution). How can this be changed? > > - Dan > > > _______________________________________________ > Cuis mailing list > Cuis at jvuletich.org > http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org > > From dnorton at mindspring.com Wed Sep 30 16:45:00 2015 From: dnorton at mindspring.com (Dan Norton) Date: Wed, 30 Sep 2015 17:45:00 -0400 Subject: [Cuis] Class Comment Browser In-Reply-To: <4f00e132cd45e6e377ff945fafa610b0.squirrel@gator3294.hostgator.com> References: <560B4A62.7244.292AF3F@dnorton.mindspring.com>, <4f00e132cd45e6e377ff945fafa610b0.squirrel@gator3294.hostgator.com> Message-ID: <560C57DC.32345.163B7FF@dnorton.mindspring.com> Hi Juan, The editor class seems to remain constant as SmalltalkEditor. To see what is puzzling: open a browser on a class with an actual comment view the class comment (? button) select all of the comment and copy it select, then deselect a message category paste the comment in the code window as if defining a new method see the difference in presentation What is making this switch? If I knew where this is done I might get the behavior I want in CCB. - Dan On 30 Sep 2015 at 8:19, Juan Vuletich wrote: > Hi Dan, > > See the TextEditor hierarchy. See #editorClass, senders and > implementors. > It is the model who decides what kind of editor to use. > > An easy way to find out about this, is to realiza that what you want > is > the "Smalltalk Options" menu in code panes. Just write "Smalltalk > Options" > in some code pane, select it (without the quotes) and do right click > / > Smalltalk Options / Method Source with it. That leads you right to > SmalltalkEditor. > > Cheers, > Juan Vuletich > > On Tue, September 29, 2015 11:35 pm, Dan Norton wrote: > > Hi Juan, > > > > > > A little help, please. BrowserWindow uses > > CodeWindow>>buildMorphicCodePane for the > > class comment area. Although this area looks like text, > expressions > > appearing in class comments can be executed as in a workspace. > > > > I want the same behavior in Class Comment Browser, but all I get > is text > > behavior (no execution). How can this be changed? > > > > - Dan > > > > > > _______________________________________________ > > Cuis mailing list > > Cuis at jvuletich.org > > http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org > > > > > > > _______________________________________________ > Cuis mailing list > Cuis at jvuletich.org > http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org From ume at blueplane.jp Thu Sep 3 21:27:02 2015 From: ume at blueplane.jp (Masashi UMEZAWA) Date: Fri, 4 Sep 2015 11:27:02 +0900 Subject: [Cuis] Wrapper for file access in different Smalltalk dialects In-Reply-To: <55E45486.30506@jvuletich.org> References: <20140501080531.493624077a7c3f67688650f9@whidbey.com> <555A8705.5080502@jvuletich.org> <5573BD8C.4010008@jvuletich.org> <55B64713.8040806@jvuletich.org> <55D5DDC4.9030101@jvuletich.org> <55DB1F56.608@jvuletich.org> <55E45486.30506@jvuletich.org> Message-ID: Hi Juan, I've updated Cuis-Smalltalk-FileMan repository. https://github.com/mumez/Cuis-Smalltalk-FileMan I've added FmFileEntry>>tryReadStream, tryWriteStream, readStreamIfError:, writeStreamIfError: and unit tests for them. All tests were green on Windows. Please check. Best regards, 2015-08-31 22:20 GMT+09:00 Juan Vuletich : > Hi Masashi, > > Looks great to me. Please let us know when you update > https://github.com/mumez/FileMan (or > https://github.com/mumez/Cuis-Smalltalk-FileMan ), so we follow. Or post > code to the mail list. As you prefer. > > Thanks! > Juan Vuletich > > > On 8/27/2015 12:24 PM, Masashi UMEZAWA wrote: >> >> Hi Juan, >> >> How about adding #tryWriteStream and #tryWriteStreamIfError: for >> consistency. >> Currently FmFileEntry has #writeStreamConfirming, but it is a bit >> ad-hoc. It can be renamed to #tryWriteStream. >> >> So we can write: >> >> [ writeStream := 'foo.txt' asFileEntry tryWriteStream ] on: >> FmFileIOAccessor fileExistsException do: [:ex | ]. >> >> writeStream := 'foo.txt' asFileEntry tryWriteStreamIfError: [:ex | ]. >> >> Best regards, >> >> 2015-08-24 22:42 GMT+09:00 Juan Vuletich: >>> >>> Hi Masashi, >>> >>> Ok. #tryReadStream is reasonable. Or maybe #readStreamOrFail. >>> >>> Any other suggestion? Preferences? >>> >>> Thanks, >>> Juan Vuletich >>> >>> >>> On 8/22/2015 10:15 AM, Masashi UMEZAWA wrote: >>>> >>>> Hi Juan, >>>> >>>> Yes, I'm concerning about backward-compatibility. >>>> FmFileEntry>>#readStream has been used long. So I would prefer just >>>> adding new APIs. >>>> >>>> Best regards, >>>> >>>>> I guess I would prefer #readStream for the basic, raising exceptions >>>>> api, >>>>> and maybe #readStreamNoFail or #readStreamOrEmpty or such for the >>>>> "exception >>>>> eating api" . In any case it is your call, I understand there is back >>>>> compatibility to care about, and I'll be happy with your choice. >>>>> >>>>> Cheers, >>>>> Juan Vuletich >>>>> >>>>> >>>>>> 2015-07-27 23:58 GMT+09:00 Juan Vuletich: >>>>>>> >>>>>>> Hi Masashi, >>>>>>> >>>>>>> Recently we found that in FileMan, if we do >>>>>>> >>>>>>> 'inexistentFile' asFileEntry readStream >>>>>>> >>>>>>> we get an empty readStream. >>>>>>> >>>>>>> I think it is better to throw the #fileDoesNotExistException , as >>>>>>> FileDirectory did, and let the user handle the exception >>>>>>> appropriately. >>>>>>> But >>>>>>> I would not want to break compatibility with FileMan, as the main >>>>>>> purpose >>>>>>> of >>>>>>> FileMan is to give compatibility amongst dialects. >>>>>>> >>>>>>> Are there good reasons to avoid the exception? Should we add another >>>>>>> method, >>>>>>> besides #readStream when we want a readStream strictly on existing >>>>>>> file >>>>>>> contents? >>>>>>> >>>>>>> Thanks, >>>>>>> Juan Vuletich >>>>>>> >>>>>>> >>>>>>> >>>>>>> On 6/14/2015 8:38 AM, Masashi UMEZAWA wrote: >>>>>>>> >>>>>>>> Hello Juan, >>>>>>>> >>>>>>>> Thank you for the patches and more tests! I'll adapt those updates >>>>>>>> for >>>>>>>> other FileMan ports. >>>>>>>> >>>>>>>> Best regards, >>>>>>>> >>>>>>>> 2015-06-07 12:42 GMT+09:00 Juan Vuletich: >>>>>>>>> >>>>>>>>> Hi Masashi, >>>>>>>>> >>>>>>>>> I was trying FileMan tests today and I saw they create some folders >>>>>>>>> in >>>>>>>>> my >>>>>>>>> drive. The names looked a bit strange, so I took a closer look and >>>>>>>>> found >>>>>>>>> a >>>>>>>>> couple of bugs. At least on Windows, #testRecursiveDelete instead >>>>>>>>> of >>>>>>>>> creating >>>>>>>>> subDir/aaa/bbb/ccc/ddd/eee/fff/ggg/test1 >>>>>>>>> it created >>>>>>>>> subDir/bbb/ccc/eee/ggg/test! >>>>>>>>> >>>>>>>>> So I wrote a few more tests on the issues I saw, and teaked the >>>>>>>>> code >>>>>>>>> to >>>>>>>>> make >>>>>>>>> them pass. The result is attached, and I think is useful for all >>>>>>>>> ports >>>>>>>>> of >>>>>>>>> FileMan. >>>>>>>>> >>>>>>>>> Thanks, >>>>>>>>> Juan Vuletich >>>>>>>>> >>>>>>>>> On 5/26/2015 11:34 PM, Masashi UMEZAWA wrote: >>>>>>>>>> >>>>>>>>>> Hi all, >>>>>>>>>> >>>>>>>>>> I think it is nice if FileMan is on the core package repository. >>>>>>>>>> >>>>>>>>>> FileMan for Cuis (and Squeak) has minimum dependencies to the >>>>>>>>>> existing >>>>>>>>>> FileDirectory and DirectoryEntry. FileMan selectively uses a few >>>>>>>>>> methods of them. >>>>>>>>>> >>>>>>>>>> So we can gradually adopt FileMan interfaces and trim the >>>>>>>>>> FileDirectory and DirectoryEntry's non-intuitive methods. >>>>>>>>>> >>>>>>>>>> Another way of cleaning-up the file-related classes is to port >>>>>>>>>> FileSystems to Cuis. >>>>>>>>>> But since Cuis is a lightweight Smalltalk dialect, FileSystems >>>>>>>>>> might >>>>>>>>>> be an overkill. >>>>>>>>>> >>>>>>>>>> Best regards, >>>>>>>>>> >>>>>>>>>> 2015-05-19 9:42 GMT+09:00 Juan Vuletich: >>>>>>>>>>> >>>>>>>>>>> Hi Folks, >>>>>>>>>>> >>>>>>>>>>> I apologize for talking before taking even a quick look, but >>>>>>>>>>> anyway, >>>>>>>>>>> We'd >>>>>>>>>>> take a good look at this. And seriously consider replacing files >>>>>>>>>>> stuff >>>>>>>>>>> in >>>>>>>>>>> Cuis base. Or at least adopting it as a core package in our repo. >>>>>>>>>>> >>>>>>>>>>> Thoughts? >>>>>>>>>>> >>>>>>>>>>> Masashi-san: opinions? >>>>>>>>>>> >>>>>>>>>>> Thanks, >>>>>>>>>>> Juan Vuletich >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> On 5/17/2015 12:07 PM, H. Hirzel wrote: >>>>>>>>>>>> >>>>>>>>>>>> Below are the comments from the FileMan package. >>>>>>>>>>>> >>>>>>>>>>>> Question: How do you compare the FileMan package to the >>>>>>>>>>>> FileSystem >>>>>>>>>>>> package in Pharo? >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> https://github.com/mumez/Cuis-Smalltalk-FileMan/blob/master/FileMan-Core.pck.st#L45 >>>>>>>>>>>> I represent a single file entry (including directory). >>>>>>>>>>>> You can write data by #fileContents: , and read the data by >>>>>>>>>>>> #fileContents. >>>>>>>>>>>> --- >>>>>>>>>>>> mu 11/6/2006 20:21! >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> https://github.com/mumez/Cuis-Smalltalk-FileMan/blob/master/FileMan-Core.pck.st#L53 >>>>>>>>>>>> I represent a single file directory. >>>>>>>>>>>> I implement various directory specific behaviors. >>>>>>>>>>>> You can write data by #at:put: , and read the data by #at:. >>>>>>>>>>>> --- >>>>>>>>>>>> mu 11/6/2006 20:21 >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> https://github.com/mumez/Cuis-Smalltalk-FileMan/blob/master/FileMan-Core.pck.st#L63 >>>>>>>>>>>> !FmFileIOAccessor commentStamp: '' prior: 0! >>>>>>>>>>>> I am an accessor to the low level file IO. >>>>>>>>>>>> You can extend/rewrite me if you port FileMan to other Smalltalk >>>>>>>>>>>> dialects. >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> https://github.com/mumez/Cuis-Smalltalk-FileMan/blob/master/FileMan-Example.pck.st#L44 >>>>>>>>>>>> !FmBackupDirectoryEntry commentStamp: 'mu 5/4/2007 23:26' prior: >>>>>>>>>>>> 0! >>>>>>>>>>>> This is a simple example for adding special behaviors to >>>>>>>>>>>> FmDirectoryEntry. >>>>>>>>>>>> I backup file contents automatically, while users are not >>>>>>>>>>>> conscious >>>>>>>>>>>> about >>>>>>>>>>>> that. >>>>>>>>>>>> Usage: >>>>>>>>>>>> dir := './withBackup' asDirectoryEntry: FmBackupDirectoryEntry. >>>>>>>>>>>> dir at: 'text' put: 'abc'. >>>>>>>>>>>> dir at: 'text' put: 'def'. >>>>>>>>>>>> (dir at: 'text') inspect. "def" >>>>>>>>>>>> (dir backupAt: 'text') inspect. "abc" >>>>>>>>>>>> ((dir / 'sub') at: 'text2' put: '123'). >>>>>>>>>>>> ((dir / 'sub') at: 'text2' put: '456'). >>>>>>>>>>>> ((dir / 'sub') at: 'text2') inspect. "456" >>>>>>>>>>>> ((dir / 'sub') backupAt: 'text2') inspect. "123" >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> https://github.com/mumez/Cuis-Smalltalk-FileMan/blob/master/FileMan-Example.pck.st#L63 >>>>>>>>>>>> This is a simple example for adding special behaviors to >>>>>>>>>>>> FmDirectoryEntry. >>>>>>>>>>>> I put and get file contents as gzipped, while users are not >>>>>>>>>>>> conscious >>>>>>>>>>>> about that. >>>>>>>>>>>> Usage: >>>>>>>>>>>> | dir | >>>>>>>>>>>> dir := './gzipped2' asDirectoryEntry: FmGZipDirectoryEntry. >>>>>>>>>>>> dir binaryAt: 'bin' put: #(1 2 3 12 34 56) asByteArray. >>>>>>>>>>>> (dir binaryAt: 'bin') inspect. >>>>>>>>>>>> dir at: 'text' put: 'This will be gzipped'. >>>>>>>>>>>> (dir at: 'text') inspect. >>>>>>>>>>>> I would be useful for storing/loading big contents in a simple >>>>>>>>>>>> dictionary-like manner. >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> On 5/17/15, H. Hirzel wrote: >>>>>>>>>>>>> >>>>>>>>>>>>> Hello Masashi-san >>>>>>>>>>>>> >>>>>>>>>>>>> I'd like to come back to your FileMan package >>>>>>>>>>>>> >>>>>>>>>>>>> https://github.com/mumez/Cuis-Smalltalk-FileMan >>>>>>>>>>>>> >>>>>>>>>>>>> and ask a question. >>>>>>>>>>>>> >>>>>>>>>>>>> Is this package a port from somewhere or did you write it from >>>>>>>>>>>>> scratch? >>>>>>>>>>>>> >>>>>>>>>>>>> Some background information is appreciated. >>>>>>>>>>>>> >>>>>>>>>>>>> There is no description >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> https://github.com/mumez/Cuis-Smalltalk-FileMan/blob/master/FileMan-Example.pck.st#L2 >>>>>>>>>>>>> >>>>>>>>>>>>> Thank you in advance >>>>>>>>>>>>> >>>>>>>>>>>>> Hannes Hirzel >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> On 5/2/14, Masashi UMEZAWA wrote: >>>>>>>>>>>>>> >>>>>>>>>>>>>> Hi all, >>>>>>>>>>>>>> >>>>>>>>>>>>>> Thank you for the kind words. I've just started Cuis on March, >>>>>>>>>>>>>> and >>>>>>>>>>>>>> I >>>>>>>>>>>>>> was impressed with its cleanness, simplicity, etc. >>>>>>>>>>>>>> So I did a introductory presentation at Tokyo Smalltalkers >>>>>>>>>>>>>> meeting. >>>>>>>>>>>>>> It >>>>>>>>>>>>>> was successful. >>>>>>>>>>>>>> Now I'm planning to port Folktale (telnet-base object shell), >>>>>>>>>>>>>> and >>>>>>>>>>>>>> SIXX >>>>>>>>>>>>>> to Cuis. My pace maybe slow, but please stay tuned. ;) >>>>>>>>>>>>>> >>>>>>>>>>>>>> Best regards, >>>>>>>>>>>>>> >>>>>>>>>>>>>> 2014-05-02 1:05 GMT+09:00 Germ?n Arduino: >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> Wow, I was completely unaware of Masashi working in Cuis! >>>>>>>>>>>>>>> Welcome >>>>>>>>>>>>>>> aboard!! >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> 2014-05-01 12:19 GMT-03:00 H. >>>>>>>>>>>>>>> Hirzel: >>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> Thank you for the link to Masashi Umezawa's presentation. >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> It is from 2014 and talks about >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> - the number of classes compared to Squeak and Pharo >>>>>>>>>>>>>>>> - the size of Morphic -- Morph allSelectors size "=> >>>>>>>>>>>>>>>> 502" >>>>>>>>>>>>>>>> - something I do not fully get about instance variables >>>>>>>>>>>>>>>> 'bounds owner submorphs fullBounds color >>>>>>>>>>>>>>>> extension' >>>>>>>>>>>>>>>> versus >>>>>>>>>>>>>>>> 'owner submorphs location layoutNeeded layoutSpec >>>>>>>>>>>>>>>> properties' >>>>>>>>>>>>>>>> - layoutSpec >>>>>>>>>>>>>>>> - PackageInfo >>>>>>>>>>>>>>>> - version control with git >>>>>>>>>>>>>>>> - Feature require: ''. >>>>>>>>>>>>>>>> - your Unicode package >>>>>>>>>>>>>>>> https://github.com/KenDickey/Cuis-Smalltalk-Unicode >>>>>>>>>>>>>>>> - >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-StyledTextEditor >>>>>>>>>>>>>>>> - How to query for other Cuis-Smalltalk repositories >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> https://github.com/search?q=cuis-smalltalk >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> All things which we will include Cuis documentation effort. >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> --Hannes >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> On 5/1/14, Ken Dickey wrote: >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> On Thu, 1 May 2014 07:28:54 +0000 >>>>>>>>>>>>>>>>> "H. Hirzel" wrote: >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> A noteworthy effort >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> https://github.com/mumez/Cuis-Smalltalk-FileMan >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> Yes. Masashi Umezawa is the man in Japan! >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> He should introduce himself. >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> He gave a talk about Cuis at the 63rd Smalltalkers' meeting >>>>>>>>>>>>>>>>> in >>>>>>>>>>>>>>>>> Tokyo: >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> http://www.smalltalk-users.jp/Home/gao-zhi/dai63kaismalltalkbenkyoukai/shiryou >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> Masashi has ported several packages to CUis. >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> Because of Unicode interest, I was made aware that recent >>>>>>>>>>>>>>>>> font >>>>>>>>>>>>>>>>> tweaks >>>>>>>>>>>>>>>>> have >>>>>>>>>>>>>>>>> broken my Unicode package in the latest Cuis versions. >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> Masashi-san, would you care to tell us about yourself and >>>>>>>>>>>>>>>>> what >>>>>>>>>>>>>>>>> people >>>>>>>>>>>>>>>>> there >>>>>>>>>>>>>>>>> think about Cuis? >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> -KenD >>>>>>>>>>>> >>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>> Cuis mailing list >>>>>>>>>>>> Cuis at jvuletich.org >>>>>>>>>>>> http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org >>>>>>>>>>> >>>>>>>>>>> >>>> >> >> > -- [:masashi | ^umezawa] From edgardec2005 at gmail.com Sat Sep 5 09:38:32 2015 From: edgardec2005 at gmail.com (Edgar J. De Cleene) Date: Sat, 05 Sep 2015 14:38:32 -0000 Subject: [Cuis] OMeta/Cuis? In-Reply-To: <1433671115.2295.55.camel@gmail.com> Message-ID: On 6/7/15, 6:58 AM, "Phil (list)" wrote: > Having dug deeper into OMeta than I did the last time I worked with it, > I'm now much more comfortable with both the ins and outs of its syntax > as well as what's going on behind the scenes. However, that also means > I want to 'fix' a few things. So my dilemma is what to call where I'm > headed with it and generally get some feedback if anyone has had time to > play with what's there so far to see what you're thinking about. > > The general idea is to not change anything that is working well. That > means the existing syntax and rules (...mostly) wouldn't change as they > seem to be well thought out and working pretty well. Here are a few > examples to give you a flavor for what I'm thinking about: > > 1) Adding a couple of features which will likely require additional > syntax. Examples: rule pragmas and down the road possibly an error > handling and/or debug semantic action. > > 2) Adding a few new base rules and fixing existing bugs. Examples: the > fromTo rule looks broken to me if you actually attempt to use what it > returns by default and I'm convinced that there really should be a > fromToEnd rule (see what happens currently if you put a comment on the > last line of your rule without a trailing lf... this will be an issue with > any grammar that allows lf-terminated comments. There are numerous > other use cases as well.) > > 3) Generally trying to polish any other rough edges and make things feel > more natural. Example: the [] syntax doesn't behave the way you'd > expect (it's not actually a block, it takes a single expression so you > end up needing to do something like [[] value] for multiple > expressions... ugh. It should be possible to handle both scenarios > pretty easily.) > > 4) There are a couple of optimization rules that OMeta/JS has that > don't appear to have made it to Squeak so I'm planning on adding them. > There are a couple of new ones I think I can add beyond that. > > 5) Doing some work improving debugging and adding parser tracing (if > you've taken a look at OMeta3/Ohm... something similar to that.) While > this wouldn't alter the behavior/functionality of any code you write, it > will likely require changing quite a bit behind the scenes in the core > code to make it work. > > 6) Generally starting to document the code. As is sadly the case with > so much Smalltalk code, there aren't many comments that I've seen... > use the source, Luke! While it's very clean (and clever) code, it > took me a while to figure out what was actually going on so I'd rather > avoid needing to go on that excursion again and plan on writing some > things down. > > 7) Syntax coloring/highlighting in the editor would be great to have. > I've still got some research to do to determine the effort involved. > > What that will mean is that the vast majority of any existing > OMeta/Squeak grammars should work just fine with what I'm planning. > The biggest issue I can think of is if there's a name collision with > one of the rules I add which is unlikely (and easy to resolve.) > However, if you were to write code that expected the behavior some of > my changes would make and go back to the Squeak version of OMeta, you'd > run into problems. (The Squeak version is welcome to use any of my > changes as they see fit, but I'm not committing to keeping in sync with > future changes from it at this time as it seems to be pretty much dead > and I think I'll be moving pretty fast on some this for at least a > while) > > So the first question is what should I call it? I'm thinking OMeta/Cuis > unless there are objections or a better name is suggested. Next, do you > want me to keep the vanilla port that I have currently or should I just > start making my changes on top of it? Finally, are there any other > issues you've run into that I've missed? > > Thanks, > Phil Great. Can't wait to examples Edgar From dnorton at mindspring.com Sun Sep 6 11:46:11 2015 From: dnorton at mindspring.com (Dan Norton) Date: Sun, 06 Sep 2015 12:46:11 -0400 Subject: [Cuis] Cuis-Base Package Message-ID: <55EC6DD3.15922.5C72B1@dnorton.mindspring.com> 'Core-Packages' 1 5 !requires: 'Cuis-Base' 42 2327 nil! which is missing from Cuis 2463. - Dan -------------- next part -------------- An HTML attachment was scrubbed... URL: From Ken.Dickey at whidbey.com Sun Sep 6 15:29:14 2015 From: Ken.Dickey at whidbey.com (Ken.Dickey) Date: Sun, 6 Sep 2015 13:29:14 -0700 Subject: [Cuis] Cuis-Base Package In-Reply-To: <55EC6DD3.15922.5C72B1@dnorton.mindspring.com> References: <55EC6DD3.15922.5C72B1@dnorton.mindspring.com> Message-ID: <20150906132914.30fad3c56d1b443e68c59d94@whidbey.com> On Sun, 06 Sep 2015 12:46:11 -0400 "Dan Norton" wrote: > 'Core-Packages' 1 5 > > !requires: 'Cuis-Base' 42 2327 nil! > > which is missing from Cuis 2463. The base package is Cuis itself. Requiring a (4.2) base with revision 2327 or higher should be fine with (4.2) rev 2463 as 2463 is larger than 2327. What error/message are you seeing which indicates a failed requirement? What is the context? -- -KenD From dnorton at mindspring.com Sun Sep 6 16:48:07 2015 From: dnorton at mindspring.com (Dan Norton) Date: Sun, 06 Sep 2015 17:48:07 -0400 Subject: [Cuis] Cuis-Base Package In-Reply-To: <20150906132914.30fad3c56d1b443e68c59d94@whidbey.com> References: <55EC6DD3.15922.5C72B1@dnorton.mindspring.com>, <20150906132914.30fad3c56d1b443e68c59d94@whidbey.com> Message-ID: <55ECB497.27062.170E518@dnorton.mindspring.com> Ah, no wonder. Are you able to install Core-Packages? I get a VM crash. The dump is attached. After the crash, I was going through the "requires" list of "Core-Packages", trying to load each individually to see which might be the culprit. The first two install, then comes "Cuis-Base" which I could not find. :) - Dan On 6 Sep 2015 at 13:29, Ken.Dickey wrote: > On Sun, 06 Sep 2015 12:46:11 -0400 > "Dan Norton" wrote: > > > 'Core-Packages' 1 5 > > > > !requires: 'Cuis-Base' 42 2327 nil! > > > > which is missing from Cuis 2463. > > The base package is Cuis itself. > > Requiring a (4.2) base with revision 2327 or higher should be fine > with (4.2) rev 2463 as 2463 is larger than 2327. > > What error/message are you seeing which indicates a failed > requirement? What is the context? > > -- > -KenD -------------- next part -------------- A non-text attachment was scrubbed... Name: crash1.zip Type: application/zip Size: 3956 bytes Desc: not available URL: From dnorton at mindspring.com Sun Sep 6 17:14:11 2015 From: dnorton at mindspring.com (Dan Norton) Date: Sun, 06 Sep 2015 18:14:11 -0400 Subject: [Cuis] Cuis-Base Package Message-ID: <55ECBAB3.9336.188C4DC@dnorton.mindspring.com> Attempts to install "Compression" package consistently fail, sometimes with a VM crash and sometimes with MNU. - Dan On 6 Sep 2015 at 17:48, Dan wrote: > Ah, no wonder. Are you able to install Core-Packages? I get a VM > crash. The dump is > attached. > > After the crash, I was going through the "requires" list of > "Core-Packages", trying to load each > individually to see which might be the culprit. The first two > install, then comes "Cuis-Base" > which I could not find. :) > > - Dan > > On 6 Sep 2015 at 13:29, Ken.Dickey wrote: > > > On Sun, 06 Sep 2015 12:46:11 -0400 > > "Dan Norton" wrote: > > > > > 'Core-Packages' 1 5 > > > > > > !requires: 'Cuis-Base' 42 2327 nil! > > > > > > which is missing from Cuis 2463. > > > > The base package is Cuis itself. > > > > Requiring a (4.2) base with revision 2327 or higher should be > fine > > with (4.2) rev 2463 as 2463 is larger than 2327. > > > > What error/message are you seeing which indicates a failed > > requirement? What is the context? > > > > -- > > -KenD > > > > Attachments: > C:\Cog\cogwin-15.33.3427\cogwin\crash1.zip From Ken.Dickey at whidbey.com Sun Sep 6 18:26:34 2015 From: Ken.Dickey at whidbey.com (Ken.Dickey) Date: Sun, 6 Sep 2015 16:26:34 -0700 Subject: [Cuis] Cuis-Base Package In-Reply-To: <55ECB497.27062.170E518@dnorton.mindspring.com> References: <55EC6DD3.15922.5C72B1@dnorton.mindspring.com> <20150906132914.30fad3c56d1b443e68c59d94@whidbey.com> <55ECB497.27062.170E518@dnorton.mindspring.com> Message-ID: <20150906162634.cf64eac3e7d96ff202851bed@whidbey.com> On Sun, 06 Sep 2015 17:48:07 -0400 "Dan Norton" wrote: > .. Are you able to install Core-Packages? I get a VM crash. I am running 2463 without problems on an ARM Chromebook and a Toshiba Intel laptop, both running variants of Linux. I suspect a VM problem. What VM are you running? Try "squeak -version" Here is my Chromebook output: >> squeak -version 4.5-3386 Sat Jun 20 16:20:09 PDT 2015 gcc 4.6.3 [Production VM] StackInterpreter VMMaker.oscog-eem.1370 uuid: 779d3751-cd1b-4882-b870-156bf7da752a Jun 20 2015 VM: r3386 http://www.squeakvm.org/svn/squeak/branches/Cog Date: 2015-06-20 15:42:13 -0700 Plugins: r3347 http://squeakvm.org/svn/squeak/trunk/platforms/Cross/plugins Linux MiniMcStalker 3.12.28+ #709 PREEMPT Mon Sep 8 15:28:00 BST 2014 armv6l GNU/Linux plugin path: /usr/local/bin/../lib/squeak/4.5-3386 [default: /usr/local/lib/squeak/4.5-3386/] You can pick up a new VM at: http://www.mirandabanda.org/files/Cog/VM/ Note that CUIS does NOT yet run on SPUR VMs. -- -KenD From Ken.Dickey at whidbey.com Sun Sep 6 03:33:59 2015 From: Ken.Dickey at whidbey.com (Ken.Dickey) Date: Sun, 6 Sep 2015 16:33:59 +0800 Subject: [Cuis] Cuis-Base Package In-Reply-To: <20150906162634.cf64eac3e7d96ff202851bed@whidbey.com> References: <55EC6DD3.15922.5C72B1@dnorton.mindspring.com> <20150906132914.30fad3c56d1b443e68c59d94@whidbey.com> <55ECB497.27062.170E518@dnorton.mindspring.com> <20150906162634.cf64eac3e7d96ff202851bed@whidbey.com> Message-ID: <20150906163359.43582500db2f66cde4efd563@whidbey.com> On Sun, 6 Sep 2015 16:26:34 -0700 "Ken.Dickey" wrote: > I suspect a VM problem. What VM are you running? Try "squeak -version" Here is the Toshiba/Intel/Linux output. root# squeak -version 4.5-3397 Mon Jul 6 15:10:41 PDT 2015 gcc 4.4.7 [Production ITHB VM] CoInterpreter VMMaker.oscog-eem.1405 uuid: 7aff388a-73ba-4202-bb5a-72b0759ff46b Jul 6 2015 StackToRegisterMappingCogit VMMaker.oscog-eem.1401 uuid: 036f0933-639a-49dd-8a1d-a03bcdcb0a0a Jul 3 2015 VM: r3397 http://www.squeakvm.org/svn/squeak/branches/Cog Date: 2015-07-06 11:56:39 -0700 Plugins: r3347 http://squeakvm.org/svn/squeak/trunk/platforms/Cross/plugins Linux mclinux32 2.6.32-431.el6.i686 #1 SMP Fri Nov 22 00:26:36 UTC 2013 i686 i686 i386 GNU/Linux plugin path: /usr/local/bin/../lib/squeak/4.5-3397 [default: /usr/local/lib/squeak/4.5-3397/] -- -KenD From dnorton at mindspring.com Sun Sep 6 19:19:25 2015 From: dnorton at mindspring.com (Dan Norton) Date: Sun, 06 Sep 2015 20:19:25 -0400 Subject: [Cuis] Cuis-Base Package In-Reply-To: <20150906162634.cf64eac3e7d96ff202851bed@whidbey.com> References: <55EC6DD3.15922.5C72B1@dnorton.mindspring.com>, <55ECB497.27062.170E518@dnorton.mindspring.com>, <20150906162634.cf64eac3e7d96ff202851bed@whidbey.com> Message-ID: <55ECD80D.22968.1FB6ABD@dnorton.mindspring.com> cogwin-15.33.3427 it's the latest one. Ran across this looking for more indented list examples, so it's not holding me back, but I am having trouble deciphering how to speak to HierarchicalListMorph and friends. - Dan On 6 Sep 2015 at 16:26, Ken.Dickey wrote: > On Sun, 06 Sep 2015 17:48:07 -0400 > "Dan Norton" wrote: > > > .. Are you able to install Core-Packages? I get a VM crash. > > I am running 2463 without problems on an ARM Chromebook and a > Toshiba Intel laptop, both running variants of Linux. > > I suspect a VM problem. What VM are you running? Try "squeak > -version" > > Here is my Chromebook output: > > >> squeak -version > 4.5-3386 Sat Jun 20 16:20:09 PDT 2015 gcc 4.6.3 [Production VM] > StackInterpreter VMMaker.oscog-eem.1370 uuid: > 779d3751-cd1b-4882-b870-156bf7da752a Jun 20 2015 > VM: r3386 http://www.squeakvm.org/svn/squeak/branches/Cog Date: > 2015-06-20 15:42:13 -0700 > Plugins: r3347 > http://squeakvm.org/svn/squeak/trunk/platforms/Cross/plugins > Linux MiniMcStalker 3.12.28+ #709 PREEMPT Mon Sep 8 15:28:00 BST > 2014 armv6l GNU/Linux > plugin path: /usr/local/bin/../lib/squeak/4.5-3386 [default: > /usr/local/lib/squeak/4.5-3386/] > > You can pick up a new VM at: > http://www.mirandabanda.org/files/Cog/VM/ > > Note that CUIS does NOT yet run on SPUR VMs. > > -- > -KenD -------------- next part -------------- An HTML attachment was scrubbed... URL: From Ken.Dickey at whidbey.com Mon Sep 7 19:46:45 2015 From: Ken.Dickey at whidbey.com (Ken.Dickey) Date: Tue, 8 Sep 2015 08:46:45 +0800 Subject: [Cuis] Cuis-Base Package In-Reply-To: <55ECD80D.22968.1FB6ABD@dnorton.mindspring.com> References: <55EC6DD3.15922.5C72B1@dnorton.mindspring.com> <55ECB497.27062.170E518@dnorton.mindspring.com> <20150906162634.cf64eac3e7d96ff202851bed@whidbey.com> <55ECD80D.22968.1FB6ABD@dnorton.mindspring.com> Message-ID: <20150908084645.68ce718d7450d684616d77ee@whidbey.com> On Sun, 06 Sep 2015 20:19:25 -0400 "Dan Norton" wrote: > cogwin-15.33.3427 > it's the latest one. You might try an earlier VM version (e.g. 3397,3410) and see if the result is the same. -- -KenD From dnorton at mindspring.com Tue Sep 8 11:56:28 2015 From: dnorton at mindspring.com (Dan Norton) Date: Tue, 08 Sep 2015 12:56:28 -0400 Subject: [Cuis] Implementors of initWithContents:font:emphasis: Message-ID: <55EF133C.28738.74D7CA@dnorton.mindspring.com> Greetings, The following implement #initWithContents:font:emphasis: identically: MinimalStringMorph OneLineEditorMorph StringMorph and they all inherit from: Morph RectangleLikeMorph So, refactoring seems to be in order, maybe by pulling #initWithContents:font:emphasis: up into Morph. What do you think? - Dan From dnorton at mindspring.com Tue Sep 8 11:59:32 2015 From: dnorton at mindspring.com (Dan Norton) Date: Tue, 8 Sep 2015 09:59:32 -0700 (PDT) Subject: [Cuis] Cuis-Base Package In-Reply-To: <20150908084645.68ce718d7450d684616d77ee@whidbey.com> References: <55EC6DD3.15922.5C72B1@dnorton.mindspring.com> <20150906132914.30fad3c56d1b443e68c59d94@whidbey.com> <55ECB497.27062.170E518@dnorton.mindspring.com> <20150906162634.cf64eac3e7d96ff202851bed@whidbey.com> <55ECD80D.22968.1FB6ABD@dnorton.mindspring.com> <20150908084645.68ce718d7450d684616d77ee@whidbey.com> Message-ID: <1441731572845-4848883.post@n4.nabble.com> It installed without problems in the past. Not sure which Cog version tho. - Dan -- View this message in context: http://forum.world.st/Cuis-Base-Package-tp4848441p4848883.html Sent from the Cuis Smalltalk mailing list archive at Nabble.com. From hannes.hirzel at gmail.com Tue Sep 8 12:24:25 2015 From: hannes.hirzel at gmail.com (H. Hirzel) Date: Tue, 8 Sep 2015 19:24:25 +0200 Subject: [Cuis] Implementors of initWithContents:font:emphasis: In-Reply-To: <55EF133C.28738.74D7CA@dnorton.mindspring.com> References: <55EF133C.28738.74D7CA@dnorton.mindspring.com> Message-ID: Hi Dan No. The three morphs you mention all have instance variables font emphasis whereas the sibling morphs do not have these variables neither does Morph. So the reason of not doing it is that we do not want these instance variables to be in the other Morphs where they are not used. --Hannes On 9/8/15, Dan Norton wrote: > Greetings, > > The following implement #initWithContents:font:emphasis: identically: > > MinimalStringMorph > OneLineEditorMorph > StringMorph > > and they all inherit from: > > Morph > RectangleLikeMorph > > So, refactoring seems to be in order, maybe by pulling > #initWithContents:font:emphasis: up > into Morph. What do you think? > > - Dan > > _______________________________________________ > Cuis mailing list > Cuis at jvuletich.org > http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org > From dnorton at mindspring.com Tue Sep 8 16:08:59 2015 From: dnorton at mindspring.com (Dan Norton) Date: Tue, 08 Sep 2015 17:08:59 -0400 Subject: [Cuis] Implementors of initWithContents:font:emphasis: In-Reply-To: References: <55EF133C.28738.74D7CA@dnorton.mindspring.com>, Message-ID: <55EF4E6B.15771.15C08FC@dnorton.mindspring.com> Hi Hannes, I get it. There are lots of sibling morphs. RectangleMorph doesn't need font or emphasis for sure. And, adding a class to the hierarchy simply to contain the method would not be desirable either. Geez who came up with this idea, anyway? - Dan On 8 Sep 2015 at 19:24, H. Hirzel wrote: > Hi Dan > > No. The three morphs you mention all have instance variables > > font emphasis > > whereas the sibling morphs do not have these variables neither does > Morph. > > So the reason of not doing it is that we do not want these > instance > variables to be in the other Morphs where they are not used. > > --Hannes > > > On 9/8/15, Dan Norton wrote: > > Greetings, > > > > The following implement #initWithContents:font:emphasis: > identically: > > > > MinimalStringMorph > > OneLineEditorMorph > > StringMorph > > > > and they all inherit from: > > > > Morph > > RectangleLikeMorph > > > > So, refactoring seems to be in order, maybe by pulling > > #initWithContents:font:emphasis: up > > into Morph. What do you think? > > > > - Dan > > > > _______________________________________________ > > Cuis mailing list > > Cuis at jvuletich.org > > http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org > > > > _______________________________________________ > Cuis mailing list > Cuis at jvuletich.org > http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org -------------- next part -------------- An HTML attachment was scrubbed... URL: From juan at jvuletich.org Wed Sep 9 17:19:25 2015 From: juan at jvuletich.org (Juan Vuletich) Date: Wed, 09 Sep 2015 19:19:25 -0300 Subject: [Cuis] Cuis-Base Package In-Reply-To: <55ECD80D.22968.1FB6ABD@dnorton.mindspring.com> References: <55EC6DD3.15922.5C72B1@dnorton.mindspring.com>, <55ECB497.27062.170E518@dnorton.mindspring.com>, <20150906162634.cf64eac3e7d96ff202851bed@whidbey.com> <55ECD80D.22968.1FB6ABD@dnorton.mindspring.com> Message-ID: <55F0B06D.3070209@jvuletich.org> Hi folks, I get the same crash when loading Compression if I use Cog 3410 or 3427. I don't get the crash if I use 3397. But this version had another issue, when using AndreasSystemProfiler. I'd say we need to use 3370 or earlier. I'll ask Eliot to take a look. Thanks, Juan Vuletich On 9/6/2015 9:19 PM, Dan Norton wrote: > > cogwin-15.33.3427 > > it's the latest one. Ran across this looking for more indented list > examples, so it's not holding me back, but I am having trouble > deciphering how to speak to HierarchicalListMorph and friends. > > > - Dan > > > On 6 Sep 2015 at 16:26, Ken.Dickey wrote: > > > On Sun, 06 Sep 2015 17:48:07 -0400 > > "Dan Norton" wrote: > > > > > .. Are you able to install Core-Packages? I get a VM crash. > > > > I am running 2463 without problems on an ARM Chromebook and a > > Toshiba Intel laptop, both running variants of Linux. > > > > I suspect a VM problem. What VM are you running? Try "squeak > > -version" > > > > Here is my Chromebook output: > > > > >> squeak -version > > 4.5-3386 Sat Jun 20 16:20:09 PDT 2015 gcc 4.6.3 [Production VM] > > StackInterpreter VMMaker.oscog-eem.1370 uuid: > > 779d3751-cd1b-4882-b870-156bf7da752a Jun 20 2015 > > VM: r3386 http://www.squeakvm.org/svn/squeak/branches/Cog Date: > > 2015-06-20 15:42:13 -0700 > > Plugins: r3347 > > http://squeakvm.org/svn/squeak/trunk/platforms/Cross/plugins > > Linux MiniMcStalker 3.12.28+ #709 PREEMPT Mon Sep 8 15:28:00 BST > > 2014 armv6l GNU/Linux > > plugin path: /usr/local/bin/../lib/squeak/4.5-3386 [default: > > /usr/local/lib/squeak/4.5-3386/] > > > > You can pick up a new VM at: > > http://www.mirandabanda.org/files/Cog/VM/ > > > > Note that CUIS does NOT yet run on SPUR VMs. > > > > -- > > -KenD > > > _______________________________________________ > Cuis mailing list > Cuis at jvuletich.org > http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org -------------- next part -------------- An HTML attachment was scrubbed... URL: From dnorton at mindspring.com Wed Sep 9 20:59:03 2015 From: dnorton at mindspring.com (Dan Norton) Date: Wed, 09 Sep 2015 21:59:03 -0400 Subject: [Cuis] Class Comment Browser Message-ID: <55F0E3E7.9240.F68663@dnorton.mindspring.com> Announcing a browser for certain class comments. The classes have names containing: Pluggable Morphic Morph and appear in a hierarchical list categorized as above. From the popup menu you can open the regular browsers on: Class Hierarchy Full Protocol The package is at: https://github.com/dhnorton/Cuis-Smalltalk-morphs - Dan From juan at jvuletich.org Wed Sep 9 21:12:29 2015 From: juan at jvuletich.org (Juan Vuletich) Date: Wed, 09 Sep 2015 23:12:29 -0300 Subject: [Cuis] Updates on GitHub Message-ID: <55F0E70D.30209@jvuletich.org> Hi Folks, I've just commited to GitHub. Biggest news is a new OpenCL package, originally for Squeak by Josh Gargus. Thanks Josh! Within some misc fixes and enhancements, there is cool stuff by Ken, Duncan, Dan and Masashi. Thank you all folks! Cheers, Juan Vuletich From dnorton at mindspring.com Fri Sep 11 09:40:30 2015 From: dnorton at mindspring.com (Dan Norton) Date: Fri, 11 Sep 2015 10:40:30 -0400 Subject: [Cuis] Class Comment Browser In-Reply-To: <20150911073112.3f21bb65283f3a3e4aa211b0@whidbey.com> References: <55F0E3E7.9240.F68663@dnorton.mindspring.com>, <20150911073112.3f21bb65283f3a3e4aa211b0@whidbey.com> Message-ID: <55F2E7DE.18780.18C37D@dnorton.mindspring.com> Hi Ken, Thanks, glad to hear it. A search capability has been added which I hope will help. - Dan On 11 Sep 2015 at 7:31, Ken.Dickey wrote: > On Wed, 09 Sep 2015 21:59:03 -0400 > "Dan Norton" wrote: > > > Announcing a browser for certain class comments. .. > > Dan. Finally got a chance to take a look. > > Very helpful! > > Thanks, > -KenD From dnorton at mindspring.com Fri Sep 11 11:19:19 2015 From: dnorton at mindspring.com (Dan Norton) Date: Fri, 11 Sep 2015 12:19:19 -0400 Subject: [Cuis] Effect of Cursor Movement Message-ID: <55F2FF07.16923.7339F5@dnorton.mindspring.com> Hello, To see this, Bring up BouncingAtomsMorph, enlarge the window, set a high atoms count so that you can easily sense atom movement. Notice how movement speeds up when the cursor is moved and slows when it stops? Turn on FPS. On my machine, frame rate is about 22 with no cursor movement and increases to around 36 when the cursor is moving. The cursor does not have to be in the window. It can be anywhere. Why should that be? It may not be a problem, but it is a curiosity. Any explanation? BTW this is Win7, cogwin-15.33.3427, Cuis 2478. - Dan From juan at jvuletich.org Fri Sep 11 11:24:26 2015 From: juan at jvuletich.org (Juan Vuletich) Date: Fri, 11 Sep 2015 13:24:26 -0300 Subject: [Cuis] Class Comment Browser In-Reply-To: <55F2E7DE.18780.18C37D@dnorton.mindspring.com> References: <55F0E3E7.9240.F68663@dnorton.mindspring.com>, <20150911073112.3f21bb65283f3a3e4aa211b0@whidbey.com> <55F2E7DE.18780.18C37D@dnorton.mindspring.com> Message-ID: <55F3003A.8080403@jvuletich.org> Very nice, Dan! Thank you! It would be nice to make this an optional package, like TerseGuide, and referenced from there! Cheers, Juan Vuletich On 9/11/2015 11:40 AM, Dan Norton wrote: > Hi Ken, > > Thanks, glad to hear it. A search capability has been added which I hope will help. > > - Dan > > On 11 Sep 2015 at 7:31, Ken.Dickey wrote: > >> On Wed, 09 Sep 2015 21:59:03 -0400 >> "Dan Norton" wrote: >> >>> Announcing a browser for certain class comments. .. >> Dan. Finally got a chance to take a look. >> >> Very helpful! >> >> Thanks, >> -KenD > > > _______________________________________________ > Cuis mailing list > Cuis at jvuletich.org > http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org > From juan at jvuletich.org Fri Sep 11 11:57:06 2015 From: juan at jvuletich.org (Juan Vuletich) Date: Fri, 11 Sep 2015 13:57:06 -0300 Subject: [Cuis] Effect of Cursor Movement In-Reply-To: <55F2FF07.16923.7339F5@dnorton.mindspring.com> References: <55F2FF07.16923.7339F5@dnorton.mindspring.com> Message-ID: <55F307E2.4040706@jvuletich.org> Hi Dan, (below) On 9/11/2015 1:19 PM, Dan Norton wrote: > Hello, > > To see this, Bring up BouncingAtomsMorph, enlarge the window, set a high atoms count so > that you can easily sense atom movement. > > Notice how movement speeds up when the cursor is moved and slows when it stops? Turn > on FPS. On my machine, frame rate is about 22 with no cursor movement and increases to > around 36 when the cursor is moving. The cursor does not have to be in the window. It can > be anywhere. > > Why should that be? It may not be a problem, but it is a curiosity. Any explanation? > > BTW this is Win7, cogwin-15.33.3427, Cuis 2478. > > - Dan Haven't even taken a look, so if I did maybe I would find something else... but for sure Cuis is triggering MouseMoveEvents, and looking for possible interested parties. That, on each Morphic cycle. So, each Morphic cycle might take a bit longer, and FPS can go a bit down. In any case, if you are curious, you can take a closer look. Often, questions like this lead to possible optimizations! Cheers, Juan Vuletich From dnorton at mindspring.com Sat Sep 12 10:57:52 2015 From: dnorton at mindspring.com (Dan Norton) Date: Sat, 12 Sep 2015 11:57:52 -0400 Subject: [Cuis] Class Comment Browser In-Reply-To: <55F3003A.8080403@jvuletich.org> References: <55F0E3E7.9240.F68663@dnorton.mindspring.com>, <55F2E7DE.18780.18C37D@dnorton.mindspring.com>, <55F3003A.8080403@jvuletich.org> Message-ID: <55F44B80.2759.563045@dnorton.mindspring.com> OK, the browser is attached. It has a new home until it is added to Cuis Packages: https://github.com/dhnorton/Cuis-Smalltalk-comments The list has been cleaned up and expanded. Search on class names has been added. - Dan On 11 Sep 2015 at 13:24, Juan Vuletich wrote: > Very nice, Dan! Thank you! > > It would be nice to make this an optional package, like TerseGuide, > and > referenced from there! > > Cheers, > Juan Vuletich > > On 9/11/2015 11:40 AM, Dan Norton wrote: > > Hi Ken, > > > > Thanks, glad to hear it. A search capability has been added which > I hope will help. > > > > - Dan > > > > On 11 Sep 2015 at 7:31, Ken.Dickey wrote: > > > >> On Wed, 09 Sep 2015 21:59:03 -0400 > >> "Dan Norton" wrote: > >> > >>> Announcing a browser for certain class comments. .. > >> Dan. Finally got a chance to take a look. > >> > >> Very helpful! > >> > >> Thanks, > >> -KenD > > > > > > _______________________________________________ > > Cuis mailing list > > Cuis at jvuletich.org > > http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org > > > -------------- next part -------------- A non-text attachment was scrubbed... Name: ClassCommentBrowser.pck.zip Type: application/zip Size: 2988 bytes Desc: not available URL: From dnorton at mindspring.com Sat Sep 12 11:53:39 2015 From: dnorton at mindspring.com (Dan Norton) Date: Sat, 12 Sep 2015 12:53:39 -0400 Subject: [Cuis] Class Comment Browser Message-ID: <55F45893.23266.894184@dnorton.mindspring.com> Stepped on 'search' (sigh). Try the attached instead. - Dan On 12 Sep 2015 at 11:58, Dan wrote: > OK, the browser is attached. It has a new home until it is added to > Cuis Packages: > > https://github.com/dhnorton/Cuis-Smalltalk-comments > > The list has been cleaned up and expanded. Search on class names has > been added. > > - Dan > > On 11 Sep 2015 at 13:24, Juan Vuletich wrote: > > > Very nice, Dan! Thank you! > > > > It would be nice to make this an optional package, like > TerseGuide, > > and > > referenced from there! > > > > Cheers, > > Juan Vuletich > > > > On 9/11/2015 11:40 AM, Dan Norton wrote: > > > Hi Ken, > > > > > > Thanks, glad to hear it. A search capability has been added > which > > I hope will help. > > > > > > - Dan > > > > > > On 11 Sep 2015 at 7:31, Ken.Dickey wrote: > > > > > >> On Wed, 09 Sep 2015 21:59:03 -0400 > > >> "Dan Norton" wrote: > > >> > > >>> Announcing a browser for certain class comments. .. > > >> Dan. Finally got a chance to take a look. > > >> > > >> Very helpful! > > >> > > >> Thanks, > > >> -KenD > > > > > > > > > _______________________________________________ > > > Cuis mailing list > > > Cuis at jvuletich.org > > > http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org > > > > > > > > > Attachments: > > C:\Cuis\Comments\Cuis-Smalltalk-comments\ClassCommentBrowser.pck.zip -------------- next part -------------- A non-text attachment was scrubbed... Name: ClassCommentBrowser.pck.zip Type: application/zip Size: 3042 bytes Desc: not available URL: From Ken.Dickey at whidbey.com Sat Sep 12 20:36:58 2015 From: Ken.Dickey at whidbey.com (Ken.Dickey) Date: Sat, 12 Sep 2015 18:36:58 -0700 Subject: [Cuis] Updates on GitHub In-Reply-To: <55F0E70D.30209@jvuletich.org> References: <55F0E70D.30209@jvuletich.org> Message-ID: <20150912183658.07bbefafa76422d0fc9790e7@whidbey.com> On Wed, 09 Sep 2015 23:12:29 -0300 Juan Vuletich wrote: > I've just commited to GitHub. Biggest news is a new OpenCL package, > originally for Squeak by Josh Gargus. Thanks Josh! FYI, The OpenCL unit tests, Blur and JuliaSet examples work on a SAMSUNG ARM Chromebook. Apple Copy Benchmark reports VM lacks AndreasSystemProfiler prims. Deformation Grid Example reports: 'failed to enqueue kernel for execution' Let me know if there is anything else you want me to poke. ;^) Cheers, -KenD From dnorton at mindspring.com Sun Sep 13 14:42:09 2015 From: dnorton at mindspring.com (Dan Norton) Date: Sun, 13 Sep 2015 15:42:09 -0400 Subject: [Cuis] (Fwd) Re: Class Comment Browser Message-ID: <55F5D191.32653.B8C66D@dnorton.mindspring.com> Added color to the window and flashed the list if a search comes up empty. Package attached. - Dan ------- Forwarded message follows ------- From: Dan Norton To: cuis at jvuletich.org Subject: Re: [Cuis] Class Comment Browser Date sent: Sat, 12 Sep 2015 12:53:40 -0400 Stepped on 'search' (sigh). Try the attached instead. - Dan On 12 Sep 2015 at 11:58, Dan wrote: > OK, the browser is attached. It has a new home until it is added to > Cuis Packages: > > https://github.com/dhnorton/Cuis-Smalltalk-comments > > The list has been cleaned up and expanded. Search on class names has > been added. > > - Dan > > On 11 Sep 2015 at 13:24, Juan Vuletich wrote: > > > Very nice, Dan! Thank you! > > > > It would be nice to make this an optional package, like > TerseGuide, > > and > > referenced from there! > > > > Cheers, > > Juan Vuletich > > > > On 9/11/2015 11:40 AM, Dan Norton wrote: > > > Hi Ken, > > > > > > Thanks, glad to hear it. A search capability has been added > which > > I hope will help. > > > > > > - Dan > > > > > > On 11 Sep 2015 at 7:31, Ken.Dickey wrote: > > > > > >> On Wed, 09 Sep 2015 21:59:03 -0400 > > >> "Dan Norton" wrote: > > >> > > >>> Announcing a browser for certain class comments. .. > > >> Dan. Finally got a chance to take a look. > > >> > > >> Very helpful! > > >> > > >> Thanks, > > >> -KenD > > > > > > > > > _______________________________________________ > > > Cuis mailing list > > > Cuis at jvuletich.org > > > http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org > > > > > > > > > Attachments: > > C:\Cuis\Comments\Cuis-Smalltalk-comments\ClassCommentBrowser.pck.zip Attachments: C:\Cuis\Comments\Cuis-Smalltalk-comments\ClassCommentBrowser.pck.zip ------- End of forwarded message ------- -------------- next part -------------- A non-text attachment was scrubbed... Name: ClassCommentBrowser.pck.zip Type: application/zip Size: 3086 bytes Desc: not available URL: From juan at jvuletich.org Tue Sep 15 09:08:27 2015 From: juan at jvuletich.org (Juan Vuletich) Date: Tue, 15 Sep 2015 11:08:27 -0300 Subject: [Cuis] Updates on GitHub In-Reply-To: <20150912183658.07bbefafa76422d0fc9790e7@whidbey.com> References: <55F0E70D.30209@jvuletich.org> <20150912183658.07bbefafa76422d0fc9790e7@whidbey.com> Message-ID: <55F8265B.6020304@jvuletich.org> On 9/12/2015 10:36 PM, Ken.Dickey wrote: > On Wed, 09 Sep 2015 23:12:29 -0300 > Juan Vuletich wrote: > >> I've just commited to GitHub. Biggest news is a new OpenCL package, >> originally for Squeak by Josh Gargus. Thanks Josh! > FYI, The OpenCL unit tests, Blur and JuliaSet examples work on a SAMSUNG ARM Chromebook. > > Apple Copy Benchmark reports VM lacks AndreasSystemProfiler prims. > > Deformation Grid Example reports: 'failed to enqueue kernel for execution' > > Let me know if there is anything else you want me to poke. ;^) > > Cheers, > -KenD Thanks Ken. It is nice to know it works on the Chromebook! Is it running Chrome OS? Which VM? AndreasSystemProfiler prims are just for that, profiling. No direct relation with OpenCL. Deformation Grid Example doesn't work (yet) on my machines either! This is pretty early stuff. If you (or anybody) has interest in learning OpenCL, it is there for you to play with. OpenCL is extremely powerful, and using it from Cuis is surprisingly simple. I mean, it is quite free from extra complexity, such as trouble to get tools setup, and examples running. Programming in OpenCL is far from trivial, although the programming model is quite good and well thought. Cheers, Juan Vuletich From juan at jvuletich.org Tue Sep 15 09:10:00 2015 From: juan at jvuletich.org (Juan Vuletich) Date: Tue, 15 Sep 2015 11:10:00 -0300 Subject: [Cuis] (Fwd) Re: Class Comment Browser In-Reply-To: <55F5D191.32653.B8C66D@dnorton.mindspring.com> References: <55F5D191.32653.B8C66D@dnorton.mindspring.com> Message-ID: <55F826B8.1070508@jvuletich.org> Thanks Dan, This is cool. Should we add it to /packages? What do you all think? Cheers, Juan Vuletich On 9/13/2015 4:42 PM, Dan Norton wrote: > Added color to the window and flashed the list if a search comes up empty. > Package attached. > > - Dan > ------- Forwarded message follows ------- > From: Dan Norton > To: cuis at jvuletich.org > Subject: Re: [Cuis] Class Comment Browser > Date sent: Sat, 12 Sep 2015 12:53:40 -0400 > > > Stepped on 'search' (sigh). Try the attached instead. > > - Dan > > On 12 Sep 2015 at 11:58, Dan wrote: > >> OK, the browser is attached. It has a new home until it is added > to >> Cuis Packages: >> >> https://github.com/dhnorton/Cuis-Smalltalk-comments >> >> The list has been cleaned up and expanded. Search on class names > has >> been added. >> >> - Dan >> >> On 11 Sep 2015 at 13:24, Juan Vuletich wrote: >> >>> Very nice, Dan! Thank you! >>> >>> It would be nice to make this an optional package, like >> TerseGuide, >>> and >>> referenced from there! >>> >>> Cheers, >>> Juan Vuletich >>> >>> On 9/11/2015 11:40 AM, Dan Norton wrote: >>>> Hi Ken, >>>> >>>> Thanks, glad to hear it. A search capability has been added >> which >>> I hope will help. >>>> - Dan >>>> >>>> On 11 Sep 2015 at 7:31, Ken.Dickey wrote: >>>> >>>>> On Wed, 09 Sep 2015 21:59:03 -0400 >>>>> "Dan Norton" wrote: >>>>> >>>>>> Announcing a browser for certain class comments. .. >>>>> Dan. Finally got a chance to take a look. >>>>> >>>>> Very helpful! >>>>> >>>>> Thanks, >>>>> -KenD >>>> >>>> _______________________________________________ >>>> Cuis mailing list >>>> Cuis at jvuletich.org >>>> http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org >>>> >> >> >> Attachments: >> >> > C:\Cuis\Comments\Cuis-Smalltalk-comments\ClassCommentBrowser.pck.zip > > > > Attachments: > > C:\Cuis\Comments\Cuis-Smalltalk-comments\ClassCommentBrowser.pck.zip > ------- End of forwarded message ------- > > > > _______________________________________________ > Cuis mailing list > Cuis at jvuletich.org > http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org -------------- next part -------------- An HTML attachment was scrubbed... URL: From Ken.Dickey at whidbey.com Tue Sep 15 09:46:52 2015 From: Ken.Dickey at whidbey.com (Ken.Dickey) Date: Tue, 15 Sep 2015 07:46:52 -0700 Subject: [Cuis] (Fwd) Re: Class Comment Browser In-Reply-To: <55F826B8.1070508@jvuletich.org> References: <55F5D191.32653.B8C66D@dnorton.mindspring.com> <55F826B8.1070508@jvuletich.org> Message-ID: <20150915074652.13f748ae545f10b6d03ea701@whidbey.com> On Tue, 15 Sep 2015 11:10:00 -0300 Juan Vuletich wrote: > This is cool. Should we add it to /packages? What do you all think? I find it useful. -- -KenD From Ken.Dickey at whidbey.com Tue Sep 15 10:10:23 2015 From: Ken.Dickey at whidbey.com (Ken.Dickey) Date: Tue, 15 Sep 2015 08:10:23 -0700 Subject: [Cuis] Updates on GitHub In-Reply-To: <55F8265B.6020304@jvuletich.org> References: <55F0E70D.30209@jvuletich.org> <20150912183658.07bbefafa76422d0fc9790e7@whidbey.com> <55F8265B.6020304@jvuletich.org> Message-ID: <20150915081023.ac6ed586a20db7a36c68a9b2@whidbey.com> On Tue, 15 Sep 2015 11:08:27 -0300 Juan Vuletich wrote: > Thanks Ken. It is nice to know it works on the Chromebook! Is it running > Chrome OS? Which VM? Same as Cuis: Ubuntu trusty via Crouton. >> uname -a Linux localhost 3.8.11 #1 SMP Mon Aug 31 19:45:33 PDT 2015 armv7l armv7l armv7l GNU/Linux Note that the OpenCL/OpenGLES driver mods need to be loaded: http://drinkcat.blogspot.com/2013/11/opencl-on-samsung-chromebook-arm-under.html Thanks agan to all, -KenD From Ken.Dickey at whidbey.com Tue Sep 15 10:19:29 2015 From: Ken.Dickey at whidbey.com (Ken.Dickey) Date: Tue, 15 Sep 2015 08:19:29 -0700 Subject: [Cuis] Updates on GitHub In-Reply-To: <55F8265B.6020304@jvuletich.org> References: <55F0E70D.30209@jvuletich.org> <20150912183658.07bbefafa76422d0fc9790e7@whidbey.com> <55F8265B.6020304@jvuletich.org> Message-ID: <20150915081929.68b2fb8b363cd96c99a0587a@whidbey.com> On Tue, 15 Sep 2015 11:08:27 -0300 Juan Vuletich wrote: > Thanks Ken. It is nice to know it works on the Chromebook! Is it running > Chrome OS? Which VM? Ah. A Cog VM. >> squeak -version 4.5-3386 Sat Jun 20 16:20:09 PDT 2015 gcc 4.6.3 [Production VM] StackInterpreter VMMaker.oscog-eem.1370 uuid: 779d3751-cd1b-4882-b870-156bf7da752a Jun 20 2015 VM: r3386 http://www.squeakvm.org/svn/squeak/branches/Cog Date: 2015-06-20 15:42:13 -0700 Plugins: r3347 http://squeakvm.org/svn/squeak/trunk/platforms/Cross/plugins Linux MiniMcStalker 3.12.28+ #709 PREEMPT Mon Sep 8 15:28:00 BST 2014 armv6l GNU/Linux plugin path: /usr/local/bin/../lib/squeak/4.5-3386 [default: /usr/local/lib/squeak/4.5-3386/] -- -KenD From dnorton at mindspring.com Wed Sep 16 19:12:33 2015 From: dnorton at mindspring.com (Dan Norton) Date: Wed, 16 Sep 2015 20:12:33 -0400 Subject: [Cuis] Class Comment Browser In-Reply-To: <55F826B8.1070508@jvuletich.org> References: <55F5D191.32653.B8C66D@dnorton.mindspring.com>, <55F826B8.1070508@jvuletich.org> Message-ID: <55FA0571.2055.2041AE9@dnorton.mindspring.com> Hello all, By using this browser, you become aware of Cuis classes you may have overlooked. It reveals relationships among classes, beyond hierarchy. It may inspire revision of some class comments :-) The latest on gitHub: https://github.com/dhnorton/Cuis-Smalltalk-comments covers all classes, searches class names, and searches class comments from the root or from a leaf. I think this latest should be in /packages. I confess an author's bias :-) - Dan On 15 Sep 2015 at 11:10, Juan Vuletich wrote: > > Thanks Dan, > > This is cool. Should we add it to /packages? What do you all > think? > > Cheers, > Juan Vuletich > > On 9/13/2015 4:42 PM, Dan Norton wrote: > > Added color to the window and flashed the list if a search comes > up empty. > Package attached. > > - Dan > ------- Forwarded message follows ------- > From: Dan Norton > To: cuis at jvuletich.org > Subject: Re: [Cuis] Class Comment Browser > Date sent: Sat, 12 Sep 2015 12:53:40 -0400 > > > Stepped on 'search' (sigh). Try the attached instead. > > - Dan > > On 12 Sep 2015 at 11:58, Dan wrote: > > > > OK, the browser is attached. It has a new home until it is > added > > > to > > > Cuis Packages: > > https://github.com/dhnorton/Cuis-Smalltalk-comments > > The list has been cleaned up and expanded. Search on class > names > > > has > > > been added. > > - Dan > > On 11 Sep 2015 at 13:24, Juan Vuletich wrote: > > > > Very nice, Dan! Thank you! > > It would be nice to make this an optional package, like > > > TerseGuide, > > > and > referenced from there! > > Cheers, > Juan Vuletich > > On 9/11/2015 11:40 AM, Dan Norton wrote: > > > Hi Ken, > > Thanks, glad to hear it. A search capability has been added > > > which > > > I hope will help. > > > - Dan > > On 11 Sep 2015 at 7:31, Ken.Dickey wrote: > > > > On Wed, 09 Sep 2015 21:59:03 -0400 > "Dan Norton" wrote: > > > > Announcing a browser for certain class comments. .. > > > Dan. Finally got a chance to take a look. > > Very helpful! > > Thanks, > -KenD > > > > _______________________________________________ > Cuis mailing list > Cuis at jvuletich.org > http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org > > > > > > > > Attachments: > > > > > > C:\Cuis\Comments\Cuis-Smalltalk-comments\ClassCommentBrowser.pck.zip > > > > Attachments: > > > C:\Cuis\Comments\Cuis-Smalltalk-comments\ClassCommentBrowser.pck.zip > ------- End of forwarded message ------- > > > > > > > _______________________________________________ > Cuis mailing list > Cuis at jvuletich.org > http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org > > From juan at jvuletich.org Sat Sep 19 19:11:38 2015 From: juan at jvuletich.org (Juan Vuletich) Date: Sat, 19 Sep 2015 21:11:38 -0300 Subject: [Cuis] Class Comment Browser In-Reply-To: <55FA0571.2055.2041AE9@dnorton.mindspring.com> References: <55F5D191.32653.B8C66D@dnorton.mindspring.com>, <55F826B8.1070508@jvuletich.org> <55FA0571.2055.2041AE9@dnorton.mindspring.com> Message-ID: <55FDF9BA.1030901@jvuletich.org> Thanks Dan. It is now @ GitHub! Cheers, Juan Vuletich On 9/16/2015 9:12 PM, Dan Norton wrote: > Hello all, > > By using this browser, you become aware of Cuis classes you may have overlooked. It > reveals relationships among classes, beyond hierarchy. It may inspire revision of some class > comments :-) > > The latest on gitHub: > > https://github.com/dhnorton/Cuis-Smalltalk-comments > > covers all classes, searches class names, and searches class comments from the root or > from a leaf. I think this latest should be in /packages. I confess an author's bias :-) > > - Dan > > On 15 Sep 2015 at 11:10, Juan Vuletich wrote: > >> Thanks Dan, >> >> This is cool. Should we add it to /packages? What do you all >> think? >> >> Cheers, >> Juan Vuletich >> >> On 9/13/2015 4:42 PM, Dan Norton wrote: >> >> Added color to the window and flashed the list if a search comes >> up empty. >> Package attached. >> >> - Dan >> ------- Forwarded message follows ------- >> From: Dan Norton >> To: cuis at jvuletich.org >> Subject: Re: [Cuis] Class Comment Browser >> Date sent: Sat, 12 Sep 2015 12:53:40 -0400 >> >> >> Stepped on 'search' (sigh). Try the attached instead. >> >> - Dan >> >> On 12 Sep 2015 at 11:58, Dan wrote: >> >> >> >> OK, the browser is attached. It has a new home until it is >> added >> >> >> to >> >> >> Cuis Packages: >> >> https://github.com/dhnorton/Cuis-Smalltalk-comments >> >> The list has been cleaned up and expanded. Search on class >> names >> >> >> has >> >> >> been added. >> >> - Dan >> >> On 11 Sep 2015 at 13:24, Juan Vuletich wrote: >> >> >> >> Very nice, Dan! Thank you! >> >> It would be nice to make this an optional package, like >> >> >> TerseGuide, >> >> >> and >> referenced from there! >> >> Cheers, >> Juan Vuletich >> >> On 9/11/2015 11:40 AM, Dan Norton wrote: >> >> >> Hi Ken, >> >> Thanks, glad to hear it. A search capability has been added >> >> >> which >> >> >> I hope will help. >> >> >> - Dan >> >> On 11 Sep 2015 at 7:31, Ken.Dickey wrote: >> >> >> >> On Wed, 09 Sep 2015 21:59:03 -0400 >> "Dan Norton" wrote: >> >> >> >> Announcing a browser for certain class comments. .. >> >> >> Dan. Finally got a chance to take a look. >> >> Very helpful! >> >> Thanks, >> -KenD >> >> >> >> _______________________________________________ >> Cuis mailing list >> Cuis at jvuletich.org >> http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org >> >> >> >> >> >> >> >> Attachments: >> >> >> >> >> >> C:\Cuis\Comments\Cuis-Smalltalk-comments\ClassCommentBrowser.pck.zip >> >> >> >> Attachments: >> >> >> C:\Cuis\Comments\Cuis-Smalltalk-comments\ClassCommentBrowser.pck.zip >> ------- End of forwarded message ------- >> >> >> >> >> >> >> _______________________________________________ >> Cuis mailing list >> Cuis at jvuletich.org >> http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org >> >> > > > _______________________________________________ > Cuis mailing list > Cuis at jvuletich.org > http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org > From dnorton at mindspring.com Sun Sep 20 10:43:28 2015 From: dnorton at mindspring.com (Dan Norton) Date: Sun, 20 Sep 2015 11:43:28 -0400 Subject: [Cuis] Terse Guide to Cuis Message-ID: <55FED420.30690.E6CA64@dnorton.mindspring.com> Regarding the "Better openTerseGuide menu option": Neat. Thanks, Ken. This is definitely better. - Dan -------------- next part -------------- An HTML attachment was scrubbed... URL: From Ken.Dickey at whidbey.com Sun Sep 20 17:46:40 2015 From: Ken.Dickey at whidbey.com (Ken.Dickey) Date: Sun, 20 Sep 2015 15:46:40 -0700 Subject: [Cuis] Terse Guide to Cuis In-Reply-To: <55FED420.30690.E6CA64@dnorton.mindspring.com> References: <55FED420.30690.E6CA64@dnorton.mindspring.com> Message-ID: <20150920154640.e0231760da083e263fdba4f0@whidbey.com> On Sun, 20 Sep 2015 11:43:28 -0400 "Dan Norton" wrote: > Regarding the "Better openTerseGuide menu option": Neat. Thanks, Ken. Glad you approve. -- -KenD From avalloud at smalltalk.comcastbiz.net Sun Sep 20 19:53:35 2015 From: avalloud at smalltalk.comcastbiz.net (Andres Valloud) Date: Sun, 20 Sep 2015 17:53:35 -0700 Subject: [Cuis] Table data morphic widget Message-ID: <55FF550F.3000709@smalltalk.comcastbiz.net> Hello... I'm looking for a table data morphic widget. Does anyone have one of those? Or, did I miss one already in the image? Basically I need to display row-type data where each column may be of different nature (such as strings, or numbers, etc). Critically, selecting any of the columns in a row should select the entire row. Andres. From garduino at gmail.com Sun Sep 20 20:34:26 2015 From: garduino at gmail.com (=?UTF-8?Q?Germ=C3=A1n_Arduino?=) Date: Sun, 20 Sep 2015 22:34:26 -0300 Subject: [Cuis] Table data morphic widget In-Reply-To: <55FF550F.3000709@smalltalk.comcastbiz.net> References: <55FF550F.3000709@smalltalk.comcastbiz.net> Message-ID: Hi Andres: I do not saw nothing as you comment in Cuis but I remember in the Squeak package ODBC Enhanced a sort of morphic grid. Cheers. Saludos / Regards, Germ?n Arduino @garduino 2015-09-20 21:53 GMT-03:00 Andres Valloud : > Hello... I'm looking for a table data morphic widget. Does anyone have > one of those? Or, did I miss one already in the image? Basically I need > to display row-type data where each column may be of different nature (such > as strings, or numbers, etc). Critically, selecting any of the columns in > a row should select the entire row. > > Andres. > > _______________________________________________ > Cuis mailing list > Cuis at jvuletich.org > http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dnorton at mindspring.com Sun Sep 20 21:07:44 2015 From: dnorton at mindspring.com (Dan Norton) Date: Sun, 20 Sep 2015 22:07:44 -0400 Subject: [Cuis] Table data morphic widget In-Reply-To: <55FF550F.3000709@smalltalk.comcastbiz.net> References: <55FF550F.3000709@smalltalk.comcastbiz.net> Message-ID: <55FF6670.17020.3225012@dnorton.mindspring.com> Hi Andres, It is possible that all you need is a fixed-width font and a SystemWindow with a PluggableListMorph. Data in the rows of the list morph will appear in columns and when you click on any column, the entire row is selected. Instead of a package, this approach uses features already in Cuis. See the Terse Guide (in Help) for hints on installing and using the font. If you want, I can provide an example of columns in a PluggableListMorph. - Dan On 20 Sep 2015 at 17:53, Andres Valloud wrote: > Hello... I'm looking for a table data morphic widget. Does anyone > have > one of those? Or, did I miss one already in the image? Basically I > need to display row-type data where each column may be of different > nature (such as strings, or numbers, etc). Critically, selecting > any of > the columns in a row should select the entire row. > > Andres. > > _______________________________________________ > Cuis mailing list > Cuis at jvuletich.org > http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org From dnorton at mindspring.com Mon Sep 21 11:35:21 2015 From: dnorton at mindspring.com (Dan Norton) Date: Mon, 21 Sep 2015 12:35:21 -0400 Subject: [Cuis] Feature Request In-Reply-To: <20150921085357.f49a3600feb98ff8f18c3699@whidbey.com> References: <20150921085357.f49a3600feb98ff8f18c3699@whidbey.com> Message-ID: <560031C9.2826.235E84@dnorton.mindspring.com> Agreed that is desirable. I was considering a "refresh" menu item but I like your idea better. Also, what about the category list? Currently it is hand-crafted. It started out with only three items: Pluggable, Morphic, and Morph. It grew to include anything that has four or more children, but with Other Classes at the bottom. I've tried to reduce the Other Classes but it's still 130+ in size for the base image. The category list can be automatically generated from Smalltalk classNames by parsing for all terms and acronyms. A name such as "RWBinaryOrTextStream" would generate five categories: RW, Binary, Or, Text, and Stream. It seems that the up side would be elimination of Other Classes since every class would be included in some category. Also, when packages are loaded the list would be re-formed. The down side would be the list of categories is longer and some categories would only have one to three children. What do you think? Anyone have an opinion? - Dan On 21 Sep 2015 at 8:53, Ken.Dickey wrote: > Dan, > > I would appreciate it if the Class Comment Browser would react to > the same changed message that triggers the code browsers to update > their state so that when new classes are loaded they show up in the > browser. > > This saves me opening a new instance of the browser. > > Thanks a bunch for CCB! > -KenD From dnorton at mindspring.com Tue Sep 29 21:35:14 2015 From: dnorton at mindspring.com (Dan Norton) Date: Tue, 29 Sep 2015 22:35:14 -0400 Subject: [Cuis] Class Comment Browser Message-ID: <560B4A62.7244.292AF3F@dnorton.mindspring.com> Hi Juan, A little help, please. BrowserWindow uses CodeWindow>>buildMorphicCodePane for the class comment area. Although this area looks like text, expressions appearing in class comments can be executed as in a workspace. I want the same behavior in Class Comment Browser, but all I get is text behavior (no execution). How can this be changed? - Dan From juan at jvuletich.org Wed Sep 30 06:19:38 2015 From: juan at jvuletich.org (Juan Vuletich) Date: Wed, 30 Sep 2015 08:19:38 -0300 Subject: [Cuis] Class Comment Browser In-Reply-To: <560B4A62.7244.292AF3F@dnorton.mindspring.com> References: <560B4A62.7244.292AF3F@dnorton.mindspring.com> Message-ID: <4f00e132cd45e6e377ff945fafa610b0.squirrel@gator3294.hostgator.com> Hi Dan, See the TextEditor hierarchy. See #editorClass, senders and implementors. It is the model who decides what kind of editor to use. An easy way to find out about this, is to realiza that what you want is the "Smalltalk Options" menu in code panes. Just write "Smalltalk Options" in some code pane, select it (without the quotes) and do right click / Smalltalk Options / Method Source with it. That leads you right to SmalltalkEditor. Cheers, Juan Vuletich On Tue, September 29, 2015 11:35 pm, Dan Norton wrote: > Hi Juan, > > > A little help, please. BrowserWindow uses > CodeWindow>>buildMorphicCodePane for the > class comment area. Although this area looks like text, expressions > appearing in class comments can be executed as in a workspace. > > I want the same behavior in Class Comment Browser, but all I get is text > behavior (no execution). How can this be changed? > > - Dan > > > _______________________________________________ > Cuis mailing list > Cuis at jvuletich.org > http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org > > From dnorton at mindspring.com Wed Sep 30 16:45:00 2015 From: dnorton at mindspring.com (Dan Norton) Date: Wed, 30 Sep 2015 17:45:00 -0400 Subject: [Cuis] Class Comment Browser In-Reply-To: <4f00e132cd45e6e377ff945fafa610b0.squirrel@gator3294.hostgator.com> References: <560B4A62.7244.292AF3F@dnorton.mindspring.com>, <4f00e132cd45e6e377ff945fafa610b0.squirrel@gator3294.hostgator.com> Message-ID: <560C57DC.32345.163B7FF@dnorton.mindspring.com> Hi Juan, The editor class seems to remain constant as SmalltalkEditor. To see what is puzzling: open a browser on a class with an actual comment view the class comment (? button) select all of the comment and copy it select, then deselect a message category paste the comment in the code window as if defining a new method see the difference in presentation What is making this switch? If I knew where this is done I might get the behavior I want in CCB. - Dan On 30 Sep 2015 at 8:19, Juan Vuletich wrote: > Hi Dan, > > See the TextEditor hierarchy. See #editorClass, senders and > implementors. > It is the model who decides what kind of editor to use. > > An easy way to find out about this, is to realiza that what you want > is > the "Smalltalk Options" menu in code panes. Just write "Smalltalk > Options" > in some code pane, select it (without the quotes) and do right click > / > Smalltalk Options / Method Source with it. That leads you right to > SmalltalkEditor. > > Cheers, > Juan Vuletich > > On Tue, September 29, 2015 11:35 pm, Dan Norton wrote: > > Hi Juan, > > > > > > A little help, please. BrowserWindow uses > > CodeWindow>>buildMorphicCodePane for the > > class comment area. Although this area looks like text, > expressions > > appearing in class comments can be executed as in a workspace. > > > > I want the same behavior in Class Comment Browser, but all I get > is text > > behavior (no execution). How can this be changed? > > > > - Dan > > > > > > _______________________________________________ > > Cuis mailing list > > Cuis at jvuletich.org > > http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org > > > > > > > _______________________________________________ > Cuis mailing list > Cuis at jvuletich.org > http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org