Commit Graph
30 Commits
Author SHA1 Message Date
Benoit Girard 2018142588 Bug 761135 - Remove XPCOMGlueShutdown. r=benjamin 2013-01-07 16:19:39 -05:00
David Zbarsky 9b486d30ad Bug 801803: More nsresult as enum class creates warnings r=me 2012-10-16 00:26:51 -04:00
David Zbarsky cbf04d7cc1 Backout 368cd30cccda for bustage 2012-10-15 23:52:17 -04:00
David Zbarsky d97f601fed Bug 801803: More nsresult as enum class creates warnings r=me 2012-10-15 23:37:34 -04:00
Mike Hommey 0f9f294ea0 Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Aryeh Gregor 8b4a23fc4c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Gervase Markham cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
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
Phil Ringnalda 99af5c5c2f Bug 495228 - Remove checks for mac MOZ_WIDGET_TOOLKIT, r=ted 2009-09-18 19:59:53 -07:00
[email protected] 9e9855ed0a Bug 305949 Part 1 - Separate the frozen XPCOM exports with the XPCOM_API macro; add compatibility methods to the frozen string API; convert most of the tests/tools to use the xpcom glue when appropriate r=darin This checking does not actually stop exporting the nonfrozen methods yet, pending a bunch of test cleanup throughout the tree. 2005-11-08 18:17:49 +00:00
[email protected] 5ce3368933 Bug 236613: change to MPL/LGPL/GPL tri-license. 2005-09-13 18:40:56 +00: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