Re: [Pharo-dev] [Pharo-users] [ann] bloc & cairo+morphic

2017-05-11 Thread Alain Plantec via Pharo-dev
--- Begin Message --- Hello Doru, all, I’m really happy to see Bloc progresses. Even I’m not active since more than one year, Bloc is still an important project for me. but let me complete this short historical presentation a little bit. Bloc is a project that I initiated in 2013 in collaborat

[Pharo-dev] Pharo 5 rocks

2016-09-20 Thread Alain Plantec via Pharo-dev
--- Begin Message --- Hello all, Thanks thanks thanks for Pharo 5. Each year, from September to November, my students are learning Pharo with the last release. And as you know, beginners and naive users are very good at stressing a software :) Previous years I faced issues due to Pharo bugs (e

Re: [Pharo-dev] [bloc] feature envy -> move method close to data?

2016-02-26 Thread Alain Plantec via Pharo-dev
--- Begin Message --- Hello, I think the problem is that, as far as we know now, it is not desirable that new subclasses of BlShape are created in case the drawing has to be redefined for a particular BlElements. For now, we flag it as a sensible point. We will fix or at least take a decision la

Re: [Pharo-dev] [bloc] why redefining new is not enough?

2016-02-25 Thread Alain Plantec via Pharo-dev
--- Begin Message --- Hello Stephan, > On 25 Feb 2016, at 13:30, Stephan Eggermont wrote: > > On 25-02-16 12:31, Alain Plantec via Pharo-dev wrote: > >the space may be needed during #initialize. > > I would strongly advice against that. That makes it untestable interesti

Re: [Pharo-dev] [bloc] feature envy -> move method close to data?

2016-02-25 Thread Alain Plantec via Pharo-dev
--- Begin Message --- > On 25 Feb 2016, at 12:51, stepharo wrote: > > To me this is pre optimisation > > I do not see why we cannot do > > BlElement>>drawOnAthensCanvas: aCanvas > > self shape drawOnAthensCanvas: aCanvas with: self > > so far only localBounds from BlElement are used. t

Re: [Pharo-dev] [bloc] why redefining new is not enough?

2016-02-25 Thread Alain Plantec via Pharo-dev
--- Begin Message --- > > > well… is not forbidden, of course… > but many frameworks use basicNew as a way of obtain *explicitly* > non-initialized objects (voyage does that, for instance). ok > >> >>> that’s why we have new and basicNew :) >> >> the space may be needed during #initialize

Re: [Pharo-dev] [bloc] why redefining new is not enough?

2016-02-25 Thread Alain Plantec via Pharo-dev
--- Begin Message --- > On 25 févr. 2016, at 11:49, Esteban Lorenzano wrote: > > this is bad… redefining basicNew should not be done, never, never, never. why ? > that’s why we have new and basicNew :) the space may be needed during #initialize. this is why the initialization of the space is

Re: [Pharo-dev] [bloc] feature envy -> move method close to data?

2016-02-25 Thread Alain Plantec via Pharo-dev
--- Begin Message --- Hello, very good remark. This is one of the main consequence of the design review we made recently. In the first design, this was the case, the drawing was delegated. For now, it is a known issue of the current design. Cheers Alain > On 25 févr. 2016, at 09:56, stepharo wrote

Re: [Pharo-dev] [Bloc] Do we want or

2016-02-23 Thread Alain Plantec via Pharo-dev
bout a separate typing model that could be used to add/remove the types annotations ? Also, I wonder if Bloc is the good package to experiment optional types. Maybe it is not stable enough. Cheers Alain > > Cheers, > Doru > > >> On Feb 23, 2016, at 10:25 AM, Alain Plan

Re: [Pharo-dev] [Bloc] Do we want or

2016-02-23 Thread Alain Plantec via Pharo-dev
--- Begin Message --- I don’t like it too. Alain > Le 23 févr. 2016 à 09:50, Nicolai Hess a écrit : > > > > 2016-02-23 9:47 GMT+01:00 stepharo >: > Hi > > I saw that something or > I do not know why but I have the impression that is better. > Because we may have c

Re: [Pharo-dev] Some questions

2016-02-09 Thread Alain Plantec via Pharo-dev
--- Begin Message --- > > The same for me... Besides SpaceElement there is BlSpace which is a model. > Doru suggested to rename: > > BlWorldElement -> BlWorld > BlSpace -> BlSpaceModel > BlSpaceElement -> BlSpace > > Would such naming by more self-describing for you? yes Alain --- End Messag

Re: [Pharo-dev] Bloc Documentation

2016-02-09 Thread Alain Plantec via Pharo-dev
the community to help. Cheers Alain > On 9 févr. 2016, at 14:26, Alain Plantec wrote: > > >> On 9 févr. 2016, at 13:24, Stephan Eggermont wrote: >> >> On 09/02/16 11:53, Aliaksei Syrel wrote: >>> So I'm asking: what parts of Bloc do you find especially c

Re: [Pharo-dev] Bloc Documentation

2016-02-09 Thread Alain Plantec via Pharo-dev
--- Begin Message --- > On 9 févr. 2016, at 13:24, Stephan Eggermont wrote: > > On 09/02/16 11:53, Aliaksei Syrel wrote: >> So I'm asking: what parts of Bloc do you find especially complicated to >> understand. so we could concentrate on them? Root class >> BlElement(methods) has good doc, so pl

