Commit Graph

5242 Commits

Author SHA1 Message Date
dougt%netscape.com
dcab435cdf Backing out nsIFile changes which should not have landed. 2002-01-29 21:42:38 +00:00
cathleen%netscape.com
e0f55c7088 eliminate nsCRT::memcmp and all callers to use memcmp instead, bug 118135 r=dp sr=brendan 2002-01-29 21:30:32 +00:00
dougt%netscape.com
c50ca402ad 1. Converts callers of nsIComponentManagerObsolete to use
nsIComponentRegistrar.

2. Converts callers of nsComponentManager::AutoRegister to use
nsIComponentRegistrar's autoRegistrar method.

3. Add nsIComponentRegistrar implmentation to nsComponentManagerImpl.

4. Rearrange nsComponentManager.cpp so that related methods are in the same
place.

5. Added a C-style function NS_GetComponentRegistrar so that getting the
registrar is easier in some places.

6. Added a nsISimpleEnumerator interface on PLDHashTableEnumeratorImpl.  in
this way, the same base class can support both old style and new style
enumerations.

7. Fixed a nasty bug where unregistring factories will leave the contract id
hash with a dangling pointer.  Now, when unregister is called we search the
contract id hash for entries which have the given doomned cid and remove them.


Bug 115853.  r=dp@netscape.com, sr=rpotts@netscape.com
2002-01-29 21:22:13 +00:00
mkaply%us.ibm.com
5550d64b88 OS/2 code only - make it easier to turn off popup asserts if necessary by restructuring code 2002-01-28 23:26:31 +00:00
seawood%netscape.com
485c70c6c9 S_ISSOCK isn't defined on BeOS. 2002-01-28 07:02:02 +00:00
brendan%mozilla.org
86c9b53122 Fix a warning, clean up whitespace (r=diff -w, sr=gcc). 2002-01-27 23:56:02 +00:00
alecf%netscape.com
bcd6a6fb94 fix for bug 121508 - clean up nsStringStream and nsIParser APIs.. r=dougt, sr=jst 2002-01-27 22:02:00 +00:00
pete%alphanumerica.com
c24e6ecf67 getting rid of -D_USE_BSD
Pulling implementation out of the header file seemed to have fixed the bustage

--pete
2002-01-27 18:57:41 +00:00
pete%alphanumerica.com
b0aca6b298 reverting back to original
define is not needed here

--pete
2002-01-27 18:56:02 +00:00
pete%alphanumerica.com
b7e75c570b seeing if this fixes the linux bustage
--pete
2002-01-27 18:47:17 +00:00
pete%alphanumerica.com
0df32e6c7d adding -D_USE_BSD to see if lstat will work on these linux flavors
--pete
2002-01-27 18:32:11 +00:00
pete%alphanumerica.com
45322bb2c1 adding -D_BSD_SOURCE to Makefile.in as seawood suggested
to fix linux bustage

--pete
2002-01-27 18:17:33 +00:00
pete%alphanumerica.com
fcb153605f movind implementation of FilleStatCache into nsLocalFileUnix.cpp
where other calls to lstat work fine

This is an attempt to fix bustage on some linux platfroms

--pete
2002-01-27 18:02:18 +00:00
pete%alphanumerica.com
58ac07cfac moving defs into header file
To fix bustage

--pete
2002-01-27 17:46:14 +00:00
pete%alphanumerica.com
87669396a2 adding header files for linux for lstat
seeing if this fixes breakage

--pete
2002-01-27 17:31:24 +00:00
pete%alphanumerica.com
1b90b08e4d b=107641, r=blizzard, sr=brendan
fix: CopyTo won't copy read-only files or broken symlinks

Thanks to garths@oeone.com for help on this one.

