Re: [Moose-dev] Re: for mondrian designers

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

Re: [Moose-dev] Re: for mondrian designers

Tudor Girba
Hi,

>>> So consider to have a look at the cairo package in PharoTaskForces  
>>> because it will not come to you alone :)

What exactly should I load from PharoTaskForces to get Cairo?

I see several Rome related packages, but which ones are needed? Is  
there a load script?

Cheers,
Doru

--
www.tudorgirba.com

"There are no old things, there are only old ways of looking at them."




_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: [Moose-dev] Re: for mondrian designers

Stéphane Ducasse

On Dec 4, 2009, at 11:18 AM, Tudor Girba wrote:

> Hi,
>
>>>> So consider to have a look at the cairo package in PharoTaskForces because it will not come to you alone :)
>
> What exactly should I load from PharoTaskForces to get Cairo?

I do not really know: Rome-Core Rome-Canvas and Rome-Cairo.
>
> I see several Rome related packages, but which ones are needed? Is there a load script?

No for now I just save the packages that were in Sophie-dev
I know that alain loaded some of the Cairo packages for his experimentations.
Now a script is the first step than after identifying what is working not working.

You can have a look also at Sophie-dev image.

>
> Cheers,
> Doru
>
> --
> www.tudorgirba.com
>
> "There are no old things, there are only old ways of looking at them."
>
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: [Moose-dev] Re: for mondrian designers

Alexandre Bergel
In reply to this post by Tudor Girba
Hi!

I just give a try to load Cairo.
First, I went to http://www.squeaksource.com/Rome.html and downloaded  
what is suggested.
Then I went to http://www.cairographics.org and downloaded cairo, and  
used my unix skills to compile it properly. Some of the Rome demo  
works, but most of them need the RomePlugin is apparently needed.  
Unfortunately, I cannot find this plugin.

Cheers,
Alexandre


On 4 Dec 2009, at 07:18, Tudor Girba wrote:

> Hi,
>
>>>> So consider to have a look at the cairo package in  
>>>> PharoTaskForces because it will not come to you alone :)
>
> What exactly should I load from PharoTaskForces to get Cairo?
>
> I see several Rome related packages, but which ones are needed? Is  
> there a load script?
>
> Cheers,
> Doru
>
> --
> www.tudorgirba.com
>
> "There are no old things, there are only old ways of looking at them."
>
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.






_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: [Moose-dev] Re: for mondrian designers

Stéphane Ducasse
why don't you read the pharo list.
I mentioned that I extracted the packages from Sophie and published them in PharoTaskForces.

Stef

On Dec 4, 2009, at 2:20 PM, Alexandre Bergel wrote:

> Hi!
>
> I just give a try to load Cairo.
> First, I went to http://www.squeaksource.com/Rome.html and downloaded what is suggested.
> Then I went to http://www.cairographics.org and downloaded cairo, and used my unix skills to compile it properly. Some of the Rome demo works, but most of them need the RomePlugin is apparently needed. Unfortunately, I cannot find this plugin.
>
> Cheers,
> Alexandre
>
>
> On 4 Dec 2009, at 07:18, Tudor Girba wrote:
>
>> Hi,
>>
>>>>> So consider to have a look at the cairo package in PharoTaskForces because it will not come to you alone :)
>>
>> What exactly should I load from PharoTaskForces to get Cairo?
>>
>> I see several Rome related packages, but which ones are needed? Is there a load script?
>>
>> Cheers,
>> Doru
>>
>> --
>> www.tudorgirba.com
>>
>> "There are no old things, there are only old ways of looking at them."
>>
>>
>>
>> _______________________________________________
>> Moose-dev mailing list
>> [hidden email]
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: [Moose-dev] Re: for mondrian designers

Alexandre Bergel
> why don't you read the pharo list.
> I mentioned that I extracted the packages from Sophie and published  
> them in PharoTaskForces.

I am talking about the plugin, not the Pharo packages. I was able to  
load them without problem.
But I cannot run the example because of the plugin problem.

Cheers,
Alexandre


