Vm on iOS with Xcode 4.3

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
29 messages Options
12
Reply | Threaded
Open this post in threaded view
|

Re: Vm on iOS with Xcode 4.3

Stéphane Ducasse
cooooooooooool!

Phil you can also use the miniPavel image. I imagine that we will get a way smaller image pretty soon.
With Pharo 2.0 pointing its nose soon we will get a bit more incentive to restructure Morphic.
Then a bootstrapped image in coming along so time is cool

Stef


On Apr 11, 2012, at 11:25 PM, [hidden email] wrote:

> Ah, Screenshots. There you go, direct from the device.
>
> 2012/4/11 Yanni Chiu <[hidden email]>
> On 11/04/12 3:16 PM, [hidden email] wrote:
> Success!
>
> I removed the platform variable in the main project and I am now able to
> run the thing on my iPad.
>
> It looks ugly and Pharo complains about a lack of memory.
>
> But it loads, I was able to show a world menu and a browser.
>
> What, no screenshot? :)
>
>
>
>
>
> --
> 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: [hidden email] | Web: http://philippeback.eu | Blog:
> http://philippeback.be
>
> High Octane SPRL
> rue cour Boisacq 101
> 1301 Bierges
>
> <Screenshot.png>


Reply | Threaded
Open this post in threaded view
|

Re: Vm on iOS with Xcode 4.3

philippeback
Where can I get this miniPavel image?

Google turns nothing back with that query.

Phil

2012/4/11 Stéphane Ducasse <[hidden email]>
cooooooooooool!

Phil you can also use the miniPavel image. I imagine that we will get a way smaller image pretty soon.
With Pharo 2.0 pointing its nose soon we will get a bit more incentive to restructure Morphic.
Then a bootstrapped image in coming along so time is cool

Stef


On Apr 11, 2012, at 11:25 PM, [hidden email] wrote:

> Ah, Screenshots. There you go, direct from the device.
>
> 2012/4/11 Yanni Chiu <[hidden email]>
> On 11/04/12 3:16 PM, [hidden email] wrote:
> Success!
>
> I removed the platform variable in the main project and I am now able to
> run the thing on my iPad.
>
> It looks ugly and Pharo complains about a lack of memory.
>
> But it loads, I was able to show a world menu and a browser.
>
> What, no screenshot? :)
>
>
>
>
>
> --
> Philippe Back
> "Helping you hit the top 3 outcomes you really want to achieve"
>
> Mob: <a href="tel:%2B32%280%29%20478%20650%20140" value="+32478650140">+32(0) 478 650 140 | Fax: <a href="tel:%2B32%20%280%29%2070%20408%20027" value="+3270408027">+32 (0) 70 408 027 Mail: [hidden email] | Web: http://philippeback.eu | Blog:
> http://philippeback.be
>
> High Octane SPRL
> rue cour Boisacq 101
> 1301 Bierges
>
> <Screenshot.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: [hidden email] | Web: http://philippeback.eu | Blog:

High Octane SPRL
rue cour Boisacq 101
1301 Bierges

Reply | Threaded
Open this post in threaded view
|

Re: Vm on iOS with Xcode 4.3

EstebanLM
In reply to this post by philippeback

It doesn't exists pharocore anymore... that was just for 1.3. Better use cleanUpForProduction. 
 
On Apr 11, 2012, at 11:24 PM, [hidden email] wrote:

Ok.

Looks like there is no pharocore1.4 on Jenkins. Or is it me? I can spot a 1.3 Core but no 1.4

Anyway, the iPhone.image supplied with the blessed/ is not containing ScriptLoader. Where can I get it?

Phil

2012/4/11 Esteban Lorenzano <[hidden email]>
Hi,

On Apr 11, 2012, at 10:18 PM, [hidden email] wrote:

It was late. So, I removed the extra variable on the top config and the rest followed suit.

yeah, I need to reproduce that on cmake level... should be easy, but I have no idea of what I need to change. 


Now, the VM seems to be either eating too much memory or not having enough available.

plain image is a memory eater... for production you need a smaller one (10-15m images works fine, bigger starts to have memory issues)


Reading from John Mc Intosh text, it seems that his iSqueak VM had settings to configure that. They seem absent from the iStackVM as build.

not anymore (for now). You need to touch that by hand, on startup sequence (I will send the right place tomorrow). 


Also, a nib file isn't editable in Xcode 4.3 --> xib may be better now. We may have to recreate.

yup, but make can't compile xibs (that's why I'm using nib, I need make to automatize process and create a jenkins job. In future cmakemaker versions I will add an external compilation for that, but for now is ok like that)... you can just change nib with corresponding xib (it is there too).


I see that the iPhone image in the resources folder contains customizations for iPhone (I think this is mostly for touch stuff). Is there any doc about that?

yes, is to allow image to handle complex events. It also installs ObjectiveCBridge2 to allow some interaction with machine. Sadly no, there is no documentation, just the code. 


Main concern now: how to configure the amount of RAM for the system?

answered (partially) up


Another problem is that the screen doesn't resizes when rotated. We may want to lock those things down.

it should rotate... after you install iPhone package.


I see that the provided image is a 1.4 something. How to shrink that? Or is there a Squeak image I could run instead of a pharo one just for tests?

ScriptLoader new cleanUpForProduction. 

cheers,
Esteban


Rgds,
philippe

2012/4/11 Esteban Lorenzano <[hidden email]>
congrats!

you succeed by touching CMakeMaker or by removing undesired path by hand, in Xcode project?

Esteban

On Apr 11, 2012, at 9:16 PM, [hidden email] wrote:

Success!

I removed the platform variable in the main project and I am now able to run the thing on my iPad.

It looks ugly and Pharo complains about a lack of memory.

But it loads, I was able to show a world menu and a browser.

More later.  But it is already something.

Thanks for your help!

Phil

2012/4/11 Esteban Lorenzano <[hidden email]>
nop... configuration is fine (I used same for build VMs on jenkins)
I don't know what the problem is :(

On Apr 11, 2012, at 6:13 PM, [hidden email] wrote:

Something fetches .139 in there on the first:

(ConfigurationOfCog project version: '4.4') load.

When doing it *again*

(ConfigurationOfCog project version: '4.4') load.

It loads the .150 version.

I don't know why or how. But this is what happens.

Package-cache after first:

PhilMac:package-cache philippeback$ ls -l
total 7640
-rw-r--r--@ 1 philippeback  staff    39108 11 avr 18:03 Alien-Core-IgorStasenko.68.mcz
-rw-r--r--@ 1 philippeback  staff    28655 11 avr 18:03 Applescript-Core-SeanDeNigris.2.mcz
-rw-r--r--@ 1 philippeback  staff    10223 11 avr 18:03 Balloon-Engine-Pools-JB.2.mcz
-rw-r--r--@ 1 philippeback  staff   104943 11 avr 18:04 CMakeVMMaker-IgorStasenko.154.mcz
-rw-r--r--@ 1 philippeback  staff    86144 11 avr 18:04 Cog-eem.46.mcz
-rw-r--r--@ 1 philippeback  staff     3616 11 avr 18:03 CogVMMakerPharoCompatibility-MarianoMartinezPeck.3.mcz
-rw-r--r--@ 1 philippeback  staff    15512 11 avr 18:00 ConfigurationOfCog-EstebanLorenzano.60.mcz
-rw-r--r--@ 1 philippeback  staff     9370 11 avr 18:02 ConfigurationOfGofer-dkh.36.mcz
-rw-r--r--@ 1 philippeback  staff     4613 11 avr 18:02 ConfigurationOfHelpSystem-DaleHenrichs.13.mcz
-rw-r--r--@ 1 philippeback  staff   102918 11 avr 18:01 ConfigurationOfMetacello-dkh.675.mcz
-rw-r--r--@ 1 philippeback  staff     3799 11 avr 18:02 FFI-Pools-eem.3.mcz
-rw-r--r--@ 1 philippeback  staff    23387 11 avr 18:03 Freetype-Plugin-dtl.63.mcz
-rw-r--r--@ 1 philippeback  staff     8966 11 avr 18:01 Metacello-Base-DaleHenrichs.19.mcz
-rw-r--r--@ 1 philippeback  staff    88661 11 avr 18:01 Metacello-Core-dkh.465.mcz
-rw-r--r--@ 1 philippeback  staff    89663 11 avr 18:02 Metacello-Core-dkh.468.mcz
-rw-r--r--@ 1 philippeback  staff     7236 11 avr 18:02 Metacello-Help-dkh.11.mcz
-rw-r--r--@ 1 philippeback  staff   113626 11 avr 18:01 Metacello-MC-dkh.522.mcz
-rw-r--r--@ 1 philippeback  staff   116611 11 avr 18:02 Metacello-MC-dkh.531.mcz
-rw-r--r--@ 1 philippeback  staff     5693 11 avr 18:02 Metacello-Platform.pharo-DaleHenrichs.25.mcz
-rw-r--r--@ 1 philippeback  staff     5942 11 avr 18:02 Metacello-Platform.pharo-dkh.27.mcz
-rw-r--r--@ 1 philippeback  staff    31656 11 avr 18:02 Metacello-ToolBox-dkh.107.mcz
-rw-r--r--@ 1 philippeback  staff    15280 11 avr 18:03 ObjectiveC-Plugin-John M McIntosh.20.mcz
-rw-r--r--@ 1 philippeback  staff     3701 11 avr 18:04 Qwaq-VMProfiling-Plugins-JB.5.mcz
-rw-r--r--@ 1 philippeback  staff     3401 11 avr 18:02 SharedPool-Speech-dtl.2.mcz
-rw-r--r--@ 1 philippeback  staff   214595 11 avr 18:03 Sound-MarianoMartinezPeck.67.mcz
-rw-r--r--@ 1 philippeback  staff    78189 11 avr 18:04 VMConstruction-Plugins-OSProcessPlugin.oscog-eem.32.mcz
-rw-r--r--@ 1 philippeback  staff  2649278 11 avr 18:03 VMMaker-oscog-EstebanLorenzano.139.mcz
PhilMac:package-cache philippeback$ Full load from zero.


After second load:

PhilMac:package-cache philippeback$ ls -l
total 12832
-rw-r--r--@ 1 philippeback  staff    39108 11 avr 18:03 Alien-Core-IgorStasenko.68.mcz
-rw-r--r--@ 1 philippeback  staff    28655 11 avr 18:03 Applescript-Core-SeanDeNigris.2.mcz
-rw-r--r--@ 1 philippeback  staff    10223 11 avr 18:03 Balloon-Engine-Pools-JB.2.mcz
-rw-r--r--@ 1 philippeback  staff   104943 11 avr 18:04 CMakeVMMaker-IgorStasenko.154.mcz
-rw-r--r--@ 1 philippeback  staff    86144 11 avr 18:04 Cog-eem.46.mcz
-rw-r--r--@ 1 philippeback  staff     3616 11 avr 18:03 CogVMMakerPharoCompatibility-MarianoMartinezPeck.3.mcz
-rw-r--r--@ 1 philippeback  staff    15512 11 avr 18:00 ConfigurationOfCog-EstebanLorenzano.60.mcz
-rw-r--r--@ 1 philippeback  staff     9370 11 avr 18:02 ConfigurationOfGofer-dkh.36.mcz
-rw-r--r--@ 1 philippeback  staff     4613 11 avr 18:02 ConfigurationOfHelpSystem-DaleHenrichs.13.mcz
-rw-r--r--@ 1 philippeback  staff   102918 11 avr 18:01 ConfigurationOfMetacello-dkh.675.mcz
-rw-r--r--@ 1 philippeback  staff     3799 11 avr 18:02 FFI-Pools-eem.3.mcz
-rw-r--r--@ 1 philippeback  staff    23387 11 avr 18:03 Freetype-Plugin-dtl.63.mcz
-rw-r--r--@ 1 philippeback  staff     8966 11 avr 18:01 Metacello-Base-DaleHenrichs.19.mcz
-rw-r--r--@ 1 philippeback  staff    88661 11 avr 18:01 Metacello-Core-dkh.465.mcz
-rw-r--r--@ 1 philippeback  staff    89663 11 avr 18:02 Metacello-Core-dkh.468.mcz
-rw-r--r--@ 1 philippeback  staff     7236 11 avr 18:02 Metacello-Help-dkh.11.mcz
-rw-r--r--@ 1 philippeback  staff   113626 11 avr 18:01 Metacello-MC-dkh.522.mcz
-rw-r--r--@ 1 philippeback  staff   116611 11 avr 18:02 Metacello-MC-dkh.531.mcz
-rw-r--r--@ 1 philippeback  staff     5693 11 avr 18:02 Metacello-Platform.pharo-DaleHenrichs.25.mcz
-rw-r--r--@ 1 philippeback  staff     5942 11 avr 18:02 Metacello-Platform.pharo-dkh.27.mcz
-rw-r--r--@ 1 philippeback  staff    31656 11 avr 18:02 Metacello-ToolBox-dkh.107.mcz
-rw-r--r--@ 1 philippeback  staff    15280 11 avr 18:03 ObjectiveC-Plugin-John M McIntosh.20.mcz
-rw-r--r--@ 1 philippeback  staff     3701 11 avr 18:04 Qwaq-VMProfiling-Plugins-JB.5.mcz
-rw-r--r--@ 1 philippeback  staff     3401 11 avr 18:02 SharedPool-Speech-dtl.2.mcz
-rw-r--r--@ 1 philippeback  staff   214595 11 avr 18:03 Sound-MarianoMartinezPeck.67.mcz
-rw-r--r--@ 1 philippeback  staff    78189 11 avr 18:04 VMConstruction-Plugins-OSProcessPlugin.oscog-eem.32.mcz
-rw-r--r--@ 1 philippeback  staff  2649278 11 avr 18:03 VMMaker-oscog-EstebanLorenzano.139.mcz
-rw-r--r--@ 1 philippeback  staff  2656869 11 avr 18:08 VMMaker-oscog-EstebanLorenzano.150.mcz

After the second load: IOSPlugin is in there, no problem.

There must be something wrong in the Metacello config.

Phil





2012/4/11 Esteban Lorenzano <[hidden email]>
that is strange, because you should have version VMMaker-oscog-EstebanLorenzano.150

On Apr 11, 2012, at 5:18 PM, [hidden email] 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 <[hidden email]>
which VMMaker package version do you have? (bacause it has to be there, in latests versions)

On Apr 11, 2012, at 4:48 PM, [hidden email] 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: <a href="tel:%2B32%280%29%20478%20650%20140" value="+32478650140" target="_blank">+32(0) 478 650 140 | Fax: <a href="tel:%2B32%20%280%29%2070%20408%20027" value="+3270408027" target="_blank">+32 (0) 70 408 027 Mail: [hidden email] | Web: http://philippeback.eu | Blog:

High Octane SPRL
rue cour Boisacq 101
1301 Bierges





--
Philippe Back
"Helping you hit the top 3 outcomes you really want to achieve"

Mob: <a href="tel:%2B32%280%29%20478%20650%20140" value="+32478650140" target="_blank">+32(0) 478 650 140 | Fax: <a href="tel:%2B32%20%280%29%2070%20408%20027" value="+3270408027" target="_blank">+32 (0) 70 408 027 Mail: [hidden email] | Web: http://philippeback.eu | Blog:

High Octane SPRL
rue cour Boisacq 101
1301 Bierges