Re: [Pharo-dev] Bloc Documentation

2016-02-09 Thread Alain Plantec via Pharo-dev
--- Begin Message --- Hello, yes, #formerOwner: and #formerPosition: are here for compatibility with Morphic. and it will be like that for a while :) The bloc drag&drop mechanism is implemented differently with the help of events. Cheers Alain > On 9 févr. 2016, at 13:25, Aliaksei Syrel wrote: >

Re: [Pharo-dev] [Help needed] final push for Rubric editor

2015-12-06 Thread Alain Plantec via Pharo-dev
--- Begin Message --- > On 06 Dec 2015, at 17:07, Nicolai Hess wrote: > > in: > > 17192 > > UITheme should not use PluggableTextMorph > > what should we use to replace PluggableTextMorph, RubPluggableTextMorp

Re: [Pharo-dev] Cannot use command-P in inspector in the debugger

2015-11-08 Thread Alain Plantec via Pharo-dev
--- Begin Message --- I guess it is because of the default text mode. The smalltalk code mode should be set for these text areas. Alain > On 08 Nov 2015, at 19:54, stepharo wrote: > >Hi guys > > I would like to know if I'm the only one to do not have anymore the command-P > in inspector i

Re: [Pharo-dev] cleanup rubric

2015-08-02 Thread Alain Plantec via Pharo-dev
--- Begin Message --- Hello all, Yes we have both PluggableTextMorph and Rubric so it is a mess. Yes Rubric was a fork, so a lot of code is duplicated. I would say just wait that all PluggableTextMorph uses are removed then we will be able to clean-up things. Now, remember that I was not so excite

[Pharo-dev] millisecondClockValue

2015-07-18 Thread Alain Plantec via Pharo-dev
--- Begin Message --- Hello, Is there any reason why we do not use microsecondClockValue to compute millisecondClockValue ? Other that "because someone has to do it" I mean. I’ve changed Time>>millisecondClockValue to be computed from microsecondClockValue and modulo change of the event stamp in

Re: [Pharo-dev] How to combine event listeners in Bloc?

2015-07-16 Thread Alain Plantec via Pharo-dev
--- Begin Message --- De:"Stephan Eggermont" Date:jeu j juil. AM à 9:51 Objet:Re: [Pharo-dev] How to combine event listeners in Bloc? is only overridden in TableLayout. Is that a separate responsibility in Bloc or is that part of the responsibility of a LayoutStrategy (or even an EventListene

Re: [Pharo-dev] How to combine event listeners in Bloc?

2015-07-15 Thread Alain Plantec via Pharo-dev
--- Begin Message --- Hello Stephan Have a look at Bloc-DragPanels-AlainPlantec.9 I’ve added two event listeners. Cheers Alain > On 15 Jul 2015, at 17:26, Stephan Eggermont wrote: > > On 15/07/15 15:51, Alain Plantec via Pharo-dev wrote: > >the problem with BlPasteUpEventList

Re: [Pharo-dev] How to combine event listeners in Bloc?

2015-07-15 Thread Alain Plantec via Pharo-dev
--- Begin Message --- the problem with BlPasteUpEventListener is that it is a complex listener that may be difficult to combine. what is the behaviour that you want to implement ? Drag@Drop into/from the pane and click management for each pane element individually ? Cheers Alain > On 15 Jul 20

Re: [Pharo-dev] Card layout in Bloc?

2015-07-15 Thread Alain Plantec via Pharo-dev
--- Begin Message --- I’ve changed it to have the label at the top of the card Cheers Alain > On 15 Jul 2015, at 08:06, Stephan Eggermont wrote: > > On 14-07-15 22:18, Alain Plantec via Pharo-dev wrote: > >cool, can you commit your BlCardLayout into the bloc repo? >

Re: [Pharo-dev] Card layout in Bloc?

2015-07-14 Thread Alain Plantec via Pharo-dev
--- Begin Message --- > BlCardLayout>>layout: aMorph in: newBounds > |offset maxHeight| > offset := 0@0. > maxHeight := 0. > aMorph layoutComponentsDo: [ :component | > offset x + component width > newBounds width ifTrue: [ > "start a new

Re: [Pharo-dev] Card layout in Bloc?

2015-07-14 Thread Alain Plantec via Pharo-dev
--- Begin Message --- Hello again Stephan, yes, you need a kind of TableLayout for Bloc. Not available for now, maybe Alex have a flow layout policy in Brick. If not, I will try to revive the BlTableLayoutStrategy that I’ve made a the very beginning of Bloc by porting TableLayout to local coordin

Re: [Pharo-dev] Freezing Bloc UI

2015-07-05 Thread Alain Plantec via Pharo-dev
--- Begin Message --- Hello, Thanks for experimenting Bloc!!!. I think that, In this case, this is the font chooser that freezes, not Bloc. You can always come back to Morphic with CMD+Backspace. Then remove the freeze block space, create a new bloc space and switch to it. I guess it is becau

Re: [Pharo-dev] Trying to use Rubric in Nautilus ....

2015-05-18 Thread Alain Plantec via Pharo-dev
015 14:16:16 +0200 > To: pharo-dev@lists.pharo.org <mailto:pharo-dev@lists.pharo.org> > > done & committed > Cheers > Alain > On 14 May 2015, at 12:06, Alain Plantec <mailto:alain.plan...@yahoo.com>> wrote: > > ahh, good remark :) > the menu stuff is

Re: [Pharo-dev] Trying to use Rubric in Nautilus ....

2015-05-18 Thread Alain Plantec via Pharo-dev
codeFont; spaceFillWeight: 3; on: #keyStroke send: #keyStroke:fromSourceCodeMorph: to: self. self setSourceCodeShorcutsTo: sourceTextArea. ^ sourceTextArea Alain > On 18 May 2015, at 16:17, Alain Plantec wrote: > > Hello Franck, > > just ch

Re: [Pharo-dev] FreeType fonts and underline/strikethrough emphasis

2015-05-16 Thread Alain Plantec via Pharo-dev
erline and strokeouts as expected without changing RubCharacterScanner>>displayString: from: to: at: Alain > On 16 May 2015, at 12:47, Nicolai Hess wrote: > > > > 2015-05-16 0:43 GMT+02:00 Alain Plantec <mailto:alain.plan...@yahoo.com>>: > Hello Nicolai,

Re: [Pharo-dev] FreeType fonts and underline/strikethrough emphasis

2015-05-15 Thread Alain Plantec via Pharo-dev
--- Begin Message --- Hello Nicolai, I’ve pushed your fixe into Rubric. It works as expected. thanks a lot!. Cheers Alain | font1 font2 tMorph | font1 := TextFontReference toFont: (StrikeFont familyName: 'Bitmap DejaVu Sans' size: 11). font2 := TextFontReference to

Re: [Pharo-dev] Trying to use Rubric in Nautilus ....

2015-05-14 Thread Alain Plantec via Pharo-dev
--- Begin Message --- done & committed Cheers Alain > On 14 May 2015, at 12:06, Alain Plantec wrote: > > ahh, good remark :) > the menu stuff is not finished. > I do it now > thanks > Alain > >> On 13 May 2015, at 18:09, Franck Warlouzet > <mailto:franck

Re: [Pharo-dev] Trying to use Rubric in Nautilus ....

2015-05-14 Thread Alain Plantec via Pharo-dev
--- Begin Message --- ahh, good remark :) the menu stuff is not finished. I do it now thanks Alain > On 13 May 2015, at 18:09, Franck Warlouzet > wrote: > > Hi alain > > thanks a lot! > This helps us a lot. We got nearly something working. We will produce a list > of methods and changes we