>
> On Dec 4, 2009, at 2:20 PM, Alexandre Bergel wrote:
>
>> Hi!
>>
>> I just give a try to load Cairo.
>> First, I went to http://www.squeaksource.com/Rome.html and  
>> downloaded what is suggested.
>> Then I went to http://www.cairographics.org and downloaded cairo,  
>> and used my unix skills to compile it properly. Some of the Rome  
>> demo works, but most of them need the RomePlugin is apparently  
>> needed. Unfortunately, I cannot find this plugin.
>>
>> Cheers,
>> Alexandre
>>
>>
>> On 4 Dec 2009, at 07:18, Tudor Girba wrote:
>>
>>> Hi,
>>>
>>>>>> So consider to have a look at the cairo package in  
>>>>>> PharoTaskForces because it will not come to you alone :)
>>>
>>> What exactly should I load from PharoTaskForces to get Cairo?
>>>
>>> I see several Rome related packages, but which ones are needed? Is  
>>> there a load script?
>>>
>>> Cheers,
>>> Doru
>>>
>>> --
>>> www.tudorgirba.com
>>>
>>> "There are no old things, there are only old ways of looking at  
>>> them."
>>>
>>>
>>>
>>> _______________________________________________
>>> Moose-dev mailing list
>>> [hidden email]
>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>
>> --
>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>> Alexandre Bergel  http://www.bergel.eu
>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>
>>
>>
>>
>>
>> _______________________________________________
>> Moose-dev mailing list
>> [hidden email]
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.






_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: [Moose-dev] Re: for mondrian designers

Stéphane Ducasse

On Dec 4, 2009, at 2:52 PM, Alexandre Bergel wrote:

>> why don't you read the pharo list.
>> I mentioned that I extracted the packages from Sophie and published  
>> them in PharoTaskForces.
>
> I am talking about the plugin, not the Pharo packages. I was able to  
> load them without problem.

but you should not take the ones that are in squeaksource (may be)
but to take the ones that were with sophie-dev since the rome repository is not
clear to me.
Now if you see that they are the same (i.e., sophie-dev pubslihed in squeaksource)
let us know

Alain from where did you take your version?


> But I cannot run the example because of the plugin problem.

Some examples do not work. that I know.

>
> Cheers,
> Alexandre
>
>
>>
>> On Dec 4, 2009, at 2:20 PM, Alexandre Bergel wrote:
>>
>>> Hi!
>>>
>>> I just give a try to load Cairo.
>>> First, I went to http://www.squeaksource.com/Rome.html and  
>>> downloaded what is suggested.
>>> Then I went to http://www.cairographics.org and downloaded cairo,  
>>> and used my unix skills to compile it properly. Some of the Rome  
>>> demo works, but most of them need the RomePlugin is apparently  
>>> needed. Unfortunately, I cannot find this plugin.
>>>
>>> Cheers,
>>> Alexandre
>>>
>>>
>>> On 4 Dec 2009, at 07:18, Tudor Girba wrote:
>>>
>>>> Hi,
>>>>
>>>>>>> So consider to have a look at the cairo package in  
>>>>>>> PharoTaskForces because it will not come to you alone :)
>>>>
>>>> What exactly should I load from PharoTaskForces to get Cairo?
>>>>
>>>> I see several Rome related packages, but which ones are needed? Is  
>>>> there a load script?
>>>>
>>>> Cheers,
>>>> Doru
>>>>
>>>> --
>>>> www.tudorgirba.com
>>>>
>>>> "There are no old things, there are only old ways of looking at  
>>>> them."
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Moose-dev mailing list
>>>> [hidden email]
>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>
>>> --
>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>>> Alexandre Bergel  http://www.bergel.eu
>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Moose-dev mailing list
>>> [hidden email]
>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>
>>
>> _______________________________________________
>> Pharo-project mailing list
>> [hidden email]
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>
>
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: [Moose-dev] Re: for mondrian designers

johnmci
In reply to this post by Alexandre Bergel
If you can stick the image/changes somewhere with instructions and send me a link, then I'll at least
check to see why the plugin won't load. At least on the macintosh.

Or if you are using the macintosh you should alter the info.plist of the macintosh VM you are using
and set SqueakDebug to 1    Then it will print stuff to the console, like why a plugin didn't load.


On 2009-12-04, at 5:52 AM, Alexandre Bergel wrote:

>> why don't you read the pharo list.
>> I mentioned that I extracted the packages from Sophie and published  
>> them in PharoTaskForces.
>
> I am talking about the plugin, not the Pharo packages. I was able to  
> load them without problem.
> But I cannot run the example because of the plugin problem.
>
> Cheers,
> Alexandre
>
>
>>
>> On Dec 4, 2009, at 2:20 PM, Alexandre Bergel wrote:
>>
>>> Hi!
>>>
>>> I just give a try to load Cairo.
>>> First, I went to http://www.squeaksource.com/Rome.html and  
>>> downloaded what is suggested.
>>> Then I went to http://www.cairographics.org and downloaded cairo,  
>>> and used my unix skills to compile it properly. Some of the Rome  
>>> demo works, but most of them need the RomePlugin is apparently  
>>> needed. Unfortunately, I cannot find this plugin.
>>>
>>> Cheers,
>>> Alexandre
>>>
>>>
>>> On 4 Dec 2009, at 07:18, Tudor Girba wrote:
>>>
>>>> Hi,
>>>>
>>>>>>> So consider to have a look at the cairo package in  
>>>>>>> PharoTaskForces because it will not come to you alone :)
>>>>
>>>> What exactly should I load from PharoTaskForces to get Cairo?
>>>>
>>>> I see several Rome related packages, but which ones are needed? Is  
>>>> there a load script?
>>>>
>>>> Cheers,
>>>> Doru
>>>>
>>>> --
>>>> www.tudorgirba.com
>>>>
>>>> "There are no old things, there are only old ways of looking at  
>>>> them."
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Moose-dev mailing list
>>>> [hidden email]
>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>
>>> --
>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>>> Alexandre Bergel  http://www.bergel.eu
>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Moose-dev mailing list
>>> [hidden email]
>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>
>>
>> _______________________________________________
>> Pharo-project mailing list
>> [hidden email]
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>
>
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

--
===========================================================================
John M. McIntosh <[hidden email]>   Twitter:  squeaker68882
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
===========================================================================





_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: [Moose-dev] Re: for mondrian designers

Alexandre Bergel
Thanks John!