--
Philippe Back
"Helping you hit the top 3 outcomes you really want to achieve"

Mob: <a href="tel:%2B32%280%29%20478%20650%20140" value="+32478650140" target="_blank">+32(0) 478 650 140 | Fax: <a href="tel:%2B32%20%280%29%2070%20408%20027" value="+3270408027" target="_blank">+32 (0) 70 408 027 Mail: [hidden email] | Web: http://philippeback.eu | Blog:

High Octane SPRL
rue cour Boisacq 101
1301 Bierges





--
Philippe Back
"Helping you hit the top 3 outcomes you really want to achieve"

Mob: <a href="tel:%2B32%280%29%20478%20650%20140" value="+32478650140" target="_blank">+32(0) 478 650 140 | Fax: <a href="tel:%2B32%20%280%29%2070%20408%20027" value="+3270408027" target="_blank">+32 (0) 70 408 027 Mail: [hidden email] | Web: http://philippeback.eu | Blog:

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: [hidden email] | Web: http://philippeback.eu | Blog:

High Octane SPRL
rue cour Boisacq 101
1301 Bierges


Reply | Threaded
Open this post in threaded view
|

Re: Vm on iOS with Xcode 4.3

EstebanLM
In reply to this post by philippeback
yes... you have and error on your image... that's why is so slow too.
your image is a pharo1.4 with ObjectiveCBridge2 and iPhone-Events installed?

if true, I need to check what happens there... can you send me your image by priv mail?


On Apr 11, 2012, at 11:26 PM, [hidden email] wrote:

Other thing:

The debug console in Xcode shows an endless stream of >>STARTING SMALLTALK LOG<< like mad, works for a while, I get a memory error and then a dump.

Check attachment.


2012/4/11 Esteban Lorenzano <[hidden email]>
Hi,

On Apr 11, 2012, at 10:18 PM, [hidden email] wrote:

It was late. So, I removed the extra variable on the top config and the rest followed suit.

yeah, I need to reproduce that on cmake level... should be easy, but I have no idea of what I need to change. 


Now, the VM seems to be either eating too much memory or not having enough available.

plain image is a memory eater... for production you need a smaller one (10-15m images works fine, bigger starts to have memory issues)


Reading from John Mc Intosh text, it seems that his iSqueak VM had settings to configure that. They seem absent from the iStackVM as build.

not anymore (for now). You need to touch that by hand, on startup sequence (I will send the right place tomorrow). 


Also, a nib file isn't editable in Xcode 4.3 --> xib may be better now. We may have to recreate.

yup, but make can't compile xibs (that's why I'm using nib, I need make to automatize process and create a jenkins job. In future cmakemaker versions I will add an external compilation for that, but for now is ok like that)... you can just change nib with corresponding xib (it is there too).


I see that the iPhone image in the resources folder contains customizations for iPhone (I think this is mostly for touch stuff). Is there any doc about that?

yes, is to allow image to handle complex events. It also installs ObjectiveCBridge2 to allow some interaction with machine. Sadly no, there is no documentation, just the code. 


Main concern now: how to configure the amount of RAM for the system?

answered (partially) up


Another problem is that the screen doesn't resizes when rotated. We may want to lock those things down.

it should rotate... after you install iPhone package.


I see that the provided image is a 1.4 something. How to shrink that? Or is there a Squeak image I could run instead of a pharo one just for tests?

ScriptLoader new cleanUpForProduction. 

cheers,
Esteban


Rgds,
philippe

2012/4/11 Esteban Lorenzano <[hidden email]>
congrats!

you succeed by touching CMakeMaker or by removing undesired path by hand, in Xcode project?

Esteban

On Apr 11, 2012, at 9:16 PM, [hidden email] wrote:

Success!

I removed the platform variable in the main project and I am now able to run the thing on my iPad.

It looks ugly and Pharo complains about a lack of memory.

But it loads, I was able to show a world menu and a browser.

More later.  But it is already something.

Thanks for your help!

Phil

2012/4/11 Esteban Lorenzano <[hidden email]>
nop... configuration is fine (I used same for build VMs on jenkins)
I don't know what the problem is :(

On Apr 11, 2012, at 6:13 PM, [hidden email] wrote:

Something fetches .139 in there on the first:

(ConfigurationOfCog project version: '4.4') load.

When doing it *again*

(ConfigurationOfCog project version: '4.4') load.

It loads the .150 version.

I don't know why or how. But this is what happens.

Package-cache after first:

PhilMac:package-cache philippeback$ ls -l
total 7640
-rw-r--r--@ 1 philippeback  staff    39108 11 avr 18:03 Alien-Core-IgorStasenko.68.mcz
-rw-r--r--@ 1 philippeback  staff    28655 11 avr 18:03 Applescript-Core-SeanDeNigris.2.mcz
-rw-r--r--@ 1 philippeback  staff    10223 11 avr 18:03 Balloon-Engine-Pools-JB.2.mcz
-rw-r--r--@ 1 philippeback  staff   104943 11 avr 18:04 CMakeVMMaker-IgorStasenko.154.mcz
-rw-r--r--@ 1 philippeback  staff    86144 11 avr 18:04 Cog-eem.46.mcz
-rw-r--r--@ 1 philippeback  staff     3616 11 avr 18:03 CogVMMakerPharoCompatibility-MarianoMartinezPeck.3.mcz
-rw-r--r--@ 1 philippeback  staff    15512 11 avr 18:00 ConfigurationOfCog-EstebanLorenzano.60.mcz
-rw-r--r--@ 1 philippeback  staff     9370 11 avr 18:02 ConfigurationOfGofer-dkh.36.mcz
-rw-r--r--@ 1 philippeback  staff     4613 11 avr 18:02 ConfigurationOfHelpSystem-DaleHenrichs.13.mcz
-rw-r--r--@ 1 philippeback  staff   102918 11 avr 18:01 ConfigurationOfMetacello-dkh.675.mcz
-rw-r--r--@ 1 philippeback  staff     3799 11 avr 18:02 FFI-Pools-eem.3.mcz
-rw-r--r--@ 1 philippeback  staff    23387 11 avr 18:03 Freetype-Plugin-dtl.63.mcz
-rw-r--r--@ 1 philippeback  staff     8966 11 avr 18:01 Metacello-Base-DaleHenrichs.19.mcz
-rw-r--r--@ 1 philippeback  staff    88661 11 avr 18:01 Metacello-Core-dkh.465.mcz
-rw-r--r--@ 1 philippeback  staff    89663 11 avr 18:02 Metacello-Core-dkh.468.mcz
-rw-r--r--@ 1 philippeback  staff     7236 11 avr 18:02 Metacello-Help-dkh.11.mcz
-rw-r--r--@ 1 philippeback  staff   113626 11 avr 18:01 Metacello-MC-dkh.522.mcz
-rw-r--r--@ 1 philippeback  staff   116611 11 avr 18:02 Metacello-MC-dkh.531.mcz
-rw-r--r--@ 1 philippeback  staff     5693 11 avr 18:02 Metacello-Platform.pharo-DaleHenrichs.25.mcz
-rw-r--r--@ 1 philippeback  staff     5942 11 avr 18:02 Metacello-Platform.pharo-dkh.27.mcz
-rw-r--r--@ 1 philippeback  staff    31656 11 avr 18:02 Metacello-ToolBox-dkh.107.mcz
-rw-r--r--@ 1 philippeback  staff    15280 11 avr 18:03 ObjectiveC-Plugin-John M McIntosh.20.mcz
-rw-r--r--@ 1 philippeback  staff     3701 11 avr 18:04 Qwaq-VMProfiling-Plugins-JB.5.mcz
-rw-r--r--@ 1 philippeback  staff     3401 11 avr 18:02 SharedPool-Speech-dtl.2.mcz
-rw-r--r--@ 1 philippeback  staff   214595 11 avr 18:03 Sound-MarianoMartinezPeck.67.mcz
-rw-r--r--@ 1 philippeback  staff    78189 11 avr 18:04 VMConstruction-Plugins-OSProcessPlugin.oscog-eem.32.mcz
-rw-r--r--@ 1 philippeback  staff  2649278 11 avr 18:03 VMMaker-oscog-EstebanLorenzano.139.mcz
PhilMac:package-cache philippeback$ Full load from zero.


