Re: [Pharo-users] protobufs for Pharo

2015-05-11 Thread Benjamin Pollack
erializer/) > There are unfortunately a lot of protocols (including the one I mentioned used by RethinkDb) that are protobuf-based, so using one of those won't work too well. If interfacing with a third-party tool *weren't* necessary, I'd honestly probably just use Fuel, anyway. --Benjamin

[Pharo-users] protobufs for Pharo

2015-05-09 Thread Benjamin Pollack
also done *that*, please let me know, too.) Thanks, --Benjamin

Re: [Pharo-users] Spur images

2014-10-09 Thread Benjamin Pollack
roviding methods/classes like the one I introduced to allow taking advantage of the newfound immutability. If there's interest, I'd be happy to submit a Slice we could use as a concrete RFC of what this could look like. --Benjamin

Re: [Pharo-users] Spur images

2014-10-05 Thread Benjamin Pollack
s. I know I can get better than that, but I lost interest in rewriting all the string routines. I figure another 10ms-20ms could come off, at which point it'd finally be as much I/O bound as anything else. --Benjamin

Re: [Pharo-users] Spur images

2014-10-05 Thread Benjamin Pollack
on things like WideString>>copyFrom:to:, I wasn't optimistic about trying to stream the contents instead of just calling "contents lines", but I admit I didn't try. --Benjamin

Re: [Pharo-users] Spur images

2014-10-05 Thread Benjamin Pollack
format. But there's a lot left. I'm attaching the profile output below. Notice that Pharo spends more time reading and processing the file (about 120ms) than the Python program spends executing total. --Benjamin - 279 tallies, 279 msec. **Tree**

[Pharo-users] Spur images

2014-10-03 Thread Benjamin Pollack
My apologies if this is already spelled out somewhere and I simply can't find it, but are there any Spur images for Pharo yet?  I can only find Squeak ones. It's not a big deal either way; I was just playing with an algorithm that, after very heavy optimization, I was able to get down to about 278

Re: [Pharo-users] Ridiculous we are

2014-09-24 Thread Benjamin Pollack
This is an old discussion, and I do see both sides of it. In terms of SCMs, Mercurial and Git both just say "it's a collection of bytes", whereas Subversion says "it's Unicode code points." This has some uncomfortable implications for both systems when working on multiple platforms. --Benjamin

Re: [Pharo-users] Ridiculous we are

2014-09-24 Thread Benjamin Pollack
, it's worth keeping in mind that not all users, or even all programmers, understand the full implications of things like how various Unicode normalization and encoding schemes interact in practice with Unix's very vague concept of what a file name actually is, so I usually try

Re: [Pharo-users] Ridiculous we are

2014-09-24 Thread Benjamin Pollack
On Tue, 23 Sep 2014 08:51:54 -0400, Hilaire wrote: Le 23/09/2014 14:09, Damien Cassou a écrit : I recently read documents about utf-8 encoding. In all of them, the author says that pathnames should be kept as is because you never know which encoding the filesystem uses. So, a filename should p

Re: [Pharo-users] Can I create a personal slice?

2014-08-10 Thread Benjamin
A slice is basically just a set of mcz files So there is no problem at all to use slices for your personal projects :) Ben On 10 Aug 2014, at 23:24, Tim Mackinnon wrote: > I will make a not to try Versioneer (although the image I am using is the one > PharoLauncher is built in, which is 3.0).

Re: [Pharo-users] Question on Spec

2014-08-06 Thread Benjamin
nil. > > I can't tell you if everything will work as intended though, but I don't see > why not. Benjamin developed Spec and might be able to answer that. `builtWithSpec` should definitely do it :) > Finaly, I don't quite see what is wrong with opening a window in a t

Re: [Pharo-users] Question on Spec

2014-08-06 Thread Benjamin
Maybe you can manually set the Adapter? Ben On 06 Aug 2014, at 12:39, Mark Rizun wrote: > Maybe it can, but it's more convenient for me to subclass it > So, how do I initialize it for tests without opening it with spec? > > 6 серп. 2014 12:00, користувач "Benjamin&quo

Re: [Pharo-users] Question on Spec

2014-08-06 Thread Benjamin
On 06 Aug 2014, at 11:50, Mark Rizun wrote: > No they don't:) I just replaced a menu of TextModel with my own, and added > some ast support. Can’t the menu be changed dynamically in TextModel? Ben

Re: [Pharo-users] Question on Spec

2014-08-06 Thread Benjamin
On 06 Aug 2014, at 11:52, Thomas Bany wrote: > In short, when you call RewriteTool new, you have a fully initialized > description of the GUI, but you don't have the GUI. Exactly :) The model hierarchy is made to be independent of the rendering framework behind. Ben

