203 Commits

Author SHA1 Message Date
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
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
colin%theblakes.com
2eb916adb2 Don't link against xptinfo - its not needed. r=ramiro
git-svn-id: svn://10.0.0.236/trunk@49717 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-04 10:44:49 +00:00
bienvenu%netscape.com
13642a9970 more build bustage with reg stuff
git-svn-id: svn://10.0.0.236/trunk@49296 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-29 04:06:15 +00:00
shaver%netscape.com
a2616788dd nsIRegistry scriptability update, r=dveditz,dp,alecf a=leaf,chofmann
git-svn-id: svn://10.0.0.236/trunk@49273 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-29 02:36:54 +00:00
briano%netscape.com
3c91facea0 Fix for BSDI 3.0, specifically, but should help other platforms with shared library difficulties.
git-svn-id: svn://10.0.0.236/trunk@49267 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-29 01:09:41 +00:00
waterson%netscape.com
ecac83d9d2 Fix backwards return values on nsIEnumerator::IsDone().
git-svn-id: svn://10.0.0.236/trunk@48471 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 01:28:18 +00:00
colin%theblakes.com
67e1106a91 Remove xpcomds_s and xptinfo from LIBS since they don't appear to be needed. Sorry if some other platform does need them!
git-svn-id: svn://10.0.0.236/trunk@48213 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-18 19:36:38 +00:00
briano%netscape.com
945d83af9f General cleanup.
git-svn-id: svn://10.0.0.236/trunk@48156 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-18 02:12:56 +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
cyeh%netscape.com
a254b2e732 remove debug libraries from optimized target
git-svn-id: svn://10.0.0.236/trunk@47714 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-16 01:44:23 +00:00
rjc%netscape.com
4e4c564b86 Added some debug linkages. Also add .rsrc file that includes a SIZE resource so that RegXPCOM mini-app has a parition size greater than the largest component it needs to load in.
git-svn-id: svn://10.0.0.236/trunk@47678 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 23:36:55 +00:00
rjc%netscape.com
cbe1e04ba5 Add .rsrc file that includes a SIZE resource so that RegXPCOM mini-app has a parition size greater than the largest component it needs to load in.
git-svn-id: svn://10.0.0.236/trunk@47676 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 23:36:26 +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
cyeh%netscape.com
e1798db7a8 fix up project. needs debug libs for debug target.
git-svn-id: svn://10.0.0.236/trunk@47407 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-14 21:55:52 +00:00
sfraser%netscape.com
2a0b533eb0 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@47245 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-14 01:05:35 +00:00
dp%netscape.com
5476412e59 Adding -lmozjs to fix runtime symbol not found problems.
git-svn-id: svn://10.0.0.236/trunk@47240 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-14 00:49:21 +00:00
dp%netscape.com
a008cb892b Adding regxpcom for windows.
git-svn-id: svn://10.0.0.236/trunk@46978 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-11 22:01:14 +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
shaver%netscape.com
708e94e89e convert to CreateInstanceFromProgID
git-svn-id: svn://10.0.0.236/trunk@46048 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-05 06:27:42 +00:00
cyeh%netscape.com
c6342ee432 Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people.
git-svn-id: svn://10.0.0.236/trunk@45379 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 00:54:34 +00:00
briano%netscape.com
cfec05da33 Cleanup and fix for BSD/OS.
git-svn-id: svn://10.0.0.236/trunk@40598 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 04:23:11 +00:00
dveditz%netscape.com
4a69d1d866 nakefile cleanups
git-svn-id: svn://10.0.0.236/trunk@38066 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-02 13:42:17 +00:00
dveditz%netscape.com
384cde9cb4 fixing build bustage
git-svn-id: svn://10.0.0.236/trunk@38033 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-02 12:39:26 +00:00
dveditz%netscape.com
6c67b618a0 Trying to fix Win32 dependencies. Lots of broken cut-n-paste makefiles
git-svn-id: svn://10.0.0.236/trunk@38031 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-02 11:50:19 +00:00
sspitzer%netscape.com
4d535474a8 fix solaris build bustage, I hope
git-svn-id: svn://10.0.0.236/trunk@37687 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-01 08:48:25 +00:00
sspitzer%netscape.com
b176b22c4f fix warning
git-svn-id: svn://10.0.0.236/trunk@37686 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-01 08:48:06 +00:00
dp%netscape.com
7c1bb8d6a8 Removing unused NS_RegistryGetFactory() prototype.
git-svn-id: svn://10.0.0.236/trunk@35011 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 15:36:22 +00:00
mccabe%netscape.com
e5b993dd76 Resurrected this somehow. Beating it back down.
git-svn-id: svn://10.0.0.236/trunk@35005 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 09:44:11 +00:00
mccabe%netscape.com
1c543f3a5e Remove vestiges of BUILD_XPIDL and USE_XPIDL from the build.
git-svn-id: svn://10.0.0.236/trunk@35003 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 09:29:46 +00:00
dp%netscape.com
e95ac5d9c9 Removing obsoleted files from xpcom/ post xpcom2.0 landing
git-svn-id: svn://10.0.0.236/trunk@34991 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 07:42:48 +00:00
dp%netscape.com
d1f07ef339 Using new Component Registry
git-svn-id: svn://10.0.0.236/trunk@34444 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 19:18:24 +00:00
dp%netscape.com
befa259a88 Landing xpcom20/21 branch.
git-svn-id: svn://10.0.0.236/trunk@32644 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 01:38:36 +00:00
warren%netscape.com
7833f90dd4 Jband's fix for forward decls. Approved: Chofmann, reviewed: mang.
git-svn-id: svn://10.0.0.236/trunk@32446 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-21 03:18:25 +00:00
mccabe%netscape.com
42ca8e31b1 Turn off support for XPIDL_JS_STUBS in generated headers by default, as
- nobody uses it

