Commit Graph
20 Commits
Author SHA1 Message Date
Benjamin Smedberg 0e824d90bb Bug 568691 part A - register static and binary components using data tables rather than programmatic nsIComponentRegistrar methods. This part contains the important needs-review bits of the change: part B contains the mechanical changes to each module in order to actually get a working build. Part C will contain changes necessary to register JS components from .manifest files 2010-06-10 14:11:11 -04:00
[email protected] fd93006b6c Bug 298047 - Drop the dependencies of the XPCOM standalone glue on NSPR, try #2 - Re-landing this in such a way that we're not going to break non-xulrunner builds on mac with xcode < 1.5 until we have the tinderboxen and official build instructions upgraded properly (see the XXXNote in xpcom/sample/Makefile.in, and the continued ifdef MOZ_ENABLE_LIBXUL hack in config/autoconf.mk.in around MOZ_FIX_LINK_FLAGS). r=darin a=asa 2005-07-01 12:24:07 +00:00
[email protected] 7e12e1825e Backout bug 298047 per Chase as it breaks some downrev mac systems unexpectedly. 2005-06-30 02:04:23 +00:00
[email protected] 27a1d533ed Bug 298047 - Drop the dependencies of the XPCOM standalone glue on NSPR (this patch covers everything except dynamic linking) r=darin a=asa (The file xpcom/sample/nsTestSample.cpp moved to xpcom/sample/program/nsTestSample.cpp) 2005-06-29 18:53:30 +00:00
[email protected] 25b5568abe landing patch for bug 262218 "libxpcom.so should only export frozen symbols" r=bsmedberg sr=bryner 2005-06-29 18:32:50 +00:00
[email protected] a485fd82fb Bug 236613: change to MPL/LGPL/GPL tri-license. 2005-06-29 18:32:49 +00:00
[email protected] 86750210c7 Final fix. This is the way this patch should have landed. including nsXPIDLCString when XPCOM_GLUE is defined is not a good idea 2005-06-29 18:32:48 +00:00
[email protected] 6f7af7a7b7 landing 172512. nsEmbedString for component developers and embeders. r=alec, sr=jag/darin, [email protected] 2005-06-29 18:32:47 +00:00
[email protected] 79be5b334e Damn the nmake build system and the mac. 2005-06-29 18:32:46 +00:00
[email protected] 763aab2b52 More XPCOM Glue changes and fixes. r=waterson, sr=rpotts, 154262. 2005-06-29 18:32:45 +00:00
[email protected] d7c5d0c850 adding #include for stdio for printf 2005-06-29 18:32:44 +00:00
[email protected] fb58f321f3 130405. Makes the xpcom glue library usable. Updates XPCOM Samples. Adds requires lines to a few implict string/category consumers sr=alecf, [email protected] [email protected] 2005-06-29 18:32:43 +00:00
[email protected] ee99337a0d 1. Converts callers of nsIComponentManagerObsolete to use
nsIComponentRegistrar.

2. Converts callers of nsComponentManager::AutoRegister to use
nsIComponentRegistrar's autoRegistrar method.

3. Add nsIComponentRegistrar implmentation to nsComponentManagerImpl.

4. Rearrange nsComponentManager.cpp so that related methods are in the same
place.

5. Added a C-style function NS_GetComponentRegistrar so that getting the
registrar is easier in some places.

6. Added a nsISimpleEnumerator interface on PLDHashTableEnumeratorImpl.  in
this way, the same base class can support both old style and new style
enumerations.

7. Fixed a nasty bug where unregistring factories will leave the contract id
hash with a dangling pointer.  Now, when unregister is called we search the
contract id hash for entries which have the given doomned cid and remove them.


Bug 115853.  [email protected], [email protected]
2005-06-29 18:32:42 +00:00
[email protected] 393abda8b1 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 = [email protected]  [email protected]  [email protected]
2005-06-29 18:32:41 +00:00
[email protected] d1933d22a3 API Freeze for nsIServiceManager [email protected], [email protected] bug 99147 2005-06-29 18:32:40 +00:00
[email protected] 3fdb85cb2c Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2005-06-29 18:32:39 +00:00
[email protected] 11bce24cb3 67699: all your nsIClassInfo is belong to us
- teach nsGenericFactory about nsIClassInfo, and nsIClassInfo.idl to the
  builds
- add a heaping serving of macro love for classes that want to support it
- convert many modules to use nsGenericModule the new way
- handful of warning and modeline fixes
- nsSample and some XPConnect test classes now have nsIClassInfo support for
  testing
2005-06-29 18:32:38 +00:00
[email protected] a8277da619 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren
2005-06-29 18:32:37 +00:00
[email protected] 98b1b85b57 progid no longer defined in nsISample.idl
Part of previous fix to bug 10904
2005-06-29 18:32:36 +00:00
[email protected] a4a58c7f7d Sample XPCOM Application 2005-06-29 18:32:35 +00:00