Re: [Pharo-dev] Trying to use Rubric in Nautilus ....

2015-05-13 Thread Alain Plantec via Pharo-dev
--- Begin Message --- see Rubric-AlainPlantec.196 in the Rubric repo. I’ve added RubPluggableTextMorph and RubPluggableTextMorphExample. Need to be polished certainly but it should facilitate the integration of Rubric in Nautilus. cheers Alain > On 12 May 2015, at 22:45, stepharo wrote: > > F

Re: [Pharo-dev] Trying to use Rubric in Nautilus ....

2015-05-12 Thread Alain Plantec via Pharo-dev
--- Begin Message --- Ok i see. It is possible to code an adapter with the pluggabletexmorph protocol. I will try to do it tomorrow.  Cheers Alain De:"stepharo" Date:mar j mai PM à 21:44 Objet:Re: [Pharo-dev] Trying to use Rubric in Nautilus Thanks alain Before asking we read all the e

Re: [Pharo-dev] Trying to use Rubric in Nautilus ....

2015-05-12 Thread Alain Plantec via Pharo-dev
--- Begin Message --- Attached a simple example (RubTextStuff.st). see the use of the RubTextAccepted announcement (RubTextStuff class>>example) to do things when the code is accepted in the view. now you can also have a look at RubMethodEditingExample when the selector change, then the code in

Re: [Pharo-dev] Trying to use Rubric in Nautilus ....

2015-05-12 Thread Alain Plantec via Pharo-dev
--- Begin Message --- Maybe you should use RubSmalltalkMethodEditorModel (one have also RubSmalltalkScriptEditorModel). Have a look at RubWorkspaceExample to see how it can be used. Alain > On 12 mai 2015, at 16:40, stepharo wrote: > > Hi > > we are trying with Franck Warlouzet to use Rubric

Re: [Pharo-dev] Rendering morph list items in NewList

2015-05-05 Thread Alain Plantec via Pharo-dev
--- Begin Message --- Hello I ve the impression that it is due to the redrawing of invalid rectangles. Maybe because of a lack of efficienty of the morph list Alain De:"Yuriy Tymchuk" Date:mar j mai PM à 14:13 Objet:[Pharo-dev] Rendering morph list items in NewList Hi, when I use strings fo

Re: [Pharo-dev] Tx Pass

2015-04-28 Thread Alain Plantec via Pharo-dev
--- Begin Message --- Hello, > On 27 Apr 2015, at 15:58, Sean P. DeNigris wrote: > > Just like Bloc (which has *great* class comments), I think it's crucial to > document the high level design decisions in Tx. I did a first pass and noted > some initial impressions... > > Design Questions: > -

