81 Commits

Author SHA1 Message Date
jaggernaut%netscape.com
47ed3411c3 Bug 108734: nsCString::Replace is broken. r=darin, sr=scc
git-svn-id: svn://10.0.0.236/trunk@107594 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-07 07:43:11 +00:00
dbaron%fas.harvard.edu
52bea38360 Add assertions that users of nsDependentC?String meet the requirements of nsAFlatC?String. Add nsDependentSingleFragmentC?Substring for users that don't. Additional cleanup after bug 100214. b=104651 r=jag sr=scc
git-svn-id: svn://10.0.0.236/trunk@107556 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-07 04:12:20 +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
fbfa1c9edc Bug 70083: add nsASingleFragmentString to hierarchy. r=dbaron, sr=scc
git-svn-id: svn://10.0.0.236/trunk@106505 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-28 08:24:55 +00:00
jaggernaut%netscape.com
9851f5a7fa Bug 70083: add nsASingleFragmentString to hierarchy. r=dbaron, sr=scc
git-svn-id: svn://10.0.0.236/trunk@106474 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-27 11:40:01 +00:00
jst%netscape.com
cd19286dfb Fixing blocker bug 106474. Make nsAFlatString::GetReadableFragment() deal with a null buffer handles correctly. r=kin@netscape.com, sr=scc@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@106189 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 19:29:42 +00:00
jaggernaut%netscape.com
39042c626f Use typedefs throughout the string code. r=dbaron, sr=scc
git-svn-id: svn://10.0.0.236/trunk@105374 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-13 15:01:21 +00:00
jaggernaut%netscape.com
17085b914f Bug 104337: Remove nsPrivateSharableString from string hierarchy. r=dbaron, rs=scc.
git-svn-id: svn://10.0.0.236/trunk@105256 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-12 07:34:28 +00:00
jaggernaut%netscape.com
386b4306b6 We'll want support for IsVoid and SetIsVoid on nsACString too. r=jst,dbaron, rs=scc.
git-svn-id: svn://10.0.0.236/trunk@105026 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 07:51:16 +00:00
jaggernaut%netscape.com
a4f043b425 Okay, we need |typename| for HP-UX. Adding.
git-svn-id: svn://10.0.0.236/trunk@104414 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 11:15:45 +00:00
jaggernaut%netscape.com
ea5b2d6296 Bug 102523: Non-ASCII characters are showing up as '?'s in certain cases because the ASCII to UCS2 code which we recently started using more was doing an incorrect conversion. r=bbaetz, r=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@104413 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 10:18:31 +00:00
jaggernaut%netscape.com
a95627f25b Removing dead code, r=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@104216 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 10:18:32 +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
jaggernaut%netscape.com
5fc8712864 Remove dead string files from the tree, r=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@103661 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-24 23:55:19 +00:00
jaggernaut%netscape.com
8a87c13848 One module per line for REQUIRES. r=/sr=alecf
git-svn-id: svn://10.0.0.236/trunk@103116 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 22:01:13 +00:00
jaggernaut%netscape.com
8b71ae9c91 Bug 73353: splitting the modules on the REQUIRES lines in Makefile.in across multiple lines to more clearly show the changes made. sr=alecf
git-svn-id: svn://10.0.0.236/trunk@103093 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 13:41:47 +00:00
jaggernaut%netscape.com
cbf6249310 Add support for IsVoid and SetIsVoid, add NS_COM to nsAStringGenerator. r=jst, rs=scc.
git-svn-id: svn://10.0.0.236/trunk@102910 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-14 08:23:46 +00:00
alecf%netscape.com
ab0aba9085 string changes for MOZ_TRACK_MODULE_DEPS - bug 98371 r=cls
git-svn-id: svn://10.0.0.236/trunk@102385 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 04:06:10 +00:00
scc%mozilla.org
2ee4564df2 bug #90981 (top-crash): sr=mscott, rs=waterson. the new |nsXPIDLC?String| implementation doesn't always have a buffer handle to give up. |BeginReading| won't do what you want in this case, so modify |do_AssignFromReadable| to elide copies from empty strings.
git-svn-id: svn://10.0.0.236/trunk@99334 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-16 20:29:30 +00:00
scc%mozilla.org
19f12c4578 bug #90394: r=dbaron, sr=asa(?). A simple fix to a big leak when |nsXPIDLC?String|s are never accessed after assignment, deallocation failed. By storing the initial pointer in the _storage_ start slot, this is avoided.
git-svn-id: svn://10.0.0.236/trunk@99113 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-12 06:48:23 +00:00
scc%mozilla.org
804e3b5501 fixing linux crasher and hpux build bustage
git-svn-id: svn://10.0.0.236/trunk@98284 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-29 15:56:03 +00:00
scc%mozilla.org
09a45773e9 bug #74726: sr=waterson, r=beard. Make |nsXPIDLC?String| inherit from |nsSharableC?String|, the new implementation is now in the string hierarchy (and out of string/obsolete).
git-svn-id: svn://10.0.0.236/trunk@98275 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-29 12:47:43 +00:00
scc%mozilla.org
ee60a98c74 bug #74726: sr=waterson, r=beard. Here's the new version of |nsXPIDLC?String| in all new files, and a factored header that sets up debugging defines. These files are not yet part of the build, but will become so with my next checkin
git-svn-id: svn://10.0.0.236/trunk@98273 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-29 11:25:08 +00:00
dbaron%fas.harvard.edu
c203792c3d To improve performance, change string iterator postfix ++ to prefix ++ when used as a statement. b=78032 r=peterv, scc, harishd, dmose sr=hyatt a=asa
git-svn-id: svn://10.0.0.236/trunk@97460 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-19 22:38:45 +00:00
cls%seawood.org
88aedd461b Replaced NO_SHARED_LIB & NO_STATIC_LIB with BUILD_SHARED_LIBS, BUILD_STATIC_LIBS, FORCE_STATIC_LIB & FORCE_SHARED_LIB. Added FORCE_USE_PIC.
Changes allow us to have a finer control over which parts of the tree are built with PIC.  Part of the static build branch landing.
Bug #46775 r=mcafee a=leaf


git-svn-id: svn://10.0.0.236/trunk@97363 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-18 22:10:38 +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
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
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