Commit Graph

767 Commits

Author SHA1 Message Date
chak%netscape.com
7a73e687f5 Fix for #99144 - Marking nsIFactory as frozen
r=dougt, sr=rpotts
2001-09-18 21:40:42 +00:00
jaggernaut%netscape.com
dc40187223 Bug 73353: splitting the modules on the REQUIRES lines in Makefile.in across multiple lines to more clearly show the changes made. sr=alecf 2001-09-18 13:41:47 +00:00
alecf%netscape.com
62424ee7b2 Final REQUIRES changes for bug 98371, adding support for MOZ_TRACK_MODULE_DEPS to win32. r=cls (and tested by cls!) 2001-09-17 19:06:35 +00:00
dp%netscape.com
a2b2565a87 letting factories overrride native components. Fixes embedding
smoketest blocker bug# 99130 r=adamlock
2001-09-11 18:10:31 +00:00
dp%netscape.com
9976710ad3 bug# 96457 Fixing ReInit() to account for the new factory entry type
r=gagan, sr=jband
2001-09-08 00:01:03 +00:00
jaggernaut%netscape.com
f7e24bf771 Bug 93071: Incorrect test in UnregisterComponent: we want to unregister if the registry name matches. r=bryner, sr=shaver 2001-09-07 03:48:37 +00:00
mkaply%us.ibm.com
3391fae772 OS/2 build bustage - thanks gerv 2001-09-06 22:10:51 +00:00
dougt%netscape.com
f72e52e830 Merge ServiceManager and ComponentManager. Bug 96457. r=dp@netscape.com, sr=wat
erson@netscape.com
2001-09-06 21:13:11 +00:00
alecf%netscape.com
c20ca03a02 dumb
CVS :nd string makefile updates for 98371 r=cls----------------------------------------------------------------------
2001-09-06 03:56:35 +00:00
valeski%netscape.com
93959d48cc r=dbaron, sr=dougt. 97667. nsIInterfaceRequestor is now frozen. nsIInterfaceRequestorUtils.h is now required if you want to use do_GetInterface() for convenience. The two were split because the stuff that is now in nsIInterfaceRequestorUtils.h wasn't ready for freezing. Also, .idl files should just contain interface defs anyway. 2001-09-05 21:28:38 +00:00
jaggernaut%netscape.com
3b3680c17e Bug 98153: Remove SubsumeStr. r=dbaron, sr=scc 2001-09-05 10:46:45 +00:00
waterson%netscape.com
a7c5472ce1 Bug 97828. Be sure to create the static component loader before putting it into mLoaderData array. r=dp, sr=jband/sfraser, a=asa 2001-08-31 21:45:58 +00:00
dp%netscape.com
58b3da2562 bug# 97770 fixing tree orange due to crash on unload 2001-08-31 17:45:51 +00:00
dp%netscape.com
1bd12536d8 bug #97658 Fixing build blocker. fixing js components after component registry has been
created r=gagan
2001-08-30 22:59:12 +00:00
dp%netscape.com
80feb5b38b bug# 96701 Using an array instead of hash table to store loader
data. Storing index into loader data array rather than allocating and
copying the type string. r=dougt, sr=jband, a=asa
2001-08-30 14:10:41 +00:00
waterson%netscape.com
fe14ff8338 Bug 96910. Restore NS_NewGenericModule() entry point for backwards compatibility. r=dougt, sr=jband, a=asa 2001-08-29 21:59:43 +00:00
dp%netscape.com
786ae7cdf5 bug #14889 Lazy loading wallet dll r=morse,gagan sr=jband a=asa 2001-08-28 22:05:30 +00:00
jband%netscape.com
1e2e8127fd Restore old method order so that newer components implmenting this interface are still callable by 0.9.2/NS6.1 browsers. bug 96917. sr=vidur r=brendan a=drivers 2001-08-28 21:46:08 +00:00
thesteve%netscape.com
2c4d10428d Bug#81373 (mac static build)
added nsStaticComponent.h
r=jfrancis
sr=sfraser
a=asa on behalf of drivers
2001-08-27 23:48:03 +00:00
dbradley%netscape.com
d823328c42 Bug 93792: This is the part to make passing nsID by value illegal in xpidl without notxpcom, see bug for a better explanation. sr=brendan, r=jband 2001-08-22 01:04:26 +00:00
dp%netscape.com
b27e59a919 bug 94883 nsCreateInstanceByContractID() performance improvement 2001-08-21 22:42:35 +00:00
waterson%netscape.com
b2442974aa Bug 93100. Change NS_DECL_NSGETMODULE to be table driven so we can get at module ctor & dtor callbacks. Update meta-module and static-module stuff for this change, fix meta-module to not register stuff twice. r=cls,leaf 2001-08-21 00:55:20 +00:00
cathleen%netscape.com
be72d98064 enable MOZ_TIMELINE tool, bug 78793, r=rogc, sr=waterson 2001-08-17 02:03:34 +00:00
brendan%mozilla.org
49c0102cdf Restore scriptable nsIClassInfo.classID but add fast/C++-only classIDNoAlloc; define and use nsIClassInfo::EAGER_CLASSINFO in caps (93792, sr=waterson&jst). 2001-08-07 03:59:29 +00:00
waterson%netscape.com
9abf7984af Bug 71248. Convert content, layout, parser, and uconv to generic modules so that they can be linked into a meta-module. r=cathleen, sr=brendan 2001-08-07 02:55:54 +00:00
vidur%netscape.com
c8aff8704f Temporary fix for bug 92859. Components can now be registered with the generic module macros to have class info, but not be instantiable via the component manager. Currently, the class object of such components are created eagerly at module initialization time. A future fix might create them lazily. r/sr=jband, jst 2001-08-06 07:05:22 +00:00
brendan%mozilla.org
dbd7fed5b1 FASTLOAD_20010703_BRANCH landing, r=dbaron, sr=shaver. 2001-07-31 19:05:34 +00:00
jaggernaut%netscape.com
e91f8a147e Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa 2001-07-25 07:54:28 +00:00
jaggernaut%netscape.com
cb0faab070 Bug 73353: clean up the REQUIRES lines in Makefiles. 2001-07-23 22:36:12 +00:00
cathleen%netscape.com
04a2d87fea fixed bug 87004, for win static build, changed libjar and xpinstall to be
dynamic, updated static packager list, added build_static.pl, fixed static
component loader to handle no static component cases, updated and added
.cvsignore for extra files generated by static build
2001-07-19 22:43:14 +00:00
av%netscape.com
3ee52d160b Backing out existing fix for 87193 -- r=mstolz, sr=shaver, attinasi 2001-07-17 02:24:16 +00:00
dbaron%fas.harvard.edu
aa4fec2b67 Header include dependency cleanup. b=64023 r=jag rs=brendan 2001-07-16 02:40:48 +00:00
mstoltz%netscape.com
548e6eb3dd Fixing blocker bug 90197 by backing out fix for 87913 that changed the behavior of
ComponentManager::AutoRegister and instead using patch v2 from 87913 which
adds a new function rather than changing the existing one. r=mstoltz, dveditz.
2001-07-12 03:58:32 +00:00
jaggernaut%netscape.com
d589f328f9 Add "js" to REQUIRES to fix Senna bustage 2001-07-11 12:37:01 +00:00
jaggernaut%netscape.com
9886ba7f87 Add "xpconnect" to REQUIRES to fix Senna bustage 2001-07-11 10:50:04 +00:00
jaggernaut%netscape.com
2ff63310ec Add to REQUIRES "caps" to fix senna bustage 2001-07-11 07:49:25 +00:00
mstoltz%netscape.com
755eb0ae93 Checking in bug 87913 for jesse@netscape.com - Allow untrusted scripts
to call Components.manager.autoRefresh, but only with default params.
r=mstoltz, sr=jst.
2001-07-11 04:48:55 +00:00
dbaron%fas.harvard.edu
d8c954e551 Some compilers don't support default parameters on templates, so split CallGetService and use what would have been a better solution in the first place. sr=scc b=87735 2001-07-04 20:26:31 +00:00
dbaron%fas.harvard.edu
1758134ebc Add CallCreateInstance and CallGetService. b=87735 r=jaggernaut sr=scc 2001-07-04 18:55:14 +00:00
cls%seawood.org
66d937045b Landing static build changes for OS2
Thanks to Javier Pedemonte <pedemont@us.ibm.com> for the patch.
Bug #85283 r=mkaply r=waterson
2001-07-01 12:11:13 +00:00
jaggernaut%netscape.com
5a6317b8a5 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 :-)
2001-06-30 11:02:25 +00:00
dbaron%fas.harvard.edu
d5460d02ef Remove nsCStringKey-related bustage fixes from this morning that are no longer needed. r=jaggernaut sr=waterson b=88411 2001-06-29 23:16:52 +00:00
scc%mozilla.org
30f97813ad fix linux build bustage by adding a |.get()| to resolve ambiguity 2001-06-29 13:50:22 +00:00
cathleen%netscape.com
e8ed84659e fix autoreg components always get called on startup. bug#85770 r=ssu sr=alecf 2001-06-28 00:06:16 +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
cls%seawood.org
bf5fb48486 Replaced NO_SHARED_LIB & NO_STATIC_LIB with BUILD_SHARED_LIBS, BUILD_STATIC_LIBS, FORCE_STATIC_LIB & FORCE_SHARED_LIB. Added FORCE_USE_PIC.
Changes allow us to have a finer control over which parts of the tree are built with PIC.  Part of the static build branch landing.
Bug #46775 r=mcafee a=leaf
2001-06-18 22:10:38 +00:00
scc%mozilla.org
a8fb409c6e bug #85271: sr=waterson, r={beard, jag, dbaron}, a=asa. Eliminate features of |nsXPIDLC?String| that keep it out of the string hierarchy (i.e., using assigment to rebind ownership, static |Copy| members, and |getter_Shares|), fixing some leaks in the process. 2001-06-17 05:23:38 +00:00
valeski%netscape.com
5892765fc6 r=chak, sr=vidur, a=tor. 82000. removing unused arg from nsICategoryManager. 2001-06-05 21:25:57 +00:00
kandrot%netscape.com
6bf35cb255 Check in for bug #75764 to elminate non-static globals. r=kandrot, sr=jband 2001-05-15 05:50:24 +00:00
jst%netscape.com
ea706038cf Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com. 2001-05-08 17:42:36 +00:00
cls%seawood.org
6f256984a9 Let the use of PR_Log() be controlled by a toplevel build option. All places that set FORCE_PR_LOG to force logging on need to wrap that #define FORCE_PR_LOG in a MOZ_LOGGING ifdef.
It's on by default. Set
--disable-logging (unix)
NO_LOGGING=1 (win32)
moz_logging = 0  (mac)
to turn it off globally.