Re: [Pharo-dev] Rubric and Bloc are now in PharoExtras

2015-04-24 Thread Alain Plantec via Pharo-dev
--- Begin Message --- > On 17 Apr 2015, at 18:21, Alain Plantec wrote: > > >> On 17 Apr 2015, at 13:40, Sean P. DeNigris wrote: >> >> Thank you!!! Quick question. What is our procedure about contributing to >> projects which we own but are not part of Core?

Re: [Pharo-dev] Rubric and Bloc are now in PharoExtras

2015-04-18 Thread Alain Plantec via Pharo-dev
ave other projects, like TxText, there as well. So, what >> is the preferred way? >> > > I always thought that Extras was projects that would not be in the core. > Now bloc should at the end be in the core. > >> Cheers, >> Doru >> >> >> O

Re: [Pharo-dev] Rubric and Bloc are now in PharoExtras

2015-04-17 Thread Alain Plantec via Pharo-dev
--- Begin Message --- > On 17 Apr 2015, at 13:40, Sean P. DeNigris wrote: > > Thank you!!! Quick question. What is our procedure about contributing to > projects which we own but are not part of Core? Should we commit to the > inbox or directly to the project repo? At the moment, I'm thinking of

[Pharo-dev] Rubric and Bloc are now in PharoExtras

2015-04-17 Thread Alain Plantec via Pharo-dev
--- Begin Message --- Hello all, Please update your configurations. Cheers Alain --- End Message ---

Re: [Pharo-dev] Permission denied issue when moving Bloc to PharoExtras

2015-04-17 Thread Alain Plantec via Pharo-dev
user and password. Then Gofer will be able to find your > password to commit. Sorry I skipped that "detail" when giving you the scripts > :/. > > Guille > > El vie., 17 de abr. de 2015 a la(s) 10:03 a. m., Alain Plantec via Pharo-dev > mailto:pharo-dev@lists.phar

[Pharo-dev] Permission denied issue when moving Bloc to PharoExtras

2015-04-17 Thread Alain Plantec via Pharo-dev
--- Begin Message --- Hello all, Here are the Gofer invocations I used. The fetch is ok but the push ends-up in a ‘Permission denied’ error. what is wrong in my Gofer push invocation ? Thanks Cheers Alain Gofer it smalltalkhubUser: 'AlainPlantec' project: 'Bloc'; package: 'Bloc-Core'

Re: [Pharo-dev] Contributing to Bloc

2015-04-07 Thread Alain Plantec via Pharo-dev
--- Begin Message --- > So how am I proceed ? How I can help ? sorry for the late answer, I’m very busy …. but thanks !! for now I think the most important is to document bloc and to stress it - by trying the examples or - by trying to program new examples or - by adding comments, fix the engli

Re: [Pharo-dev] Contributing to Bloc

2015-04-07 Thread Alain Plantec via Pharo-dev
--- Begin Message --- Hello, in fact you are running morphic widget inside bloc. The compatibility is not 100%. I guess here the problem is related to the global coordinate system of Morphic. We will try to fix it. Thanks for reporting. Cheers Alain > On 06 Apr 2015, at 13:56, kilon alios wro

Re: [Pharo-dev] Contributing to Bloc

2015-04-07 Thread Alain Plantec via Pharo-dev
--- Begin Message --- Hello, yes, the bloc repo will be moved. Cheers Alain > On 06 Apr 2015, at 13:43, Sean P. DeNigris wrote: > > kilon.alios wrote >> So I was wondering how I can be of assistance > > I think the first step has to be to move the Bloc repo under the Pharo team > and define whe

Re: [Pharo-dev] Bloc Roadmap

2015-04-01 Thread Alain Plantec via Pharo-dev
--- Begin Message --- > > >> >> > We’ve implemented a lot of examples. please have a look. >> Thanks - I have and they are also great. But AFAICT it's impossible to tell >> from the examples /why/ e.g. we went from Morphs owning their step actions >> to block-based steps registered with a sch

Re: [Pharo-dev] Bloc Roadmap

2015-04-01 Thread Alain Plantec via Pharo-dev
--- Begin Message --- > On 01 Apr 2015, at 22:15, Sean P. DeNigris wrote: > > > yes, we know, we are preparing a documentation. > Great! Is the WIP publicly available (e.g. in one of our Pillar/GitHub > repos)? Btw. the class comments are reeeally great! I'm only talking about > documenting d

Re: [Pharo-dev] Bloc Roadmap

2015-04-01 Thread Alain Plantec via Pharo-dev
--- Begin Message --- Hello Sean, > On 01 Apr 2015, at 20:39, Sean P. DeNigris wrote: > >> did you read the class comments? >> or Morph and Views > Yes. I see that the Morph is delegating it's drawing to a View, but what I'm > interested in is the rationale. I believe that documenting the des

Re: [Pharo-dev] Remove submorph's halo when parent morph is removed from world

