Mac:Plugins: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 6: Line 6:


[[Mac:NPAPI_Drawing_Models]] contains the spec for Mac OS X NPAPI Drawing Models. This spec allows plugins to render using CoreGraphics and also solves the problem of 64-bit plugins on Mac OS X. The spec is close to final, however last-minute changes may occur.
[[Mac:NPAPI_Drawing_Models]] contains the spec for Mac OS X NPAPI Drawing Models. This spec allows plugins to render using CoreGraphics and also solves the problem of 64-bit plugins on Mac OS X. The spec is close to final, however last-minute changes may occur.
== Gecko 2.0 Plugin Improvements ==
* NP_GetEntryPoints will become the only way to get function pointers, we will not call "main()".
* Remove Quickdraw drawing model and Carbon drawing model support even for 32-bit plugins.
== Gecko 1.9.1 Plugin Improvements ==
* New event model, negotiated in 32-bit mode and the only choice in 64-bit mode. See [[Mac:NPAPI_Event_Models]].


== Gecko 1.9 Plugin Improvements ==
== Gecko 1.9 Plugin Improvements ==
Line 12: Line 21:
* [https://bugzilla.mozilla.org/show_bug.cgi?id=344425 344425] - support NP_GetEntryPoints as a way to get plugin function pointers instead of calling "main()"
* [https://bugzilla.mozilla.org/show_bug.cgi?id=344425 344425] - support NP_GetEntryPoints as a way to get plugin function pointers instead of calling "main()"
* [https://bugzilla.mozilla.org/show_bug.cgi?id=336060 336060] - use a slower idleEvent timer for plugins that are not in a foreground tab on the key window
* [https://bugzilla.mozilla.org/show_bug.cgi?id=336060 336060] - use a slower idleEvent timer for plugins that are not in a foreground tab on the key window
== Gecko 2.0 Plugin Improvements ==
* New event model, negotiated in 32-bit mode and the only choice in 64-bit mode. The proposal for the new event model is under development.
* NP_GetEntryPoints will become the only way to get function pointers in 64-bit, we will not call "main()".
* Remove Quickdraw plugin model support for 32-bit plugins? There will never be Quickdraw plugin model support for 64-bit plugins.
== Future Plugin Improvements (Post Gecko 2.0) ==
* [https://bugzilla.mozilla.org/show_bug.cgi?id=347511 347511] - support .webplugin plugins

Revision as of 20:14, 13 May 2008

Mac OS X NPAPI Event Models Spec

Mac:NPAPI_Event_Models contains the spec for Mac OS X NPAPI Event Models. This spec adds support for the Cocoa event model, which replaces the aging and 64-bit incompatible Carbon event model. The spec is close to final but more changes may be made.

Mac OS X NPAPI Drawing Models Spec

Mac:NPAPI_Drawing_Models contains the spec for Mac OS X NPAPI Drawing Models. This spec allows plugins to render using CoreGraphics and also solves the problem of 64-bit plugins on Mac OS X. The spec is close to final, however last-minute changes may occur.

Gecko 2.0 Plugin Improvements

  • NP_GetEntryPoints will become the only way to get function pointers, we will not call "main()".
  • Remove Quickdraw drawing model and Carbon drawing model support even for 32-bit plugins.

Gecko 1.9.1 Plugin Improvements

Gecko 1.9 Plugin Improvements

  • 344427 Support Mac OS X NPAPI Drawing Models, as proposed below. This will allow plugins to draw using CoreGraphics instead of Quickdraw.
  • 344425 - support NP_GetEntryPoints as a way to get plugin function pointers instead of calling "main()"
  • 336060 - use a slower idleEvent timer for plugins that are not in a foreground tab on the key window