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

699 Коммитов

Автор SHA1 Сообщение Дата
dbaron%dbaron.org c6ff914d34 Backing out my checkin for bug 206682 due to performance regression (slowing down NS_ConvertUCS2toUTF8). 2003-05-23 00:32:54 +00:00
dbaron%dbaron.org 06133b6d3c Move the core of NS_ConvertUCS2toUTF8 into character sinks in nsUTF8Utils.h, and use them to make ToNewUTF8String faster. Fix bug in surrogate handling in the moved code. Fix null-termination bug in UTF8ToNewUnicode. b=206682 r=jag sr=alecf a=brendan 2003-05-22 21:25:43 +00:00
dbaron%dbaron.org 77bf6f4e26 Add StringBeginsWith, StringEndsWith, and UTF8ToNewUnicode. Move UTF8 handling utilities to separate file. b=131293 r=jst sr=alecf,jag a=asa b=131293 2003-05-21 22:20:27 +00:00
darin%netscape.com 4363120933 fixes bug 199221 "provide inline implementations of common string methods" r=dbaron sr=jag 2003-04-02 06:24:47 +00:00
jshin%mailaps.org a5ddc8b721 bug 191542 : Add UTF-8 equivalent of |IsASCII|, IsUTF8. r=smontagu, sr=alecf 2003-03-25 08:11:13 +00:00
seawood%netscape.com b92a5778a0 Fix signature of standalone embedstring version of |Distance|.
Bug #198276 r=jag sr=dbaron
2003-03-25 06:46:49 +00:00
seawood%netscape.com dca257bd56 Change |Distance| definitions to match forward declaration in nsReadableUtils.h. Fixing Forte bustage.
Thanks to David Baron <dbaron@dbaron.org> for the patch.
Bug #198276 r=jag sr=bz
2003-03-20 04:52:54 +00:00
dougt%netscape.com 4a82c99291 defined correctly fixed 2003-03-19 02:16:07 +00:00
dougt%netscape.com 205012131f pilot error 2003-03-19 02:11:34 +00:00
dougt%netscape.com d4aa052205 relanding dwitte's string work "Excessive inlining in string libs" with a minor change to fix a build bustage. bug 196506. r=dbaron, sr=alec 2003-03-18 23:48:44 +00:00
heikki%netscape.com 96cf1d190e Backing out bug 196506 and build fix attempt. 2003-03-18 01:58:15 +00:00
heikki%netscape.com 315a64bb5c Bustage fix from dwitte. 2003-03-18 01:17:18 +00:00
timeless%mozdev.org 62c1c6702e Bug 196506 Excessive inlining in string libs: Substring()
patch by mvl@exedo.nl r=dougt sr=alecf
2003-03-17 23:16:16 +00:00
alecf%netscape.com 4358844234 update API docs so that I don't get false positives for GetUnicode()
(not part of build, just a doc)
2003-03-11 23:26:18 +00:00
glazman%netscape.com df24ff7c3f backing out dwitte's changes from last bbaetz check in (at his request) 2003-03-10 10:28:40 +00:00
bbaetz%acm.org 0faaca3203 Bug 196506 - Excessive inlining in string libs: Substring()
patch by dwitte@stanford.edu, r=timeless, sr=dbaron
2003-03-10 08:10:20 +00:00
cls%seawood.org d1079607df XP code changes required for mingw landing.
Add NS_STDCALL macros for functions that require stdcall declarations.
Add NS_STDCALL_FUNCPROTO macro for stdcall function prototype typedefs.
Bug #134113 r=dougt sr=dbaron
2003-03-07 06:07:56 +00:00
dbaron%dbaron.org 6dd68f3c64 Remove nsISizeOfHandler and associated SizeOf methods. b=106792 r=bzbarsky sr=jst 2003-02-22 15:34:38 +00:00
jaggernaut%netscape.com 85174f51b9 Bug 191749: bad define inside nsAFlatString.h. r=/sr=bzbarsky, a=dbaron 2003-02-21 00:34:17 +00:00
dougt%netscape.com ce7b00a58e Fixing bustage in nsXPIDLString. r=jag, sr=dbaron, b=189591, a=Donald Rumsfeld 2003-01-23 03:35:30 +00:00
dougt%netscape.com 3b838a1833 Fixing crash in NS_MsgStripRE() due to multiply-linked strings. b=189591, sr=dbaron, r=me 2003-01-22 00:21:48 +00:00
dougt%netscape.com c987d07f19 Moving nsEmbedString to mozilla/string. r=cls 2003-01-14 03:37:34 +00:00
dbaron%fas.harvard.edu b880d5907b Go back to PR_strtod since strtod does different things in different locales. b=183211 sr=bzbarsky r=caillon 2002-12-04 04:43:30 +00:00
bratell%lysator.liu.se eb4672cb09 Bug 165877 - ToFloat never reported when the string wasn't a legal float. Also switch to strtod for a small performance win. r=jaggernaut@netscape.com, sr=alecf@netscape.com 2002-12-02 09:30:59 +00:00
timeless%mozdev.org 58d1e9667c fixing comment about PRUnichar* ToNewUnicode
rs=brendan
2002-11-08 11:43:58 +00:00
jaggernaut%netscape.com 0355aca524 Bug 178701: make source in FindInReadable be const. r=alecf, sr=scc 2002-11-06 21:11:24 +00:00
dougt%netscape.com ff5fb46b69 177173 - Exports required string headers to SDK, r=jag, sr=alecf, a=robert@ocallahan.org 2002-10-30 14:11:03 +00:00
shanjian%netscape.com 56103cc0a9 #172700 NS_ConvertUTF8ToUCS2() surrogates buffer overflow
allocate enough space for surrogate.
p=jgmyers, r=shanjian, sr=dbaron, a=blizzard
2002-10-28 22:56:03 +00:00
dougt%netscape.com 20cb222459 landing 172512. nsEmbedString for component developers and embeders. r=alec, sr=jag/darin, a=asa@mozilla.org 2002-10-17 23:41:47 +00:00
seawood%netscape.com 57e08a3f3a Define WIN32_LEAN_AND_MEAN globally for win32 builds.
Thanks to Stephen Walker <walk84@yahoo.com> for the patch.
Bug #172898 r=cls a=asa
2002-10-17 06:47:01 +00:00
shanjian%netscape.com a6b06cd95b #134053 utf8 conversion problem in nsString.h
Change conversion to handle surrogates
r=yokoyama, sr=scc
2002-10-08 02:10:52 +00:00
jaggernaut%netscape.com 7001d81cad Bug 162017: step 2: remove aIgnoreCase from FindChar1. r=peterv, sr=dbaron 2002-09-17 22:49:00 +00:00
jaggernaut%netscape.com f923232916 Bug 162017: first step to inlining nsStr. r=kaie, sr=alecf 2002-09-17 13:56:34 +00:00
alecf%netscape.com c20ce4824e fix for bug 159328 - submit broken in some locales - use locale-insensitive tolower()
r=jag, sr=dbaron
2002-08-19 22:17:13 +00:00
bryner%netscape.com 025fb3a058 Get rid of gcc3's numerous warnings about using <new.h> instead of <new> by creating a new #define, NEW_H, which should be used instead of <new.h> or <new>. This is so we can continue to support a couple of braindead compilers that don't accept <new>. Bug 155852, r=cls. 2002-08-19 03:50:27 +00:00
alecf%netscape.com 41c97f7cf0 argh, back myself out because it causes xpcomglue bustage 2002-08-16 15:24:58 +00:00
alecf%netscape.com 0682e903f8 fix bug 159328, and probably bug 146673 - use locale-insensitive string comparisons in strings so we don't break when doing case-insensitive matching of simple ASCII strings in non-US locales, like "SubMIT" != "submit"
r=brade, sr=dbaron
2002-08-16 14:35:48 +00:00
henry.jia%sun.com d5bcedda4f fix of Patch for Bug 75081: nsCString::FindChar is stupid. Extremely stupid
Patch by bratell@lysator.liu.se
Fix by Henry.Jia@sun.com
r=bryner
2002-08-14 05:37:48 +00:00
henry.jia%sun.com 0f450debc8 fix of Patch for Bug 75081: nsCString::FindChar is stupid. Extremely stupid
Patch by bratell@lysator.liu.se
Fix by Henry.Jia@sun.com
r=jag, sr=alecf
2002-08-14 05:06:09 +00:00
henry.jia%sun.com 2ed04a52f2 Patch for Bug 75081: nsCString::FindChar is stupid. Extremely stupid
Patch by bratell@lysator.liu.se
r=jag, sr=alecf
2002-08-14 04:13:38 +00:00
seawood%netscape.com 67c2c5b3c0 Removing unused defines:
_IMPL_NS_BASE (bug #162142)
_IMPL_NS_GFXONXP (bug #162145)
_IMPL_NS_UI (bug #162183)
B_ONE_M (bug #162196)
XP_NEW_SELECTION (bug #162230)
r=cls
Thanks to Stephen Walker <walk84@yahoo.com> for the patches.
2002-08-12 13:35:18 +00:00
seawood%netscape.com 322da773fb Removing old nmake build makefiles. Bug #158528 r=pavlov 2002-08-10 07:55:43 +00:00
alecf%netscape.com 98fb638c96 bug 161716 - stop exporting nsStr from xpcom.dll
r=dougt, sr=jag
2002-08-08 18:59:54 +00:00
dougt%netscape.com 1891cc66bb Freezes nsAString, nsACString, nsAUTF8String. r=dougt, sr=alecf, a=brendan b=125389 2002-08-01 17:52:56 +00:00
bryner%netscape.com d0cfcc1da2 Remove obsolete NS_BASE and _IMPL_NS_BASE, and unused/obsolete source files nsStdFileStream.* (bug 160052). r=cls, sr=alecf, a=asa. 2002-07-30 21:30:05 +00:00
alecf%netscape.com e9e1a39573 fix for bug 157572 - remove nsIAtom references from strings, and thus expicitly #include nsIAtom.h for consumers who are expecting it.
r=dmose, sr=jag, a=asa
2002-07-25 18:31:10 +00:00
dougt%netscape.com e1112a5bf6 XPCOM_GLUE nsTraceRefcnt problems. r=dp, sr=jag. bug 154319 2002-07-01 22:19:01 +00:00
mkaply%us.ibm.com eb72cd976b #154680
r=mkaply, sr=jag
Wrong default offset passed into RFind - should be -1
2002-06-28 20:31:09 +00:00
alecf%netscape.com 2a7093d970 add deprecation comment - now that we have a new guide.
doc only, no code, no review
2002-06-26 22:53:36 +00:00
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