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
dp%netscape.com
b3a71129e7
Removed unused static.
...
git-svn-id: svn://10.0.0.236/trunk@76424 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 07:33:23 +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
rayw%netscape.com
b02b43d396
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.
git-svn-id: svn://10.0.0.236/trunk@76014 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 20:12:08 +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
sgehani%netscape.com
6a00cbcbd9
Turn off sole line output in opt builds by wrapping in DEBUG macro.
...
r = ssu
a = shaver
git-svn-id: svn://10.0.0.236/trunk@74779 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-25 23:54:12 +00:00
dbaron%fas.harvard.edu
d42b7f141f
Fix leak (holding past XPCOM shutdown) of 16 strings. r=waterson
...
git-svn-id: svn://10.0.0.236/trunk@73335 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 21:54:28 +00:00
waterson%netscape.com
ab0925e6a8
Bug 21650. Add an assertion if the service manager is improperly re-entered. r=dbaron,warren
...
git-svn-id: svn://10.0.0.236/trunk@73014 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 02:02:48 +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
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