Mac:Plugins: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(16 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== Mac OS X NPAPI Drawing Models Spec ==
== Changes Made After Gecko 2.0.0 ==


[[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.
* Dropped support for the Carbon NPAPI event model.
* Dropped support for the Quickdraw NPAPI drawing model.
* Removed support for gathering plugin meta data from old-school resource files.


== Gecko 1.9 Plugin Improvements ==
== Gecko 2.0.0 Plugin Changes ==


* [https://bugzilla.mozilla.org/show_bug.cgi?id=344427 344427] Support Mac OS X NPAPI Drawing Models, as proposed below. This will allow plugins to draw using CoreGraphics instead of Quickdraw.
* {{nbug|435041}} - Added support for the Cocoa event model.
* [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()"
* {{nbug|497225}} - Added support for the Core Animation drawing model.
* [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
* Added support for out-of-process plugins. Requires that plugins use the Cocoa event model along with either Core Graphics or Core Animation drawing.


== Gecko 2.0 Plugin Improvements ==
== Gecko 1.9.2 Plugin Changes ==
* New event model, negotiated in 32-bit mode and the only choice in 64-bit mode.
* 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) ==
* {{nbug|467429}} - "NP_GetEntryPoints" is now the only way to get function pointers, Gecko will not call "main".
* {{nbug|467417}} - Removed support for CFM binary plugins.
* {{nbug|386676}} - Plugin testing system added to the Mozilla tree.
* NPAPI header and SDK improvements.
* General bug fixes.


* [https://bugzilla.mozilla.org/show_bug.cgi?id=347511 347511] - support .webplugin plugins
== Gecko 1.9.1 Plugin Changes ==
 
* {{nbug|350109}} - Added support for reading plugin meta data from bundle plist file.
* Improved NPAPI headers and SDK.
* General bug fixes.
 
== Gecko 1.9.0 Plugin Changes ==
 
* {{nbug|344427}} - Added support for Mac OS X NPAPI Drawing Models. This allows plugins to draw using CoreGraphics instead of Quickdraw.
* {{nbug|344425}} - Added support for NP_GetEntryPoints as a way to get plugin function pointers instead of calling "main()".
* {{nbug|336060}} - Gecko now uses a slower idleEvent timer for plugins that are not in a foreground tab on the key window.
* General bug fixes.

Latest revision as of 14:36, 9 January 2014

Changes Made After Gecko 2.0.0

  • Dropped support for the Carbon NPAPI event model.
  • Dropped support for the Quickdraw NPAPI drawing model.
  • Removed support for gathering plugin meta data from old-school resource files.

Gecko 2.0.0 Plugin Changes

  • 435041 - Added support for the Cocoa event model.
  • 497225 - Added support for the Core Animation drawing model.
  • Added support for out-of-process plugins. Requires that plugins use the Cocoa event model along with either Core Graphics or Core Animation drawing.

Gecko 1.9.2 Plugin Changes

  • 467429 - "NP_GetEntryPoints" is now the only way to get function pointers, Gecko will not call "main".
  • 467417 - Removed support for CFM binary plugins.
  • 386676 - Plugin testing system added to the Mozilla tree.
  • NPAPI header and SDK improvements.
  • General bug fixes.

Gecko 1.9.1 Plugin Changes

  • 350109 - Added support for reading plugin meta data from bundle plist file.
  • Improved NPAPI headers and SDK.
  • General bug fixes.

Gecko 1.9.0 Plugin Changes

  • 344427 - Added support for Mac OS X NPAPI Drawing Models. This allows plugins to draw using CoreGraphics instead of Quickdraw.
  • 344425 - Added support for NP_GetEntryPoints as a way to get plugin function pointers instead of calling "main()".
  • 336060 - Gecko now uses a slower idleEvent timer for plugins that are not in a foreground tab on the key window.
  • General bug fixes.