I did a "RomeDemo drawCar"
Here is the log:

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
tryLoading /Users/alexandrebergel/Desktop/T/Smalltalk/Squeak  
4.2.1beta1U.app/Contents/Resources/MiscPrimitivePlugin.bundle/Contents/
MacOS/MiscPrimitivePlugin
tryLoading /Users/alexandrebergel/Desktop/T/Smalltalk/Squeak  
4.2.1beta1U.app/Contents/Resources/MiscPrimitivePlugin
tryLoading /Users/alexandrebergel/Desktop/T/Smalltalk/Plugins/
MiscPrimitivePlugin.bundle/Contents/MacOS/MiscPrimitivePlugin
tryLoading /Users/alexandrebergel/Desktop/T/Smalltalk/Plugins/
MiscPrimitivePlugin
tryLoading /Users/alexandrebergel/Desktop/T/Smalltalk/Squeak  
4.2.1beta1U.app/Contents/Resources/DropPlugin.bundle/Contents/MacOS/
DropPlugin
tryLoading /Users/alexandrebergel/Desktop/T/Smalltalk/Squeak  
4.2.1beta1U.app/Contents/Resources/DropPlugin
tryLoading /Users/alexandrebergel/Desktop/T/Smalltalk/Plugins/
DropPlugin.bundle/Contents/MacOS/DropPlugin
tryLoading /Users/alexandrebergel/Desktop/T/Smalltalk/Plugins/DropPlugin
tryLoading /Users/alexandrebergel/Desktop/T/Smalltalk/Squeak  
4.2.1beta1U.app/Contents/Resources/FilePlugin.bundle/Contents/MacOS/
FilePlugin
tryLoading /Users/alexandrebergel/Desktop/T/Smalltalk/Squeak  
4.2.1beta1U.app/Contents/Resources/FilePlugin
tryLoading /Users/alexandrebergel/Desktop/T/Smalltalk/Plugins/
FilePlugin.bundle/Contents/MacOS/FilePlugin
tryLoading /Users/alexandrebergel/Desktop/T/Smalltalk/Plugins/FilePlugin
tryLoading /Users/alexandrebergel/Desktop/T/Smalltalk/Squeak  
4.2.1beta1U.app/Contents/Resources/SecurityPlugin.bundle/Contents/
MacOS/SecurityPlugin
tryLoading /Users/alexandrebergel/Desktop/T/Smalltalk/Squeak  
4.2.1beta1U.app/Contents/Resources/SecurityPlugin
tryLoading /Users/alexandrebergel/Desktop/T/Smalltalk/Plugins/
SecurityPlugin.bundle/Contents/MacOS/SecurityPlugin
tryLoading /Users/alexandrebergel/Desktop/T/Smalltalk/Plugins/
SecurityPlugin
tryLoading /Users/alexandrebergel/Desktop/T/Smalltalk/Squeak  
4.2.1beta1U.app/Contents/Resources/UnixOSProcessPlugin.bundle/Contents/
MacOS/UnixOSProcessPlugin
ioFindExternalFunctionIn(getModuleName, 2433184)
ioFindExternalFunctionIn(setInterpreter, 2433184)
ioFindExternalFunctionIn(initialiseModule, 2433184)
ioFindExternalFunctionIn(primitiveSigChldNumber, 2433184)
ioFindExternalFunctionIn(primitiveSemaIndexFor, 2433184)
ioFindExternalFunctionIn(primitiveForwardSignalToSemaphore, 2433184)
ioFindExternalFunctionIn(primitiveGetSession, 2433184)
ioFindExternalFunctionIn(primitiveGetPid, 2433184)
ioFindExternalFunctionIn(primitiveGetPPid, 2433184)
ioFindExternalFunctionIn(primitiveVersionString, 2433184)
ioFindExternalFunctionIn(primitiveGetStdInHandle, 2433184)
ioFindExternalFunctionIn(primitiveGetStdOutHandle, 2433184)
ioFindExternalFunctionIn(primitiveGetStdErrHandle, 2433184)
ioFindExternalFunctionIn(primitiveArgumentAt, 2433184)
ioFindExternalFunctionIn(primitiveEnvironmentAt, 2433184)
tryLoading /Users/alexandrebergel/Desktop/T/Smalltalk/Squeak  
4.2.1beta1U.app/Contents/Resources/BitBltPlugin.bundle/Contents/MacOS/
BitBltPlugin
tryLoading /Users/alexandrebergel/Desktop/T/Smalltalk/Squeak  
4.2.1beta1U.app/Contents/Resources/BitBltPlugin
tryLoading /Users/alexandrebergel/Desktop/T/Smalltalk/Plugins/
BitBltPlugin.bundle/Contents/MacOS/BitBltPlugin
tryLoading /Users/alexandrebergel/Desktop/T/Smalltalk/Plugins/
BitBltPlugin
tryLoading /Users/alexandrebergel/Desktop/T/Smalltalk/Squeak  
4.2.1beta1U.app/Contents/Resources/B2DPlugin.bundle/Contents/MacOS/
B2DPlugin
tryLoading /Users/alexandrebergel/Desktop/T/Smalltalk/Squeak  
4.2.1beta1U.app/Contents/Resources/B2DPlugin
tryLoading /Users/alexandrebergel/Desktop/T/Smalltalk/Plugins/
B2DPlugin.bundle/Contents/MacOS/B2DPlugin
tryLoading /Users/alexandrebergel/Desktop/T/Smalltalk/Plugins/B2DPlugin
tryLoading /Users/alexandrebergel/Desktop/T/Smalltalk/Squeak  
4.2.1beta1U.app/Contents/Resources/FT2Plugin.bundle/Contents/MacOS/
FT2Plugin
ioFindExternalFunctionIn(getModuleName, 2433792)
ioFindExternalFunctionIn(setInterpreter, 2433792)
ioFindExternalFunctionIn(initialiseModule, 2433792)
ioFindExternalFunctionIn(primitiveLibraryHandle, 2433792)
ioFindExternalFunctionIn(primitiveNewFaceFromFileAndIndex, 2433792)
ioFindExternalFunctionIn(primitiveLoadFaceFields, 2433792)
tryLoading /Users/alexandrebergel/Desktop/T/Smalltalk/Squeak  
4.2.1beta1U.app/Contents/Resources/LargeIntegers.bundle/Contents/MacOS/
LargeIntegers
tryLoading /Users/alexandrebergel/Desktop/T/Smalltalk/Squeak  
4.2.1beta1U.app/Contents/Resources/LargeIntegers
tryLoading /Users/alexandrebergel/Desktop/T/Smalltalk/Plugins/
LargeIntegers.bundle/Contents/MacOS/LargeIntegers
tryLoading /Users/alexandrebergel/Desktop/T/Smalltalk/Plugins/
LargeIntegers
ioFindExternalFunctionIn(primitiveSetPixelSizes, 2433792)
ioFindExternalFunctionIn(primitiveLoadCharacter, 2433792)
ioFindExternalFunctionIn(primitiveLoadGlyphSlotFromFace, 2433792)
ioFindExternalFunctionIn(primitiveTransformFaceGlyphSlotOutline,  
2433792)
ioFindExternalFunctionIn(primitiveTranslateFaceGlyphSlotOutline,  
2433792)
ioFindExternalFunctionIn(primitiveRenderGlyphIntoForm, 2433792)
ioFindExternalFunctionIn(primitiveGetFaceCharIndex, 2433792)
ioFindExternalFunctionIn(primitiveGetKerningLeftRight, 2433792)
ioFindExternalFunctionIn(primitiveGetFaceCharMapsIntoArray, 2433792)
ioFindExternalFunctionIn(primitiveHasKerning, 2433792)
tryLoading /Users/alexandrebergel/Desktop/T/Smalltalk/Squeak  
4.2.1beta1U.app/Contents/Resources/MacMenubarPlugin.bundle/Contents/
MacOS/MacMenubarPlugin
tryLoading /Users/alexandrebergel/Desktop/T/Smalltalk/Squeak  
4.2.1beta1U.app/Contents/Resources/MacMenubarPlugin
tryLoading /Users/alexandrebergel/Desktop/T/Smalltalk/Plugins/
MacMenubarPlugin.bundle/Contents/MacOS/MacMenubarPlugin
tryLoading /Users/alexandrebergel/Desktop/T/Smalltalk/Plugins/
MacMenubarPlugin
tryLoading /Users/alexandrebergel/Desktop/T/Smalltalk/Squeak  
4.2.1beta1U.app/Contents/Resources/InternetConfigPlugin.bundle/
Contents/MacOS/InternetConfigPlugin
tryLoading /Users/alexandrebergel/Desktop/T/Smalltalk/Squeak  
4.2.1beta1U.app/Contents/Resources/InternetConfigPlugin
tryLoading /Users/alexandrebergel/Desktop/T/Smalltalk/Plugins/
InternetConfigPlugin.bundle/Contents/MacOS/InternetConfigPlugin
tryLoading /Users/alexandrebergel/Desktop/T/Smalltalk/Plugins/
InternetConfigPlugin
VM: MouseModifierStateCarbon buttonStateBits 1 modifiers 0i
  VM: MouseModifierStateCarbon buttonStateBits 1 modifiers 0i
  VM: MouseModifierStateCarbon buttonStateBits 1 modifiers 0i
  VM: MouseModifierStateCarbon buttonStateBits 1 modifiers 0i
  VM: MouseModifierStateCarbon buttonStateBits 1 modifiers 0i
  VM: MouseModifierStateCarbon buttonStateBits 1 modifiers 0i
  VM: MouseModifierStateCarbon buttonStateBits 1 modifiers 0i
  VM: MouseModifierStateCarbon buttonStateBits 1 modifiers 0i
  VM: MouseModifierStateCarbon buttonStateBits 1 modifiers 0i
  VM: MouseModifierStateCarbon buttonStateBits 1 modifiers 0i
  VM: MouseModifierStateCarbon buttonStateBits 1 modifiers 0i
  VM: MouseModifierStateCarbon buttonStateBits 1 modifiers 0i
  VM: MouseModifierStateCarbon buttonStateBits 1 modifiers 0i
  VM: MouseModifierStateCarbon buttonStateBits 1 modifiers 0i
  VM: MouseModifierStateCarbon buttonStateBits 1 modifiers 0i
  VM: MouseModifierStateCarbon buttonStateBits 1 modifiers 0i
  VM: MouseModifierStateCarbon buttonStateBits 1 modifiers 0i
  VM: MouseModifierStateCarbon buttonStateBits 1 modifiers 0i
  VM: MouseModifierStateCarbon buttonStateBits 1 modifiers 0i
  VM: MouseModifierStateCarbon buttonStateBits 1 modifiers 0i
  tryLoading /Users/alexandrebergel/Desktop/T/Smalltalk/Squeak  
