13 Commits

Author SHA1 Message Date
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
disttsc%bart.nl
868c5c4476 Fix iteration type in ConvertTo(Upper|Lower)Case in nsReadableUtils.cpp, bug=60047, r=dmose, a=scc
git-svn-id: svn://10.0.0.236/trunk@82630 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-15 01:58:23 +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
scc%mozilla.org
695113d75b fix build bustage for hpux
git-svn-id: svn://10.0.0.236/trunk@78017 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 12:20:49 +00:00
scc%mozilla.org
fe86dd230b bug #49817: fix |normalize_forward|, |normalize_backward|; make |Begin(Read|Writ)ing| call |normalize_forward|; pass iterators by reference. r=mjudge
git-svn-id: svn://10.0.0.236/trunk@77990 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 04:10:44 +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
efe34a743d make sure the new functions are exported; still not in the build
git-svn-id: svn://10.0.0.236/trunk@75644 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-05 07:44:08 +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
2bca44595d everything's in and working correctly (as far as my tests show), still not in the build, but that's what I'm about to change with my next set of checkins
git-svn-id: svn://10.0.0.236/trunk@75632 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-05 03:32:36 +00:00
scc%mozilla.org
ac22cf0d43 still not part of the build; I think everything's there, though. Some further testing and I'll add it to the build
git-svn-id: svn://10.0.0.236/trunk@75625 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-05 02:13:59 +00:00
scc%mozilla.org
b4f3e207de still not part of the build; more work adding the new functions. More to come
git-svn-id: svn://10.0.0.236/trunk@75623 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-05 01:15:45 +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