[Pharo-dev] [Spec] CodePresenter line numbering and fontize

2020-04-12 Thread Hilaire
-projecting to a class, I need larger font size for the code Any tips, direction or know how is welcome. Keep safe Hilaire Here is another the situation, maybe it is bugs: When I set the code presenter behavior to nil, the highlight is correct, and there is no left column: Then when

Re: [Pharo-dev] How to execute code

2020-04-11 Thread Hilaire
Ah ah, so true. Our brain is biased by the context. I was looking for an identical behavior to playground, so my context was "how does playground implement do-it?", so let's take a look. Then I hit a wall of abstractions and duplication, unseen in Squeak, in that specific context. I am

Re: [Pharo-dev] How to execute code

2020-04-11 Thread Hilaire
Once you know it is obvious :) Nevertheless, It took me about one hour to discover it, and only with Squeak I can discover it. My observations regarding the complexity of Pharo remain valid, though. Le 11/04/2020 à 13:05, Sven Van Caekenberghe a écrit : Hmmm ... Shift-Return (Spotter)

Re: [Pharo-dev] How to execute code

2020-04-11 Thread Hilaire
it will ever change though. Hilaire Le 11/04/2020 à 11:37, Hilaire a écrit : How to write the code to execute a piece of code in code presenter? -- Dr. Geo http://drgeo.eu

[Pharo-dev] How to execute code

