Граф коммитов

291 Коммитов

Автор SHA1 Сообщение Дата
dp%netscape.com 544bddaf69 adapting to CreateInstancebyContractID() perf improvement 2001-08-21 19:07:26 +00:00
waterson%netscape.com 8487939399 First checked in. Submitted by dp <dpsuresh@netscape.net>. r=dveditz, sr=waterson 2001-08-02 20:26:25 +00:00
sean%beatnik.com 291264777c 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 0877b1a573 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 153e059ad5 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 c06c69763c Remove unneeded LOST_SYM_LIBS defines. 2001-04-30 01:13:22 +00:00
pinkerton%netscape.com 5b43addbe1 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 e580e103c4 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 744785129a 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 8bd122b3d5 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 b9887b3ac3 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 5188af5a8c 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 6cc70ebd6c 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 958ed96edd Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433 2000-06-03 09:46:12 +00:00
dp%netscape.com 326cb9b013 Removed unneccessary casts. 2000-05-05 05:54:15 +00:00
dp%netscape.com f96b022e23 Hooking up component unregister to regxpcom. 2000-04-18 06:20:35 +00:00
cls%seawood.org 3c1876ab59 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 57978e5c23 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 4a3f7c1b80 Remove unused -lmozjs from LIBS. 2000-03-02 12:52:01 +00:00
dveditz%netscape.com 74d0f231ed 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 b1221ee589 fixing crash at end of regexport 2000-02-16 07:39:14 +00:00
dveditz%netscape.com 509b07e14e fixing windows bustage 2000-02-15 02:11:26 +00:00
dveditz%netscape.com b63a6438b1 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 5e041e830f Pro5 update 2000-02-07 23:06:04 +00:00
pp%ludusdesign.com 207f05242d Conversion to NS_GET_IID(). Bug #20232, r=scc@netscape.com 2000-02-01 14:26:27 +00:00
scc%netscape.com 24bd24cf92 Fixed access paths for upcoming switch to Pro5, see bug #25949. r=pinkerton 2000-02-01 00:49:16 +00:00
sfraser%netscape.com d764aafb5c 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 af85a92f54 Some mac-only debug window control. bug 24312. r=jj 2000-01-27 05:51:40 +00:00
sfraser%netscape.com 6809f8d96c Fix the RegXPCOM application to hopefully not crash. bug 24312 r=jj 2000-01-27 05:51:11 +00:00
jj%netscape.com 8975653ce7 #24312: bumped up memory partition to 20 Mb. 2000-01-26 02:37:33 +00:00
dougt%netscape.com fd69a2f423 Landing nsIFile. 2000-01-24 21:28:28 +00:00
jj%netscape.com e0fcae043f #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 35c1fd50ff File Removed. 2000-01-19 01:57:18 +00:00
edburns%acm.org 507ee16e37 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 6787e83ce0 Adding explict includes. 2000-01-03 23:50:19 +00:00
warren%netscape.com 4ab4ee4d4e Eliminated the libs build pass. 1999-11-28 03:05:01 +00:00
dp%netscape.com 8d345600b2 Using COMPtr 1999-11-20 07:16:42 +00:00
erik%netscape.com d6616d427f Updating local .cvsignore file. Does not affect build. 1999-11-18 21:49:12 +00:00
shaver%netscape.com 61511e23f5 - 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 8535dda53e 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 35f0cfe5fb Addding xpcom init and shutdown. r=waterson 1999-10-21 21:31:53 +00:00
colin%theblakes.com af2317e98b Don't link against xptinfo - its not needed. r=ramiro 1999-10-04 10:44:49 +00:00
bienvenu%netscape.com 9f49d67aef more build bustage with reg stuff 1999-09-29 04:06:15 +00:00
shaver%netscape.com a0d5aa9034 nsIRegistry scriptability update, r=dveditz,dp,alecf a=leaf,chofmann 1999-09-29 02:36:54 +00:00
briano%netscape.com 6c101d06fc 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 88220ac198 Fix backwards return values on nsIEnumerator::IsDone(). 1999-09-21 01:28:18 +00:00
colin%theblakes.com 7d79cb341d 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 12f9f9743e General cleanup. 1999-09-18 02:12:56 +00:00
dp%netscape.com 78ee9ec7ec Ability for XPCOM to use non-default component registry and component directory 1999-09-16 19:28:57 +00:00
cyeh%netscape.com fb5fcc3775 remove debug libraries from optimized target 1999-09-16 01:44:23 +00:00
rjc%netscape.com 382ccf814c 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 9174282213 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 26dd94b010 Cleanup the neckutil linking thing. 1999-09-15 02:15:11 +00:00
cyeh%netscape.com 27693bcc6d fix up project. needs debug libs for debug target. 1999-09-14 21:55:52 +00:00
sfraser%netscape.com ea88959f52 First Checked In. 1999-09-14 01:05:35 +00:00
dp%netscape.com 7bf0e11373 Adding -lmozjs to fix runtime symbol not found problems. 1999-09-14 00:49:21 +00:00
dp%netscape.com eab27e57d7 Adding regxpcom for windows. 1999-09-11 22:01:14 +00:00
dp%netscape.com dd1fd537ab 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 53277f4711 convert to CreateInstanceFromProgID 1999-09-05 06:27:42 +00:00
cyeh%netscape.com cc2825cbe0 Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people. 1999-09-01 00:54:34 +00:00
briano%netscape.com 908ee043c1 Cleanup and fix for BSD/OS. 1999-07-22 04:23:11 +00:00
dveditz%netscape.com 4c4f269dd4 nakefile cleanups 1999-07-02 13:42:17 +00:00
dveditz%netscape.com 378777df04 fixing build bustage 1999-07-02 12:39:26 +00:00
dveditz%netscape.com 5dd9cff22d Trying to fix Win32 dependencies. Lots of broken cut-n-paste makefiles 1999-07-02 11:50:19 +00:00
sspitzer%netscape.com 4d5a4f8ff8 fix solaris build bustage, I hope 1999-07-01 08:48:25 +00:00
sspitzer%netscape.com 2fa6fafd6a fix warning 1999-07-01 08:48:06 +00:00
dp%netscape.com cb60084210 Removing unused NS_RegistryGetFactory() prototype. 1999-06-12 15:36:22 +00:00
mccabe%netscape.com 8800b0236b Resurrected this somehow. Beating it back down. 1999-06-12 09:44:11 +00:00
mccabe%netscape.com b1809e14b2 Remove vestiges of BUILD_XPIDL and USE_XPIDL from the build. 1999-06-12 09:29:46 +00:00
dp%netscape.com 507486f554 Removing obsoleted files from xpcom/ post xpcom2.0 landing 1999-06-12 07:42:48 +00:00
dp%netscape.com a51d7035cd Using new Component Registry 1999-06-09 19:18:24 +00:00
dp%netscape.com 0443b20e33 Landing xpcom20/21 branch. 1999-05-26 01:38:36 +00:00
warren%netscape.com d344b5b49b Jband's fix for forward decls. Approved: Chofmann, reviewed: mang. 1999-05-21 03:18:25 +00:00
mccabe%netscape.com 734d498883 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 bdf236a78c 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 206d7b53ee bumped the version to 1.0d3 1999-05-12 05:41:53 +00:00
beard%netscape.com 0275143579 when popping an #include, fclose the file. 1999-05-12 05:41:29 +00:00
mccabe%netscape.com 70e7afed06 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 90c126565d 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 36eeaa8a64 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 23150082a3 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 75c1643ee3 using longjmp instead of throw 1999-05-09 14:59:15 +00:00
beard%netscape.com c7e13fad81 added version.rsrc to all targets 1999-05-09 14:58:54 +00:00
beard%netscape.com cf844e31e5 moved version to version.rsrc 1999-05-09 14:58:30 +00:00
beard%netscape.com d6610f1b65 First Checked In. 1999-05-09 14:58:00 +00:00
mccabe%netscape.com 09676c676b 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 0d15a0a50f 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 15eecef0e9 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 87962db8fe 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 52fee2c586 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 0b0ea1fa93 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 72cb71e30c bumped version, changed Flags to latest CWPro4 format to use newer APIs. 1999-05-09 03:27:03 +00:00
beard%netscape.com 861f0f2505 bumped version 1999-05-09 03:27:01 +00:00
beard%netscape.com b11acf99b6 cleaned up, removed non-essential code, NPL 1999-05-09 03:19:47 +00:00
beard%netscape.com 694e5a851c NPL 1999-05-09 03:19:07 +00:00
beard%netscape.com 53004acee4 added a "build all" target 1999-05-08 23:18:39 +00:00
beard%netscape.com bd19f7a0cc added version resources 1999-05-08 23:18:12 +00:00
beard%netscape.com 7026a42960 First Checked In. 1999-05-08 23:05:34 +00:00
beard%netscape.com 6e8fffb7f4 removed xpt_dump.c from compiler target, moved exclusively to linker target. 1999-05-08 22:58:42 +00:00
beard%netscape.com 5f1cb61927 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