2015-03-26 Thread Alain Plantec via Pharo-dev
--- Begin Message --- good catch Alex Cheers Alain > Le 26 mars 2015 à 23:24, Aliaksei Syrel a écrit : > > Hi, > > Do you hate an issue when halo is not removed when parent morph is deleted > from the world and halo stays around nothing? > > If you take a look at implementation of Morph>>remo

Re: [Pharo-dev] Which one to use? [WAS: Re: GLMBrick whats next?]

2015-03-24 Thread Alain Plantec via Pharo-dev
--- Begin Message --- > > I don’t get it sorry. > > Padding by ten pixels to the left: > > | leftMargin aParserButton | > leftMargin := Morph new > width: 10; > hResizing: #shrinkWrap; > vResizing: #spaceFill. > aParserButton := Plugga

Re: [Pharo-dev] Which one to use? [WAS: Re: GLMBrick whats next?]

2015-03-24 Thread Alain Plantec via Pharo-dev
--- Begin Message --- > Le 24 mars 2015 à 15:56, Thierry Goubier a écrit : > > > > 2015-03-24 15:39 GMT+01:00 Denis Kudriashov >: > > 2015-03-24 17:36 GMT+03:00 Thierry Goubier >: > IMHO, Rubrics, just from it's layout approach,

Re: [Pharo-dev] Which one to use? [WAS: Re: GLMBrick whats next?]

2015-03-24 Thread Alain Plantec via Pharo-dev
arallel (Brick and Bloc) and fragmenting the effort even more. That is why, >> for Pharo 5 we want to invest in Bloc. The interesting thing is that while >> Bloc starts from scratch, Brick already works and has quite some high level >> widgets and logic built in. Brick is alread

Re: [Pharo-dev] Which one to use? [WAS: Re: GLMBrick whats next?]

2015-03-24 Thread Alain Plantec via Pharo-dev
--- Begin Message --- Hello Thierry, > Le 24 mars 2015 à 15:24, Thierry Goubier a écrit : > > One of the problem is that the Morphic replacement will probably be less than > Morphic was (or was intended to be) :( why do you think so ? Cheers Alain > > You'll probably tell me that for the ki

Re: [Pharo-dev] Which one to use? [WAS: Re: GLMBrick whats next?]

2015-03-24 Thread Alain Plantec via Pharo-dev
--- Begin Message --- Hello Esteban, > Most probably is because you are doing double work: you draw with Athens, but > you convert it to a Form to display it (and a Form is a Morph using > DisplayPlugin). > I can ensure you that if you use Athens directly with SDL2 (an example I can > share wi

Re: [Pharo-dev] GLMBrick whats next?

2015-03-24 Thread Alain Plantec via Pharo-dev
ncretely, on March 31 and April 1 (no joke :)), we have a session in >> Bern >> where Alain Plantec will join us to look into how to approach this problem >> concretely. > > Given that, now I /really/ feel it would be beneficial to have the talks > recorded because o

Re: [Pharo-dev] Morphs becoming unresponsive

2015-03-24 Thread Alain Plantec via Pharo-dev
--- Begin Message --- Hello Henrik, I read windowEvent: anEvent WorldState quitSession. self removeProperty: #closeWorldDialogOpen ] but shouldn't it be windowEvent: anEvent WorldState quitSession. self removeProperty: #canOpenCloseDialo

Re: [Pharo-dev] GLMBrick whats next?

2015-03-23 Thread Alain Plantec via Pharo-dev
--- Begin Message --- thanks a lot for these explanations. yep! very promising :) I would love to see all these improvements implemented in Bloc. > Le 23 mars 2015 à 20:54, Aliaksei Syrel a écrit : > > What we really want to have in Bloc is an easy way to detect that user > clicked outside of

Re: [Pharo-dev] Bloc: Why Fast Drag?

2015-03-09 Thread Alain Plantec via Pharo-dev
--- Begin Message --- checking this was in my to do list. Thanks a lot Nicolai, I will make a try. Alain > On 09 Mar 2015, at 11:54, Nicolai Hess wrote: > > 2015-03-09 8:59 GMT+01:00 Alain Plantec via Pharo-dev > mailto:pharo-dev@lists.pharo.org>>: > > >

Re: [Pharo-dev] Bloc: Why Fast Drag?

2015-03-09 Thread Alain Plantec via Pharo-dev
--- Begin Message --- yes, this is because even in Bloc, morphic morphs are still drawn with the Form based framework, whereas the hand is itself drawn with Athens. When a morph is dragged, it is added as a hand child. As a hand child, it should also be drawn with Athens but not every Morphic m

Re: [Pharo-dev] Bloc Example Errors

2015-03-09 Thread Alain Plantec via Pharo-dev
--- Begin Message --- Hello Sean, ahh, ok, I reported this problem a while ago, this is due to your VM which use an old version of the cairo library. This should be ok with the latest vm. Cheers Alain > Le 9 mars 2015 à 03:02, Sean P. DeNigris a écrit : > > Pharo Smalltalk Developers mailing l

Re: [Pharo-dev] Bloc Example Errors

2015-03-08 Thread Alain Plantec via Pharo-dev
--- Begin Message --- Hello Sean, thanks for your feedbacks ! Regarding the font errors (1, 4, 5 and 6), these are TxText related. TxText does no work with strike fonts. As a fix, load FT fonts and change you source code font setting. Then these examples should run. Regarding 2, it is fixed now.