Re: [Pharo-users] Question on Spec

2014-08-06 Thread Benjamin
On 06 Aug 2014, at 11:30, Mark Rizun wrote: > Yes it is invoked(I mean initializeWidgets in AbstractPanel) if I do: > RewriteTool new. If you put the halt after `self instantiateModels: #(#templateText #MyTextModel).` can you confirm that templateText is not nil? > And yes, I needed more func

Re: [Pharo-users] Question on Spec

2014-08-06 Thread Benjamin
On 06 Aug 2014, at 11:16, Mark Rizun wrote: > Actually in each:) > I have a class AbstractPanel and there is: > > initializeWidgets > self instantiateModels: #(#templateText #MyTextModel). > templateText > dragEnabled; > text: self demoText; >

Re: [Pharo-users] Question on Spec

2014-08-06 Thread Benjamin
On 06 Aug 2014, at 11:04, Mark Rizun wrote: > initializeWidgets > self > instantiateModels: #(#sourcePanel #SourcePanel #resultPanel > #ResultPanel #matchPanel #MatchPanel #transformPanel #TransformPanel > #acceptButton #ButtonModel). Sounds correct so far :) In wich panel

Re: [Pharo-users] Question on Spec

2014-08-06 Thread Benjamin
I will say it depends how you initialise your objects ;) The good way to do it is in the method `initializeWidgets` Could you post it so I can tell you a bit more? Ben On 06 Aug 2014, at 10:56, Mark Rizun wrote: > Hi, > > I'm writing tests for RewriteTool which I build with spec. I have a >

Re: [Pharo-users] Spec - vertically stacked Menu(Group)Model

2014-07-17 Thread Benjamin
; for the very last item - Button and the rest with Spec? Currently every > Menu[Group|Item]Model has it's morphic counterpart, but I'm not familiar with > future of Morphic. Are we trying to get rid of it or just use an abstraction > on top of it (Spec)? > > > On T

Re: [Pharo-users] Spec - vertically stacked Menu(Group)Model

2014-07-17 Thread Benjamin
It is not yet supported, sorry :s Feel free to propose a solution to this :) Ben On 17 Jul 2014, at 18:24, Peter Uhnák wrote: > Is it possible to force MenuModel to display its groups (and group's items) > vertically instead of horizontally? The use case is having button palette to > click o

Re: [Pharo-users] Custom layout in Spec

2014-06-16 Thread Benjamin
Ben On 16 Jun 2014, at 15:01, webwarrior wrote: > >> Wasn't that hard, beacuse actual layouting *is* done in Morphic. > > > > It is not. That’s exactly why SpecLayoutFrame exists by example. > > > > You can convert Spec layout into morphic layout to use in the case of > > Morphic but thi

Re: [Pharo-users] Custom layout in Spec

2014-06-16 Thread Benjamin
On 13 Jun 2014, at 17:09, webwarrior wrote: > I implemented SpecTableLayout, which uses TableLayout policy. Cool :) > Wasn't that hard, beacuse actual layouting *is* done in Morphic. It is not. That’s exactly why SpecLayoutFrame exists by example. You can convert Spec layout into morphic lay

Re: [Pharo-users] Custom layout in Spec

2014-06-09 Thread Benjamin
On 08 Jun 2014, at 15:21, webwarrior wrote: > I want to make a layout based on TableLayout. Short answer: it’s not really supported yet. If you want to give it a try, it’s really welcome ;) > However, I noticed that SpecInterpreter has some hardcoded behaviour for > ContainerModel in computeSp

Re: [Pharo-users] Finding methods sending shouldBeImplemented within a package

2014-05-28 Thread Benjamin
Open Nautilus, right click on your package, ‘Choose Open restricted browser’ It would open a new Nautilus scoped to your package. Then in the code pane, just type ’shouldBeImplemented’, select the text and right click, and finally select 'Implementors' Ben On 28 May 2014, at 13:57, Markus Frit

Re: [Pharo-users] [Pharo-dev] Pillar in TextMate

2014-04-21 Thread Benjamin
Cool :) I will definitely have a look :) Ben On 20 Apr 2014, at 08:35, Yuriy Tymchuk wrote: > Dear guys who use Pillar. > > I’m happy to announce that I’ve created a small bundle for TextMate. You can > find it here: https://github.com/Uko/Pillar.tmbundle > > Also I’ve exported it to ATOM (

Re: [Pharo-users] Drag and drop items between list views