- it's confusing.


git-svn-id: svn://10.0.0.236/trunk@31500 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 23:13:17 +00:00
jband%netscape.com
fdee64f201 fix two places where we use a node as if it were of a type other than the type it is. This was causing a problem on some platforms, though it unfortunately was working fine on Win32. Thanks to khym@bga.com (Dave Huang)
git-svn-id: svn://10.0.0.236/trunk@31265 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 07:42:32 +00:00
beard%netscape.com
209a3bcdda bumped the version to 1.0d3
git-svn-id: svn://10.0.0.236/trunk@31251 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 05:41:53 +00:00
beard%netscape.com
c6f43358d6 when popping an #include, fclose the file.
git-svn-id: svn://10.0.0.236/trunk@31250 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 05:41:29 +00:00
mccabe%netscape.com
3d94d41af6 Fix xpidl header generation to not emit a trailing (erroneous) ',' when generating [notxpcom] interfaces.
Thanks to Alec Flett <alecf@netscape.com> for this patch.


git-svn-id: svn://10.0.0.236/trunk@31202 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 02:13:40 +00:00
mccabe%netscape.com
03618b2831 Compile directly against the static libxpt.a lib, so we can use xpidl during the build without the shared library path being set.
git-svn-id: svn://10.0.0.236/trunk@30909 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 05:33:35 +00:00
beard%netscape.com
be55a3ef93 now correctly returns target file info, reads files from project Data directory, writes files to output directory, uses setjmp/longjmp to trap calls to exit().
git-svn-id: svn://10.0.0.236/trunk@30893 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-09 15:03:13 +00:00
beard%netscape.com
443b5cbf6a using setjmp/longjmp to trap calls to exit(), compiling .xpt files into project Data folder.
git-svn-id: svn://10.0.0.236/trunk@30892 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-09 15:00:31 +00:00
beard%netscape.com
cbbcaf3d63 using longjmp instead of throw
git-svn-id: svn://10.0.0.236/trunk@30891 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-09 14:59:15 +00:00
beard%netscape.com
d3d4c87c29 added version.rsrc to all targets
git-svn-id: svn://10.0.0.236/trunk@30890 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-09 14:58:54 +00:00
beard%netscape.com
9ef4b2ff6b moved version to version.rsrc
git-svn-id: svn://10.0.0.236/trunk@30889 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-09 14:58:30 +00:00