Re: [Pharo-dev] Research Groups

2015-03-05 Thread Alain Plantec via Pharo-dev
--- Begin Message --- Hello, Lysic does not exist anymore, it has been integrated in the Lab-STICC. Alain > On 5 mars 2015, at 15:42, stepharo wrote: > > Hello guys > > I started to collect all the research groups using Pharo. If you are not part > of the group or if your affiliation / web pa

[Pharo-dev] Rubric versus Athens

2015-02-26 Thread Alain Plantec via Pharo-dev
--- Begin Message --- Hello Nicolai, I’ve made a first pass. I’ve not used your Athens* add ons. Instead, raw Athens drawing. Less clean but done. Hope it will help to continue Athens integration. Cheers Alain --- End Message ---

Re: [Pharo-dev] GTInspector is slow for large strings

2015-02-25 Thread Alain Plantec via Pharo-dev
--- Begin Message --- I’ve tried this: [ 'http://picasaweb.google.com/data/feed/api/all?q=puppy' asUrl retrieveContents ] timeToRun 0:00:00:02.587 [ GTInspector setGTInspectorEnabledStatus: false ('http://picasaweb.google.com/data/feed/api/all?q=puppy' asUrl retrieveContents) inspect ] timeT

Re: [Pharo-dev] Athens/Morphic

2015-01-31 Thread Alain Plantec via Pharo-dev
--- Begin Message --- > > Yes the HandMorph is handled like any other Morph, it draws itself and > after that it draws all its submorphs. (And actually it does not use any > caching, and it is still quite fast) the same in Bloc, no caching and it works just fine :) > But yes, it needs a specia

Re: [Pharo-dev] Athens/Morphic

2015-01-31 Thread Alain Plantec via Pharo-dev
--- Begin Message --- super! it just works fine, except the font. I’ve also noticed that the mouse pointer is not drawn while dragging a morph. Do you plane to make a package for it ? I would like to integrate it in Bloc. thanks Alain > Le 31 janv. 2015 à 09:48, Marcus Denker a écrit : > > Nic

Re: [Pharo-dev] [Ann] a short Bloc demo

2015-01-28 Thread Alain Plantec via Pharo-dev
--- Begin Message --- Thanks Nicolai In fact it is a NecMenuMorph issue I think. I’ve opened and fixed a fogbugz issue. Cheers Alain > Le 27 janv. 2015 à 20:44, Nicolai Hess a écrit : > > 2014-12-24 15:19 GMT+01:00 Alain Plantec <mailto:alain.plan...@yahoo.com>>: > Hell

Re: [Pharo-dev] [Ann] a short Bloc demo

2015-01-27 Thread Alain Plantec via Pharo-dev
ks Alain > Le 27 janv. 2015 à 09:12, Tudor Girba a écrit : > > I will have access to a Windows 7 today. Can you give me detailed > instructions of what to try? > > Doru > > On Tue, Jan 27, 2015 at 9:02 AM, Alain Plantec via Pharo-dev > mailto:pharo-dev@lists.

Re: [Pharo-dev] [Ann] a short Bloc demo

2015-01-27 Thread Alain Plantec via Pharo-dev
full display screen extent. > > 2015-01-26 23:52 GMT+01:00 Alain Plantec <mailto:alain.plan...@yahoo.com>>: > Hello Nicolai, > I’ve not tested in w7. > I’ve just tried in Windows 8.1. > It works outofthebox here. > Cheers > Alain > > > >> Le 25 j

Re: [Pharo-dev] athens font rendering bug

2015-01-27 Thread Alain Plantec via Pharo-dev
--- Begin Message --- of Nicolai example, not Andrei … :) Cheers Alain > Le 27 janv. 2015 à 08:57, Alain Plantec a écrit : > > I’ve dig a little bit to understand why it is working in my image. > > Something is weird with the default ‘source Sans Pro’ setting. > > With a

Re: [Pharo-dev] athens font rendering bug

2015-01-26 Thread Alain Plantec via Pharo-dev
> Le 27 janv. 2015 à 00:04, Alain Plantec a écrit : > > it seems ok here (also in Pharo 4, Mac OS X) > Alain > > > > >> Le 26 janv. 2015 à 23:45, Sven Van Caekenberghe > <mailto:s...@stfx.eu>> a écrit : >> >> Looks the same her

Re: [Pharo-dev] athens font rendering bug

2015-01-26 Thread Alain Plantec via Pharo-dev
--- Begin Message --- it seems ok here (also in Pharo 4, Mac OS X) Alain > Le 26 janv. 2015 à 23:45, Sven Van Caekenberghe a écrit : > > Looks the same here, Pharo 4, Mac OS X > >> On 26 Jan 2015, at 23:18, Nicolai Hess wrote: >> >> You can "force" the wrong font characters if you try to u

Re: [Pharo-dev] Jun4Pharo so exciting :)

2014-12-29 Thread Alain Plantec
> Le 29 déc. 2014 à 21:12, Sven Van Caekenberghe a écrit : > > >> On 29 Dec 2014, at 21:04, S Krish wrote: >> >> >> Originally OpenGL package in VW Smalltalk > > OK, thanks. > > And how is this different or how does this compare to Athens then ? I guess June is for 3D modeling whereas Ath

