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

375 Коммитов

Автор SHA1 Сообщение Дата
bzbarsky%mit.edu 2cbef8cd27 Change ToInteger to not silently drop '+' and '#' in mid-string. Bug
54142, r=timeless, sr=jag
2002-06-21 02:22:48 +00:00
alecf%netscape.com bb0caa0b95 fix for bug 149102 - fix a harmless UMR in the string code
sr=jag, r=dbaron
2002-06-13 20:31:14 +00:00
timeless%mac.com 482613231a Bug 136756 http://bugzilla.mozilla.org/show_bug.cgi?id=136756#c29
from the book of this can't be good by leaf

bonsai answer's leaf's question thusly:
No files matched this file name. It may have been added recently.
it does indicate that a file by the correct spelling exists...
2002-05-16 03:26:40 +00:00
dougt%netscape.com c683a217ab Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756 2002-05-15 18:55:21 +00:00
jaggernaut%netscape.com 0abdd7c9ad Bug 132583: deal more cleanly with passing non-UTF8 strings to NS_ConvertUTF8toUCS2. r=scc, sr=darin 2002-05-14 08:27:57 +00:00
pinkerton%netscape.com 96d4eb18d8 make NS_ConvertUTF8toUCS2(ptr, length) work correctly. r=jag/sr=scc bug#141866 2002-05-06 21:50:45 +00:00
pinkerton%netscape.com 270d6a852d backing out last patch, it doesn't work 2002-05-03 14:20:31 +00:00
pinkerton%netscape.com d9e2699e22 Fix NS_ConvertUTF8ToUCF2 correctly work with substrings. patch by jag, r=pink
sr=scc, bug#141866
2002-05-03 13:57:12 +00:00
alecf%netscape.com 9348ce8ac8 fix bug 139633 - as a part of freezing nsAString, move Left/Right/Mid back into nsString, and fix consumers to start using Substring()
r=jag, sr=darin
2002-04-29 20:29:54 +00:00
dbaron%fas.harvard.edu 6cdcd7ef3a Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa 2002-03-24 00:16:18 +00:00
alecf%netscape.com cf1730d292 last part of fix for bug 107575 - use ascii-based case-changing for PRunichar/char comparisons, rather than going through the unicharutil library
sr=jag, r=dbaron, a=asa
2002-03-21 23:22:03 +00:00
alecf%netscape.com 84c29a38fc argh! remove unnecessary sizeof(), fixes orange 2002-03-19 10:48:31 +00:00
alecf%netscape.com 451df7d6c3 a further nsString api reduction: remove the last case-insensitive PRUnichar*-to-PRUnichar* comparisons, moving to new API, and remove old methods from nsString. r=dougt, sr=jag a=scc 2002-03-19 06:46:56 +00:00
jdunn%netscape.com 16e84921e2 fixing AIX bustage and sticking with the c++ standard for "friend" and
"function protyping" guidelines

Submitted by pkw@austin.ibm.com
# 43311
sr=jaggernaut@netscape.com
a=asa@mozilla.org
2002-03-08 12:37:00 +00:00
alecf%netscape.com cd8f07f3e8 bug 127091 - big string cleanup, removing old APIs
- removing Assign/AppendWithConversion for single-characters
- removing unused StripChars
- removing ReplaceChar[s] for non-matching chars
- removing CompressSet
- removing nsCString::Find/FindCharInSet/RFind for unichar strings
- removing lots of EqualsWithConversion
r=dp, sr=jag
a=asa
2002-03-04 23:18:21 +00:00
cathleen%netscape.com a6a1655268 eliminate nsCRT::strlen for char* strings (part 4), bug 124536 r=dp sr=brendan 2002-02-19 16:01:45 +00:00
mkaply%us.ibm.com b2124453b5 OS/2 bustage - this is defined in nsStrShared.h 2002-02-15 05:22:42 +00:00
alecf%netscape.com dc82c0f060 re-land fix for bug 107575, moving nsStr static routines into a private class/namespace 2002-02-14 23:23:55 +00:00
alecf%netscape.com d58be8a57c oops, back myself out - forward declared enums don't work on linux! 2002-02-14 23:14:50 +00:00
alecf%netscape.com dcd2452a74 make all static nsStr:: members private, so they are not exported, and so the linker can cull them out
r=dbaron, sr=blake, jag
bug 125093
2002-02-14 23:08:38 +00:00
jband%netscape.com 222f0cec01 avoid memcpy call when only copying one (PRUnichar) char. bug 109562. r=jag sr=brendan 2002-02-14 06:22:53 +00:00
jaggernaut%netscape.com 3423a63ce7 Bug 122083: Typing "v", "vi", "vie" ... "view-source" into URL bar and pressing enter freezes Mozilla. r=dbradley, sr=alecf 2002-02-01 14:22:22 +00:00
alecf%netscape.com 5483b6f627 one more part of fix for bug 107575, including the much coveted whitespace
remove aIgnoreCase parameter from all nsString and nsCString consumers
sr=jag, r=shaver
2002-02-01 01:53:09 +00:00
alecf%netscape.com 28b3772942 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
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 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
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
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
alecf%netscape.com 4df42fac94 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 7229a6a608 Bug 113228: Remove nsStr::ChangeCase. r=dbaron, sr=alecf 2002-01-09 01:44:43 +00:00
jaggernaut%netscape.com bd932efbcb Bug 113228: Remove To{Lower,Upper}Case from ns{C}String. r=bzbarsky, sr=jst 2002-01-05 11:18:57 +00:00
jaggernaut%netscape.com 3910746e27 Bug 103342, 113590: ns{C}String::SubstituteString hangs/crashes. r=dbaron, sr=alecf 2002-01-02 23:54:25 +00:00
jaggernaut%netscape.com 467b3a5d8d Add assertion to ns{C}String::Adopt. r=/sr=mozbot 2002-01-02 09:00:02 +00:00
jaggernaut%netscape.com 75b1455d5d Bug 116957: Put Adopt on ns{C}String, and use it in nsStandardURL. r=dbaron, rs=scc 2001-12-26 23:14:12 +00:00
jaggernaut%netscape.com 6cb69b170f Bug 115671: Add faster To{Upper,Lower}Case for nsASingleFragment{C}String, r=dbaron, sr=dveditz, and ns{C}String, r=bbaetz, sr=scc 2001-12-23 02:56:41 +00:00
seawood%netscape.com 45bfbf0658 Landing the rest of the win32 gmake changes:
* Adds Makefile.ins to win32 specific dirs
* Adds WINNT ifdefs to Makefile.ins
* Causes NSPR to be compiled with --with-mozilla
* Misc general Makefile.in cleanup

