tag:forum.world.st,2006:forum-3404928
Nabble - Usenets
2024-03-28T07:09:21Z
Attempt to integrate Usenets
<br/><br/>NOTE: Still a work in progress
tag:forum.world.st,2006:post-3377378
Community Edition - Registration error
2006-02-01T00:16:57Z
2006-02-01T00:16:57Z
Pavel
Hi !
<br/>I try "Apply for Community Edition Serial Number" and got error:
<br/><br/>---------------------------
<br/>Registration error
<br/>---------------------------
<br/>An error occurred when trying to communicate with the Object Arts
<br/>registration server.
<br/>There may be a problem with your Internet connection or the server may be
<br/>temporarily down
<br/>---------------------------
<br/><br/>My Internet connection - OK.
<br/>I'm trying to do it about 2 day :( It is improbable that the the Object
<br/>Arts registration server has fallen.
<br/>Or may be exists other way obtain Community Edition Serial Number, by e-mail
<br/>or web-browser?
<br/><br/>Pavel
<br/><br/><br/>
<p>Posted in <a href="/Dolphin-Smalltalk-f3356073.html">Dolphin Smalltalk</a></p>
tag:forum.world.st,2006:post-4742005
Bob Jarvis Goodies
2014-02-06T11:43:24Z
2014-02-06T11:43:24Z
johanS
I'm trying to write two way pipe for dolphin smalltalk and founded what It was
<br/>Bob Jarvis Goodies but unfortunately I can find only mention about it May be somebody knows where can I find source code?
<p>Posted in <a href="/Dolphin-Smalltalk-f3356073.html">Dolphin Smalltalk</a></p>
tag:forum.world.st,2006:post-3367951
Dependents list for notfication
2003-04-28T02:53:44Z
2003-04-28T02:53:44Z
Damon
Thanks again everyone for providing those suggestions on learning
<br/>Smalltalk. I took the advice and picked up Smalltalk Objects and
<br/>Design by Chamond Liu. I'm about half way through it now, and
<br/>plowing through the material on MVC, which I'll see if I can translate
<br/>in MVP design.
<br/><br/>One thing that I have not been able to inspect, though, involves the
<br/>Dependency mechanism which Models employ to notify Views of updates.
<br/>In pp.120-121, the book gives an example of how to implement
<br/>Dependents.
<br/><br/>First I added a method called update to the existing Integer class:
<br/><br/>Integer
<br/> update
<br/> Transcript cr;
<br/> show: 'I am ', self printString.
<br/><br/>Then in the workspace, I add dependents for notification:
<br/><br/> x := Integer new.
<br/> x addDependent 17.
<br/> x addDependent 12.
<br/><br/> Dependents inspect. "This does not work"
<br/><br/> x broadcast: #update. "Nonetheless the broadcast works"
<br/><br/>Since there is no Dependents class in Dolphin, the book also suggests
<br/>inspecting the object's classPool instead:
<br/><br/> x class classPool inspect. "I'm able to see the classPool in the
<br/>inspector"
<br/><br/>When I evaluate the above line, an Inspector window pops up with a
<br/>long list of classPool entries, but I can't locate the relevant key
<br/>and collection to check to see if the 2 numbers 17, 12 have been added
<br/>to some Dependents' list.
<br/><br/>Searching through some other documentation, I tried to inspect
<br/><br/> x class classPool at: 'DependentsFields'
<br/><br/>but that didn't work either.
<br/><br/>Can someone tell me where the Dependents list is located in a class,
<br/>where the notifcation mechanism checks to send its broadcast?
<br/><br/>The book suggests though that the above approach is too broad and too
<br/>visible, so VAST for example provides AbtObservableObject which stores
<br/>dependents in eventDependents in order to provide multicasts of
<br/>specific events. Does Dolphin have something similar to this?
<br/><br/>Thanks,
<br/><br/>Damon
<br/><br/><br/>
<p>Posted in <a href="/Dolphin-Smalltalk-f3356073.html">Dolphin Smalltalk</a></p>
tag:forum.world.st,2006:post-3363488
Multiple inheritance
2002-02-27T11:58:24Z
2002-02-27T11:58:24Z
Randy Manning
I feel ashamed to ask this question - But I'm just not sure.
<br/>Does smalltalk support only single inheritance?
<br/><br/>If my understanding is correct, (multiple inheritance) implies that class
<br/>"WelderForeman" can be declared as a subclass of both class "Supervisor" and
<br/>class "Welder".
<br/><br/>(Single inheritance) implies that class "WelderForeman" can only be declared
<br/>as a subcalss of either class "Welder" or class "Supervisor" but not of
<br/>both.
<br/><br/>I thought smalltalk only supported (single inheritance). Am I correct?
<br/><br/>Also, if I am correct (smalltalk does only support single inheritance) is
<br/>there a simple way to mimic multiple inheritance behaviour within a
<br/>smalltalk calss?
<br/><br/>~ Puzzled - Randy
<br/><br/><br/>
<p>Posted in <a href="/Dolphin-Smalltalk-f3356073.html">Dolphin Smalltalk</a></p>
tag:forum.world.st,2006:post-3380376
T-Gen User's Guide
2006-10-09T20:13:17Z
2006-10-09T20:13:17Z
Geoff
Anyone know where I can get a readable version of the t-gen user's guide?
<br/>The one that comes with t-gen is postscript.
<br/><br/>Thanks.
<br/><br/>-g
<br/><br/><br/>
<p>Posted in <a href="/Dolphin-Smalltalk-f3356073.html">Dolphin Smalltalk</a></p>
tag:forum.world.st,2006:post-3380381
getting started with DirectX <-> Dolphin 6
2006-10-10T01:06:58Z
2006-10-10T01:06:58Z
hnbeck
Hi all,
<br/><br/>I'm afraid this question was already here.... but I found nothing for
<br/>Dolphin6.
<br/><br/>Is there any help (tutorial, examples) for getting started with DirectX
<br/>under Dolphin 6 ? I know DirectX basically, but I'm completely new to
<br/>Dolphin. COM or .Net Binding Examples would be welcomed, too :-)
<br/><br/>Thanks for any hints :-)
<br/><br/>Regards,
<br/><br/>Hans
<br/><br/><br/>
<p>Posted in <a href="/Dolphin-Smalltalk-f3356073.html">Dolphin Smalltalk</a></p>
tag:forum.world.st,2006:post-3380373
[feature request] D6 step into block...
2006-10-09T11:39:10Z
2006-10-09T11:39:10Z
Pavel-2
It will be very convenient if Dolphin has that feature (subj).
<br/>Now very annoying when I debuging program and step through all
<br/>implementation of methods ( collection iteration, exception handlers,
<br/>etc... ).
<br/>Just I try concentrate on my algoritm logic, but I always must step through
<br/>mass of unwanted code and control all calls.
<br/><br/>For example :
<br/> somecollection do: [:i | mycode ]. " current debuging statement "
<br/>It would by NICE (ohhh dream) if I can press <step into block> and skip
<br/>steps through all implementations of method do: , and next step will be -
<br/>"mycode", and next step - again "mycode" ! ( if somecollection size>1 )
<br/>When debuging program or more over learn how system works such feature can
<br/>be VERY HELPFUL !
<br/><br/>Best regards
<br/>Pavel
<br/><br/>PS. Sorry for my English
<br/><br/><br/>
<p>Posted in <a href="/Dolphin-Smalltalk-f3356073.html">Dolphin Smalltalk</a></p>
tag:forum.world.st,2006:post-3380382
Vista and its influence on future of Dolphin
2006-10-10T01:16:23Z
2006-10-10T01:16:23Z
hnbeck
Hi,
<br/><br/>since a few weeks I am looking at Microsoft Vista and its new
<br/>possibilities. As a long time .Net developer, I think that XAML, XABS,
<br/>WPF will have great impact on software on Vista. These keywords are all
<br/>connected with .Net 3.0, which is simply .Net. So if Dolphin can
<br/>connect to .Net (which should be possible by COM), all new things must
<br/>be accessible to the Dolphin today.
<br/><br/>Anyway, will there be an Dolphin with comfortable connection
<br/>mechanisms, will there be an Dolphin which uses itself XAML as render
<br/>framework or anything else ?
<br/><br/>Regards
<br/><br/>Hans
<br/><br/><br/>
<p>Posted in <a href="/Dolphin-Smalltalk-f3356073.html">Dolphin Smalltalk</a></p>
tag:forum.world.st,2006:post-3380321
Charting component/subsystem
2006-10-05T11:51:54Z
2006-10-05T11:51:54Z
Sebastián Sastre
Hi there,
<br/><br/> I wonder if anyone is using a charting component to plot functions
<br/>and graphics in dolphin applications.
<br/><br/> Is not critical to me right now, but I'm starting to evaluate options
<br/>to choose the more convenient when appropiate. The options I've found
<br/>until now are:
<br/><br/><a href="http://www.steema.com/" target="_top" rel="nofollow" link="external">http://www.steema.com/</a><br/><a href="http://www.infosoftglobal.com/FusionCharts/LiveDemos.asp?gMenuItemId=4" target="_top" rel="nofollow" link="external">http://www.infosoftglobal.com/FusionCharts/LiveDemos.asp?gMenuItemId=4</a><br/><a href="http://www.xceedsoft.com/products/ChartNET/?gclid=CN32z--r1IcCFQshHgod2QKUpQ" target="_top" rel="nofollow" link="external">http://www.xceedsoft.com/products/ChartNET/?gclid=CN32z--r1IcCFQshHgod2QKUpQ</a><br/><a href="http://www.digitalcandle.com/software.htm?cmd=1&productid=1997" target="_top" rel="nofollow" link="external">http://www.digitalcandle.com/software.htm?cmd=1&productid=1997</a><br/><a href="http://www.dundas.com/Gallery/Chart/NET/index.aspx" target="_top" rel="nofollow" link="external">http://www.dundas.com/Gallery/Chart/NET/index.aspx</a><br/><a href="http://www.anychart.com/products/anychart/index.shtml" target="_top" rel="nofollow" link="external">http://www.anychart.com/products/anychart/index.shtml</a><br/><a href="http://www.dotnetcharting.com/overview.aspx" target="_top" rel="nofollow" link="external">http://www.dotnetcharting.com/overview.aspx</a><br/>...others suggestions are welcome...
<br/><br/> I didn't found open source. The prices and features vary. The kind of
<br/>royalty free licenses for developers also vary. I offcourse want the
<br/>more beauty graphic capable, featured, well documented and designed,
<br/>cheaper, easily embedable, non OS conflictive, better supported and
<br/>easily dolphin wrappeable of all them.
<br/><br/> Anyone here could have interest in share efforts to make and elegant
<br/>framework wich facilitates at least basic use of one of this systems in
<br/>dolphin in the near future? In such case wich one it should be your
<br/>choice?
<br/><br/> cheers,
<br/><br/>Sebastian
<br/><br/><br/>
<p>Posted in <a href="/Dolphin-Smalltalk-f3356073.html">Dolphin Smalltalk</a></p>
tag:forum.world.st,2006:post-3380364
Up-Arrow / Down-Arrow Keys in Combo Box
2006-10-08T18:24:43Z
2006-10-08T18:24:43Z
acg
Hello
<br/> Whether I launch either a ListPresenter or ChoicePresenter with a
<br/>Combo box view, doing an up-arrow will show the first element of the
<br/>list in a edit area, with the element hi-lighted.
<br/><br/>But this does not appear to trigger #selectionChanged,
<br/>#selectionChanging: or #valueChanged, respectively.
<br/><br/>I'm writing an application that needs to detect that the presenter's
<br/>'view text' has visually changed, either by User keyboard entry or User
<br/>clicking drop down, or up-arrow / down-arrow and immediately counts
<br/>the string size, even before the presenter has not lost focus.
<br/><br/>I've added 'Editable Combo Box' events #cbnEditChange and
<br/>#cbnEditUpdate, per LSumberg extension 'The Personal Money Application'
<br/>and tried modification to class 'ChoiceTextPresenter' per C. Demers
<br/>work. But cannot seem to keep the presenter's 'view text' synchronized
<br/>to the ListPresenter selection or ChoicePresenter value.
<br/><br/>So far the only way kludge I found was to use a TextPresenter which is
<br/>physically superimposed on a ListPresenter.Drop down list or
<br/>ChoicePresenter.Drop down list.
<br/><br/>So that handler for #valueChanged events for the TextPresenter does the
<br/>counting.
<br/>and the only thing the ListPresenter or ChoicePresenter do is to 'feed'
<br/>the TextPresenter with
<br/>the user #selection or #value, respectively.
<br/><br/>But besides being ugly, now I have two presenters physical where I
<br/>expected to have one to do the job.
<br/><br/>Any thoughts appreciated.
<br/>ACG
<br/><br/><br/>
<p>Posted in <a href="/Dolphin-Smalltalk-f3356073.html">Dolphin Smalltalk</a></p>
tag:forum.world.st,2006:post-3380372
Extended character sets
2006-10-09T11:23:21Z
2006-10-09T11:23:21Z
Peter Kenny-2
Hi
<br/><br/>This is a topic which has come up before here, but I couldn't find any
<br/>definite advice. I am looking at documents in French. Some of them seem to
<br/>be encoded in UTF-8 (most characters are single bytes like ASCII, but
<br/>accented characters occupy two bytes, so for instance e-acute appears as é
<br/>in Dolphin text output), while others use for example &eacute; to denote the
<br/>same letter. After a fascinating(!) afternoon studying Wikipedia on UTF-8
<br/>and ISO 8859-1, I have cobbled together something which will translate all
<br/>the UTF-8 text in these pages, but I wonder how I will get on with other
<br/>languages. Are there any tools which will cope with a wide range of accented
<br/>characters, and with the &-escaped coding? My objective is to be able to
<br/>transcribe text in any one of these codes into a standard form, so that I
<br/>can do dictionary searches on it, and as far as possible to be able to
<br/>display it as something readable in a Dolphin app.
<br/><br/>I know there are contributors to this group whose native languages are
<br/>French, German, Spanish, Croatian, Slovenian (and others I can't remember);
<br/>are there any general solutions out there?
<br/><br/>Thanks for any help.
<br/><br/>--
<br/>Best wishes
<br/><br/>Peter Kenny
<br/><br/><br/>
<p>Posted in <a href="/Dolphin-Smalltalk-f3356073.html">Dolphin Smalltalk</a></p>
tag:forum.world.st,2006:post-3380246
Timed processes
2006-09-27T03:01:47Z
2006-09-27T03:01:47Z
Edward Stow
I want to have a timed save on a document, say every 10 minutes. As an
<br/>experiment I have modified Notepad with the addition of these two
<br/>methods:
<br/><br/>Notepad>>saveDocument
<br/> super saveDocument.
<br/> self startTimer.
<br/><br/>Notepad>>startTimer
<br/> timedProcess isNil ifFalse: [timedProcess terminate].
<br/> timedProcess :=
<br/> [(Delay forSeconds: 10) wait.
<br/> self saveDocument] forkAt: Processor userBackgroundPriority
<br/><br/>timedProcess is an ivar in Notepad.
<br/><br/>This works -- the first time that saveDocument is called -- but then I
<br/>would expect the timedProcess to kick in every 10seconds. But it
<br/>doesn't. I read a similiar discussion (
<br/><a href="http://groups.google.com.au/group/comp.lang.smalltalk.dolphin/browse_thread/thread/917d71c86fa5c87f" target="_top" rel="nofollow" link="external">http://groups.google.com.au/group/comp.lang.smalltalk.dolphin/browse_thread/thread/917d71c86fa5c87f</a>)
<br/>but I still don't understand ...
<br/><br/><br/>
<p>Posted in <a href="/Dolphin-Smalltalk-f3356073.html">Dolphin Smalltalk</a></p>
tag:forum.world.st,2006:post-3380313
UK Smalltalk Meeting In London
2006-10-05T01:25:43Z
2006-10-05T01:25:43Z
Andy Bower
Folks,
<br/><br/>A few days ago, Bryce Kampjes announced in c.l.s that there will be a
<br/>UK Smalltalk meeting at the offices of JP Morgan in London on Friday
<br/>Oct 20th.
<br/><br/>The current line up is for John Aspinal (of Solution Systems) to give a
<br/>demo of "Restore", his OO Relational mapping layer for Dolphin and for
<br/>me to talk about our Alchemetrics Trading Workbench also written in
<br/>Dolphin (and perhaps to show it engaged in some "live trading"). Since
<br/>both talks have a Dolphin focus, I thought it worth re-advertising the
<br/>event here in this group. Details can be found at:
<br/><br/><a href="http://www.xpdeveloper.net/xpdwiki/Wiki.jsp?page=SmalltalkUK20061020" target="_top" rel="nofollow" link="external">http://www.xpdeveloper.net/xpdwiki/Wiki.jsp?page=SmalltalkUK20061020</a><br/><br/>Please note that, because of security restrictions at JP Morgan, if you
<br/>want to come you have to register on the Wiki at least two days
<br/>beforehand.
<br/><br/>--
<br/>Best regards,
<br/><br/>Andy Bower
<br/>Dolphin Support
<br/>www.object-arts.com
<br/><br/><br/>
<p>Posted in <a href="/Dolphin-Smalltalk-f3356073.html">Dolphin Smalltalk</a></p>
tag:forum.world.st,2006:post-3380368
OverlappedCall ...OnCallReturned() wait interrupted with 258/192
2006-10-09T01:45:52Z
2006-10-09T01:45:52Z
Steve Alan Waring
Hi,
<br/><br/>In an image with not long to live, I am seeing the following kind of
<br/>traces in DebugView ...
<br/><br/>00000012 248.94613647 [1556] WARNING: Failed to resuspend a ca0P:
<br/>rOverlappedCall(o00234C80c, process: ea sPsr(o'cMeasisn('' base
<br/>M03EE0000a [ACTIVE]i in nF'i base l03EE0000e [ACTIVE] class in
<br/>>>Fciolpey class:>>tcoo:p sp=y00000000: ip=t7o list=:05240010 sp=)00000000 on ip=05F537607
<br/>00000013 248.94618225 [1556]
<br/>00000014 248.94618225 [1556] list=05240010), hThread: 000001C8,
<br/>id:3232, state: 2, suspend:0, calls:1)::OnCallReturned() wait
<br/>interrupted with 192
<br/>00000015 248.94624329 [1556]
<br/>00000016 248.94624329 [1556] list=05240010), hThread: 000001C8,
<br/>id:3232, state: 2, suspend:0, calls:1)::OnCallReturned() wait
<br/>interrupted with 192
<br/>00000017 253.94551086 [1556] a0: OverlappedCall(00234C80, process: a
<br/>Process('Main' base 03EE0000 in Semaphore>>wait sp=03EE01D8 ip=8
<br/>list=05FA00E0), hThread: 000001C8, id:3232, state: 2, suspend:0,
<br/>calls:1)::OnCallReturned() wait interrupted with 258
<br/>00000018 258.94522095 [1556] ca0: OverlappedCall(00234C80, process: a
<br/>Process('Main' base 03EE0000 in Semaphore>>wait sp=03EE01D8 ip=8
<br/>list=05FA00E0), hThread: 000001C8, id:3232, state: 2, suspend:0,
<br/>calls:1)::OnCallReturned() wait interrupted with 258
<br/>00000019 263.94494629 [1556] ca0: OverlappedCall(00234C80, process: a
<br/>Process('Main' base 03EE0000 in Semaphore>>wait sp=03EE01D8 ip=8
<br/>list=05FA00E0), hThread: 000001C8, id:3232, state: 2, suspend:0,
<br/>calls:1)::OnCallReturned() wait interrupted with 258
<br/>00000020 268.94464111 [1556] ca0: OverlappedCall(00234C80, process: a
<br/>Process('Main' base 03EE0000 in Semaphore>>wait sp=03EE01D8 ip=8
<br/>list=05FA00E0), hThread: 000001C8, id:3232, state: 2, suspend:0,
<br/>calls:1)::OnCallReturned() wait interrupted with 258
<br/>00000021 273.94433594 [1556] ca0: OverlappedCall(00234C80, process: a
<br/>Process('Main' base 03EE0000 in Semaphore>>wait sp=03EE01D8 ip=8
<br/>list=05FA00E0), hThread: 000001C8, id:3232, state: 2, suspend:0,
<br/>calls:1)::OnCallReturned() wait interrupted with 258
<br/>00000022 278.94403076 [1556] ca0: OverlappedCall(00234C80, process: a
<br/>Process('Main' base 03EE0000 in Semaphore>>wait sp=03EE01D8 ip=8
<br/>list=05FA00E0), hThread: 000001C8, id:3232, state: 2, suspend:0,
<br/>calls:1)::OnCallReturned() wait interrupted with 258
<br/>00000023 283.94375610 [1556] ca0: OverlappedCall(00234C80, process: a
<br/>Process('Main' base 03EE0000 in Semaphore>>wait sp=03EE01D8 ip=8
<br/>list=05FA00E0), hThread: 000001C8, id:3232, state: 2, suspend:0,
<br/>calls:1)::OnCallReturned() wait interrupted with 258
<br/>00000024 288.94345093 [1556] ca0: OverlappedCall(00234C80, process: a
<br/>Process('Main' base 03EE0000 in Semaphore>>wait sp=03EE01D8 ip=8
<br/>list=05FA00E0), hThread: 000001C8, id:3232, state: 2, suspend:0,
<br/>calls:1)::OnCallReturned() wait interrupted with 258
<br/><br/>====================
<br/><br/>00000015 236.66131592 [532] WARNING: Failed to resuspend a
<br/>Process('Idler' base 11AD0000 [ACTIVE] in MemoryManager>>collectGarbage
<br/>sp=00000000 ip=6 list=052C0010) on 05324680
<br/>00000016 408.56430054 [532] WARNING: Failed to resuspend a
<br/>Process(29c': MOverlappedCall(a00234C80i, process: na 'P base
<br/>r11850000o [ACTIVE]c in eFsisl(e' classM>>copya:itno': base
<br/>sp=1185000000000000 [ACTIVE] ip= in File class>>copy:to: sp=00000000
<br/>ip=7 list=052C0010), hThread: 00
<br/>00000017 408.56442261 [532] 0001C87, id: list=668052C0010, state: )2 on
<br/>, suspend:05FE00500
<br/>00000018 408.56442261 [532] , calls:1)::OnCallReturned() wait
<br/>interrupted with 192
<br/>00000019 408.56451416 [532] 0001C87, id: list=668052C0010, state: )2 on
<br/>, suspend:05FE00500
<br/>00000020 408.56451416 [532] , calls:1)::OnCallReturned() wait
<br/>interrupted with 192
<br/><br/>====================
<br/><br/>I think I know what is causing this, I certainly know how to avoid it
<br/>... but I would like to know how to interpret the information in these
<br/>debug logs.
<br/><br/>Thanks!
<br/>Steve
<br/> --
<br/><a href="/user/SendEmail.jtp?type=node&node=3380368&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br/><br/><br/>
<p>Posted in <a href="/Dolphin-Smalltalk-f3356073.html">Dolphin Smalltalk</a></p>
tag:forum.world.st,2006:post-3380367
ExternalLibrary>>invalidCall ... 'invalid receiver'
2006-10-09T01:36:33Z
2006-10-09T01:36:33Z
Steve Alan Waring
Hi,
<br/><br/>What does the 'invalid receiver' error mean in
<br/>ExternalLibrary>>invalidCall?
<br/><br/>FWIW: I have seen this in two different images recently. One in an
<br/>image with a very intermittent socket problem. The error was in a send
<br/>of WS2_32Library>>send:buf:len:flags:.
<br/><br/>The other was in KernelLibrary>>copyFile:lpNewFileName:bfailIfExists:
<br/>... that image did not have long to live.
<br/><br/>Thanks,
<br/>Steve
<br/> --
<br/><a href="/user/SendEmail.jtp?type=node&node=3380367&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br/><br/><br/>
<p>Posted in <a href="/Dolphin-Smalltalk-f3356073.html">Dolphin Smalltalk</a></p>
tag:forum.world.st,2006:post-3380161
StatusBar not updating - revisiting a possible D6 bug?
2006-09-19T02:33:34Z
2006-09-19T02:33:34Z
Tim M
I notice from the following thread: <a href="http://groups.google.co.uk/group/comp.lang.smalltalk.dolphin/browse_thread/thread/7d801469441c3122/e8fb3dc7ad99fd50?lnk=gst&q=status+bar&rnum=3#e8fb3dc7ad99fd50" target="_top" rel="nofollow" link="external">http://groups.google.co.uk/group/comp.lang.smalltalk.dolphin/browse_thread/thread/7d801469441c3122/e8fb3dc7ad99fd50?lnk=gst&q=status+bar&rnum=3#e8fb3dc7ad99fd50</a><br/><br/>that people have been having issues with the status bar not updating properly.
<br/>Did anyone come to any conclusions on this?
<br/><br/>I have found the same thing with the SUnitBrowser in Dolphin. I had a a modification
<br/>that showed the current error in the status bar, when you clicked on it.
<br/>Some time after the D6beta the status bar has become blank when I click on
<br/>an item - and as indicated in the thread, resiving the window does indeed
<br/>redraw the bar.
<br/><br/>In the SunitBrowser it uses a when: #selectionChanged of a list presenter,
<br/>and its in this method that I update the model of the statusBar.
<br/><br/>It all looks normal, and as mentioned it did work in a prior version of D6.
<br/><br/>Any ideas?
<br/><br/>I did notice some wierdness, I put a pumpMessages in the callback method
<br/>and that sometimes allowed a proper redraw (although never if I click on
<br/>the first item in the list). Also if I debug the method and actually step
<br/>over some code it then displays correctly - however if I just press resume
<br/>in the pre-debug dialog it doesn't refresh.
<br/><br/>Tim
<br/><br/><br/>
<p>Posted in <a href="/Dolphin-Smalltalk-f3356073.html">Dolphin Smalltalk</a></p>
tag:forum.world.st,2006:post-3380361
ReferenceViews
2006-10-08T16:01:39Z
2006-10-08T16:01:39Z
Günther Schmidt
Hi,
<br/><br/>I have been using Dolphin for so long now and just yesterday noticed
<br/>ReferenceViews by looking closer at that funny part in just about any
<br/>Dialog view for the first time.
<br/><br/>Very, very convenient feature, I wish it had occured to me earlier.
<br/><br/>So I was going to use ReferenceView in my GUI construction. I have tried
<br/>every sneaky trick I can think of to get them into a presenter without
<br/>the slightest success.
<br/><br/>How /did/ you guys at OA construct the Dialog Views?
<br/><br/>Guenther
<br/><br/><br/>
<p>Posted in <a href="/Dolphin-Smalltalk-f3356073.html">Dolphin Smalltalk</a></p>
tag:forum.world.st,2006:post-3380310
Smalltalk OO design/philosophy question
2006-10-04T22:32:29Z
2006-10-04T22:32:29Z
Jeff M.
In C++, the constructor initializes default values for data. If I did:
<br/><br/>class A {
<br/> A() { /* init something */ }
<br/>};
<br/><br/>class B : public A {
<br/> B() { /* init more something */ }
<br/>};
<br/><br/>Creating an instance of B will call A::A() and B::B(). This is handy,
<br/>of course, because if someone else were to program B, without access to
<br/>the source for A, they don't need to know to call some previous
<br/>initialization function - it just happens.
<br/><br/>The closest thing to a "constructor" that I've found in Smalltalk (by
<br/>convention) is the #initialize method. So, a #new class method might
<br/>look something like this:
<br/><br/>A class>>new
<br/> ^(super new) initialize; yourself
<br/><br/>The problem I have, though, is that if I subclass A and make B, and B
<br/>wants to initialize additional data from A, I have to do this:
<br/><br/>B>>initialize
<br/> super initialize.
<br/> "init more here"
<br/><br/>And while there is nothing "bad" about this, it's just not what I'm
<br/>used to, and I'm sure some day in the future, the next time I subclass
<br/>A (or B), I'll forget to do that and problems will arise.
<br/><br/>So - my question: is the above typically what is done (calling super's
<br/>#initialize) or is there something else that is common-place to
<br/>accomplish the same thing?
<br/><br/>Also, something that I've been noticing (and getting ready to blog
<br/>about), is that many of the habits I'm in (like the above) feel like
<br/>I'm trying to "guide" the programmer. And this feels contrary to the
<br/>Smalltalk philosophy of empowering. Perhaps this is another one of
<br/>those instances.
<br/><br/>Thoughts, comments, and suggestions welcome as always! :-)
<br/><br/>Jeff M.
<br/><br/><br/>
<p>Posted in <a href="/Dolphin-Smalltalk-f3356073.html">Dolphin Smalltalk</a></p>
tag:forum.world.st,2006:post-3380149
MenuItem problem
2006-09-17T02:01:30Z
2006-09-17T02:01:30Z
DiegoC
Hi,
<br/>Evaluating the following code in D5 shows a menu with icons, in D6 it
<br/>doesn't. Something related to winapi seems to be missed, did anyone fixed
<br/>that?
<br/><br/>menu := Menu new
<br/> addCommand: #test1 description: 'test1' image: Object icon;
<br/> yourself.
<br/>menu showIn: View active position: 0@0
<br/><br/><br/>
<p>Posted in <a href="/Dolphin-Smalltalk-f3356073.html">Dolphin Smalltalk</a></p>
tag:forum.world.st,2006:post-3380260
How do you know a method is being tested in SUnit?
2006-09-28T11:26:54Z
2006-09-28T11:26:54Z
Howard Oh
Hello,
<br/><br/>I insert "self halt" into a method before running the entire tests. If
<br/>run into a halt then I know it is being tested. Is there a more modern
<br/>and fast way to do this? (Like method browsing?)
<br/><br/>Many thanks always,
<br/>Howard
<br/><br/><br/>
<p>Posted in <a href="/Dolphin-Smalltalk-f3356073.html">Dolphin Smalltalk</a></p>
tag:forum.world.st,2006:post-3380299
Compiling Smalltalk code on the fly
2006-10-04T06:05:19Z
2006-10-04T06:05:19Z
Andy Burnett
I am trying to write a simple bibliographic parsing program.
<br/>Basically, there is a text file which has some 'tagged' lines e.g. 'AU
<br/>Smith, John' etc.
<br/><br/>I thought I would try to write the code so that it read in each line,
<br/>took the first 2 chars and tried to send that string to itself as a
<br/>message, with the rest of the line as the argument, i.e. in pseudocode
<br/><br/>msg := (aLine first:2).
<br/>arg := aLine - the rest of the line!)
<br/><br/>self msg: arg.
<br/><br/>The only way I have found to make this work is to use the Compiler
<br/>evaluate: method. Is that right, or is there a simpler way of getting
<br/>Smalltalk to execute the code.
<br/><br/>Also, I can only make this work with numbers and symbols. I can't
<br/>figure out quite how to escape the text to make it work, i.e.
<br/><br/>Compiler evaluate: 'self doSomething: "argument"'.
<br/><br/>Could someone please show me my obvious error!
<br/><br/>TVM
<br/>AB
<br/><br/><br/>
<p>Posted in <a href="/Dolphin-Smalltalk-f3356073.html">Dolphin Smalltalk</a></p>
tag:forum.world.st,2006:post-3380331
Smalltalk call for summit
2006-10-05T19:08:12Z
2006-10-05T19:08:12Z
Sebastián Sastre
Hi there,
<br/> I write just to inform here about this news:
<br/><br/>"From: David Griswold - view profile
<br/>Date: Wed, Oct 4 2006 9:46 pm
<br/>Email: "David Griswold" <<a href="/user/SendEmail.jtp?type=node&node=3380331&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>>
<br/>Not yet rated
<br/>Rating:
<br/>show options
<br/>Reply | Reply to Author | Forward | Print | Individual Message | Show
<br/>original | Report Abuse | Find messages by this author
<br/><br/>Hi everybody,
<br/><br/>Dan Ingalls and I have been talking, trying to figure out what to do
<br/>about
<br/>the major opportunity offered by the recent release of the Strongtalk
<br/>virtual machine as open source.
<br/><br/>Rather than keep this discussion to ourselves, our thinking was that
<br/>this
<br/>would be the perfect time to call a kind of summit..."
<br/><br/> more info in: <a href="http://tinyurl.com/pme8q" target="_top" rel="nofollow" link="external">http://tinyurl.com/pme8q</a><br/><br/> cheers,
<br/><br/>Sebastian
<br/><br/><br/>
<p>Posted in <a href="/Dolphin-Smalltalk-f3356073.html">Dolphin Smalltalk</a></p>
tag:forum.world.st,2006:post-3380319
Set system clock
2006-10-05T09:32:48Z
2006-10-05T09:32:48Z
Peter Kenny-2
Hi all
<br/><br/>I would like to ask for advice. I want to be able to set the system clock
<br/>programmatically (my computer clock seems to be erratic, but I can get a
<br/>reliable time from my modem). According to MSDN there is a function
<br/>GetSystemTime in kernel32.dll, which takes a SYSTEMTIME argument and returns
<br/>a Boolean for success/failure. This is not one of the functions exposed in
<br/>the KernelLibrary class, so I would like to add it. I have looked at the
<br/>other function wrappers in the class, and I can see the general pattern, but
<br/>I would like to be sure before I start messing around. I thought I could
<br/>generate the wrapper automatically using a tool like the Active-X Component
<br/>Wizard, but I cannot see how to do it. Could anyone please advise me?
<br/><br/>Thanks in advance.
<br/><br/>--
<br/>Best wishes
<br/><br/>Peter Kenny
<br/><br/><br/>
<p>Posted in <a href="/Dolphin-Smalltalk-f3356073.html">Dolphin Smalltalk</a></p>
tag:forum.world.st,2006:post-3379804
[ANN] WikiDoc source code available to everyone who owns Dolphin Smalltalk X6 Professional
2006-08-17T02:19:40Z
2006-08-17T02:19:40Z
David Gorisek-5
Hello all,
<br/><br/>as already mentioned before we have finally released WikiDoc as source
<br/>code for Dolphin Smalltalk X6 professional.
<br/><br/>The source code is available as STP project export so it will only work
<br/>with Dolphin Smalltalk X6 Professional (licensed version).
<br/><br/>WikiDoc is an example of a web application written in Dolphin using
<br/>OmniBase. WikiDoc can be used as a CMS for building web sites or for
<br/>handling internal documentation.
<br/><br/>WikiDoc has the following features:
<br/>-support for WikiPedia compatible markup syntax,
<br/>-WYSIWYG style HTML page editing,
<br/>-full text search support,
<br/>-hierarchical page organization,
<br/>-support for uploading images,
<br/>-ability to select uploaded images from a thumbnail gallery,
<br/>-support for uploading files,
<br/>-ability to integrate dynamic content from Smalltalk "servlets",
<br/>-...
<br/><br/>The license, download and installation instructions are available from:
<br/><br/><a href="http://wiki.gorisek.com" target="_top" rel="nofollow" link="external">http://wiki.gorisek.com</a><br/><br/>Best regards,
<br/><br/>David Gorisek
<br/><br/><br/>
<p>Posted in <a href="/Dolphin-Smalltalk-f3356073.html">Dolphin Smalltalk</a></p>
tag:forum.world.st,2006:post-3380278
The publisher could not be verified - WinXP
2006-10-02T23:03:47Z
2006-10-02T23:03:47Z
Theo Pronk
Hi,
<br/>Recently a ToGo application triggered a windows security dialog.
<br/>The message is: The publisher could not be verified. Are your sure you
<br/>want to run this software?
<br/>It also displays the name of the exe file.
<br/><br/>I've tried adding the exe file name into the Firewall exceptions but it
<br/>doesn't seem to make any difference.
<br/><br/>The program can be run by simply pressing the Run button, but is a
<br/>nuisance.
<br/>Can anyone help?
<br/><br/>Cheers, Theo Pronk
<br/><br/><br/>
<p>Posted in <a href="/Dolphin-Smalltalk-f3356073.html">Dolphin Smalltalk</a></p>
tag:forum.world.st,2006:post-3380128
System Tray Icon - anyone got the latest app?
2006-09-15T09:44:17Z
2006-09-15T09:44:17Z
Tim M
Looking in the newsgroup threads there are many references to an App that
<br/>makes Windows Tray icon services pretty easy. Unfortunately all the links
<br/>are broken? Someone asked a few months ago and that link is broken too.
<br/><br/>Does anyone have a recent copy of that application - I believe it was called
<br/>TrayIcon.pac?
<br/><br/>Also - maybe someone like Udo could put it on their website so its more readily
<br/>available?
<br/><br/>Any help greatly appreciated.
<br/>Tim
<br/><br/><br/>
<p>Posted in <a href="/Dolphin-Smalltalk-f3356073.html">Dolphin Smalltalk</a></p>
tag:forum.world.st,2006:post-3380287
October Portland Smalltalk Users Group Meeting
2006-10-03T11:03:22Z
2006-10-03T11:03:22Z
Eric Winger
We're going to be holding our next Portland Smalltalk Users Group
<br/>Meeting next week, October 10th at 7pm. Details are here.
<br/><br/><a href="http://www.cincomsmalltalk.com/userblogs/eric/blogView?showComments=true&entry=3337289535" target="_top" rel="nofollow" link="external">http://www.cincomsmalltalk.com/userblogs/eric/blogView?showComments=true&entry=3337289535</a><br/><br/>All are welcome.
<br/><br/>Eric
<br/><br/><br/>
<p>Posted in <a href="/Dolphin-Smalltalk-f3356073.html">Dolphin Smalltalk</a></p>
tag:forum.world.st,2006:post-3380282
[D6] What happened to my loose methods?
2006-10-03T07:27:57Z
2006-10-03T07:27:57Z
Peter Kenny-2
Hi
<br/><br/>This may be a request for clarification of what I did, or a request for
<br/>Dolphin to do something different - it depends on the explanation of my
<br/>results...
<br/><br/>I was tidying up the distribution of work between two related packages. I
<br/>had about six loose methods in Package A, and I wanted to move them all to
<br/>Package B. I went to the loose methods tab for Package A in the package
<br/>browser, selected all the methods and right-clicked to find the 'Change
<br/>package' option. The only relevant-looking option is 'Remove from package',
<br/>so I clicked it, thinking it might give me some sort of clipboard option to
<br/>paste the methods in the new package. The methods disappeared from Package
<br/>A, but I could not paste them into Package B. I exited without saving, and
<br/>tried again. This time I used the 'Browse class' option for each method, and
<br/>then visited each class in turn to move the methods - I did realise that I
<br/>could do multiple selections where a class contained several loose methods,
<br/>but even so it seemed a bit roundabout. All is now OK with my system, but I
<br/>am left with some queries:
<br/><br/>- Is there some easier way to do multiple moves between packages?
<br/><br/>- What had happened to the methods when I selected 'Remove from package';
<br/>were they floating around unpackaged, or had they moved to some other
<br/>package (all the methods were additions to base classes like String and
<br/>Stream)?
<br/><br/>- Should there be a 'Package...' option on the right-click menu on the loose
<br/>methods tab of the package browser, which works like the same option on the
<br/>methods pane of the CHB?
<br/><br/>In case it's relevant, I am still using 6.01 - I haven't used D6 much until
<br/>now, and I have never seen the need to upgrade.
<br/><br/>--
<br/>Best wishes
<br/><br/>Peter Kenny
<br/><br/><br/>
<p>Posted in <a href="/Dolphin-Smalltalk-f3356073.html">Dolphin Smalltalk</a></p>
tag:forum.world.st,2006:post-3380274
Initialization in packages
2006-10-02T10:44:38Z
2006-10-02T10:44:38Z
Peter Kenny-2
Hello All
<br/><br/>This is just a request for reassurance that I have got something right. I am
<br/>importing a 'package' in .st chunk format into Dolphin, and I want to turn
<br/>it into a Dolphin package file. The end of the .st file contains several
<br/>lines of the form:
<br/>ClassName initialize
<br/>and I would just like to check that the appropriate place for these is in
<br/>the post-install script of the package.
<br/><br/>Thanks in advance for any help
<br/><br/>--
<br/>Best wishes
<br/><br/>Peter Kenny
<br/><br/><br/>
<p>Posted in <a href="/Dolphin-Smalltalk-f3356073.html">Dolphin Smalltalk</a></p>
tag:forum.world.st,2006:post-3380264
Smalltalk in Industry video
2006-09-30T04:46:23Z
2006-09-30T04:46:23Z
davidbuck
The Smalltalk Central site now contains a video I produced called
<br/>"Smalltalk in Industry". It shows how Smalltalk is used in many
<br/>different applications and industry sectors. This is intended as the
<br/>first video in a series that will introduce newbies to Smalltalk. I'd
<br/>like to thank all the people who submitted screenshots, animations and
<br/>summaries of their applications. It really helps highlight how Smalltalk
<br/>is being used.
<br/><br/>Check it out here:
<br/><br/>
<br/><a href="http://www.smalltalk-central.com/showDocument.ssp?section=Articles&name=Screencasts" target="_top" rel="nofollow" link="external">http://www.smalltalk-central.com/showDocument.ssp?section=Articles&name=Screencasts</a><br/><br/>David Buck
<br/>Simberon Inc.
<br/>www.simberon.com
<br/><br/><br/>
<p>Posted in <a href="/Dolphin-Smalltalk-f3356073.html">Dolphin Smalltalk</a></p>
tag:forum.world.st,2006:post-3380266
How to recover from Object := nil?
2006-09-30T05:17:09Z
2006-09-30T05:17:09Z
Howard Oh
One sleepy night work, I accidently
<br/><br/> Object := nil.
<br/><br/>with object := nil in mind.
<br/><br/>I saved the image after that not noticing the mistake.
<br/><br/>How to recover from this mass?
<br/><br/><br/>
<p>Posted in <a href="/Dolphin-Smalltalk-f3356073.html">Dolphin Smalltalk</a></p>
tag:forum.world.st,2006:post-3380269
TranscriptShell request
2006-09-30T15:51:00Z
2006-09-30T15:51:00Z
Esteban A. Maringolo
Hi,
<br/><br/>It would be very useful (to me) if you can add a "Always visible" option
<br/>to the TranscriptShell view.
<br/><br/>Regards,
<br/><br/>--
<br/>Esteban.
<br/><br/><br/>
<p>Posted in <a href="/Dolphin-Smalltalk-f3356073.html">Dolphin Smalltalk</a></p>
tag:forum.world.st,2006:post-3380265
IMAP
2006-09-30T05:12:51Z
2006-09-30T05:12:51Z
Günther Schmidt
Hi,
<br/><br/>are there ActiveX components that I can use in Dolphin to access my
<br/>mailbox via IMAP?
<br/><br/>Günther
<br/><br/><br/>
<p>Posted in <a href="/Dolphin-Smalltalk-f3356073.html">Dolphin Smalltalk</a></p>
tag:forum.world.st,2006:post-3380183
Auto strip leaves development class references
2006-09-20T23:29:20Z
2006-09-20T23:29:20Z
Bill Dargel
I'm stumped on how to get an image strip in D5 to be clean, without any
<br/>development classes remaining, when run automatically. The exact same
<br/>strip, when done manually comes up clean:
<br/> "All development classes were successfully stripped from the image"
<br/>But the automatic one has: [1]
<br/> "Development classes remaining in image
<br/> ClassBrowserAbstract has 0 instance(s)
<br/> SmalltalkSystem has 1 instance(s)
<br/> SmalltalkToolShell has 0 instance(s)
<br/> SmalltalkWorkspaceDocument has 0 instance(s)
<br/> SystemBrowserShell has 0 instance(s)
<br/> ViewComposer has 0 instance(s)"
<br/><br/>Testing using the script:
<br/>------
<br/>"
<br/>SessionManager inputState queueDeferredAction: (MessageSend receiver:
<br/>(Package manager packageNamed: 'ST Application Linked') imageStripper
<br/>selector: #stripAndSaveWithProgress).
<br/>"
<br/> Smalltalk at: #DoingAutomaticStrip put: true.
<br/> (SmalltalkWorkspaceDocument filename:
<br/>'Z:\working\devel\Dolphin5\StripLinkedImage.st') workspace
<br/> selectionRange: (4 to: 182)
<br/> " ; evaluateIt. "
<br/>!
<br/>------
<br/><br/>It's a bit funky in that it opens a workspace on itself, and selects the
<br/>commented out code at the top. But I wanted to minimize the manual
<br/>interaction needed (and the differences between doing it manually and
<br/>automatically).
<br/><br/>This file is filed in by MyDevelopmentSessionManager>>main (due to a
<br/>command line argument). For the manual case, after the workspace appears
<br/>I can type a single ctrl-E and the strip occurs. For the automatic case,
<br/>the script (with the #evaluateIt uncommented) does the same strip, but
<br/>ends up with development classes remaining.
<br/><br/>Any ideas?
<br/><br/>I've tried so many combinations of forks, delays and postToInputQueues
<br/>that I can't see straight any more. And having it take about 6 minutes
<br/>for each attempt makes it rather painful.
<br/><br/>thanks,
<br/>-Bill
<br/><br/>---------------
<br/>[1] Details for extant references:
<br/><br/>ClassBrowserAbstract 0 0 0 #(SystemBrowserShell)
<br/><br/>SmalltalkSystem 1 0 0 #(a SmalltalkSystem)
<br/><br/>SmalltalkToolShell 0 0 0 #(ClassBrowserAbstract ViewComposer)
<br/><br/>SmalltalkWorkspaceDocument 0 0 0 #(a WeakIdentityDictionary(a WeakSet()
<br/>-> an EventsCollection(#elementsExpired: -> an EventMessageSequence)
<br/>SystemBrowserShell -> an EventsCollection(#viewOpened: -> an
<br/>EventMessageSequence) a SchedulingLinkedSessionManager -> an
<br/>EventsCollection(#sessionStopped -> an EventMessageSequence
<br/>#imageSaveStarting -> an EventMessageSequence #sessionStarted -> an
<br/>EventMessageSequence) SmalltalkWorkspaceDocument -> an
<br/>EventsCollection(#viewOpened: -> an EventMessageSequence)) a
<br/>SmalltalkSystem)
<br/><br/>SystemBrowserShell 0 0 0 #(a WeakIdentityDictionary(a WeakSet() -> an
<br/>EventsCollection(#elementsExpired: -> an EventMessageSequence)
<br/>SystemBrowserShell -> an EventsCollection(#viewOpened: -> an
<br/>EventMessageSequence) a SchedulingLinkedSessionManager -> an
<br/>EventsCollection(#sessionStopped -> an EventMessageSequence
<br/>#imageSaveStarting -> an EventMessageSequence #sessionStarted -> an
<br/>EventMessageSequence) SmalltalkWorkspaceDocument -> an
<br/>EventsCollection(#viewOpened: -> an EventMessageSequence)) a
<br/>SmalltalkSystem)
<br/><br/>ViewComposer 0 0 0 #(a SmalltalkSystem)
<br/><br/>--
<br/>Bill Dargel <a href="/user/SendEmail.jtp?type=node&node=3380183&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br/>Shoshana Technologies
<br/>100 West Joy Road, Ann Arbor, MI 48105 USA
<br/><br/><br/>
<p>Posted in <a href="/Dolphin-Smalltalk-f3356073.html">Dolphin Smalltalk</a></p>
tag:forum.world.st,2006:post-3379908
[FR] Evaluate expressions in Transcript
2006-08-26T22:11:30Z
2006-08-26T22:11:30Z
panu@nospam.com
FEATURE REQUEST ([FR]):
<br/>It would help if we could directly evaluate an expression that is
<br/>printed on the Transcript.
<br/><br/>RATIONALE:
<br/>Sometimes in my program I might consider doing something like opening a
<br/>web-browser for the user. However, that might be too disruptive if it
<br/>happens often. Rather, I would like to print on the Transcript an
<br/>expression the user can evaluate to open the browser themselves.
<br/>Currently if I do that, the user must first copy the expression from the
<br/>Transcript, and paste it somewhere else, before they can evaluate it.
<br/><br/>On a more general level, it would help if the menus on all text-windows
<br/>would be the same, perhaps just having some of the items disabled in
<br/>some contexts, if necessary.
<br/><br/>Thanks
<br/>-Panu Viljamaa
<br/><br/><br/>
<p>Posted in <a href="/Dolphin-Smalltalk-f3356073.html">Dolphin Smalltalk</a></p>