Bug #53226 r=sspitzer,leaf,sfraser
2001-05-05 10:18:53 +00:00
kandrot%netscape.com
afdac97c93 Check in for Ron Guilmette. r=shaver, sr=waterson. For intl r=nhotta. Changes for NS_IMPL_NSGETMODULE. bug #46775. 2001-05-05 05:33:37 +00:00
sdagley%netscape.com
91599490da #70543 - Mac OS running out of FCBs when loading libraries. Now yield time to OS to allow it to grow the FCB table (shouldn't be necessary, apparently is). sr=sfraser,r=macdev 2001-05-04 09:01:06 +00:00
dveditz%netscape.com
0891610be0 fix for 15115, registry reading speedup 2001-04-17 14:25:19 +00:00
disttsc%bart.nl
21a52124e0 Fix some inefficiency in nsNativeComponentLoader.cpp, bug=51210, author=Mark Stankus <mstankus@calpoly.edu>, r=bzbarsky@mit.edu, sr=shaver. 2001-03-23 07:34:34 +00:00
shaver%mozilla.org
fcf7cd0d9f 67699: all your nsIClassInfo is belong to us
- teach nsGenericFactory about nsIClassInfo, and nsIClassInfo.idl to the
  builds
- add a heaping serving of macro love for classes that want to support it
- convert many modules to use nsGenericModule the new way
- handful of warning and modeline fixes
- nsSample and some XPConnect test classes now have nsIClassInfo support for
  testing