4.2.1beta1U.app/Contents/Resources/RomePlugin.bundle/Contents/MacOS/
RomePlugin
ioFindExternalFunctionIn(getModuleName, 2339392)
ioFindExternalFunctionIn(setInterpreter, 2339392)
ioFindExternalFunctionIn(initialiseModule, 2339392)
ioFindExternalFunctionIn(primitivePluginVersion, 2339392)
ioFindExternalFunctionIn(primitiveCreateFormHandle, 2339392)
tryLoading /Users/alexandrebergel/Desktop/T/Smalltalk/Squeak  
4.2.1beta1U.app/Contents/Resources/SurfacePlugin.bundle/Contents/MacOS/
SurfacePlugin
tryLoading /Users/alexandrebergel/Desktop/T/Smalltalk/Squeak  
4.2.1beta1U.app/Contents/Resources/SurfacePlugin
tryLoading /Users/alexandrebergel/Desktop/T/Smalltalk/Plugins/
SurfacePlugin.bundle/Contents/MacOS/SurfacePlugin
tryLoading /Users/alexandrebergel/Desktop/T/Smalltalk/Plugins/
SurfacePlugin
ioFindExternalFunctionIn(primitiveOpen, 2339392)
Squeak-Rome: canvas oop invalid!
tryLoading /Users/alexandrebergel/Desktop/T/Smalltalk/Squeak  
4.2.1beta1U.app/Contents/Resources/SocketPlugin.bundle/Contents/MacOS/
SocketPlugin
tryLoading /Users/alexandrebergel/Desktop/T/Smalltalk/Squeak  
4.2.1beta1U.app/Contents/Resources/SocketPlugin
tryLoading /Users/alexandrebergel/Desktop/T/Smalltalk/Plugins/
SocketPlugin.bundle/Contents/MacOS/SocketPlugin
tryLoading /Users/alexandrebergel/Desktop/T/Smalltalk/Plugins/
SocketPlugin
VM: MouseModifierStateCarbon buttonStateBits 1 modifiers 0i
  VM: MouseModifierStateCarbon buttonStateBits 1 modifiers 0i
  VM: MouseModifierStateCarbon buttonStateBits 1 modifiers 0i
  VM: MouseModifierStateCarbon buttonStateBits 1 modifiers 0i
  VM: MouseModifierStateCarbon buttonStateBits 1 modifiers 0i
  VM: MouseModifierStateCarbon buttonStateBits 1 modifiers 0i
  VM: MouseModifierStateCarbon buttonStateBits 1 modifiers 0i
  VM: MouseModifierStateCarbon buttonStateBits 1 modifiers 0i
  VM: MouseModifierStateCarbon buttonStateBits 1 modifiers 0i
  VM: MouseModifierStateCarbon buttonStateBits 1 modifiers 0i
  VM: MouseModifierStateCarbon buttonStateBits 1 modifiers 0i
  VM: MouseModifierStateCarbon buttonStateBits 1 modifiers 0i
  VM: MouseModifierStateCarbon buttonStateBits 1 modifiers 0i
  VM: MouseModifierStateCarbon buttonStateBits 1 modifiers 0i
  VM: MouseModifierStateCarbon buttonStateBits 1 modifiers 0i
  VM: MouseModifierStateCarbon buttonStateBits 1 modifiers 0i
  VM: MouseModifierStateCarbon buttonStateBits 1 modifiers 0i
  VM: MouseModifierStateCarbon buttonStateBits 1 modifiers 0i
  VM: MouseModifierStateCarbon buttonStateBits 1 modifiers 0i
  VM: MouseModifierStateCarbon buttonStateBits 1 modifiers 0i
  VM: MouseModifierStateCarbon buttonStateBits 1 modifiers 0i
  VM: MouseModifierStateCarbon buttonStateBits 1 modifiers 0i
  VM: MouseModifierStateCarbon buttonStateBits 1 modifiers 0i
  VM: MouseModifierStateCarbon buttonStateBits 1 modifiers 0i
  VM: MouseModifierStateCarbon buttonStateBits 1 modifiers 0i
  VM: MouseModifierStateCarbon buttonStateBits 1 modifiers 0i
  VM: MouseModifierStateCarbon buttonStateBits 1 modifiers 0i
  ioFindExternalFunctionIn(primitiveDestroyFormHandle, 2339392)
