Re: [Pharo-users] #collect:as:Dictionary

2015-10-24 Thread Nicolai Hess
2015-10-23 8:33 GMT+02:00 Marcus Denker : > > > On 23 Oct 2015, at 07:12, Peter Uhnák wrote: > > > > Hi, > > > > is this intentional behavior? > > > > #(a b c) collect: [ :each | each -> each first asciiValue ] as: > Dictionary. > > "a Dictionary(1->#a->97 2->#b->98 3->#c->99 )" > > > > (#(a b c)

Re: [Pharo-users] fast subclassing/class creation in tests

2015-10-24 Thread Nicolai Hess
You can wrap the subclassing and the \removeFromSystem with SystemAnnouncer uniqueInstance suspendAllWhile: [ ] 2015-10-24 20:43 GMT+02:00 Peter Uhnák : > Hi, > > is it possible to do fast, non-system wide class subclassing in tests? > > Currently I would do something like > > ~~

Re: [Pharo-users] VM crash on Ubuntu 14.04

2015-10-24 Thread Nicolai Hess
Can you provide the image file. What exactly runs in the image (does it depend on ROS or does it crash even without it). For what do you use Roassal in this environment. Can you reproduce the crash with a clean image (and maybe loading some package - without all of the ROS-stuff? (I just followed t

Re: [Pharo-users] Exploring a data matrix with sunburst

2015-10-25 Thread Nicolai Hess
2015-10-25 13:55 GMT+01:00 Offray Vladimir Luna Cárdenas : > Anyone? > > No idea, maybe you can implement a new builder, based on the code of sunbirst but with a different usage of the data. > > On 23/10/15 20:54, Offray Vladimir Luna Cárdenas wrote: > >> Hi, >> >> I'm trying to make a visualiz

Re: [Pharo-users] VM crash on Ubuntu 14.04

2015-10-27 Thread Nicolai Hess
he debugger will show a stacktrace. > > On Oct 24, 2015, at 19:45, Nicolai Hess wrote: > > Can you provide the image file. > What exactly runs in the image (does it depend on ROS or > does it crash even without it). For what do you > use Roassal in this environment. >

Re: [Pharo-users] How to add a keyboard shortcut to Rubric?

2015-10-28 Thread Nicolai Hess
2015-10-28 19:59 GMT+01:00 Johan Fabry : > Hi all, > > I am trying to add a keyboard shortcut to a RubTextEditor. I have tried > different ways but nothing seems to work. I have even tried modifying > buildShortcutsOn: at class side to include the extra shortcut but it does > not have any effect a

Re: [Pharo-users] How to add a keyboard shortcut to Rubric?

2015-10-28 Thread Nicolai Hess
or processing the keyevents is the textArea of the RubScrolledTextMorph, this should work | window text | text := RubScrolledTextMorph new. "define a custom shortcut - notice the call to textArea" text textArea removeKeyCombination: $s command. text textArea on:$s

Re: [Pharo-users] Changing playground and monticello shortcuts

2015-11-11 Thread Nicolai Hess
2015-11-11 10:45 GMT+01:00 Peter Uhnák : > Hi, > > currently to open a Playground via shortcut one has to type +o+w, > that's because it used to open Workspace. > However since it now opens Playground the shortcut is no longer > appropriate. > > So can we change it to +o+p? > (This shortcut is cur

Re: [Pharo-users] FileDialog from Spec

2015-11-12 Thread Nicolai Hess
2015-11-12 7:23 GMT+01:00 Jeff Gray : > In Pharo 4. > I'm writing a ui in spec and I want to be able to select and open a file on > a button click. > I can see one example in polymorph but I don't know if that can be used > from > spec. > Or am I missing something obvious? > We don't have a spec

Re: [Pharo-users] How to play audio files with Pharo ?

2015-11-19 Thread Nicolai Hess
2015-11-19 15:07 GMT+01:00 Dimitris Chloupis : > thank you Esteban, it works on my IMac too :) > > but on Ubuntu I am getting this error > > sound_Start(default) soundStart: snd_add_pcm_handler: Function not > implemented sound_Start(default) soundStart: snd_add_pcm_handler: Function > not impleme

Re: [Pharo-users] About profiling code

2015-11-22 Thread Nicolai Hess
2015-11-22 20:01 GMT+01:00 Dimitris Chloupis : > Why > > [CheckboxMorph new] timeProfile > > returns nothing ? > too fast? [ 3+3 ] timeProfile return nothing too. try [CheckboxMorph new openInWorld] timeProfile. > > I also tried it in the profile tool without the block and still displays > not

Re: [Pharo-users] Spec: Binding widgets how to

2015-11-29 Thread Nicolai Hess
2015-11-26 19:36 GMT+01:00 Offray Vladimir Luna Cárdenas : > Hi, > > I had tried that before and didn't work. Passing information between > widgets and back in this spec interface seems my stop point now... If > someone could help me with some kind of minimalist example that uses > treeModel, tha

Re: [Pharo-users] Code pane in Pharo 5

2015-12-04 Thread Nicolai Hess
2015-12-04 9:55 GMT+01:00 p...@highoctane.be : > Is there a way to have that pane with *less* noise around the code? > > Like getting rid of the suggestions panel at the bottom? > You can disable the "Quality Assistance"-NautilusPlugin > Or the status line with W +L Format as you type? > > Not

Re: [Pharo-users] where is save export setting file

2015-12-06 Thread Nicolai Hess
2015-12-06 16:22 GMT+01:00 Hilaire : > Hello > > Where export setting save the prefrence in the host file system, on Linux. > > I am stuck with it and need to delete it > > which version? in pharo 5.0 latest: ~/.config/pharo/5.0/system-settings.ston Thanks > > Hilaire > > -- > Dr. Geo > http:

Re: [Pharo-users] Keymapping, shift vs non-shift

2015-12-14 Thread Nicolai Hess
2015-12-14 11:16 GMT+01:00 Stephan Eggermont : > On my keyboard I have '+' in two positions: once over the '=' in the > alphanumeric part,and once as a separate key on the numeric part. > When I do a > > self bindKeyCombination: $+ command mac | $+ ctrl win | $+ ctrl unix > toAction: [ self incr

Re: [Pharo-users] Someone broke startup scripts on ubuntu

2015-12-15 Thread Nicolai Hess
Do you have the sources file ? (PharoV40.sources) 2015-12-15 11:14 GMT+01:00 Dimitris Chloupis : > I get my pharo on ubuntu 14 64 bit with > > cd Ephestos; wget -O- get.pharo.org/alpha+vmLatest | bash > > looks like startup scripts on ubuntu has been broken > > StartupPreferencesLoader preference

Re: [Pharo-users] Roassal Performance Issues when applying layout

2015-12-16 Thread Nicolai Hess
2015-12-16 12:10 GMT+01:00 Esteban Lorenzano : > that’s most probably a bug in new FFI-NB backend. > On windows (with spur-vm) most athens examples with transformations and/or text don't work (-> crash the vm). > I would love some help here :) > where to start? Is there a documentation about f

Re: [Pharo-users] Roassal Performance Issues when applying layout

2015-12-16 Thread Nicolai Hess
2015-12-16 12:28 GMT+01:00 Nicolai Hess : > > > 2015-12-16 12:10 GMT+01:00 Esteban Lorenzano : > >> that’s most probably a bug in new FFI-NB backend. >> > > On windows (with spur-vm) most athens examples with transformations and/or > text don't wo

Re: [Pharo-users] [Question] Inspecting a collection of strings in Pharo 5 -- edit pane for a string?

2015-12-21 Thread Nicolai Hess
2015-12-21 13:58 GMT+01:00 H. Hirzel : > On 12/20/15, Sven Van Caekenberghe wrote: > > I think the original question was how to change one element from a > > collection by another one, in this case, replace a string by another > one, by > > 'editing' an item, not to destructively modify a string

Re: [Pharo-users] Transcendental #new (was Re: why Pillar)

2015-12-28 Thread Nicolai Hess
2015-12-28 3:15 GMT+01:00 Robert Withers : > Here's the thing that gets my goat: I had already acknowledged it was > enough for the list and was signing off further comment when Ben decided he > really needed to add his two cents. It is unfortunate he did not spend his > change in a positive manne

Re: [Pharo-users] Pharo 5: Bug in removing key combinations

2015-12-29 Thread Nicolai Hess
2015-12-28 19:07 GMT+01:00 Johan Fabry : > Hi all, > > Miguel and I found a bug in removing key combinations on a morph. Now they > are global, while in Pharo 4 this was not the case. I was able to reproduce this on Pharo 4 as well, I think the main difference is that Pharo 5 uses Rubric for "Wo

Re: [Pharo-users] Pharo 5: Bug in removing key combinations

2015-12-29 Thread Nicolai Hess
't necessary to remove the defined (category-shortcuts) but just add the new ones: | morph | morph := RubScrolledTextMorph new. (morph textArea) on: $s command do: [42 inspect ]; on: $s control do: [42 inspect ]. morph openInWorld. > On Dec 29, 2015, at 09:51, Nicolai Hess wrot

Re: [Pharo-users] Spec: Binding widgets how to

2016-01-03 Thread Nicolai Hess
ly works as part of the class I defined with the method buildNodeFor: ( it calls "self buildNodeFor:") > > There is any way to run a minimal GUI with a tree using your example? I'm > still missing a key concept on how to use spec and binding between widgets. > what is missing ? this

Re: [Pharo-users] Spec: Binding widgets how to

2016-01-03 Thread Nicolai Hess
2016-01-03 23:52 GMT+01:00 Offray Vladimir Luna Cárdenas : > Hi, > > On 03/01/16 08:45, Nicolai Hess wrote: > > > > >> >> There is any way to run a minimal GUI with a tree using your example? I'm >> still missing a key concept on how to use spec

Re: [Pharo-users] Crash or locked VM

2016-01-08 Thread Nicolai Hess
2016-01-08 21:01 GMT+01:00 stepharo : > thanks hilaire. > > Stef > > Le 5/1/16 22:11, Hilaire a écrit : > > Hi, >> >> I have a situation with a recursive Dr. Geo script where the image crash >> or get locked (Can't hold on the image). >> I tried with latest VM as detailed in the joined crash dump.

Re: [Pharo-users] Crash or locked VM

2016-01-08 Thread Nicolai Hess
2016-01-08 23:20 GMT+01:00 Hilaire : > Le 08/01/2016 21:31, Nicolai Hess a écrit : > > > > > > The crashing image itself can be found there in case of > usefulness > > https://www.dropbox.com/s/rur8ayt8eon6mab/drgeo.image.zip?dl=0 > > >

Re: [Pharo-users] Pharo Docs website broken

2016-01-11 Thread Nicolai Hess
I opened a fogbugz issue 17348 remove pharo documentation link 2016-01-11 2:37 GMT+01:00 John Pfersich : > On my iPad the docs look like this: > > > > It's an unusable mess. > > Sent from my iPad > > > On Jan 10, 2016, at 15:

Re: [Pharo-users] [ann] gtdebugger in pharo 5.0

2016-01-12 Thread Nicolai Hess
2016-01-08 11:24 GMT+01:00 Tudor Girba : > Hi, > > We are about to integrate in Pharo a new member of the Glamorous Toolkit: > the GTDebugger. As this is a significant change that might affect your > workflow, here is some background information to help you deal with the > change. > > First, you s

Re: [Pharo-users] Spec: Populating a playground with a particular content (was Re: Spec: Binding widgets how to)

2016-01-14 Thread Nicolai Hess
2016-01-13 23:07 GMT+01:00 Offray Vladimir Luna Cárdenas : > Hi, > > I've reading the code at [1] but I'm still having problems understanding > the dynamic spec. I have created a small dictionary and populated with > data, then created the accessors and initializePresenter, initializeWidgets > an

Re: [Pharo-users] Spec: Populating a playground with a particular content (was Re: Spec: Binding widgets how to)

2016-01-14 Thread Nicolai Hess
our interface that is > already populated with a given content? > > I would expect (content is the GlamourPresentationModel) content glmPres codePresentation text: 'new text'. but it does not work. > Thanks, > > Offray > > On 14/01/16 03:56, Nicolai Hess wro

Re: [Pharo-users] Morphic is super slow

2016-01-15 Thread Nicolai Hess
2016-01-15 21:53 GMT+01:00 Hilaire : > It depends on what you are doing in a step, but 1s step should not hurt. > May be the problem is somewhere else. > With DrGeo, I noted Athens is faster to BitBlt with bitmap operations > (in my case, only scaling and displaying a From in a DrGeo canvas). > Al

Re: [Pharo-users] Morphic is super slow

2016-01-15 Thread Nicolai Hess
2016-01-16 0:06 GMT+01:00 Sven Van Caekenberghe : > > > On 15 Jan 2016, at 23:30, Dimitris Chloupis > wrote: > > > > taskbar was the problem, damn pharo gui is a huge pain in the hat. > > How so ? > I would like to now that too. Btw, this is interesting too: WorldState debugShowDamage:true. A

Re: [Pharo-users] Morphic is super slow

2016-01-15 Thread Nicolai Hess
2016-01-16 0:11 GMT+01:00 Nicolai Hess : > > > 2016-01-16 0:06 GMT+01:00 Sven Van Caekenberghe : > >> >> > On 15 Jan 2016, at 23:30, Dimitris Chloupis >> wrote: >> > >> > taskbar was the problem, damn pharo gui is a huge pain in the hat.

Re: [Pharo-users] Creation form from PNG file very slow on Pharo 4 and 5

2016-01-16 Thread Nicolai Hess
2016-01-16 13:50 GMT+01:00 Dimitris Chloupis : > Seems that creating forms and morph from pngs is super slow > > opened bug report > > > https://pharo.fogbugz.com/f/cases/17403/Creating-Forms-from-PNGs-is-very-slow > > your are loading 0-59 images in one turn. this takes ~ 1000 ms. Thats not bad.

Re: [Pharo-users] Creation form from PNG file very slow on Pharo 4 and 5

2016-01-16 Thread Nicolai Hess
2016-01-16 15:40 GMT+01:00 Dimitris Chloupis : > disk, 1TB. why it matters ? from my profile its clear that its not the > primitive that is the problem but how Pharo processes pngs. > > I happen to work with a lot of big data both in 3d graphics, a blender > file can easily reach 250 mb and it ope

Re: [Pharo-users] Creation form from PNG file very slow on Pharo 4 and 5

2016-01-16 Thread Nicolai Hess
2016-01-16 21:36 GMT+01:00 Dimitris Chloupis : > how the bug report is bad ? > > No the workarounds were not helpful because I was already aware of them :) > > I appreciate people trying to help as always but yes it was upsetting to > me , to be told that my bug report is bad, that loading 60 tiny

Re: [Pharo-users] Fogbuz issues

2016-01-17 Thread Nicolai Hess
2016-01-17 11:00 GMT+01:00 Dimitris Chloupis : > Since I am on a complaining spree lately let me complain once more. > > I really dont like Fogbuz and in order not to bore with blah blah lets get > to 2 big issues > > 1) If you open a bug report it does not subscribe you to it, WTF !!! Who > else

Re: [Pharo-users] Fogbuz issues

2016-01-17 Thread Nicolai Hess
dancing in the rain > WTF dancing in the rain > > On Sun, Jan 17, 2016 at 12:25 PM Nicolai Hess > wrote: > >> 2016-01-17 11:00 GMT+01:00 Dimitris Chloupis : >> >>> Since I am on a complaining spree lately let me complain once more. >>> >&g

Re: [Pharo-users] Fogbuz issues

2016-01-17 Thread Nicolai Hess
e you own filters, like openedBy:me status:open > > On Sun, Jan 17, 2016 at 12:39 PM Nicolai Hess > wrote: > >> 2016-01-17 11:32 GMT+01:00 Dimitris Chloupis : >> >>> Or the alternative is just go down, down , down the list to My Open >>> Cas

Re: [Pharo-users] Pharo 5 new vm crash on window resize

2016-01-17 Thread Nicolai Hess
2016-01-17 11:23 GMT+01:00 Alexandre Bergel : > I have seen this already. I avoid the problem by not resizing the window > while saving with Monticello. > > Hope it helps > Did not happen yet to me on windows. What platform and VM-Version do you use? > > Alexandre > > > > Le 16 janv. 2016 à 12:

Re: [Pharo-users] [Pharo-dev] [Moose-dev] [ann] gtdebugger in pharo 5.0

2016-01-17 Thread Nicolai Hess
reporting these issues. They are indeed bugs and we are > working on fixing them. > > > > Cheers, > > Andrei > > > > On Tue, Jan 12, 2016 at 11:24 PM, Nicolai Hess > wrote: > > > > > > 2016-01-08 11:24 GMT+01:00 Tudor Girba : > > Hi, &

Re: [Pharo-users] [Pharo-dev] [Moose-dev] [ann] gtdebugger in pharo 5.0

2016-01-17 Thread Nicolai Hess
2016-01-17 22:09 GMT+01:00 Tudor Girba : > Hi, > > > On Jan 17, 2016, at 7:56 PM, Nicolai Hess wrote: > > > > > > […] > > > > - I really miss the "List Methods using 'varname'/List Methods storing > into ‘varname' > >

Re: [Pharo-users] Ready to play guinea pig for UI improvements

2016-01-22 Thread Nicolai Hess
2016-01-22 13:26 GMT+01:00 Werner Kassens : > On 01/22/2016 01:16 PM, Tudor Girba wrote: > > I do not understand this one. Could you describe more specifically the >> scenario? >> > > if i do a "debug test" in the contextmenu of "testGenericCharCall" (in > FFIPluginTests) and press "restart" then

Re: [Pharo-users] Spec Questions

2016-02-02 Thread Nicolai Hess
Hi Khrystyna, there is an example TabsExample it opens a tabmanager model with multiple tabs. The tabs contain a class browser a symstembrowser and an object inspector. I hope this helps. nicolai 2016-02-02 9:31 GMT+01:00 Khrystyna Mykhailiuk : > Hello, all! > > Recently, I have started wor

Re: [Pharo-users] how to add a class via programatic refactoring

2016-02-08 Thread Nicolai Hess
Not the best way maybe: | model refactoring1 refactoring2 browser | model := RBNamespace onEnvironment: RBBrowserEnvironment new. refactoring1 := RBAddClassRefactoring model: model addClass: #SomeClass superclass: #Object subclasses: {} category:

Re: [Pharo-users] how to add a class via programatic refactoring

2016-02-08 Thread Nicolai Hess
2016-02-08 10:57 GMT+01:00 Nicolai Hess : > Not the best way maybe: > > | model refactoring1 refactoring2 browser | > model := RBNamespace onEnvironment: RBBrowserEnvironment new. > refactoring1 := RBAddClassRefactoring > model: model >

Re: [Pharo-users] Simple question about Spec

2016-02-09 Thread Nicolai Hess
2016-02-04 8:17 GMT+01:00 stepharo : > I do not like the API :) > Hi Steph, Julien, Iooked at the fix for this issue. Implementing #activate on WindowModel and delegate to self window of course works. But I am unsure if we want to do it that way, because messages like #maximize #minimize are imp

