Closed Bug 99181 Opened 23 years ago Closed 23 years ago

Phase 1: Freeze some embedding APIs/interfaces...

Categories

(Core Graveyard :: Embedding: APIs, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
mozilla0.9.5

People

(Reporter: chak, Assigned: adamlock)

References

Details

Attachments

(4 files)

NS_InitEmbedding NS_TermEmbedding nsIWebBrowser nsIContextMenuListener nsITooltipListener nsITooltipTextProvider nsIEmbeddingSiteWindow nsIWebBrowserSetup
Blocks: 98417
Forgot to include this earlier, sorry. The above set of embedding interfaces/APIs have been identified as the ones we can freeze now with little fixup i.e. Phase 1 of the interface freeze process.
Chak can you look over these two interfaces to see I'm going the right away about them? One thing I noticed is Doxygen doesn't recognize the @status tag and passes it straight through. We should probably pick another way to specify an interface is frozen.
QA Contact: mdunn → depstein
Hi Jud : Could you please comment on the "@status" issue Adam's talking about?
Since we're following JavaDoc conventions here... only thing i noticed in the patches are the usage of "@retval" instead of "@return" as specified in http://java.sun.com/j2se/javadoc/writingdoccomments/index.html#tag Other than that r= chak on the two patches.
@status is it. if you want the full beef on how we arrived at it, checkout the comments in http://bugzilla.mozilla.org/show_bug.cgi?id=48726 . doxygen should adapt if it wants to do something special w/ @status.
Hi Adam: Another thing.... Per Jud - nsToolTipListener and nsITooltipTextProvider should be in different .idl files Thanks Chak
Target Milestone: --- → mozilla0.9.5
Setting 0.9.5 target milestone per Jud's comments.
r=chak Rick/Someone : Can one of you sr= this...Thanks
here are some comments about the big patch... 1. We need to decide how much HTML we should put inside of our doxygen comments... The HTML table describing nsIContextMenuListener::aContextFlag is unreadable to the naked eye :-( This is a decision that we 'can' pospone until the documentation group sweeps through these files...; 2. Did we finally decide to keep NS_DoIdleEmbeddingStuff(...) as a XP function? the last i heard, it was only *really* needed on the Mac... i don't know the answer here - i'm just asking :-) 3. Should we create a separate 'nsCTooltipTextProvider.h' file with #includes, contract-id and documentation describing the 'tooltip text provider' component that we expose... Right now, the component stuff is mixzed in with the nsITooltipTextProvider interface definition... 4. Can we remove the '#include nsIEnumeration.h' from nsIWebBrowserSetup.idl
Some answers: 1. HTML was the only way to do the table. Doxygen understands this limited markup and generates the correct equivalent for whatever output format you choose, rtf, html etc. Generally I've been extremely sparing with HTML markup but it's been used when it's the only or most obvious way to do something. 2. I've only marked NS_InitEmbedding & NS_TermEmbedding as FROZEN. Those other contentious functions are still up for review but I documented anyway while I was in there. I should probably put a @status tag in their documentation to say their under review. 3. Possibly, but since the only use for nsITooltipTextProvider is on a service registered with that contract ID I saw no point in seperating them. Do you think it's worth seperating it out? 4. Yes. So can I have an sr assuming I: 1. Mark the NS_DoIdleEmbeddingStuff and the other few functions as under review 2. Seperate out the contract ID if you think it should be done. 3. Remove #include "nsIEnumerator.idl" ?
hey adam, I think that it is useful to create a separate file for the 'Tooltip Text Provider' service... I didn't even realize that it was a service :-) If you could put the contract-id, the #include for nsITooltipTextProvider and the comments describing how the service is used into this new file... that would be GREAT!! Also, it looks like the mozilla license has changed!! So, we now need to use the new 'triple license' for ALL new files :-) take a look at http://www.mozilla.org/MPL/boilerplate-1.1/ And after *all* of this... sr=rpotts@netscape.com :-)
Comment on attachment 49753 [details] [diff] [review] All interfaces / APIs covered by this bug cleaned up and documented. Chak can you review please? sr=rpotts@netscape.com (after comments have been addressed)..
Attachment #49753 - Flags: superreview+
Everything checked in, including Rick's suggestions. Chak, time for phase 2 whatever that might be!
Fixed
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Checked patch checkins in 10/11 mozilla nightly build. Looks good.
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: