Re: [webkit-dev] OSX 64 bit plugin support not ready
On 2011-04-26, at 05:11, Alan Swartz wrote: That's good to know. It's not the support of the Cocoa event model and CoreGraphics that appears broken, it's that the code that checks these options appears to be compiled out by the NP_NO_CARBON #define for 64 bit builds in PlugInViewMac.mm. With the current code, I don't see how any NPAPI plug-ins could work on OSX on 64-bit builds. It's worth noting that what Kevin stated applies to Netscape plug-ins loaded via the Mac port of WebKit. The Qt port of WebKit uses a different implementation of the Netscape plug-in API than the Mac port. My reading of the Qt NPAPI implementation brings me to a similar conclusion to that which you reached: when NP_NO_CARBON is not defined the code in PluginViewMac.mm will not allow any plug-ins to be loaded. It's also worth noting that there does not appear to be any code in PluginViewMac.mm to deal with the Cocoa event model. This suggests that there is a non-trivial amount of work required in order for it to support plug-ins on 64-bit Mac OS X. - Mark ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Re: [webkit-dev] OSX 64 bit plugin support not ready
Yes, I'm painfully aware that Apple does not support Carbon in 64-bits. This is why I'm learning 64-bit QtWebKit. I thought as you do that Theoretically, a plugin with a Cocoa event model and CoreGraphics drawing should work. Unfortunately, I think the code in PluginViewMac.mm is not ready for this eventuality. Alan From: Avi Drissman a...@google.com To: Alan Swartz alan_swa...@yahoo.com Cc: webkit-dev@lists.webkit.org Sent: Sun, April 24, 2011 4:45:52 PM Subject: Re: [webkit-dev] OSX 64 bit plugin support not ready I can't address your first question but have a comment. On Sun, Apr 24, 2011 at 2:46 PM, Alan Swartz alan_swa...@yahoo.com wrote: Looking around some more, it turns out much of the code in this file is not compiled if NP_NO_CARBON is defined. This leads me to believe that the version of WebKit that comes down with Qt 4.7.3 is not ready for OSX 64 bit plugins. You are aware that Carbon isn't available in 64 bits? Theoretically, a plugin with a Cocoa event model and CoreGraphics drawing should work, though the code you point out looks suspicious. Avi ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Re: [webkit-dev] OSX 64 bit plugin support not ready
On Apr 25, 2011, at 2:43 PM, Alan Swartz wrote: I thought as you do that Theoretically, a plugin with a Cocoa event model and CoreGraphics drawing should work. The combination of NPDrawingModelCoreGraphics and NPEventModelCocoa has been supported since Safari 4. -kd ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Re: [webkit-dev] OSX 64 bit plugin support not ready
I can't address your first question but have a comment. On Sun, Apr 24, 2011 at 2:46 PM, Alan Swartz alan_swa...@yahoo.com wrote: Looking around some more, it turns out much of the code in this file is not compiled if NP_NO_CARBON is defined. This leads me to believe that the version of WebKit that comes down with Qt 4.7.3 is not ready for OSX 64 bit plugins. You are aware that Carbon isn't available in 64 bits? Theoretically, a plugin with a Cocoa event model and CoreGraphics drawing should work, though the code you point out looks suspicious. Avi ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev