Commit Graph
30 Commits
Author SHA1 Message Date
[email protected] c0cd46fc51 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
[email protected] 3736b6e206 Bug 229875 - eliminate unnecssary public/virtual destructors. This patch changes all refcounted classes under xpcom/, which aren't inherited from or used on the stack, to have private, nonvirtual destructors. r=dougt, sr=dbaron. 2004-01-15 06:14:18 +00:00
[email protected] 14b7ccfc8d Bug 213543 In function nsresult Register(const char *)': warning: return of negative value -1' to `nsresult' warning: negative integer implicitly converted to unsigned type
r=dougt
2003-08-03 09:58:56 +00:00
[email protected] 84689fcc5d Fixes a crash on shutdown. patch by bryner. r+sr=dougt 2003-04-12 07:16:31 +00:00
[email protected] ced51c92b0 spelling error fixed - thanks [email protected]. 2003-04-08 21:13:54 +00:00
[email protected] 4fb39362bf fixing mistake in help option 2003-04-08 20:58:08 +00:00
[email protected] 654f535f4c RegXPCOM rewrite - see bug 183075 for details. sr=darin & alecf 2003-04-08 20:46:17 +00:00
[email protected] d5d544d503 Bug 155466 clean up test consumers to correctly use NS_ShutdownXPCOM
r=dmose, sr=scc, moa: dougt, dbradley, gagan, harish, akk
2002-07-04 14:29:25 +00:00
[email protected] cdd08719da fixes bug 129279 "nsIFile unicode/utf8/ascii task"
r=dougt sr=alecf
2002-04-27 05:33:09 +00:00
[email protected] c6dc747783 Even better patch. This is what was intented in the first place, [email protected] 2002-04-18 00:32:49 +00:00
[email protected] a6bfd5cff7 Do not hold references passed xpcom shutdown. a=leaf 2002-04-18 00:20:58 +00:00
[email protected] 81107516d8 XPCOM initialize primary event queue. 135531. [email protected], [email protected] 2002-04-15 22:26:29 +00:00
[email protected] c3e0a303eb 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]
2002-01-29 21:22:13 +00:00
[email protected] 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 = [email protected]  [email protected]  [email protected]
2001-12-19 00:12:41 +00:00
[email protected] 71f4514b1a API Freeze for nsIServiceManager [email protected], [email protected] bug 99147 2001-10-16 03:35:52 +00:00
[email protected] 58d409fba9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
[email protected] ccceacb0a9 fix for bug 84411: infinite loop in regxpcom. r/sr=shaver. properly increment loop variant. 2001-06-29 01:44:35 +00:00
[email protected] 3c13fb7716 73494: remove iostreams use in regxpcom, general cleanup, new silence options.
r=dmose, sr=kin.
2001-05-15 17:46:55 +00:00
[email protected] 3d31f7ee32 Include iomanip.h because we need the |using std::hex| and |using std::dec| from it to build with libstdc++ 3.0. b=63604 [email protected] 2001-03-11 18:10:58 +00:00
[email protected] 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
[email protected] 87b9baa908 Removed unneccessary casts. 2000-05-05 05:54:15 +00:00
[email protected] 3f56760a46 Hooking up component unregister to regxpcom. 2000-04-18 06:20:35 +00:00
[email protected] 6a4d4a3655 Conversion to NS_GET_IID(). Bug #20232, [email protected] 2000-02-01 14:26:27 +00:00
[email protected] bf111ecb95 Some mac-only debug window control. bug 24312. r=jj 2000-01-27 05:51:40 +00:00
[email protected] d48ec37751 Landing nsIFile. 2000-01-24 21:28:28 +00:00
[email protected] 48a65e11e8 I know it's unorthodox to do a top level checkin like this, but I've got so many files
in so many different directories, that I think it's the best way.
I've pulled and clobber_all'd my tree and got

r=dp

on this checkin.

Here are the touched files:

M mozilla/embedding/browser/activex/src/control/MozillaBrowser.cpp
M mozilla/embedding/browser/activex/src/control/MozillaBrowser.h
M mozilla/js/src/xpconnect/shell/xpcshell.cpp
M mozilla/netwerk/protocol/res/src/nsResProtocolHandler.cpp
M mozilla/xpcom/build/nsXPComInit.cpp
M mozilla/xpcom/components/nsComponentManager.cpp
M mozilla/xpcom/components/nsIServiceManager.h
M mozilla/xpcom/components/nsServiceManager.cpp
M mozilla/xpcom/io/nsSpecialSystemDirectory.cpp
M mozilla/xpcom/io/nsSpecialSystemDirectory.h
M mozilla/xpcom/tests/TestBuffers.cpp
M mozilla/xpcom/tests/TestPipes.cpp
M mozilla/xpcom/tests/TestShutdown.cpp
M mozilla/xpcom/tests/windows/TestHelloXPLoop.cpp
M mozilla/xpcom/tools/registry/regExport.cpp
M mozilla/xpcom/tools/registry/regxpcom.cpp
M mozilla/xpinstall/stub/xpistub.cpp
M mozilla/webshell/embed/ActiveX/MozillaBrowser.cpp
M mozilla/webshell/embed/ActiveX/MozillaBrowser.h
M mozilla/webshell/tests/viewer/nsMacMain.cpp
M mozilla/webshell/tests/viewer/nsPhMain.cpp
M mozilla/webshell/tests/viewer/nsWinMain.cpp
M mozilla/webshell/tests/viewer/unix/gtk/nsGtkMain.cpp
M mozilla/xpfe/appshell/src/nsFileLocations.cpp
M mozilla/xpfe/bootstrap/nsAppRunner.cpp

The heart of this checkin is a change in the signature and symantics
of NS_InitXPCOM.

The new signature is

extern NS_COM nsresult
NS_InitXPCOM(nsIServiceManager* *result, nsFileSpec* binDirectory);

I filed a bug for this problem:

b=23157

The original manifestation of this bug was in mozilla/netwerk/protocol/res/src/nsResProtocolHandler.cpp It used the current process directory to find resources, which is not correct when the current process is not mozilla.exe.

I have added a new type to nsSpecialSystemDirectory, Moz_BinDirectory, and made nsResProtocolHandler use that value.
2000-01-06 01:05:13 +00:00
[email protected] 20621227af updated xPL license boilerplate to v1.1, [email protected],[email protected] 1999-11-06 03:43:54 +00:00
[email protected] 966bd06a85 Addding xpcom init and shutdown. r=waterson 1999-10-21 21:31:53 +00:00
[email protected] 58f427a8a0 Cleanup the neckutil linking thing. 1999-09-15 02:15:11 +00:00
[email protected] d99c4ec279 regxpcom : does autoreg and registers/unregisters individual dlls.
The new incarnation of RegFactory. RegFactory will be retired.
1999-09-11 14:51:55 +00:00