Re: [Pharo-dev] [Ann] a short Bloc demo

2014-12-26 Thread Alain Plantec
his is normal, you should load bleedingEdge. >> >> >> "ConfigurationOfBlock loadDevelopment" works fine. >> >> cheer -ben >> >> Sven Van Caekenberghe wrote: >> Yes, a nice X-Mas present ! >> >>

Re: [Pharo-dev] [Ann] a short Bloc demo

2014-12-26 Thread Alain Plantec
d load bleedingEdge. > > > "ConfigurationOfBlock loadDevelopment" works fine. > > cheer -ben > > Sven Van Caekenberghe wrote: > Yes, a nice X-Mas present ! > > On 24 Dec 2014, at 15:41, Alexandre Bergel <mailto:alexandre.ber...@me.com>> wrote: >

Re: [Pharo-dev] [Ann] a short Bloc demo

2014-12-26 Thread Alain Plantec
> On 26 Dec 2014, at 07:09, Ben Coman wrote: >> >> see in TBlAthensWrapper>>unprotectedFullDrawOn: > > I can't see that class. I guess you mean > BlAthensPasteUpMorph>>unprotectedFullDrawOn: Hi Ben, TBlAthensWrapper is the trait :) Alain > >> >> self surface displayOnMorphicCanvas:

Re: [Pharo-dev] [Ann] a short Bloc demo

2014-12-25 Thread Alain Plantec
lved. > > Yes this is normal, you should load bleedingEdge. >> >> "ConfigurationOfBlock loadDevelopment" works fine. >> >> cheer -ben >> >> Sven Van Caekenberghe wrote: >>> Yes, a nice X-Mas present ! >>> >>>> O

[Pharo-dev] [Ann] a short Bloc demo

2014-12-24 Thread Alain Plantec
Hello all, I’ve just uploaded a small demo of Bloc. http://vimeo.com/115336678 Cheers Alain

[Pharo-dev] ValueHolder analysis

2014-11-14 Thread Alain Plantec
Hi guys (this is stef hijacking the account of alain). I was puzzled by the fact that each value holder has its own announcer. I’m trying to understand the pros and cons. Stef Announcer allInstances size 5417 Announcer allInstances collect: #numberOfSubscriptions #(0 1 2 3 51 0 16 1 16

Re: [Pharo-dev] Should Nautilus use Rubric?

2014-11-07 Thread Alain Plantec
Hi Esteban, can you commit your changes in the Rubric Smalltalkhub repository ? I've already added you as a contributor. Cheers Alain > On 7 nov. 2014, at 14:52, Esteban Lorenzano wrote: > > Actually, I’m (finally) about to integrate it (an alpha version). > it will be in the image next week :P

Re: [Pharo-dev] Should Nautilus use Rubric?

2014-11-07 Thread Alain Plantec
:)) > On 7 nov. 2014, at 14:52, Esteban Lorenzano wrote: > > Actually, I’m (finally) about to integrate it (an alpha version). > it will be in the image next week :P > > Esteban > >> On 07 Nov 2014, at 14:32, Norbert Hartl wrote: >> >> I think we should submit TxModel to the vaporware award

Re: [Pharo-dev] Should Nautilus use Rubric?

2014-11-07 Thread Alain Plantec
> On 7 nov. 2014, at 14:32, Norbert Hartl wrote: > > I think we should submit TxModel to the vaporware awards 2014 :) Hi Norbert, I really don't think so. Have a look. TxText is a real perl, I can't believe it will not be released. Cheers Alain > > Norbert > >> Am 07.11.2014 um 14:24 schrieb

Re: [Pharo-dev] Should Nautilus use Rubric?

2014-11-07 Thread Alain Plantec
TxModel implements the text model of TxText. http://smalltalkhub.com/mc/sig/TxText/main There is no direct relation with Rubric. TxText is a completely fresh text model whereas Rubric is a kind of fork of PluggableTextMorph. TxText is implemented with Athens and not Rubric. Cheers Alain > On 7

Re: [Pharo-dev] Should Nautilus use Rubric?

2014-11-07 Thread Alain Plantec
Hi Juraj, Rubric is in the image because of GT but I guess GT will use TxText when it will be released as the default text editor. As a consequence, Rubric will be removed from the image. For the record, Rubric is the reimplementation of PluggableTextMorph. I consider it as an improvement over P

[Pharo-dev] Athens: issue with clipping and/or path drawing

2014-10-12 Thread Alain Plantec
Dear All, The border is not well rendered when a submorph is partly outside the bounds of the AthensWrapMorph. The AthensWrapMorph is set to clip its submorphs. See the two small screenshots with an ellipse morph. Is it a known issue or am I doing something wrong ? | a e | a := AthensWrapMorph ne

Re: [Pharo-dev] GTPlayground wrong cursor position

2014-10-03 Thread Alain Plantec
> Thank you. > It looks like the cursor positioning and syntax highlighing happens in > different processes, right? > yes, and the cursor bounds are not updated correctly after the highlighting process has finished. I’ve found the fix :) Thanks for reporting. Cheers Alain > > On 3 oct. 2014,

