Commit Graph

290 Commits

Author SHA1 Message Date
waterson%netscape.com
c8136527c4 First checked in. Submitted by dp <dpsuresh@netscape.net>. r=dveditz, sr=waterson 2001-08-02 20:26:25 +00:00
sean%beatnik.com
7c933726d3 fix for bug 84411: infinite loop in regxpcom. r/sr=shaver. properly increment loop variant. 2001-06-29 01:44:35 +00:00
waterson%netscape.com
b74d6e1c8b 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. 2001-06-20 20:21:49 +00:00
shaver%mozilla.org
d74f30a540 73494: remove iostreams use in regxpcom, general cleanup, new silence options.
r=dmose, sr=kin.
2001-05-15 17:46:55 +00:00
cls%seawood.org
d62bacf705 Remove unneeded LOST_SYM_LIBS defines. 2001-04-30 01:13:22 +00:00
pinkerton%netscape.com
ed608f083c Removing some redundant libraries. They're already covered by configure.in and xpcom/build/Makefile.in r=cls, sr=hyatt. bug# 75653. 2001-04-15 07:15:15 +00:00
dbaron%fas.harvard.edu
1576f71896 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 2001-03-11 18:10:58 +00:00
disttsc%bart.nl
a6f2f5861a Mass REQUIRES update to synch up with string lib and xul changes in an attempt to fix senna bustage. r=jst, sr=cls 2001-02-22 09:35:51 +00:00
cls%seawood.org
66a18fcbbf Resurrect REQUIRES so that we have some sort of means to track intermodule dependencies. Bug #59454 r=blizzard@mozilla.org 2000-11-20 07:16:06 +00:00
danm%netscape.com
2c6d578e14 removing glowcode directives. won't affect you unless you use an obsolete version of glowcode. 2000-11-18 02:13:42 +00:00
cls%seawood.org
c8bf15435a Removing unneeded TK_LIBS from LIBS. r=rcassin@supernova.org sr=shaver@mozilla.org 2000-10-14 17:18:42 +00:00
rayw%netscape.com
0257791053 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
warren%netscape.com
512c8bf433 Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433 2000-06-03 09:46:12 +00:00
dp%netscape.com
e70cfc3491 Removed unneccessary casts. 2000-05-05 05:54:15 +00:00
dp%netscape.com
18abd080da Hooking up component unregister to regxpcom. 2000-04-18 06:20:35 +00:00
cls%seawood.org
adef1ac6f6 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.
2000-04-05 06:08:04 +00:00
cls%seawood.org
f6740baa20 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 2000-04-04 04:46:38 +00:00
cls%seawood.org
f8ec204a17 Remove unused -lmozjs from LIBS. 2000-03-02 12:52:01 +00:00
dveditz%netscape.com
a63ee75907 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;
2000-02-20 03:12:59 +00:00
dveditz%netscape.com
53b59ba5c2 fixing crash at end of regexport 2000-02-16 07:39:14 +00:00
dveditz%netscape.com
b2f59b60b4 fixing windows bustage 2000-02-15 02:11:26 +00:00
dveditz%netscape.com
9172024f8e 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)
2000-02-15 01:32:12 +00:00
scc%netscape.com
73802d6f2e Pro5 update 2000-02-07 23:06:04 +00:00
pp%ludusdesign.com
48e640ed4f Conversion to NS_GET_IID(). Bug #20232, r=scc@netscape.com 2000-02-01 14:26:27 +00:00
scc%netscape.com
6366d6d779 Fixed access paths for upcoming switch to Pro5, see bug #25949. r=pinkerton 2000-02-01 00:49:16 +00:00
sfraser%netscape.com
fa0e4ebbf5 The prefix file for the optimized target was set to a debug include file. fixed that. r=space monkey. 2000-01-27 07:03:33 +00:00
sfraser%netscape.com
5381c1f499 Some mac-only debug window control. bug 24312. r=jj 2000-01-27 05:51:40 +00:00
sfraser%netscape.com
51486b6b26 Fix the RegXPCOM application to hopefully not crash. bug 24312 r=jj 2000-01-27 05:51:11 +00:00
jj%netscape.com
abd1377dd3 #24312: bumped up memory partition to 20 Mb. 2000-01-26 02:37:33 +00:00
dougt%netscape.com
0b0346079c Landing nsIFile. 2000-01-24 21:28:28 +00:00
jj%netscape.com
18de736423 #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 2000-01-19 02:01:02 +00:00
jj%netscape.com
f66336369e File Removed. 2000-01-19 01:57:18 +00:00
edburns%acm.org
13be6d7ebf 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
dougt%netscape.com
a3dfcdfd49 Adding explict includes. 2000-01-03 23:50:19 +00:00
warren%netscape.com
96ec037ac6 Eliminated the libs build pass. 1999-11-28 03:05:01 +00:00
dp%netscape.com
5d051b39c4 Using COMPtr 1999-11-20 07:16:42 +00:00
erik%netscape.com
e8a7c02800 Updating local .cvsignore file. Does not affect build. 1999-11-18 21:49:12 +00:00
shaver%netscape.com
c73533acb7 - 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
1999-11-10 00:28:34 +00:00
dmose%mozilla.org
142ac52eaf updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
dp%netscape.com
6cd59a8e93 Addding xpcom init and shutdown. r=waterson 1999-10-21 21:31:53 +00:00
colin%theblakes.com
a3b54e240a Don't link against xptinfo - its not needed. r=ramiro 1999-10-04 10:44:49 +00:00
bienvenu%netscape.com
3329e475c2 more build bustage with reg stuff 1999-09-29 04:06:15 +00:00
shaver%netscape.com
7a5b9d5e55 nsIRegistry scriptability update, r=dveditz,dp,alecf a=leaf,chofmann 1999-09-29 02:36:54 +00:00
briano%netscape.com
356b764b85 Fix for BSDI 3.0, specifically, but should help other platforms with shared library difficulties. 1999-09-29 01:09:41 +00:00
waterson%netscape.com
06b78978e9 Fix backwards return values on nsIEnumerator::IsDone(). 1999-09-21 01:28:18 +00:00
colin%theblakes.com
7e9dd9c640 Remove xpcomds_s and xptinfo from LIBS since they don't appear to be needed. Sorry if some other platform does need them! 1999-09-18 19:36:38 +00:00
briano%netscape.com
04e901e2a5 General cleanup. 1999-09-18 02:12:56 +00:00
dp%netscape.com
d0ccf9a6eb Ability for XPCOM to use non-default component registry and component directory 1999-09-16 19:28:57 +00:00
cyeh%netscape.com
24b72ba1de remove debug libraries from optimized target 1999-09-16 01:44:23 +00:00
rjc%netscape.com
a231a19096 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. 1999-09-15 23:36:55 +00:00
rjc%netscape.com
8baba475f9 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. 1999-09-15 23:36:26 +00:00
ramiro%netscape.com
e8ba593918 Cleanup the neckutil linking thing. 1999-09-15 02:15:11 +00:00
cyeh%netscape.com
83b9cac904 fix up project. needs debug libs for debug target. 1999-09-14 21:55:52 +00:00
sfraser%netscape.com
dfcbe00e86 First Checked In. 1999-09-14 01:05:35 +00:00
dp%netscape.com
bd77d41f73 Adding -lmozjs to fix runtime symbol not found problems. 1999-09-14 00:49:21 +00:00
dp%netscape.com
ebfb9778c4 Adding regxpcom for windows. 1999-09-11 22:01:14 +00:00
dp%netscape.com
c8c283c93e 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
shaver%netscape.com
6cecf4c569 convert to CreateInstanceFromProgID 1999-09-05 06:27:42 +00:00
cyeh%netscape.com
9577b5cefa Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people. 1999-09-01 00:54:34 +00:00
briano%netscape.com
8aae46e013 Cleanup and fix for BSD/OS. 1999-07-22 04:23:11 +00:00
dveditz%netscape.com
0eb6c820cf nakefile cleanups 1999-07-02 13:42:17 +00:00
dveditz%netscape.com
1a0c8a586b fixing build bustage 1999-07-02 12:39:26 +00:00
dveditz%netscape.com
17864a291d Trying to fix Win32 dependencies. Lots of broken cut-n-paste makefiles 1999-07-02 11:50:19 +00:00
sspitzer%netscape.com
548c51b49f fix solaris build bustage, I hope 1999-07-01 08:48:25 +00:00
sspitzer%netscape.com
cf1215f6d1 fix warning 1999-07-01 08:48:06 +00:00
dp%netscape.com
7668dadfe3 Removing unused NS_RegistryGetFactory() prototype. 1999-06-12 15:36:22 +00:00
mccabe%netscape.com
1feaaef22d Resurrected this somehow. Beating it back down. 1999-06-12 09:44:11 +00:00
mccabe%netscape.com
e77a2e4553 Remove vestiges of BUILD_XPIDL and USE_XPIDL from the build. 1999-06-12 09:29:46 +00:00
dp%netscape.com
3253e87086 Removing obsoleted files from xpcom/ post xpcom2.0 landing 1999-06-12 07:42:48 +00:00
dp%netscape.com
3fa056d7b0 Using new Component Registry 1999-06-09 19:18:24 +00:00
dp%netscape.com
94344009c8 Landing xpcom20/21 branch. 1999-05-26 01:38:36 +00:00
warren%netscape.com
3df1076edc Jband's fix for forward decls. Approved: Chofmann, reviewed: mang. 1999-05-21 03:18:25 +00:00
mccabe%netscape.com
213ef70599 Turn off support for XPIDL_JS_STUBS in generated headers by default, as
- nobody uses it

