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

5216 Коммитов

Автор SHA1 Сообщение Дата
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