On Sat, Jan 23, 2010 at 09:51:51AM -0600, Miguel Enrique Cob? Martinez wrote: > El s??b, 23-01-2010 a las 15:17 +0100, Mariano Martinez Peck escribi??: > > > > 2010/1/23 laurent laffont <[email protected]> > > I lack knowledge :( > > > > me too :) Don't worry. We are all trying to do our best. > > > > how can I enable / disable a plugin ? > > > > I don't know if this is possible. Maybe in some Linux/Mac distros > > maybe how can just delete the files, but in Windows for example, I > > think they are build inside the vm... > > > > What can I check more precisely ? > > > > > > > > I think with this: " SmalltalkImage current listLoadedModules" > > I my squeakvm: > > 3.11.3-2135 #1 XShm Wed Sep 16 14:25:10 PDT 2009 gcc 4.3.3 > Debian GNU/Linux Squeeze amd64 > > gives: > > #('LargeIntegers v1.5 26 August 2009 (i)' 'B2DPlugin 26 August 2009 > (i)' 'BitBltPlugin 26 August 2009 (i)' 'SecurityPlugin 26 August 2009 > (i)' 'FilePlugin 26 August 2009 (i)' 'MiscPrimitivePlugin 26 August 2009 > (i)')
There is also SmalltalkImage current listBuiltinModules, which lists the modules that are compiled into the VM executable, as opposed to "external" modules that are in shared libraries (.dll or .so files). The available plugins are those that appear in #listBuiltinModules, plus any external plugins that the VM can find in shared libraries. If you look at #listBuiltinModules plus the shared libraries you have in your installation, that will tell you the available plugins. The #listLoadedModules are the plugins (internal and external) that your image has actually used since you last restarted it, so you have to actually do something in Smalltalk that uses a plugin before it will show up in #listLoadedModules. When you inspect the list of loaded modules, you will notice either '(i)' or '(e)' to indicate whether the loaded module is an internal plugin or and external plugin. For example, 'BitBltPlugin 20 January 2010 (i)' indicates that the BitBltPlugin was loaded from a module that was compiled into the VM executable, and 'UnixOSProcessPlugin 20 January 2010 (e)' indicates a module that was loaded from an external shared library. Dave _______________________________________________ Pharo-project mailing list [email protected] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
