dp%netscape.com
1c97d50450
bug 94883 nsCreateInstanceByContractID() performance improvement
...
git-svn-id: svn://10.0.0.236/trunk@101561 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-21 22:42:35 +00:00
jaggernaut%netscape.com
2b3b3b2586
Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@99906 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-25 07:54:28 +00:00
av%netscape.com
b6f5088ad1
Backing out existing fix for 87193 -- r=mstolz, sr=shaver, attinasi
...
git-svn-id: svn://10.0.0.236/trunk@99374 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-17 02:24:16 +00:00
mstoltz%netscape.com
1ac430a069
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.
git-svn-id: svn://10.0.0.236/trunk@99104 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-12 04:00:24 +00:00
mstoltz%netscape.com
539425ad49
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.
git-svn-id: svn://10.0.0.236/trunk@99050 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-11 04:48:55 +00:00
jaggernaut%netscape.com
51b17b5bf0
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 :-)
git-svn-id: svn://10.0.0.236/trunk@98363 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-30 11:02:25 +00:00
waterson%netscape.com
18986ada3f
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.
...
git-svn-id: svn://10.0.0.236/trunk@97613 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-20 20:21:49 +00:00
scc%mozilla.org
90f810b66a
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.
...
git-svn-id: svn://10.0.0.236/trunk@97289 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-17 05:23:38 +00:00
cls%seawood.org
4846ed0caf
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
git-svn-id: svn://10.0.0.236/trunk@94048 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-05 10:18:53 +00:00
dveditz%netscape.com
d49359afb0
fix for 15115, registry reading speedup
...
git-svn-id: svn://10.0.0.236/trunk@92559 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-17 14:25:19 +00:00
blakeross%telocity.com
4394b4fef9
Minor QI optimization. r=blake sr=scc
...
git-svn-id: svn://10.0.0.236/trunk@85881 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 22:05:28 +00:00
disttsc%bart.nl
0b78766dd3
Remove some redundant code from nsComponentManager.cpp. bug=66865, patch=bratell@lysator.liu.se (Daniel Bratell), r=jag, a=scc.
...
git-svn-id: svn://10.0.0.236/trunk@85880 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 22:00:17 +00:00
dbaron%fas.harvard.edu
5f0a7ab9bd
Remove trailing semicolons after all uses of MOZ_DECL_CTOR_COUNTER to quiet build warnings on Mac. b=60415 a=brendan@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@85654 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 23:06:33 +00:00
warren%netscape.com
a8b9664a8c
Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
...
git-svn-id: svn://10.0.0.236/trunk@81967 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 22:17:53 +00:00
warren%netscape.com
c6b67eceeb
Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@81885 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 22:43:51 +00:00
rayw%netscape.com
65d371209f
File went back by mistake, reverting.
...
git-svn-id: svn://10.0.0.236/trunk@79049 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 04:21:39 +00:00
rayw%netscape.com
c4734d3001
fix to mal-formed contract id introduced in mega-check-in:x
...
git-svn-id: svn://10.0.0.236/trunk@79048 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 04:18:07 +00:00
rayw%netscape.com
d9228441a4
Bug 37275, Changing value of all progids, and changing everywhere a progid
...
is mentioned to mention a contractid, including in identifiers.
r=warren
git-svn-id: svn://10.0.0.236/trunk@79036 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 23:57:52 +00:00
jband%netscape.com
ff441f2b06
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
...
git-svn-id: svn://10.0.0.236/trunk@78565 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 01:36:18 +00:00
kandrot%netscape.com
66994f809e
Missed a change. Fix for bug #46709
...
r=rayw
git-svn-id: svn://10.0.0.236/trunk@78479 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 02:53:12 +00:00
kandrot%netscape.com
df46e3cf1c
Fix for bug #46709
...
Allows registry buffer size to be modified. Increases buffer size during
initial start up, then decreases size.
r=rayw
git-svn-id: svn://10.0.0.236/trunk@78470 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 01:51:45 +00:00
rayw%netscape.com
c583b148a2
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.
git-svn-id: svn://10.0.0.236/trunk@76650 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 20:51:37 +00:00
racham%netscape.com
afbbb2afc0
Fixing bug 46320. Reducing the number of global files by moving profile registry to product sub-directory under HOME. r=dougt
...
git-svn-id: svn://10.0.0.236/trunk@76450 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 22:40:27 +00:00
conrad%ingress.com
a2cf6be101
Changed from using strings for nsIDirectoryService props to using macro names defined in nsDirectoryServiceDefs.h
...
r=valeski
git-svn-id: svn://10.0.0.236/trunk@76139 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 20:31:57 +00:00
warren%netscape.com
e5706a7236
Bug 46711. Removed nsAutoString travisty from nsStringKey. Introduced nsCStringKey. Made them both share the underlying string when possible. r=waterson
...
git-svn-id: svn://10.0.0.236/trunk@75975 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 06:19:37 +00:00
dbaron%fas.harvard.edu
d567a6243d
Change MOZ_DECL_CTOR_COUNTERs that I added to use ;, as all others do. r=waterson@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@72276 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 02:20:30 +00:00
mkaply%us.ibm.com
001f97063d
# 37239
...
r = valeski, a = brendan
OS/2 bringup - PR_CALLBACK for VisualAge
git-svn-id: svn://10.0.0.236/trunk@71534 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 19:18:07 +00:00
warren%netscape.com
cc5d426fbe
Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433
...
git-svn-id: svn://10.0.0.236/trunk@71450 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-03 09:46:12 +00:00
shaver%mozilla.org
d247779da6
remove useless nsIModule paste ( #22922 ), add debug() for JS components, use categories for component loaders, XPCONNECT_STANDALONE ( #39875 ), r=dp,waterson a=brendan
...
git-svn-id: svn://10.0.0.236/trunk@70903 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 04:56:23 +00:00
sfraser%netscape.com
c12dfc2263
Change the XPCOM autoreg observer to provide more useful strings.
...
git-svn-id: svn://10.0.0.236/trunk@70235 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 01:53:50 +00:00
rayw%netscape.com
126369b22d
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.
git-svn-id: svn://10.0.0.236/trunk@69818 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 19:28:12 +00:00
dbaron%fas.harvard.edu
d2082dfc31
Count some classes for the leak stats. r=warren@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@69783 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 13:10:18 +00:00
rayw%netscape.com
90d0498159
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
git-svn-id: svn://10.0.0.236/trunk@69307 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 01:24:36 +00:00
dp%netscape.com
5029b61046
- 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
git-svn-id: svn://10.0.0.236/trunk@68367 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 06:37:39 +00:00
rayw%netscape.com
2702bf5ff6
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
git-svn-id: svn://10.0.0.236/trunk@68281 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 23:11:30 +00:00
mkaply%us.ibm.com
f32dd26a1b
# 34082
...
r= dougt@netscape.com
OS/2 bring up continues - Adding PR_CALLBACKs for VisualAge Compiler
git-svn-id: svn://10.0.0.236/trunk@67931 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 22:38:04 +00:00
sgehani%netscape.com
c23aaa32b2
Fix Autoregistration bustage in the context of apps using XPCOM outside Mozilla (e.g. the installer stubs).
...
git-svn-id: svn://10.0.0.236/trunk@67807 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 00:54:11 +00:00
jband%netscape.com
95a3361f4b
make the component manager's AutoRegister call the interface info manager's AutoRegisterInterfaces
...
git-svn-id: svn://10.0.0.236/trunk@67086 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 05:11:30 +00:00
shaver%mozilla.org
762347617a
add CurrentItemInPlaceUTF8 to reduce startup alloc by 2.3M(!), r=brendan
...
git-svn-id: svn://10.0.0.236/trunk@67008 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 01:11:08 +00:00
dp%netscape.com
1f21d972f7
Implemented component unregistration.
...
git-svn-id: svn://10.0.0.236/trunk@66251 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 05:25:05 +00:00
dp%netscape.com
33517602f4
Preventing empty progid causing registration problems.
...
git-svn-id: svn://10.0.0.236/trunk@64110 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 06:57:25 +00:00
dp%netscape.com
59bafd4cd7
Enabling PR_LOG for release builds from native component loader.
...
Tuning log format to help analysis.
git-svn-id: svn://10.0.0.236/trunk@62669 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 22:44:51 +00:00
dp%netscape.com
ca167391c0
bug# 29685 Eliminating unneccessary hits to registry to improve startup. Improving on previous fix. Thanks to jband's help. r=jband,dveditz a=jevering
...
git-svn-id: svn://10.0.0.236/trunk@62101 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 01:48:41 +00:00
jband%netscape.com
fa256028e2
back out dp's unsafe optimization that caused crash on first run
...
git-svn-id: svn://10.0.0.236/trunk@62065 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-02 19:57:23 +00:00
dp%netscape.com
694badc5aa
Eliminating 11 hits to the registry for Progid if we already have
...
prepopulated the registry. This improves startup performance.
a=jevering, r=dveditz
git-svn-id: svn://10.0.0.236/trunk@62018 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-02 02:13:11 +00:00
dveditz%netscape.com
4eddb0ee15
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;
git-svn-id: svn://10.0.0.236/trunk@61370 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-20 03:12:59 +00:00
dveditz%netscape.com
9f13883da5
registry speed ups (part of 12817)
...
git-svn-id: svn://10.0.0.236/trunk@61112 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-16 07:45:20 +00:00
dveditz%netscape.com
121072fe86
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)
git-svn-id: svn://10.0.0.236/trunk@60771 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 01:32:12 +00:00
dougt%netscape.com
834bfb40d0
Fix for bug 25941. r=dp,scc.
...
git-svn-id: svn://10.0.0.236/trunk@59376 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-01 07:54:46 +00:00
dougt%netscape.com
2099aed8f0
Renaming IsContainedIn to contains()
...
git-svn-id: svn://10.0.0.236/trunk@59129 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 23:54:26 +00:00