Closed
Bug 10904
Opened 27 years ago
Closed 25 years ago
mozilla/xpcom/sample needs updating
Categories
(Core :: XPConnect, enhancement, P3)
Core
XPConnect
Tracking
()
RESOLVED
FIXED
People
(Reporter: mang, Assigned: dp)
References
()
Details
Attachments
(1 file)
|
4.20 KB,
patch
|
Details | Diff | Splinter Review |
- check factory example against warren's version
- nsSample CID is defined in nsISample.idl, bad!
- move stuff in README.html to xpconnect-sample.html
| Reporter | ||
Updated•27 years ago
|
Status: NEW → ASSIGNED
QA Contact: desale → mang
| Reporter | ||
Comment 1•27 years ago
|
||
- maybe add another implementation class to show that interfaces are not
one-to-one with implementations
| Reporter | ||
Comment 2•27 years ago
|
||
- get code review by scc or other
| Reporter | ||
Comment 3•26 years ago
|
||
Added mccabe, who may help me make this suck less.
- merged README.html into xpconnect-sample.html
- should wait for nsModule before changing factory code
Comment 4•26 years ago
|
||
Oho!
Adding more architect CCs.
Dear architects: It's critically important that we get at least this one piece
of copiable boilerplate correct. While doing so, I think we should avoid the
temptation to demonstrate everything. The sample component should be a good
starting place for people coming to XPCOM. If we want to demonstrate more
aspects, we should extend the sample in ways that don't distract from a simple
core.
We know that people copy and paste. Let's get a good canonical place to copy
from.
Comment 5•26 years ago
|
||
Actually ccing those lucky folks.
Comment 6•26 years ago
|
||
Looks like travis isn't in the list. Does he have a bugzilla id?
Comment 7•26 years ago
|
||
Adding Travis.
| Reporter | ||
Updated•26 years ago
|
Assignee: mang → travis
Status: ASSIGNED → NEW
| Reporter | ||
Comment 8•26 years ago
|
||
Re-assigning to Travis, since he seems interested in fighting the good
fight. (I'm outta here.)
Comment 9•26 years ago
|
||
We should be sure to include the stuff in xpcom/build/nsConstructorPattern.cpp
to show how to have good factory hygiene, etc.
Comment 10•26 years ago
|
||
Move to M15. This is not required for beta 1.
Comment 11•26 years ago
|
||
This should probably live in DPs group.... Reassigning to him to assign to
someone else.
| Assignee | ||
Updated•26 years ago
|
Assignee: dp → scc
| Assignee | ||
Comment 12•26 years ago
|
||
scott, the sample is all yours.
Updated•26 years ago
|
Status: NEW → ASSIGNED
Comment 13•26 years ago
|
||
Another quick (I think) thing to fix between the hard problems.
Target Milestone: M15 → M20
Comment 14•26 years ago
|
||
mass re-assigning to my new bugzilla account
Assignee: scc → scc
Status: ASSIGNED → NEW
Updated•26 years ago
|
Status: NEW → ASSIGNED
| Assignee | ||
Comment 15•26 years ago
|
||
I am fixing this. Scott hope you wont mind if I take this one.
Assignee: scc → dp
Status: ASSIGNED → NEW
| Assignee | ||
Comment 16•26 years ago
|
||
Uses module code. Ah still doesnt do ProgID in header file.
Status: NEW → ASSIGNED
| Reporter | ||
Comment 17•26 years ago
|
||
Attaching a patch that
- moves CID/ProgID into header file
- adds more calls to enablePrivilege
- renames "write" callback to something that works as intended
This makes things go on M15. (I get "netscape is not defined" with M16; will
track this down.)
| Reporter | ||
Comment 18•26 years ago
|
||
| Reporter | ||
Comment 19•26 years ago
|
||
patch checked in
r=scc
| Assignee | ||
Comment 20•25 years ago
|
||
Ok. So I can close this right. CODE fix.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•