2001-03-12 20:43:02 +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
timeless%mac.com
72a1f5c4f6 fix for bug 52653 regxpcom creates .mozilla in Real User's home
fix by shaver, r=dveditz, sr=scc
2001-02-16 21:35:34 +00:00
jband%netscape.com
0397fb7a41 not part of the build - to be used in xpconnect flattening etc. 2001-02-14 04:26:03 +00:00
pinkerton%netscape.com
d465909997 carbon changes. r=pink/sdagley/beard. a=sfraser. 2001-02-13 21:48:26 +00:00
blakeross%telocity.com
22ff746771 Minor QI optimization. r=blake sr=scc 2001-01-31 22:05:28 +00:00
disttsc%bart.nl
11db302d6b Remove some redundant code from nsComponentManager.cpp. bug=66865, patch=bratell@lysator.liu.se (Daniel Bratell), r=jag, a=scc. 2001-01-31 22:00:17 +00:00
sfraser%netscape.com
f50ca12bbb Fix for bugs 64978 and 24312. Add a call to SystemTask into the autoreg loop to ensure that the OS has time to grow its File Control Block tables, to avoid running out of FCBs when doing autoreg after rebooting the machine. r=ccarlen, sdagley, sr=scc 2001-01-30 21:29:53 +00:00
dbaron%fas.harvard.edu
6a1cef6f9a Remove trailing semicolons after all uses of MOZ_DECL_CTOR_COUNTER to quiet build warnings on Mac. b=60415 a=brendan@mozilla.org 2001-01-27 23:06:33 +00:00
ccarlen%netscape.com
d9dd3b5321 Fix for bug 64501 - allow embedding apps to specify app registry location. Moves appfilelocprovider into xpcom. r=dougt@netscape.com, sr=brendan@mozilla.org 2001-01-18 22:51:57 +00:00
dbaron%fas.harvard.edu
6b1c9bf9dc Fix the use of dynamic_cast for nsCOMPtr logging so it doesn't appear in a macro. b=61243
Implement (without enabling, yet) assertions to warn about static constructors.  b=62006
Partly fix warnings about MOZ_DECL_CTOR_COUNTER on Mac builds by removing extra semicolon.  b=60145
Start to fix the longstanding leaks of nsTraceRefcnt's own hashtables.
r=waterson@netscape.com  sr=brendan@mozilla.org
2000-12-23 16:43:32 +00:00
dougt%netscape.com
29cef744e4 Static Module Patch. r=valeski,warren@netscape.com, sr/a=cls@netscape.com 2000-11-21 23:40:34 +00:00
cls%seawood.org
434edd6f33 Oops. Fixing bustage introduced by previous checkin. I forgot that XPIDL_MODULE is sometimes set by MODULE. r=blizzard Bug 59454 2000-11-21 00:18:46 +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
alecf%netscape.com
0934a8bda2 fix for #45797 - fix NS_IMPL_ISUPPORTS consumers
r=dveditz a=self
2000-11-17 03:41:41 +00:00
warren%netscape.com
cd56c0575b Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc. 2000-10-28 22:17:53 +00:00
warren%netscape.com
9a6d92a433 Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson 2000-10-27 22:43:51 +00:00
bnesse%netscape.com
9d1c3322a1 Look for 'NSPL' as well as 'shlb'. Fix for bug #45697. r=av, sr=scc, a=rtm++. 2000-10-17 18:06:23 +00:00
rayw%netscape.com
3cd14f5878 Bug fix for 52648 -- remaining stash of progids which I missed on
the mega-change yesterday.  This will fix a few more issues.

r=warren
2000-09-14 23:20:49 +00:00
rayw%netscape.com
29095de5ca File went back by mistake, reverting. 2000-09-14 04:21:39 +00:00
rayw%netscape.com
f00b08f5d0 fix to mal-formed contract id introduced in mega-check-in:x 2000-09-14 04:18:07 +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
jband%netscape.com
ab447aa9ef needed to fix bug 46707. We need to autoreg the native loader before the interface info manager (iim) so that the iim can use registered components; e.g. libjar. r=shaver@mozilla.org 2000-09-09 01:36:18 +00:00
kandrot%netscape.com
f474ef6516 Missed a change. Fix for bug #46709
r=rayw
2000-09-08 02:53:12 +00:00
kandrot%netscape.com
e89ce829b0 Fix for bug #46709
Allows registry buffer size to be modified.  Increases buffer size during
initial start up, then decreases size.

r=rayw
2000-09-08 01:51:45 +00:00
scc%mozilla.org
37ad1671aa fixing bustage 2000-09-03 04:04:41 +00:00
scc%mozilla.org
3f22a1ad7c bug #49895: checking in a slight enhancement on Patrick Beards patch 2000-08-31 11:42:43 +00:00
dbaron%fas.harvard.edu
4c5e1655b3 Attempt to fix nebiros (Sun WorkShop 5.0) bustage by changing NULL to nsnull. r=scc (Fix suggested by scc.) 2000-08-30 12:32:13 +00:00
cls%seawood.org
11e77d89f5 Build fixes for BeOS. Thanks to Dan Moore <pergamon@68k.org> for the patch. 2000-08-30 07:21:31 +00:00
rayw%netscape.com
0540f62d4d A fix to bug 43351.
A softer landing on a failed initialization.  It checks for a null
before deallocating.  This does not affect the success path.

This was a patch, and I reviewed it:  (r=rayw)
2000-08-18 20:54:04 +00:00
rayw%netscape.com
8ddce2ac9b Check return from PlatformInit, and return if it failed.
Bug 43347

This was a patch submitted, I have reviewed it (r=rayw)
it provides a softer landing when problems occur in the
initialization.  There is no difference in behavior if
the initialization was successful.
2000-08-18 20:51:37 +00:00
dbaron%fas.harvard.edu
e8436117f7 Attempt to fix Sun/HP/AIX bustage. r=cls 2000-08-17 00:15:50 +00:00
racham%netscape.com
cddb62593d Fixing bug 46320. Reducing the number of global files by moving profile registry to product sub-directory under HOME. r=dougt 2000-08-16 22:40:27 +00:00
dp%netscape.com
b2945eb4e6 Removed unused static. 2000-08-16 07:33:23 +00:00
conrad%ingress.com
d9e8edcf29 Changed from using strings for nsIDirectoryService props to using macro names defined in nsDirectoryServiceDefs.h r=valeski 2000-08-11 20:31:57 +00:00
rayw%netscape.com
6385bb207a Changed case of nsIFactory.idl methods to start with lower case to be like other
interfaces.  Since the C++ generated code upper-cases the method names, this
affects no C++ code, but only a few javascript methods.

Bug 46771.

r=waterson.

