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)
Core
XPCOM
Tracking
()
RESOLVED
FIXED
mozilla1.0.1
People
(Reporter: shaver, Assigned: dougt)
References
Details
(Keywords: embed, topembed-)
I mean, we use NSGetFactory. Gimme a break.
| Reporter | ||
Updated•25 years ago
|
| Reporter | ||
Comment 1•25 years ago
|
||
0.9.2, unless kandrot wants to do some ownerly hacking here.
Ed?
Target Milestone: mozilla0.9.1 → mozilla0.9.2
Comment 2•25 years ago
|
||
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
| Reporter | ||
Comment 3•25 years ago
|
||
Asa just told me that we shipped 0.9.2! Who knew?
Target Milestone: mozilla0.9.2 → mozilla0.9.3
Updated•25 years ago
|
Target Milestone: mozilla0.9.3 → mozilla0.9.4
Comment 4•25 years ago
|
||
->0.9.5 since we have run out of time
Target Milestone: mozilla0.9.4 → mozilla0.9.5
| Reporter | ||
Comment 5•25 years ago
|
||
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 → ---
| Assignee | ||
Updated•25 years ago
|
Target Milestone: --- → mozilla0.9.8
| Assignee | ||
Comment 6•24 years ago
|
||
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)
| Assignee | ||
Updated•24 years ago
|
Target Milestone: mozilla0.9.8 → mozilla1.0
Updated•24 years ago
|
| Assignee | ||
Comment 7•24 years ago
|
||
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
Updated•24 years ago
|
| Assignee | ||
Comment 9•24 years ago
|
||
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.
| Assignee | ||
Updated•24 years ago
|
Target Milestone: mozilla1.0 → mozilla1.0.1
| Assignee | ||
Comment 10•24 years ago
|
||
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.
Description
•