Bug #58981 r=mcafee
2001-12-18 09:14:29 +00:00
jaggernaut%netscape.com 83839f350e BUg 113228: Replace nsC?String::To(Lower|Upper)Case with global To(Lower|Upper)Case. r=dbaron, sr=jst 2001-12-08 07:08:38 +00:00
alecf%netscape.com 64bbae7daf move UTF8traits to the public realm for later consumption
r=dbaron r=jag (the string experts)
for bug 110531
2001-11-29 02:53:48 +00:00
seawood%netscape.com 7733357d51 Rename 'install' build phase to 'libs'.
Bug #56601 r=pavlov
2001-11-21 09:49:41 +00:00
jaggernaut%netscape.com 0ecf7cce91 Bug 98213: Make data members of nsStr protected and clean up code. r=dbaron, sr=alecf 2001-11-14 12:35:52 +00:00
jaggernaut%netscape.com 00f1f74e7b Bug 53057: Removing implicit |CharT*| conversion operator for nsCString, r=dbaron, rs=scc 2001-11-10 22:00:31 +00:00
jband%netscape.com e84b393c65 fix bug 108915 to unbust XPCOM_STANDALONE. This #ifdef's out calls into code that is only available when i18n is part of the build. This has no impact on the browser or gecko embeddings. r=jst sr=alecf a=blizzard 2001-11-09 00:34:56 +00:00
alecf%netscape.com b486774c77 fix for minor leak bug 108640 r=jag, sr=sspitzer 2001-11-06 23:14:47 +00:00
alecf%netscape.com 1996026eb4 fix for bug 108597 - move mOwnsBuffer and mCharSize into smaller variables to reduce nsStr's overall size
r=jag, sr=waterson
2001-11-06 22:50:13 +00:00
ducarroz%netscape.com 321184f9e3 Fix for bug 86089. Replace attachments string in message compose fields by an array of nsIMsgAttachment objects. This architecture change allow us to dissocie the attachment name from the attachment url. We can also now carry over extra information like the attachment content type or Mac file type. This check in contains also fix for related bug 52428, bug 80895, bug 87765 and bug 89090.
R=varada, SR=sspitzer
2001-10-30 14:42:41 +00:00
jaggernaut%netscape.com b1eedf6ab3 Bug 105904, bug 105971, bug 105889, bug 105906: NS_ConvertUTF8toUCS2 hangs / segfaults. r=dbaron, rs=scc 2001-10-26 04:42:57 +00:00
alecf%netscape.com ddf5745c0c for bug 100214 - make nsStr routines stop depending on nsCRT:: routines, to further reduce our dependency on unicharutil
r=jag, sr=scc
2001-10-19 20:49:39 +00:00
jaggernaut%netscape.com 79e0a6c9a2 Bug 73292: Add const nsACString& constructor to NS_Convert(ASCII|UTF8)toUCS2. r=dbaron, sr=scc. 2001-10-17 05:17:53 +00:00
dbaron%fas.harvard.edu fb1a06783c Remove overloaded fputs functions, DebugDump, and (from nsCString only) ToCString). b=104763 r=jag rs=scc 2001-10-16 05:35:38 +00:00
dbaron%fas.harvard.edu 5a357eea01 Making debugging code be |#ifdef DEBUG|. b=91036 r=harishd sr=jst 2001-10-16 05:31:36 +00:00