Hi, I'm using JPEGReadWriter2 which comment says: "... I require the VM plugin JPEGReadWriter2Plugin, which is typically stored in same directory as the Squeak virtual machine."
I'm using Squeak3.8-current-win-full.zip and there is no "plugin" in the squeak VM directory. JPEGReadWriter2 still works and I'm wondering, if:
- Is the plugin compiled into the squeak vm? But 'Smalltalk listLoadedModules' results in: #('SocketPlugin 23 September 2004 (i)' 'LargeIntegers v1.3 23 September 2004 (i)' 'Matrix2x3Plugin 23 September 2004 (i)' 'FloatArrayPlugin 23 September 2004 (i)' 'BitBltPlugin 23 September 2004 (i)' 'B2DPlugin 23 September 2004 (i)' 'SecurityPlugin 23 September 2004 (i)' 'FilePlugin 23 September 2004 (i)' 'MiscPrimitivePlugin 23 September 2004 (i)')
There is no JPEGReadWriter2Plugin.
- JPEGReadWriter2 doesn't actually use the plugin and has a fallback implementation to JPEGReadWriter?
- Where do I find plugins?
Thank you very much to clearify this.
Greeting Waldemar Dick
Hi Dick and welcome to the list,
I received a response back from Tim Rowledge about your question, I've included his edited response below.
From: Waldemar Dick Sent: Sunday, May 07, 2006 6:00 AM I'm using JPEGReadWriter2 which comment says: "... I require the VM plugin JPEGReadWriter2Plugin, which is typically stored in same directory as the Squeak virtual machine."
I'm using Squeak3.8-current-win-full.zip and there is no "plugin" in the squeak VM directory. JPEGReadWriter2 still works and I'm wondering, if:
- Is the plugin compiled into the squeak vm?
But 'Smalltalk listLoadedModules' results in: #('SocketPlugin 23 September 2004 (i)' 'LargeIntegers v1.3 23 September 2004 (i)' 'Matrix2x3Plugin 23 September 2004 (i)' 'FloatArrayPlugin 23 September 2004 (i)' 'BitBltPlugin 23 September 2004 (i)' 'B2DPlugin 23 September 2004 (i)' 'SecurityPlugin 23 September 2004 (i)' 'FilePlugin 23 September 2004 (i)' 'MiscPrimitivePlugin 23 September 2004 (i)')
listLoadedModules lists all the plugin that have been 'loaded' and are in use. That isn't the same as #listBuiltinModules which lists the plugins contained within the vm, ie 'internal plugins'. On my OSX machine, the builtin list includes the jpegreadwriter2plugin but I have no idea whether it is in the windows or unix vms.
To add to the fun, it is entirely possible for the plugin to be built in but not loaded even after attempting to call a primitive in the plugin. If something fails in the plugin init code for example it doesn't load and the method might either raise a primitiveFail or just carry on and manage without the prim.
tim -- tim Rowledge; tim@rowledge.org; http://www.rowledge.org/tim
- Where do I find plugins?
Well that depends. According to Tim: All the 'official' ones are included in vmmaker, then there is the balloon3d which is semi-official and a bunch of others scattered around.
Finding plugins depends on what you are trying to do, the best thing to do is find the author and ask them or ask the list for information on a specific plugin and we'll see if we can figure it out!
Hope that helps! Sorry it took so long to reply!
Happy Coding!!
Ron Teitelbaum President / Principal Software Engineer US Medical Record Specialists Ron@USMedRec.com
Hi Waldemar,
on Sun, 07 May 2006 12:00:00 +0200, you sourceforge@devmue.de wrote:
Hi, I'm using JPEGReadWriter2 which comment says: "... I require the VM plugin JPEGReadWriter2Plugin, which is typically stored in same directory as the Squeak virtual machine."
I'm using Squeak3.8-current-win-full.zip and there is no "plugin" in the squeak VM directory. JPEGReadWriter2 still works and I'm wondering, if:
- Is the plugin compiled into the squeak vm?
Most likely, the stock wintel Squeak VM 3.8 comes with plugins compiled internalized.
But 'Smalltalk listLoadedModules' results in: #('SocketPlugin 23 September 2004 (i)' 'LargeIntegers v1.3 23 September 2004 (i)' 'Matrix2x3Plugin 23 September 2004 (i)' 'FloatArrayPlugin 23 September 2004 (i)' 'BitBltPlugin 23 September 2004 (i)' 'B2DPlugin 23 September 2004 (i)' 'SecurityPlugin 23 September 2004 (i)' 'FilePlugin 23 September 2004 (i)' 'MiscPrimitivePlugin 23 September 2004 (i)')
There is no JPEGReadWriter2Plugin.
Here too but, have a look at the comment in the implementor of #listLoadedModules where it talks about "currently loaded modules ... (active) ..."
- JPEGReadWriter2 doesn't actually use the plugin and has a fallback
implementation to JPEGReadWriter?
Dunno, what do you do to use JPEGReadWriter2 (open file, http, or what?)
- Where do I find plugins?
Plugins are part of the VMMaker package, can be installed with Squeak Map Package loader.
Thank you very much to clearify this.
Hope the above helps.
Greeting Waldemar Dick
/Klaus
Hi, thank you and Tim Rowledge for the replies.
I just tried the Squeak3.9b-7032 image. Is it possible that 'Smalltalk loadedModules' was changed to 'SmalltalkImage current loadedModules'?
Klaus D. Witzel schrieb:
Most likely, the stock wintel Squeak VM 3.8 comes with plugins compiled internalized.
Yes, it is internalized.
<snip>
Hope the above helps.
Yes, it did.
Greetings, Waldemar Dick
Ok, forget the question. It changed and in 3.8 it is already marked as deprecated.
Waldemar Dick schrieb:
Hi, thank you and Tim Rowledge for the replies.
I just tried the Squeak3.9b-7032 image. Is it possible that 'Smalltalk loadedModules' was changed to 'SmalltalkImage current loadedModules'?
Klaus D. Witzel schrieb:
Most likely, the stock wintel Squeak VM 3.8 comes with plugins compiled internalized.
Yes, it is internalized.
<snip> > Hope the above helps. > Yes, it did.
Greetings, Waldemar Dick _______________________________________________ Beginners mailing list Beginners@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/beginners
Hi Waldemar,
on Sat, 13 May 2006 12:25:42 +0200, you sourceforge@devmue.de wrote:
Ok, forget the question. It changed and in 3.8 it is already marked as deprecated.
Most (if not all) Squeakers have several releases lying around (if not running simultaneously) these days ;-)
I hope that that (having several different releases around) does not frighten the newcomers.
/Klaus
Waldemar Dick schrieb:
Hi, thank you and Tim Rowledge for the replies.
I just tried the Squeak3.9b-7032 image. Is it possible that 'Smalltalk loadedModules' was changed to 'SmalltalkImage current loadedModules'?
Klaus D. Witzel schrieb:
Most likely, the stock wintel Squeak VM 3.8 comes with plugins compiled internalized.
Yes, it is internalized.
<snip> > Hope the above helps. > Yes, it did.
Greetings, Waldemar Dick _______________________________________________ Beginners mailing list Beginners@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/beginners
beginners@lists.squeakfoundation.org