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. r=dp@netscape.com, sr=rpotts@netscape.com
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.comalecf@netscape.combrendan@mozilla.org
- 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
nsIConverterInputStream scriptable, and adds nsIUnicharOutputStream and
nsIConverterOutputStream (together with implementations).
r=jshin sr=darin a=chofmann
libraries that don't exist on Windows CE)
* Taking xxx advice and making GetNAME always return a GDI forcing us to use
GetTextMetrics instead of GetFontData (which doesn't exist on Windows CE)
* Windows CE on ARM doesn't support C++ exceptions. In the windows plugin code
uses catches to ensure that the plugins don't crash mozilla. On windows ce on
arm, we have no choice but to disable CALL_SAFETY_ON.
* On Windows CE, VerQueryValue internal structure can not be modified so
callers must do a bit of string conversion.
* Disabling more code in nsOSHelperAppService for Windows CE.
* Enabling the Windows Registry code in XPCOM since the Window CE shunt now
supports the limited set needed (all but notification).
Bug=297683, r=Ere Maijala, sr=Dan Veditz, a=Asa