205 Commits

Author SHA1 Message Date
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
c099dfea65 bug #78398: sr=waterson. Getting the new header file "nsAStringGenerator.h" exported to dist.
git-svn-id: svn://10.0.0.236/trunk@95783 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-23 03:31:23 +00:00
scc%mozilla.org
3ec01ebea0 bug #78398: sr=waterson, adding a new abstract type (this here's the new file it comes in) |nsAC?StringGenerator|
git-svn-id: svn://10.0.0.236/trunk@95782 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-23 03:29:48 +00:00
scc%mozilla.org
ffd6409fe7 bug #75220: r=vidr, sr=jst ... had just been waiting for the commercial fixes, and now mscott has landed those. Finally get rid of |nsLiteralC?String| and |nsLocalC?String|. Use |nsDependentC?String| now instead.
git-svn-id: svn://10.0.0.236/trunk@95777 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-23 02:44:46 +00:00
scc%mozilla.org
dd17908843 bug #63923: sr=sfraser, r=waterson (aka ``thrill-kitty''), casting to an abstract base prevents people on crack-baby platforms from using an |NS_LITERAL_STRING| (incompatibly) as an |nsAutoString|. Who's ready for a full rebuild?
git-svn-id: svn://10.0.0.236/trunk@95769 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-23 01:45:13 +00:00
scc%mozilla.org
fccb53ea7f ok, but make this local bustage fix into a global one
git-svn-id: svn://10.0.0.236/trunk@95666 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-22 08:43:30 +00:00
mkaply%us.ibm.com
bc8f7af020 Nope, didn't work - broke stuff
git-svn-id: svn://10.0.0.236/trunk@95657 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-22 04:24:18 +00:00
mkaply%us.ibm.com
a446cb4836 Valiant attempt to fix AIX and BeOS bustage
git-svn-id: svn://10.0.0.236/trunk@95654 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-22 03:36:31 +00:00
scc%mozilla.org
2449cc0679 bug #75220: sr=jst, r=vidur. Renaming the member function |Promises| to the more meaningful |IsDependentOn|.
git-svn-id: svn://10.0.0.236/trunk@95639 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-21 23:50:56 +00:00
scc%mozilla.org
b226abdbef bug #69872, sr=jst, r=jag. Make |nsDependentC?String|s rebindable.
git-svn-id: svn://10.0.0.236/trunk@95637 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-21 23:45:03 +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
dbaron%fas.harvard.edu
226a8a9ed9 Fix NS commercial Unix build bustage on some compilers by (at least temporarily) making PRUnichar always be equivalent to PRUint16 rather than sometimes being wchar_t. r=scc sr=brendan b=75544
git-svn-id: svn://10.0.0.236/trunk@95473 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-18 23:44:17 +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
3fefa47415 bug #75220: rs=brendan, r=axel@pike.org. fixing string names. export the new header files.
git-svn-id: svn://10.0.0.236/trunk@95126 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-16 12:38:41 +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
ce6222443e bug #75220: sr=jst, r=dr; rename |nsCommon[C]String| to |nsSharable[C]String|. Stop exporting the old header file "nsCommonString.h" (now that all users of the old name have been fixed)
git-svn-id: svn://10.0.0.236/trunk@95107 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-16 04:55:23 +00:00
scc%mozilla.org
b4be013eed bug #75220: sr=jst, r=dr; rename |nsCommon[C]String| to |nsSharable[C]String|. Fix all users of the old name.
git-svn-id: svn://10.0.0.236/trunk@95106 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-16 04:52:43 +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
7369553c7c bug #75220: sr=jst, r=dr; rename |nsCommon[C]String| to |nsSharable[C]String|. Export the new header file "nsSharableString.h".
git-svn-id: svn://10.0.0.236/trunk@95103 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-16 04:43:31 +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
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
46ad0c0eff bug #74726, partial fix, r=vidur, sr=jst: make |nsCommon[C]String| re-bindable; make constructors |explicit|; fix clients. bug #75169, r=jst, sr=waterson: fix string warnings on Windows; fix some typos
git-svn-id: svn://10.0.0.236/trunk@94617 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-11 08:41:21 +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
6c826b6f79 fix speedracer bustage once and for all
git-svn-id: svn://10.0.0.236/trunk@91080 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 01:47:55 +00:00
scc%mozilla.org
72ec93e781 fix speedracer bustage
git-svn-id: svn://10.0.0.236/trunk@91067 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 00:23:06 +00:00
scc%mozilla.org
f959d16949 partial fix for ports bustage
git-svn-id: svn://10.0.0.236/trunk@91059 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-02 22:42:49 +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
414ed7319d fix HPUX bustage, and additionally added some comments
git-svn-id: svn://10.0.0.236/trunk@90376 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-25 18:06:27 +00:00
disttsc%bart.nl
8874b002ef Fix Win32 bustage by adding NS_COM to declaration of StringAllocator_[char|wchar_t](), r/sr=scc
git-svn-id: svn://10.0.0.236/trunk@90353 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-25 02:26:33 +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
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
4c2db16544 bug #53209: remove |nsSharedString|. It was already out of the build last night, now it's time to CVS remove it
git-svn-id: svn://10.0.0.236/trunk@87915 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-24 19:47:45 +00:00
scc%mozilla.org
0be7c78830 attempting to fix build bustage on Solaris
git-svn-id: svn://10.0.0.236/trunk@87882 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-24 04:49:34 +00:00
scc%mozilla.org
c9f67a34b5 bug #53209: remove unused file from the build
git-svn-id: svn://10.0.0.236/trunk@87876 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-24 03:17:53 +00:00
scc%mozilla.org
745130da47 bug #67876: r=jst, sr=alecf. Added comment documenting `NULL' string infrastructure.
git-svn-id: svn://10.0.0.236/trunk@87874 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-24 03:11:23 +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
scc%mozilla.org
ce4e310532 bug #'s 69940 and 69289: r=dbaron, sr=waterson. Fix parameters to, templatization of |Substring()|.
git-svn-id: svn://10.0.0.236/trunk@87870 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-24 02:55:46 +00:00
scc%mozilla.org
cdf2240955 bug #67577: r=jag, sr=(ben, hyatt). short circuit full compare with length test
git-svn-id: svn://10.0.0.236/trunk@87781 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 06:28:13 +00:00
disttsc%bart.nl
aed241cdb6 Put strings in MODULE=string, sr=scc
git-svn-id: svn://10.0.0.236/trunk@87575 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-21 14:04:08 +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
b2890c0c6f MANIFEST files require Mac line endings
git-svn-id: svn://10.0.0.236/trunk@87346 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 10:15:47 +00:00
scc%mozilla.org
aeabe4c25e missed nsFragmentedString.h and .cpp in the initial check-in ... adding them
git-svn-id: svn://10.0.0.236/trunk@87345 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 08:55: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
39bb9d2a95 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@87338 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 07:42:20 +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
1ee3d0b751 fix bustage caused by access violations not caught in CodeWarrior <sorry>
git-svn-id: svn://10.0.0.236/trunk@86722 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-10 01:05:43 +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
dbaron%fas.harvard.edu
b7928862f7 Fix build bustage by removing extra right paren.
git-svn-id: svn://10.0.0.236/trunk@86446 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 03:04:46 +00:00