2014-04-07 Thread Benjamin
Ben On 07 Apr 2014, at 12:17, MartinW wrote: > Benjamin Van Ryseghem (Pharo) wrote >> Out of this thread, I have made this post: >> http://spec.st/docs/drag_n_drop/ >> With a small change in the Spec code base (to not sort by default, but >> only when a sorting

Re: [Pharo-users] Drag and drop items between list views

2014-04-07 Thread Benjamin
Sorry for the delay, I turn off my emails during the week end :) Out of this thread, I have made this post: http://spec.st/docs/drag_n_drop/ With a small change in the Spec code base (to not sort by default, but only when a sorting block is specified), it gives an example of how to do what you wa

Re: [Pharo-users] Drag and drop items between list views

2014-04-04 Thread Benjamin
ource model model. >transfer passenger do: [ :e | > l1 insert: e first before: index. > l2 remove: e first ] ]. > > i.e. have the ListModel instance behave as a collection for a subset of the > usual collection api. > > Thierry &g

Re: [Pharo-users] Few questions about Spec (instance specific layout and skinning)

2014-04-04 Thread Benjamin
If you need it the other way around, then instead of calling it in the layout, there is a method on adapter named #buildWidget (or something close) which is the perfect place for this :) Ben On 04 Apr 2014, at 01:53, Thomas Bany wrote: > Okey so I looked deeper into the interpreter and found t

Re: [Pharo-users] Drag and drop items between list views

2014-04-03 Thread Benjamin Van Ryseghem
here is a "hackish" solution: collection1 := #(1 2 3 4 5) asOrderedCollection. collection2 := #($a $b $c $d $e) asOrderedCollection. list1 := ListModel new. list1 items: collection1. list1 dragEnabled: true. list1 dropEnabled: true. list1

Re: [Pharo-users] Few questions about Spec (instance specific layout and skinning)

2014-04-03 Thread Benjamin
On 03 Apr 2014, at 12:50, Thomas Bany wrote: > > I will defenitly look into that. The "rebuild" may be missleading, is it also > called at first building ? That’s your own ,method, call it as/when you want > Well, I can't even manage to tweak it through hardcoding stuff on the adapter > :p

Re: [Pharo-users] Few questions about Spec (instance specific layout and skinning)

2014-04-02 Thread Benjamin
On 02 Apr 2014, at 12:10, Thomas Bany wrote: > Hi ! > > First, I apologyse for the wall of text. > > I'm trying my hands at Spec and I have few questions: > How can I implement an instance-dependent layout ? The usual solution is to have a method looking like this on instance side rebuildMyLay

Re: [Pharo-users] [Pharo-dev] New website about Spec - http://spec.st

2014-03-28 Thread Benjamin
On 28 Mar 2014, at 14:43, Pharo4Stef wrote: > What is the best github repo to edit the chapter? https://github.com/spec-framework/documentation, since I would like to gather as much as possible all the things related to spec at only one place :) Ben

[Pharo-users] New website about Spec - http://spec.st

2014-03-28 Thread Benjamin
Hi guys :) I am glad to announce (even if Philippe already let the cat out :P) a website dedicated to Spec: http://spec.st. You can find a quick introduction, documentation (mainly what is now in the Pharo For The Enterprise book), and a news feed where I will explain the API changes, the news w

Re: [Pharo-users] Java "this" against our "thisContext"

2014-03-25 Thread Benjamin
Within an instance method or a constructor, this is a reference to the current object — the object whose method or constructor is being called. You can refer to any member of the current object from within an instance method or a constructor by using this. from: http://docs.oracle.com/javase/tu

Re: [Pharo-users] [ANN] BabyMock 2

2014-03-11 Thread Benjamin
It looks even cooler than before :) Ben On 11 Mar 2014, at 12:30, Attila Magyar wrote: > I'm pleased to announce the 2.0 version of BabyMock. BabyMock is a visual > mock object library that supports test-driven development. > > This version has a new syntax which is incompatible with the old v

Re: [Pharo-users] Spec question

2014-03-03 Thread Benjamin
Thanks for the pointer :) Why do you subclass TreeModel instead of using one? Could you add an example and a screenshot so we can see how it looks :) Thanks, Ben On 03 Mar 2014, at 17:15, Glenn Cavarlé wrote: > Hi Benjamin and Hernán, > > I found few time to make a little e

Re: [Pharo-users] Spec question

2014-03-02 Thread Benjamin
On 01 Mar 2014, at 06:18, Hernán Morales Durand wrote: > Did you have progress with that ListView in Spec? > Anything to check in the repo? You can experiment a bit based on this script[1] using the latest Spec code. Ben [1] https://gist.github.com/BenjaminVanRyseghem/9306328

Re: [Pharo-users] Spec problem creating dynamci UIs

