darin%meer.net
6154264bd2
bustage fix for GCC 3.4
2004-02-19 04:18:18 +00:00
darin%meer.net
07f71da316
fixing OS/2 bustage from string branch landing,
...
nsString.h needs to continue to define IGNORE_CASE for backwards compatibility
2004-02-19 04:15:22 +00:00
darin%meer.net
8d65e087ae
landing string defragmentation patch for bug 231995, r/sr=dbaron,jst,dougt
2004-02-19 02:44:03 +00:00
bryner%brianryner.com
85dbf281fb
Change a few more destructors in XPCOM to be non-virtual, and comment destructors that need to be virtual. Bug 229875, r=dougt, sr=dbaron.
2004-02-11 06:19:03 +00:00
dbaron%dbaron.org
36f4864d42
Speed up constructors of nsAutoString and nsCAutoString by calling nsStrPrivate::Initialize only once. b=188828 r=darin sr=alecf
2004-01-29 04:00:47 +00:00
dbaron%dbaron.org
8b1b6977cf
Comment this out until we figure out what to do about nsXPIDLString's shared empty buffer handle. b=112547
2004-01-22 04:30:03 +00:00
jst%mozilla.jstenback.com
fc9f3d6ea3
Fixing bug 183373. Provide XPCOM methods for accessing a shared empty string object. r=bryner@brianryner.com, sr=dbaron@dbaron.org
2004-01-21 21:36:40 +00:00
dbaron%dbaron.org
345194dd62
Fix Windows debug bustage. b=231737, 112547
2004-01-21 18:29:38 +00:00
peterv%propagandism.org
f277ca4791
Rename verify to verifyThread to fix OS X debug build bustage.
2004-01-21 12:25:50 +00:00
dbaron%dbaron.org
a075871e8e
Assert when shared buffers are used on multiple threads. b=112547 r=jst sr=darin
2004-01-21 04:39:58 +00:00
jst%mozilla.jstenback.com
05f83fbe5d
Fixing bug 230849. Making LossyCopyUTF16toASCII() and CopyASCIItoUTF8() truncate the destination even when the source is null. r=jshin@mailaps.org, sr=peterv@propagandism.org
2004-01-14 19:26:17 +00:00
peter%propagandism.org
21e7e7a67f
Patch for bug 209699 (convert some consumers over to CopyUTF8toUTF16 / CopyUTF16toUTF8). r=jshin, sr=jst.
2003-12-23 09:24:11 +00:00
dwitte%stanford.edu
857bdeb8cf
fix regression due to silly casting fu.
...
b=225887, r=bryner, sr=alecf, a=dbaron.
2003-11-20 21:33:50 +00:00
dwitte%stanford.edu
a80c072618
removing unnecessary branch.
...
b=225887, r=jag, sr=alecf.
2003-11-18 12:31:25 +00:00
peter%propagandism.org
93e0a01614
Restoring fix for bug 224231, didn't affect btek's Tp.
2003-11-02 12:58:29 +00:00
peter%propagandism.org
0b431feb53
Back out a part of the fix for bug 224231 to see if it affects btek's Tp.
2003-11-02 11:59:54 +00:00
peter%propagandism.org
8658999689
Fix for bug 224231 (Need AppendASCIItoUTF16). r=jst, sr=dbaron.
2003-11-01 09:35:48 +00:00
timeless%mozdev.org
346f57ac0a
Bug 221826 only create stack objects in Cut if they'll be used
...
r=dbaron sr=dbaron
2003-10-12 23:28:31 +00:00
peter%propagandism.org
4c00c9dd8c
trying to fix bustage.
2003-10-09 17:02:05 +00:00
peter%propagandism.org
9059682e5b
Move voidable string into xpcom. Part of fix for bug 221387 (XPathExpression.createExpression doesn't throw NAMESPACE_ERR). r=bz, sr=dbaron.
2003-10-09 16:15:29 +00:00
cls%seawood.org
1b51ba858c
Set MODULE in makefiles at the top of a heirarchy so that module-deps lists are more precise and builds will have the proper order if some subdirs contain other modules.
2003-08-16 00:42:35 +00:00
cls%seawood.org
74a903bcdb
Move mozilla/string into mozilla/xpcom/.
...
Bug #214700 r=dougt sr=leaf a=mkaply
2003-08-14 23:50:21 +00:00
dougt%meer.net
ed09f93043
Fix for 205023. Adds nsTraceRefcnt stubs that access a global to allow tracing refcnt to work with the GRE/xpcom glue builds. r=dbaron
2003-08-05 05:29:10 +00:00
jaggernaut%netscape.com
ac2ee6a6b1
Bug 151916: substring helpers for start and end (StringHead, StringTail, Substring(string, start)). r=dbaron, sr=bzbarsky
2003-07-14 07:42:24 +00:00
jaggernaut%netscape.com
2d7ed90a69
Bug 73353: clean up MODULE/REQUIRES story. r=cls, sr=bryner
2003-07-13 22:29:00 +00:00
dwitte%stanford.edu
d78b684d26
Bug 113733: nsXPIDLCString doesn't have an assignment operator.
...
adds |operator=( const self_type& )| to nsSharable{C}String and nsXPIDL{C}String, to prevent the compiler from synthesizing its own (which won't do the right thing).
This should fix a bunch of XPIDLString-related cfront compile warnings.
original patch by jag, updated by me; r=dbaron, sr=jag.
2003-07-12 07:14:37 +00:00
dbaron%dbaron.org
7f9ed75392
Make ns[C]String::AppendFloat locale-independent. b=209569 r=jag sr=bzbarsky
2003-07-09 06:53:44 +00:00
darin%netscape.com
ca48f5672f
fixes bug 163988 'Crashes at www.macgamer.com (HREF="&#)' patch=waltershen@netscape.com r=dbaron sr=jag
2003-07-02 21:20:14 +00:00
jshin%mailaps.org
4f939c139c
bug 183156 (a part of) : rename CopyUTF16toASCII as LossyCopyUTF16toASCII (r,sr=jag)
2003-06-27 07:44:13 +00:00
dbaron%dbaron.org
3852bff4c9
Keep the pointer version of NS_ConvertUTF8toUTF16 null-safe. b=210279 r+sr=jag
2003-06-24 05:42:05 +00:00
jshin%mailaps.org
b33261e746
bug 183156 : replace UCS2 in function/method names with UTF16 and update the
...
document accordingly. r=jag, sr=alecf
2003-06-23 04:30:57 +00:00
jaggernaut%netscape.com
6d16320259
Bug 210160: Add nsStringComparator parameter to String(Begins)|(Ends)With. r=bzbarsky, sr=dbaron
...
Bug 210162: Fix up comments, argument names of atom getters in nsIAtom.idl. r=bzbarsky, sr=dbaron
2003-06-21 02:59:51 +00:00
jst%netscape.com
2d0b6d2c00
Fixing part of bug 209699 (and more of bug 87677). Implement char* and PRUnichar* versions of Copy/AppendUTF*toUTF*(). r=alecf@flett.org, r=dbaron@dbaron.org, sr=jaggernaut@netscape.com
2003-06-19 05:17:55 +00:00
jst%netscape.com
3624ae8b21
Fixing typo in comment.
2003-06-18 06:52:16 +00:00
jst%netscape.com
d98c2ff1e8
Fixing typo in comment.
2003-06-17 16:30:35 +00:00
jst%netscape.com
5e31f0fbb6
Fixing bug 87677. Making AppendUTF[8|16]toUTF[16|8]() not copy the string twice when not needed. r=jaggernaut@netscape.com, sr=dbaron@dbaron.org
2003-06-17 16:30:17 +00:00
dbaron%dbaron.org
18b8c334fb
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. Make various tweaks to improve performance of conversion between UCS2 and UTF-8 (both ways). b=206682 r=jag sr=jst
2003-06-11 04:27:13 +00:00
seawood%netscape.com
97649bab86
Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev
2003-06-10 21:18:27 +00:00
seawood%netscape.com
b28ce0a530
Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev
2003-06-10 20:12:33 +00:00
jshin%mailaps.org
ff38b26577
bug 183156 : the first step : replace UCS2 in function names with UTF16
...
(r=peterv, sr=alecf)
2003-06-05 11:44:06 +00:00
jst%netscape.com
a159b5a1eb
Fixing bug 87677. Implementing {Copy,Append}[UCS2|UTF8]to[UTF8|UCS2](). Lame implementations for now, but at least people can start using these methods to avoid double copying all over (this doesn't eliminate the double copy, but it isolates it). r=jaggernaut@netscape.com, sr=alecf@flett.org.
2003-05-31 06:03:18 +00:00
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
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
dbaron%fas.harvard.edu
e9a21ed5cb
Make GetImplementationFlags more useful/extensible by changing the default implementation to return zero rather than returning the flags from the shared buffer handle, and add a constant for one expected future use. b=109571 r=jag sr=scc
2002-05-17 02:53:34 +00:00
jaggernaut%netscape.com
844bea71c2
Bug 139649: Fix IsDependentOn, I forgot to make the ptr and ptr, length based Assign, Append and Insert go through the dependency checks. r=alecf, sr=scc.
2002-05-16 04:35:00 +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
darin%netscape.com
966bafc63a
trying to fix mac bustage
2002-05-15 04:58:58 +00:00
jaggernaut%netscape.com
336c5502e1
Bug 139649: Fix string code to use IsDependentOn instead of depending on nsAPromiseString type. r=scc, sr=darin
2002-05-15 03:28:44 +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
kaie%netscape.com
d45d8c2bc9
b=141317 CopyToLowerCase produces strings with random content
...
r=jag sr=alecf
2002-05-01 14:02:11 +00:00
cbiesinger%web.de
43e80acdd8
bug 140990 patch by pj@ludd.luth.se r=timeless sr=jag
...
Mismatched free() / delete / delete [] at nsAString::AssignFromPromise(nsAString const &)
2002-05-01 12:41:58 +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
9980cfd68d
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 02:28:08 +00:00
dbaron%fas.harvard.edu
3b8854671e
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:57:47 +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
darin%netscape.com
f1a6738b6c
fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa
2002-03-06 07:48:55 +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
dp%netscape.com
5e6e8206e8
bug 119631 nsSlidingString using a delete callback function r=dbaron@fas.harvard.edu, sr=jaggernaut, a=asa
2002-03-02 21:22:41 +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
dbaron%fas.harvard.edu
16aa3888b2
nsDependentSingleFragmentSubstring shouldn't pretend to have a flat buffer, since it's only guaranteed to be single fragment, not null-terminated. b=122727 sr=jag r=alecf
2002-02-19 02:17:09 +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
hwaara%chello.se
4f52a4c146
#123347 , "Remove #if 0-ed nsPrintfCString::GetReadableFragment()",
...
#123354 , "Remove nsAFlatString.cpp and nsDependentString.cpp"
r/sr=jag, shaver
2002-02-06 15:39:52 +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
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
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
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
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
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
jaggernaut%netscape.com
977fa5cca7
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
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
jaggernaut%netscape.com
cd66e519ad
Backing myself out to see if I'm the cause of btek going from 1245ms to 1251ms.
2001-12-20 06:12:49 +00:00
jaggernaut%netscape.com
d86d275209
Bug 115671: Add (faster) To{Upper,Lower}Case for nsASingleFragmentStrings. r=dbaron, sr=dveditz
2001-12-20 02:15:35 +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
ccarlen%netscape.com
58b83da07b
Bug 98349 - Convert Mac build to CW7 and XML projects. Removing obsolete .mcp files. r=pink/sr=sfraser
2001-12-11 05:35:08 +00:00
dbaron%fas.harvard.edu
458adf0b19
Fix nsSharableString::SetLength to correctly handle having a shared buffer. Override GetWritableFragment on nsSharableString (perhaps temporarily) to allow use of writing iterators on nsSharableString. b=114438 r=jag sr=jst
2001-12-11 03:33:09 +00:00
ccarlen%netscape.com
b564bb181b
Adding new files for conversion to CW7 and XML project files. Bug 98349 r=pink/sr=sfraser.
2001-12-10 21:20:58 +00:00
jaggernaut%netscape.com
ddc0048d69
Bug 114288: Add nsStringComparator parameter to nsAString::Equals to mirror Compare and provide a way to do CaseInsensitive Equals. r=dbaron, sr=jst
2001-12-10 10:10:44 +00:00