--pete
2002-01-27 14:31:25 +00:00
darin%netscape.com
d0cddf5d96 fixes bug 114778 "formpost temp files not cleaned up when browser exits"
patch=badami@netscape.com, r=rpotts@netscape.com, sr=darin@netscape.com
2002-01-26 00:38:37 +00:00
cathleen%netscape.com
486c0d47f9 remove memcpy function from nsCRT, eliminate 2 new nsCRT::memcpy callers
and fix up alighment problems from previous patch, bug 118135, sr=brenda r=dp
2002-01-26 00:04:45 +00:00
kaie%netscape.com
cc10ac2283 b=121570 Error code namespace needed for security component
r=dougt sr=jband
2002-01-25 15:17:25 +00:00
jdunn%netscape.com
cd34d9887d Change certain AIX ifdefs to AIX_XLC_364 since these ifdefs are only
needed for AIX's xlC 3.6.4 compiler.  Add test to configure to check
compiler version.  NOTE: also adding hpux and aix check for keyboardutils.
r=cls@seawood.org
# 119179
2002-01-25 15:07:38 +00:00
darin%netscape.com
3f94575093 fixing compiler warning of uninitialized variable resulting from my checkin
for bug 121441
2002-01-25 10:47:24 +00:00
seawood%netscape.com
39ba085fc5 Fix "static" build support for win32 gmake builds.
Bug #58981 r=bryner
2002-01-25 03:20:51 +00:00
darin%netscape.com
3cf710f917 fixes bug 121441 "unable to publish via http PUT (nsStorageStream should
support nsISeekableStream)"
r=brade, sr=dveditz
2002-01-25 02:13:00 +00:00
alecf%netscape.com
30a6af4a50 fix for bug 112209 - remove last consumers of nsStr:: routines
r=dbaron, sr=jst
2002-01-25 00:26:44 +00:00
alecf%netscape.com
e13a34a78b fix for bug 121627 - UTF8ConverterStream should not allocate - now that we've exposed ConvertUTF8toUCS2,
use it to do a conversion into the existing unichar buffer
r=dbaron, sr=jst
2002-01-24 23:53:53 +00:00
alecf%netscape.com
958260821a bug 108962 - shrink nsStr by 4 bytes by packing mCharSize and mOwnsBuffer into bits of mCapacity
r=dbaron, sr=jst, with an almost-sr=jag
2002-01-24 23:46:56 +00:00
hyatt%netscape.com
5a9651340a Fix string fragments to compile in Objective C++ (for Cocoa widgets). r=danm, sr=brendan 2002-01-24 23:05:18 +00:00
waterson%netscape.com
148a6b34f1 Fix static build bustage. 2002-01-24 21:45:46 +00:00
alecf%netscape.com
a7e8646371 fix for bug 114450 - be explicit about string comparison w.r.t. character size - no more hand-rolled vtables!
sr=jag, r=dbaron
2002-01-24 19:14:18 +00:00
pinkerton%netscape.com
7180e5e8d1 allow --enable-default-toolkit=cocoa in makefiles and default toolkit can now be overridden on platform that don't use X11. r=cls/sr=hyatt. bug#121496 2002-01-24 15:11:18 +00:00
jst%netscape.com
74b270f1db Fixing bug 120899. Changing the NS_WARN_IF_FALSE() macro so that it can't be mis-used in optimized builds. This change makes the macro not usable in expressions that are supposed to be evaluated in release code since the macro now expands to nothing in non-debug builds. Also eliminate NS_VALIDATE which is equally mis-usable. r=dbaron@fas.harvard.edu, sr=brendan@mozilla.org 2002-01-24 09:20:51 +00:00
dp%netscape.com
0d66d15a2c Adding nsRecyclingAllocator.h for mac export 2002-01-24 08:06:45 +00:00
dp%netscape.com
0ae6879be7 Fixing spelling mistake nsRecylingAllocator -> nsRecyclingAllocator 2002-01-24 07:16:34 +00:00
dp%netscape.com
d70f788fac bug 118061 Enabling nsRecyclingAllocator r=dveditz sr=sfraser 2002-01-24 06:48:58 +00:00
dp%netscape.com
bd96c598ea bug 118061 First version of nsRecyclingAllocator r=dveditz sr=sfraser 2002-01-24 06:41:01 +00:00
dp%netscape.com
9152d21130 bug 118061 Adding NS_NewTimer r=dveditz sr=sfraser 2002-01-24 06:37:38 +00:00
dougt%netscape.com
0d29a55b5a Adding nsIComponentRegistrar interface to the build. See 115853. r=dp@netscape.com, sr=jband@netscape.com 2002-01-24 01:50:35 +00:00
dougt%netscape.com
994af73b5d Cleanup of nsIModule. See 99154. r=dp@netscape.com, sr=jband@netscape.com 2002-01-24 01:29:40 +00:00
ccarlen%netscape.com
e796f5c804 Bug 116435 - The provider in nsAppFileLocationProvider.cpp should always be registered. r=dougt/sr=rpotts/a=dbaron 2002-01-22 23:00:44 +00:00
dougt%netscape.com
b603c4b080 removing nsMemory.h. This file now lives in xpcom/glue. bug 120685 sr=jband, a=blizzard 2002-01-18 20:12:36 +00:00
jst%netscape.com
50295b2702 Fixing part of bug 118933. Speeding up the global resolve hook in the DOM JS helpers by eliminating the use of nsHashtable and nsStringKey in favor of pldhash. Adding global HashString(const nsA[C]String&) functions that calculate a hash code from a nsA[C]String, code by dbaron@fas.harward.edu. Also checking in brendan@mozilla.org's fix for a type error in the jsdhash/pldhash API found while working on this. sr=brendan@mozilla.org, r=peterv@netscape.com 2002-01-17 04:08:14 +00:00
ccarlen%netscape.com
cf1afba8e1 Removing file made obsolete by fix to bug 100828. r=rjc/sr=sfraser. 2002-01-16 05:52:50 +00:00
seawood%netscape.com
e56e20b1dc Use dynamic library & xpidl_module names from nmake build for win32 gmake builds for compatibility.
bug #58981 sr=jag
2002-01-16 05:10:09 +00:00
dbaron%fas.harvard.edu
576dd5d5d9 Fix HP bustage. 2002-01-16 04:48:24 +00:00
dbaron%fas.harvard.edu
805497ce05 Create a mechanism for allowing a |Destroy| method to be called on buffer handles whose refcount hits 0 instead of |delete|. Use that mechanism to fix threadsafety problems with shared empty buffer handles, restoring sharable strings to their previous state of threadsafety. b=117153 sr=jag r=alecf 2002-01-16 03:08:22 +00:00
jdunn%netscape.com
914fa86e35 fixing xlC5.x compiler error: use a temp variable for the static_cast
sr=jaggernaut@netscape.com
# 119326
2002-01-16 03:06:47 +00:00
dbaron%fas.harvard.edu
f98bf884c6 Fix stack walking code to work correctly on RedHat 7.2 systems. b=106616 r=jag rs=blizzard 2002-01-16 00:40:36 +00:00
dbaron%fas.harvard.edu
deabaa3feb Add nsValueArray.cpp to the build for blythe. 2002-01-15 23:57:01 +00:00
blythe%netscape.com
3161e6149e proactive change to avoid MAC bustage from last checkin 2002-01-15 23:20:35 +00:00
alecf%netscape.com
4390fff47d factor out some table-based string manipulation routines to make it easier to seperate unicode vs. 8-bit character strings. bug 114450, r=dbaron sr=jag 2002-01-15 22:57:29 +00:00