2014-03-01 Thread Benjamin
There is no way to tell to spec that this layout should automatically expand the window. And I think this is not the default behaviour. If you want to change the size you can still do manually myModel extent: newWidth@newHeight And this should work Ben On 01 Mar 2014, at 11:45, kmo w

Re: [Pharo-users] Spec website: nice!

2014-02-28 Thread Benjamin
I would love too :) But as always it takes time. I try to do my best to offer an easy to read yet useful documentation. Let’s hope we can make it :) Ben On 28 Feb 2014, at 19:54, kmo wrote: > This is really good and very well done and can only get better over time. > > I'd like to see a comp

Re: [Pharo-users] Spec website: nice!

2014-02-28 Thread Benjamin
On 28 Feb 2014, at 13:40, kilon alios wrote: > definitely a very beautiful and well designed website. Well done Benjamin. > Looks very professional yet it has a personal touch. I love it. Thank you :) > Talking about websites I am curious, is there a plan to bring Spec to > Jav

Re: [Pharo-users] Spec website: nice!

2014-02-28 Thread Benjamin
Yes, there is a “thanks” page missing. Again, the website is not ready for public :) Ben On 28 Feb 2014, at 13:05, olivier auverlot wrote: > Hi Benjamin > > It's very cool ! The website and the documentation are very pleasant and well > presented. Perhaps you could add l

Re: [Pharo-users] Spec website: nice!

2014-02-28 Thread Benjamin
On 28 Feb 2014, at 11:34, Goubier Thierry wrote: > > > Le 28/02/2014 11:26, Benjamin a écrit : >> Because I did not knew about it until yesterday :) > > Took me a while to understand that too :) Found the code when hacking support > for gitfiletree in Metacello. >

Re: [Pharo-users] Spec website: nice!

2014-02-28 Thread Benjamin
You blew up my surprise :) It is still work in progress that’s why I did not announce it before (you know, to not announce something before it’s finished :P) Ben On 28 Feb 2014, at 10:59, p...@highoctane.be wrote: > Didn't knew about it and came across by looking at the GitHub project for > S

Re: [Pharo-users] Spec website: nice!

2014-02-28 Thread Benjamin
Because I did not knew about it until yesterday :) I will have a look next week :P (or if you want to submit a PR before LOL) Ben On 28 Feb 2014, at 11:10, Goubier Thierry wrote: > Yes, this is cool :) Nice work. > > Benjamin, why don't you do a ConfigurationOfSpec with an ur

Re: [Pharo-users] Spec and an application menu

2014-02-18 Thread Benjamin
Spec provides today a new missing feature: a menu toolbar.As recently suggested in the mailing list, a menu toolbar is often a requirement to build an application.In order to provide an easy way to add a menu toolbar, Spec reuse **MenuModel** to generate the toolbar entries.So now, a **MenuModel**

Re: [Pharo-users] TextModel and TextInputFieldModel font-size bug?

2014-02-18 Thread Benjamin
I think it’s time to open a bug entry :) Ben On 18 Feb 2014, at 03:18, Hernán Morales Durand wrote: > I confirm this issue using a vanilla Pharo 3. > > PluggableTextFieldMorph new openInWindow > > If you comment last line here it works > > PluggableTextFieldMorph>>initialize > > textMo

Re: [Pharo-users] Spec and an application menu

2014-02-18 Thread Benjamin
I do agree with you all :) The things is many people ask for more things into Spec, but at the end, I am still the only one implementing them :) And as you can imagine, my time is not infinite :P I will end up proposing a kickstarted project I think :P Ben On 18 Feb 2014, at 09:36, Hilaire Fe

Re: [Pharo-users] Spec and an application menu

2014-02-16 Thread Benjamin
I think a Spec model could be done to provide this feature About the integration in 3.0, one may argue it’s not present since years, nobody complained so :P Ben On 16 Feb 2014, at 23:33, b...@openinworld.com wrote: > Benjamin wrote: >> >> There is no such a morph existing (y

Re: [Pharo-users] Spec and an application menu

2014-02-16 Thread Benjamin
There is no such a morph existing (yet). You can do something based on button invoking popup menu (like here: https://github.com/BenjaminVanRyseghem/Triton/blob/master/Screenshots/Screenshot3.png) If you want some snippet based on this work around, just ask Ben On 16 Feb 2014, at 20:11, kmo w

Re: [Pharo-users] Spec and Morphs

2014-02-16 Thread Benjamin
Indeed :) Ben On 16 Feb 2014, at 15:16, kmo wrote: > Great. Just what I wanted. Many thanks. But consider putting it in the spec > documentation - I think it's an important thing to know. > > > > -- > View this message in context: > http://forum.world.st/Spec-and-Morphs-tp4744084p4744109.ht

Re: [Pharo-users] TextModel and TextInputFieldModel font-size bug?

2014-02-16 Thread Benjamin
On 16 Feb 2014, at 15:13, kmo wrote: > Yes - thanks. > > Seems the model is based on PluggableTextFieldMorph - and > /PluggableTextFieldMorph new openInWindow/ gives the same tiny font. :) > Must be due to a default font size somewhere. But isn't atha bug in itself? Do you change the fonts in