Re: [Pharo-users] Spec #focusOrder

2016-02-10 Thread Nicolai Hess
2016-02-10 12:20 GMT+01:00 Julien Delplanque : > Hi, > > I am trying to manage the focus order of my widget that uses sub-widgets > with their #focusOrder defined. > > How do spec manage nested focus order? I see in the implementation that it > is simply an OrderedCollection. > > I does not behave

Re: [Pharo-users] Spec #focusOrder

2016-02-10 Thread Nicolai Hess
2016-02-10 13:15 GMT+01:00 Julien Delplanque : > > > On 10/02/16 12:48, Nicolai Hess wrote: > >> 2016-02-10 12:20 GMT+01:00 Julien Delplanque : >> >> Hi, >>> >>> I am trying to manage the focus order of my widget that uses sub-widgets >>> w

Re: [Pharo-users] Dr. Geo on gravity

2016-02-11 Thread Nicolai Hess
2016-02-11 9:14 GMT+01:00 Hilaire : > A nice article about a gravity simulation designed with Dr. Geo. Written > by a college teacher. > > > http://blog.drgeo.eu/post/2016/Drawing-the-Parabolic-Trajectory-of-an-Object-under-Gravity > > Hilaire > Thanks Hilaire, this looks great. > > -- > Dr. Ge

Re: [Pharo-users] Compiling Pharo to C++

2016-02-16 Thread Nicolai Hess
2016-02-16 9:52 GMT+01:00 kilon.alios : > So doing further research into Unreal , I have reached the conclusion that > the best way to integrate Pharo is make a compiler that takes Pharo code > and > compiles it to C++. > even for C, there is no compiler that takes Pharo code and compiles it to C

Re: [Pharo-users] [Pharo-dev] Who is using Pharo Launcher and for what

2016-02-20 Thread Nicolai Hess
2016-02-20 11:49 GMT+01:00 Damien Cassou : > For my CV, I need to know who is using the stuff I'm doing. If you use > the Pharo Launcher, could you please tell me in which context (e.g., > which company, open-source project) and what you use it for (e.g., > download from CI, standard Pharo)? > > I

Re: [Pharo-users] embedding images inside Playground

2016-02-21 Thread Nicolai Hess
2016-02-21 0:06 GMT+01:00 Peter Uhnák : > Hi, > > is it possible to somehow embed images (Form) inside Playground? > With good old PluggableTextMorph and Text you can just call #asText on a Morph and add it to the text of the TextMorph: |text block| block := [ PolymorphSystemSettings pharoLogo

Re: [Pharo-users] Strange behavior of Pragma>>#allNamed:in:

2016-02-23 Thread Nicolai Hess
2016-02-23 22:19 GMT+01:00 Julien Delplanque : > Hi, > > I experience a strange behavior with Pragma>>#allNamed:in: > > When I use > > Pragma allNamed: #myPragma in: MyClass > > It works as expected. > > But when instead of hard-coding "MyClass" I use "self class" in an method > (instance side), >

Re: [Pharo-users] PharoLauncher eventual slowdown

2016-03-04 Thread Nicolai Hess
2016-03-04 17:15 GMT+01:00 Ben Coman : > Hi Peter, I see you had this problem 12 months ago. > > http://lists.pharo.org/pipermail/pharo-users_lists.pharo.org/2015-February/017026.html > > What you can try is in development mode, closing the PharoLauncher > window, nil out class variables and garba

Re: [Pharo-users] Interleaving strings

2016-03-21 Thread Nicolai Hess
What is your implementation with with:collection: ? I know this function from python, they call it "zip" we could implement this in SequenceableCollection SequenceableCollection>>zip: aCollection | index | index := 0. self size > aCollection size ifTrue:[ ^ aCollection zip: self].

Re: [Pharo-users] Customizing SmalltalkEditor context menu issue

2016-03-22 Thread Nicolai Hess
2016-03-22 22:27 GMT+01:00 Ala'a Mohammad : > Hi, > > I'm trying to modify the context menu of the code editor through > modification to SmalltalkEditor class >> smalltalkEditorMenuOn: > Hi Ala'a > > testing the modification with > (PragmaMenuBuilder pragmaKeyword: 'smalltalkEditorMenu' model:

Re: [Pharo-users] [Pharo-dev] Spotter Survey

2016-03-29 Thread Nicolai Hess
2016-03-29 10:17 GMT+02:00 Andrei Chis : > Hello everybody, > > We are conducting a small survey about Spotter. > It would help us if you would complete the survey at: > http://spotter.limequery.com/index.php/216683/lang-en > > We will use the data from this survey both in a research tasks and to

Re: [Pharo-users] condensing a changes file

2016-03-29 Thread Nicolai Hess
Yes, but it does not work on windows currently. 16551 Condense changes/source does not work on windows 2016-03-29 18:02 GMT+02:00 Johannes Brauer : > Hi, > > in VisualWorks there is the feature to condense

Re: [Pharo-users] Debugger in 4.0

2016-04-05 Thread Nicolai Hess
2016-04-05 16:43 GMT+02:00 Hilaire : > Hello, > > From the debugger, in the bottom panes, when debugging in a bloc of > code, it seems impossible to access *at the same time* the instance > variables and the method variables. > > Am I missing something? > I don't understand, in Pharo 4.0 the deb

Re: [Pharo-users] Debugger in 4.0

2016-04-05 Thread Nicolai Hess
2016-04-05 20:37 GMT+02:00 Hilaire : > See in the screenshot, > > contractRate is an instance variable. When evaluating it from the method > variable pane, it seems to return an index. > Ok, thats funny. > > When evaluating a method variable from the instance variable pane you > get an undefine

Re: [Pharo-users] Debugger in 4.0

2016-04-06 Thread Nicolai Hess
2016-04-05 20:48 GMT+02:00 Nicolai Hess : > > > 2016-04-05 20:37 GMT+02:00 Hilaire : > >> See in the screenshot, >> >> contractRate is an instance variable. When evaluating it from the method >> variable pane, it seems to return an index. >> > > Ok,

Re: [Pharo-users] MessageDialogWindow(s)