Re: [Pharo-dev] GTPlayground wrong cursor position

2014-10-02 Thread Alain Plantec
a Rubric issue I guess. I will have a look. Cheers Alain On 3 oct. 2014, at 07:25, Tudor Girba wrote: > I do not know :( > > Doru > > On Thu, Oct 2, 2014 at 11:46 PM, Nicolai Hess wrote: > Someone knows why this happens ? > Sometimes the cursor is at the wrong textposition. At least > it loo

Re: [Pharo-dev] Why Bloc?

2014-09-18 Thread Alain Plantec
On 18 Sep 2014, at 15:40, Alain Plantec wrote: > > On 18 Sep 2014, at 14:37, Sean P. DeNigris wrote: > >> Alain Plantec-3 wrote >>> then you are ready to run a Bloc world: >>> world menu>Bloc>New Bloc space >>> world menu>Bloc>Switch to

Re: [Pharo-dev] Why Bloc?

2014-09-18 Thread Alain Plantec
On 18 Sep 2014, at 14:37, Sean P. DeNigris wrote: > Alain Plantec-3 wrote >> then you are ready to run a Bloc world: >> world menu>Bloc>New Bloc space >> world menu>Bloc>Switch to Bloc space... >> choose 'Bloc-1' > > I loaded via t

Re: [Pharo-dev] Why Bloc?

2014-09-17 Thread Alain Plantec
On 18 sept. 2014, at 04:44, Sean P. DeNigris wrote: > stepharo wrote >> - look at what he is doing >> - we try to document the classes >> ... > > How do I start playing with Bloc? After loading the development version into > Pharo 3.0 and doing "BlMorphToTestMouseEnterLeave new

Re: [Pharo-dev] Why Bloc?

2014-08-16 Thread Alain Plantec
Hello, I'm just back from holidays. To explain a bit more, Bloc is not done from scratch. For now, one can consider Bloc as a fork of the Morph class and few other system levels classes as HandMorph, WorldMorph ... They are progressively rewritten and simplified (we removed all HandMorph cache o

Re: [Pharo-dev] GUI question

2014-06-28 Thread Alain Plantec
On 28 juin 2014, at 09:45, stepharo wrote: > >> Hi all, >> >> is there a rationale for the world menu on left mouse button only in Pharo >> 4? (and world contents on the right mouse button) > > Simplifying mouseDown: following the cleaning made on Bloc by alain. > It was strange to have two

Re: [Pharo-dev] news from block :)

2014-06-12 Thread Alain Plantec
On Wed, Jun 11, 2014 at 10:25 PM, François Stephany > >> wrote: > >> \o/ > >> > >> > >> On Wed, Jun 11, 2014 at 4:23 PM, Camille Teruel > >> wrote: > >> > >> On 11 juin 2014, at 15:31, François Stephany > >> wrote:

Re: [Pharo-dev] news from block :)

2014-06-11 Thread Alain Plantec
3 PM, Camille Teruel >> wrote: >> >> On 11 juin 2014, at 15:31, François Stephany >> wrote: >> >>> What is bloc ? >>> I've searched in the pharo-dev list but couldn't find it :/ >> >> A Morphic clean/revamp lead by Alain

Re: [Pharo-dev] It would be too expensive to add a description for packages in Configuration Browser?

2013-12-08 Thread Alain Plantec
> Nobody payed attention to this but this is really nice and supporting self > documentation. i said i will weeks ago. I will try today. Alain > > > > > > > stef

Re: [Pharo-dev] Adding ballon text to tree or tree items

2013-11-07 Thread Alain Plantec
Hi Guillermo, I will have a look. Cheers Alain On 7 nov. 2013, at 19:46, Guillermo Polito wrote: > Hi guys! > > I'm trying to add contextual help through the ballon flying help to nautilus. > I was looking at how other tools do it, and it looks like sending the > #setBalloonText: does it, but

Re: [Pharo-dev] MorpgTreeMorph enable/disable?

2013-10-16 Thread Alain Plantec
done. a slice is in inbox Cheers Alain On 15 oct. 2013, at 20:14, plantec wrote: > Hi Esteban, > > Le 15 oct. 2013 à 18:30, Esteban Lorenzano a écrit : > >> Hi, >> >> I'm working with MorphTreeMorph and I need to toggle enable/disable... and >> as far as I see is not implemented. >> Any i

Re: [Pharo-dev] Smalltalk = strongly typed

2013-08-02 Thread Alain Plantec
Hi Ben, Thanks for the references, I've also found this post interesting: http://blogs.perl.org/users/ovid/2010/08/what-to-know-before-debating-type-systems.html Cheers Alain On 2 août 2013, at 06:03, b...@openinworld.com wrote: > greetings all, > > I'm in the final weeks of writing up my Maste

Re: [Pharo-dev] question about HandMorph

2013-06-27 Thread Alain Plantec
On 27 juin 2013, at 13:49, Igor Stasenko wrote: > On 27 June 2013 10:44, plantec wrote: >> Hi all, >> The current hand has the world as its owner but the world >> submorphs do not contains the current hand. >> Why is it like that ? > If you look at HandMorph, it mixes a lot of roles together,

  1   2   >