Re: [Pharo-users] TextModel and TextInputFieldModel font-size bug?

2014-02-16 Thread Benjamin
Did you tried with morph? Because for me I would say it happens more at a Morphic level Ben On 16 Feb 2014, at 14:55, kmo wrote: > When I create an interface in Spec with TextModel or TextInputFieldModel, the > font-size is tiny. Same behaviour in both Windows and Linux. Is this a bug > or hav

Re: [Pharo-users] Spec model attributes - is there a strategy

2014-02-16 Thread Benjamin
On 16 Feb 2014, at 14:47, kmo wrote: > Is there some deep philosophical reason behind this that I don't understand? The reason is simply that it was not needed until now, so not yet implemented :) > Spec does not give you control over fonts and colours. One should be able to specify a spec mo

Re: [Pharo-users] Spec and Morphs

2014-02-16 Thread Benjamin
On 16 Feb 2014, at 14:36, kmo wrote: > I looked at Spec when it was first introduced. Then I left it alone until now > when the API is more stable. > > I seem to recall that when Spec was first introduced I was able to simply > add arbitrary Morphs to the Composable model layout. In the latest S

Re: [Pharo-users] [ANN] Spec documentation in PFTE book finished

2014-02-16 Thread Benjamin
Any questions are welcome :) Ben On 16 Feb 2014, at 14:19, kmo wrote: > I would be happy to write some Spec documentation - when I start to > understand it better. I've gained some idea of how the TreeModel works so > perhaps i could do something on that and you could roll it into the Spec > do

Re: [Pharo-users] [ANN] Spec documentation in PFTE book finished

2014-02-16 Thread Benjamin
Thank you for your review :) I have to agree with you and to answer briefly, the main problems with documentation is: - it takes time (*a lot* to me since I am more a code than a writer :P) - things evolve (that can be managed though) I will be super happy to have a more complete

Re: [Pharo-users] Stupid Question

2014-02-08 Thread Benjamin
sm delete ? Ben On 08 Feb 2014, at 18:12, Bob Williams wrote: > I am exploring Morphs and I tried the following code: > > |sm ws| > ws := WideString new: 5. > ws wordAt: 1 put: 16r2264. > ws wordAt: 2 put: 16r22C5. > ws wordAt: 3 put: 16r2211. > ws wordAt: 4 put: 16r2219.

Re: [Pharo-users] Spec question

2014-02-05 Thread Benjamin
Ok :) So displayBlock can return any morph you want :) So I think you can do this quite easily :) I will have a deeper look tomorrow afternoon, and tell you :) Ben On 05 Feb 2014, at 01:34, Glenn Cavarlé wrote: > Thanks for your reply, > > I haven't an image but google yes :) > An example wi

Re: [Pharo-users] Spec question

2014-02-04 Thread Benjamin
I think the widget to look at is TreeModel :) Do you have an image showing what you would like? Ben On 05 Feb 2014, at 00:58, Glenn Cavarlé wrote: > Hi all, > i'm new (first post) and my english is very poor so please don't blame me > :). > > I would like to use Spec for display a collection

Re: [Pharo-users] Could Pharo be more idiot-proof?

2014-02-03 Thread Benjamin
Open a new workspace. In the title bar there is a small black triangle (Window menu). Close to the end, you should find ‘Previous contents' With a bit of luck, it should be there Ben On 03 Feb 2014, at 11:35, PBK Research wrote: > I have just done something stupid, so this is just letting off

Re: [Pharo-users] Open a Browser Selector of Class

2014-01-28 Thread Benjamin
On 28 Jan 2014, at 18:20, Sven Van Caekenberghe wrote: > > Works great, actually the parenthesis are not needed (binary messages take > precedence over keyword messages, but you knew that already): > > Nautilus openOnMethod: ZnClient>>#get > If just find it easier to read :P Ben

Re: [Pharo-users] Open a Browser Selector of Class

2014-01-28 Thread Benjamin
On 28 Jan 2014, at 16:43, Sean P. DeNigris wrote: > Used to be Browser class>>#newOnClass: aClass selector: aSymbol. How do we do > it in 3.0? I hunted around but couldn't find exactly that (a lot of other > browseXyz's though). I am not sure to understand correctly but Nautilus openOnMetho