ioFindExternalFunctionIn(primitiveDoneFacePreserveFields, 2433792)
ioFindExternalFunctionIn(shutdownModule, 2339392)
ioFindExternalFunctionIn(shutdownModule, 2433792)
ioFindExternalFunctionIn(shutdownModule, 2433184)
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=



On 4 Dec 2009, at 16:25, John M McIntosh wrote:

> If you can stick the image/changes somewhere with instructions and  
> send me a link, then I'll at least
> check to see why the plugin won't load. At least on the macintosh.
>
> Or if you are using the macintosh you should alter the info.plist of  
> the macintosh VM you are using
> and set SqueakDebug to 1    Then it will print stuff to the console,  
> like why a plugin didn't load.
>
>
> On 2009-12-04, at 5:52 AM, Alexandre Bergel wrote:
>
>>> why don't you read the pharo list.
>>> I mentioned that I extracted the packages from Sophie and published
>>> them in PharoTaskForces.
>>
>> I am talking about the plugin, not the Pharo packages. I was able to
>> load them without problem.
>> But I cannot run the example because of the plugin problem.
>>
>> Cheers,
>> Alexandre
>>
>>
>>>
>>> On Dec 4, 2009, at 2:20 PM, Alexandre Bergel wrote:
>>>
>>>> Hi!
>>>>
>>>> I just give a try to load Cairo.
>>>> First, I went to http://www.squeaksource.com/Rome.html and
>>>> downloaded what is suggested.
>>>> Then I went to http://www.cairographics.org and downloaded cairo,
>>>> and used my unix skills to compile it properly. Some of the Rome
>>>> demo works, but most of them need the RomePlugin is apparently
>>>> needed. Unfortunately, I cannot find this plugin.
>>>>
>>>> Cheers,
>>>> Alexandre
>>>>
>>>>
>>>> On 4 Dec 2009, at 07:18, Tudor Girba wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>>>>> So consider to have a look at the cairo package in
>>>>>>>> PharoTaskForces because it will not come to you alone :)
>>>>>
>>>>> What exactly should I load from PharoTaskForces to get Cairo?
>>>>>
>>>>> I see several Rome related packages, but which ones are needed? Is
>>>>> there a load script?
>>>>>
>>>>> Cheers,
>>>>> Doru
>>>>>
>>>>> --
>>>>> www.tudorgirba.com
>>>>>
>>>>> "There are no old things, there are only old ways of looking at
>>>>> them."
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Moose-dev mailing list
>>>>> [hidden email]
>>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>>
>>>> --
>>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>>>> Alexandre Bergel  http://www.bergel.eu
>>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Moose-dev mailing list
>>>> [hidden email]
>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>
>>>
>>> _______________________________________________
>>> Pharo-project mailing list
>>> [hidden email]
>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>>
>>
>> --
>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>> Alexandre Bergel  http://www.bergel.eu
>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> Pharo-project mailing list
>> [hidden email]
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
> --
> =
> =
> =
> =
> =
> ======================================================================
> John M. McIntosh <[hidden email]>   Twitter:  
> squeaker68882
> Corporate Smalltalk Consulting Ltd.  http://
> www.smalltalkconsulting.com
> =
> =
> =
> =
> =
> ======================================================================
>
>
>
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.