2016-04-10 Thread Nicolai Hess
2016-04-11 8:29 GMT+02:00 Stephan Eggermont : > On 11-04-16 02:00, Robert J Rothwell wrote: > >> Should >> >> (MessageDialogWindow new text: 'Hello') open >> >> work? >> >> I get a stack trace on CompositionScanner if I try to set the text. >> > > Yes. Please open a bug entry. (If you want

Re: [Pharo-users] FFI return by reference

2016-04-13 Thread Nicolai Hess
2016-04-11 15:10 GMT+02:00 Esteban Lorenzano : > > > On 11 Apr 2016, at 06:24, Thibault Raffaillac < > thibault.raffail...@inria.fr> wrote: > > > >>> 1) Declare a class variable > >>> > >>> MyClass class>>initialize > >>> INT_PTR := FFIExternalValueHolder ofType: ?int?. > >> > >> as a larger e

Re: [Pharo-users] Turning off Growl notifications

2016-04-15 Thread Nicolai Hess
I think there is no easy way. At least I don't see a setting for this. 2016-04-15 17:20 GMT+02:00 kmo : > Is there an easy way to turn off the Growl notification > > Information - EvaluateCommandLineHandler successfully finished > > that comes up when an expression is evaluated on the command lin

Re: [Pharo-users] RBAddClassRefactoring ensuring existence

2016-04-16 Thread Nicolai Hess
2016-04-16 20:59 GMT+02:00 Peter Uhnák : > Hi, > > is it possible to "ensure" that class exists with RBAddClassRefactoring? > > Right now RBAddClassRefactoring will throw up if the class already exists. > > I would like it to create the class if it doesn't exist and just do > nothing if it already

Re: [Pharo-users] Trapping the Pharo window close event

2016-04-17 Thread Nicolai Hess
2016-04-14 19:57 GMT+02:00 kmo : > How do you get rid of that "Quit Pharo without saving message" that comes > up > when you try to close the Pharo window? I want to just let the user exit > without any message or perhaps replace the message with one of my own. > > > Aboiut what are we talking ? T

Re: [Pharo-users] final version of pharo syntax cheat page

2016-04-18 Thread Nicolai Hess
2016-04-18 8:54 GMT+02:00 stepharo : > Hi > > I will publish it to the pharo file server as soon as I understand how :) > > Stef > 1. the pharo logo is not anymore the one we are using in the image or on the web side. 2. thank you Stef !

Re: [Pharo-users] Rename a file

2016-04-18 Thread Nicolai Hess
2016-04-18 11:08 GMT+02:00 Sven Van Caekenberghe : > Think of it as follows: Pharo is cross platform, forward slash is used on > *nix and Mac OS, but not Windows where it is backslash. FileReference is an > object oriented API that abstracts over that. Asking for an interpretation > of the sub par

Re: [Pharo-users] Strange behaviour with traits

2016-04-24 Thread Nicolai Hess
2016-04-24 10:33 GMT+02:00 Hilaire : > I am tempted to think the problem show up when migrating from 3.0 to > 4.0. So it could be related to Monticello. > I will have the opportunity to come back to this problem later, it > should be easy to identify the cause. > It was really painful to manually

Re: [Pharo-users] restoring a deleted method

2016-04-25 Thread Nicolai Hess
2016-04-24 14:40 GMT+02:00 Siemen Baader : > Hi, > > according to Pharo By Example [1], I should be able to retrieve a deleted > method in the Change Sorter by right-clicking it and browsing old versions. > However, I get the message 'Sorry, only actual methods have retrievable > versions'. > Thi

Re: [Pharo-users] Playgound inspecting

2016-04-27 Thread Nicolai Hess
rum.world.st/GL-inspector-editing-attribute-td4837704.html >>>>>> >>>>>> The same mis fortune is encountered with Pharo5 >>>>>> >>>>>> I don't imagine how it can be like that and I fell unproductive now >>>>>> wi

Re: [Pharo-users] Playgound inspecting

2016-04-28 Thread Nicolai Hess
2016-04-28 7:20 GMT+02:00 Tudor Girba : > Hi Nicolai, > > > On Apr 27, 2016, at 11:12 PM, Nicolai Hess > wrote: > > > > > > > > 2016-04-27 23:07 GMT+02:00 Thierry Goubier : > > Le 27/04/2016 22:55, Esteban Lorenzano a écrit : >

Re: [Pharo-users] How to construct a multi-part file reference

2016-05-08 Thread Nicolai Hess
2016-05-07 0:33 GMT+02:00 Johan Fabry : > Hi all, > > I have a question about the filesystem that I could not resolve using the > documentation. The problem is as follows: I have a file reference that is 2 > separate strings that I need to join into one complete file ref but I don’t > know how bec

Re: [Pharo-users] TextAction bugs

2016-05-16 Thread Nicolai Hess
2016-05-16 8:29 GMT+02:00 Alistair Grant : > Hi All, > > TextAction appears to have a couple of issues: > > > TextAction>>actOnClick: anEvent for: anObject in: paragraph editor: editor > "sent when a user clicks on a piece of text to which I am applied > in an editor" > > "may be s

Re: [Pharo-users] On Class and Method comments

2016-05-17 Thread Nicolai Hess
2016-05-17 8:40 GMT+02:00 Peter Uhnák : > As a note, maybe try to avoid inline comments unless formatter is fixed, > because autoformatting _will_ misplace them. > There were some fixes to make this better. Now, I only know that comments in block closures are placed behind the block code. Do yo