After second load:

PhilMac:package-cache philippeback$ ls -l
total 12832
-rw-r--r--@ 1 philippeback  staff    39108 11 avr 18:03 Alien-Core-IgorStasenko.68.mcz
-rw-r--r--@ 1 philippeback  staff    28655 11 avr 18:03 Applescript-Core-SeanDeNigris.2.mcz
-rw-r--r--@ 1 philippeback  staff    10223 11 avr 18:03 Balloon-Engine-Pools-JB.2.mcz
-rw-r--r--@ 1 philippeback  staff   104943 11 avr 18:04 CMakeVMMaker-IgorStasenko.154.mcz
-rw-r--r--@ 1 philippeback  staff    86144 11 avr 18:04 Cog-eem.46.mcz
-rw-r--r--@ 1 philippeback  staff     3616 11 avr 18:03 CogVMMakerPharoCompatibility-MarianoMartinezPeck.3.mcz
-rw-r--r--@ 1 philippeback  staff    15512 11 avr 18:00 ConfigurationOfCog-EstebanLorenzano.60.mcz
-rw-r--r--@ 1 philippeback  staff     9370 11 avr 18:02 ConfigurationOfGofer-dkh.36.mcz
-rw-r--r--@ 1 philippeback  staff     4613 11 avr 18:02 ConfigurationOfHelpSystem-DaleHenrichs.13.mcz
-rw-r--r--@ 1 philippeback  staff   102918 11 avr 18:01 ConfigurationOfMetacello-dkh.675.mcz
-rw-r--r--@ 1 philippeback  staff     3799 11 avr 18:02 FFI-Pools-eem.3.mcz
-rw-r--r--@ 1 philippeback  staff    23387 11 avr 18:03 Freetype-Plugin-dtl.63.mcz
-rw-r--r--@ 1 philippeback  staff     8966 11 avr 18:01 Metacello-Base-DaleHenrichs.19.mcz
-rw-r--r--@ 1 philippeback  staff    88661 11 avr 18:01 Metacello-Core-dkh.465.mcz
-rw-r--r--@ 1 philippeback  staff    89663 11 avr 18:02 Metacello-Core-dkh.468.mcz
-rw-r--r--@ 1 philippeback  staff     7236 11 avr 18:02 Metacello-Help-dkh.11.mcz
-rw-r--r--@ 1 philippeback  staff   113626 11 avr 18:01 Metacello-MC-dkh.522.mcz
-rw-r--r--@ 1 philippeback  staff   116611 11 avr 18:02 Metacello-MC-dkh.531.mcz
-rw-r--r--@ 1 philippeback  staff     5693 11 avr 18:02 Metacello-Platform.pharo-DaleHenrichs.25.mcz
-rw-r--r--@ 1 philippeback  staff     5942 11 avr 18:02 Metacello-Platform.pharo-dkh.27.mcz
-rw-r--r--@ 1 philippeback  staff    31656 11 avr 18:02 Metacello-ToolBox-dkh.107.mcz
-rw-r--r--@ 1 philippeback  staff    15280 11 avr 18:03 ObjectiveC-Plugin-John M McIntosh.20.mcz
-rw-r--r--@ 1 philippeback  staff     3701 11 avr 18:04 Qwaq-VMProfiling-Plugins-JB.5.mcz
-rw-r--r--@ 1 philippeback  staff     3401 11 avr 18:02 SharedPool-Speech-dtl.2.mcz
-rw-r--r--@ 1 philippeback  staff   214595 11 avr 18:03 Sound-MarianoMartinezPeck.67.mcz
-rw-r--r--@ 1 philippeback  staff    78189 11 avr 18:04 VMConstruction-Plugins-OSProcessPlugin.oscog-eem.32.mcz
-rw-r--r--@ 1 philippeback  staff  2649278 11 avr 18:03 VMMaker-oscog-EstebanLorenzano.139.mcz
-rw-r--r--@ 1 philippeback  staff  2656869 11 avr 18:08 VMMaker-oscog-EstebanLorenzano.150.mcz

After the second load: IOSPlugin is in there, no problem.

There must be something wrong in the Metacello config.

Phil





2012/4/11 Esteban Lorenzano <[hidden email]>
that is strange, because you should have version VMMaker-oscog-EstebanLorenzano.150

On Apr 11, 2012, at 5:18 PM, [hidden email] 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 <[hidden email]>
which VMMaker package version do you have? (bacause it has to be there, in latests versions)

On Apr 11, 2012, at 4:48 PM, [hidden email] 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: <a href="tel:%2B32%280%29%20478%20650%20140" value="+32478650140" target="_blank">+32(0) 478 650 140 | Fax: <a href="tel:%2B32%20%280%29%2070%20408%20027" value="+3270408027" target="_blank">+32 (0) 70 408 027 Mail: [hidden email] | Web: http://philippeback.eu | Blog:

High Octane SPRL
rue cour Boisacq 101
1301 Bierges





--
Philippe Back
"Helping you hit the top 3 outcomes you really want to achieve"

Mob: <a href="tel:%2B32%280%29%20478%20650%20140" value="+32478650140" target="_blank">+32(0) 478 650 140 | Fax: <a href="tel:%2B32%20%280%29%2070%20408%20027" value="+3270408027" target="_blank">+32 (0) 70 408 027 Mail: [hidden email] | Web: http://philippeback.eu | Blog:

High Octane SPRL
rue cour Boisacq 101
1301 Bierges





--
Philippe Back
"Helping you hit the top 3 outcomes you really want to achieve"

Mob: <a href="tel:%2B32%280%29%20478%20650%20140" value="+32478650140" target="_blank">+32(0) 478 650 140 | Fax: <a href="tel:%2B32%20%280%29%2070%20408%20027" value="+3270408027" target="_blank">+32 (0) 70 408 027 Mail: [hidden email] | Web: http://philippeback.eu | Blog:

High Octane SPRL
rue cour Boisacq 101
1301 Bierges





--
Philippe Back
"Helping you hit the top 3 outcomes you really want to achieve"

Mob: <a href="tel:%2B32%280%29%20478%20650%20140" value="+32478650140" target="_blank">+32(0) 478 650 140 | Fax: <a href="tel:%2B32%20%280%29%2070%20408%20027" value="+3270408027" target="_blank">+32 (0) 70 408 027 Mail: [hidden email] | Web: http://philippeback.eu | Blog:

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: [hidden email] | Web: http://philippeback.eu | Blog:

High Octane SPRL
rue cour Boisacq 101
1301 Bierges

<log.rtf>

Reply | Threaded
Open this post in threaded view
|

Re: Vm on iOS with Xcode 4.3

philippeback
I do not have ObjectiveCBridge2 I think. Only ObjectiveCBridge.

See screenshots.

The image is the one in blessed/iosbuild/resources/iPhone.image

No problem loading what is needed. Where is it?

Phil

2012/4/12 Esteban Lorenzano <[hidden email]>
yes... you have and error on your image... that's why is so slow too.
your image is a pharo1.4 with ObjectiveCBridge2 and iPhone-Events installed?

if true, I need to check what happens there... can you send me your image by priv mail?


On Apr 11, 2012, at 11:26 PM, [hidden email] wrote:

Other thing:

The debug console in Xcode shows an endless stream of >>STARTING SMALLTALK LOG<< like mad, works for a while, I get a memory error and then a dump.