_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: [Moose-dev] Re: for mondrian designers

johnmci

On 2009-12-04, at 11:54 AM, Alexandre Bergel wrote:

> Thanks John!
>
> I did a "RomeDemo drawCar"
> Here is the log:
>
>
> tryLoading /Users/alexandrebergel/Desktop/T/Smalltalk/Squeak 4.2.1beta1U.app/Contents/Resources/RomePlugin.bundle/Contents/MacOS/RomePlugin
> ioFindExternalFunctionIn(getModuleName, 2339392)
> ioFindExternalFunctionIn(setInterpreter, 2339392)
> ioFindExternalFunctionIn(initialiseModule, 2339392)
> ioFindExternalFunctionIn(primitivePluginVersion, 2339392)
> ioFindExternalFunctionIn(primitiveCreateFormHandle, 2339392)
> tryLoading /Users/alexandrebergel/Desktop/T/Smalltalk/Squeak 4.2.1beta1U.app/Contents/Resources/SurfacePlugin.bundle/Contents/MacOS/SurfacePlugin
> tryLoading /Users/alexandrebergel/Desktop/T/Smalltalk/Squeak 4.2.1beta1U.app/Contents/Resources/SurfacePlugin
> tryLoading /Users/alexandrebergel/Desktop/T/Smalltalk/Plugins/SurfacePlugin.bundle/Contents/MacOS/SurfacePlugin
> tryLoading /Users/alexandrebergel/Desktop/T/Smalltalk/Plugins/SurfacePlugin
> ioFindExternalFunctionIn(primitiveOpen, 2339392)
> Squeak-Rome: canvas oop invalid!

It does load the plugin, so it's not a problem finding it, loading it and calling primitivePluginVersion which
checks the rome version then primitiveCreateFormHandle to create a form handle, then fails in primitiveOpen

EXPORT(sqInt) primitiveOpen(void) {
        sqInt handleOop;
        sqInt contextIndex;
        sqInt canvasOop;

        canvasOop = interpreterProxy->stackValue(0);
        if (interpreterProxy->failed()) {
                return null;
        }
        contextIndex = createContextFor(canvasOop);
        if (!(interpreterProxy->failed())) {
                handleOop = interpreterProxy->integerObjectOf(contextIndex);
                interpreterProxy->storePointerofObjectwithValue(CanvasHandleIndex, canvasOop, handleOop);
        }
        if (interpreterProxy->failed()) {
                return null;
        }
        return null;
}


