Commit Graph

433 Commits

Author SHA1 Message Date
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