Re: [Pharo-users] On Class and Method comments

2016-05-17 Thread Nicolai Hess
2016-05-17 18:19 GMT+02:00 Peter Uhnák : > > Now, I only know that comments in block closures are placed behind the >> block code. >> Do you know more examplmes where the formatter still misplaces the >> comment. > > > Maybe just comments now? I've added a formatting configuration that > preserved

Re: [Pharo-users] [Pharo-dev] Scrollable Spec Model

2016-05-19 Thread Nicolai Hess
You can use a ListModel and put your Buttons in it. ListModel new items: ( 'Files' asPackage classes collect:[:c | ButtonModel new icon: c systemIcon; label: c name; action:[ UIManager default alert: c comment title: c name]]); displayBlock: [ :x | x buildWithSpec ]; openWithSpec 20

Re: [Pharo-users] Is lazy evaluation of infinite series possible?

2016-05-28 Thread Nicolai Hess
2016-05-28 20:57 GMT+02:00 Erisa : > I am just learning Pharo (taking the MOOC actually!) and am wondering > whether > it is possible to model formal power series. I have done this in Haskell > quite easily and efficiently, but struggled to do it in Python without real > success. It requires one

Re: [Pharo-users] synchronized return from asynchronous message block

2016-06-06 Thread Nicolai Hess
2016-06-07 8:21 GMT+02:00 Peter Uhnak : > Hi, > > is it possible to return "synchronously" even if I have an asynchronous > message? > > For example: > > SomeObject>>someMethod > ^ UIManager default chooseFrom: #(a b c) > > When the above method is executed, it will open a popup and block

Re: [Pharo-users] OSProcess command - non responding image when calling often

2016-06-09 Thread Nicolai Hess
2016-06-09 15:42 GMT+02:00 Sabine Manaa : > Hi > > @mariano: > "Did you test if the one-liner (Delay delaySchedulerClass: > DelayMillisecondScheduler.) fixes these lookups? " > > -> my config loads materialDesignLite (which loads seaside and magritte). > after loading this > and trying the one li

Re: [Pharo-users] Pharo 5 accented chars bug/regression

2016-06-10 Thread Nicolai Hess
2016-06-06 15:46 GMT+02:00 Milan Vavra via Pharo-users < pharo-users@lists.pharo.org>: > > > -- Weitergeleitete Nachricht -- > From: Milan Vavra > To: pharo-users@lists.pharo.org > Cc: > Date: Mon, 6 Jun 2016 06:07:14 -0700 (PDT) > Subject: Re: Pharo 5 accented chars bug/regressio

Re: [Pharo-users] Pharo 5 accented chars bug/regression

2016-06-12 Thread Nicolai Hess
2016-06-12 22:30 GMT+02:00 Milan Vavra via Pharo-users < pharo-users@lists.pharo.org>: > > > -- Weitergeleitete Nachricht -- > From: Milan Vavra > To: pharo-users@lists.pharo.org > Cc: > Date: Sun, 12 Jun 2016 12:50:27 -0700 (PDT) > Subject: Re: Pharo 5 accented chars bug/regressi

Re: [Pharo-users] Fogbugz 13260 reappears?

2016-06-24 Thread Nicolai Hess
2016-06-24 20:57 GMT+02:00 Alistair Grant : > Hi All, > > I'm currently regularly hitting an issue with the debugger where > inspecting a temporary variable shows the string "error obtaining field > value" rather than the actual value. > I am not sure if this is the same error. We had a couple of

Re: [Pharo-users] Fogbugz 13260 reappears?

2016-06-24 Thread Nicolai Hess
Can you try if this is working with this change (attach .st) I'll open an issue and do some more tests. 2016-06-24 21:56 GMT+02:00 Alistair Grant : > Hi Nicolai, > > On Fri, Jun 24, 2016 at 09:15:41PM +0200, Nicolai Hess wrote: > > > > > > 2016-06-2

Re: [Pharo-users] Fogbugz 13260 reappears?

2016-06-25 Thread Nicolai Hess
issue 18615 <https://pharo.fogbugz.com/f/cases/18615/Can-not-access-named-temp-vector-from-within-optimized-block-scope> Can not access named temp vector from within optimized block scope put a fix (with a new test case for this issue) in the inbox. 2016-06-24 23:22 GMT+02:00 Nicola

Re: [Pharo-users] Fogbugz 13260 reappears?

2016-06-26 Thread Nicolai Hess
Hi Alistair, it is the same fix, I just added a sunit - test. 2016-06-26 14:55 GMT+02:00 Alistair Grant : > Hi Nicolai, > > On Sat, Jun 25, 2016 at 06:54:41PM +0200, Nicolai Hess wrote: > > issue > > 18615 Can not access named temp vector from within optimized block scope

Re: [Pharo-users] Image freezes on Linux if it was previously saved on Windows

2016-06-26 Thread Nicolai Hess
Hm, I don't know what exactly happens. It seems this behavior started with Pharo 50574. Since that image version, the UUIDGenerator will be reset on startup. Maybe the initialization of the uuidgenerator (or the random seed) will access the filesystem and at this step the file system initialization

