Граф коммитов

5300 Коммитов

Автор SHA1 Сообщение Дата
dougt%netscape.com ccaf0a9723 fixing another type 2002-01-31 21:45:04 +00:00
dougt%netscape.com 8074370872 Fixing typo 2002-01-31 20:43:22 +00:00
rjc%netscape.com a3c29b350a Fix bug # 122571: add ability to determine if a directory is actually a package (for Mac OS 9/X) r=ccarlen sr=ben 2002-01-30 23:53:12 +00:00
dougt%netscape.com 843c41e945 adding @return comments. 2002-01-30 21:56:34 +00:00
sfraser%netscape.com d285f8f560 Making the nsModuleComponentInfo data const; bug 74803. r=dp, sr=waterson 2002-01-30 21:14:20 +00:00
alecf%netscape.com b417379c8c First part of fix for bug 107575 - remove nsString::FindChar because there is already an nsAString::FindChar, and remove the "ignore case" option in RFindChar
r=dougt, sr=jag
2002-01-30 06:04:29 +00:00
sfraser%netscape.com a7d960f722 Chamnges to allow for making every module's nsModuleComponentInfo data const; bug 74803. r=dp, sr=waterson 2002-01-30 04:05:47 +00:00
seawood%netscape.com 0e1e154af1 Use .get() when assigning nsXPIDLCString to const char*. Fixing OS/2 & AIX bustage. 2002-01-30 03:51:47 +00:00
cathleen%netscape.com 370959ffe2 eliminate nsCRT::zero() to use memset to zero instead, bug 118135, r=dp sr=waterson 2002-01-30 02:55:57 +00:00
jband%netscape.com 0e1389b8f2 fix bug 121118. Don't crash if interfaceinfo is not resolvable at runtime. r=dbradley sr=brendan 2002-01-30 02:36:20 +00:00
dougt%netscape.com 206ace9e22 Backing out nsIFile changes which should not have landed. 2002-01-29 21:42:38 +00:00
cathleen%netscape.com 8dd5a02295 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 894fdcfaaf 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 16bf32f240 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 586b7ebf8a S_ISSOCK isn't defined on BeOS. 2002-01-28 07:02:02 +00:00
brendan%mozilla.org 65dcf650b8 Fix a warning, clean up whitespace (r=diff -w, sr=gcc). 2002-01-27 23:56:02 +00:00
alecf%netscape.com 8c9bfa6586 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 c265760507 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 3ca15cde59 reverting back to original
define is not needed here

--pete
2002-01-27 18:56:02 +00:00
pete%alphanumerica.com 65d64877dd seeing if this fixes the linux bustage
--pete
2002-01-27 18:47:17 +00:00
pete%alphanumerica.com 22b70e5f0d 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 c0e8aa86cc 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 6378a808f9 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 b35ea4be45 moving defs into header file
To fix bustage

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

--pete
2002-01-27 17:31:24 +00:00
pete%alphanumerica.com d227b4de36 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 0431b46cfe 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 2431b85ca9 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 30d299d361 b=121570 Error code namespace needed for security component
r=dougt sr=jband
2002-01-25 15:17:25 +00:00
jdunn%netscape.com 7294110bc7 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 dbeebe2535 fixing compiler warning of uninitialized variable resulting from my checkin
for bug 121441
2002-01-25 10:47:24 +00:00
seawood%netscape.com 6a70bafd9e Fix "static" build support for win32 gmake builds.
Bug #58981 r=bryner
2002-01-25 03:20:51 +00:00
darin%netscape.com 327521beca 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 35cbed4db5 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 c6d8ee7049 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 7a7dec2c27 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 0f5415784b 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 105d41ff44 Fix static build bustage. 2002-01-24 21:45:46 +00:00
alecf%netscape.com 0b5abd6365 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 30c642c36e 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 48f217780d 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 27439a01f6 Adding nsRecyclingAllocator.h for mac export 2002-01-24 08:06:45 +00:00
dp%netscape.com 7a0c84be94 Fixing spelling mistake nsRecylingAllocator -> nsRecyclingAllocator 2002-01-24 07:16:34 +00:00
dp%netscape.com 875e6a305f bug 118061 Enabling nsRecyclingAllocator r=dveditz sr=sfraser 2002-01-24 06:48:58 +00:00
dp%netscape.com 10f15d75f3 bug 118061 First version of nsRecyclingAllocator r=dveditz sr=sfraser 2002-01-24 06:41:01 +00:00
dp%netscape.com a39dd81ba9 bug 118061 Adding NS_NewTimer r=dveditz sr=sfraser 2002-01-24 06:37:38 +00:00
dougt%netscape.com daf9d599d9 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 5099223bc2 Cleanup of nsIModule. See 99154. r=dp@netscape.com, sr=jband@netscape.com 2002-01-24 01:29:40 +00:00
ccarlen%netscape.com ca57c759b0 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 98f9d2ba11 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 15825cf675 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 851098e320 Removing file made obsolete by fix to bug 100828. r=rjc/sr=sfraser. 2002-01-16 05:52:50 +00:00
seawood%netscape.com fa5df5e54c 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 d585949ae5 Fix HP bustage. 2002-01-16 04:48:24 +00:00
dbaron%fas.harvard.edu 3e3ede44ed 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 516dd44950 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 445536c139 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 ee80a1911b Add nsValueArray.cpp to the build for blythe. 2002-01-15 23:57:01 +00:00
blythe%netscape.com f41a5d5afe proactive change to avoid MAC bustage from last checkin 2002-01-15 23:20:35 +00:00
alecf%netscape.com e26f0caa39 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
blythe%netscape.com 3a5aa3eab9 Fix bug 107270
Reduce nsCSSDeclaration footprint
r=dbaron, sr=hyatt
2002-01-15 22:43:37 +00:00
rjc%netscape.com fa9c812045 Fix bug # 120037: leading '.' indicates hidden when on Mac OS X. r=ccarlen sr=sfraser 2002-01-15 22:31:19 +00:00
ccarlen%netscape.com a660e6ed8b Bug 56295 - doesn't work for file names > 31 chars. r=sdagley/sr=sfraser 2002-01-15 02:22:39 +00:00
pavlov%netscape.com 5ee29e2c3f patch from bug 116483 to avoid doing some pr_log related work when we don't need to. r=dougt sr=brendan 2002-01-15 01:20:47 +00:00
sfraser%netscape.com c640b55a08 Fix bug 103202; make nsLocalFileMac faster copying files by allocating a 512k buffer, and passing it to the MoreFiles routines that do file copying (which would otherwise use an internal 16K buffer). r=sdagley, sr=sspitzer. 2002-01-15 01:14:55 +00:00
dougt%netscape.com e19cc60bdb adding check for null. GetThreadEventQueue can return a null queue which we need to check for 2002-01-15 00:43:10 +00:00
mkaply%us.ibm.com bb06ead229 #1192111
r=mkaply, sr=blizzard
OS/2 only - better file dialog
2002-01-14 21:17:43 +00:00
dougt%netscape.com dc4103e28c Null protecting hashing code. 96322. r=dp@netscape.com sr=alecf@netscape.com. 2002-01-14 20:10:48 +00:00
jband%netscape.com 8c8b5a2595 fix bug 119387. Add a non-allocating IID version of the frequently used getIIDForParam method. r=dbradley sr=jst 2002-01-14 20:02:14 +00:00
blakeross%telocity.com 61e0099258 86979 - launch file after donwloading does not honor OS file associations. r=ben sr=hewitt 2002-01-14 05:24:49 +00:00
dougt%netscape.com c78ed09758 Removing monitor from FreeService() call. See bug 117218 for details, but basically we can run into a deadlock at shutdown. This patch assumes that (a) gXPCOMShuttingDown is set only by the UI thread during xpcom shutdown and (b) that all public API's check this flag before calling into the hashtable. r=dbaron@fas.harvard.edu, sr=brendan@mozilla.org 2002-01-12 23:35:57 +00:00
cathleen%netscape.com c2d19ad82a converted 271 references to nsCRT::memcpy to memcpy, bug 118135 r=dp 2002-01-12 03:18:55 +00:00
alecf%netscape.com 53deafcf58 fix take 2 on bug 114134, crashes when reading utf8 strings from dtds/etc
r=dbaron, sr=jag
when multi-byte characters crossed a buffer boundary, we weren't correctly backing up and instead tried to decode the half-loaded utf8 character... in addition, our new "remainder" count was completely broken - we were adding the old remainder to the new remainder, when in fact we had just consumed the old remainder
2002-01-12 02:38:08 +00:00
darin%netscape.com f4af7d881d these files no longer need to include nsEscape.h 2002-01-12 01:21:40 +00:00
darin%netscape.com 6bb61e9651 cleaning up some comments 2002-01-12 01:19:45 +00:00
darin%netscape.com 2538f367be fixes first part of bug 109179 "replace NS_EscapeURL with NS_EscapeURLPart"
r=andreas.otte@debitel.net
sr=alecf@netscape.com
2002-01-11 23:02:22 +00:00
alecf%netscape.com 218715b121 dammit why does this break linux?!
backing out my last checkin
2002-01-11 22:44:30 +00:00
alecf%netscape.com 06bca513af progress towards 108962 - fix nsLinebreakConverter to stop using private nsStr members
r=dbaron, sr=jag
2002-01-11 22:40:09 +00:00
dougt%netscape.com 897452d5aa fixing build bustage. there is another nsMemory.h in xpcom/base which overwrote this copy 2002-01-11 21:05:08 +00:00
alecf%netscape.com d455d1d161 fix for bug 114134 - crash when localizing some strings
when multi-byte characters crossed a buffer boundary, we weren't correctly backing up and instead tried to decode the half-loaded utf8 character... in addition, our new "remainder" count was completely broken - we were adding the old remainder to the new remainder, when in fact we had just consumed the old remainder
r=dbaron, sr=jag
2002-01-11 20:34:11 +00:00
dougt%netscape.com ce4024d68d Moving Memory Util functions into nsMemory. r=dmose, sr=jband, bug=119082 2002-01-11 20:12:22 +00:00
jband%netscape.com 61cea3f9bb trivial fix to allow freeing a variant array type that we do in fact create. rs=vidur 2002-01-10 23:55:32 +00:00
jband%netscape.com 3aae546197 Fix bug 114115. Reduce long lived allocations by refactoring to hold main interface info structs in arena and buil refcounted info objects on demand (though cached for reuse) r=dbradley sr=jst 2002-01-10 23:49:47 +00:00
jdunn%netscape.com 02f1ef38dd AIX's new compiler, xlC5.x, doesn't allow the use of "friend" to declare
a function prototype.  So we have to decare the function and then
declare it a friend.  When Default arguments are used, they need to
be specified in the function prototype and NOT in the friend declaration.
# 43311
r=dbaron@fas.harvard.edu
2002-01-10 14:16:05 +00:00
dbradley%netscape.com 361557435b Bug 114257 - win32 xpidl doesn't handle unix paths properly. patch=dbradley, r=cls, sr=jag 2002-01-10 13:03:45 +00:00
jaggernaut%netscape.com 6b5cb38d2b Duh. Made a thinko on commenting out the ifdef. 2002-01-10 06:55:18 +00:00
jaggernaut%netscape.com 4e703f2e40 Bug 115854: Clean up shutdown warnings in service manager, add IID, CID and ContractID info. r=dougt, sr=alecf 2002-01-10 02:10:37 +00:00
dbaron%fas.harvard.edu 6601023357 Adding more tests. Not part of the build. 2002-01-09 22:15:22 +00:00
alecf%netscape.com 3d4709d420 removal lame nsFileSpec operators, bug 100676 r=ccarlen sr=waterson 2002-01-09 21:31:19 +00:00
alecf%netscape.com b5b8d27153 final fix for bug 100212 - removal final dependency on necko from xpcom by removing nsIFile.URL r=dougt, sr=darin Yay! 2002-01-09 20:03:46 +00:00
blythe%netscape.com 385178fec6 Fix Bug 115189
Trace-Malloc records line number information on platforms which have it.
r=dp sr=alecf
2002-01-09 19:03:01 +00:00
jaggernaut%netscape.com 6b77d93d2e Hitching a ride with bug 117440: Make nsPrintfCString inherit from nsAFlatCString instead of nsACString, r=darin, sr=alecf 2002-01-09 04:35:28 +00:00
alecf%netscape.com a0cec66019 bug 114450 sr=jag
remove table-based comparison functions so we can actually remove them later
2002-01-09 02:28:28 +00:00
jaggernaut%netscape.com 1bd1b8c7d6 Bug 113228: Remove nsStr::ChangeCase. r=dbaron, sr=alecf 2002-01-09 01:44:43 +00:00
ccarlen%netscape.com 92c4be61be smoketest blocker 118788 r=/sr=sfraser@netscape.com 2002-01-09 01:04:17 +00:00
seawood%netscape.com bcef889578 Adding missing \
Bug #113511
2002-01-08 05:46:51 +00:00
dougt%netscape.com 09f3d1beef Fixes 116299 Reduce size of nsLocalFileWin by 2 ptrs by factoring out shortcut resolver. Also fixes crash 117258 caused by trying to create a file or directory to a nonexistant drive. sr=rpotts, dveditz for the first bug, and sr=darin, r=gagan for the second bug 2002-01-08 02:20:13 +00:00
ccarlen%netscape.com 0f9cb6c5fc Bug 100828 - nsLocalFileMac reworking. r=rjc@netscape.com/sr=sfraser@netscape.com 2002-01-07 14:35:04 +00:00
ccarlen%netscape.com 062270c10d Bug 100828 - New file for nsLocalFileMac reworking. r=rjc@netscape.com/sr=sfraser@netscape.com 2002-01-07 14:31:44 +00:00
jdunn%netscape.com 9585c17b9d replacing OS_CXXFLAGS with CXXFLAGS so that they get picked up
r=cls@seawood.org
# 118126
2002-01-07 12:33:36 +00:00