Check attachment.


2012/4/11 Esteban Lorenzano <[hidden email]>
Hi,

On Apr 11, 2012, at 10:18 PM, [hidden email] wrote:

It was late. So, I removed the extra variable on the top config and the rest followed suit.

yeah, I need to reproduce that on cmake level... should be easy, but I have no idea of what I need to change. 


Now, the VM seems to be either eating too much memory or not having enough available.

plain image is a memory eater... for production you need a smaller one (10-15m images works fine, bigger starts to have memory issues)


Reading from John Mc Intosh text, it seems that his iSqueak VM had settings to configure that. They seem absent from the iStackVM as build.

not anymore (for now). You need to touch that by hand, on startup sequence (I will send the right place tomorrow). 


Also, a nib file isn't editable in Xcode 4.3 --> xib may be better now. We may have to recreate.

yup, but make can't compile xibs (that's why I'm using nib, I need make to automatize process and create a jenkins job. In future cmakemaker versions I will add an external compilation for that, but for now is ok like that)... you can just change nib with corresponding xib (it is there too).


I see that the iPhone image in the resources folder contains customizations for iPhone (I think this is mostly for touch stuff). Is there any doc about that?

yes, is to allow image to handle complex events. It also installs ObjectiveCBridge2 to allow some interaction with machine. Sadly no, there is no documentation, just the code. 


Main concern now: how to configure the amount of RAM for the system?

answered (partially) up


Another problem is that the screen doesn't resizes when rotated. We may want to lock those things down.

it should rotate... after you install iPhone package.


I see that the provided image is a 1.4 something. How to shrink that? Or is there a Squeak image I could run instead of a pharo one just for tests?

ScriptLoader new cleanUpForProduction. 

cheers,
Esteban


Rgds,
philippe

2012/4/11 Esteban Lorenzano <[hidden email]>
congrats!

you succeed by touching CMakeMaker or by removing undesired path by hand, in Xcode project?

Esteban

On Apr 11, 2012, at 9:16 PM, [hidden email] wrote:

Success!

I removed the platform variable in the main project and I am now able to run the thing on my iPad.

It looks ugly and Pharo complains about a lack of memory.

But it loads, I was able to show a world menu and a browser.

More later.  But it is already something.

Thanks for your help!

Phil

2012/4/11 Esteban Lorenzano <[hidden email]>
nop... configuration is fine (I used same for build VMs on jenkins)
I don't know what the problem is :(

On Apr 11, 2012, at 6:13 PM, [hidden email] wrote:

Something fetches .139 in there on the first:

(ConfigurationOfCog project version: '4.4') load.

When doing it *again*

(ConfigurationOfCog project version: '4.4') load.

It loads the .150 version.

I don't know why or how. But this is what happens.

Package-cache after first:

PhilMac:package-cache philippeback$ ls -l
total 7640
-rw-r--r--@ 1 philippeback  staff    39108 11 avr 18:03 Alien-Core-IgorStasenko.68.mcz
-rw-r--r--@ 1 philippeback  staff    28655 11 avr 18:03 Applescript-Core-SeanDeNigris.2.mcz
-rw-r--r--@ 1 philippeback  staff    10223 11 avr 18:03 Balloon-Engine-Pools-JB.2.mcz
-rw-r--r--@ 1 philippeback  staff   104943 11 avr 18:04 CMakeVMMaker-IgorStasenko.154.mcz
-rw-r--r--@ 1 philippeback  staff    86144 11 avr 18:04 Cog-eem.46.mcz
-rw-r--r--@ 1 philippeback  staff     3616 11 avr 18:03 CogVMMakerPharoCompatibility-MarianoMartinezPeck.3.mcz
-rw-r--r--@ 1 philippeback  staff    15512 11 avr 18:00 ConfigurationOfCog-EstebanLorenzano.60.mcz
-rw-r--r--@ 1 philippeback  staff     9370 11 avr 18:02 ConfigurationOfGofer-dkh.36.mcz
-rw-r--r--@ 1 philippeback  staff     4613 11 avr 18:02 ConfigurationOfHelpSystem-DaleHenrichs.13.mcz
-rw-r--r--@ 1 philippeback  staff   102918 11 avr 18:01 ConfigurationOfMetacello-dkh.675.mcz
-rw-r--r--@ 1 philippeback  staff     3799 11 avr 18:02 FFI-Pools-eem.3.mcz
-rw-r--r--@ 1 philippeback  staff    23387 11 avr 18:03 Freetype-Plugin-dtl.63.mcz
-rw-r--r--@ 1 philippeback  staff     8966 11 avr 18:01 Metacello-Base-DaleHenrichs.19.mcz
-rw-r--r--@ 1 philippeback  staff    88661 11 avr 18:01 Metacello-Core-dkh.465.mcz
-rw-r--r--@ 1 philippeback  staff    89663 11 avr 18:02 Metacello-Core-dkh.468.mcz
-rw-r--r--@ 1 philippeback  staff     7236 11 avr 18:02 Metacello-Help-dkh.11.mcz
-rw-r--r--@ 1 philippeback  staff   113626 11 avr 18:01 Metacello-MC-dkh.522.mcz
-rw-r--r--@ 1 philippeback  staff   116611 11 avr 18:02 Metacello-MC-dkh.531.mcz
-rw-r--r--@ 1 philippeback  staff     5693 11 avr 18:02 Metacello-Platform.pharo-DaleHenrichs.25.mcz
-rw-r--r--@ 1 philippeback  staff     5942 11 avr 18:02 Metacello-Platform.pharo-dkh.27.mcz
-rw-r--r--@ 1 philippeback  staff    31656 11 avr 18:02 Metacello-ToolBox-dkh.107.mcz
-rw-r--r--@ 1 philippeback  staff    15280 11 avr 18:03 ObjectiveC-Plugin-John M McIntosh.20.mcz
-rw-r--r--@ 1 philippeback  staff     3701 11 avr 18:04 Qwaq-VMProfiling-Plugins-JB.5.mcz
-rw-r--r--@ 1 philippeback  staff     3401 11 avr 18:02 SharedPool-Speech-dtl.2.mcz
-rw-r--r--@ 1 philippeback  staff   214595 11 avr 18:03 Sound-MarianoMartinezPeck.67.mcz
-rw-r--r--@ 1 philippeback  staff    78189 11 avr 18:04 VMConstruction-Plugins-OSProcessPlugin.oscog-eem.32.mcz
-rw-r--r--@ 1 philippeback  staff  2649278 11 avr 18:03 VMMaker-oscog-EstebanLorenzano.139.mcz
PhilMac:package-cache philippeback$ Full load from zero.


After second load:

PhilMac:package-cache philippeback$ ls -l
total 12832
-rw-r--r--@ 1 philippeback  staff    39108 11 avr 18:03 Alien-Core-IgorStasenko.68.mcz
-rw-r--r--@ 1 philippeback  staff    28655 11 avr 18:03 Applescript-Core-SeanDeNigris.2.mcz
-rw-r--r--@ 1 philippeback  staff    10223 11 avr 18:03 Balloon-Engine-Pools-JB.2.mcz
-rw-r--r--@ 1 philippeback  staff   104943 11 avr 18:04 CMakeVMMaker-IgorStasenko.154.mcz
-rw-r--r--@ 1 philippeback  staff    86144 11 avr 18:04 Cog-eem.46.mcz
-rw-r--r--@ 1 philippeback  staff     3616 11 avr 18:03 CogVMMakerPharoCompatibility-MarianoMartinezPeck.3.mcz
-rw-r--r--@ 1 philippeback  staff    15512 11 avr 18:00 ConfigurationOfCog-EstebanLorenzano.60.mcz
-rw-r--r--@ 1 philippeback  staff     9370 11 avr 18:02 ConfigurationOfGofer-dkh.36.mcz
-rw-r--r--@ 1 philippeback  staff     4613 11 avr 18:02 ConfigurationOfHelpSystem-DaleHenrichs.13.mcz
-rw-r--r--@ 1 philippeback  staff   102918 11 avr 18:01 ConfigurationOfMetacello-dkh.675.mcz
-rw-r--r--@ 1 philippeback  staff     3799 11 avr 18:02 FFI-Pools-eem.3.mcz
-rw-r--r--@ 1 philippeback  staff    23387 11 avr 18:03 Freetype-Plugin-dtl.63.mcz
-rw-r--r--@ 1 philippeback  staff     8966 11 avr 18:01 Metacello-Base-DaleHenrichs.19.mcz
-rw-r--r--@ 1 philippeback  staff    88661 11 avr 18:01 Metacello-Core-dkh.465.mcz
-rw-r--r--@ 1 philippeback  staff    89663 11 avr 18:02 Metacello-Core-dkh.468.mcz
-rw-r--r--@ 1 philippeback  staff     7236 11 avr 18:02 Metacello-Help-dkh.11.mcz
-rw-r--r--@ 1 philippeback  staff   113626 11 avr 18:01 Metacello-MC-dkh.522.mcz
-rw-r--r--@ 1 philippeback  staff   116611 11 avr 18:02 Metacello-MC-dkh.531.mcz
-rw-r--r--@ 1 philippeback  staff     5693 11 avr 18:02 Metacello-Platform.pharo-DaleHenrichs.25.mcz
-rw-r--r--@ 1 philippeback  staff     5942 11 avr 18:02 Metacello-Platform.pharo-dkh.27.mcz
-rw-r--r--@ 1 philippeback  staff    31656 11 avr 18:02 Metacello-ToolBox-dkh.107.mcz
-rw-r--r--@ 1 philippeback  staff    15280 11 avr 18:03 ObjectiveC-Plugin-John M McIntosh.20.mcz
-rw-r--r--@ 1 philippeback  staff     3701 11 avr 18:04 Qwaq-VMProfiling-Plugins-JB.5.mcz
-rw-r--r--@ 1 philippeback  staff     3401 11 avr 18:02 SharedPool-Speech-dtl.2.mcz
-rw-r--r--@ 1 philippeback  staff   214595 11 avr 18:03 Sound-MarianoMartinezPeck.67.mcz
-rw-r--r--@ 1 philippeback  staff    78189 11 avr 18:04 VMConstruction-Plugins-OSProcessPlugin.oscog-eem.32.mcz
-rw-r--r--@ 1 philippeback  staff  2649278 11 avr 18:03 VMMaker-oscog-EstebanLorenzano.139.mcz
-rw-r--r--@ 1 philippeback  staff  2656869 11 avr 18:08 VMMaker-oscog-EstebanLorenzano.150.mcz

After the second load: IOSPlugin is in there, no problem.

There must be something wrong in the Metacello config.

Phil





2012/4/11 Esteban Lorenzano <[hidden email]>
that is strange, because you should have version VMMaker-oscog-EstebanLorenzano.150

On Apr 11, 2012, at 5:18 PM, [hidden email] 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 <[hidden email]>
which VMMaker package version do you have? (bacause it has to be there, in latests versions)

On Apr 11, 2012, at 4:48 PM, [hidden email] 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: <a href="tel:%2B32%280%29%20478%20650%20140" value="+32478650140" target="_blank">+32(0) 478 650 140 | Fax: <a href="tel:%2B32%20%280%29%2070%20408%20027" value="+3270408027" target="_blank">+32 (0) 70 408 027 Mail: [hidden email] | Web: http://philippeback.eu | Blog:

High Octane SPRL
rue cour Boisacq 101
1301 Bierges





--
Philippe Back
"Helping you hit the top 3 outcomes you really want to achieve"

Mob: <a href="tel:%2B32%280%29%20478%20650%20140" value="+32478650140" target="_blank">+32(0) 478 650 140 | Fax: <a href="tel:%2B32%20%280%29%2070%20408%20027" value="+3270408027" target="_blank">+32 (0) 70 408 027 Mail: [hidden email] | Web: http://philippeback.eu | Blog:

High Octane SPRL
rue cour Boisacq 101
1301 Bierges





--
Philippe Back
"Helping you hit the top 3 outcomes you really want to achieve"

Mob: <a href="tel:%2B32%280%29%20478%20650%20140" value="+32478650140" target="_blank">+32(0) 478 650 140 | Fax: <a href="tel:%2B32%20%280%29%2070%20408%20027" value="+3270408027" target="_blank">+32 (0) 70 408 027 Mail: [hidden email] | Web: http://philippeback.eu | Blog:

High Octane SPRL
rue cour Boisacq 101
1301 Bierges





--
Philippe Back
"Helping you hit the top 3 outcomes you really want to achieve"

Mob: <a href="tel:%2B32%280%29%20478%20650%20140" value="+32478650140" target="_blank">+32(0) 478 650 140 | Fax: <a href="tel:%2B32%20%280%29%2070%20408%20027" value="+3270408027" target="_blank">+32 (0) 70 408 027 Mail: [hidden email] | Web: http://philippeback.eu | Blog:

High Octane SPRL
rue cour Boisacq 101
1301 Bierges





--
Philippe Back
"Helping you hit the top 3 outcomes you really want to achieve"

Mob: <a href="tel:%2B32%280%29%20478%20650%20140" value="+32478650140" target="_blank">+32(0) 478 650 140 | Fax: <a href="tel:%2B32%20%280%29%2070%20408%20027" value="+3270408027" target="_blank">+32 (0) 70 408 027 Mail: [hidden email] | Web: http://philippeback.eu | Blog:

High Octane SPRL
rue cour Boisacq 101
1301 Bierges

<log.rtf>




--
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: [hidden email] | Web: http://philippeback.eu | Blog:

High Octane SPRL
rue cour Boisacq 101
1301 Bierges


PharoScreenshot.1.png (104K) Download Attachment
PharoScreenshot.2.png (61K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Vm on iOS with Xcode 4.3

Marcus Denker-4
In reply to this post by EstebanLM

On Apr 11, 2012, at 11:24 PM, [hidden email] wrote:

> Ok.
>
> Looks like there is no pharocore1.4 on Jenkins. Or is it me? I can spot a 1.3 Core but no 1.4

We decided to only have one thing that is called Pharo. It is (more or less) what was PharoCore.

For Pavel's image:

        https://ci.lille.inria.fr/pharo/job/Pharo%20Kernel%201.4/


Of course the plan is to merge this work with the work on Bootstrapping and do it all the right way...
so at some point "Pharo" will be build from packages out of some very small Seed.

        Marcus

--
Marcus Denker -- http://marcusdenker.de


Reply | Threaded
Open this post in threaded view
|

Re: Vm on iOS with Xcode 4.3

philippeback
Well, ok. Downloaded that. But there isn't much use for me on iOS since there is no UI or anything.
I guess I need more education of those matters.

Phil

2012/4/12 Marcus Denker <[hidden email]>

On Apr 11, 2012, at 11:24 PM, [hidden email] wrote:

> Ok.
>
> Looks like there is no pharocore1.4 on Jenkins. Or is it me? I can spot a 1.3 Core but no 1.4

We decided to only have one thing that is called Pharo. It is (more or less) what was PharoCore.

For Pavel's image:

       https://ci.lille.inria.fr/pharo/job/Pharo%20Kernel%201.4/


Of course the plan is to merge this work with the work on Bootstrapping and do it all the right way...
so at some point "Pharo" will be build from packages out of some very small Seed.

       Marcus

--
Marcus Denker -- http://marcusdenker.de





--
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: [hidden email] | Web: http://philippeback.eu | Blog:

High Octane SPRL
rue cour Boisacq 101
1301 Bierges

Reply | Threaded
Open this post in threaded view
|

Re: Vm on iOS with Xcode 4.3

Marcus Denker-4
In reply to this post by Marcus Denker-4

On Apr 12, 2012, at 9:43 AM, [hidden email] wrote:

> Well, ok. Downloaded that. But there isn't much use for me on iOS since there is no UI or anything.

Yes, it's so small that it has no UI... the idea is that we will split up the Morphic Moloch and then
have a smaller image with a smal UI.

> I guess I need more education of those matters.

No, it's just work in progress... it takes a lot of effort to build things that others can use and build uppon.
But we will get there.

In the end this is the idea: to build things that we can build on top. In the sense that what we will be able
to do would have been just impossible without laying these foundations...

        Marcus

--
Marcus Denker -- http://marcusdenker.de


Reply | Threaded
Open this post in threaded view
|

Re: Vm on iOS with Xcode 4.3

EstebanLM
In reply to this post by philippeback
no, that's ObjectiveCBridge2. 
send me your image or put it in a public dropbox :)