Re: [Pharo-users] [ANN]Windows previewer / switcher for Pharo

2016-06-29 Thread Nicolai Hess
Hi Julien, yes, finding a shortcut satisfying all users (for all different platforms) is not easy, see 15546 alt+tab does not work correctly and 17924 Switch

Re: [Pharo-users] [ANN]Windows previewer / switcher for Pharo

2016-07-03 Thread Nicolai Hess
2016-07-01 22:54 GMT+02:00 Merwan Ouddane : > On 29/06/2016 23:42, Nicolai Hess wrote: > > Hi Julien, > > yes, finding a shortcut satisfying all users (for all different platforms) > is not easy, see > 15546 > <https://pharo.fogbugz.com/f/cases/15546/alt-tab-does-no

Re: [Pharo-users] TextInputFieldModel selectAll, bug or feature ?

2016-07-12 Thread Nicolai Hess
2016-07-12 11:38 GMT+02:00 Marion Noirbent < ms.noirb...@etudiant.univ-lille1.fr>: > Hi, > > The message selectAll of TextInputFieldModel don't react like its super > class TextModel (selectAll is not define in TextInputFieldModel). > > Is that a bug or a feature ? > A bug. MorphicTextInputField

Re: [Pharo-users] changing the appearance of a method when dragging it to recategorize it in Pharo 5

2016-07-14 Thread Nicolai Hess
2016-07-14 22:03 GMT+02:00 PAUL DEBRUICKER : > When dragging a method the method class name and selector name are > displayed and centered on the mouse pointer. This prevents me from seeing > the category name I'm attempting to drag the method into. > > I also have been unable to get the halos fo

Re: [Pharo-users] Changing the Pharo 5 monticello changes browser to get rid of the class name that precedes the selector in the changes tree

2016-07-15 Thread Nicolai Hess
2016-07-14 0:55 GMT+02:00 PAUL DEBRUICKER : > They are already grouped by class. Having the class name there makes me > have to side scroll to read the list more often (most of the time) than > I'd prefer (never-ish). It seems like its just the labels that have been > changed since Pharo 4. > >

Re: [Pharo-users] Shortcuts for navigation history in Pharo5

2016-07-15 Thread Nicolai Hess
2016-07-15 19:21 GMT+02:00 Davide Varvello via Pharo-users < pharo-users@lists.pharo.org>: > > > -- Weitergeleitete Nachricht -- > From: Davide Varvello > To: pharo-users@lists.pharo.org > Cc: > Date: Fri, 15 Jul 2016 09:37:45 -0700 (PDT) > Subject: Re: Shortcuts for navigation hi

Re: [Pharo-users] Image not starting

2016-07-17 Thread Nicolai Hess
Hi Valentin, Ithink you can not print to stdout during shutdown and restart. It will end in a Loop of writing to stdout, throwing an exceptions because it can not write and trying to log the error on stdout, throwing an error... Am 17.07.2016 18:36 schrieb "Valentin Ryckewaert" < valentin.ryckewa.

Re: [Pharo-users] Image not starting

2016-07-18 Thread Nicolai Hess
rr stream are already recreated. (And for example, reinitialize Coral, if coral has reference to the (old) closed filestream. > > 2016-07-18 14:32 GMT+02:00 stepharo : > >> Thanks for the suggestion. It is probably the case. >> >> Le 17/7/16 à 23:27, Nicolai Hess a

Re: [Pharo-users] Image not starting

2016-07-19 Thread Nicolai Hess
e > > 2016-07-18 21:48 GMT+02:00 Nicolai Hess : > >> >> >> 2016-07-18 14:36 GMT+02:00 Valentin Ryckewaert < >> valentin.ryckewa...@gmail.com>: >> >>> Hello, >>> >>> with Pavel we tried to print with a lot of methods but it di

Re: [Pharo-users] Customizing GTSpotter

2016-07-21 Thread Nicolai Hess
Hi Dimitris, I don't know what you mean with "called upon a specific morph", but you can use Spotter to do "local" searches. For example, inspecting an array or a Morph or CompiledMethod and look at the "Search"-Icon (upper right corner). It will open a Spotter window for this object. It lets you

Re: [Pharo-users] in Nautilus, clicking a pane with few items in it changed in Pharo 5

2016-07-21 Thread Nicolai Hess
2016-07-22 2:02 GMT+02:00 PAUL DEBRUICKER : > In Pharo 4 if e.g. the method pane had 3 methods, the bottom method would > be selected when clicking in the empty region at the bottom of the pane. > In Pharo 5 nothing is selected. I prefer the old behavior because then I > could use my arrow keys

Re: [Pharo-users] Pharo 5 Welcome screen

2016-08-01 Thread Nicolai Hess
2016-08-01 21:03 GMT+02:00 Brad Selfridge : > How does one pull up the initial "Welcome to Pharo 5.0" view once closed. > > > PharoWelcomePage open > > - > Brad Selfridge > -- > View this message in context: > http://forum.world.st/Pharo-5-Welcome-screen-tp4909047.html > Sent from the Pharo

<    1   2   3   4   5   >