I am in today and tomorrow.
2000-08-10 20:12:08 +00:00
warren%netscape.com
84b5fd67e3 Bug 46711. Removed nsAutoString travisty from nsStringKey. Introduced nsCStringKey. Made them both share the underlying string when possible. r=waterson 2000-08-10 06:19:37 +00:00
sgehani%netscape.com
ec4e062bc9 Turn off sole line output in opt builds by wrapping in DEBUG macro.
r = ssu
a = shaver
2000-07-25 23:54:12 +00:00
dbaron%fas.harvard.edu
6f36e68677 Fix leak (holding past XPCOM shutdown) of 16 strings. r=waterson 2000-06-27 21:54:28 +00:00
waterson%netscape.com
cdb181472e Bug 21650. Add an assertion if the service manager is improperly re-entered. r=dbaron,warren 2000-06-23 02:02:48 +00:00
dbaron%fas.harvard.edu
1186c942a6 Change MOZ_DECL_CTOR_COUNTERs that I added to use ;, as all others do. r=waterson@netscape.com 2000-06-15 02:20:30 +00:00
mkaply%us.ibm.com
ce4bf6fcaa # 37239
r = valeski, a = brendan
OS/2 bringup - PR_CALLBACK for VisualAge
2000-06-05 19:18:07 +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
shaver%mozilla.org
ee8d2a82fe remove useless nsIModule paste (#22922), add debug() for JS components, use categories for component loaders, XPCONNECT_STANDALONE (#39875), r=dp,waterson a=brendan 2000-05-26 04:56:23 +00:00
shaver%mozilla.org
8c693ee0d9 add do_GetServiceFromCategory, r/a=brendan 2000-05-20 18:55:35 +00:00
scc%mozilla.org
ebc8903c87 Bug #39824. Checking in patch from dp. This patch fixes exports on some |nsCOMPtr_helper| classes so we can link appropriately. r=scc. 2000-05-20 18:31:45 +00:00
sfraser%netscape.com
188c1b9a52 Change the XPCOM autoreg observer to provide more useful strings. 2000-05-17 01:53:50 +00:00
rayw%netscape.com
3b33b094d3 Added an observer to autoregistration, which allows a callback during that
part of startup to advance a progress display, per bug 35866.

I did not get the code actually reviewed, but I discussed it, and tested it
for breakage.  Other developers must register for the observer before it can
be ascertained whether it performs as advertized.
2000-05-15 19:28:12 +00:00
tor%cs.brown.edu
0b00ea3931 SUNWspro5.0 bustage fix: add "const" in a couple places to keep
the compiler happy.  Patch from tomi.leppikangas@oulu.fi, r=tor
2000-05-15 19:00:43 +00:00
dbaron%fas.harvard.edu
475f83d8ee Count some classes for the leak stats. r=warren@netscape.com 2000-05-15 13:10:18 +00:00
gordon%netscape.com
26fd2a9c50 Let go of monitor a bit earlier in ReleaseService() so that services which are shuttingdown may aquire their own monitors without potential deadlocks. Also changed allocation/deallocation of ServiceManager's monitor to use nsAutoMonitor methods, as per brendan's suggestion. 2000-05-12 23:39:34 +00:00
rayw%netscape.com
d0199a10bc Per bug 3690:
Added new functions to the registry for reading / writing byte arrays
of binary content and escaping registry keys that contain binary
content.  Modified code which reads/writes location of dll or javascript
for components to use new ReadBytesUTF8/WriteBytesUTF8 and which uses
or reads the keys to use EscapeKey and UnescapeKey.

r=dveditz
2000-05-12 01:24:36 +00:00
dougt%netscape.com
4e5362dc52 Changes from snizinsk@us.ibm.com
visualage fixes to xpcom for OS/2.
2000-05-12 01:09:58 +00:00
dp%netscape.com
481db03263 - Using nsILocalFile::AppendRelativePath() to get components that live
under subdirs of component directory to work
- Fixing UnregisterComponent() to take a registryLocation as opposed
to a misinterpretted fullpathname
2000-05-05 06:37:39 +00:00
dp%netscape.com
99c45e2779 Passing registry location correctly to nsIModule::UnregisterSelf() 2000-05-05 06:34:39 +00:00
dp%netscape.com
f6783ede03 Heavy documentation. 2000-05-05 06:33:05 +00:00
dp%netscape.com
996296e9e0 Adding progid for component manager. 2000-05-05 06:01:41 +00:00
rayw%netscape.com
1520de99ee Bug #37058
Added a simple test to CreateInstance, similar to the existing test in
GetService in the service manager, to prevent instances from being created
during shutdown.  We detected no calls to CreateInstance in normal code we
tested during shutdown.  If such occur, the fix is NOT to back out the
check, but rather to eliminate the calls to CreateInstance either by
registering a shutdown observer which gets called just before the
shutdown, or creating the instance before shutdown.

r=scc
2000-05-04 23:11:30 +00:00
mkaply%us.ibm.com
152f6f29e4 # 34082
r= dougt@netscape.com
OS/2 bring up continues - Adding PR_CALLBACKs for VisualAge Compiler
2000-05-02 22:38:04 +00:00
sgehani%netscape.com
f257c6c709 Fix Autoregistration bustage in the context of apps using XPCOM outside Mozilla (e.g. the installer stubs). 2000-05-02 00:54:11 +00:00
mccabe%netscape.com
e9209489d7 change several IDL parameters to be unsigned, to work better with length_is, size_is. Preperatory to requiring unsigned in xpidl, fixing 13413 2000-04-28 10:51:52 +00:00
waterson%netscape.com
00eb3e5b8c Get rid of operator==(nsCOMPtr, int) usage because it fries gcc-2.7.2.3's mind with new string stuff. r=scc 2000-04-27 04:44:56 +00:00
pavlov%netscape.com
a3a300fdf2 string api changes r=scc 2000-04-25 05:40:45 +00:00
jband%netscape.com
d6fdb2cbf4 make the component manager's AutoRegister call the interface info manager's AutoRegisterInterfaces 2000-04-25 05:11:30 +00:00
mjudge%netscape.com
cc241215a4 fixing vc6.0 compiler bug. cant have static variable called "count" and compare it using "<". dont ask. 2000-04-25 05:09:49 +00:00
shaver%mozilla.org
1e9b5eec44 add CurrentItemInPlaceUTF8 to reduce startup alloc by 2.3M(!), r=brendan 2000-04-25 01:11:08 +00:00
jband%netscape.com
4ecd17e424 add an assert for a whacky case that is not supposed to happen but biting me a while back when some other code was broken. This has been kicking around my tree for a while. 2000-04-18 21:44:38 +00:00
dp%netscape.com
143e2d8993 Implemented component unregistration. 2000-04-18 05:25:05 +00:00
cls%seawood.org
fc6c8a2097 BeOS build fixes. Bug #34553 2000-04-12 06:20:59 +00:00
rickg%netscape.com
1900f59d83 updated includes to access nsCRT 2000-03-31 09:04:29 +00:00
dp%netscape.com
541e440f75 Enabling XPCOM_BREAK_ON_LOAD to break in the debugger for linux &&
i386. r=waterson,pavlov
2000-03-25 08:54:22 +00:00
dp%netscape.com
20412a1b14 Preventing empty progid causing registration problems. 2000-03-25 06:57:25 +00:00
sfraser%netscape.com
466c068544 Bump up the intial hash table size in a bunch of places to avoid resizing the hash later. r=scc 2000-03-22 02:43:48 +00:00
dp%netscape.com
2dfef1333a Enabling PR_LOG for release builds from native component loader.
Tuning log format to help analysis.
2000-03-11 22:44:51 +00:00
pavlov%netscape.com
ce094b4cfc changes to let us build on MacOS X 2000-03-11 03:08:04 +00:00
warren%netscape.com
c0497e31be Bug 21556: Making linux be thread-safe. Making tons of classes implement threadsafe AddRef/Release. a=jar 2000-03-05 21:26:01 +00:00
dp%netscape.com
3990646a0b bug# 29685 Eliminating unneccessary hits to registry to improve startup. Improving on previous fix. Thanks to jband's help. r=jband,dveditz a=jevering 2000-03-03 01:48:41 +00:00
jband%netscape.com
3f9d673a94 back out dp's unsafe optimization that caused crash on first run 2000-03-02 19:57:23 +00:00
dp%netscape.com
dbc7ea3807 Eliminating 11 hits to the registry for Progid if we already have
prepopulated the registry. This improves startup performance.
a=jevering, r=dveditz
2000-03-02 02:13:11 +00:00
sfraser%netscape.com
83963a825c Fixes for bug 28271 -- add methods to nsILocalFileMac to launch applications and document. Also fix bogus include in nsNativeComponentLoader. r=davidm,dougt. a=jar 2000-02-23 23:09:02 +00:00
colin%theblakes.com
73b0be9642 Add a debug break for OpenVMS. All changes are ifdef VMS. a=leaf 2000-02-21 22:56:55 +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
f620060761 registry speed ups (part of 12817) 2000-02-16 07:45:20 +00:00
dveditz%netscape.com
524f11871b fixing mac and unix bustage 2000-02-15 02:29:53 +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
dveditz%netscape.com
41d2b2b563 closing the file used by the registry service is evil 2000-02-13 17:32:19 +00:00
dp%netscape.com
346ad8dd16 Bg 26937, bug 26759 Enforcing close of the registry before open of a
different registry file. r=dveditz
2000-02-08 21:50:54 +00:00
dp%netscape.com
547fc64bf2 Bug 26937 Added ApplicationRegistry. r=dveditz 2000-02-08 21:49:40 +00:00
warren%netscape.com
b7449ea004 Fix for code generation problem in VC6 optimized builds. Discovered with MOZ_PROFILE=1 and MOZ_DEBUG undefined. The variable 'dll' seems to get wiped out by the assignment of 'res' (aliased together). r=scc,dp 2000-02-08 11:45:40 +00:00
jdunn%netscape.com
6f3fd0364d r= scc@netscape.com
The AIX compiler doesn't like the declaration of variables in an IF statement
so I have broken them out.
2000-02-08 03:34:27 +00:00
scc%netscape.com
2c402f0276 Oops, need to call |initialize()|. More comments. Fix over-zealous |AddCategoryEntry()|. r=sspitzer 2000-02-06 08:26:13 +00:00
sspitzer%netscape.com
b8a3418dbc fix the cookie / news component registry problem.
the problem was mRegistry was null, so we'd fail when calling persist().
2000-02-06 05:43:38 +00:00
sspitzer%netscape.com
9c471e00e3 prevent crash, return if mRegistry is null. 2000-02-06 05:25:38 +00:00
scc%netscape.com
a1a46ff8ac Added factory, and factory constructor function to get this thing hooked up. That's it, I think. bug #26011; r={waterson,sspitzer} 2000-02-06 02:01:39 +00:00
sspitzer%netscape.com
484b02b81d scc rewrote this in C++. r=scc 2000-02-06 01:21:35 +00:00
sspitzer%netscape.com
f218d5ba48 stop building nsCategoryManager.js and start building nsCategoryManager.cpp
on linux and windows
2000-02-06 01:19:28 +00:00
scc%netscape.com
8ec74054ea fixing bustage, omitted result type 2000-02-06 01:16:32 +00:00
sspitzer%netscape.com
c6c8dddea7 fix warnings, make it build on linux. 2000-02-06 01:12:47 +00:00
scc%netscape.com
7926e52ab7 Adding the CID, progID, etc., so I can get the C++ version registered as a service. r=waterson 2000-02-06 01:01:08 +00:00
scc%netscape.com
dd34a34e7d Adding the CID, progID, etc., so I can get the C++ version registered as a service. r=waterson 2000-02-06 00:57:11 +00:00
sspitzer%netscape.com
de68eeaf83 nsIServiceProvider.h doesn't exist anymore 2000-02-05 09:56:55 +00:00
scc%netscape.com
e72a4548f8 finished filling in |AddCategoryEntry|. Now all I have to do is get the thing registered and instantiated 2000-02-05 07:58:56 +00:00
scc%netscape.com
252cd72a5d fixed tabs, added registry loading code, some comments... almost ready to go 2000-02-05 07:42:30 +00:00
scc%netscape.com
d770b51a5b First Checked In. 2000-02-05 06:19:49 +00:00
sspitzer%netscape.com
1c71fea64a export nsCategoryManager.js 2000-02-05 05:22:19 +00:00
jband%netscape.com
2d23e17518 fix test bustage due to typo in JS code. This was a known problem that I could have SWORN that shaver checked in a fix for 2000-02-05 04:42:04 +00:00
dougt%netscape.com
f9a743cbcb Fix for bug 25941. r=dp,scc. 2000-02-01 07:54:46 +00:00
dougt%netscape.com
413cc55ebd Renaming IsContainedIn to contains() 2000-01-28 23:54:26 +00:00
dougt%netscape.com
bae665046a Giving these files Purify loving. r=dveditz 2000-01-28 23:37:27 +00:00
dp%netscape.com
026b164598 Removing asm() code. Wont compile on nonx86 linux. 2000-01-28 11:31:39 +00:00
dp%netscape.com
0c427aebb7 Using asm() only for linux. 2000-01-28 11:04:51 +00:00
dp%netscape.com
fa970c12ec Adding BreakAfterLoad() API to header. 2000-01-28 09:49:10 +00:00
dp%netscape.com
961042374a Debuggin help from components. Implementing BreakAfterLoad() for DEBUG
builds, which will stop in the debugger after loading any of the :
separated dll substrings listed in environment variable
XPCOM_BREAK_ON_LOAD. Stopping in debugger implemented for
unix.
2000-01-28 09:44:05 +00:00
jband%netscape.com
70fe081181 fix this misnamed method bug for shaver. r=shaver. NOT PART OF BUILD 2000-01-28 08:38:11 +00:00
sdagley%netscape.com
36bd7d9c72 Finish cleanup of #19150 - forgot to remove un-needed include after changing code to load fragment via nsLocalFileMac rather than directly calling NSPR. r=lumpy 2000-01-27 02:24:06 +00:00
dougt%netscape.com
0b0346079c Landing nsIFile. 2000-01-24 21:28:28 +00:00
scc%netscape.com
cf8ef31b63 replace |nsVector| with |nsVoidArray| as per bug #11666. r=dp 2000-01-18 23:03:29 +00:00
dp%netscape.com
2df47b0c6d Implementing access to servicemanager from component manager via
nsIInterfaceRequestor. r=scc
2000-01-11 22:54:46 +00:00
dp%netscape.com
331dbeb0cd Providing register and unregister hook per component in the generic
module. r=alecf
2000-01-11 21:18:55 +00:00
dp%netscape.com
d6283aff87 Adding comments to explain shutdown further. 2000-01-10 21:26:00 +00:00
jband%netscape.com
bbb40e6dd7 Allow generic module stuff to work with singletons. Needed to fix bug 22922. r=dp 2000-01-07 02:18:13 +00:00
mscott%netscape.com
1ec9e54be0 someone removed nsIServiceProvider.h from the build and didn't remove it from mac and unix makefiles!!! Shame on you... Fixing the build breakage on the mac. 2000-01-06 01:36:00 +00:00
mcafee%netscape.com
5f6a9e7799 Fixing linux bustage. 2000-01-06 01:16:42 +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
warren%netscape.com
359bfe3062 Fixed xpcom shutdown to disallow reconstruction of the global service manager. r=dp 2000-01-06 00:34:38 +00:00
blizzard%redhat.com
d6cf22aa5c Change nsComponentManager::ProgIDToCLSID to nsComponentManager::ProgIDToClassID as per bug #3579. Checking in for sford. r=scc,r=blizzard 1999-12-30 22:03:58 +00:00
sspitzer%netscape.com
22b6b14e23 purify related fixes. first, prevent a crash that was prevent me
from running purify in nsGenericFactory.cpp.  Second, add support
for "mozilla -pure".  Only works if you've build mozilla.bin.pure, of course.
1999-12-15 06:23:50 +00:00
shaver%netscape.com
a4cd86a287 fix leaf of registryName (#21068, r=beard, a=leaf) 1999-12-09 00:01:46 +00:00
dp%netscape.com
5e69c59d46 Adding assertion to check for improper shutdown of servicemanager. r=chofmann@netscape.com 1999-12-08 02:00:30 +00:00
dp%netscape.com
3ec8ca8250 Removing nsComponentManager.h from export 1999-12-08 01:58:30 +00:00
dp%netscape.com
edcdeb94a5 NS_GET_IID(). Thanks to patch from pp@ludasdesign.com r=dp@netscape.com 1999-11-30 23:36:32 +00:00
dp%netscape.com
d76755831f NS_RELEASE if there isn't a global service manager 1999-11-29 21:02:51 +00:00
warren%netscape.com
96ec037ac6 Eliminated the libs build pass. 1999-11-28 03:05:01 +00:00
sspitzer%netscape.com
449b64a2e7 fix 974 warnings by declaring a virtual destructor 1999-11-27 02:17:23 +00:00
shaver%netscape.com
daf1dd97f0 update to track catchguard syntax, r=cls 1999-11-24 03:36:26 +00:00
scc%netscape.com
829514e2e2 Added |do_GetService| of a specific service manager as opposed to the global one. Fixed the appropriate macro accordingly. Please note: travis will be supporting this change until I'm back online in Michigan. r=dp. 1999-11-23 05:55:33 +00:00
scc%netscape.com
059d310964 clear out the result in |do_CreateInstance| on error. r=pinkerton 1999-11-22 23:01:35 +00:00
dp%netscape.com
f7a9bde3c4 Eliminating leak of factory when getting it from hashtable.
Using NS_IMPL_ISUPPORTS1
Removing NS_DEFINE_IID
r=warren@netscape.com
1999-11-20 07:21:53 +00:00
warren%netscape.com
e43ba43af2 Fixed generic module factory lookup to look in cache. 1999-11-19 02:46:50 +00:00
beard%netscape.com
252e9c7159 fix C string leak, bug=18699, r=shaver 1999-11-19 02:14:23 +00:00
fur%netscape.com
8dc3eec4c8 Fixed a problem with the NS_GENERIC_FACTORY_CONSTRUCTOR_INIT() macro.
If the Init() routine happens to perform a balanced AddRef/Release,
the instance will be prematurely destroyed when Release() is called.
The change is to do the AddRef() before calling the initialization
routine to stabilize the instance's ref-count.

r: dp, putterman
1999-11-16 03:05:36 +00:00
fur%netscape.com
5036fb1561 Return NS_ERROR_FACTORY_NOT_REGISTERED, not NS_ERROR_FAILURE, if a non-existent ProgID is used to instantiate a component. Also, don't ignore CLSID parse errors. R: dp 1999-11-14 15:41:40 +00:00
warren%netscape.com
9669aaed56 Minor fix. 1999-11-12 09:10:40 +00:00
warren%netscape.com
7f04320416 Added NS_NewGenericModule. Made NS_IMPL_NSGETFACTORY use it to save space. r=dp,alecf 1999-11-12 09:07:26 +00:00
dp%netscape.com
336bf28bce Services used with COMPtrs. NS_WITH_SERVICE definition uses COMPtrs. r=scc 1999-11-11 00:31:45 +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
scc%netscape.com
e46756059d Added |do_CreateInstance()|, |do_GetService()| both by CID and ProgID. See bugs #17364, #17448. r={travis, dp} 1999-11-10 00:14:54 +00:00
scc%netscape.com
6234eff725 Moved |do_CreateInstance()| from here to nsComponentManagerUtils.h. See bugs #17364, #17448. r={travis, dp} 1999-11-10 00:14:10 +00:00
dp%netscape.com
43788c85b9 Enabling observing of XPCOM Shutdown r=jband r=putterman 1999-11-09 23:41:24 +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
5bc4da0375 Deny GetService() requests which cause Creation of new objects on
shutdown. r=jband, r=ScottPutterman
1999-11-03 05:38:45 +00:00
alecf%netscape.com
649ac66265 cleanup NS_IMPL_MODULE and friends
- define new nsModuleComponentInfo and use it instead of components_t
- use size_t instead of unsigned int
- add some docs
- allow user to define own module name
1999-11-02 01:12:32 +00:00
scc%netscape.com
b2c12428df changed the mechanism underlying |do_QueryInterface| to decouple |nsCOMPtr| from services, |nsIWeakReference|, etc. This change fixes bug #17364, and paves the way for making |nsCOMPtr| cooperate with services. r=valeski (additional builds done by dmose and syd) 1999-10-31 00:35:48 +00:00
braddr%puremagic.com
ea13be0a26 Move all nsIEnumerator usage over to NS_ENUMERATOR_FALSE from NS_COMFALSE in anticipation of nixing NS_COMFALSE in the near future.
r=scc
1999-10-28 03:16:48 +00:00
braddr%puremagic.com
341c8b0054 Ooops.. tree closed, better back these out for now. Sorry. 1999-10-27 21:01:37 +00:00
braddr%puremagic.com
55276cc3c4 Move all nsIEnumerator usage over to NS_ENUMERATOR_FALSE from NS_COMFALSE
in anticipation of nixing NS_COMFALSE in the near future.
r=scc (please contact him should there be any build issues)
1999-10-27 20:24:21 +00:00
warren%netscape.com
3fda695ea8 Fixed up dll loading for Windows. It was silently failing. 1999-10-24 22:01:09 +00:00
dp%netscape.com
cf16f4e92d bug# 9221 Fixing autoreg terminating on bad aliases. We now let it go
as far as possible ignoring errors. r=sfraser
1999-10-22 06:32:26 +00:00
dp%netscape.com
a8e1f1906e beautify... 1999-10-22 04:47:14 +00:00
dp%netscape.com
dfb460cb22 bug# 15046 Preventing deletion of dll when getfactory fails. r=shaver,kipp 1999-10-22 01:04:16 +00:00
dp%netscape.com
03fd310400 bug#14656 Circular release problem of component manager. Fixed by
adding shutdown() method that gets called before the last
release. Enabled only for dp & shaver until we resolve js coredump.
1999-10-21 21:34:39 +00:00
scc%netscape.com
d1f693eb36 First Checked In. 1999-10-20 21:03:21 +00:00
dp%netscape.com
3e35738382 Fixing warning. Moved declaration into if 0 block. 1999-10-19 05:49:04 +00:00
dveditz%netscape.com
99d183d043 Added nsIRegistry::Flush (bug 16283, required for 16600), r=shaver 1999-10-17 21:45:53 +00:00
jevering%netscape.com
a91fae81ab The nsLeakDetector.cpp file now requires a few extra header files which weren't being exported on win 1999-10-16 01:44:52 +00:00
scc%netscape.com
ef8d06d258 Bug #15292, r=dp. Made the component manager inherit from |nsSupportsWeakReference|, fixed its |QueryInterface()| appropriately, and added casts in two places that became ambiguous now that the component manager had multiple |nsISupports| in it. Now one can hold a weak reference to the component manager using |nsIWeakReference|. 1999-10-15 21:14:43 +00:00
shaver%netscape.com
6af0fa41f9 Fix case and return value in nsIModule.idl.
Add deleteCategoryEntry and deleteCategory to nsICategoryManager.
Update nsCategoryManager.js to use new nsIModule case, and talk to the registry.
r=brendan
1999-10-15 20:51:38 +00:00
dp%netscape.com
1a126bedcd bug# 5085 Eliminating some checks at autoreg time to improve startup
performance. r=sfraser
1999-10-15 07:12:08 +00:00
dveditz%netscape.com
b56193b56d expose libreg ability to delete named values in nsIRegistry. Patch from
Jonas Utterstr�m <jonas.utterstrom@vittran.norrnod.se>, r=dveditz
1999-10-15 06:47:58 +00:00
waterson%netscape.com
8241422540 Bug 16105. (Bugsplat 366256.) Ensure that nsISupports::Release() calls dtor only once by 'stabilizing' refcnt to a non-zero value before invoking the dtor. See also news://news.mozilla.org/37FD0F3C.3078AE5C%40netscape.com. r=scc,fur 1999-10-12 02:10:08 +00:00
putterman%netscape.com
07068ab854 Create a version of NS_GENERIC_FACTORY_CONSTRUCTOR that lets you pass in
an initialization function.  No bug.  Reviewed by dp.
1999-10-10 22:30:55 +00:00
kipp%netscape.com
538bc51120 Fixed up hook to track library loads for refcnt logging 1999-10-08 23:41:18 +00:00
warren%netscape.com
8c71c45537 Fixed AddRef/Release problems to eliminate negative refcounts in Bloaty. 1999-10-08 01:49:06 +00:00
alecf%netscape.com
85fe25d739 add new NS_xxx_MODULE* macros (not used anywhere in the build just yet) 1999-10-08 00:12:29 +00:00
dp%netscape.com
d73e78aeaf Removing ifdef DEBUG_dp. 1999-10-07 21:03:48 +00:00
ramiro%netscape.com
e483adce73 Take myself out of the "you suck" list. r=dp 1999-10-06 20:22:23 +00:00
sfraser%netscape.com
b24aeb1bee Change Mac library loading to load using the FSSpec. r=dp 1999-10-06 01:09:13 +00:00
kipp%netscape.com
a1f617e75c Fixed bug in ReleaseServcie that was recreating the service manager during shutdown 1999-09-30 21:40:27 +00:00
sfraser%netscape.com
c4ba817155 Fixing use of obsolete types for shaver. 1999-09-29 02:54:18 +00:00
shaver%netscape.com
f28337480b nsIRegistry scriptability and beginning of category support, r=dp,alecf,dveditz a=leaf,chofmann 1999-09-29 02:35:42 +00:00
dp%netscape.com
5632fd9b86 Unloading of dlls on shutdown turned off. 1999-09-28 19:42:06 +00:00
dveditz%netscape.com
f9e34fb7e2 Make sure componentMgr calls NR_ShutdownRegistry(), fixing MLKs and registry corruption from unflushed registry buffers.
r=dp,a=chofmann
1999-09-26 21:20:21 +00:00
dp%netscape.com
61664c7872 Separating dll Shutdown from unload. Calling dll shutdown
unconditionally on NS_Shutdown.
1999-09-26 18:06:41 +00:00
dp%netscape.com
602baa248e Passing down NS_Shutdown to Unloading of libraries. 1999-09-26 18:04:27 +00:00
dp%netscape.com
7d88c6385e Adding NS_Shutdown. 1999-09-26 18:02:52 +00:00
dp%netscape.com
009a5392fb UnloadAll() on non-native loaders. 1999-09-23 00:14:00 +00:00
dp%netscape.com
4bf3f842dd Enabling xpcom shutdown to call NSCanUnload() on every component. 1999-09-23 00:01:53 +00:00
shaver%netscape.com
b42e435cb0 add componentType to nsIModule::RegisterSelf 1999-09-22 03:18:27 +00:00
shaver%netscape.com
3948cf5000 need to use different module names to avoid overwriting xpcom.xpt 1999-09-21 14:12:26 +00:00
waterson%netscape.com
06b78978e9 Fix backwards return values on nsIEnumerator::IsDone(). 1999-09-21 01:28:18 +00:00
warren%netscape.com
c08e644f40 fixed ReleaseService and UnregisterService to work during shutdown 1999-09-20 20:54:09 +00:00
warren%netscape.com
8156976010 fixed circular references in nsNativeComponentLoader 1999-09-20 20:54:04 +00:00
warren%netscape.com
681e31774d freed mComponentsDir in nsComponentManager 1999-09-20 20:53:57 +00:00
briano%netscape.com
04e901e2a5 General cleanup. 1999-09-18 02:12:56 +00:00
dveditz%netscape.com
3509f48fd2 match buffered i/o registry change in XP_MAC section 1999-09-17 07:00:55 +00:00
dp%netscape.com
d9d68788ef Caching of what registry was opened to improve performance of multiple
opens on the same registry file.
1999-09-17 05:46:25 +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
dp%netscape.com
dab9dd104d NS_ADDREF() instead of calling it directly 1999-09-16 19:20:18 +00:00
dp%netscape.com
ea7b692d54 Removing DEBUG_dp 1999-09-16 19:11:00 +00:00
dveditz%netscape.com
7d68f66b73 expose whether the registry is already open or not, which enables the profile
manager to avoid opening and closing the registry ~20 times at startup.
1999-09-16 05:32:28 +00:00
shaver%netscape.com
070f7e8f51 lose some DEBUG_shaver debugging noise 1999-09-15 14:45:29 +00:00
ramiro%netscape.com
1982577a22 Fix for the loser linux tinderbox compiler. 1999-09-14 15:16:31 +00:00
ramiro%netscape.com
5b445b449b Add support for demangling undefined symbols. 1999-09-14 13:40:22 +00:00
warren%netscape.com
d3999bb61a Don't hold the service manager lock around CreateInstance -- deadlock potential. 1999-09-14 04:50:48 +00:00
shaver%netscape.com
bf6e96d80c fix UMR 1999-09-13 22:34:42 +00:00
dp%netscape.com
9ef85f9c81 Implemented dll enumeration and prepopulation. Improves startup performance. 1999-09-11 14:49:55 +00:00
dp%netscape.com
6341cd61aa Typo fixed. AutoRegisterComponent works again. 1999-09-11 07:23:28 +00:00
dveditz%netscape.com
cdf809b15c speed startup by avoiding registry look ups that are guaranteed to fail, eliciting worst-case behavior 1999-09-10 05:27:23 +00:00
shaver%netscape.com
a131f8079e fix memory leaks (eep) and add some debugging noise for myself 1999-09-09 00:48:30 +00:00
toshok%hungry.com
bf77668740 remove the dll from mDllStore if we're about to delete it. keeps us from crashing if we try to load a dll after we fail once. 1999-09-09 00:47:22 +00:00
shaver%netscape.com
ea2955902d fix MLK bugs 13285 and 13286 and prevent repeated PrePopulateRegistry calls 1999-09-08 04:22:37 +00:00
shaver%netscape.com
aee3857b3b teach component manager that there are non-native entries in the registry 1999-09-07 23:18:47 +00:00
shaver%netscape.com
c1950cee17 Moved abs:/rel: handling to ComponentManager.
Made nsIModule::GetClassObject and nsIFactory scriptable for JS components.
Added registryLocation param to nsIModule::(Un)RegisterSelf.
1999-09-07 05:06:37 +00:00
shaver%netscape.com
0a5c997f1a Add nsIComponentManager::registerComponentWithType.
Take advantage of IDLized nsIComponentManager to fix up nsIComponentLoader.idl
and make nsIModule scriptable.
1999-09-06 16:43:09 +00:00
shaver%netscape.com
99777ae194 missed an EXPORT =( 1999-09-05 08:07:31 +00:00
shaver%netscape.com
694400cae3 forgot an IDL file 1999-09-05 07:18:18 +00:00
shaver%netscape.com
6cecf4c569 convert to CreateInstanceFromProgID 1999-09-05 06:27:42 +00:00
dveditz%netscape.com
ee89552282 remove xp_file.h from NSReg.h, required minor tweaking elsewhere to include
now missing NSPR types.
1999-09-04 19:46:18 +00:00
shaver%netscape.com
942e382e8a properly initialize loaders on creation, and remove code that's now in nsFileSpec 1999-09-03 23:51:31 +00:00
shaver%netscape.com
c8ebe122e6 Added ComponentLoaders to registry and abandoned the progID suffix strategy
to reduce evil in universe.
Added nsIComponentManager::RegisterComponentLoader.
Dead code removal.
Make AutoRegister eagerly created all as-yet-unloaded component loaders and
AutoRegister with them as well.
Removed much #ifdef DEBUG_shaver noise.
1999-09-02 07:00:29 +00:00
shaver%netscape.com
2b270b1823 um, didn't mean to check that in 1999-09-02 05:21:10 +00:00
shaver%netscape.com
769fcf3a54 *** empty log message *** 1999-09-02 05:18:09 +00:00
waterson%netscape.com
c1c6e5faeb Create a monitor as a member variable instead of using cached monitor. 1999-09-02 04:12:08 +00:00
shaver%netscape.com
58e1e16a1c missed an EXPORT removal 1999-09-02 01:30:17 +00:00
dp%netscape.com
908e04e95e Dll data written to registry. Autoreg fixed to work with relative
pathnames in registry.
1999-09-01 06:25:20 +00:00
dp%netscape.com
310c55dceb Added Sync().
Prepares for fixing registration.
1999-09-01 06:22:54 +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
shaver%netscape.com
7442945b05 missed nsIFactory.idl export, damn 1999-08-31 22:25:59 +00:00
shaver%netscape.com
655710510e forgot to remove now-generated nsIFactory.h 1999-08-31 22:00:27 +00:00
shaver%netscape.com
1db9afa25d Removed nsIFactory.h (generated now).
Factored ComponentManager to support multiple ComponentLoaders.
Added support for relative paths in registry.
General cleanup.
(Broke detection of changed DLLs; dp is fixing -- thanks!)
1999-08-31 21:40:21 +00:00
dp%netscape.com
b560029264 removing obsolete files 1999-08-26 05:14:09 +00:00
dp%netscape.com
88a4943bfd Removing nsIRegistry::GetIntArray() and SetIntArray(). These aren't
being used and block scritability. So if we need then, we will figure
out a way to add them that wont break scritability.
1999-08-26 05:11:40 +00:00
dp%netscape.com
8d036420a9 Removed default parameter to Open() to facilitate IDLification. 1999-08-26 03:22:26 +00:00
brendan%mozilla.org
defeffaabd Massive spankage to capitalize C++ method and attribute name bindings, per
Architecture Item 6.3 (news://news.mozilla.org/37BA89CF.3823D6F9%40meer.net).
1999-08-25 05:26:25 +00:00
scc%netscape.com
68340a37ef got rid of |NS_IMPL_ISUPPORTS|, where possible, in favor of |NS_IMPL_ISUPPORTS0| or ...1 according to the specific use; got rid of |NS_DEFINE_IID| where possible, or where it should have been |NS_DEFINE_CID|; fixed bad implementations of |QueryInterface|, where possible. Built, tested apprunner, reviewed the changes with hyatt (since he was around to look) before checking in 1999-08-23 10:14:16 +00:00
scc%netscape.com
7981dba18d Added |GetIID| 1999-08-22 20:54:08 +00:00
mccabe%netscape.com
381fb81c4f Replace manual method declarations in implementations of xpcom/ interfaces with NS_DECL_NSIFOO. 1999-08-22 11:25:50 +00:00
dp%netscape.com
e3d3ff58c6 PlatformFind() changed to return nsDll * instead of FactoryEntry. This
is an internal api change.
1999-08-20 23:06:47 +00:00
dp%netscape.com
d42f5605f4 - Adding nsComponentMangager::GetClassObject()
- Adding a nsIID parameter to the nsIModule:GetClassObject()
1999-08-19 14:54:12 +00:00
dp%netscape.com
a5018908e2 Calling shutdown listeners on XPCOM Shutdown. Fix bug #11790 1999-08-14 21:32:29 +00:00
sfraser%netscape.com
dab07c139c Part of fix for 11790, crash on quit. Don't try to delete static data. r dp, a chofmann 1999-08-13 23:26:47 +00:00
dp%netscape.com
967a7ea8e9 - using ComponentManager instead of service manager in nsIModule
- Adding UnregisterComponentSpec()
All the above are required for xpcom review.
1999-08-13 19:30:13 +00:00
dp%netscape.com
0019c0fba2 Dll unloading support. These are not used yet. 1999-08-13 19:27:58 +00:00
shaver%netscape.com
38f90b75e4 defend against NULL GlobalServiceManager 1999-08-11 04:08:44 +00:00
dp%netscape.com
2af3f14ead Caching persistentDescriptor and nativePath; Released when dll goes
away.
1999-08-11 01:46:43 +00:00