Closed
Bug 403418
Opened 17 years ago
Closed 17 years ago
coredrawing plugin support does not build
Categories
(Core Graveyard :: Plug-ins, defect, P5)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla1.9beta2
People
(Reporter: shanec, Assigned: shanec)
References
Details
Attachments
(1 file, 1 obsolete file)
1.80 KB,
patch
|
jst
:
superreview+
|
Details | Diff | Splinter Review |
I'm modifying our scintilla plugin to use the new core drawing on trunk. I could not build without a small modification to npapi.h. The issue is NPN_SetValue call (as described at http://wiki.mozilla.org/Mac:NPAPI_Drawing_Models) requires an NPPValue, not an NPNValue. powerpc-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 considers that an error and the build breaks. I don't necessarily think this is the *right* fix, but I now have scintilla working with carbon on trunk.
Attachment #288241 -
Flags: review?(jst)
Comment 2•17 years ago
|
||
Comment on attachment 288241 [details] [diff] [review]
osx_plugin_carbondrawing.patch
Looks good to me, but this is Josh territory, so asking him to review.
Attachment #288241 -
Flags: superreview+
Attachment #288241 -
Flags: review?(jst)
Attachment #288241 -
Flags: review?(joshmoz)
Comment on attachment 288241 [details] [diff] [review]
osx_plugin_carbondrawing.patch
I'm OK with this, I will submit a patch to WebKit to keep Apple in sync with our change.
Attachment #288241 -
Flags: review?(joshmoz) → review+
Comment on attachment 288241 [details] [diff] [review]
osx_plugin_carbondrawing.patch
Actually, we should fix one more thing. In ns4xPlugin.cpp, please use the new value in the following function:
_setvalue(NPP npp, NPPVariable variable, void *result)
Strictly speaking it doesn't really matter since they resolve to the same thing, but it is the right thing to do.
Attachment #288241 -
Flags: review+ → review-
Marking blocking1.9+ since this is a significant problem with a major Gecko 1.9 feature.
Flags: blocking1.9+
Priority: -- → P5
Target Milestone: --- → mozilla1.9 M10
Patch updated to address my own review comment, save Shane some time.
Attachment #288241 -
Attachment is obsolete: true
Attachment #288457 -
Flags: superreview?(jst)
Updated•17 years ago
|
Attachment #288457 -
Flags: superreview?(jst) → superreview+
landed on trunk, thanks Shane!
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Depends on: 403724
Updated•2 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•