Closed Bug 77153 Opened 25 years ago Closed 24 years ago

Need to update XPCOM samples to reflect correct, modern usage

Categories

(Core :: XPCOM, defect, P3)

defect

Tracking

()

RESOLVED FIXED
mozilla1.0.1

People

(Reporter: shaver, Assigned: dougt)

References

Details

(Keywords: embed, topembed-)

I mean, we use NSGetFactory. Gimme a break.
Blocks: 77151
Status: NEW → ASSIGNED
Priority: -- → P3
Target Milestone: --- → mozilla0.9.1
0.9.2, unless kandrot wants to do some ownerly hacking here. Ed?
Target Milestone: mozilla0.9.1 → mozilla0.9.2
Mik, What is correct modern usage? I had not realized tha NSGetFactory was not used, for example. What should be done? I am the default XPCOM bug assignee, but I do not know what XPCOM should do, vs what it used to do. Is there samples or docs on this? Thanks. -Edward
Asa just told me that we shipped 0.9.2! Who knew?
Target Milestone: mozilla0.9.2 → mozilla0.9.3
Target Milestone: mozilla0.9.3 → mozilla0.9.4
->0.9.5 since we have run out of time
Target Milestone: mozilla0.9.4 → mozilla0.9.5
I'm going to give this to dougt, in hopes that he can make it part of the API review-and-freeze plan. Doug: if this offends you deeply, feel free to throw it back.
Assignee: shaver → dougt
Status: ASSIGNED → NEW
Target Milestone: mozilla0.9.5 → ---
Target Milestone: --- → mozilla0.9.8
mike, can you double check me, but I think that xpcom/samples are good to go. (assuming that I can get my ass in gear and make that NS_IMPL_NSGETMODULE safe to use by putting it into the xpcom/glue library. I have a bug for that)
Target Milestone: mozilla0.9.8 → mozilla1.0
Keywords: topembed
Keywords: topembed → embed, topembed-
we need to remove the damn nsCRT/string dependency. Once this dependency is broken, the samples (outside of a minor makefile change) will be completly reusabe between different version of XPCOM (at least going forward in time).
Depends on: 136756
reconsider please.
Keywords: topembed → topembed-
We want to be using the correct version of the glue library: Index: xpcom/sample/Makefile.in =================================================================== RCS file: /cvsroot/mozilla/xpcom/sample/Makefile.in,v retrieving revision 1.19 diff -u -r1.19 Makefile.in --- xpcom/sample/Makefile.in 25 Apr 2002 02:52:20 -0000 1.19 +++ xpcom/sample/Makefile.in 17 May 2002 02:16:58 -0000 @@ -63,13 +63,13 @@ # seperate libraries linked in. EXTRA_DSO_LDOPTS = \ - $(DIST)/lib/$(LIB_PREFIX)xpcomglue.$(LIB_SUFFIX) \ + $(DIST)/lib/$(LIB_PREFIX)xpcomglue_s.$(LIB_SUFFIX) \ $(XPCOM_LIBS) \ $(NSPR_LIBS) \ $(NULL) LIBS = \ - $(DIST)/lib/$(LIB_PREFIX)xpcomglue.$(LIB_SUFFIX) \ + $(DIST)/lib/$(LIB_PREFIX)xpcomglue_s.$(LIB_SUFFIX) \ $(DIST)/lib/$(LIB_PREFIX)string_s.$(LIB_SUFFIX) \ $(DIST)/lib/$(LIB_PREFIX)string_obsolete_s.$(LIB_SUFFIX) \ $(XPCOM_LIBS) \ With this change, there are no unfrozen dependencies.
Target Milestone: mozilla1.0 → mozilla1.0.1
that above patch is unneed. Marking fixed.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.