Commit Graph

165 Commits

Author SHA1 Message Date
dougt@netscape.com
0c3d8a495f Allows a QI from nsIServiceManager to nsIServiceManagerObsolete. b=105136, r=beard, sr=darin 2001-10-16 23:39:20 +00:00
dougt@netscape.com
71f4514b1a API Freeze for nsIServiceManager r=shaver@mozilla.org, sr=rpotts@netscape.com bug 99147 2001-10-16 03:35:52 +00:00
dp@netscape.com
59d34d9c3e bug 100682 temporary way to get service without creating a new
one. This will get fixed the right way along with other api changes
for component and servicemanager r=sfraser/dougt, sr=mscott
2001-09-25 00:38:44 +00:00
dp@netscape.com
eead5f9b00 letting factories overrride native components. Fixes embedding
smoketest blocker bug# 99130 r=adamlock
2001-09-11 18:10:31 +00:00
dp@netscape.com
0dd5bc00bc 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
e48fc87cb2 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
eee39a3dcc OS/2 build bustage - thanks gerv 2001-09-06 22:10:51 +00:00
dougt@netscape.com
1bdc7c1921 Merge ServiceManager and ComponentManager. Bug 96457. r=dp@netscape.com, sr=wat
erson@netscape.com
2001-09-06 21:13:11 +00:00
waterson@netscape.com
902d3d9748 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
d1215f9430 bug# 97770 fixing tree orange due to crash on unload 2001-08-31 17:45:51 +00:00
dp@netscape.com
ebb3a6b157 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
dd811c5828 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
dp@netscape.com
10f457b697 bug 94883 nsCreateInstanceByContractID() performance improvement 2001-08-21 22:42:35 +00:00
jaggernaut@netscape.com
c2bcad0b73 Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa 2001-07-25 07:54:28 +00:00
av@netscape.com
ad5872d520 Backing out existing fix for 87193 -- r=mstolz, sr=shaver, attinasi 2001-07-17 02:24:16 +00:00
mstoltz@netscape.com
f5dd8721f8 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
mstoltz@netscape.com
8ba8c57f92 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
jaggernaut@netscape.com
baba14c5c8 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
waterson@netscape.com
2498f51f20 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
scc@mozilla.org
ee1d678864 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
cls@seawood.org
22bce73f82 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
dveditz@netscape.com
1c668bfe1b fix for 15115, registry reading speedup 2001-04-17 14:25:19 +00:00
blakeross@telocity.com
f0021c379f Minor QI optimization. r=blake sr=scc 2001-01-31 22:05:28 +00:00
disttsc@bart.nl
47a7c1fb7a 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
dbaron@fas.harvard.edu
15267f2b5c 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
warren@netscape.com
0462ea4ce8 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
7730ce0cd3 Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson 2000-10-27 22:43:51 +00:00
rayw@netscape.com
13806d7447 File went back by mistake, reverting. 2000-09-14 04:21:39 +00:00
rayw@netscape.com
6036f4297b fix to mal-formed contract id introduced in mega-check-in:x 2000-09-14 04:18:07 +00:00
rayw@netscape.com
c6334366cb 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
2c573499dc 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
c357ea404e Missed a change. Fix for bug #46709
r=rayw
2000-09-08 02:53:12 +00:00
kandrot@netscape.com
a3bfea9d4c 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
rayw@netscape.com
46c0d49a8d 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
racham@netscape.com
5555d0ee78 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
conrad@ingress.com
4c7a4d77ec 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
warren@netscape.com
8df9a9bce0 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
dbaron@fas.harvard.edu
250ef5274e 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
1c7cc9663d # 37239
r = valeski, a = brendan
OS/2 bringup - PR_CALLBACK for VisualAge
2000-06-05 19:18:07 +00:00
warren@netscape.com
6a06dfc026 Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433 2000-06-03 09:46:12 +00:00
shaver@mozilla.org
43bd0e1df6 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
sfraser@netscape.com
9de2877060 Change the XPCOM autoreg observer to provide more useful strings. 2000-05-17 01:53:50 +00:00
rayw@netscape.com
16c257103e 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
dbaron@fas.harvard.edu
70e93f3977 Count some classes for the leak stats. r=warren@netscape.com 2000-05-15 13:10:18 +00:00
rayw@netscape.com
3579bd6273 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
dp@netscape.com
c3d82ad920 - 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
rayw@netscape.com
7a309d17ec 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
25cfcb8e6a # 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
a3438ac007 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
jband@netscape.com
6a33f8c6db make the component manager's AutoRegister call the interface info manager's AutoRegisterInterfaces 2000-04-25 05:11:30 +00:00