Mac:Plugins: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
No edit summary
 
(26 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== Gecko 1.9 Plugin Improvements ==
== Changes Made After Gecko 2.0.0 ==


We are hoping to make 4 major improvements to the Mac OS X plugin architecture in Gecko 1.9:
* Dropped support for the Carbon NPAPI 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()"
* Dropped support for the Quickdraw NPAPI 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
* Removed support for gathering plugin meta data from old-school resource files.
* [https://bugzilla.mozilla.org/show_bug.cgi?id=344427 344427] Support Mac OS X NPAPI Drawing Models, as proposed below. Significant changes include support for 64-bit plugins and allowing 32-bit plugins to use CoreGraphics.
* [https://bugzilla.mozilla.org/show_bug.cgi?id=347511 347511] - support .webplugin plugins


This is pretty ambitious, but we can start cutting if we need to when we get close to the deadline.
== Gecko 2.0.0 Plugin Changes ==


== Mac OS X NPAPI Drawing Models Spec ==
* {{nbug|435041}} - Added support for the Cocoa event model.
* {{nbug|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.


[[Mac:NPAPI_Drawing_Models]] contains the spec for Mac OS X NPAPI Drawing Models, which happens to solve the problem of 64-bit plugins on Mac OS X. The spec is not final and will be updated as changes are made.
== Gecko 1.9.2 Plugin Changes ==
 
* {{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.
 
== 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.