Commit Graph

243 Commits

Author SHA1 Message Date
jaggernaut%netscape.com
6cb69b170f Bug 115671: Add faster To{Upper,Lower}Case for nsASingleFragment{C}String, r=dbaron, sr=dveditz, and ns{C}String, r=bbaetz, sr=scc 2001-12-23 02:56:41 +00:00
jaggernaut%netscape.com
cd66e519ad Backing myself out to see if I'm the cause of btek going from 1245ms to 1251ms. 2001-12-20 06:12:49 +00:00
jaggernaut%netscape.com
d86d275209 Bug 115671: Add (faster) To{Upper,Lower}Case for nsASingleFragmentStrings. r=dbaron, sr=dveditz 2001-12-20 02:15:35 +00:00
dbaron%fas.harvard.edu
458adf0b19 Fix nsSharableString::SetLength to correctly handle having a shared buffer. Override GetWritableFragment on nsSharableString (perhaps temporarily) to allow use of writing iterators on nsSharableString. b=114438 r=jag sr=jst 2001-12-11 03:33:09 +00:00
jaggernaut%netscape.com
ddc0048d69 Bug 114288: Add nsStringComparator parameter to nsAString::Equals to mirror Compare and provide a way to do CaseInsensitive Equals. r=dbaron, sr=jst 2001-12-10 10:10:44 +00:00
jaggernaut%netscape.com
83839f350e BUg 113228: Replace nsC?String::To(Lower|Upper)Case with global To(Lower|Upper)Case. r=dbaron, sr=jst 2001-12-08 07:08:38 +00:00
dbaron%fas.harvard.edu
cb52b37066 Copy my comment changes from nsAString to nsACString. b=104663 r=jag sr=scc 2001-11-28 06:06:43 +00:00
dbaron%fas.harvard.edu
824e7d22ca Make nsSharable[C]String writable by overriding appropriate methods. Ensure that it doesn't store null buffer handle pointer internally, and override get() on nsXPIDL[C]String for backwards-compatibility. Collapse nsSharedBufferHandle and nsFlexBufferHandle into nsSharedBufferHandle which knows its length but can't have a storage start distinct from its data start. Convert string users who were working around broken nsSharableString::Assign back to using it. b=104663, 100751, 74726 r=jag sr=scc 2001-11-28 05:22:57 +00:00
jaggernaut%netscape.com
1c82bd3f23 Bug 103662: Allow wide concatenation of defined string constants, r=dbaron, sr=scc 2001-11-26 05:59:35 +00:00
dbaron%fas.harvard.edu
e53bb3af2f Add a comment explaining how to fix callers that trigger the null-termination assertion. r=jag rs=scc b=104651 2001-11-07 07:36:36 +00:00
dbaron%fas.harvard.edu
3f306cd4c2 Fix nsDependentString users who were passing non-NULL terminated buffers. b=104651 rr=jag rs=scc 2001-11-07 05:51:27 +00:00
dbaron%fas.harvard.edu
bfb2f49916 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 2001-11-07 04:12:20 +00:00
alecf%netscape.com
ee9a106589 Back out my backout, now that mac seems to be fixed 2001-10-30 03:39:18 +00:00
alecf%netscape.com
acc45c0027 Back out my checkin because !(*@3 PSM is screwed. 2001-10-30 02:41:48 +00:00
alecf%netscape.com
0307c79aff bug 100214 - Remove string dependency on XPCOM routines that depend on unicharutil, r=jag sr=scc 2001-10-29 23:16:23 +00:00
jaggernaut%netscape.com
8f8d8dc7e1 Bug 70083: add nsASingleFragmentString to hierarchy. r=dbaron, sr=scc 2001-10-28 08:24:55 +00:00
jaggernaut%netscape.com
a2008a7538 Bug 70083: add nsASingleFragmentString to hierarchy. r=dbaron, sr=scc 2001-10-27 11:40:01 +00:00
jaggernaut%netscape.com
3757c27e22 Bug 105987: Clean up nsCharTraits.h, use slightly faster implementations where possible, r=dbaron, sr=scc. 2001-10-27 09:40:08 +00:00
jaggernaut%netscape.com
740385af43 Use typedefs throughout the string code. r=dbaron, sr=scc 2001-10-13 15:01:21 +00:00
jaggernaut%netscape.com
81a155af2c Bug 104337: Remove nsPrivateReadableString from string hierarchy, r=dbaron, rs=scc. 2001-10-12 07:48:27 +00:00
jaggernaut%netscape.com
d845c2f33a Bug 104337: Remove nsPrivateSharableString from string hierarchy. r=dbaron, rs=scc. 2001-10-12 07:34:28 +00:00
jaggernaut%netscape.com
787bb78541 We'll want support for IsVoid and SetIsVoid on nsACString too. r=jst,dbaron, rs=scc. 2001-10-10 07:51:16 +00:00
jaggernaut%netscape.com
e11ae39556 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 2001-10-02 10:18:31 +00:00
jaggernaut%netscape.com
0b8c9a35be Removing dead code, r=dbaron, rs=scc 2001-09-29 10:18:32 +00:00
gerv%gerv.net
4e12e44b2f Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
jaggernaut%netscape.com
2c068235b1 Bug 100750: string iterator users should use correct typedefs. r=dbaron, rs=scc 2001-09-25 09:35:50 +00:00
jaggernaut%netscape.com
dec9bd6a52 Remove dead string files from the tree, r=dbaron, rs=scc 2001-09-24 23:55:19 +00:00
jaggernaut%netscape.com
74cd17660e Add support for IsVoid and SetIsVoid, add NS_COM to nsAStringGenerator. r=jst, rs=scc. 2001-09-14 08:23:46 +00:00
alecf%netscape.com
1f32af91df string changes for MOZ_TRACK_MODULE_DEPS - bug 98371 r=cls 2001-09-06 04:06:10 +00:00
jaggernaut%netscape.com
7f2d9f66c8 Bug 94235: add NS_COM to declaration of nsPrintfCString. r=/sr= jst,scc 2001-08-09 09:27:47 +00:00
scc%mozilla.org
be36f3d342 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. 2001-07-12 06:48:23 +00:00
scc%mozilla.org
3650041248 fixing ports bustage 2001-07-04 17:52:39 +00:00
scc%mozilla.org
26d40ef59f fixing build bustage (typo), thanks gcc 2.7.2.3 for instantiating my unused template member functions :-( 2001-07-04 07:04:17 +00:00
scc%mozilla.org
1ab59fad3a bug #76846: r=cls, build bustage fix for 64-bit platforms 2001-07-04 06:06:22 +00:00
scc%mozilla.org
2b8f854ed9 OK, Windows is going to complain about the change from unsigned to signed, so we'll save that for later 2001-06-29 12:58:44 +00:00
scc%mozilla.org
244db7b43b 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). 2001-06-29 12:47:43 +00:00
scc%mozilla.org
0f00c47797 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 2001-06-29 11:25:08 +00:00
scc%mozilla.org
faa968510f bug #75164: sr={brendan, sfraser}. Adding the generators |nsSubstituteC?String|, which will replace |ReplaceSubstring|. Also fixing a declaration in "nsAStringGenerator.h". 2001-05-23 06:49:51 +00:00
scc%mozilla.org
6942d895f6 bug #78398: sr=waterson. Getting the new header file "nsAStringGenerator.h" exported to dist. 2001-05-23 03:31:23 +00:00
scc%mozilla.org
1a7a0537da bug #78398: sr=waterson, adding a new abstract type (this here's the new file it comes in) |nsAC?StringGenerator| 2001-05-23 03:29:48 +00:00
scc%mozilla.org
e5f3c3cd03 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. 2001-05-23 02:44:46 +00:00
scc%mozilla.org
1090965382 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? 2001-05-23 01:45:13 +00:00
scc%mozilla.org
ced4be648e ok, but make this local bustage fix into a global one 2001-05-22 08:43:30 +00:00
mkaply%us.ibm.com
c69414db14 Nope, didn't work - broke stuff 2001-05-22 04:24:18 +00:00
mkaply%us.ibm.com
8f62bc189c Valiant attempt to fix AIX and BeOS bustage 2001-05-22 03:36:31 +00:00
scc%mozilla.org
7f6ec20ca4 bug #75220: sr=jst, r=vidur. Renaming the member function |Promises| to the more meaningful |IsDependentOn|. 2001-05-21 23:50:56 +00:00
scc%mozilla.org
ea7904c94f bug #69872, sr=jst, r=jag. Make |nsDependentC?String|s rebindable. 2001-05-21 23:45:03 +00:00
jst%netscape.com
77aeecc056 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. 2001-05-19 11:27:30 +00:00
dbaron%fas.harvard.edu
dc77e98525 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 2001-05-18 23:44:17 +00:00
vidur%netscape.com
3c4fee2984 Changes necessary for fixes to bug 18843. Better handling of string implementations without an underlying buffer handle. r/sr=scc@mozilla.org 2001-05-17 05:53:16 +00:00