Patricias blog

Subscribe to RSS feed

Posts tagged with "plugins"

Mainloop Negotiation Spec

,

I have written up the spec and placed it here :

http://people.opera.com/psmaas/Plugin_API_Mainloop_Negotiation-1.0.html

Any feedback is welcome smile

operapluginwrapper at 100% CPU in Ubuntu Gutsy Gibbon

, ,

We are affected by the issue discussed here:

http://bugzilla.gnome.org/show_bug.cgi?id=463773#c10

note that this bug is a Flash/Gtk/GLib issue, but unfortunately hits us because with the currently stable version of Flash we offer the Xt mainloop and that means that the wrapper is not Gtk. Note also that this affects OpenOffice and Konqueror with Flash aswell.

9.5 Alpha is out and I can talk about plugins smile

, , ,

I have been hinting, but now I can give you the real info smile The Adobe
Flash Player Beta caught us a bit off guard, it depends on having a Gtk
mainloop running, meaning that it really assumed to be in a Gtk browser. Now
Opera is not Gtk based (neither is Konqueror for that matter). What confused us
further was that Adobe kept stating that it needed XEmbed. What is the
real truth of the matter is this, the Flash Player was assuming two things -
neither clearly documented :

1. A Gtk mainloop is available
2. The window supplied to the plugin is the window of a GtkSocket

We made a big redesign of the pluginwrapper, and it now supports both Gtk and
Xt and the choice of mainloop is done runtime. This means two things:

1. We can have a mainloop negotiation before the plugin is loaded (I'm writing
up a spec that we will propose to other browser and plugin authors)
2. We now have a more flexible architecture that makes it possible to support
other toolkits in the future.

Currently if you want the Gtk mainloop you can answer affirmative to the
NPP_GetValue call with NPPVpluginNeedsXEmbed. This refers to the spec :

http://developer.mozilla.org/en/docs/XEmbed_Extension_for_Mozilla_Plugins

However this spec is incomplete and not usable as a basis for
implementation. We hope that we will be able to rectify this with the mainloop
negotiation spec.

Just to point to someone else for a change

, ,

Someone else who has had some DiamondX experience:

http://zrusin.blogspot.com/2007/05/browser-plugins.html

Well written and very funny smile

DiamondX - and the obligatory screenshot

, ,

Of course we are working on it smile