102 Commits

Author SHA1 Message Date
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
vidur%netscape.com
0d991aa43f Changes necessary for fixes to bug 18843. Better handling of string implementations without an underlying buffer handle. r/sr=scc@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@95227 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-17 05:53:16 +00:00
scc%mozilla.org
4217ad6b80 bug #75220: rs=brendan, r=axel@pike.org. fixing string names. add the renamed implementations to the build.
git-svn-id: svn://10.0.0.236/trunk@95129 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-16 12:46:47 +00:00
scc%mozilla.org
e42403ea50 bug #75220: rs=brendan, r=axel@pike.org. fixing string names.
git-svn-id: svn://10.0.0.236/trunk@95124 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-16 12:36:35 +00:00
scc%mozilla.org
73f506738e bug #75220: sr=jst, r=dr; rename |nsCommon[C]String| to |nsSharable[C]String|. cvs remove the obsolete files.
git-svn-id: svn://10.0.0.236/trunk@95113 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-16 06:57:02 +00:00
scc%mozilla.org
ec1b27c490 bug #75220: sr=jst, r=dr; rename |nsCommon[C]String| to |nsSharable[C]String|. Stop building the old implementation in "nsCommonString.cpp", and |typedef| the old type to an alias for |nsSharable[C]String|.
git-svn-id: svn://10.0.0.236/trunk@95105 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-16 04:49:20 +00:00
scc%mozilla.org
5cd9ea9a27 bug #75220: sr=jst, r=dr; rename |nsCommon[C]String| to |nsSharable[C]String|. Build the new implementation in "nsSharableString.cpp".
git-svn-id: svn://10.0.0.236/trunk@95104 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-16 04:45:59 +00:00
scc%mozilla.org
1256e0e034 bug #75220: sr=jst, r=dr; rename |nsCommon[C]String| to |nsSharable[C]String|
git-svn-id: svn://10.0.0.236/trunk@95100 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-16 04:41:32 +00:00
scc%mozilla.org
9dd77648bd fixing bustage: alright, Linux isn't falling for the old |typename| trick. Guess I have to pull this out into a separate parameterized type.
git-svn-id: svn://10.0.0.236/trunk@94809 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-13 07:03:29 +00:00
scc%mozilla.org
511cefd56a fixing bustage: adding |typename| where needed
git-svn-id: svn://10.0.0.236/trunk@94806 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-13 05:50:11 +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
c599e4011d bug #70740: r=mjudge, sr=sfraser. Provide case-insensitive comparison for all string classes
git-svn-id: svn://10.0.0.236/trunk@92664 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-18 05:20:06 +00:00
scc%mozilla.org
c0e631b1ea bug #74866, r=dbaron, sr=shaver. |nsPromiseFlat[C]String| needs to forward more functions when the promised string doesn't implement the buffer handle magic, i.e., in |ns[C]String| derived classes. Also change |char_type| back to the real type because jag suggests it's more readable that way.
git-svn-id: svn://10.0.0.236/trunk@91574 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-06 14:04:29 +00:00
scc%mozilla.org
7cbb7b5ebd attempting to fix AIX, et al, bustage
git-svn-id: svn://10.0.0.236/trunk@91061 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-02 23:05:55 +00:00
scc%mozilla.org
d5cfafb98f fix speedracer bustage; r=jag and jst
git-svn-id: svn://10.0.0.236/trunk@91052 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-02 22:00:34 +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
3b6f8d16d6 bug #73297, r=shaver, sr=darin. Give string buffers an allocator hook to tie into js et al
git-svn-id: svn://10.0.0.236/trunk@90352 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-25 01:14:26 +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
disttsc%bart.nl
edc70961f6 Mass REQUIRES update to synch up with string lib and xul changes in an attempt to fix senna bustage. r=jst, sr=cls
git-svn-id: svn://10.0.0.236/trunk@87655 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 09:35:51 +00:00
scc%mozilla.org
16239c89d8 fix build bustage on senna (ports) by adding |REQUIRES|. r=jag
git-svn-id: svn://10.0.0.236/trunk@87573 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-21 12:35:31 +00:00
scc%mozilla.org
db3da69269 bug #59429: adding directories, readme's, a mac project, and other things that will be filled in as I move the string code out of xpcom and into its own library. This is not yet part of the build, but jst reviewed it for me anyway. I'll get appropriate review and super-review before adding this directory to the module and to the build.
git-svn-id: svn://10.0.0.236/trunk@87352 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 12:06:34 +00:00
scc%mozilla.org
5d8907dc7b bug #59429: adding directories, readme's, a mac project, and other things that will be filled in as I move the string code out of xpcom and into its own library. This is not yet part of the build, but jst reviewed it for me anyway. I'll get appropriate review and super-review before adding this directory to the module and to the build.
git-svn-id: svn://10.0.0.236/trunk@87344 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 08:54:09 +00:00
scc%mozilla.org
c1d8f1bc86 bug #66562: r=harish, sr=brendan, a=blizzard. Make |document.write| work.
git-svn-id: svn://10.0.0.236/trunk@86935 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-13 21:26:58 +00:00
scc%mozilla.org
9ffaf9da8b bug #66562: r=harishd, sr=brendan, a=brendan. Allow insertion into sliding string buffers
git-svn-id: svn://10.0.0.236/trunk@86715 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-10 00:02:28 +00:00
scc%mozilla.org
60326ad647 bug #66278: r=danm, sr=alecf. Fix signed vs. unsigned warngins in |nsFragmentedString::SetLength|
git-svn-id: svn://10.0.0.236/trunk@86350 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 23:00:39 +00:00
jst%netscape.com
9288eb059b Checking in scc's fix for blocker bug 62818, nsSlidingSubstring::GetReadableFragment(..., kFragmentAt, ...) wasn't implemented and that caused a crash when serializing HTML to plain text. r=me.
git-svn-id: svn://10.0.0.236/trunk@83653 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-14 22:16:10 +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
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
3dfbe8d7b7 finishing up the special string class for the parser
git-svn-id: svn://10.0.0.236/trunk@78719 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 05:24:49 +00:00
scc%mozilla.org
0b82101f78 fixing some bugs in the new parser string code; changing some names
git-svn-id: svn://10.0.0.236/trunk@78621 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 11:31:04 +00:00
scc%mozilla.org
4e5ca44047 added method to make linking possible :-)
git-svn-id: svn://10.0.0.236/trunk@78620 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 10:30:49 +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
8ba6b76fcc nobody uses |nsFragmentedString| as yet ... changing it now to be based on the new work from |nsSlidingString|/|nsSlidingSubstring| for the parser
git-svn-id: svn://10.0.0.236/trunk@78602 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 06:42:45 +00:00
scc%mozilla.org
0734b418da adding a |#if|d out hunk of code to remind me of something later
git-svn-id: svn://10.0.0.236/trunk@78601 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 06:40:49 +00:00
scc%mozilla.org
7b2818e2bd closer to getting the parser strings in; these files are still not part of the build
git-svn-id: svn://10.0.0.236/trunk@78600 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 06:35:16 +00:00
scc%mozilla.org
f40045b221 more work towards a working |nsSlidingString|, |nsSlidingSubstring| for the parser, these files are not yet part of the build
git-svn-id: svn://10.0.0.236/trunk@78583 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 04:42:19 +00:00
scc%mozilla.org
31b28b9902 adding license and include guards
git-svn-id: svn://10.0.0.236/trunk@78555 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 00:02:48 +00:00
scc%mozilla.org
adcba910bf not yet part of the build, this is the bulk of the work for the special parser strings
git-svn-id: svn://10.0.0.236/trunk@78553 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 23:54:23 +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
cf1b290be1 not part of the build; temporarily patching these files to use the old (what is currently in the tree) |GetReadableFragment| scheme, so that clients can start using this now both on the tip and on the DOMAPI... branch
git-svn-id: svn://10.0.0.236/trunk@76579 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 21:07:45 +00:00
scc%mozilla.org
c91876a661 not yet part of the build, this new class provides a more consistent and flexible answer to the need for functions like |AppendInt| and |AppendFloat|. It is a short readable string produced with printf.
git-svn-id: svn://10.0.0.236/trunk@76526 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 01:08:30 +00:00
scc%mozilla.org
2afa96eead not part of the build; further work on multi-fragment strings. Moved the bulk of the template implementation to the header file. This file needs to continue to exist for when I finally un-templatize the interfaces
git-svn-id: svn://10.0.0.236/trunk@75854 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 02:48:27 +00:00
scc%mozilla.org
ac6dc5a34a not part of the build yet; initial work on multi-fragment strings
git-svn-id: svn://10.0.0.236/trunk@75737 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 00:14:14 +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