On Apr 12, 2012, at 8:52 AM, [hidden email] wrote:

I do not have ObjectiveCBridge2 I think. Only ObjectiveCBridge.

See screenshots.

The image is the one in blessed/iosbuild/resources/iPhone.image

No problem loading what is needed. Where is it?

Phil

2012/4/12 Esteban Lorenzano <[hidden email]>
yes... you have and error on your image... that's why is so slow too.
your image is a pharo1.4 with ObjectiveCBridge2 and iPhone-Events installed?

if true, I need to check what happens there... can you send me your image by priv mail?


On Apr 11, 2012, at 11:26 PM, [hidden email] wrote:

Other thing:

The debug console in Xcode shows an endless stream of >>STARTING SMALLTALK LOG<< like mad, works for a while, I get a memory error and then a dump.

Check attachment.


2012/4/11 Esteban Lorenzano <[hidden email]>
Hi,

On Apr 11, 2012, at 10:18 PM, [hidden email] wrote:

It was late. So, I removed the extra variable on the top config and the rest followed suit.

yeah, I need to reproduce that on cmake level... should be easy, but I have no idea of what I need to change. 


Now, the VM seems to be either eating too much memory or not having enough available.

plain image is a memory eater... for production you need a smaller one (10-15m images works fine, bigger starts to have memory issues)


Reading from John Mc Intosh text, it seems that his iSqueak VM had settings to configure that. They seem absent from the iStackVM as build.

not anymore (for now). You need to touch that by hand, on startup sequence (I will send the right place tomorrow). 


Also, a nib file isn't editable in Xcode 4.3 --> xib may be better now. We may have to recreate.

yup, but make can't compile xibs (that's why I'm using nib, I need make to automatize process and create a jenkins job. In future cmakemaker versions I will add an external compilation for that, but for now is ok like that)... you can just change nib with corresponding xib (it is there too).


I see that the iPhone image in the resources folder contains customizations for iPhone (I think this is mostly for touch stuff). Is there any doc about that?

yes, is to allow image to handle complex events. It also installs ObjectiveCBridge2 to allow some interaction with machine. Sadly no, there is no documentation, just the code. 


Main concern now: how to configure the amount of RAM for the system?

answered (partially) up


Another problem is that the screen doesn't resizes when rotated. We may want to lock those things down.

it should rotate... after you install iPhone package.


I see that the provided image is a 1.4 something. How to shrink that? Or is there a Squeak image I could run instead of a pharo one just for tests?

ScriptLoader new cleanUpForProduction. 

cheers,
Esteban


Rgds,
philippe

2012/4/11 Esteban Lorenzano <[hidden email]>
congrats!

you succeed by touching CMakeMaker or by removing undesired path by hand, in Xcode project?

Esteban

On Apr 11, 2012, at 9:16 PM, [hidden email] wrote:

Success!

I removed the platform variable in the main project and I am now able to run the thing on my iPad.

It looks ugly and Pharo complains about a lack of memory.

But it loads, I was able to show a world menu and a browser.

More later.  But it is already something.

Thanks for your help!

Phil

2012/4/11 Esteban Lorenzano <[hidden email]>
nop... configuration is fine (I used same for build VMs on jenkins)
I don't know what the problem is :(

On Apr 11, 2012, at 6:13 PM, [hidden email] wrote:

Something fetches .139 in there on the first:

(ConfigurationOfCog project version: '4.4') load.

When doing it *again*

(ConfigurationOfCog project version: '4.4') load.

It loads the .150 version.

I don't know why or how. But this is what happens.

Package-cache after first:

PhilMac:package-cache philippeback$ ls -l
total 7640
-rw-r--r--@ 1 philippeback  staff    39108 11 avr 18:03 Alien-Core-IgorStasenko.68.mcz
-rw-r--r--@ 1 philippeback  staff    28655 11 avr 18:03 Applescript-Core-SeanDeNigris.2.mcz
-rw-r--r--@ 1 philippeback  staff    10223 11 avr 18:03 Balloon-Engine-Pools-JB.2.mcz
-rw-r--r--@ 1 philippeback  staff   104943 11 avr 18:04 CMakeVMMaker-IgorStasenko.154.mcz
-rw-r--r--@ 1 philippeback  staff    86144 11 avr 18:04 Cog-eem.46.mcz
-rw-r--r--@ 1 philippeback  staff     3616 11 avr 18:03 CogVMMakerPharoCompatibility-MarianoMartinezPeck.3.mcz
-rw-r--r--@ 1 philippeback  staff    15512 11 avr 18:00 ConfigurationOfCog-EstebanLorenzano.60.mcz
-rw-r--r--@ 1 philippeback  staff     9370 11 avr 18:02 ConfigurationOfGofer-dkh.36.mcz
-rw-r--r--@ 1 philippeback  staff     4613 11 avr 18:02 ConfigurationOfHelpSystem-DaleHenrichs.13.mcz
-rw-r--r--@ 1 philippeback  staff   102918 11 avr 18:01 ConfigurationOfMetacello-dkh.675.mcz
-rw-r--r--@ 1 philippeback  staff     3799 11 avr 18:02 FFI-Pools-eem.3.mcz
-rw-r--r--@ 1 philippeback  staff    23387 11 avr 18:03 Freetype-Plugin-dtl.63.mcz
-rw-r--r--@ 1 philippeback  staff     8966 11 avr 18:01 Metacello-Base-DaleHenrichs.19.mcz
-rw-r--r--@ 1 philippeback  staff    88661 11 avr 18:01 Metacello-Core-dkh.465.mcz
-rw-r--r--@ 1 philippeback  staff    89663 11 avr 18:02 Metacello-Core-dkh.468.mcz
-rw-r--r--@ 1 philippeback  staff     7236 11 avr 18:02 Metacello-Help-dkh.11.mcz
-rw-r--r--@ 1 philippeback  staff   113626 11 avr 18:01 Metacello-MC-dkh.522.mcz
-rw-r--r--@ 1 philippeback  staff   116611 11 avr 18:02 Metacello-MC-dkh.531.mcz
-rw-r--r--@ 1 philippeback  staff     5693 11 avr 18:02 Metacello-Platform.pharo-DaleHenrichs.25.mcz
-rw-r--r--@ 1 philippeback  staff     5942 11 avr 18:02 Metacello-Platform.pharo-dkh.27.mcz
-rw-r--r--@ 1 philippeback  staff    31656 11 avr 18:02 Metacello-ToolBox-dkh.107.mcz
-rw-r--r--@ 1 philippeback  staff    15280 11 avr 18:03 ObjectiveC-Plugin-John M McIntosh.20.mcz
-rw-r--r--@ 1 philippeback  staff     3701 11 avr 18:04 Qwaq-VMProfiling-Plugins-JB.5.mcz
-rw-r--r--@ 1 philippeback  staff     3401 11 avr 18:02 SharedPool-Speech-dtl.2.mcz
-rw-r--r--@ 1 philippeback  staff   214595 11 avr 18:03 Sound-MarianoMartinezPeck.67.mcz
-rw-r--r--@ 1 philippeback  staff    78189 11 avr 18:04 VMConstruction-Plugins-OSProcessPlugin.oscog-eem.32.mcz
-rw-r--r--@ 1 philippeback  staff  2649278 11 avr 18:03 VMMaker-oscog-EstebanLorenzano.139.mcz
PhilMac:package-cache philippeback$ Full load from zero.


