jshin%mailaps.org
18198834d1
bug 191542 : Add UTF-8 equivalent of |IsASCII|, IsUTF8. r=smontagu, sr=alecf
...
git-svn-id: svn://10.0.0.236/trunk@140230 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-25 08:11:13 +00:00
seawood%netscape.com
cbd88e7b46
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
git-svn-id: svn://10.0.0.236/trunk@139821 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-20 04:52:54 +00:00
timeless%mozdev.org
cb71555d70
fixing comment about PRUnichar* ToNewUnicode
...
rs=brendan
git-svn-id: svn://10.0.0.236/trunk@133395 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-08 11:43:58 +00:00
jaggernaut%netscape.com
45feb50d64
Bug 178701: make source in FindInReadable be const. r=alecf, sr=scc
...
git-svn-id: svn://10.0.0.236/trunk@133192 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-06 21:11:24 +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
darin%netscape.com
04849998e1
fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@115936 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 07:48:55 +00:00
jst%netscape.com
2337395ba4
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
...
git-svn-id: svn://10.0.0.236/trunk@112375 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-17 04:08:14 +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
8bab064b76
Backing myself out to see if I'm the cause of btek going from 1245ms to 1251ms.
...
git-svn-id: svn://10.0.0.236/trunk@110867 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-20 06:12:49 +00:00
jaggernaut%netscape.com
695a180098
Bug 115671: Add (faster) To{Upper,Lower}Case for nsASingleFragmentStrings. r=dbaron, sr=dveditz
...
git-svn-id: svn://10.0.0.236/trunk@110841 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-20 02:15:35 +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
6ebb917688
Back out my backout, now that mac seems to be fixed
...
git-svn-id: svn://10.0.0.236/trunk@106633 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 03:39:18 +00:00
alecf%netscape.com
d764923a0d
Back out my checkin because !(*@3 PSM is screwed.
...
git-svn-id: svn://10.0.0.236/trunk@106627 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 02:41:48 +00:00
alecf%netscape.com
345e7b6e33
bug 100214 - Remove string dependency on XPCOM routines that depend on unicharutil, r=jag sr=scc
...
git-svn-id: svn://10.0.0.236/trunk@106596 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-29 23:16:23 +00:00
jaggernaut%netscape.com
5938d73d86
Bug 100750: string iterator users should use correct typedefs. r=dbaron, rs=scc
...
git-svn-id: svn://10.0.0.236/trunk@103709 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 09:35:50 +00:00
scc%mozilla.org
73c3c7385c
bug #75164 : sr={brendan, sfraser}. Adding the generators |nsSubstituteC?String|, which will replace |ReplaceSubstring|. Also fixing a declaration in "nsAStringGenerator.h".
...
git-svn-id: svn://10.0.0.236/trunk@95820 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-23 06:49:51 +00:00
scc%mozilla.org
5f8f895b28
bug #75551 : r=jst, sr=sfraser. Added |CaseInsensitiveFindInReadable|
...
git-svn-id: svn://10.0.0.236/trunk@94803 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-13 05:16:10 +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
scc%mozilla.org
13d898f873
bug #69941 : r=jag, sr=alecf. Fixed signature of |FindCharInReadable|.
...
git-svn-id: svn://10.0.0.236/trunk@87873 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-24 03:09:04 +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
hyatt%netscape.com
c13defe82d
Fix win32 build bustage, r=scc
...
git-svn-id: svn://10.0.0.236/trunk@80437 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 07:48:20 +00:00
scc%mozilla.org
fbd0ea0893
bug #54712 , r=rjc, a=waterson. Added a |Distance| function to calculate the span between two iterators, then added a constructor and appropriate global function to allow |Substring|s to be made from iterators in addition to the old scheme of {index,length}
...
git-svn-id: svn://10.0.0.236/trunk@80396 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 01:07:02 +00:00
scc%mozilla.org
7955a31be5
refactoring |ToUpperCase|, |ToLowerCase|
...
git-svn-id: svn://10.0.0.236/trunk@78604 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 07:30:55 +00:00
jst%netscape.com
9fdc55e883
Fix to ToUpperCase and ToLowerCase so that we actually hit all characters. r=scc
...
git-svn-id: svn://10.0.0.236/trunk@76972 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 19:23:15 +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
ec704488bd
also including "nsAWritableString.h" to satisfy speedracer
...
git-svn-id: svn://10.0.0.236/trunk@75648 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-05 08:32:18 +00:00
scc%mozilla.org
fc3595e83f
need |NS_COM| in the declarations too
...
git-svn-id: svn://10.0.0.236/trunk@75646 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-05 08:20:50 +00:00
scc%mozilla.org
d1f2f5f430
added comments and made some changes suggested by reviewers; still not in the build
...
git-svn-id: svn://10.0.0.236/trunk@75634 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-05 04:25:49 +00:00
scc%mozilla.org
6666966a06
These files are not yet part of the build; making global versions of |IsASCII|, |ToNewCString|, and |ToNewUnicode| that apply to readables, since we don't want them as member functions (where they were in |ns[C]String|). Vidur needs these to convert DOM interfaces over to readables.
...
git-svn-id: svn://10.0.0.236/trunk@75619 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-05 00:51:37 +00:00