static sqInt createContextFor(sqInt canvasOop) {
        cairo_surface_t* targetSurface;
        sqInt contextIndex;
        sqInt targetOop;
        cairo_t* context;
        sqInt i;
        sqInt targetID;

        if ((interpreterProxy->slotSizeOf(canvasOop)) < CanvasInstSize) {
                fail("canvas oop invalid");
                return null;
        }

where

#define CanvasInstSize 13

You should check to see what primitiveOpen gets passed


--
===========================================================================
John M. McIntosh <[hidden email]>   Twitter:  squeaker68882
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
===========================================================================





_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: [Moose-dev] Re: for mondrian designers

Alexandre Bergel
Thanks John for diving into it,

Alexandre


On 5 Dec 2009, at 05:52, John M McIntosh wrote:

>
> On 2009-12-04, at 11:54 AM, Alexandre Bergel wrote:
>
>> Thanks John!
>>
>> I did a "RomeDemo drawCar"
>> Here is the log:
>>
>>
>> tryLoading /Users/alexandrebergel/Desktop/T/Smalltalk/Squeak  
>> 4.2.1beta1U.app/Contents/Resources/RomePlugin.bundle/Contents/MacOS/
>> RomePlugin
>> ioFindExternalFunctionIn(getModuleName, 2339392)
>> ioFindExternalFunctionIn(setInterpreter, 2339392)
>> ioFindExternalFunctionIn(initialiseModule, 2339392)
>> ioFindExternalFunctionIn(primitivePluginVersion, 2339392)
>> ioFindExternalFunctionIn(primitiveCreateFormHandle, 2339392)
>> tryLoading /Users/alexandrebergel/Desktop/T/Smalltalk/Squeak  
>> 4.2.1beta1U.app/Contents/Resources/SurfacePlugin.bundle/Contents/
>> MacOS/SurfacePlugin
>> tryLoading /Users/alexandrebergel/Desktop/T/Smalltalk/Squeak  
>> 4.2.1beta1U.app/Contents/Resources/SurfacePlugin
>> tryLoading /Users/alexandrebergel/Desktop/T/Smalltalk/Plugins/
>> SurfacePlugin.bundle/Contents/MacOS/SurfacePlugin
>> tryLoading /Users/alexandrebergel/Desktop/T/Smalltalk/Plugins/
>> SurfacePlugin
>> ioFindExternalFunctionIn(primitiveOpen, 2339392)
>> Squeak-Rome: canvas oop invalid!
>
> It does load the plugin, so it's not a problem finding it, loading  
> it and calling primitivePluginVersion which
> checks the rome version then primitiveCreateFormHandle to create a  
> form handle, then fails in primitiveOpen
>
> EXPORT(sqInt) primitiveOpen(void) {
> sqInt handleOop;
> sqInt contextIndex;
> sqInt canvasOop;
>
> canvasOop = interpreterProxy->stackValue(0);
> if (interpreterProxy->failed()) {
> return null;
> }
> contextIndex = createContextFor(canvasOop);
> if (!(interpreterProxy->failed())) {
> handleOop = interpreterProxy->integerObjectOf(contextIndex);
> interpreterProxy->storePointerofObjectwithValue(CanvasHandleIndex,  
> canvasOop, handleOop);
> }
> if (interpreterProxy->failed()) {
> return null;
> }
> return null;
> }
>
>
> static sqInt createContextFor(sqInt canvasOop) {
> cairo_surface_t* targetSurface;
> sqInt contextIndex;
> sqInt targetOop;
> cairo_t* context;
> sqInt i;
> sqInt targetID;
>
> if ((interpreterProxy->slotSizeOf(canvasOop)) < CanvasInstSize) {
> fail("canvas oop invalid");
> return null;
> }
>
> where
>
> #define CanvasInstSize 13
>
> You should check to see what primitiveOpen gets passed
>
>
> --
> =
> =
> =
> =
> =
> ======================================================================
> John M. McIntosh <[hidden email]>   Twitter:  
> squeaker68882
> Corporate Smalltalk Consulting Ltd.  http://
> www.smalltalkconsulting.com
> =
> =
> =
> =
> =
> ======================================================================
>
>
>
>
>

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.






_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project