23 Commits

Author SHA1 Message Date
timeless%mac.com
585baa0803 Bug 155466 clean up test consumers to correctly use NS_ShutdownXPCOM
r=dmose, sr=scc, moa: dougt, dbradley, gagan, harish, akk


git-svn-id: svn://10.0.0.236/trunk@124683 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-04 14:29:25 +00:00
darin%netscape.com
824def02af fixes bug 129279 "nsIFile unicode/utf8/ascii task"
r=dougt sr=alecf


git-svn-id: svn://10.0.0.236/trunk@120092 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 05:33:09 +00:00
dougt%netscape.com
d1da75028f Even better patch. This is what was intented in the first place, a=leaf@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@119261 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 00:32:49 +00:00
dougt%netscape.com
4e01e43916 Do not hold references passed xpcom shutdown. a=leaf
git-svn-id: svn://10.0.0.236/trunk@119260 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 00:20:58 +00:00
dougt%netscape.com
a17830dad4 XPCOM initialize primary event queue. 135531. r=brendan@mozilla.org, sr=darin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@118995 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 22:26:29 +00:00
dougt%netscape.com
011f9b10e5 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.  r=dp@netscape.com, sr=rpotts@netscape.com


git-svn-id: svn://10.0.0.236/trunk@113143 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-29 21:22:13 +00:00
dougt%netscape.com
c01e94cad7 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


git-svn-id: svn://10.0.0.236/trunk@110748 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-19 00:12:41 +00:00
dougt%netscape.com
2367cd653a API Freeze for nsIServiceManager r=shaver@mozilla.org, sr=rpotts@netscape.com bug 99147
git-svn-id: svn://10.0.0.236/trunk@105458 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 03:35:52 +00:00
gerv%gerv.net
13afb6d0f9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
sean%beatnik.com
c16472fb23 fix for bug 84411: infinite loop in regxpcom. r/sr=shaver. properly increment loop variant.
git-svn-id: svn://10.0.0.236/trunk@98229 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-29 01:44:35 +00:00
shaver%mozilla.org
a6e7fe83bf 73494: remove iostreams use in regxpcom, general cleanup, new silence options.
r=dmose, sr=kin.


git-svn-id: svn://10.0.0.236/trunk@95007 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-15 17:46:55 +00:00
dbaron%fas.harvard.edu
962e46889a Include iomanip.h because we need the |using std::hex| and |using std::dec| from it to build with libstdc++ 3.0. b=63604 r=cls@seawood.org
git-svn-id: svn://10.0.0.236/trunk@89289 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-11 18:10:58 +00:00
rayw%netscape.com
d9228441a4 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren


git-svn-id: svn://10.0.0.236/trunk@79036 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 23:57:52 +00:00
dp%netscape.com
ee7b3f74e5 Removed unneccessary casts.
git-svn-id: svn://10.0.0.236/trunk@68356 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 05:54:15 +00:00
dp%netscape.com
49fb90b6c9 Hooking up component unregister to regxpcom.
git-svn-id: svn://10.0.0.236/trunk@66259 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 06:20:35 +00:00
pp%ludusdesign.com
fdfd888608 Conversion to NS_GET_IID(). Bug #20232, r=scc@netscape.com
git-svn-id: svn://10.0.0.236/trunk@59394 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-01 14:26:27 +00:00
sfraser%netscape.com
b4fec00ee7 Some mac-only debug window control. bug 24312. r=jj
git-svn-id: svn://10.0.0.236/trunk@58890 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 05:51:40 +00:00
dougt%netscape.com
714da09a59 Landing nsIFile.
git-svn-id: svn://10.0.0.236/trunk@58490 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-24 21:28:28 +00:00
edburns%acm.org
1af32fc433 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.


git-svn-id: svn://10.0.0.236/trunk@56916 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 01:05:13 +00:00
dmose%mozilla.org
0efb7c174c updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52910 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:43:54 +00:00
dp%netscape.com
480412f60c Addding xpcom init and shutdown. r=waterson
git-svn-id: svn://10.0.0.236/trunk@51414 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-21 21:31:53 +00:00
ramiro%netscape.com
e324fbd024 Cleanup the neckutil linking thing.
git-svn-id: svn://10.0.0.236/trunk@47500 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 02:15:11 +00:00
dp%netscape.com
ac2c41ab50 regxpcom : does autoreg and registers/unregisters individual dlls.
The new incarnation of RegFactory. RegFactory will be retired.


git-svn-id: svn://10.0.0.236/trunk@46954 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-11 14:51:55 +00:00