53 Commits

Author SHA1 Message Date
darin%meer.net
ed9e4d3d7a eliminating uses of deprecated nsComponentManager:: methods (bug 267040), r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@164735 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-01 18:50:36 +00:00
timeless%mozdev.org
38e0e3cd44 Bug 237231 make xpistub interface description and implementation agree
patch by ajschult@mindspring.com r=bsmedberg sr=dveditz


git-svn-id: svn://10.0.0.236/trunk@155488 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-25 18:37:44 +00:00
gerv%gerv.net
f4294ea0f8 Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155026 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-17 14:37:35 +00:00
timeless%mozdev.org
f1f6532817 Bug 187031 [nsLocalFileWin] nsLocalFile::Remove returns os remove values (-1) as nsresults
r=dougt sr=darin


git-svn-id: svn://10.0.0.236/trunk@143899 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-18 23:19:11 +00:00
seawood%netscape.com
5921049139 Purge XP_PC.
Bug #56767 r=mkaply sr=alecf


git-svn-id: svn://10.0.0.236/trunk@140602 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 22:45:08 +00:00
mkaply%us.ibm.com
6266147eaf #188249
r/s=dveditz
OS/2 changes for GCC


git-svn-id: svn://10.0.0.236/trunk@140144 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-24 14:35:35 +00:00
dougt%netscape.com
fed2927b2c Create a new xpcom obsolete library (and component library).
Moved nsFileSpec and related classes into this obsolete library.
  Moved nsRegistry and related libreg functionality into the obsolete library.

Updated many callers using the obsolete nsFile spec to use nsIFile and Necko to do file IO.

Combined the following DLLs (source -> dest)
  uriloader -> docshell
  shistory -> docshell
  jsurl -> jsdom
  gkview -> gklayout

Moved nsAdapterEnumerator out of xpcom/ds and into mailnews, since they're the only consumer

Modifed the xpt_link tool so that you can specify a “only include” cid list that can mask CID’s that you are not interested in.

Added build options:
Prevent the building of xpinstall (--disable-xpinstall)
Prevent the building js component loader (--disable-jsloader)
A build option to only build a single profile (--enable-single-profile)
A build flag to only built the required xpfe components (--disable-xpfe-components).

Removal or hiding of unused functions and classes including nsEscape*, nsDequeIterator, nsRecyclingAllocatorImpl, nsDiscriminatedUnion, nsOpaqueKey, nsCRT::strlen, NS_NewCommandLineService

Bug 194240, r/sr = darin, alec.


git-svn-id: svn://10.0.0.236/trunk@139480 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-15 01:04:32 +00:00
dougt%netscape.com
c57ad9b1ea Implementing XPInstall Signing. sr=dveditz, r=mstoltz, b=178687
git-svn-id: svn://10.0.0.236/trunk@135374 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-17 00:59:42 +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
dveditz%netscape.com
f1b6a4a557 Embeddable XPI landing, including bugs 76424, 83702, 88757, 97691, 98458, 105083, 105085, 113149,124467,124470 r=syd (and others) sr=alecf, a=drivers
git-svn-id: svn://10.0.0.236/trunk@117303 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 12:14:51 +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
sfraser%netscape.com
7b44b522f3 Fix blocker bug 105548 (the mac installer crash). The xpistub code was creating nsLocalFileMac objects, but never refcounting them, so they got deleted before the GetPath() method was called (how did this ever work???). Fixed using COMPtrs. r=ccarlen, a=jj
git-svn-id: svn://10.0.0.236/trunk@111505 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-07 22:22:12 +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
timeless%mac.com
7b921259da Bugzilla Bug 110080 change !NS_SUCCEEDED(status) to NS_FAILED(status)
s/!NS_SUCCEEDED/NS_FAILED/g;s/!NS_FAILED/NS_SUCCEEDED/g;
r=dougt sr=hewitt


git-svn-id: svn://10.0.0.236/trunk@108471 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-19 06:45:00 +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
dougt%netscape.com
6abd1d51a4 Merge ServiceManager and ComponentManager. Bug 96457. r=dp@netscape.com, sr=wat
erson@netscape.com


git-svn-id: svn://10.0.0.236/trunk@102449 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 21:13:11 +00:00
jaggernaut%netscape.com
51b17b5bf0 Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.

nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)


git-svn-id: svn://10.0.0.236/trunk@98363 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-30 11:02:25 +00:00
dbragg%netscape.com
7dbb9e2619 Fix for bug 52827. Getting the parent window and passing it to the alert and confirm dialogs. r=dveditz, law a=law (I used the old appproval list).
git-svn-id: svn://10.0.0.236/trunk@79664 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 23:12:03 +00:00
sgehani%netscape.com
003ac640b8 For Unix, create component.reg in cwd, not the specified program dir.
[nsbeta3+ b=47721; r=dveditz]


git-svn-id: svn://10.0.0.236/trunk@76048 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 23:50:32 +00:00
dougt%netscape.com
db2c70c95b bug 40750.
Adding followSymlink flag to nsILocalFile.
Adjusting callers.
windows shortcut optimizations.
r=blizzard@mozilla.org.
a=brendan@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@74127 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 23:31:31 +00:00
sgehani%netscape.com
e3ee0afabe Make Linux and Mac installers install to the target directory instead of the
platform-specific notion of temp.

[dogfood+ b=45166; r=dveditz]


git-svn-id: svn://10.0.0.236/trunk@74083 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 03:42:35 +00:00
sgehani%netscape.com
008fb4035e Add optional log file leaf name param to XPI_Init for Win32 uninstall logging.
Part of fix for nsbeta2+ bug 37168.  [r=ssu]