Re: [Pharo-users] SourceCity on Delphi code

2014-01-28 Thread Benjamin
I saw one couple of days ago, it was quite cool :) I cc Milton so he can tell you more :) Ben On 28 Jan 2014, at 11:08, Esteban Lorenzano wrote: > it is not possible to show the roassal3d version (no idea what is the status > of it)? > > Esteban > > On 28 Jan 2014, at 14:36, Stephan Eggermon

Re: [Pharo-users] Submorph centering

2014-01-11 Thread Benjamin
Did you try something like myMorph center: myParent center ? Ben On 11 Jan 2014, at 17:11, Hilaire Fernandes wrote: > Tips: to discover which message fit your need, you can experiment from > the menu you got from the halo of your morph. > > Hilaire > > Le 07/01/2014 19:16, Sean P. DeNigris

Re: [Pharo-users] Unwind error during termination

2014-01-07 Thread Benjamin
cmd+w Ben On 07 Jan 2014, at 15:37, Esteban A. Maringolo wrote: > I have this highlander error message popping over. > > Any suggestion on how to kill it? > > Esteban A. Maringolo >

Re: [Pharo-users] [Pharo-dev] Two videos to explain what we do when integrating a fix.

2014-01-07 Thread Benjamin
I do not want that end users to get expose to >> git on the command-line with different platforms. We should keep the >> simplicity of Pharo. >> Having an integration process based on git will expose only core-developpers ton git :) Not the end-users ;) Ben

Re: [Pharo-users] Help us to have really cool Pharo 3 release!

2014-01-04 Thread Benjamin
> > nice metaphor! It made me think about maradona :) So from argentinian it > means that we can also play football with our hands o:) > And tons of cocaine :P Ben

Re: [Pharo-users] Number slider

2014-01-03 Thread Benjamin
Not that I know. But it’s pretty easy to do :) Ben On 03 Jan 2014, at 15:01, Hilaire Fernandes wrote: > Hello, > > Do we have number slider Morph like this one: > http://diveintohtml5.info/i/input-type-number-opera.png > > Thanks > > Hilaire > > > -- > Dr. Geo http://drgeo.eu > >

Re: [Pharo-users] Pharo private develoment

2014-01-02 Thread Benjamin
Smalltalkhub private project or bitbucket And I deployed my own Jenkins. It’s as complicated as `sudo apt-get install jenkins` Ben On 01 Jan 2014, at 19:26, Esteban A. Maringolo wrote: > Pharo as a community has support to use its CI server, among other > goodies such as SmalltalkHub. > > B

Re: [Pharo-users] Spotlight Demo

2013-12-30 Thread Benjamin
Cool :P Did you had a look at: https://ci.inria.fr/pharo-contribution/job/New-Pharo-IDE/ There is also a Spotlight thingy there :) Ben On 30 Dec 2013, at 15:23, Sean DeNigris wrote: > I needed an entry completion with groups, like Mac's Spotlight. While I was > at it, I figured it would also

Re: [Pharo-users] [launcher] fixed layout of tollbar buttons

2013-12-12 Thread Benjamin
ill in the image > don't tell me much. > > btw, adding a method #hFill would make it look like less of a hack. > > cheers -ben > > Benjamin wrote: >> >> The empty column is used as a \hFill :) >> >> Ben >> >> On 12 Dec 2013, a

Re: [Pharo-users] [launcher] fixed layout of tollbar buttons

2013-12-12 Thread Benjamin
The empty column is used as a \hFill :) Ben On 12 Dec 2013, at 13:57, b...@openinworld.com wrote: > Hi Damien, Benjamin.V.R. > > I see in "PharoLauncher-Spec-DamienCassou.17" that the layout of the toolbar > buttons is fixed, which is really great. However in trying to learn from > that for

