On Fri, April 17, 2009 5:06 pm, Duncan Webb wrote:
> Adam Charrett wrote:
>> This is mainly for Duncan but I thought I would send it to the list in
>> case any one else was about to start on any of these issues.
>>
>> I've just updated to Ubuntu 9.04 RC and run into the qp_xml issue again,
>> so I've fixed it by writing a little sax parser that generates XMLnode
>> objects, seems to be working v nicely and no more dependencies on
>> xml.utils.qp_xml.
>>
>> Freevo shutdown - couple of issues fixed here.
>> First plugin.shutdown() was calling shutdown multiple times for some
>> plugins.
>
> Any idea why a plug-in shutdown should be called multiple times?

The plugin.shutdown() function iterated through the types of plugins and
though the list of plugins for each type. Problem is a plugin can be added
to multiple type lists resulting in it being called several times, once
for each type list it appears in.

>> Second plugins.shutdown.shutdown() used os.system() to run the freevo
>> script to stop freevo. This caused a problem as it seems to keep hold of
>> the main Python C interpreter lock and prevents receiving the signals
>> until it returns, which it never does as it gets killed. I've changed
>> this
>> to use os.spawn instead.
>>
>> Finally a rather large (in number of files) change to the rc.app()
>> interface. I've been trying to use the new skinable dialogs in more
>> places
>> and run into problem with the event context being changed when a dialog
>> was opened. As a result I've changed the event context/focused app
>> system
>> to use a stacking system, this has actually simplified the code quite a
>> bit and removed a large amount of unnecessary calls to rc.app(None).
>
> I've been wondering about the remote control (rc) module. I think that
> this should post pygame events so that they are picked up in the osd
> module. Then normal events from pygame can be processed as well. pygame
> handles joysticks and gamepads much better than freevo does.
>
>> Anyway I'll try and generate some nice clean patches for these changes
>> and
>> upload them to the tracker hopefully tonight but may be sometime over
>> the
>> weekend.
>
> Look forward to them.
>
> Duncan
>
>

Cheers

Adam


------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to