Closed
Bug 74792
Opened 24 years ago
Closed 24 years ago
helper to make code that asks for proxies more readable
Categories
(Core :: XPCOM, defect)
Core
XPCOM
Tracking
()
RESOLVED
FIXED
People
(Reporter: dmosedale, Assigned: dmosedale)
References
Details
Attachments
(1 file)
It's a pain to have to get the proxy object manager yourself every time you want
a proxy object in a different function. Since most users of proxies already
have a link-time dependency on libxpcom, I'm attaching a patch that exposes an
NS_GetProxyForObject.
Assignee | ||
Comment 1•24 years ago
|
||
Comment 2•24 years ago
|
||
- * Contributor(s):
+ * Contributor(s): Doug Turner <dougt@netscape.com> (Original Author)
+ * Dan Mosedale <dmose@netscape.com>
Isn't the MPL term of art "Original Contributor"? I've seen others call out the
O.C. first, followed by a possibly-empty Contributor(s): list.
Why not put each Contributor on his own line?
I see yet more impl. in an IDL file, wahhh. Is there no implementation-specific
header file that ties the interface to the one true impl.? OTOH, if it's truly
the one impl (there can be only one), why am I whining.
Address these nits, and r=brendan@mozilla.org.
/be
Assignee | ||
Updated•24 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 3•24 years ago
|
||
> Isn't the MPL term of art "Original Contributor"? I've seen others call out
> the O.C. first, followed by a possibly-empty Contributor(s): list.
I've seen Original Author format used far more often, and since it's part of the
Contributors list, it still conveys both contribution and authorship, which
seems clearer.
> Why not put each Contributor on his own line?
Huh? They are... in my patch there is exactly one Contributor per line.
> I see yet more impl. in an IDL file, wahhh. Is there no
> implementation-specific header file that ties the interface to the one true
> impl.? OTOH, if it's truly the one impl (there can be only one), why am I
> whining.
That's not the implementation in the IDL file; it's the only possible C++
forward declaration, given the IDL signature for the function being wrapped.
The wrapper implementation is in the second file patched, nsProxyEventManager.cpp.
Assignee | ||
Comment 4•24 years ago
|
||
Filed bug 74792 on Orig Contrib vs. Orig Author stuff. Brendan sez that I
should now just find an sr= and checkin.
Assignee | ||
Updated•24 years ago
|
Comment 6•24 years ago
|
||
sr=waterson
Assignee | ||
Comment 7•24 years ago
|
||
Fix checked in.
You need to log in
before you can comment on or make changes to this bug.
Description
•