[Pharo-users] [Pharo-dev] [Pharo Trick: #0007] - Write UI prototype in a workspace

2013-12-12 Thread Benjamin
--- [Pharo Trick: #0007] - Write UI prototype in a workspace --- Works in: Pharo 2.0, 3.0, ...

Re: [Pharo-users] openFullscreen a WindowModel

2013-12-05 Thread Benjamin
Sorry for not knowing the StandardWindow API by heart (yet) :P Ben On 05 Dec 2013, at 11:28, Picci Pharo wrote: > It Works But the capital S is your mistake :-) > > Thanks Ben, hope to speak soon with you and Steph here in Brescia for the > next ESUG. > > Paolo > > From: benjamin.vanrys

Re: [Pharo-users] openFullscreen a WindowModel

2013-12-05 Thread Benjamin
No I am saying that self widget ifNotNil: [ :w | w openFullScreen ] w in here is a StandardWindow. Ben On 05 Dec 2013, at 11:18, Picci Pharo wrote: > Are you telling me that i can copy the openFullscreen of StandardWindow and > put it into the class WindowModel? > > Paolo > > From: benjam

Re: [Pharo-users] openFullscreen a WindowModel

2013-12-05 Thread Benjamin
or openFullscreen, The one known by SystemWindow Ben On 05 Dec 2013, at 11:11, Picci Pharo wrote: > openFullscreen

Re: [Pharo-users] openFullscreen a WindowModel

2013-12-05 Thread Benjamin
then (note it’s a hack) WindowModel>>#openFullscreen self widget ifNotNil: [ :w | w openFullScreen ] Ben On 05 Dec 2013, at 10:59, Picci Pharo wrote: > The Class MorphicWindowAdapter doesn't exist in Pharo 2.0 > > From: benjamin.vanryseghem.ph...@gmail.com > Date: Wed, 4 Dec 2013 1

Re: [Pharo-users] openFullscreen a WindowModel

2013-12-04 Thread Benjamin
Add: WindowModel>>#openFullscreen self changed: #openFullscreen with: #() MorphicWindowAdapter>>#openFullscreen self widgetDo: [ :w | w openFullscreen ] And tada Ben On 04 Dec 2013, at 11:13, Picci Pharo wrote: > Hi Guys! > > One simple question: how can i open fullscreen

Re: [Pharo-users] Seaside on Pharo 3.0

2013-12-02 Thread Benjamin
But I still think the ci job should be preferred :P Ben On 02 Dec 2013, at 18:13, Esteban Lorenzano wrote: > Nope, that was the old version. This one should not take mora than 10min :) > > On 2 Dec 2013, at 17:58, Benjamin > wrote: > >> and it will take 40 minutes :P

Re: [Pharo-users] Seaside on Pharo 3.0

2013-12-02 Thread Benjamin
and it will take 40 minutes :P Ben On 02 Dec 2013, at 17:56, Esteban Lorenzano wrote: > this should work: > > $ wget -O- get.pharo.org/30+vm | bash > $ ./pharo ./Pharo.image config > http://smalltalkhub.com/mc/Seaside/MetacelloConfigurations/main > ConfigurationOfSeaside3 --install=stable >

Re: [Pharo-users] Seaside on Pharo 3.0

2013-12-02 Thread Benjamin
This is the link you want https://ci.inria.fr/pharo-contribution/job/Seaside/ Ben On 02 Dec 2013, at 17:50, sminni wrote: > Hi > > Pls guide me in getting an environment of Seaside / Zinc / Pharo 3.0 up and > running > > > Regards > Sanjay > > > > - > --- > Regards, Sanjay > -- > View

Re: [Pharo-users] reporting bugs

2013-11-28 Thread Benjamin
or >> those people who don't >> watch tutorial videos :-) > > Yes, also I couldn’t make my me.com mail to work. I hope that soon we will > have normal bug tracker :) > > Uko > >> >> >> >> >> 2013/11/28 Benjamin >> There

Re: [Pharo-users] reporting bugs

2013-11-28 Thread Benjamin
There is also this perm link :) http://bugs.pharo.org/issues/register Ben On 28 Nov 2013, at 09:45, p...@highoctane.be wrote: > http://bugs.pharo.org/issues/ > > Register link on top: You can register to the FogBugz issue tracker here. > > Enjoy, > > --- > Philippe Back > Dramatic Performanc

Re: [Pharo-users] reporting bugs

2013-11-28 Thread Benjamin
If you are not logged, the process should be describe on the welcome page Ben On 28 Nov 2013, at 09:19, Nicolai Hess wrote: > What do I have to do for getting access to pharo.fogbugz.com for bug > reporting? > > regards > Nicolai >

Re: [Pharo-users] Nautilus pkg-pane regression in pharo 3.0?

2013-11-24 Thread Benjamin
This is also a major pain in my ass :P Ben On 24 Nov 2013, at 12:49, Lorenz Köhl wrote: >> At the risk of making a fool of myself, I believe Lorenz (and I too would >> like that back) is asking about pressing the letters 'p', 'o', 'l', and >> having the cursor end in package 'Polymorph' or wh

Re: [Pharo-users] Writing a GUI - Where to start?

2013-11-24 Thread Benjamin
Here is a working version based on DynamicComposableModel (a subclass dedicated to the caseswhere you have a lot, or an undefined number of sub widgets) ProvaSquadra.st Description: Binary data Ben On 22 Nov 2013, at 11:08, prova email wrote:Hi Ben,here the .st file, there

Re: [Pharo-users] Writing a GUI - Where to start?

2013-11-24 Thread Benjamin
The problem is here rowPlayer add: (textPlayer at:i) ; add:#captainButton; add: (buttonStartingEleven at:i). ].

Re: [Pharo-users] Nautilus pkg-pane regression in pharo 3.0?

2013-11-24 Thread Benjamin
t;. And I > don't know how to handle it. > Suggestions? > > Esteban > > > On Sun, Nov 24, 2013 at 12:59 AM, Benjamin > wrote: > That a major issue so far. > > It was not intended, but since the tree widget already handle arrow right by > itself, > I

Re: [Pharo-users] spec and double click

2013-11-23 Thread Benjamin
I will have a look tomorrow :) If you are in a hurry, I know such a behaviour is present in EyeInspector Ben On 24 Nov 2013, at 00:07, Lorenz Köhl wrote: > > On Nov 23, 2013, at 7:37 PM, Benjamin > wrote: > >> m := NewListModel new >> m doubleClickAction

Re: [Pharo-users] Nautilus pkg-pane regression in pharo 3.0?

2013-11-23 Thread Benjamin
That a major issue so far. It was not intended, but since the tree widget already handle arrow right by itself, I do not know if Esteban thought about this feature Ben On 23 Nov 2013, at 22:34, Lorenz Köhl wrote: > Nautilus has stopped jumping to packages when the focus is in the package > p

Re: [Pharo-users] spec and double click

2013-11-23 Thread Benjamin
m := NewListModel new m doubleClickAction: [ self halt ] m openWithSpec This should work Ben On 23 Nov 2013, at 19:23, Lorenz Köhl wrote: >> I strongly suggest to use 30 because spec changed a lot. > > Doesn't seem to work either (on yesterdays 30): > > | m | > m := ListModel new items: #(

Re: [Pharo-users] Deploying a polymorph app - two questions

2013-11-23 Thread Benjamin
On 23 Nov 2013, at 16:13, kmo wrote: > Benjamin - > > Many thanks. > > Your suggestion of World submorphs do: [:e | e delete ] was just what I > needed to get rid of the taskbar. > > However, DisplayScreen hostWindowTitle does not work for me. I'm not using

Re: [Pharo-users] Deploying a polymorph app - two questions

2013-11-23 Thread Benjamin
On 23 Nov 2013, at 13:58, kmo wrote: > I have written a small Polymorph application in Pharo 2.0. I have some > questions about deploying it. > > My app consists of a single morph. I would like to fill the pharo window > with the morph and have the morph resize when the user resizes the pharo >

Re: [Pharo-users] Spec - Tutorial Series

2013-11-22 Thread Benjamin
`, I believe that's the > way it is supposed to be. When I was writing the episodes, I had to read > the `Spec-Examples` to figure out how to do stuff and all the examples > defined `defaultSpec` as a class-side method. > > Maybe I'm doing it wrong. I'd appreciate

Re: [Pharo-users] Writing a GUI - Where to start?

2013-11-22 Thread Benjamin
It seems that you return the wrong object somewhere :) Could you commit your code somewhere so I can have a look ? Ben On 22 Nov 2013, at 11:01, prova email wrote: > I started to use Spec, i love nested layouts and so on. But i've got a little > problem. I'm creating a Window with 14 TextInp

Re: [Pharo-users] How to add tabs in Nautilus

2013-11-12 Thread Benjamin
winamp.com/skins > > > > > > > On Wed, Nov 13, 2013 at 12:23 AM, Benjamin > wrote: > On 12 Nov 2013, at 23:07, kilon alios wrote: > >> Currently I am working on Hyperion a vector graphics editor with similar >> goals to inkscape and gimp . The se

Re: [Pharo-users] How to add tabs in Nautilus

2013-11-12 Thread Benjamin
spec, what you will > like to add etc. I think that some widgets are missing but not that much anymore :) So I think the next steps are bug fixes and documentation :) Ben > > > On Tue, Nov 12, 2013 at 11:27 PM, Benjamin > wrote: > What is exactly your goal ? :) > &g

Re: [Pharo-users] How to add tabs in Nautilus

2013-11-12 Thread Benjamin
own GUI API > and I was wondering if I should base it on spec or not. My main focus is > custom look guis. But I will wait for the documentation of spec to appear > before I make any decision on it. > > > On Tue, Nov 12, 2013 at 9:23 PM, Benjamin > wrote: > On 12 No

  1   2   >