Hi,

On Apr 11, 2012, at 10:18 PM, phil@highoctane.be 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 <estebanlm@gmail.com>
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, phil@highoctane.be 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 <estebanlm@gmail.com>
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, phil@highoctane.be 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 <estebanlm@gmail.com>
that is strange, because you should have version VMMaker-oscog-EstebanLorenzano.150

On Apr 11, 2012, at 5:18 PM, phil@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@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@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"


High Octane SPRL
rue cour Boisacq 101
1301 Bierges





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


High Octane SPRL
rue cour Boisacq 101
1301 Bierges





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


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@highoctane.be | Web: http://philippeback.eu | Blog:

High Octane SPRL
rue cour Boisacq 101
1301 Bierges