shaver%mozilla.org
9e916f41af
add do_GetServiceFromCategory, r/a=brendan
...
git-svn-id: svn://10.0.0.236/trunk@70557 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-20 18:55:35 +00:00
scc%mozilla.org
9f480a5a2e
Bug #39824 . Checking in patch from dp. This patch fixes exports on some |nsCOMPtr_helper| classes so we can link appropriately. r=scc.
...
git-svn-id: svn://10.0.0.236/trunk@70554 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-20 18:31:45 +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
tor%cs.brown.edu
667903813d
SUNWspro5.0 bustage fix: add "const" in a couple places to keep
...
the compiler happy. Patch from tomi.leppikangas@oulu.fi , r=tor
git-svn-id: svn://10.0.0.236/trunk@69811 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 19:00:43 +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
gordon%netscape.com
4718465f15
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.
...
git-svn-id: svn://10.0.0.236/trunk@69478 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 23:39:34 +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
dougt%netscape.com
600b867627
Changes from snizinsk@us.ibm.com
...
visualage fixes to xpcom for OS/2.
git-svn-id: svn://10.0.0.236/trunk@69302 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 01:09:58 +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
dp%netscape.com
40f02b827c
Passing registry location correctly to nsIModule::UnregisterSelf()
...
git-svn-id: svn://10.0.0.236/trunk@68366 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 06:34:39 +00:00
dp%netscape.com
21d3193b87
Heavy documentation.
...
git-svn-id: svn://10.0.0.236/trunk@68365 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 06:33:05 +00:00
dp%netscape.com
599482c871
Adding progid for component manager.
...
git-svn-id: svn://10.0.0.236/trunk@68358 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 06:01:41 +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
mccabe%netscape.com
5adc001389
change several IDL parameters to be unsigned, to work better with length_is, size_is. Preperatory to requiring unsigned in xpidl, fixing 13413
...
git-svn-id: svn://10.0.0.236/trunk@67512 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 10:51:52 +00:00
waterson%netscape.com
6f3568569c
Get rid of operator==(nsCOMPtr, int) usage because it fries gcc-2.7.2.3's mind with new string stuff. r=scc
...
git-svn-id: svn://10.0.0.236/trunk@67372 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 04:44:56 +00:00
pavlov%netscape.com
4af9c6adc5
string api changes r=scc
...
git-svn-id: svn://10.0.0.236/trunk@67088 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 05:40:45 +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
mjudge%netscape.com
95232e3018
fixing vc6.0 compiler bug. cant have static variable called "count" and compare it using "<". dont ask.
...
git-svn-id: svn://10.0.0.236/trunk@67085 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 05:09:49 +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
jband%netscape.com
5960528106
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.
...
git-svn-id: svn://10.0.0.236/trunk@66315 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 21:44:38 +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
cls%seawood.org
25fe7656b0
BeOS build fixes. Bug #34553
...
git-svn-id: svn://10.0.0.236/trunk@65673 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 06:20:59 +00:00
rickg%netscape.com
b395f97fc0
updated includes to access nsCRT
...
git-svn-id: svn://10.0.0.236/trunk@64732 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 09:04:29 +00:00
dp%netscape.com
a1699313df
Enabling XPCOM_BREAK_ON_LOAD to break in the debugger for linux &&
...
i386. r=waterson,pavlov
git-svn-id: svn://10.0.0.236/trunk@64118 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 08:54:22 +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
sfraser%netscape.com
6f132223fd
Bump up the intial hash table size in a bunch of places to avoid resizing the hash later. r=scc
...
git-svn-id: svn://10.0.0.236/trunk@63690 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 02:43:48 +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
pavlov%netscape.com
1fdd348954
changes to let us build on MacOS X
...
git-svn-id: svn://10.0.0.236/trunk@62619 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 03:08:04 +00:00
warren%netscape.com
d100457780
Bug 21556: Making linux be thread-safe. Making tons of classes implement threadsafe AddRef/Release. a=jar
...
git-svn-id: svn://10.0.0.236/trunk@62243 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-05 21:26:01 +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
sfraser%netscape.com
e873c4abc1
Fixes for bug 28271 -- add methods to nsILocalFileMac to launch applications and document. Also fix bogus include in nsNativeComponentLoader. r=davidm,dougt. a=jar
...
git-svn-id: svn://10.0.0.236/trunk@61533 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-23 23:09:02 +00:00
colin%theblakes.com
12e3ffb0dd
Add a debug break for OpenVMS. All changes are ifdef VMS. a=leaf
...
git-svn-id: svn://10.0.0.236/trunk@61398 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-21 22:56:55 +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
4d824ff823
fixing mac and unix bustage
...
git-svn-id: svn://10.0.0.236/trunk@60787 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 02:29:53 +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
dveditz%netscape.com
b0239d13cc
closing the file used by the registry service is evil
...
git-svn-id: svn://10.0.0.236/trunk@60644 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-13 17:32:19 +00:00
dp%netscape.com
6cea6b2848
Bg 26937, bug 26759 Enforcing close of the registry before open of a
...
different registry file. r=dveditz
git-svn-id: svn://10.0.0.236/trunk@60156 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-08 21:50:54 +00:00
dp%netscape.com
e81e9e8280
Bug 26937 Added ApplicationRegistry. r=dveditz
...
git-svn-id: svn://10.0.0.236/trunk@60155 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-08 21:49:40 +00:00
warren%netscape.com
c07548ac93
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
...
git-svn-id: svn://10.0.0.236/trunk@60120 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-08 11:45:40 +00:00
jdunn%netscape.com
f14c3e4d42
r= scc@netscape.com
...
The AIX compiler doesn't like the declaration of variables in an IF statement
so I have broken them out.
git-svn-id: svn://10.0.0.236/trunk@60059 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-08 03:34:27 +00:00
scc%netscape.com
88c5597bf2
Oops, need to call |initialize()|. More comments. Fix over-zealous |AddCategoryEntry()|. r=sspitzer
...
git-svn-id: svn://10.0.0.236/trunk@59934 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-06 08:26:13 +00:00
sspitzer%netscape.com
e87701fbba
fix the cookie / news component registry problem.
...
the problem was mRegistry was null, so we'd fail when calling persist().
git-svn-id: svn://10.0.0.236/trunk@59930 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-06 05:43:38 +00:00
sspitzer%netscape.com
8a2da4b1ed
prevent crash, return if mRegistry is null.
...
git-svn-id: svn://10.0.0.236/trunk@59929 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-06 05:25:38 +00:00
scc%netscape.com
6eb0a43ed3
Added factory, and factory constructor function to get this thing hooked up. That's it, I think. bug #26011 ; r={waterson,sspitzer}
...
git-svn-id: svn://10.0.0.236/trunk@59922 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-06 02:01:39 +00:00