- it's confusing.
1999-05-13 23:13:17 +00:00
jband%netscape.com
1cbabb0d33 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) 1999-05-12 07:42:32 +00:00
beard%netscape.com
a02d7c125c bumped the version to 1.0d3 1999-05-12 05:41:53 +00:00
beard%netscape.com
d784f2a2d6 when popping an #include, fclose the file. 1999-05-12 05:41:29 +00:00
mccabe%netscape.com
906d95820c Fix xpidl header generation to not emit a trailing (erroneous) ',' when generating [notxpcom] interfaces.
Thanks to Alec Flett <alecf@netscape.com> for this patch.
1999-05-12 02:13:40 +00:00
mccabe%netscape.com
33f6514e9f Compile directly against the static libxpt.a lib, so we can use xpidl during the build without the shared library path being set. 1999-05-10 05:33:35 +00:00
beard%netscape.com
9a0ae866c1 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(). 1999-05-09 15:03:13 +00:00
beard%netscape.com
a9d64fbb94 using setjmp/longjmp to trap calls to exit(), compiling .xpt files into project Data folder. 1999-05-09 15:00:31 +00:00
beard%netscape.com
c0ad3120d3 using longjmp instead of throw 1999-05-09 14:59:15 +00:00
beard%netscape.com
395486c11b added version.rsrc to all targets 1999-05-09 14:58:54 +00:00
beard%netscape.com
164a8e5c07 moved version to version.rsrc 1999-05-09 14:58:30 +00:00
beard%netscape.com
bb0a3cc0a9 First Checked In. 1999-05-09 14:58:00 +00:00
mccabe%netscape.com
10173b32d5 Back out building xpidl with -static, because it breaks on some platforms. What's the XP way to do it? 1999-05-09 10:40:16 +00:00
mccabe%netscape.com
c86ab72aed Fix to 6156.
Added $(EXTRA_DEPS) dependency to $(PROGRAM) in rules.mk, so xpidl can ask to be recompiled when libxpt changes.
1999-05-09 09:21:35 +00:00
mccabe%netscape.com
812b43a6a9 Give xpidl a Makefile.in that uses the rules.mk rules for $(PROGRAM) to build, toallow use of purify target. Be warned, it won't be pretty.
Build xpidl statically by adding -static (I hope it's XP; is there an alternative?) to LDFLAGS.  So that we can use it in the build without setting the shared library path.
1999-05-09 08:34:37 +00:00
beard%netscape.com
14436f3955 turned off modification date caching, so files will be regenerated if missing or out of date. 1999-05-09 03:32:22 +00:00
beard%netscape.com
0df333dee8 NPL, using CWGetStoredObjectFileSpec() to get the location of each output file, instead of constructing from input file's name. 1999-05-09 03:27:07 +00:00
beard%netscape.com
3d786077ea NPL, removed Disassembly code (moved to linker), now using CWStoreObjectData() to associate output file with compilation. This lets CodeWarrior delete the file when objects are removed, and regenerate when file is deleted externally. 1999-05-09 03:27:05 +00:00
beard%netscape.com
29cc2584f2 bumped version, changed Flags to latest CWPro4 format to use newer APIs. 1999-05-09 03:27:03 +00:00
beard%netscape.com
ed3b875ec1 bumped version 1999-05-09 03:27:01 +00:00
beard%netscape.com
56f0808832 cleaned up, removed non-essential code, NPL 1999-05-09 03:19:47 +00:00
beard%netscape.com
2996899c0b NPL 1999-05-09 03:19:07 +00:00
beard%netscape.com
20a51c2310 added a "build all" target 1999-05-08 23:18:39 +00:00
beard%netscape.com
1b2796c55f added version resources 1999-05-08 23:18:12 +00:00
beard%netscape.com
2fc4558bc2 First Checked In. 1999-05-08 23:05:34 +00:00
beard%netscape.com
b96f880380 removed xpt_dump.c from compiler target, moved exclusively to linker target. 1999-05-08 22:58:42 +00:00
beard%netscape.com
6810590c23 added custom fopen, the only opens files in the output directory, added mac_get_file_length(), which is used in lieu of stat, turned on Disassembly function in linker. 1999-05-08 22:58:07 +00:00
beard%netscape.com
cd2562d26c put in sanity checking of pref data, if its size is incorrect it reverts to factory settings. 1999-05-08 22:56:39 +00:00