247 Commits

Author SHA1 Message Date
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
ccarlen%netscape.com
b9740f38fe Bug 98349 - Convert Mac build to CW7 and XML projects. Removing obsolete .mcp files. r=pink/sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@110227 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-11 05:25:50 +00:00
ccarlen%netscape.com
9bff26e3d9 Adding new files for conversion to CW7 and XML project files. Bug 98349 r=pink/sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@110179 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-10 21:20:58 +00:00
seawood%netscape.com
88b23adbf4 Add win32 support to xpcom Makefile.ins
Bug #58981 r=bryner


git-svn-id: svn://10.0.0.236/trunk@110113 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-09 07:05:12 +00:00
seawood%netscape.com
889469fd27 Rename 'install' build phase to 'libs'.
Bug #56601 r=pavlov


git-svn-id: svn://10.0.0.236/trunk@108684 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-21 09:49:41 +00:00
jaggernaut%netscape.com
56fd5dbc91 More REQUIRES clean-up.
git-svn-id: svn://10.0.0.236/trunk@105540 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 22:08:55 +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
jaggernaut%netscape.com
8a87c13848 One module per line for REQUIRES. r=/sr=alecf
git-svn-id: svn://10.0.0.236/trunk@103116 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 22:01:13 +00:00
jaggernaut%netscape.com
8b71ae9c91 Bug 73353: splitting the modules on the REQUIRES lines in Makefile.in across multiple lines to more clearly show the changes made. sr=alecf
git-svn-id: svn://10.0.0.236/trunk@103093 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 13:41:47 +00:00
alecf%netscape.com
e28607491e Final REQUIRES changes for bug 98371, adding support for MOZ_TRACK_MODULE_DEPS to win32. r=cls (and tested by cls!)
git-svn-id: svn://10.0.0.236/trunk@102999 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-17 19:06:35 +00:00
dp%netscape.com
719083975b adapting to CreateInstancebyContractID() perf improvement
git-svn-id: svn://10.0.0.236/trunk@101527 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-21 19:07:26 +00:00
waterson%netscape.com
d998697a2d First checked in. Submitted by dp <dpsuresh@netscape.net>. r=dveditz, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@100222 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-02 20:26:25 +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
waterson%netscape.com
18986ada3f Land STATIC_BUILD_20010612_BRANCH, which supports building mozilla with components statically linked into the executable, as well as 'meta modules' that combine components into uber-DLLs.
git-svn-id: svn://10.0.0.236/trunk@97613 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-20 20:21:49 +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
cls%seawood.org
f4f0b8b7a6 Remove unneeded LOST_SYM_LIBS defines.
git-svn-id: svn://10.0.0.236/trunk@93441 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-30 01:13:22 +00:00
pinkerton%netscape.com
d1e8739fc3 Removing some redundant libraries. They're already covered by configure.in and xpcom/build/Makefile.in r=cls, sr=hyatt. bug# 75653.
git-svn-id: svn://10.0.0.236/trunk@92349 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-15 07:15:15 +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
disttsc%bart.nl
edc70961f6 Mass REQUIRES update to synch up with string lib and xul changes in an attempt to fix senna bustage. r=jst, sr=cls
git-svn-id: svn://10.0.0.236/trunk@87655 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 09:35:51 +00:00
cls%seawood.org
6088dfbf6b Resurrect REQUIRES so that we have some sort of means to track intermodule dependencies. Bug #59454 r=blizzard@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@82785 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-20 07:16:06 +00:00
danm%netscape.com
db625ff360 removing glowcode directives. won't affect you unless you use an obsolete version of glowcode.
git-svn-id: svn://10.0.0.236/trunk@82759 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-18 02:13:42 +00:00
cls%seawood.org
244b9ff5bf Removing unneeded TK_LIBS from LIBS. r=rcassin@supernova.org sr=shaver@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@81217 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-14 17:18:42 +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
warren%netscape.com
cc5d426fbe Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433
git-svn-id: svn://10.0.0.236/trunk@71450 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-03 09:46:12 +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
cls%seawood.org
050469e617 Minor changes to incoporate OS/2 into our build system. Bug #34106
We now set MOZ_{JPEG,ZLIB,PNG}_{CFLAGS,LIBS}, XPCOM_LIBS, MOZ_COMPONENT*_LIBS, WIDGET_DLL, GFXWIN_DLL and MOZ_JS_LIBS in configure.
Added os2 specific arguments to configure.
Added os2 target arch section to configure.
Modified a handful of Makefile.ins to use MOZ_JS_LIBS, MOZ_COMPONENT_LIBS, & EXTRA_DSO_LIBS where necessary.


