← Back to team overview

zeitgeist team mailing list archive

[Bug 488656] Re: firefox extension: use XPCOM instead of communicating via files

 

There is an extension called DBusBird for songbird (the music player
based on mozilla), which starts a DBus server so scripts can query the
currently playing song info. This extension uses IDL to describe an
interface which the mozilla JavaScript API can use to call into C++
code. The compiled extension contains a Javascript file and a .so binary
which is loaded when the JavaScript requests the interface name
("@mozilla.org/DBusbird;1"). The C++ module links to the dbus glib
bindings, and does all the dbus stuff with the info it gets from
JavaScript.

If the browser dbus bridge is stable enough we could do everything in
JavaScript. Otherwise a simple wrapper in C++ based on the dbusbird code
might be the best way to go.

Extension page: http://addons.songbirdnest.com/addon/181
Project page: http://code.google.com/p/dbus-bird/
Source code: svn checkout http://dbus-bird.googlecode.com/svn/trunk/ dbus-bird

-- 
firefox extension: use XPCOM instead of communicating via files
https://bugs.launchpad.net/bugs/488656
You received this bug notification because you are a member of Zeitgeist
Framework Team, which is subscribed to Zeitgeist Data Providers.

Status in Zeitgeist Data Providers: New

Bug description:
Due to a missing pyxpcom package in ubuntu karmic the firefox extension was hacked by files in the dbus communication process. this is VERY inefficient. We should use XPCOM instead.





References