git-svn-id: svn://10.0.0.236/trunk@73963 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 23:15:46 +00:00
mkaply%us.ibm.com
9e06320072 # 37239
r= dveditz
OS/2 bring up continues - need direct.h for VisualAge build


git-svn-id: svn://10.0.0.236/trunk@70134 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 22:47:31 +00:00
dveditz%netscape.com
3fa5174d39 Skin/Locale installer (bug 32688) and groundwork for bug 32689
git-svn-id: svn://10.0.0.236/trunk@68362 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 06:23:11 +00:00
sgehani%netscape.com
e53f310127 Fix Mac and Linux installer bustage caused by AutoregisterInterfaces. [b=37086, 36784]
git-svn-id: svn://10.0.0.236/trunk@67808 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 00:55:36 +00:00
mkaply%us.ibm.com
788765ffb8 # 37239
r= dveditz@netscape.com
OS/2 bring up continues - add include file in OS/2 #ifdef


git-svn-id: svn://10.0.0.236/trunk@67772 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 22:30:13 +00:00
sgehani%netscape.com
a4b9e133a4 Partial fix for nsIFile/Mac installer horkage [b=36784]
git-svn-id: svn://10.0.0.236/trunk@67115 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 14:43:58 +00:00
dbragg%netscape.com
3dbf15e9a0 Fix for bug 24984, conversion to use nsIFile and related ilk.
git-svn-id: svn://10.0.0.236/trunk@66730 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 18:58:41 +00:00
scc%netscape.com
d35db85332 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66255 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 05:46:08 +00:00
bruce%cybersight.com
fa90ceb20a Fix build bustage. a=leaf,mulled=dveditz
git-svn-id: svn://10.0.0.236/trunk@65390 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 23:43:49 +00:00
sgehani%netscape.com
1a66c67fc1 Making xpistub work on Unix... again!
git-svn-id: svn://10.0.0.236/trunk@65344 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 05:47:39 +00:00
mkaply%us.ibm.com
e5a34fbf49 # 33859
r= dveditz@netscape.com
OS/2 changes for Mozilla - add #ifdef, change #ifdef


git-svn-id: svn://10.0.0.236/trunk@65075 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 22:58:34 +00:00
dveditz%netscape.com
121072fe86 New wstring nsIRegistry interface, bug 23859;
new version registry name for mozilla, bug 10533;
log now created by install wizards too, bug 26309;
downloaded file cleanup moved into manager, bug 24249;
scaffolding for bug 12817 and 12361 (conditional autoreg)


git-svn-id: svn://10.0.0.236/trunk@60771 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 01:32:12 +00:00
ssu%netscape.com
4bdafd2c9a Turning AutoRegister back on so we don't have a repeat of 26759 when
the build doesn't pre-generate component.reg   r=ssu


git-svn-id: svn://10.0.0.236/trunk@60194 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-09 03:42:08 +00:00
dveditz%netscape.com
72c3bd8f26 fixes bug 26759, r=ssu
git-svn-id: svn://10.0.0.236/trunk@60045 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-08 02:40:17 +00:00
ssu%netscape.com
ccc7bbd747 Windows needs to use the CWD not the directory passed to the stub.
dougt's change r=ssu a=granrose.


git-svn-id: svn://10.0.0.236/trunk@58620 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 20:44:55 +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
pp%ludusdesign.com
b5787cf895 Converting usage of ::GetIID() to NS_GET_IID().
Bug #20232, r=scc@netscape.com


git-svn-id: svn://10.0.0.236/trunk@57423 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 20:49:15 +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
sgehani%netscape.com
b355df9aa4 Part of fix for Linux installer.
b = 20637
r = ssu


git-svn-id: svn://10.0.0.236/trunk@56514 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-23 23:25:33 +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
ssu%netscape.com
2478da99aa this checkin is to help fix bug #15393. There is one more step to truly fix it, which will come later. This fix is by dveditz, and reviewed by ssu.
git-svn-id: svn://10.0.0.236/trunk@50319 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-09 21:37:21 +00:00
ssu%netscape.com
dfa051d5ca fixed xpistub.dll to handle the pre-generated component.reg file for the native windows installer. This is not part of linux builds, only mac and windows.
git-svn-id: svn://10.0.0.236/trunk@48175 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-18 04:56:44 +00:00
sgehani%netscape.com
4c38b5e36c Mac specific: No longer autoreg'ing. Now supplying reg file spec and xpistub dir when initializing XPCOM utilizing dp's new NS_InitXPCOM interface. Thanks dp.
git-svn-id: svn://10.0.0.236/trunk@48045 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-17 23:11:31 +00:00
dp%netscape.com
103414ae51 Ability for XPCOM to use non-default component registry and component directory
git-svn-id: svn://10.0.0.236/trunk@47809 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-16 19:28:57 +00:00
sgehani%netscape.com
a32e29846a Mac parity for overriding default components folder when initializing xpcom.
git-svn-id: svn://10.0.0.236/trunk@46736 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-10 08:21:51 +00:00
dveditz%netscape.com
53f15fb718 replaces nsVector with nsVoidArray everywhere. Also bugs 10752, 10753, 10755, 11666
git-svn-id: svn://10.0.0.236/trunk@45432 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 04:29:49 +00:00
dveditz%netscape.com
75c12ae80b allow install wizard to override program directory
git-svn-id: svn://10.0.0.236/trunk@43146 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-11 03:53:03 +00:00
ssu%netscape.com
11413530ca putting back AutoReg by directory feature for wizard
git-svn-id: svn://10.0.0.236/trunk@43128 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-11 02:50:52 +00:00
dveditz%netscape.com
2a042c9254 adding wizard hooks
git-svn-id: svn://10.0.0.236/trunk@43105 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-11 00:31:15 +00:00