After second load:

PhilMac:package-cache philippeback$ ls -l
total 12832
-rw-r--r--@ 1 philippeback  staff    39108 11 avr 18:03 Alien-Core-IgorStasenko.68.mcz
-rw-r--r--@ 1 philippeback  staff    28655 11 avr 18:03 Applescript-Core-SeanDeNigris.2.mcz
-rw-r--r--@ 1 philippeback  staff    10223 11 avr 18:03 Balloon-Engine-Pools-JB.2.mcz
-rw-r--r--@ 1 philippeback  staff   104943 11 avr 18:04 CMakeVMMaker-IgorStasenko.154.mcz
-rw-r--r--@ 1 philippeback  staff    86144 11 avr 18:04 Cog-eem.46.mcz
-rw-r--r--@ 1 philippeback  staff     3616 11 avr 18:03 CogVMMakerPharoCompatibility-MarianoMartinezPeck.3.mcz
-rw-r--r--@ 1 philippeback  staff    15512 11 avr 18:00 ConfigurationOfCog-EstebanLorenzano.60.mcz
-rw-r--r--@ 1 philippeback  staff     9370 11 avr 18:02 ConfigurationOfGofer-dkh.36.mcz
-rw-r--r--@ 1 philippeback  staff     4613 11 avr 18:02 ConfigurationOfHelpSystem-DaleHenrichs.13.mcz
-rw-r--r--@ 1 philippeback  staff   102918 11 avr 18:01 ConfigurationOfMetacello-dkh.675.mcz
-rw-r--r--@ 1 philippeback  staff     3799 11 avr 18:02 FFI-Pools-eem.3.mcz
-rw-r--r--@ 1 philippeback  staff    23387 11 avr 18:03 Freetype-Plugin-dtl.63.mcz
-rw-r--r--@ 1 philippeback  staff     8966 11 avr 18:01 Metacello-Base-DaleHenrichs.19.mcz
-rw-r--r--@ 1 philippeback  staff    88661 11 avr 18:01 Metacello-Core-dkh.465.mcz
-rw-r--r--@ 1 philippeback  staff    89663 11 avr 18:02 Metacello-Core-dkh.468.mcz
-rw-r--r--@ 1 philippeback  staff     7236 11 avr 18:02 Metacello-Help-dkh.11.mcz
-rw-r--r--@ 1 philippeback  staff   113626 11 avr 18:01 Metacello-MC-dkh.522.mcz
-rw-r--r--@ 1 philippeback  staff   116611 11 avr 18:02 Metacello-MC-dkh.531.mcz
-rw-r--r--@ 1 philippeback  staff     5693 11 avr 18:02 Metacello-Platform.pharo-DaleHenrichs.25.mcz
-rw-r--r--@ 1 philippeback  staff     5942 11 avr 18:02 Metacello-Platform.pharo-dkh.27.mcz
-rw-r--r--@ 1 philippeback  staff    31656 11 avr 18:02 Metacello-ToolBox-dkh.107.mcz
-rw-r--r--@ 1 philippeback  staff    15280 11 avr 18:03 ObjectiveC-Plugin-John M McIntosh.20.mcz
-rw-r--r--@ 1 philippeback  staff     3701 11 avr 18:04 Qwaq-VMProfiling-Plugins-JB.5.mcz
-rw-r--r--@ 1 philippeback  staff     3401 11 avr 18:02 SharedPool-Speech-dtl.2.mcz
-rw-r--r--@ 1 philippeback  staff   214595 11 avr 18:03 Sound-MarianoMartinezPeck.67.mcz
-rw-r--r--@ 1 philippeback  staff    78189 11 avr 18:04 VMConstruction-Plugins-OSProcessPlugin.oscog-eem.32.mcz
-rw-r--r--@ 1 philippeback  staff  2649278 11 avr 18:03 VMMaker-oscog-EstebanLorenzano.139.mcz
-rw-r--r--@ 1 philippeback  staff  2656869 11 avr 18:08 VMMaker-oscog-EstebanLorenzano.150.mcz

After the second load: IOSPlugin is in there, no problem.

There must be something wrong in the Metacello config.

Phil





2012/4/11 Esteban Lorenzano <[hidden email]>
that is strange, because you should have version VMMaker-oscog-EstebanLorenzano.150

On Apr 11, 2012, at 5:18 PM, [hidden email] 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 <[hidden email]>
which VMMaker package version do you have? (bacause it has to be there, in latests versions)

On Apr 11, 2012, at 4:48 PM, [hidden email] 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: <a href="tel:%2B32%280%29%20478%20650%20140" value="+32478650140" target="_blank">+32(0) 478 650 140 | Fax: <a href="tel:%2B32%20%280%29%2070%20408%20027" value="+3270408027" target="_blank">+32 (0) 70 408 027 Mail: [hidden email] | Web: http://philippeback.eu | Blog:

High Octane SPRL
rue cour Boisacq 101
1301 Bierges





--
Philippe Back
"Helping you hit the top 3 outcomes you really want to achieve"

Mob: <a href="tel:%2B32%280%29%20478%20650%20140" value="+32478650140" target="_blank">+32(0) 478 650 140 | Fax: <a href="tel:%2B32%20%280%29%2070%20408%20027" value="+3270408027" target="_blank">+32 (0) 70 408 027 Mail: [hidden email] | Web: http://philippeback.eu | Blog:

High Octane SPRL
rue cour Boisacq 101
1301 Bierges





--
Philippe Back
"Helping you hit the top 3 outcomes you really want to achieve"

Mob: <a href="tel:%2B32%280%29%20478%20650%20140" value="+32478650140" target="_blank">+32(0) 478 650 140 | Fax: <a href="tel:%2B32%20%280%29%2070%20408%20027" value="+3270408027" target="_blank">+32 (0) 70 408 027 Mail: [hidden email] | Web: http://philippeback.eu | Blog:

High Octane SPRL
rue cour Boisacq 101
1301 Bierges





--
Philippe Back
"Helping you hit the top 3 outcomes you really want to achieve"

Mob: <a href="tel:%2B32%280%29%20478%20650%20140" value="+32478650140" target="_blank">+32(0) 478 650 140 | Fax: <a href="tel:%2B32%20%280%29%2070%20408%20027" value="+3270408027" target="_blank">+32 (0) 70 408 027 Mail: [hidden email] | Web: http://philippeback.eu | Blog:

High Octane SPRL
rue cour Boisacq 101
1301 Bierges





--
Philippe Back
"Helping you hit the top 3 outcomes you really want to achieve"

Mob: <a href="tel:%2B32%280%29%20478%20650%20140" value="+32478650140" target="_blank">+32(0) 478 650 140 | Fax: <a href="tel:%2B32%20%280%29%2070%20408%20027" value="+3270408027" target="_blank">+32 (0) 70 408 027 Mail: [hidden email] | Web: http://philippeback.eu | Blog:

High Octane SPRL
rue cour Boisacq 101
1301 Bierges

<log.rtf>




--
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: [hidden email] | Web: http://philippeback.eu | Blog:

High Octane SPRL
rue cour Boisacq 101
1301 Bierges

<PharoScreenshot.1.png><PharoScreenshot.2.png>

12