Pharo-dev
By thread
pharo-dev@lists.pharo.org
By month
Messages by month
- ----- 2026 -----
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2025 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- 3 participants
- 144636 messages
Re: [Pharo-dev] Installing Pharo on Ubuntu
by Damien Cassou
J.F. Rick writes:
> I have a new computer and installed Ubuntu 14.10 on it. When I tried to
> install Pharo using the PPA instructions, it failed. I get the following
> message when executing "sudo apt-get update":
>
> W: Failed to fetch
> http://ppa.launchpad.net/pharo/stable/ubuntu/dists/utopic/main/binary-amd64…
> 404 Not Found
> W: Failed to fetch
> http://ppa.launchpad.net/pharo/stable/ubuntu/dists/utopic/main/binary-i386/…
> 404 Not Found
>
> I was able to get Pharo running with the Zeroconf script, but I thought I'd
> report that the standard thing didn't work. Is it just that a binary
> doesn't yet exist for 14.10.
please try https://launchpad.net/~pharo/+archive/ubuntu/unstable
Nevertheless, I'm not the maintainer anymore, Markus Fritsche is.
Contact him directly in case of trouble.
If you have trouble with Ubuntu packages, I typically advise people to
use the Nix package system (it works on any Unix). Pharo is packaged and
maintained there: http://nixos.org/nix/
--
Damien Cassou
http://damiencassou.seasidehosting.st
"Success is the ability to go from one failure to another without
losing enthusiasm." --Winston Churchill
Jan. 27, 2015
Re: [Pharo-dev] Installing Pharo on Ubuntu
by Markus Fritsche
On 2015-01-26 15:41, J.F. Rick wrote:
> I have a new computer and installed Ubuntu 14.10 on it. When I tried
> to install Pharo using the PPA instructions, it failed. I get the
> following message when executing "sudo apt-get update":
>
> W: Failed to fetch
> http://ppa.launchpad.net/pharo/stable/ubuntu/dists/utopic/main/binary-amd64…
> [1] 404 Not Found
> W: Failed to fetch
> http://ppa.launchpad.net/pharo/stable/ubuntu/dists/utopic/main/binary-i386/…
> [2] 404 Not Found
> I was able to get Pharo running with the Zeroconf script, but I
> thought I'd report that the standard thing didn't work. Is it just
> that a binary doesn't yet exist for 14.10.
I'll check that this week, I guess I just have to update my build
scripts to include utopic as a target.
I thought I've been there and done that, but being on 14.04 myself, I
didn't have the oppurtunity to check.
Best regards,
Markus
Jan. 27, 2015
Re: [Pharo-dev] Why this hangs the VM?
by Craig Latta
> Fixed in the Spur VM.
What was the problem? (I have no time to look at it.)
thanks,
-C
--
Craig Latta
netjam.org
+31 6 2757 7177 (SMS ok)
+ 1 415 287 3547 (no SMS)
Jan. 27, 2015
Re: [Pharo-dev] [Ann] a short Bloc demo
by Alain Plantec
Hi Doru,
MCHttpRepository
location: 'http://smalltalkhub.com/mc/AlainPlantec/Bloc/main'
user: ''
password: ââ.
load ConfigurationOfBloc
then
ConfigurationOfBloc loadBleedingEdge.
then from the world menu:
Bloc/New Bloc space
Bloc/Switch to spaceâ¦/Bloc-1
You can try examples from Bloc-Core/Examples of from the view hierarchy, BlRectangleView, BlStringView, BlPolygonViewâ¦
try the keyboard in a workspace, you can also try with BlTextMorph examples
Notice that in bloc, you get the world menu with the right button.
Thanks
Alain
> Le 27 janv. 2015 à 09:12, Tudor Girba <tudor(a)tudorgirba.com> 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 <pharo-dev(a)lists.pharo.org <mailto:pharo-dev@lists.pharo.org>> wrote:
>
>
> ---------- Forwarded message ----------
> From: Alain Plantec <alain.plantec(a)yahoo.com <mailto:alain.plantec@yahoo.com>>
> To: nicolaihess(a)web.de <mailto:nicolaihess@web.de>
> Cc: Pharo Development List <pharo-dev(a)lists.pharo.org <mailto:pharo-dev@lists.pharo.org>>
> Date: Tue, 27 Jan 2015 09:02:17 +0100
> Subject: Re: [Pharo-dev] [Ann] a short Bloc demo
> I will try to find a win 7 somewhere and have a look
> thanks for your feedbacks
> Cheers
> Alain
>
>> Le 27 janv. 2015 à 08:47, Nicolai Hess <nicolaihess(a)web.de <mailto:nicolaihess@web.de>> a écrit :
>>
>> I tried another windows 7 machine and it is working now. Except the keyboard input, but bloc world now has the full display screen extent.
>>
>> 2015-01-26 23:52 GMT+01:00 Alain Plantec <alain.plantec(a)yahoo.com <mailto:alain.plantec@yahoo.com>>:
>> Hello Nicolai,
>> Iâve not tested in w7.
>> Iâve just tried in Windows 8.1.
>> It works outofthebox here.
>> Cheers
>> Alain
>>
>> <PharoBlocInWindows81.PNG>
>>
>>> Le 25 janv. 2015 à 16:40, Nicolai Hess <nicolaihess(a)web.de <mailto:nicolaihess@web.de>> a écrit :
>>>
>>> 2014-12-26 15:39 GMT+01:00 Alain Plantec <alain.plantec(a)yahoo.com <mailto:alain.plantec@yahoo.com>>:
>>>
>>>>
>>>> Why does it open another window? (see screenshot, the left pharo windows opens after switching
>>>> to bloc world. Only the right window acts to mouse and keyboard (cmd+enter). The left window
>>>> looks like a "mirror", just shows what happens in the right window.
>>>
>>> ah, Iâve never tested it in windows. It should not open another window. Maybe itâs because of OSWindow
>>> that is used for the vm rendering.
>>> I will have a look. maybe have to not use OSWindow.
>>>
>>> I tried it again in windows , (both loadDevelopment and loadBleedingEdget).
>>> This time the bloc world only opens in the upper left corner extent ~ 100@50.
>>> I can open a world menu in this area :) , but I can not make it larger.
>>> And after some time, it crashes the vm. And it still opens another (native)window.
>>> (on pharo 40459 latest vm (Win32 built on Jan 22 2015 01:03:55 Compiler: 4.6.2))
>>>
>>>
>>>
>>> Thanks
>>> Alain
>>>
>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>> On 25 Dec 2014, at 20:57, Nicolai Hess <nicolaihess(a)web.de <mailto:nicolaihess@web.de>> wrote:
>>>>>
>>>>> I tried both, loadDevelopment and loadBleedingEdget, but
>>>>> I can not get it to work like in the video.
>>>>> For me, the keyboard input stop working as soon as I start the bloc world.
>>>>> And for me it opens another window in the background, what is it for?
>>>>>
>>>>> BTW how many developers working on bloc, just you two ?
>>>>>
>>>>> nicolai
>>>>>
>>>>>
>>>>>
>>>>> 2014-12-25 10:31 GMT+01:00 stepharo <stepharo(a)free.fr <mailto:stepharo@free.fr>>:
>>>>>
>>>>> Le 25/12/14 03:04, Ben Coman a écrit :
>>>>> Really nice to see your progress. Now do you have some sketches that show how it relates to the components of the existing Morphic? What is being disposed of, what reimplemented, what ported?
>>>>>
>>>>> I'm writing class comments and soon a chapter. But it takes time because I have to also do a bit of reverse engineering.
>>>>> Now Bloc does not relate to Morphic :) Everything is rewritten from scratch and we will rewrite everything.
>>>>> We will try to reuse Spec.
>>>>> Now for default Morphic, rewritting all the morphs to use Athens
>>>>> is a huge tasks considered the current logic of certain morphic elements
>>>>> Since Bloc is fully athens-based, it may be better to only work on Bloc.
>>>>> Now the trick is that we can use the morphic elements.
>>>>> This would really help to understand where contributions might be useful.
>>>>>
>>>>>
>>>>> btw, with Build 40419, "ConfigurationOfBloc load" warns that
>>>>> it depends on BlEllipseShape which must be resolved before #drawOn: and #drawOnAthensCanvas: can be resolved.
>>>>>
>>>>> Yes this is normal, you should 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 <alexandre.bergel(a)me.com <mailto:alexandre.bergel@me.com>> wrote:
>>>>>
>>>>> Wow! Impressive!!!
>>>>>
>>>>> Alexandre
>>>>>
>>>>>
>>>>> On Dec 24, 2014, at 3:19 PM, Alain Plantec <alain.plantec(a)yahoo.com <mailto:alain.plantec@yahoo.com>> wrote:
>>>>>
>>>>> Hello all,
>>>>>
>>>>> Iâve just uploaded a small demo of Bloc.
>>>>> http://vimeo.com/115336678 <http://vimeo.com/115336678>
>>>>>
>>>>>
>>>>> Cheers
>>>>> Alain
>>>>>
>>>>> --
>>>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>>>>> Alexandre Bergel http://www.bergel.eu <http://www.bergel.eu/>
>>>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> <pharo_bloc.png>
>>>
>>>
>>
>>
>
>
>
>
>
> --
> www.tudorgirba.com <http://www.tudorgirba.com/>
>
> "Every thing has its own flow"
Jan. 27, 2015
Re: [Pharo-dev] [Ann] a short Bloc demo
by Tudor Girba
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 <
pharo-dev(a)lists.pharo.org> wrote:
>
>
> ---------- Forwarded message ----------
> From: Alain Plantec <alain.plantec(a)yahoo.com>
> To: nicolaihess(a)web.de
> Cc: Pharo Development List <pharo-dev(a)lists.pharo.org>
> Date: Tue, 27 Jan 2015 09:02:17 +0100
> Subject: Re: [Pharo-dev] [Ann] a short Bloc demo
> I will try to find a win 7 somewhere and have a look
> thanks for your feedbacks
> Cheers
> Alain
>
> Le 27 janv. 2015 à 08:47, Nicolai Hess <nicolaihess(a)web.de> a écrit :
>
> I tried another windows 7 machine and it is working now. Except the
> keyboard input, but bloc world now has the full display screen extent.
>
> 2015-01-26 23:52 GMT+01:00 Alain Plantec <alain.plantec(a)yahoo.com>:
>
>> Hello Nicolai,
>> Iâve not tested in w7.
>> Iâve just tried in Windows 8.1.
>> It works outofthebox here.
>> Cheers
>> Alain
>>
>> <PharoBlocInWindows81.PNG>
>>
>> Le 25 janv. 2015 à 16:40, Nicolai Hess <nicolaihess(a)web.de> a écrit :
>>
>> 2014-12-26 15:39 GMT+01:00 Alain Plantec <alain.plantec(a)yahoo.com>:
>>
>>>
>>>
>>> Why does it open another window? (see screenshot, the left pharo windows
>>> opens after switching
>>> to bloc world. Only the right window acts to mouse and keyboard
>>> (cmd+enter). The left window
>>> looks like a "mirror", just shows what happens in the right window.
>>>
>>>
>>> ah, Iâve never tested it in windows. It should not open another window.
>>> Maybe itâs because of OSWindow
>>> that is used for the vm rendering.
>>> I will have a look. maybe have to not use OSWindow.
>>>
>>
>> I tried it again in windows , (both loadDevelopment and
>> loadBleedingEdget).
>> This time the bloc world only opens in the upper left corner extent ~
>> 100@50.
>> I can open a world menu in this area :) , but I can not make it larger.
>> And after some time, it crashes the vm. And it still opens another
>> (native)window.
>> (on pharo 40459 latest vm (Win32 built on Jan 22 2015 01:03:55 Compiler:
>> 4.6.2))
>>
>>
>>
>>
>>> Thanks
>>> Alain
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>>
>>>> On 25 Dec 2014, at 20:57, Nicolai Hess <nicolaihess(a)web.de> wrote:
>>>>
>>>> I tried both, loadDevelopment and loadBleedingEdget, but
>>>> I can not get it to work like in the video.
>>>> For me, the keyboard input stop working as soon as I start the bloc
>>>> world.
>>>> And for me it opens another window in the background, what is it for?
>>>>
>>>> BTW how many developers working on bloc, just you two ?
>>>>
>>>> nicolai
>>>>
>>>>
>>>>
>>>> 2014-12-25 10:31 GMT+01:00 stepharo <stepharo(a)free.fr>:
>>>>
>>>>>
>>>>> Le 25/12/14 03:04, Ben Coman a écrit :
>>>>>
>>>>>> Really nice to see your progress. Now do you have some sketches that
>>>>>> show how it relates to the components of the existing Morphic? What is
>>>>>> being disposed of, what reimplemented, what ported?
>>>>>>
>>>>>
>>>>> I'm writing class comments and soon a chapter. But it takes time
>>>>> because I have to also do a bit of reverse engineering.
>>>>> Now Bloc does not relate to Morphic :) Everything is rewritten from
>>>>> scratch and we will rewrite everything.
>>>>> We will try to reuse Spec.
>>>>> Now for default Morphic, rewritting all the morphs to use Athens
>>>>> is a huge tasks considered the current logic of certain morphic
>>>>> elements
>>>>> Since Bloc is fully athens-based, it may be better to only work on
>>>>> Bloc.
>>>>> Now the trick is that we can use the morphic elements.
>>>>>
>>>>>> This would really help to understand where contributions might be
>>>>>> useful.
>>>>>>
>>>>>>
>>>>>> btw, with Build 40419, "ConfigurationOfBloc load" warns that
>>>>>> it depends on BlEllipseShape which must be resolved before #drawOn:
>>>>>> and #drawOnAthensCanvas: can be resolved.
>>>>>>
>>>>>
>>>>> Yes this is normal, you should 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 <alexandre.bergel(a)me.com>
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>> Wow! Impressive!!!
>>>>>>>>
>>>>>>>> Alexandre
>>>>>>>>
>>>>>>>>
>>>>>>>> On Dec 24, 2014, at 3:19 PM, Alain Plantec <
>>>>>>>>> alain.plantec(a)yahoo.com> wrote:
>>>>>>>>>
>>>>>>>>> Hello all,
>>>>>>>>>
>>>>>>>>> Iâve just uploaded a small demo of Bloc.
>>>>>>>>> http://vimeo.com/115336678
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Cheers
>>>>>>>>> Alain
>>>>>>>>>
>>>>>>>>> --
>>>>>>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>>>>>>>> Alexandre Bergel http://www.bergel.eu
>>>>>>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>> <pharo_bloc.png>
>>>
>>>
>>>
>>
>>
>
>
>
--
www.tudorgirba.com
"Every thing has its own flow"
Jan. 27, 2015
Re: [Pharo-dev] Any way to avoid the filmification effect in GTInspector?
by Tudor Girba
Hi Hernan,
GTInspector was built to be extensible without any subclassing :).
The GTObjectVariablesBrowser shows the raw view and you probably do not
want to mess with that. Rather than that you should create a new tab for
your own class.
The way you extend it for a specific class is by defining a method like
this:
MyClass>>gtInspectorCustomListIn: composite
<gtInspectorPresentationOrder: 10>
composite list
title: 'My list'
display: [ self list]
If you want to see all inspector extensions available in the image take a
look at the following post:
http://www.humane-assessment.com/blog/managing-gtinspector-extensions
Does it help?
Doru
On Tue, Jan 27, 2015 at 8:52 AM, Hernán Morales Durand <
hernan.morales(a)gmail.com> wrote:
>
>
> 2015-01-27 3:41 GMT-03:00 Tudor Girba <tudor(a)tudorgirba.com>:
>
>> Hi,
>>
>> On Mon, Jan 26, 2015 at 11:58 PM, Hernán Morales Durand <
>> hernan.morales(a)gmail.com> wrote:
>>
>>>
>>>
>>> 2015-01-26 6:25 GMT-03:00 Tudor Girba <tudor(a)tudorgirba.com>:
>>>
>>>> Hi,
>>>>
>>>> On Mon, Jan 26, 2015 at 10:18 AM, Hernán Morales Durand <
>>>> hernan.morales(a)gmail.com> wrote:
>>>>
>>>>>
>>>>> 2015-01-26 5:54 GMT-03:00 Tudor Girba <tudor(a)tudorgirba.com>:
>>>>>
>>>>>> There is no way at the moment.
>>>>>>
>>>>>> Just out of curiosity, why do you need to select an item if you do
>>>>>> not want to see the details?
>>>>>>
>>>>>>
>>>>> This is for two reasons
>>>>>
>>>>> 1) I have items with big strings inside and it takes too long to load
>>>>> in the new inspector sub-window.
>>>>>
>>>>
>>>> Why should it take too long? Is it because printString is too
>>>> expensive? In that case, perhaps you might want to make printString cheaper
>>>> and offer a separate presentation for your object that shows the full
>>>> contents.
>>>>
>>>>
>>> I don't know, I have this 7.7Mb XML file, opened the Time Profiler with:
>>>
>>> 'DLoop_Bovino_31-10-14-Alignment.xml' asFileReference contents inspect.
>>>
>>> it took almost 6 minutes to open the inspector.
>>>
>>> Here is the link to the file:
>>> https://www.dropbox.com/s/pzw88gg3wyfkf8o/DLoop_Bovino_31-10-14-Alignment.z…
>>> Here is the full report
>>>
>>> - 350675 tallies, 359630 msec.
>>>
>>
>> Hmm, Something is strange. I open the inspector on the same file in 1192
>> ms. It takes so long because the first presentation is a text presentation
>> of the contents of that file. What image do you use? Is it possible that
>> you have extra . Could you make it available?
>>
>>
>
> I am using #40463 in Windows 8.1 x64. This is how I download the image
>
> $ wget -O- get.pharo.org/40+vm | bash
>
> image link with test file:
> https://www.dropbox.com/s/57hprg7cyryd9cs/testGT1.zip?dl=0
>
>
>>
>>
>>> 2) I select the item to send a message to it, or bring a pop-up menu to
>>>>> remove the item (I have implemented it in the old inspector and I would
>>>>> like to port it to Pharo 4)
>>>>>
>>>>
>>>> This implies that you actually need a custom presentation. For such a
>>>> custom presentation you can suppress the propagation of selection. If you
>>>> tell me your use case in more details I can try to guide you.
>>>>
>>>>
>>> My use case is I want to add or remove items from an Inspector/Explorer.
>>> The items are classified objects and the user curates false positives.
>>> Another item I used to have is "Serialize" the inspector contents (or
>>> from a specific item) so that one could import the curated data set and
>>> review.
>>>
>>
>> Do you mean items from collections in general, or items stored as a
>> collection in a specific object? If you mean the latter, you can create a
>> custom presentation just for that object and add all the actions you want.
>> Do you want to give it a try? If yes, let me know the more specific use
>> case and I can help :)
>>
>>
> I would be glad to get some help :)
> I tried subclassing GTInspector. I see you implemented menu items in
> GTObjectVariablesBrowser.
> So question is how could I implement my own "GTObjectVariablesBrowser" and
> link to GTInspector subclass?
> Thank you Doru.
>
>
> Hernán
>
>
>
>> Doru
>>
>>
>> --
>> www.tudorgirba.com
>>
>> "Every thing has its own flow"
>>
>
>
--
www.tudorgirba.com
"Every thing has its own flow"
Jan. 27, 2015
Re: [Pharo-dev] [Ann] a short Bloc demo
by Alain Plantec
I will try to find a win 7 somewhere and have a look
thanks for your feedbacks
Cheers
Alain
> Le 27 janv. 2015 à 08:47, Nicolai Hess <nicolaihess(a)web.de> a écrit :
>
> I tried another windows 7 machine and it is working now. Except the keyboard input, but bloc world now has the full display screen extent.
>
> 2015-01-26 23:52 GMT+01:00 Alain Plantec <alain.plantec(a)yahoo.com <mailto:alain.plantec@yahoo.com>>:
> Hello Nicolai,
> Iâve not tested in w7.
> Iâve just tried in Windows 8.1.
> It works outofthebox here.
> Cheers
> Alain
>
> <PharoBlocInWindows81.PNG>
>
>> Le 25 janv. 2015 à 16:40, Nicolai Hess <nicolaihess(a)web.de <mailto:nicolaihess@web.de>> a écrit :
>>
>> 2014-12-26 15:39 GMT+01:00 Alain Plantec <alain.plantec(a)yahoo.com <mailto:alain.plantec@yahoo.com>>:
>>
>>>
>>> Why does it open another window? (see screenshot, the left pharo windows opens after switching
>>> to bloc world. Only the right window acts to mouse and keyboard (cmd+enter). The left window
>>> looks like a "mirror", just shows what happens in the right window.
>>
>> ah, Iâve never tested it in windows. It should not open another window. Maybe itâs because of OSWindow
>> that is used for the vm rendering.
>> I will have a look. maybe have to not use OSWindow.
>>
>> I tried it again in windows , (both loadDevelopment and loadBleedingEdget).
>> This time the bloc world only opens in the upper left corner extent ~ 100@50.
>> I can open a world menu in this area :) , but I can not make it larger.
>> And after some time, it crashes the vm. And it still opens another (native)window.
>> (on pharo 40459 latest vm (Win32 built on Jan 22 2015 01:03:55 Compiler: 4.6.2))
>>
>>
>>
>> Thanks
>> Alain
>>
>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>> On 25 Dec 2014, at 20:57, Nicolai Hess <nicolaihess(a)web.de <mailto:nicolaihess@web.de>> wrote:
>>>>
>>>> I tried both, loadDevelopment and loadBleedingEdget, but
>>>> I can not get it to work like in the video.
>>>> For me, the keyboard input stop working as soon as I start the bloc world.
>>>> And for me it opens another window in the background, what is it for?
>>>>
>>>> BTW how many developers working on bloc, just you two ?
>>>>
>>>> nicolai
>>>>
>>>>
>>>>
>>>> 2014-12-25 10:31 GMT+01:00 stepharo <stepharo(a)free.fr <mailto:stepharo@free.fr>>:
>>>>
>>>> Le 25/12/14 03:04, Ben Coman a écrit :
>>>> Really nice to see your progress. Now do you have some sketches that show how it relates to the components of the existing Morphic? What is being disposed of, what reimplemented, what ported?
>>>>
>>>> I'm writing class comments and soon a chapter. But it takes time because I have to also do a bit of reverse engineering.
>>>> Now Bloc does not relate to Morphic :) Everything is rewritten from scratch and we will rewrite everything.
>>>> We will try to reuse Spec.
>>>> Now for default Morphic, rewritting all the morphs to use Athens
>>>> is a huge tasks considered the current logic of certain morphic elements
>>>> Since Bloc is fully athens-based, it may be better to only work on Bloc.
>>>> Now the trick is that we can use the morphic elements.
>>>> This would really help to understand where contributions might be useful.
>>>>
>>>>
>>>> btw, with Build 40419, "ConfigurationOfBloc load" warns that
>>>> it depends on BlEllipseShape which must be resolved before #drawOn: and #drawOnAthensCanvas: can be resolved.
>>>>
>>>> Yes this is normal, you should 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 <alexandre.bergel(a)me.com <mailto:alexandre.bergel@me.com>> wrote:
>>>>
>>>> Wow! Impressive!!!
>>>>
>>>> Alexandre
>>>>
>>>>
>>>> On Dec 24, 2014, at 3:19 PM, Alain Plantec <alain.plantec(a)yahoo.com <mailto:alain.plantec@yahoo.com>> wrote:
>>>>
>>>> Hello all,
>>>>
>>>> Iâve just uploaded a small demo of Bloc.
>>>> http://vimeo.com/115336678 <http://vimeo.com/115336678>
>>>>
>>>>
>>>> Cheers
>>>> Alain
>>>>
>>>> --
>>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>>>> Alexandre Bergel http://www.bergel.eu <http://www.bergel.eu/>
>>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>> <pharo_bloc.png>
>>
>>
>
>
Jan. 27, 2015
Re: [Pharo-dev] athens font rendering bug
by Alain Plantec
of Nicolai example, not Andrei ⦠:)
Cheers
Alain
> Le 27 janv. 2015 à 08:57, Alain Plantec <alain.plantec(a)yahoo.com> 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 fresh Pharo 4 #40463, Mac OS
> Iâve the same bad result.
>
> Now, the Source Sans Pro line (the first one) is rendered as expected after the following:
> - open the setting browser
> - open Standard fonts/Default, click on the first button and choose 'Source code proâ instead of âSource sans proâ
> - click on the 'force allâ button.
> - new try of Andrei example -> then the first line with âSource sans proâ is ok
>
> the second line with Arial turns ok if I update the free fonts (Update button from the font chooser).
> After, the result remains ok whatever font is defined as default, comprising âsource Sans Proâ.
>
> So, I guess the default source sans pro font setting is broken somewhere in the initial image
>
> Cheers
> Alain
>
>
>> Le 27 janv. 2015 à 00:04, Alain Plantec <alain.plantec(a)yahoo.com <mailto:alain.plantec@yahoo.com>> a écrit :
>>
>> it seems ok here (also in Pharo 4, Mac OS X)
>> Alain
>>
>> <Capture dâeÌcran 2015-01-27 aÌ 00.02.35.png>
>>
>>
>>> Le 26 janv. 2015 à 23:45, Sven Van Caekenberghe <sven(a)stfx.eu <mailto:sven@stfx.eu>> a écrit :
>>>
>>> Looks the same here, Pharo 4, Mac OS X
>>>
>>>> On 26 Jan 2015, at 23:18, Nicolai Hess <nicolaihess(a)web.de <mailto:nicolaihess@web.de>> wrote:
>>>>
>>>> You can "force" the wrong font characters if you try to use a font that
>>>> is not known to the fontregistry:
>>>> Open a fresh image (40463) and execute the code:
>>>>
>>>> |text font1 font2 string1 string2|
>>>> font1:=(LogicalFont familyName:'Source Sans Pro' pointSize:20).
>>>> font2:=(LogicalFont familyName:'Arial' pointSize:20).
>>>> string1 := font1 realFont asString.
>>>> string2 := font2 realFont asString.
>>>> text := TxModel new.
>>>> text at:text startPosition insert:(string1, String cr, string2).
>>>> (text startPosition selectTo: text startPosition + string1 size)
>>>> applyAttribute:(TxForeColorAttribute with: Color red);
>>>> applyAttribute:(TxFontAttribute with:font1).
>>>> ((text startPosition + 1 + string1 size) selectTo: text endPosition)
>>>> applyAttribute:(TxForeColorAttribute with: Color blue);
>>>> applyAttribute:(TxFontAttribute with:font2).
>>>> TxTextEditorMorph openInWindowWithText:text.
>>>>
>>>>
>>>> Or am I the only one ?
>>>> This is, how it looks for me:
>>>>
>>>>
>>>>
>>>> <PharoScreenshot.png>
>>>
>>>
>>
>
Jan. 27, 2015
Re: [Pharo-dev] athens font rendering bug
by Alain Plantec
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 fresh Pharo 4 #40463, Mac OS
Iâve the same bad result.
Now, the Source Sans Pro line (the first one) is rendered as expected after the following:
- open the setting browser
- open Standard fonts/Default, click on the first button and choose 'Source code proâ instead of âSource sans proâ
- click on the 'force allâ button.
- new try of Andrei example -> then the first line with âSource sans proâ is ok
the second line with Arial turns ok if I update the free fonts (Update button from the font chooser).
After, the result remains ok whatever font is defined as default, comprising âsource Sans Proâ.
So, I guess the default source sans pro font setting is broken somewhere in the initial image
Cheers
Alain
> Le 27 janv. 2015 à 00:04, Alain Plantec <alain.plantec(a)yahoo.com> a écrit :
>
> it seems ok here (also in Pharo 4, Mac OS X)
> Alain
>
> <Capture dâeÌcran 2015-01-27 aÌ 00.02.35.png>
>
>
>> Le 26 janv. 2015 à 23:45, Sven Van Caekenberghe <sven(a)stfx.eu <mailto:sven@stfx.eu>> a écrit :
>>
>> Looks the same here, Pharo 4, Mac OS X
>>
>>> On 26 Jan 2015, at 23:18, Nicolai Hess <nicolaihess(a)web.de <mailto:nicolaihess@web.de>> wrote:
>>>
>>> You can "force" the wrong font characters if you try to use a font that
>>> is not known to the fontregistry:
>>> Open a fresh image (40463) and execute the code:
>>>
>>> |text font1 font2 string1 string2|
>>> font1:=(LogicalFont familyName:'Source Sans Pro' pointSize:20).
>>> font2:=(LogicalFont familyName:'Arial' pointSize:20).
>>> string1 := font1 realFont asString.
>>> string2 := font2 realFont asString.
>>> text := TxModel new.
>>> text at:text startPosition insert:(string1, String cr, string2).
>>> (text startPosition selectTo: text startPosition + string1 size)
>>> applyAttribute:(TxForeColorAttribute with: Color red);
>>> applyAttribute:(TxFontAttribute with:font1).
>>> ((text startPosition + 1 + string1 size) selectTo: text endPosition)
>>> applyAttribute:(TxForeColorAttribute with: Color blue);
>>> applyAttribute:(TxFontAttribute with:font2).
>>> TxTextEditorMorph openInWindowWithText:text.
>>>
>>>
>>> Or am I the only one ?
>>> This is, how it looks for me:
>>>
>>>
>>>
>>> <PharoScreenshot.png>
>>
>>
>
Jan. 27, 2015
Re: [Pharo-dev] Any way to avoid the filmification effect in GTInspector?
by Hernán Morales Durand
2015-01-27 3:41 GMT-03:00 Tudor Girba <tudor(a)tudorgirba.com>:
> Hi,
>
> On Mon, Jan 26, 2015 at 11:58 PM, Hernán Morales Durand <
> hernan.morales(a)gmail.com> wrote:
>
>>
>>
>> 2015-01-26 6:25 GMT-03:00 Tudor Girba <tudor(a)tudorgirba.com>:
>>
>>> Hi,
>>>
>>> On Mon, Jan 26, 2015 at 10:18 AM, Hernán Morales Durand <
>>> hernan.morales(a)gmail.com> wrote:
>>>
>>>>
>>>> 2015-01-26 5:54 GMT-03:00 Tudor Girba <tudor(a)tudorgirba.com>:
>>>>
>>>>> There is no way at the moment.
>>>>>
>>>>> Just out of curiosity, why do you need to select an item if you do not
>>>>> want to see the details?
>>>>>
>>>>>
>>>> This is for two reasons
>>>>
>>>> 1) I have items with big strings inside and it takes too long to load
>>>> in the new inspector sub-window.
>>>>
>>>
>>> Why should it take too long? Is it because printString is too expensive?
>>> In that case, perhaps you might want to make printString cheaper and offer
>>> a separate presentation for your object that shows the full contents.
>>>
>>>
>> I don't know, I have this 7.7Mb XML file, opened the Time Profiler with:
>>
>> 'DLoop_Bovino_31-10-14-Alignment.xml' asFileReference contents inspect.
>>
>> it took almost 6 minutes to open the inspector.
>>
>> Here is the link to the file:
>> https://www.dropbox.com/s/pzw88gg3wyfkf8o/DLoop_Bovino_31-10-14-Alignment.z…
>> Here is the full report
>>
>> - 350675 tallies, 359630 msec.
>>
>
> Hmm, Something is strange. I open the inspector on the same file in 1192
> ms. It takes so long because the first presentation is a text presentation
> of the contents of that file. What image do you use? Is it possible that
> you have extra . Could you make it available?
>
>
I am using #40463 in Windows 8.1 x64. This is how I download the image
$ wget -O- get.pharo.org/40+vm | bash
image link with test file:
https://www.dropbox.com/s/57hprg7cyryd9cs/testGT1.zip?dl=0
>
>
>> 2) I select the item to send a message to it, or bring a pop-up menu to
>>>> remove the item (I have implemented it in the old inspector and I would
>>>> like to port it to Pharo 4)
>>>>
>>>
>>> This implies that you actually need a custom presentation. For such a
>>> custom presentation you can suppress the propagation of selection. If you
>>> tell me your use case in more details I can try to guide you.
>>>
>>>
>> My use case is I want to add or remove items from an Inspector/Explorer.
>> The items are classified objects and the user curates false positives.
>> Another item I used to have is "Serialize" the inspector contents (or
>> from a specific item) so that one could import the curated data set and
>> review.
>>
>
> Do you mean items from collections in general, or items stored as a
> collection in a specific object? If you mean the latter, you can create a
> custom presentation just for that object and add all the actions you want.
> Do you want to give it a try? If yes, let me know the more specific use
> case and I can help :)
>
>
I would be glad to get some help :)
I tried subclassing GTInspector. I see you implemented menu items in
GTObjectVariablesBrowser.
So question is how could I implement my own "GTObjectVariablesBrowser" and
link to GTInspector subclass?
Thank you Doru.
Hernán
> Doru
>
>
> --
> www.tudorgirba.com
>
> "Every thing has its own flow"
>
Jan. 27, 2015