2020-04-11 Thread Hilaire
Hi, Need some orientation here. How to write the code to execute a piece of code in code presenter? Thanks Hilaire /* frustration on Ok, it is very frustrating learning from Pharo now. Since when Pharo is not anymore discoverable? I try to find from context menu how to code some sort

[Pharo-dev] [Spec] SpCodePresenter

2020-04-11 Thread Hilaire
Hi, When one wants to use the code presenter for workspace, how should be set the its behavior class? Thanks PS: what about my other questions? Hilaire -- Dr. Geo http://drgeo.eu

[Pharo-dev] [spec| On update

2020-04-09 Thread Hilaire
|         saveBtn badge: '*'.         self update: saveBtnself]. What update mechanism am I missing? Is it observable slot things? Hilaire -- Dr. Geo http://drgeo.eu

Re: [Pharo-dev] [Spec] Selected item in a list off screen

2020-04-09 Thread Hilaire
Le 09/04/2020 à 12:21, Christophe Demarey a écrit : Hope this helps, Thanks for the tip, I did this temporary hack: scripts verticalAlignment desiredVisibleRow: scripts selection selectedIndexes first. -- Dr. Geo http://drgeo.eu

[Pharo-dev] [Spec] Issue with toolbar button width

2020-04-09 Thread Hilaire
Hi, I am sketching the final touch on what will be a DrGeo workspace for kids. I am using a dedicated toolbar and I have issue with the button label: they are cut and their width seem to be somehow maximized. See bellow: By the way, Spec is quite a productive framework. Good work. Hilaire

Re: [Pharo-dev] [Spec] Selected item in a list off screen

2020-04-09 Thread Hilaire
Thanks Esteban. There is not hurry. I just want to be sure about my own doing. I will now write a dedicated workspace to let kids write, save and execute easily DrGeo script. Hilaire Le 08/04/2020 à 22:00, Esteban Lorenzano a écrit : There is an ongoing bug about list selections, I hope

Re: [Pharo-dev] [Spec] Selected item in a list off screen

2020-04-08 Thread Hilaire
So this is the normal behavior? I am not missing anything ? Hilaire Le 04/04/2020 à 19:57, Hilaire a écrit : Hi, When I programmatically selects an item in a presenter list *and* when this item is off screen -- for example at the end of a long list -- the list widget is not scrolled

Re: [Pharo-dev] [Spec] Selected item in a list off screen

2020-04-06 Thread Hilaire
So ? -- Dr. Geo http://drgeo.eu

[Pharo-dev] [Spec] Selected item in a list off screen

2020-04-04 Thread Hilaire
Is it a bug or am I missing something Thanks Hilaire -- Dr. Geo http://drgeo.eu

Re: [Pharo-dev] GLMBrowser clean up in P8?

2020-03-05 Thread Hilaire
Hi Steph, Ok. I did that for now. May be time to learn spec2. Hilaire Le 05/03/2020 à 20:56, ducasse a écrit : May be we were starting to remove unused classes and it was probably a mistake (mine certainly). What I suggest to you is that you take the one of P7 and added to your P8

[Pharo-dev] GLMBrowser clean up in P8?

2020-03-05 Thread Hilaire
rapper was removed. Any tips welcome. Thanks Hilaire -- Dr. Geo http://drgeo.eu

[Pharo-dev] Fix for PlotMorph

2020-01-01 Thread Hilaire
right): | m | m := PlotMorph plotPoints: { 0@0 . 0.59@0.88. 0.49@0.49  }. m openInWindow. Thanks Hilaire -- Dr. Geo http://drgeo.eu

Re: [Pharo-dev] I love this idea: learning by doing...

2019-11-03 Thread Hilaire
There were some game frameworks project goings on with Pharo. What are their status? Hilaire Le 03/11/2019 à 09:53, ducasse a écrit : > https://github.com/danistefanovic/build-your-own-x > > I would love to get some pharo there. > > Thanks sebastian for the pointer. > >

Re: [Pharo-dev] Help on Iceberg

2019-09-15 Thread Hilaire
po Thanks Hilaire Le 15/09/2019 à 10:55, ducasse a écrit : > - the first one is to create a branch in your local repository to > point to the current commit of your image > so that you can come back to it (let us call it bottom-xxx).  -- Dr. Geo http://drgeo.eu

Re: [Pharo-dev] Help on Iceberg

2019-09-15 Thread Hilaire
What should I do next ? I install a newer P8, point the image repo to my existing repo in the local filesystem. Is it right? It seems I need to repair, but I don't understand why the repair dialog say and what option to pick up. I can't anticipate the consequences. Glossary, please (the one

[Pharo-dev] Help on Iceberg

2019-09-14 Thread Hilaire
which repo 2. I tried one guessed scenario and it was refused. Idea? See: https://github.com/pharo-project/pharo/pull/4580#issuecomment-531322034 Now I should probably start with a fresh P8, but I don't want to loose my previous fixes (I guess should be on my own repo) Hilaire -- Dr. Geo http

Re: [Pharo-dev] Step by step contribute

2019-09-09 Thread Hilaire
Le 08/09/2019 à 14:29, ducasse a écrit : >> On 8 Sep 2019, at 14:22, Hilaire wrote: >> >> hum, with some sort of luck I got it working as it should and in the >> process understood a bit the workflow. > the workflow is > your fork pharo > then ice

Re: [Pharo-dev] Step by step contribute

2019-09-08 Thread Hilaire
hum, with some sort of luck I got it working as it should and in the process understood a bit the workflow. In the tutorial, a few words explaining it could be useful to git newbies as me. Hilaire Le 08/09/2019 à 14:12, Hilaire a écrit : > What should I do now? -- Dr. Geo http://drgeo.eu

[Pharo-dev] Step by step contribute

2019-09-08 Thread Hilaire
pull request, it complains the branch does not exist and I should commit before and push the changes. Likely I should not have commited in the first place. What should I do now? Hilaire -- Dr. Geo http://drgeo.eu

[Pharo-dev] Comment colouring is funky

2019-09-08 Thread Hilaire
Hi, On P7, I see this dual comment colouring. White before any code instruction then gray. Do I miss something? Hilaire -- Dr. Geo http://drgeo.eu

Re: [Pharo-dev] humanReadablePrintString

2019-09-04 Thread Hilaire
https://github.com/pharo-project/pharo/issues/4497 Le 04/09/2019 à 15:57, Sven Van Caekenberghe a écrit : > Yes, probably. -- Dr. Geo http://drgeo.eu

[Pharo-dev] humanReadablePrintString

2019-09-04 Thread Hilaire
thCommasOn: is understood only by integer. In my opinion printHumanReadableOn: should be edited as: ../..         (wholeNanoseconds 'nanosecond')) do: [ :each |         count := (self perform: each first) truncated.         count > 0  ../.. Opinion? Hilaire -- Dr. Geo http://drgeo.eu

Re: [Pharo-dev] Regression in P7 with drag and drop

2019-06-28 Thread Hilaire
https://github.com/pharo-project/pharo/issues/3679 Le 28/06/2019 à 03:09, ducasse a écrit : > thanks for the report. > Hilaire could you open a bug entry and we will issue a fix for P7 and P8 > > S. -- Dr. Geo http://drgeo.eu

Re: [Pharo-dev] Regression in P7 with drag and drop

2019-06-27 Thread Hilaire
And there is an issue with the Default drop handler. Try to drop a text file in P7 or likely P8 image. Message #name is expected to be understandble by Stream, but it is not any more the case. Hilaire -- Dr. Geo http://drgeo.eu -- Dr. Geo http://drgeo.eu

Re: [Pharo-dev] Regression in P7 with drag and drop

2019-06-27 Thread Hilaire
It was changed like that as early as in P7. It does not work. How could the dragged and dropped file opened as a write stream? Replacing binaryWriteStreamDo: wtih readStreamDo: make it work for DrGeo. I don't know about other scenario usage. Hilaire -- Dr. Geo http://drgeo.eu

[Pharo-dev] Regression in P7 with drag and drop

2019-06-27 Thread Hilaire
t sure about other. Enclosed .st of the edited method. Please, some one with know fill a bug ticket with the proposed fix. Thanks Hilaire -- Dr. Geo http://drgeo.eu PasteUpMorph-dropFiles.st Description: application/st-disk-image

[Pharo-dev] Any Pharoer in Geneva

2019-06-16 Thread Hilaire
(asking there too) Hi, I will likely start a course on programming with Pharo through Dr.Geo and student text book I am writing [1]. Anyone in Geneva interested on Pharo teaching? Hilaire [1] https://launchpad.net/drgeo/trunk/19.06/+download/programmer-avec-drgeo.pdf -- Dr. Geo http

Re: [Pharo-dev] About a better filedialog

2019-03-21 Thread Hilaire
Peter's FileDialog looks so much better than FileList :) Le 20/03/2019 à 20:09, ducasse a écrit : > I was thinking the FileList. > Now I will look at the FileDialogWindow :) > > Stef -- Dr. Geo http://drgeo.eu

Re: [Pharo-dev] About a better filedialog

2019-03-20 Thread Hilaire
Ah, may be we are not talking about the same tool. I am talking about the FileDialogWindow, I think part of the Gary's Polymorph. And you about FileList according to your screenshot. Is Peter's FileDialog intend is to replace FileList? Or FileDialogWindow? Hilaire Le 20/03/2019 à 19:13

Re: [Pharo-dev] About a better filedialog

2019-03-20 Thread Hilaire
Something as simple as in the current filedialog will be far than enough: an option to toggle a preview display. It is then the responsibility of the user to code the preview view. I am afraid an inspector view will look too hackish for a user like a teacher or a kid. Hilaire Le 19/03/2019 à 20

Re: [Pharo-dev] About a better filedialog

2019-03-19 Thread Hilaire
For DrGeo, when loading a sketch from an arbitrary location,  I use the preview feature of the polymorph File Dialog. I don't see it in this simple replacement of File Dialog. Hilaire Le 18/03/2019 à 20:31, ducasse a écrit : > what do you think? > > https://github.com/Ducasse/fi

Re: [Pharo-dev] About Iceberg

2019-02-19 Thread Hilaire
I join your thank you note, although I only use one half, the tonel part, it is pleasant to be able to commit to file base repository and use related tools. Le 19/02/2019 à 09:50, Sven Van Caekenberghe a écrit : > This is a thank you note about Iceberg. -- Dr. Geo http://drgeo.eu

Re: [Pharo-dev] [Pharo-users] Class name with diacritic character and Pharo

2019-02-02 Thread Hilaire
Cool. Attached a stack of the execution exposing the problem. Benoît sent it to me. It should give some clues. Hilaire Le 02/02/2019 à 09:50, Sven Van Caekenberghe a écrit : > That is also an already existing problem, it has to do with the decoding of > environment variables. > &g

Re: [Pharo-dev] [Pharo-users] Class name with diacritic character and Pharo

2019-02-02 Thread Hilaire
If understood correctly , Benoît can't event start P7 on Windows 10 because of the accent character in his name. I guess it may affect a lot of Windows users in this same situation. If understood correctly the problem does not show up with P5 and the same Windows version. Hilaire -- Dr. Geo

Re: [Pharo-dev] [ANN] Pharo 7.0 released!

2019-01-24 Thread Hilaire
It can't be more clearly articulated. Negative feedbacks are more valuable than positive feedbacks. Hilaire Le 23/01/2019 à 08:49, Norbert Hartl a écrit : > Well, I‘m always amazed how negative people are. But on the other hand there > is some truth in there. If we don‘t focus on how

Re: [Pharo-dev] How do I create a binary stream

2018-11-11 Thread Hilaire
I am quite happy with the new FileReference API. Le 11/11/2018 à 13:51, Sven Van Caekenberghe a écrit : > API changes are always annoying, but splitting reading and writing as well as > binary and character streams is a clear improvement overall. > -- Dr. Geo http://drgeo.eu

Re: [Pharo-dev] How do I create a binary stream

2018-11-11 Thread Hilaire
I filled a bug ticket about the change: https://bugs.launchpad.net/drgeo/+bug/1780820 -- Dr. Geo http://drgeo.eu

Re: [Pharo-dev] How do I create a binary stream

2018-11-11 Thread Hilaire
Confusion from my part (it was 6 months ago), I have to use #binaryReadStream to load PNG preview, and utf-8 based file (I was not doing this distinction previously). I changed the code in P7 in several part as it broke and it was confusing.

Re: [Pharo-dev] How do I create a binary stream

2018-11-11 Thread Hilaire
In P7, I have to change the code to load PNG image, and I end up not using binary alternative... Le 11/11/2018 à 11:18, Sven Van Caekenberghe a écrit : > I don't understand what you are saying. -- Dr. Geo http://drgeo.eu

Re: [Pharo-dev] How do I create a binary stream

2018-11-11 Thread Hilaire
I met that situation too with P7. It occurred to me that the precise need of #binaryReadStream message vanished. Hilaire Le 11/11/2018 à 10:03, Stephane Ducasse a écrit : > Hi > > I'm checking some of the mooc code in Pharo 70. > > The Pharo 50/60 version is > > PNGReadW

Re: [Pharo-dev] Which command-line handlers do you use most?

2018-07-09 Thread Hilaire
Hi Damien, I use one custom 'drgeo' handler in Dr. Geo to load sketch and script I did not tested in P7, but it seems to break, not CommandHandler fault though, more other P7 obsoleted or removed classes/protocols. Thanks To remind me on that, I should writes tests there. Hilaire Le 09/07

Re: [Pharo-dev] Annoying frame around ToolDockingBarMorph

2018-06-10 Thread Hilaire
Nice, thanks Hilaire Le 09/06/2018 à 23:43, Cyril Ferlicot a écrit : That way, it will be easy to change it with specific theme. https://github.com/pharo-project/pharo/pull/1514 -- Dr. Geo http://drgeo.eu

Re: [Pharo-dev] Annoying frame around ToolDockingBarMorph

2018-06-09 Thread Hilaire
#dockingBarBorderWidth and we can return 0 by default for it. That way, it will be easy to change it with specific theme. Thanks Hilaire -- Dr. Geo http://drgeo.eu

Re: [Pharo-dev] Annoying frame around ToolDockingBarMorph

2018-06-09 Thread Hilaire
r not having border should be considered as a bug.. Thanks Hilaire Le 09/06/2018 à 12:38, Cyril Ferlicot a écrit : DockingBarMorph>>defaultBorderWidth ^ self theme menuBorderWidth I found the PR I did. This code was already here but in another method. The diff

Re: [Pharo-dev] Annoying frame around ToolDockingBarMorph

2018-06-09 Thread Hilaire
Why ? DockingBarMorph>>defaultBorderWidth     ^ self theme menuBorderWidth Le 09/06/2018 à 09:27, Hilaire a écrit : I am not there yet, hope to have time. Now I just browse changes from github, can see several changed related to use of theme borderwidth -- Dr. Geo http://drgeo.eu

Re: [Pharo-dev] Annoying frame around ToolDockingBarMorph

2018-06-09 Thread Hilaire
Le 09/06/2018 à 09:14, Esteban Lorenzano a écrit : Cyril has been working on the docking bar. So what next? Could this change be revereted? As I don't know how to track the changes occurring in P7, any one has an idea about what happen? (we do not have anymore timestamp on method, or do I

[Pharo-dev] Annoying frame around ToolDockingBarMorph

2018-06-09 Thread Hilaire
is odd, see screenshot? Hilaire -- Dr. Geo http://drgeo.eu

Re: [Pharo-dev] The menu bar in question

2018-06-07 Thread Hilaire
You should not worry about Gettext or even need it. I think Locale gets what is needed. Could you add settings to activate/unactivate the MenuBar? Hilaire Le 07/06/2018 à 14:23, Cyril Ferlicot D. a écrit : There is something bad here... I see in your image that it's managed via Gettext

Re: [Pharo-dev] The menu bar in question

2018-06-07 Thread Hilaire
Activate Locale: Locale activated: true. Then look at its startUp: message. It seems there is na announcement for locale change. Hilaire Le 07/06/2018 à 13:53, Cyril Ferlicot D. a écrit : I'm looking at this one and I would like to have more informations. The problem is that the menu

Re: [Pharo-dev] The menu bar in question

2018-06-07 Thread Hilaire
? https://twitter.com/GNUDrGeo/status/1004436514154180608 The additional frame seems to be on the pane only, not the iconic button as I wrote in my previous email. Thanks Hilaire -- Dr. Geo http://drgeo.eu

[Pharo-dev] The menu bar in question

2018-06-07 Thread Hilaire
screenshot2) - There are ugly frame around DrGeo menu and buttons, I don't know if it is related to menu bar morph related modification but it's unice (see screenshot2) The build can be tested at: https://www.dropbox.com/s/a4wb7c6od4fdl9k/DrGeo.app-18.06a.zip?dl=0 Thanks Hilaire -- Dr. Geo http

Re: [Pharo-dev] [PROPOSAL] Put the WorldMenu in a Menu bar

2018-06-06 Thread Hilaire
Cool. Hilaire Le 06/06/2018 à 13:11, Guillermo Polito a écrit : The menu bar is populated the same way as the World menu. So if you change the world menu, or the world menu pragma and you rebuild the menu the menu bar will be updated accordingly. -- Dr. Geo http://drgeo.eu

Re: [Pharo-dev] [PROPOSAL] Put the WorldMenu in a Menu bar

2018-06-05 Thread Hilaire
Can the bar menu be customized as it is the case with the World menu ? (i.e. DrGeo world menu) Hilaire Le 01/06/2018 à 14:22, Cyril Ferlicot D. a écrit : Missing features: - What do we do when Pharo is not wide enough? - What to do when a window is dragged behind? - Make it parametrizable

Re: [Pharo-dev] Image format not recognized

2018-05-31 Thread Hilaire
Le 31/05/2018 à 21:27, Sven Van Caekenberghe a écrit : On 31 May 2018, at 13:23, Hilaire wrote: Oh, but wait PNG reader seems to break now on another part... See screenshot. Did you seehttps://github.com/DraagrenKirneh/PngSuiteExplorer ? We score 100% on thehttp://www.schaik.com

Re: [Pharo-dev] Image format not recognized

2018-05-31 Thread Hilaire
Yes, I use only #formFromStream: message now Hilaire Le 31/05/2018 à 19:43, Sven Van Caekenberghe a écrit : Great, so you agree that #createAFormFrom: is a candidate for removal ? -- Dr. Geo http://drgeo.eu

Re: [Pharo-dev] Image format not recognized

2018-05-31 Thread Hilaire
This is what I did, But I hope this problem will not hit somewhere else. Le 31/05/2018 à 18:06, Sven Van Caekenberghe a écrit : That is because that particular method (with no users in the image) uses a deprecated class, change it to the simpler createAFormFrom: data | error f |

Re: [Pharo-dev] Image format not recognized

2018-05-31 Thread Hilaire
... 130] readStream Is it expected failure? Hilaire Le 31/05/2018 à 16:23, Sven Van Caekenberghe a écrit : Hi Hilaire, On Pharo 7 build 993 it works on both 32 and 64 bits (macOS): The patch (#normalize calls here and there) seems to have been integrated as well your test case

Re: [Pharo-dev] Image format not recognized

2018-05-31 Thread Hilaire
provided at [1]. Hilaire [1] http://forum.world.st/Regression-with-PNGReaderWriter-in-P6-td4951796.html Le 31/05/2018 à 12:20, Sven Van Caekenberghe a écrit : Hmm, works for me: -- Dr. Geo http://drgeo.eu

[Pharo-dev] Image format not recognized

2018-05-31 Thread Hilaire
Hi, Anyone knows why the former code snippet fail but the later deprecated one succeed? PNGReadWriter formFromStream: ('/home/hilaire/Travaux/Developpement/DrGeoII/Dev-pharo7/drgeo/build/examples/wheel.png' asFileReference binaryReadStream). PNGReadWriter formFromStream: (FileStream

Re: [Pharo-dev] who redefined the #balloonBackgroundColor for dark theme?

2018-05-09 Thread Hilaire
Hilaire Le 09/05/2018 à 16:17, Torsten Bergmann a écrit : why not make a custom "DrGeoDarkTheme" as - a subclass of "PharoDarkTheme" (in Pharo 7) - or "Pharo3DarkTheme" (when still in Pharo 6, note this class is deprecated in Pharo 7) -- Dr. Geo http://drgeo.eu

Re: [Pharo-dev] who redefined the #balloonBackgroundColor for dark theme?

2018-05-09 Thread Hilaire
, Hilaire a écrit : What changed is the UITheme receive a balloonTextColor method (the fix I proposed), BUT some morphs in Pharo use the theme balloonBackgroundColor BUT NOT the assorted balloonTextColor (obviously as this method was just introduced). The right fix will be to makes these morphs

Re: [Pharo-dev] who redefined the #balloonBackgroundColor for dark theme?

2018-05-09 Thread Hilaire
well... For me the hight contrast makes it very visible, as should be a tooltip, and helpfull to discover feature in drgeo. Le 09/05/2018 à 13:41, Esteban Lorenzano a écrit : thanks Hilaire, in any case yellow background for dark theme was bad:) cheers, Esteban -- Dr. Geo http://drgeo.eu

Re: [Pharo-dev] GT Playground Print It Popup unreadeable

2018-05-09 Thread Hilaire
Indeed. The use of colors seems to be a mess. Le 09/05/2018 à 09:41, p...@highoctane.be a écrit : ThemePalette would be a great addition. Color entries should be separated from the semantic meaning (e.g. background, tooltip, ...). There is some semantic meaning in the Theme but it is not

Re: [Pharo-dev] who redefined the #balloonBackgroundColor for dark theme?

2018-05-09 Thread Hilaire
balloonBackgroundColor to use balloonTextColor too. I took a look but get lost again in morph classes. Someone with the appropriate knowledge could fix it in a breeze. Hilaire Le 08/05/2018 à 15:30, Esteban Lorenzano a écrit : git says guilty was Torsten :P anyway… that’s an awful color for background

Re: [Pharo-dev] GT Playground Print It Popup unreadeable

2018-05-09 Thread Hilaire
tMorph := RubScrolledTextMorph new.     textMorph         beReadOnly;         beWrapped;         textFont: self theme textFont;         textColor: self theme textColor;         backgroundColor: BalloonMorph balloonColor. Le 09/05/2018 à 12:08, Hilaire a écrit : Part of the the problem here is using a tooltip to do som

Re: [Pharo-dev] GT Playground Print It Popup unreadeable

2018-05-09 Thread Hilaire
Part of the the problem here is using a tooltip to do something else! Printing the result of of printit as tooltips but it should be another widget, eventually subclassed. Hilaire Le 08/05/2018 à 16:09, Sven Van Caekenberghe a écrit : In the very latest Pharo 7 using the Dark Theme

Re: [Pharo-dev] Fix for 21809

2018-05-03 Thread Hilaire
Thanks Marcus Le 02/05/2018 à 12:53, Marcus Denker a écrit : I don't learn yet the current procedure to integrate fixes so I let it for someone with the know how. I merged the Pull Request. Marcus -- Dr. Geo http://drgeo.eu

[Pharo-dev] Fix for 21809

2018-04-29 Thread Hilaire
to integrate fixes so I let it for someone with the know how. Hilaire -- Dr. Geo http://drgeo.eu

Re: [Pharo-dev] Calypso zero class refs for TComparable

2018-04-22 Thread Hilaire
pinion may be needed, but from my POV 1. is uneeded, 2. "Class ref." should be replaced by "Users". It will make your UI more consistent and predictable to the end user. Hilaire Le 22/04/2018 à 12:45, Denis Kudriashov a écrit : Hi. When you select trait new hierarchy mode appea

Re: [Pharo-dev] Calypso zero class refs for TComparable

2018-04-22 Thread Hilaire
Le 22/04/2018 à 11:59, Cyril Ferlicot a écrit : In Nautilus the Traits are not "referenced", they are used. So you have "Find usage" instead of "Find reference". This distinction is confusing, and it will confuse people as it confused Ben and me as we

Re: [Pharo-dev] Migrator: to help you migrating to latest version of Pharo :)

2018-03-31 Thread Hilaire
if the bellow package[1] work ?I don't have access to Mac now, the school is closed for holiday. Thanks Hilaire [1] https://www.dropbox.com/s/oe7hvdrmz7mstvx/DrGeo-Pharo4.0.app.zip?dl=0 Le 30/03/2018 à 22:30, Stephane Ducasse a écrit : Today during the Pharo sprint I went over all

Re: [Pharo-dev] [Pharo-users] Bootstrap how to

2018-03-10 Thread Hilaire
Le 08/03/2018 à 19:07, Alistair Grant a écrit : Thanks for the Git tips. The resulting image bootstrap-cache/bootstrap.image is built after 1 or 2 hours. Its size is 3,4MB, when started there is only blank screen, I guess it is the expected outcome. My 4 year old Dell XPS-13 (i7) takes about

Re: [Pharo-dev] Simple game framework

2018-01-01 Thread Hilaire
Le 01/01/2018 à 17:50, Hilaire a écrit : I found this Python PyGame code bellow rather easy to understand. Will it be possible to produce an equally understandable Smalltalk code with the layers your are proposing? Oops, not that easy

Re: [Pharo-dev] Simple game framework

2018-01-01 Thread Hilaire
move(speed)ifballrect.left<0orballrect.right>width:speed[0]=-speed[0]ifballrect.top<0orballrect.bottom>height:speed[1]=-speed[1]screen.fill(black)screen.blit(ball,ballrect)pygame.display.flip() Hilaire Your time stamp bellow is a strike! ;)    vv Le 01/01/2018 à 00:00, St

Re: [Pharo-dev] Simple game framework

2017-12-31 Thread Hilaire
I am *exploring* if Pharo will be suitable to have a simple programming environment to let kids write simple 2D games, SDL was designed for that. Some of my students asked me about programming games, Smalltalk way of writing code will be neat, but the environment need to be accessible and not

Re: [Pharo-dev] Simple game framework

2017-12-31 Thread Hilaire
because simple things should be simple... Le 30/12/2017 à 22:32, Stephane Ducasse a écrit : Hilaire why do you need to have a sprite on a SDL surface and why plain Athens is not good enough. Athens is an API not an implementation. It is like sparta: an API and you do not care about

Re: [Pharo-dev] Simple game framework

2017-12-30 Thread Hilaire
I found the mix of OSWindow+SDL+Athens very complex (tens of classes with hundreds of methods) and to produce code hard to understand (I look at your spider code). I will prefer fewer functionnality I can understand. For example, how can you copy a sprite on a SDL surface? Can you do it

Re: [Pharo-dev] Best wishes for 2018

2017-12-29 Thread Hilaire
Don't worrry, we love you guy! Happy new year Le 29/12/2017 à 10:27, Esteban Lorenzano a écrit : Thanks to everybody for allow me to be your “guy to hate”:) I will continue doing my best to make Pharo a better place for everybody, one step at a time. -- Dr. Geo http://drgeo.eu

Re: [Pharo-dev] PR: Compressed sources inside the object memory

2017-12-28 Thread Hilaire
It is funny, because I have reverse problem: FreeType renders nicely the font but not Athens. The opening of the DrGeo main window instance is done at start up, will this be an issue? I guessed not as opening the window is done from the user start up list, but closing the window opened at

Re: [Pharo-dev] Simple game framework

2017-12-28 Thread Hilaire
IF there is a Pharo binding for SDL, why not audio from SDSL? Le 25/12/2017 à 19:32, Clément Bera a écrit : Audio has always been a problem to me. I successfully run audio files with the open AL binding, but I failed to do so cross-platform. Already key-bindings coherent cross platform is

Re: [Pharo-dev] Simple game framework

2017-12-28 Thread Hilaire
What is the reason using Cairo over SDSL? Is not SDL just enought? Hilaire Le 25/12/2017 à 19:32, Clément Bera a écrit : https://github.com/clementbera/wizard-battle-arena https://github.com/clementbera/SpiderInvasion Audio has always been a problem to me. I successfully run audio files

Re: [Pharo-dev] roundUpTo:? truncatedTo:

2017-12-27 Thread Hilaire
ases when one method is better, and vis versa. I am curious. Le 26/12/2017 à 23:51, Nicolas Cellier a écrit : Hi Hilaire, it' not just funny: it's the exact case round: was made for. Note that there is an opened issue suggesting the removal of round: (no time to check the exact ref now). -- Dr. Geo http://drgeo.eu

Re: [Pharo-dev] roundUpTo:? truncatedTo:

2017-12-26 Thread Hilaire
It i s funny to note how #round: message seems to have more success for that: 0.94201 round: 3.  "0.942" Le 26/12/2017 à 21:27, Stephane Ducasse a écrit : 0.94201 roundUpTo: 0.001 and the same truncatedTo: 0.001 do not work -- Dr. Geo http://drgeo.eu

Re: [Pharo-dev] Simple game framework

2017-12-26 Thread Hilaire
Read. SDL + Cairo is the way you have been. I did not imagine Cairo was good at manipulating block of bitmap. Is Cairo stable over time in Pharo? I wonder will it be wiped out. More generally, I wonder what is the stable ground to build graphic application on Pharo? Le 25/12/2017 à 19:32,

Re: [Pharo-dev] Building an application with P7

2017-12-26 Thread Hilaire
I meant more tests in DrGeo to expose its features, and to discover where newer Pharo breaks it. Hilaire Le 25/12/2017 à 23:59, Ben Coman a écrit : really took me a long time to get drgeo right on P3 because these oddities only show up at runtime, under specific scenario

Re: [Pharo-dev] New Year Wishlist (2018) ?

2017-12-25 Thread Hilaire
I don't understand your question Le 25/12/2017 à 15:57, Stephane Ducasse a écrit : C. Develop a white board application, easy to extend to add third party features. The OpenBoard[2] we are using in school are merely goods (can't get the right tooling to do geometry for example), handwriting is

[Pharo-dev] Simple game framework

2017-12-25 Thread Hilaire
You may have different kind of games; for example in 2D games, it could be fixed frame, side scrolling, up scrolling, isometric, etc. To get it started easily, it could come with graphic and audio banks. I really don't have much idea how such a general system should be designed. Only wrote

[Pharo-dev] Building an application with P7

2017-12-25 Thread Hilaire
should help too. Hilaire Le 25/12/2017 à 15:57, Stephane Ducasse a écrit : 5. fulfill the promise of tiny image, aka bootstrap and 4. Did you see that pavel produced a smaller image than the first bootstrapped version All these wishes are under construction, so likely to happen \o/ I have

Re: [Pharo-dev] New Year Wishlist (2018) ?

2017-12-25 Thread Hilaire
I really don't mean a GUI builder :-) Le 25/12/2017 à 15:57, Stephane Ducasse a écrit : 4. application builder. Smalltalk/X has a GUI to build a standalone application, was not able to get it working, but it probably worked at some time in the past (see screenshot). Such a feature in Pharo

Re: [Pharo-dev] New Year Wishlist (2018) ?

2017-12-25 Thread Hilaire
In case of, at wish 4. I did not write a GUI builder but really an application builder: a tool to let you build up the image and the needed VMs, and pack it appropriately for the end user. As it is manually done for Dr.Geo. Le 25/12/2017 à 14:17, Torsten Bergmann a écrit : A GUI builder is

Re: [Pharo-dev] New Year Wishlist (2018) ?

2017-12-25 Thread Hilaire
Oh, you asked for that Esteban :) 1. stability 2. Tonel is a nice way to export file (its granularity is just right, bravo Esteban!) and commit to arbitrary repository, experimenting it with DrGeo, and it is nice to commit code[1] along other data files of the project (graphics, doc,

Re: [Pharo-dev] , for vector creation

2017-10-26 Thread Hilaire
A clear separation between Point and Vector makes perfectly sense. Ideally, Point should be deprecated then. Otherwise it is a complexity growth. Hilaire Le 26/10/2017 à 11:39, Tudor Girba a écrit : To make the conversation more interesting, in Bloc we also have BlPoint with subclasses

Re: [Pharo-dev] PharoMinimal ?

2017-10-14 Thread Hilaire
Le 14/10/2017 à 23:24, Pavel Krivanek a écrit : Reduction of image size is only a side effect, not our main goal. It can probably be cleaned more and with conversion to Spur all images are bigger now. Do you know that there was a version of Cuis that had working Morphic in image of size only

Re: [Pharo-dev] PharoMinimal ?

2017-10-14 Thread Hilaire
Ok. Earlier DrGeo image based on pharo (around 2010 time) shrinked around 8MB[1], Morph included. [1] https://gforge.inria.fr/frs/download.php/file/27318/DrGeo.app-10.08.zip Le 14/10/2017 à 22:26, Pavel Krivanek a écrit : 2017-10-14 22:04 GMT+02:00 Hilaire <hila...@drgeo.eu <mailt

Re: [Pharo-dev] PharoMinimal ?

2017-10-14 Thread Hilaire
At this image size, does it come with Morph? Hilaire Le 08/10/2017 à 19:00, Sven Van Caekenberghe a écrit : Image size remains ~11Mb. Very nice ! -- Dr. Geo http://drgeo.eu

Re: [Pharo-dev] OSWindow in Pharo 6.1 stable

2017-09-29 Thread Hilaire
of these recuring problem. Hilaire Le 28/09/2017 à 15:02, Clément Bera a écrit : Btw for some reason in the one-click version of Pharo 32 bits on Mac there is 2 SDL plugins (libSDL2-2.0.0 and libSDL2), which leads to conflicts (the VM use randomly one lib or the other). I randomly chose one that I use

  1   2   3   4   5   >