Closed
Bug 90348
Opened 25 years ago
Closed 24 years ago
update New Plugin API SDK
Categories
(Core Graveyard :: Plug-ins, defect)
Core Graveyard
Plug-ins
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: peterlubczynski-bugs, Assigned: serhunt)
References
Details
Attachments
(2 files, 3 obsolete files)
This bug is about updating (or creating) the New Plugin API SDK so that anyone
wanting to write a new plugin or upgrade their old one won't have to pull or
build the entire tree.
Arun, the netscape.public.mozilla.plugins newsgroup seems to have a lot people
asking for a SDK.
npapi.h and npupp.h both use a couple of Java related types, thus including
jri.h. I don't think we need it for the SDK so we should probably provide a sort
of fake jri.h with it so that those types were defined somehow, say |void*|.
Another thing, npapi.h uses a Windows specific type HRGN so including windows.h
to it is probably necessary to make it iseful in platform independent files.
Attached above is the SDK prototype with full Basic example for Windows
including MSVC project files.
Common files implementing NPAPI entry points should be modified to be useful for
Mac and Unix, I think I'll do this next step.
*** Bug 62922 has been marked as a duplicate of this bug. ***
Attachment #50126 -
Attachment is obsolete: true
This v. 2 of the proposed SDK now contains common files which should compile for
all three platforms. The only plugin sample (Basic plugin) is currently for
Windows only, Serge is working on porting the Unix version. Another sample
which would illustrate how to do new for Mozilla stuff -- scriptability and
access to the service manager, is under way.
Status: NEW → ASSIGNED
Attachment #50631 -
Attachment is obsolete: true
Addition to what the readme file says. All three examples have Windows projects.
Basic and Simple examples also have Unix projects (thanks, Serge). Mac still
needs to be ported on, in all three examples.
Attachment #51796 -
Attachment description: v.3 of the SDK → SDK, third try
Attachment #51796 -
Attachment description: SDK, third try → SDK, third try -- Unix makefiles need fineruning
Attachment #51796 -
Flags: needs-work+
Attachment #51796 -
Attachment description: SDK, third try -- Unix makefiles need fineruning → SDK, third try -- Unix makefiles need finetuning
| Assignee | ||
Comment 10•24 years ago
|
||
Attachment #51796 -
Attachment is obsolete: true
Attachment #51796 -
Flags: needs-work+
| Assignee | ||
Comment 11•24 years ago
|
||
*** Bug 98748 has been marked as a duplicate of this bug. ***
| Assignee | ||
Comment 12•24 years ago
|
||
After talking to Peter who is currently working on porting samples to Mac we
decided to check the SDK in rather than attaching zip file here in the bug
report. So, I am going to get it into the tree today as _not_ part of the build
process yet, all who are interested are advised to pull it off the tree to
ensure you have the latest version.
| Assignee | ||
Comment 13•24 years ago
|
||
Checked in.
| Assignee | ||
Comment 14•24 years ago
|
||
I am marking this fixed as it has been checked in. Specific issues concerning
the SDK should be filed separately.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Updated•4 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•