Pharo-dev
By thread
pharo-dev@lists.pharo.org
By month
Messages by month
- ----- 2026 -----
- 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
April 2012
- 127 participants
- 1916 messages
[Pharo-project] [update 1.4] #14426
by Esteban Lorenzano
14426
-----
Issue 5591: DejaVu 9 pt font punctuation readibility, thanks Alain
http://code.google.com/p/pharo/issues/detail?id=5591
April 11, 2012
Re: [Pharo-project] Vm on iOS with Xcode 4.3
by Esteban Lorenzano
that is strange, because you should have version VMMaker-oscog-EstebanLorenzano.150
On Apr 11, 2012, at 5:18 PM, phil(a)highoctane.be wrote:
> I had a fresh 1.4 downloaded from Inria.
>
> Then did this in a Workspace:
>
> Gofer it squeaksource: 'MetacelloRepository';
> package: 'ConfigurationOfCog';
> load.
>
> (ConfigurationOfCog project version: '4.4') load.
>
> CogCocoaIOSConfig new
> "generateForDebug;"
> addExternalPlugins: #(FT2Plugin);
> generateSources; generate.
>
> (StackIPhoneConfig new)
> "generateForDebug;"
> addExternalPlugins: #(IOSPlugin)
> generateSources; generate.
>
> sic := StackIPhoneConfig new.
> sic generateSources.
> sic generate.
>
> The latest things were done with the sic variable.
>
> There a no versions of VMMaker I can see like that.
>
> My package cache contains:
>
> PhilMac:image philippeback$ cd package-cache/
> PhilMac:package-cache philippeback$ ls
> Alien-Core-IgorStasenko.68.mcz
> Applescript-Core-SeanDeNigris.2.mcz
> Balloon-Engine-Pools-JB.2.mcz
> CMakeVMMaker-IgorStasenko.154.mcz
> CMakeVMMaker-MarianoMartinezPeck.83.mcz
> Cog-eem.46.mcz
> CogVMMakerPharoCompatibility-MarianoMartinezPeck.3.mcz
> ConfigurationOfCog-EstebanLorenzano.60.mcz
> ConfigurationOfGofer-dkh.36.mcz
> ConfigurationOfHelpSystem-DaleHenrichs.13.mcz
> ConfigurationOfMetacello-dkh.675.mcz
> FFI-Pools-eem.3.mcz
> Freetype-Plugin-dtl.63.mcz
> Metacello-Base-DaleHenrichs.19.mcz
> Metacello-Core-dkh.465.mcz
> Metacello-Core-dkh.468.mcz
> Metacello-Help-dkh.11.mcz
> Metacello-MC-dkh.522.mcz
> Metacello-MC-dkh.531.mcz
> Metacello-Platform.pharo-DaleHenrichs.25.mcz
> Metacello-Platform.pharo-dkh.27.mcz
> Metacello-ToolBox-dkh.107.mcz
> ObjectiveC-Plugin-John M McIntosh.20.mcz
> Qwaq-VMProfiling-Plugins-JB.5.mcz
> SharedPool-Speech-dtl.2.mcz
> Sound-MarianoMartinezPeck.67.mcz
> VMConstruction-Plugins-OSProcessPlugin.oscog-eem.32.mcz
> VMMaker-oscog-EstebanLorenzano.139.mcz
>
> Phil
>
> 2012/4/11 Esteban Lorenzano <estebanlm(a)gmail.com>
> which VMMaker package version do you have? (bacause it has to be there, in latests versions)
>
> On Apr 11, 2012, at 4:48 PM, phil(a)highoctane.be wrote:
>
> > There is no IOSPlugin class in the image.
> >
> > Strange!
> >
> > Phil
> > <PharoScreenshot.8.png>
>
>
>
>
>
> --
> Philippe Back
> "Helping you hit the top 3 outcomes you really want to achieve"
>
> Mob: +32(0) 478 650 140 | Fax: +32 (0) 70 408 027 Mail: phil(a)highoctane.be | Web: http://philippeback.eu | Blog:
> http://philippeback.be
>
> High Octane SPRL
> rue cour Boisacq 101
> 1301 Bierges
>
April 11, 2012
Re: [Pharo-project] Vm on iOS with Xcode 4.3
by phil@highoctane.be
I had a fresh 1.4 downloaded from Inria.
Then did this in a Workspace:
Gofer it squeaksource: 'MetacelloRepository';
package: 'ConfigurationOfCog';
load.
(ConfigurationOfCog project version: '4.4') load.
CogCocoaIOSConfig new
"generateForDebug;"
addExternalPlugins: #(FT2Plugin);
generateSources; generate.
(StackIPhoneConfig new)
"generateForDebug;"
addExternalPlugins: #(IOSPlugin)
generateSources; generate.
sic := StackIPhoneConfig new.
sic generateSources.
sic generate.
The latest things were done with the sic variable.
There a no versions of VMMaker I can see like that.
My package cache contains:
PhilMac:image philippeback$ cd package-cache/
PhilMac:package-cache philippeback$ ls
Alien-Core-IgorStasenko.68.mcz
Applescript-Core-SeanDeNigris.2.mcz
Balloon-Engine-Pools-JB.2.mcz
CMakeVMMaker-IgorStasenko.154.mcz
CMakeVMMaker-MarianoMartinezPeck.83.mcz
Cog-eem.46.mcz
CogVMMakerPharoCompatibility-MarianoMartinezPeck.3.mcz
ConfigurationOfCog-EstebanLorenzano.60.mcz
ConfigurationOfGofer-dkh.36.mcz
ConfigurationOfHelpSystem-DaleHenrichs.13.mcz
ConfigurationOfMetacello-dkh.675.mcz
FFI-Pools-eem.3.mcz
Freetype-Plugin-dtl.63.mcz
Metacello-Base-DaleHenrichs.19.mcz
Metacello-Core-dkh.465.mcz
Metacello-Core-dkh.468.mcz
Metacello-Help-dkh.11.mcz
Metacello-MC-dkh.522.mcz
Metacello-MC-dkh.531.mcz
Metacello-Platform.pharo-DaleHenrichs.25.mcz
Metacello-Platform.pharo-dkh.27.mcz
Metacello-ToolBox-dkh.107.mcz
ObjectiveC-Plugin-John M McIntosh.20.mcz
Qwaq-VMProfiling-Plugins-JB.5.mcz
SharedPool-Speech-dtl.2.mcz
Sound-MarianoMartinezPeck.67.mcz
VMConstruction-Plugins-OSProcessPlugin.oscog-eem.32.mcz
VMMaker-oscog-EstebanLorenzano.139.mcz
Phil
2012/4/11 Esteban Lorenzano <estebanlm(a)gmail.com>
> which VMMaker package version do you have? (bacause it has to be there, in
> latests versions)
>
> On Apr 11, 2012, at 4:48 PM, phil(a)highoctane.be wrote:
>
> > There is no IOSPlugin class in the image.
> >
> > Strange!
> >
> > Phil
> > <PharoScreenshot.8.png>
>
>
>
--
Philippe Back
"Helping you hit the top 3 outcomes you really want to achieve"
Mob: +32(0) 478 650 140 | Fax: +32 (0) 70 408 027 Mail:
phil(a)highoctane.be| Web:
http://philippeback.eu | Blog:
http://philippeback.be
High Octane SPRL
rue cour Boisacq 101
1301 Bierges
April 11, 2012
Re: [Pharo-project] Vm on iOS with Xcode 4.3
by Esteban Lorenzano
which VMMaker package version do you have? (bacause it has to be there, in latests versions)
On Apr 11, 2012, at 4:48 PM, phil(a)highoctane.be wrote:
> There is no IOSPlugin class in the image.
>
> Strange!
>
> Phil
> <PharoScreenshot.8.png>
April 11, 2012
[Pharo-project] VM on iOS with Xcode 4.3
by phil@highoctane.be
I added the IOSplugin with that code:
primitiveShowKeyboard: showBoolean
<export: true>
<var: #showBoolean type: #int>
self sqShowKeyboard: showBoolean.
(copied from my previous attempts weeks ago).
generateSources and generate then worked.
Still need to compile and see what it gives.
Phil
April 11, 2012
[Pharo-project] Vm on iOS with Xcode 4.3
by phil@highoctane.be
There is no IOSPlugin class in the image.
Strange!
Phil
April 11, 2012
[Pharo-project] Binding Zn servers on specific interfaces
by Sven Van Caekenberghe
Hi,
I recently added a feature to Zn servers to bind on specific interfaces. I got some questions about it, so here is a little writeup.
A TCP/IP server socket used by an HTTP server is normally started by specifying the port on which it has to listen. This is how Zn normally works. Behind the scenes, the server socket is actually bound to what is called 'any interface'. TCP/IP on your computer / operating system, can have multiple network interfaces. Most have at least 2: one is called the local interface (lo, 127.0.0.1) and another is the TCP/IP address you are using to connect to the network and by extension the internet. Servers can have multiple network connections.
By using the #interface: method, you can optionally control (or restrict) on which interfaces your Zn server should listen. In most cases this is not needed, but it can be an important security feature to only listen on the local interface (because that means the server can only be accessed from the machine itself, not over the network/internet).
The default case is to listen to any interface available to the machine / OS. The following three are equivalent:
(ZnServer defaultOn: 1701)
logToTranscript;
start.
(ZnServer defaultOn: 1701)
interface: nil;
logToTranscript;
start.
(ZnServer defaultOn: 1701)
interface: #[0 0 0 0];
logToTranscript;
start.
Next we bind only to the local interface:
(ZnServer defaultOn: 1701)
interface: #[127 0 0 1];
logToTranscript;
start.
Now, only http://127.0.0.1:1701 and http://localhost:1701 will work.
On my machine (MacBook Pro, Mac OS X 10.7) I have the following network address: 192.168.1.6. This is how to listen to only that interface and not the local one.
(ZnServer defaultOn: 1701)
interface: #[192 168 1 6];
logToTranscript;
start.
Now, only http://192.168.1.6:1701 or (in my case) http://voyager.local:1701 will work. I have only tested this on my development machine with a Pharo Cog VM, but it should work cross platform. Let me know if that is not the case.
Regards,
Sven
--
Sven Van Caekenberghe
http://stfx.eu
Smalltalk is the Red Pill
April 11, 2012
Re: [Pharo-project] Vm on iOS with Xcode 4.3
by Esteban Lorenzano
and class IOSPlugin is on system or not?
On Apr 11, 2012, at 3:10 PM, phil(a)highoctane.be wrote:
> I did that. But it keeps on saying key #IOSPlugin not found in SystemDictionary.
>
> StackIPhoneConfig>>prepareVMMaker
>
> ...
>
> "touch plugins to force their source generation unconditionally"
> allPlugins do: [:name | (Smalltalk globals at: name) touch ].
> ...
>
> A print it on allPlugins gives:
>
> #(#ADPCMCodecPlugin #BMPReadWriterPlugin #BalloonEnginePlugin #BitBltSimulation #DSAPlugin #DeflatePlugin #LocalePlugin #FFTPlugin #FilePlugin #FloatArrayPlugin #HostWindowPlugin #JPEGReadWriter2Plugin #JPEGReaderPlugin #LargeIntegersPlugin #Matrix2x3Plugin #MiscPrimitivePlugin #SecurityPlugin #SoundCodecPlugin #SoundGenerationPlugin #SoundPlugin #SurfacePlugin #UUIDPlugin #ObjectiveCPlugin #IOSPlugin)
>
> What could be causing that?
>
> Phil
>
> 2012/4/11 Esteban Lorenzano <estebanlm(a)gmail.com>
> strange... just remove the "#"... and don't add it to #addExternalPlugins:
>
> On Apr 11, 2012, at 2:56 PM, phil(a)highoctane.be wrote:
>
>> I investigated for the plugin and found this as the only reference:
>>
>> StackIPhoneConfig>>defaultInternalPlugins
>> ^ #(
>> ADPCMCodecPlugin
>> BMPReadWriterPlugin
>> BalloonEnginePlugin
>> BitBltSimulation
>> DSAPlugin
>> DeflatePlugin
>> "DropPlugin"
>> LocalePlugin
>> FFTPlugin
>> FilePlugin
>> FloatArrayPlugin
>> HostWindowPlugin
>> JPEGReadWriter2Plugin
>> JPEGReaderPlugin
>> LargeIntegersPlugin
>> Matrix2x3Plugin
>> MiscPrimitivePlugin
>> "RePlugin"
>> SecurityPlugin
>> "SocketPlugin"
>> SoundCodecPlugin
>> SoundGenerationPlugin
>> SoundPlugin
>> SurfacePlugin
>> UUIDPlugin
>> ObjectiveCPlugin
>> #IOSPlugin)
>>
>> IOSPlugin is in there with a # symbol.
>>
>> And you told me to
>>
>> addExternalPlugins: #(iOSPlugin).
>>
>> I am lost here, especially since it doesn't work. (Key Not Found)
>>
>>
>> Help!
>>
>> Phil
>>
>>
>>
>> 2012/4/10 phil(a)highoctane.be <phil(a)highoctane.be>
>> Fail: Key #IOSPlugin not found.
>>
>> I have removed the build/ folder before generating anything.
>>
>> See screenshot.
>>
>> Phil
>>
>>
>> 2012/4/10 Esteban Lorenzano <estebanlm(a)gmail.com>
>> yeah... but you don't need FT2 for iOS... that instructions were for plain cog vm.
>>
>> Run this instead:
>>
>> StackIPhoneConfig new
>> "generateForDebug;"
>> generateSources; generate.
>>
>> btw... you will need to remove CMakeCache.txt before running cmake again.
>>
>> On Apr 10, 2012, at 6:09 PM, phil(a)highoctane.be wrote:
>>
>>> Looks like OSX 10.7 needs a bit of sudo port install automake to have the right version for FT2 plugin.
>>>
>>> Let's see.
>>>
>>> Phil
>>>
>>> 2012/4/10 Esteban Lorenzano <estebanlm(a)gmail.com>
>>> on ./build
>>>
>>> execute:
>>>
>>> ../codegen-scripts/extract-commit-info.sh
>>>
>>> then... you are going to have errors (23, if everything is like my installation)... and you are going to be in the same stage as me (I still didn't fixed that, is an cmakemaker issue)
>>>
>>> On Apr 10, 2012, at 2:58 PM, phil(a)highoctane.be wrote:
>>>
>>>> Ok, it generates sources.
>>>>
>>>> I used the cmake you told me:
>>>>
>>>> So, on Lion, some frameworks are not found. I guess that I'll have to update that by hand.
>>>>
>>>> Philippe
>>>>
>>>> 2012/4/10 Esteban Lorenzano <estebanlm(a)gmail.com>
>>>> sorry, my fault... there is no stable version on cog
>>>>
>>>> try:
>>>>
>>>> (ConfigurationOfCog project version: '4.4') load.
>>>>
>>>>
>>>> On Apr 10, 2012, at 2:11 PM, phil(a)highoctane.be wrote:
>>>>
>>>>> Sorry, fails on #stable load.
>>>>>
>>>>> Did you meant #release ?
>>>>>
>>>>> Phil
>>>>>
>>>>>
>>>>> 2012/4/10 Esteban Lorenzano <estebanlm(a)gmail.com>
>>>>> that's a pretty old version of CMakeMaker... you should:
>>>>>
>>>>> 1) download latest pharo 1.4 (and place it in ./image)
>>>>> 2) install ConfigurationOfCog
>>>>>
>>>>> Gofer it
>>>>> squeaksource: 'MetacelloRepository';
>>>>> package: 'ConfigurationOfCog';
>>>>> load.
>>>>>
>>>>> 3) execute
>>>>>
>>>>> (ConfigurationOfCog project version: #stable) load.
>>>>>
>>>>> 4) then execute:
>>>>>
>>>>> CogCocoaIOSConfig new
>>>>> "generateForDebug;"
>>>>> addExternalPlugins: #(FT2Plugin);
>>>>> generateSources; generate.
>>>>>
>>>>> that's the correct way of doing
>>>>>
>>>>> best,
>>>>> Esteban
>>>>>
>>>>> On Apr 10, 2012, at 1:51 PM, phil(a)highoctane.be wrote:
>>>>>
>>>>>> The CocoaIOSJitConfig>>prepareForGeneration
>>>>>>
>>>>>> "force using LF on Macs"
>>>>>> CrLfFileStream defaultToLF.
>>>>>>
>>>>>> ^ self prepareForCogGeneration
>>>>>>
>>>>>> fails on CrLfFileStream defaultToLF.
>>>>>>
>>>>>> The only implementer was MultiByteFileStream defaultToLF.
>>>>>>
>>>>>> The CrLfFileStream occurs in quite a *Config places.
>>>>>>
>>>>>> Phil
>>>>>>
>>>>>> 2012/4/10 Mariano Martinez Peck <marianopeck(a)gmail.com>
>>>>>>
>>>>>>
>>>>>> On Tue, Apr 10, 2012 at 12:16 AM, phil(a)highoctane.be <phil(a)highoctane.be> wrote:
>>>>>> I do have the cloned repos now.
>>>>>>
>>>>>> For ConfigurationOfCog where can I pick this one up ? In the supplied image I guess. Right?
>>>>>>
>>>>>>
>>>>>> Hi Philip. Just by change did you read my blog posts about building the VM? they may be of help:
>>>>>> http://marianopeck.wordpress.com/2011/04/10/building-the-vm-from-scratch-us…
>>>>>> http://marianopeck.wordpress.com/2011/04/16/building-the-vm-second-part/
>>>>>>
>>>>>> Cheers
>>>>>>
>>>>>> ... moving (slowly) forward.
>>>>>>
>>>>>> Thanks!
>>>>>>
>>>>>> 2012/4/6 phil(a)highoctane.be <phil(a)highoctane.be>
>>>>>>
>>>>>> Oh great news!
>>>>>> Tomorrow will be Pharo iOS day.
>>>>>> Le 6 avr. 2012 17:54, "Esteban Lorenzano" <estebanlm(a)gmail.com> a écrit :
>>>>>> Hi,
>>>>>>
>>>>>> On Apr 6, 2012, at 10:51 AM, phil(a)highoctane.be wrote:
>>>>>>
>>>>>>> I am still unable to get this to work.
>>>>>> latest nightly build from cmake is able to build valid xcode projects again [1].
>>>>>> Some adjusts are needed to actually build, but it is almost there (I will take care about that this days)
>>>>>>> Also I see a jenkins build for OSX but not for iOS.
>>>>>>>
>>>>>> Yeah, and I want to have one, but it will take time (and time is tyrant, you know).
>>>>>>
>>>>>>> XCode 4.3 will open old xcode projects so posting a full set of files that work out of cmake (ie a fully made build/ folder) would help a lot.
>>>>>>>
>>>>>>> Would you be able to ship me such a set of files?
>>>>>>>
>>>>>> you already have them: clone of my repository [2] or blessed [3] and install latest ConfigurationOfCog
>>>>>>
>>>>>> best,
>>>>>> Esteban
>>>>>>
>>>>>> [1] http://www.cmake.org/files/dev/cmake-2.8.7.20120405-gd2c9c-Darwin64-univers…
>>>>>> [2] https://gitorious.org/~estebanlm/cogvm/cog-osx
>>>>>> [3] https://gitorious.org/cogvm/blessed
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Philippe Back
>>>>>> "Helping you hit the top 3 outcomes you really want to achieve"
>>>>>>
>>>>>> Mob: +32(0) 478 650 140 | Fax: +32 (0) 70 408 027 Mail: phil(a)highoctane.be | Web: http://philippeback.eu | Blog:
>>>>>> http://philippeback.be
>>>>>>
>>>>>> High Octane SPRL
>>>>>> rue cour Boisacq 101
>>>>>> 1301 Bierges
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Mariano
>>>>>> http://marianopeck.wordpress.com
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Philippe Back
>>>>>> "Helping you hit the top 3 outcomes you really want to achieve"
>>>>>>
>>>>>> Mob: +32(0) 478 650 140 | Fax: +32 (0) 70 408 027 Mail: phil(a)highoctane.be | Web: http://philippeback.eu | Blog:
>>>>>> http://philippeback.be
>>>>>>
>>>>>> High Octane SPRL
>>>>>> rue cour Boisacq 101
>>>>>> 1301 Bierges
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Philippe Back
>>>>> "Helping you hit the top 3 outcomes you really want to achieve"
>>>>>
>>>>> Mob: +32(0) 478 650 140 | Fax: +32 (0) 70 408 027 Mail: phil(a)highoctane.be | Web: http://philippeback.eu | Blog:
>>>>> http://philippeback.be
>>>>>
>>>>> High Octane SPRL
>>>>> rue cour Boisacq 101
>>>>> 1301 Bierges
>>>>>
>>>>> <PharoScreenshot.3.png>
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Philippe Back
>>>> "Helping you hit the top 3 outcomes you really want to achieve"
>>>>
>>>> Mob: +32(0) 478 650 140 | Fax: +32 (0) 70 408 027 Mail: phil(a)highoctane.be | Web: http://philippeback.eu | Blog:
>>>> http://philippeback.be
>>>>
>>>> High Octane SPRL
>>>> rue cour Boisacq 101
>>>> 1301 Bierges
>>>>
>>>> <2012-04-10_14-56-49-cmake.png>
>>>
>>>
>>>
>>>
>>> --
>>> Philippe Back
>>> "Helping you hit the top 3 outcomes you really want to achieve"
>>>
>>> Mob: +32(0) 478 650 140 | Fax: +32 (0) 70 408 027 Mail: phil(a)highoctane.be | Web: http://philippeback.eu | Blog:
>>> http://philippeback.be
>>>
>>> High Octane SPRL
>>> rue cour Boisacq 101
>>> 1301 Bierges
>>>
>>
>>
>>
>>
>> --
>> Philippe Back
>> "Helping you hit the top 3 outcomes you really want to achieve"
>>
>> Mob: +32(0) 478 650 140 | Fax: +32 (0) 70 408 027 Mail: phil(a)highoctane.be | Web: http://philippeback.eu | Blog:
>> http://philippeback.be
>>
>> High Octane SPRL
>> rue cour Boisacq 101
>> 1301 Bierges
>>
>>
>>
>>
>> --
>> Philippe Back
>> "Helping you hit the top 3 outcomes you really want to achieve"
>>
>> Mob: +32(0) 478 650 140 | Fax: +32 (0) 70 408 027 Mail: phil(a)highoctane.be | Web: http://philippeback.eu | Blog:
>> http://philippeback.be
>>
>> High Octane SPRL
>> rue cour Boisacq 101
>> 1301 Bierges
>>
>
>
>
>
> --
> Philippe Back
> "Helping you hit the top 3 outcomes you really want to achieve"
>
> Mob: +32(0) 478 650 140 | Fax: +32 (0) 70 408 027 Mail: phil(a)highoctane.be | Web: http://philippeback.eu | Blog:
> http://philippeback.be
>
> High Octane SPRL
> rue cour Boisacq 101
> 1301 Bierges
>
April 11, 2012
Re: [Pharo-project] Fwd: Etoys, Arduino, Mac
by Noury Bouraqadi
Thanx Stéf for fowarding this. Cool to see this project widespreading :-)
On 11 avr. 2012, at 08:55, Stéphane Ducasse wrote:
>
>
> Begin forwarded message:
>
>> From: Ricardo Moran <richi.moran(a)gmail.com>
>> Subject: Re: Etoys, Arduino, Mac
>> Date: April 11, 2012 12:08:16 AM GMT+02:00
>> To: Torsten Sadowski <tsadowski(a)gmx.net>
>> Cc: Stéphane Ducasse <stephane.ducasse(a)inria.fr>
>>
>> Hi Torsten,
>>
>> I really appreciate what you're doing. Right now I'm super busy, though, because I just found out Physical Etoys is going to be included by default in all the laptops of the "Conectar Igualdad" project (which is like an argentinian version of OLPC), so I have to hurry up and make a new version that works in windows and linux within the following 10 days. It's really *great* news but I'll have a lot of work to do (mostly testing) to make sure it works reliably.
>>
>> As for the packages install order, the following should work:
>> 1) Connectors (already installed in Etoys image)
>> 2) OSProcess
>> 3) AST-Core
>> 4) PhysicalEtoys
>> 5) CTranslator
>> 6) Arduino-Core
>> 7) Arduino-Etoys
>> 8) Arduino-Compiler
>> 9) Arduino-EtoysCompiler
>>
>> Stef, some of these packages won't work for Pharo but the fixes done by Torsten should work. You can load them using the ConfigurationOfArduino and then manually fetching the Arduino-Compiler-TS.51.mcz from the Arduino repo.
>>
>> Thank you very much for your work, Torsten, as soon as I finish with this, I'll try to get someone to loan me a Mac so I can test and make a version with Mac support at last :)
>>
>> Cheers,
>> Richo
>>
>>
>> 2012/4/10 Torsten Sadowski <tsadowski(a)gmx.net>
>> Hello Richo, hello Stef,
>>
>> PhysicalEtoys should now work on a Mac. It is necessary to put the Image, Arduino.app (Version 0023), an empty /Arduino/Sketches and possibly the VM into a single directory. Then just add Connectors, OSProcess, CTranslator, AST?, OmniBrowser?, Arduino-Core, Arduino-Etoys, Arduino-Compiler, Arduino-EtoysCompiler and PhysicalEtoys from SqueakSource. I don't remember the correct order and some stuff might be missing... Is there a class/method search for SqueakSource?
>>
>> It would be nice if you could test what I have done and drop me a line if it does not work.
>>
>> Cheers,
>> Torsten
>>
>
Noury
--
http://twitter.com/#!/NouryBouraqadi
http://www.kroobe.com/profile/noury
Afin de contribuer au respect de l'environnement,
merci de n'imprimer ce courriel qu'en cas de necessite
Please consider the environment before you print
April 11, 2012
Re: [Pharo-project] Vm on iOS with Xcode 4.3
by phil@highoctane.be
I did that. But it keeps on saying key #IOSPlugin not found in
SystemDictionary.
StackIPhoneConfig>>prepareVMMaker
...
"touch plugins to force their source generation unconditionally"
allPlugins do: [:name | (Smalltalk globals at: name) touch ].
...
A print it on allPlugins gives:
#(#ADPCMCodecPlugin #BMPReadWriterPlugin #BalloonEnginePlugin
#BitBltSimulation #DSAPlugin #DeflatePlugin #LocalePlugin #FFTPlugin
#FilePlugin #FloatArrayPlugin #HostWindowPlugin #JPEGReadWriter2Plugin
#JPEGReaderPlugin #LargeIntegersPlugin #Matrix2x3Plugin
#MiscPrimitivePlugin #SecurityPlugin #SoundCodecPlugin
#SoundGenerationPlugin #SoundPlugin #SurfacePlugin #UUIDPlugin
#ObjectiveCPlugin #IOSPlugin)
What could be causing that?
Phil
2012/4/11 Esteban Lorenzano <estebanlm(a)gmail.com>
> strange... just remove the "#"... and don't add it to #addExternalPlugins:
>
> On Apr 11, 2012, at 2:56 PM, phil(a)highoctane.be wrote:
>
> I investigated for the plugin and found this as the only reference:
>
> StackIPhoneConfig>>defaultInternalPlugins
> ^ #(
> ADPCMCodecPlugin
> BMPReadWriterPlugin
> BalloonEnginePlugin
> BitBltSimulation
> DSAPlugin
> DeflatePlugin
> "DropPlugin"
> LocalePlugin
> FFTPlugin
> FilePlugin
> FloatArrayPlugin
> HostWindowPlugin
> JPEGReadWriter2Plugin
> JPEGReaderPlugin
> LargeIntegersPlugin
> Matrix2x3Plugin
> MiscPrimitivePlugin
> "RePlugin"
> SecurityPlugin
> "SocketPlugin"
> SoundCodecPlugin
> SoundGenerationPlugin
> SoundPlugin
> SurfacePlugin
> UUIDPlugin
> ObjectiveCPlugin
> #IOSPlugin)
>
> IOSPlugin is in there with a # symbol.
>
> And you told me to
>
> addExternalPlugins: #(iOSPlugin).
>
> I am lost here, especially since it doesn't work. (Key Not Found)
>
>
> Help!
>
> Phil
>
>
>
> 2012/4/10 phil(a)highoctane.be <phil(a)highoctane.be>
>
>> Fail: Key #IOSPlugin not found.
>>
>> I have removed the build/ folder before generating anything.
>>
>> See screenshot.
>>
>> Phil
>>
>>
>> 2012/4/10 Esteban Lorenzano <estebanlm(a)gmail.com>
>>
>>> yeah... but you don't need FT2 for iOS... that instructions were for
>>> plain cog vm.
>>>
>>> Run this instead:
>>>
>>> StackIPhoneConfig new
>>> "generateForDebug;"
>>> generateSources; generate.
>>>
>>> btw... you will need to remove CMakeCache.txt before running cmake
>>> again.
>>>
>>> On Apr 10, 2012, at 6:09 PM, phil(a)highoctane.be wrote:
>>>
>>> Looks like OSX 10.7 needs a bit of sudo port install automake to have
>>> the right version for FT2 plugin.
>>>
>>> Let's see.
>>>
>>> Phil
>>>
>>> 2012/4/10 Esteban Lorenzano <estebanlm(a)gmail.com>
>>>
>>>> on ./build
>>>>
>>>> execute:
>>>>
>>>> ../codegen-scripts/extract-commit-info.sh
>>>>
>>>> then... you are going to have errors (23, if everything is like my
>>>> installation)... and you are going to be in the same stage as me (I still
>>>> didn't fixed that, is an cmakemaker issue)
>>>>
>>>> On Apr 10, 2012, at 2:58 PM, phil(a)highoctane.be wrote:
>>>>
>>>> Ok, it generates sources.
>>>>
>>>> I used the cmake you told me:
>>>>
>>>> So, on Lion, some frameworks are not found. I guess that I'll have to
>>>> update that by hand.
>>>>
>>>> Philippe
>>>>
>>>> 2012/4/10 Esteban Lorenzano <estebanlm(a)gmail.com>
>>>>
>>>>> sorry, my fault... there is no stable version on cog
>>>>>
>>>>> try:
>>>>>
>>>>> (ConfigurationOfCog project version: '4.4') load.
>>>>>
>>>>>
>>>>> On Apr 10, 2012, at 2:11 PM, phil(a)highoctane.be wrote:
>>>>>
>>>>> Sorry, fails on #stable load.
>>>>>
>>>>> Did you meant #release ?
>>>>>
>>>>> Phil
>>>>>
>>>>>
>>>>> 2012/4/10 Esteban Lorenzano <estebanlm(a)gmail.com>
>>>>>
>>>>>> that's a pretty old version of CMakeMaker... you should:
>>>>>>
>>>>>> 1) download latest pharo 1.4 (and place it in ./image)
>>>>>> 2) install ConfigurationOfCog
>>>>>>
>>>>>> Gofer it
>>>>>> squeaksource: 'MetacelloRepository';
>>>>>> package: 'ConfigurationOfCog';
>>>>>> load.
>>>>>>
>>>>>> 3) execute
>>>>>>
>>>>>> (ConfigurationOfCog project version: #stable) load.
>>>>>>
>>>>>> 4) then execute:
>>>>>>
>>>>>> CogCocoaIOSConfig new
>>>>>> "generateForDebug;"
>>>>>> addExternalPlugins: #(FT2Plugin);
>>>>>> generateSources; generate.
>>>>>>
>>>>>> that's the correct way of doing
>>>>>>
>>>>>> best,
>>>>>> Esteban
>>>>>>
>>>>>> On Apr 10, 2012, at 1:51 PM, phil(a)highoctane.be wrote:
>>>>>>
>>>>>> The CocoaIOSJitConfig>>prepareForGeneration
>>>>>>
>>>>>> "force using LF on Macs"
>>>>>> CrLfFileStream defaultToLF.
>>>>>>
>>>>>> ^ self prepareForCogGeneration
>>>>>>
>>>>>> fails on CrLfFileStream defaultToLF.
>>>>>>
>>>>>> The only implementer was MultiByteFileStream defaultToLF.
>>>>>>
>>>>>> The CrLfFileStream occurs in quite a *Config places.
>>>>>>
>>>>>> Phil
>>>>>>
>>>>>> 2012/4/10 Mariano Martinez Peck <marianopeck(a)gmail.com>
>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Tue, Apr 10, 2012 at 12:16 AM, phil(a)highoctane.be <
>>>>>>> phil(a)highoctane.be> wrote:
>>>>>>>
>>>>>>>> I do have the cloned repos now.
>>>>>>>>
>>>>>>>> For ConfigurationOfCog where can I pick this one up ? In the
>>>>>>>> supplied image I guess. Right?
>>>>>>>>
>>>>>>>>
>>>>>>> Hi Philip. Just by change did you read my blog posts about building
>>>>>>> the VM? they may be of help:
>>>>>>>
>>>>>>> http://marianopeck.wordpress.com/2011/04/10/building-the-vm-from-scratch-us…
>>>>>>>
>>>>>>> http://marianopeck.wordpress.com/2011/04/16/building-the-vm-second-part/
>>>>>>>
>>>>>>> Cheers
>>>>>>>
>>>>>>>
>>>>>>>> ... moving (slowly) forward.
>>>>>>>>
>>>>>>>> Thanks!
>>>>>>>>
>>>>>>>> 2012/4/6 phil(a)highoctane.be <phil(a)highoctane.be>
>>>>>>>>
>>>>>>>> Oh great news!
>>>>>>>>> Tomorrow will be Pharo iOS day.
>>>>>>>>> Le 6 avr. 2012 17:54, "Esteban Lorenzano" <estebanlm(a)gmail.com>
>>>>>>>>> a écrit :
>>>>>>>>>
>>>>>>>>>> Hi,
>>>>>>>>>>
>>>>>>>>>> On Apr 6, 2012, at 10:51 AM, phil(a)highoctane.be wrote:
>>>>>>>>>>
>>>>>>>>>> I am still unable to get this to work.
>>>>>>>>>>
>>>>>>>>>> latest nightly build from cmake is able to build valid xcode
>>>>>>>>>> projects again [1].
>>>>>>>>>> Some adjusts are needed to actually build, but it is almost there
>>>>>>>>>> (I will take care about that this days)
>>>>>>>>>>
>>>>>>>>>> Also I see a jenkins build for OSX but not for iOS.
>>>>>>>>>>
>>>>>>>>>> Yeah, and I want to have one, but it will take time (and time is
>>>>>>>>>> tyrant, you know).
>>>>>>>>>>
>>>>>>>>>> XCode 4.3 will open old xcode projects so posting a full set of
>>>>>>>>>> files that work out of cmake (ie a fully made build/ folder) would help a
>>>>>>>>>> lot.
>>>>>>>>>>
>>>>>>>>>> Would you be able to ship me such a set of files?
>>>>>>>>>>
>>>>>>>>>> you already have them: clone of my repository [2] or blessed [3]
>>>>>>>>>> and install latest ConfigurationOfCog
>>>>>>>>>>
>>>>>>>>>> best,
>>>>>>>>>> Esteban
>>>>>>>>>>
>>>>>>>>>> [1]
>>>>>>>>>> http://www.cmake.org/files/dev/cmake-2.8.7.20120405-gd2c9c-Darwin64-univers…
>>>>>>>>>> [2] https://gitorious.org/~estebanlm/cogvm/cog-osx
>>>>>>>>>> [3] https://gitorious.org/cogvm/blessed
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Philippe Back
>>>>>>>> "Helping you hit the top 3 outcomes you really want to achieve"
>>>>>>>>
>>>>>>>> Mob: +32(0) 478 650 140 | Fax: +32 (0) 70 408 027 Mail:
>>>>>>>> phil(a)highoctane.be | Web: http://philippeback.eu | Blog:
>>>>>>>> http://philippeback.be
>>>>>>>>
>>>>>>>> High Octane SPRL
>>>>>>>> rue cour Boisacq 101
>>>>>>>> 1301 Bierges
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Mariano
>>>>>>> http://marianopeck.wordpress.com
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Philippe Back
>>>>>> "Helping you hit the top 3 outcomes you really want to achieve"
>>>>>>
>>>>>> Mob: +32(0) 478 650 140 | Fax: +32 (0) 70 408 027 Mail:
>>>>>> phil(a)highoctane.be | Web: http://philippeback.eu | Blog:
>>>>>> http://philippeback.be
>>>>>>
>>>>>> High Octane SPRL
>>>>>> rue cour Boisacq 101
>>>>>> 1301 Bierges
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Philippe Back
>>>>> "Helping you hit the top 3 outcomes you really want to achieve"
>>>>>
>>>>> Mob: +32(0) 478 650 140 | Fax: +32 (0) 70 408 027 Mail:
>>>>> phil(a)highoctane.be | Web: http://philippeback.eu | Blog:
>>>>> http://philippeback.be
>>>>>
>>>>> High Octane SPRL
>>>>> rue cour Boisacq 101
>>>>> 1301 Bierges
>>>>>
>>>>> <PharoScreenshot.3.png>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Philippe Back
>>>> "Helping you hit the top 3 outcomes you really want to achieve"
>>>>
>>>> Mob: +32(0) 478 650 140 | Fax: +32 (0) 70 408 027 Mail:
>>>> phil(a)highoctane.be | Web: http://philippeback.eu | Blog:
>>>> http://philippeback.be
>>>>
>>>> High Octane SPRL
>>>> rue cour Boisacq 101
>>>> 1301 Bierges
>>>>
>>>> <2012-04-10_14-56-49-cmake.png>
>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> Philippe Back
>>> "Helping you hit the top 3 outcomes you really want to achieve"
>>>
>>> Mob: +32(0) 478 650 140 | Fax: +32 (0) 70 408 027 Mail:
>>> phil(a)highoctane.be | Web: http://philippeback.eu | Blog:
>>> http://philippeback.be
>>>
>>> High Octane SPRL
>>> rue cour Boisacq 101
>>> 1301 Bierges
>>>
>>>
>>>
>>
>>
>> --
>> Philippe Back
>> "Helping you hit the top 3 outcomes you really want to achieve"
>>
>> Mob: +32(0) 478 650 140 | Fax: +32 (0) 70 408 027 Mail:
>> phil(a)highoctane.be | Web: http://philippeback.eu | Blog:
>> http://philippeback.be
>>
>> High Octane SPRL
>> rue cour Boisacq 101
>> 1301 Bierges
>>
>>
>
>
> --
> Philippe Back
> "Helping you hit the top 3 outcomes you really want to achieve"
>
> Mob: +32(0) 478 650 140 | Fax: +32 (0) 70 408 027 Mail: phil(a)highoctane.be| Web:
> http://philippeback.eu | Blog:
> http://philippeback.be
>
> High Octane SPRL
> rue cour Boisacq 101
> 1301 Bierges
>
>
>
--
Philippe Back
"Helping you hit the top 3 outcomes you really want to achieve"
Mob: +32(0) 478 650 140 | Fax: +32 (0) 70 408 027 Mail:
phil(a)highoctane.be| Web:
http://philippeback.eu | Blog:
http://philippeback.be
High Octane SPRL
rue cour Boisacq 101
1301 Bierges
April 11, 2012