Commit Graph

24 Commits

Author SHA1 Message Date
Benjamin Smedberg
c2fd766056 Bug 1332631 part G - file moves from xpcom/glue to xpcom/components, and remove GenericModule which is no longer useful, r=froydnj
MozReview-Commit-ID: 5NvfKRAlZqs
2017-01-20 14:41:10 -05:00
darin@meer.net
b9a22224f6 fixes bug 263360 "Make CallCreateInstance use NS_GetComponentManager instead of nonfrozen/deprecated nsComponentManager symbols" r=bsmedberg sr=dbaron 2004-11-23 20:53:38 +00:00
dbaron@dbaron.org
8d4d269b63 Add helper functions that make it easier to cache factories. b=261310 r=darin 2004-10-02 00:44:13 +00:00
bryner@brianryner.com
0e308c4434 Add a NS_FASTCALL macro that specifies regparm(3) and stdcall on gcc/x86 to improve performance (passing up to 3 arguments in registers instead of on the stack, and having the caller pop any stack arguments). Apply NS_FASTCALL to our most frequently called non-public methods and functions. Also add NS_CDECL to explicitly specify the default calling convention and make it part of NS_IMETHOD, since xptcall can't deal with NS_FASTCALL. Bug 249652, r=darin, sr=dbaron. 2004-07-14 22:14:34 +00:00
gerv@gerv.net
c0cd46fc51 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
dougt@netscape.com
c79a89b6dd 130405. Makes the xpcom glue library usable. Updates XPCOM Samples. Adds requires lines to a few implict string/category consumers sr=alecf, sr=brendan@mozilla.org a=asa@mozilla.org 2002-03-21 23:43:21 +00:00
alecf@netscape.com
4fa85a81db remove a bunch of dead code, and remove NS_COM from a bunch of concrete classes that weren't being used previously
r=jag, sr=shaver
2002-02-18 22:57:47 +00:00
dougt@netscape.com
e67bb51f0f fixing build bustage 2001-12-19 00:59:25 +00:00
dougt@netscape.com
32ebf7f11f nsIComponentManager API Changes (bug 98553)
a) create a new nsIComponentManager with only four functions on it:
CreateInstance CreateInstanceByContractID GetClassInfo GetClassInfoByContractID.

b) rename the old nsIComponentManager to nsIComponentManagerObsolete.

c) fixes callers which use to access the nsIComponentManager for component
registration functionality.  These callers will temporary use the
nsIComponentManagerObsolete interface.

d) Create a new API NS_GetComponentManager() which mirrors the
NS_GetServiceManager()

e) Perserves the old NS_GetGlobalComponentManager().  Note the cast usage.

r/sr = rpotts@netscape.com  alecf@netscape.com  brendan@mozilla.org
2001-12-19 00:12:41 +00:00
dbaron@fas.harvard.edu
a9aa77073f Header include dependency cleanup. b=64023 r=jag rs=brendan 2001-07-16 02:40:48 +00:00
dbaron@fas.harvard.edu
2bc3935ec0 Add CallCreateInstance and CallGetService. b=87735 r=jaggernaut sr=scc 2001-07-04 18:55:14 +00:00
waterson@netscape.com
2498f51f20 Land STATIC_BUILD_20010612_BRANCH, which supports building mozilla with components statically linked into the executable, as well as 'meta modules' that combine components into uber-DLLs. 2001-06-20 20:21:49 +00:00
rayw@netscape.com
c6334366cb Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren
2000-09-13 23:57:52 +00:00
shaver@mozilla.org
43bd0e1df6 remove useless nsIModule paste (#22922), add debug() for JS components, use categories for component loaders, XPCONNECT_STANDALONE (#39875), r=dp,waterson a=brendan 2000-05-26 04:56:23 +00:00
scc@mozilla.org
30c0dee00f Bug #39824. Checking in patch from dp. This patch fixes exports on some |nsCOMPtr_helper| classes so we can link appropriately. r=scc. 2000-05-20 18:31:45 +00:00
dp@netscape.com
c6bcfa0e5c Adding progid for component manager. 2000-05-05 06:01:41 +00:00
dp@netscape.com
593fb8a197 Implemented component unregistration. 2000-04-18 05:25:05 +00:00
dveditz@netscape.com
d1f95056e5 registry speed ups (part of 12817) 2000-02-16 07:45:20 +00:00
dougt@netscape.com
d48ec37751 Landing nsIFile. 2000-01-24 21:28:28 +00:00
blizzard@redhat.com
2126e6b818 Change nsComponentManager::ProgIDToCLSID to nsComponentManager::ProgIDToClassID as per bug #3579. Checking in for sford. r=scc,r=blizzard 1999-12-30 22:03:58 +00:00
scc@netscape.com
ec91fc2507 Added |do_CreateInstance()|, |do_GetService()| both by CID and ProgID. See bugs #17364, #17448. r={travis, dp} 1999-11-10 00:14:54 +00:00
shaver@netscape.com
a2528d3d65 add componentType to nsIModule::RegisterSelf 1999-09-22 03:18:27 +00:00
shaver@netscape.com
dea9335842 teach component manager that there are non-native entries in the registry 1999-09-07 23:18:47 +00:00
shaver@netscape.com
77c3544d9c convert to CreateInstanceFromProgID 1999-09-05 06:27:42 +00:00