henry.jia%sun.com
|
c700eee56c
|
Patch for Bug 75081: nsCString::FindChar is stupid. Extremely stupid
Patch by bratell@lysator.liu.se
r=jag, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@127237 18797224-902f-48f8-a5cc-f745e15eee43
|
2002-08-14 04:13:38 +00:00 |
|
alecf%netscape.com
|
7e8aa74093
|
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
git-svn-id: svn://10.0.0.236/trunk@125791 18797224-902f-48f8-a5cc-f745e15eee43
|
2002-07-25 18:31:10 +00:00 |
|
mkaply%us.ibm.com
|
931db3bc2f
|
#154680
r=mkaply, sr=jag
Wrong default offset passed into RFind - should be -1
git-svn-id: svn://10.0.0.236/trunk@124301 18797224-902f-48f8-a5cc-f745e15eee43
|
2002-06-28 20:31:09 +00:00 |
|
dougt%netscape.com
|
d6cc711878
|
Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756
git-svn-id: svn://10.0.0.236/trunk@121534 18797224-902f-48f8-a5cc-f745e15eee43
|
2002-05-15 18:55:21 +00:00 |
|
jaggernaut%netscape.com
|
03072ae01d
|
Bug 132583: deal more cleanly with passing non-UTF8 strings to NS_ConvertUTF8toUCS2. r=scc, sr=darin
git-svn-id: svn://10.0.0.236/trunk@121461 18797224-902f-48f8-a5cc-f745e15eee43
|
2002-05-14 08:27:57 +00:00 |
|
pinkerton%netscape.com
|
0b20e68bf4
|
make NS_ConvertUTF8toUCS2(ptr, length) work correctly. r=jag/sr=scc bug#141866
git-svn-id: svn://10.0.0.236/trunk@120879 18797224-902f-48f8-a5cc-f745e15eee43
|
2002-05-06 21:50:45 +00:00 |
|
pinkerton%netscape.com
|
426a72cadc
|
backing out last patch, it doesn't work
git-svn-id: svn://10.0.0.236/trunk@120696 18797224-902f-48f8-a5cc-f745e15eee43
|
2002-05-03 14:20:31 +00:00 |
|
pinkerton%netscape.com
|
abbe236093
|
Fix NS_ConvertUTF8ToUCF2 correctly work with substrings. patch by jag, r=pink
sr=scc, bug#141866
git-svn-id: svn://10.0.0.236/trunk@120694 18797224-902f-48f8-a5cc-f745e15eee43
|
2002-05-03 13:57:12 +00:00 |
|
alecf%netscape.com
|
61312b4eeb
|
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
git-svn-id: svn://10.0.0.236/trunk@120220 18797224-902f-48f8-a5cc-f745e15eee43
|
2002-04-29 20:29:54 +00:00 |
|
dbaron%fas.harvard.edu
|
772b5b8c58
|
Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa
git-svn-id: svn://10.0.0.236/trunk@117354 18797224-902f-48f8-a5cc-f745e15eee43
|
2002-03-24 00:16:18 +00:00 |
|
alecf%netscape.com
|
f4ad21ae3a
|
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
git-svn-id: svn://10.0.0.236/trunk@116842 18797224-902f-48f8-a5cc-f745e15eee43
|
2002-03-19 06:46:56 +00:00 |
|
jdunn%netscape.com
|
2da0ba8cc7
|
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
git-svn-id: svn://10.0.0.236/trunk@116144 18797224-902f-48f8-a5cc-f745e15eee43
|
2002-03-08 12:37:00 +00:00 |
|
alecf%netscape.com
|
8755908f04
|
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
git-svn-id: svn://10.0.0.236/trunk@115750 18797224-902f-48f8-a5cc-f745e15eee43
|
2002-03-04 23:18:21 +00:00 |
|
alecf%netscape.com
|
4331ed65d3
|
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
git-svn-id: svn://10.0.0.236/trunk@113200 18797224-902f-48f8-a5cc-f745e15eee43
|
2002-01-30 06:04:29 +00:00 |
|
alecf%netscape.com
|
ce5f992cb4
|
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
git-svn-id: svn://10.0.0.236/trunk@112769 18797224-902f-48f8-a5cc-f745e15eee43
|
2002-01-24 23:46:56 +00:00 |
|
alecf%netscape.com
|
0885d07bf5
|
fix for bug 114450 - be explicit about string comparison w.r.t. character size - no more hand-rolled vtables!
sr=jag, r=dbaron
git-svn-id: svn://10.0.0.236/trunk@112713 18797224-902f-48f8-a5cc-f745e15eee43
|
2002-01-24 19:14:18 +00:00 |
|
jaggernaut%netscape.com
|
9f55bebd67
|
Bug 113228: Remove To{Lower,Upper}Case from ns{C}String. r=bzbarsky, sr=jst
git-svn-id: svn://10.0.0.236/trunk@111413 18797224-902f-48f8-a5cc-f745e15eee43
|
2002-01-05 11:18:57 +00:00 |
|
jaggernaut%netscape.com
|
fa464ed171
|
Bug 116957: Put Adopt on ns{C}String, and use it in nsStandardURL. r=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@111092 18797224-902f-48f8-a5cc-f745e15eee43
|
2001-12-26 23:14:12 +00:00 |
|
jaggernaut%netscape.com
|
955f7defe5
|
Bug 115671: Add faster To{Upper,Lower}Case for nsASingleFragment{C}String, r=dbaron, sr=dveditz, and ns{C}String, r=bbaetz, sr=scc
git-svn-id: svn://10.0.0.236/trunk@111040 18797224-902f-48f8-a5cc-f745e15eee43
|
2001-12-23 02:56:41 +00:00 |
|
jaggernaut%netscape.com
|
357c78f88e
|
BUg 113228: Replace nsC?String::To(Lower|Upper)Case with global To(Lower|Upper)Case. r=dbaron, sr=jst
git-svn-id: svn://10.0.0.236/trunk@110075 18797224-902f-48f8-a5cc-f745e15eee43
|
2001-12-08 07:08:38 +00:00 |
|
alecf%netscape.com
|
700d0e8fd2
|
move UTF8traits to the public realm for later consumption
r=dbaron r=jag (the string experts)
for bug 110531
git-svn-id: svn://10.0.0.236/trunk@109171 18797224-902f-48f8-a5cc-f745e15eee43
|
2001-11-29 02:53:48 +00:00 |
|
jaggernaut%netscape.com
|
d22bec017c
|
Bug 98213: Make data members of nsStr protected and clean up code. r=dbaron, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@108048 18797224-902f-48f8-a5cc-f745e15eee43
|
2001-11-14 12:35:52 +00:00 |
|
jaggernaut%netscape.com
|
7421efac1f
|
Bug 73292: Add const nsACString& constructor to NS_Convert(ASCII|UTF8)toUCS2. r=dbaron, sr=scc.
git-svn-id: svn://10.0.0.236/trunk@105601 18797224-902f-48f8-a5cc-f745e15eee43
|
2001-10-17 05:17:53 +00:00 |
|
dbaron%fas.harvard.edu
|
f2bb49a853
|
Remove overloaded fputs functions, DebugDump, and (from nsCString only) ToCString). b=104763 r=jag rs=scc
git-svn-id: svn://10.0.0.236/trunk@105469 18797224-902f-48f8-a5cc-f745e15eee43
|
2001-10-16 05:35:38 +00:00 |
|
dbaron%fas.harvard.edu
|
1382ac90eb
|
Making debugging code be |#ifdef DEBUG|. b=91036 r=harishd sr=jst
git-svn-id: svn://10.0.0.236/trunk@105468 18797224-902f-48f8-a5cc-f745e15eee43
|
2001-10-16 05:31:36 +00:00 |
|
jaggernaut%netscape.com
|
34e006d3a5
|
Remove dead code from obsolete string classes: ToNewString(), IsUnicode() and GetBuffer(). r=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@105387 18797224-902f-48f8-a5cc-f745e15eee43
|
2001-10-14 05:06:53 +00:00 |
|
jaggernaut%netscape.com
|
51e0dc7a6c
|
Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@104212 18797224-902f-48f8-a5cc-f745e15eee43
|
2001-09-29 08:28:41 +00:00 |
|
gerv%gerv.net
|
13afb6d0f9
|
Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
|
2001-09-28 20:14:13 +00:00 |
|
jaggernaut%netscape.com
|
481ff2b35e
|
Bug 100764: remove NS_ConvertABCtoXYZ(CharT). r=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@103710 18797224-902f-48f8-a5cc-f745e15eee43
|
2001-09-25 09:37:13 +00:00 |
|
jaggernaut%netscape.com
|
1536b0881b
|
Remove #define nsString2 nsString and #define nsAutoString2 nsAutoString and fix last few uses of them. r=dbradley, rs=scc
git-svn-id: svn://10.0.0.236/trunk@102294 18797224-902f-48f8-a5cc-f745e15eee43
|
2001-09-05 12:42:54 +00:00 |
|
jaggernaut%netscape.com
|
234588f481
|
Bug 98153: Remove SubsumeStr. r=dbaron, sr=scc
git-svn-id: svn://10.0.0.236/trunk@102292 18797224-902f-48f8-a5cc-f745e15eee43
|
2001-09-05 10:46:45 +00:00 |
|
jaggernaut%netscape.com
|
2573850e73
|
Bug 88413: Remove GetUnicode() from nsString. Begone! r=dbaron, sr=scc
git-svn-id: svn://10.0.0.236/trunk@98551 18797224-902f-48f8-a5cc-f745e15eee43
|
2001-07-03 09:09:56 +00:00 |
|
dbaron%fas.harvard.edu
|
a67c8b2b66
|
Add hack to make functions that used to work with nsXPIDLString continue to work now that nsXPIDLString inherits from nsAString by adding inline methods to resolve ambiguity for compilers that don't support |explicit|. r=jaggernaut sr=waterson b=88411, 88420
git-svn-id: svn://10.0.0.236/trunk@98325 18797224-902f-48f8-a5cc-f745e15eee43
|
2001-06-29 23:12:48 +00:00 |
|
jst%netscape.com
|
535c86019d
|
scc checking in from jst's account. bug #75220: sr=jst, rs=brendan. renaming |nsPromiseC?Concatenation| to |nsDependentC?Concatenation|; |nsPromiseC?Substring| to |nsDependentC?Substring|; |nsLiteralC?String| and |nsLocalC?String| to |nsDependentC?String|, as these new names better reflect clients obligations to instances.
git-svn-id: svn://10.0.0.236/trunk@95533 18797224-902f-48f8-a5cc-f745e15eee43
|
2001-05-19 11:27:30 +00:00 |
|
scc%mozilla.org
|
7b06841b03
|
landing string branch; see bug #73786
git-svn-id: svn://10.0.0.236/trunk@91049 18797224-902f-48f8-a5cc-f745e15eee43
|
2001-04-02 19:40:52 +00:00 |
|
disttsc%bart.nl
|
f69c0e7cd8
|
bug 73339: Remove NS_ConvertToString (just another name for NS_ConvertASCIItoUCS2) from the tree. r=jst, sr=scc
git-svn-id: svn://10.0.0.236/trunk@90514 18797224-902f-48f8-a5cc-f745e15eee43
|
2001-03-27 11:17:17 +00:00 |
|
disttsc%bart.nl
|
abd8de21e5
|
Change implicit conversion from
|NS_ConvertUTF8toUCS2|
|NS_ConvertASCIItoUCS2|
|NS_ConvertUCS2toUTF8|
|ns[C]LiteralString|
|ns[C]PromiseFlatString|
to explicit |get()|.
Add |get()| to |nsString|, remove implicit conversion operators where possible, add NS_WARNING where not (yet!).
Bug=53057, r=alecf, sr=scc
git-svn-id: svn://10.0.0.236/trunk@88947 18797224-902f-48f8-a5cc-f745e15eee43
|
2001-03-08 08:05:05 +00:00 |
|
scc%mozilla.org
|
f3c858afc8
|
bug #69907: rs=brendan. Fix file-level comments in (to be) obsolete string files so they are clearer in LXR directory views.
git-svn-id: svn://10.0.0.236/trunk@87763 18797224-902f-48f8-a5cc-f745e15eee43
|
2001-02-23 02:43:42 +00:00 |
|
scc%mozilla.org
|
3f930de8f0
|
bug #65219: (work done by dbaron) r=jag, sr=scc. Remove leaking string recyclers.
git-svn-id: svn://10.0.0.236/trunk@87754 18797224-902f-48f8-a5cc-f745e15eee43
|
2001-02-23 02:03:02 +00:00 |
|
scc%mozilla.org
|
028f9f3180
|
bug #53071: r=danm, sr=alecf. Eliminate redundant implemenations, resolve resulting ambiguities.
git-svn-id: svn://10.0.0.236/trunk@86357 18797224-902f-48f8-a5cc-f745e15eee43
|
2001-02-06 23:07:24 +00:00 |
|
vidur%netscape.com
|
3e62b3f9f3
|
Changes to parser to allow less copying. Use of the new nsSliding[Sub]String classes so that tokens can hold substrings that keep references into the scanner buffer. Cleaned up token interface and general string usage. r=harishd,heikki sr=jst
git-svn-id: svn://10.0.0.236/trunk@83553 18797224-902f-48f8-a5cc-f745e15eee43
|
2000-12-12 21:58:14 +00:00 |
|
scc%mozilla.org
|
6dd3b2cf12
|
adding |.get()| for the other half of |NS_LITERAL_STRING|
git-svn-id: svn://10.0.0.236/trunk@78964 18797224-902f-48f8-a5cc-f745e15eee43
|
2000-09-13 03:44:58 +00:00 |
|
scc%mozilla.org
|
e25e984f19
|
adding back a couple more |operator+|s for gcc
git-svn-id: svn://10.0.0.236/trunk@78096 18797224-902f-48f8-a5cc-f745e15eee43
|
2000-09-04 01:34:04 +00:00 |
|
scc%mozilla.org
|
c292773239
|
bustage fix for old gcc; already built on speedracer to ensure that it works, and on Mac to ensure that doesn't break modern compilers
git-svn-id: svn://10.0.0.236/trunk@78083 18797224-902f-48f8-a5cc-f745e15eee43
|
2000-09-03 22:38:38 +00:00 |
|
scc%mozilla.org
|
ff4ff3adf3
|
now that constructors are explicit, we'll have to get rid of extra comparison operators ... in fact, this is to fix immediate bustage
git-svn-id: svn://10.0.0.236/trunk@78056 18797224-902f-48f8-a5cc-f745e15eee43
|
2000-09-03 03:16:47 +00:00 |
|
scc%mozilla.org
|
9fc340d07f
|
making all string construction explicit; plus (now that the DOM APIs are turned on and you can no longer build without NEW_STRING_APIS) chopping out |#ifdef|ed code
git-svn-id: svn://10.0.0.236/trunk@78027 18797224-902f-48f8-a5cc-f745e15eee43
|
2000-09-02 20:53:31 +00:00 |
|
beard%netscape.com
|
e4ac42fcaf
|
fixing build bustage. r=scc
git-svn-id: svn://10.0.0.236/trunk@77749 18797224-902f-48f8-a5cc-f745e15eee43
|
2000-08-31 06:00:21 +00:00 |
|
jst%netscape.com
|
7e0575bfee
|
DOM string changes. All nsString& in DOM interfaces (and interfaces needed by DOM implementations) have been changed to nsAReadableString& and nsAWritableString&. String implementation additions (sanctioned by scc) to support DOM needs. Bug 49091. r=vidur,jst,scc
git-svn-id: svn://10.0.0.236/trunk@76967 18797224-902f-48f8-a5cc-f745e15eee43
|
2000-08-23 17:27:06 +00:00 |
|
scc%mozilla.org
|
b8a099bbf3
|
temporarily backing out the headers with the explicit change (we haven't finished platform specific code or commercial yet)
git-svn-id: svn://10.0.0.236/trunk@76755 18797224-902f-48f8-a5cc-f745e15eee43
|
2000-08-20 07:40:30 +00:00 |
|
scc%mozilla.org
|
20f047d01b
|
fixing code that relied on implicit string construction
git-svn-id: svn://10.0.0.236/trunk@76750 18797224-902f-48f8-a5cc-f745e15eee43
|
2000-08-20 06:59:07 +00:00 |
|