git-svn-id: svn://10.0.0.236/trunk@65354 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 06:08:04 +00:00
cls%seawood.org
a26020ddae Moved static MOZ_COMPONENT_NSPR_LIBS, MOZ_COMPONENT_XPCOM_LIBS, MOZ_COMPONENT_LIBS definitions from configure.in to config.mk. Replaced -lxpcom in Makefiles to $(XPCOM_LIBS) so that we can optionally link against -lboehm when needed. Bug #31287
git-svn-id: svn://10.0.0.236/trunk@65143 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 04:46:38 +00:00
cls%seawood.org
c0fe37bba5 Remove unused -lmozjs from LIBS.
git-svn-id: svn://10.0.0.236/trunk@62055 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-02 12:52:01 +00:00
dveditz%netscape.com
4eddb0ee15 Bug 23941 speed up install on Mac, r=cathleen, a=jar;
Bug 12817 no Autoreg (in optimized builds) unless xpinstall detects flag indicating install has happened or build number changed, r=dp, a=jar;
Bug 23859 add wstring API to nsIRegistry for profile manager/i18n, r=gayatrib, a=jar;


git-svn-id: svn://10.0.0.236/trunk@61370 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-20 03:12:59 +00:00
dveditz%netscape.com
6a6717860a fixing crash at end of regexport
git-svn-id: svn://10.0.0.236/trunk@61108 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-16 07:39:14 +00:00
dveditz%netscape.com
fc3ccf6543 fixing windows bustage
git-svn-id: svn://10.0.0.236/trunk@60784 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 02:11:26 +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
scc%netscape.com
dcee2e659d Pro5 update
git-svn-id: svn://10.0.0.236/trunk@60002 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-07 23:06:04 +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
scc%netscape.com
bb02d934b0 Fixed access paths for upcoming switch to Pro5, see bug #25949. r=pinkerton
git-svn-id: svn://10.0.0.236/trunk@59333 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-01 00:49:16 +00:00
sfraser%netscape.com
c8173c7611 The prefix file for the optimized target was set to a debug include file. fixed that. r=space monkey.
git-svn-id: svn://10.0.0.236/trunk@58901 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 07:03:33 +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
sfraser%netscape.com
0caa279664 Fix the RegXPCOM application to hopefully not crash. bug 24312 r=jj
git-svn-id: svn://10.0.0.236/trunk@58889 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 05:51:11 +00:00
jj%netscape.com
5c14a22deb #24312: bumped up memory partition to 20 Mb.
git-svn-id: svn://10.0.0.236/trunk@58708 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 02:37:33 +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
jj%netscape.com
cdfaea33bb #24312: bumped up memory partition of RegXPCom from 10 to 16 Mb. (now set in RegXPCom.mcp prefs instead of -obsolete- RegXPCom.rsrc) r=sfraser
git-svn-id: svn://10.0.0.236/trunk@58204 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 02:01:02 +00:00
jj%netscape.com
4c819ee550 File Removed.
git-svn-id: svn://10.0.0.236/trunk@58203 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 01:57:18 +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
dougt%netscape.com
3a4155eb03 Adding explict includes.
git-svn-id: svn://10.0.0.236/trunk@56696 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-03 23:50:19 +00:00
warren%netscape.com
eb9a891946 Eliminated the libs build pass.
git-svn-id: svn://10.0.0.236/trunk@54523 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-28 03:05:01 +00:00
dp%netscape.com
540481040b Using COMPtr
git-svn-id: svn://10.0.0.236/trunk@54047 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-20 07:16:42 +00:00
shaver%netscape.com
6896473ece - NS_ERROR_FACTORY_REGISTER_AGAIN for deferring registration of a module until
later in the autoreg cycle.
- teach native component loader about deferred components
- add nsIComponentLoader::registerDeferredComponents
- teach component manager about deferred components
- made nsID::Parse take a |const char *| instead of a simple |char *|.
- move release of XPTI singletons until _after_ shutting down the component
  manager to prevent re-initialization during JS component shutdown.
- category manager work: really delete from reg, start on enumeration
- use nsXPIDLCString instead of autoStringFree.
- fix nsRegistry to use allocator properly.
- cleaner memory management in nsFactoryEntry.
- capitalization fixed in nsIComponentLoader.idl
- clean up loader creation logic
- remove/disable lots of DEBUG_shaver noise
- added (disabled) warning about NSGetFactory usage
- move .so and .shlb higher up in the ValidDllExtensions list to marginally
  speed up registration.
- added nsDll::GetRegistryLocation API
- properly export nsSupportsArray.h
- capitalization fixes in nsIEnumerator.idl
- added deferral to nsSample.js


git-svn-id: svn://10.0.0.236/trunk@53047 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-10 00:28:34 +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