Commit Graph
588 Commits
Author SHA1 Message Date
[email protected] 0e87d85692 Make nsSharableString::Assign set the length correctly when it's reusing its existing buffer. b=112483 r=scc sr=alecf 2001-12-03 23:14:15 +00:00
[email protected] 4f9df4c97c Make nsSharableString::Assign set the length when it's reusing its existing buffer. b=112483 r=jag sr=hyatt 2001-12-03 03:54:32 +00:00
[email protected] 7afcb0f13d move UTF8traits to the public realm for later consumption
r=dbaron r=jag (the string experts)
for bug 110531
2001-11-29 02:53:48 +00:00
[email protected] 9876145627 Copy my comment changes from nsAString to nsACString. b=104663 r=jag sr=scc 2001-11-28 06:06:43 +00:00
[email protected] 3e64e33073 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
[email protected] a0ee9b5809 Checking in alecf's fix for bug 112209, string code performance regression. [email protected], [email protected] 2001-11-28 04:59:29 +00:00
[email protected] f97e2d99fd Bug 103662: Allow wide concatenation of defined string constants, r=dbaron, sr=scc 2001-11-26 05:59:35 +00:00
[email protected] 5b18dcd3d4 Rename 'install' build phase to 'libs'.
Bug #56601 r=pavlov
2001-11-21 09:49:41 +00:00
[email protected] e8068c5c09 Bug 98213: Make data members of nsStr protected and clean up code. r=dbaron, sr=alecf 2001-11-14 12:35:52 +00:00
[email protected] b5a79f3201 Bug 53057: Removing implicit |CharT*| conversion operator for nsCString, r=dbaron, rs=scc 2001-11-10 22:00:31 +00:00
[email protected] aae71e3d4f fix bug 108915 to unbust XPCOM_STANDALONE. This #ifdef's out calls into code that is only available when i18n is part of the build. This has no impact on the browser or gecko embeddings. r=jst sr=alecf a=blizzard 2001-11-09 00:34:56 +00:00
[email protected] d5eada9cf2 Bug 108734: nsCString::Replace is broken. r=darin, sr=scc 2001-11-07 07:43:11 +00:00
[email protected] 052d18840c 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
[email protected] 0c2e347a7c Fix nsDependentString users who were passing non-NULL terminated buffers. b=104651 rr=jag rs=scc 2001-11-07 05:51:27 +00:00
[email protected] 130be4eb02 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
[email protected] d6c6fb6b98 fix for minor leak bug 108640 r=jag, sr=sspitzer 2001-11-06 23:14:47 +00:00
[email protected] 5fdbdabc9e fix for bug 108597 - move mOwnsBuffer and mCharSize into smaller variables to reduce nsStr's overall size
r=jag, sr=waterson
2001-11-06 22:50:13 +00:00
[email protected] fa60d2a93f Fix for bug 86089. Replace attachments string in message compose fields by an array of nsIMsgAttachment objects. This architecture change allow us to dissocie the attachment name from the attachment url. We can also now carry over extra information like the attachment content type or Mac file type. This check in contains also fix for related bug 52428, bug 80895, bug 87765 and bug 89090.
R=varada, SR=sspitzer
2001-10-30 14:42:41 +00:00
[email protected] bc16a5bac1 Back out my backout, now that mac seems to be fixed 2001-10-30 03:39:18 +00:00
[email protected] 4c0d3aaa50 Back out my checkin because !(*@3 PSM is screwed. 2001-10-30 02:41:48 +00:00
[email protected] 4239884c1d bug 100214 - Remove string dependency on XPCOM routines that depend on unicharutil, r=jag sr=scc 2001-10-29 23:16:23 +00:00
[email protected] c68d22e6fd Bug 70083: add nsASingleFragmentString to hierarchy. r=dbaron, sr=scc 2001-10-28 08:24:55 +00:00
[email protected] b57abe46de Bug 70083: add nsASingleFragmentString to hierarchy. r=dbaron, sr=scc 2001-10-27 11:40:01 +00:00
[email protected] cf7d7a79de Bug 105987: Clean up nsCharTraits.h, use slightly faster implementations where possible, r=dbaron, sr=scc. 2001-10-27 09:40:08 +00:00
[email protected] 0d74ecae73 Bug 105904, bug 105971, bug 105889, bug 105906: NS_ConvertUTF8toUCS2 hangs / segfaults. r=dbaron, rs=scc 2001-10-26 04:42:57 +00:00
[email protected] 36dc29433b Fixing blocker bug 106474. Make nsAFlatString::GetReadableFragment() deal with a null buffer handles correctly. [email protected], [email protected] 2001-10-24 19:29:42 +00:00
[email protected] 73498076c7 for bug 100214 - make nsStr routines stop depending on nsCRT:: routines, to further reduce our dependency on unicharutil
r=jag, sr=scc
2001-10-19 20:49:39 +00:00
[email protected] 7f598b2019 Bug 73292: Add const nsACString& constructor to NS_Convert(ASCII|UTF8)toUCS2. r=dbaron, sr=scc. 2001-10-17 05:17:53 +00:00
[email protected] 5cd04e5165 Remove overloaded fputs functions, DebugDump, and (from nsCString only) ToCString). b=104763 r=jag rs=scc 2001-10-16 05:35:38 +00:00
[email protected] d0430dd000 Making debugging code be |#ifdef DEBUG|. b=91036 r=harishd sr=jst 2001-10-16 05:31:36 +00:00
[email protected] c8bce476d4 Remove dead code from obsolete string classes: ToNewString(), IsUnicode() and GetBuffer(). r=dbaron, rs=scc 2001-10-14 05:06:53 +00:00
[email protected] e76b8751f7 Use typedefs throughout the string code. r=dbaron, sr=scc 2001-10-13 15:01:21 +00:00
[email protected] dab37d71fb Bug 104337: Remove nsPrivateReadableString from string hierarchy, r=dbaron, rs=scc. 2001-10-12 07:48:27 +00:00
[email protected] 935d42044b Bug 104337: Remove nsPrivateSharableString from string hierarchy. r=dbaron, rs=scc. 2001-10-12 07:34:28 +00:00
[email protected] f033ff16b9 fix 96529. lazy load unicharutil for start up.
author=waterson r=ftang sr=brendan
2001-10-11 00:25:21 +00:00
[email protected] f11e34b6d8 We'll want support for IsVoid and SetIsVoid on nsACString too. r=jst,dbaron, rs=scc. 2001-10-10 07:51:16 +00:00
[email protected] e00c540f43 Okay, we need |typename| for HP-UX. Adding. 2001-10-02 11:15:45 +00:00
[email protected] ae7068a9e4 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
[email protected] 5462e1841d Removing dead code, r=dbaron, rs=scc 2001-09-29 10:18:32 +00:00
[email protected] a29a08f141 Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc 2001-09-29 08:28:41 +00:00
[email protected] 58d409fba9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
[email protected] b606517ef6 Bug 100764: remove NS_ConvertABCtoXYZ(CharT). r=dbaron, rs=scc 2001-09-25 09:37:13 +00:00
[email protected] d171d136db Bug 100750: string iterator users should use correct typedefs. r=dbaron, rs=scc 2001-09-25 09:35:50 +00:00
[email protected] e35c7a3152 Remove dead string files from the tree, r=dbaron, rs=scc 2001-09-24 23:55:19 +00:00
[email protected] f0123ccc11 One module per line for REQUIRES. r=/sr=alecf 2001-09-18 22:01:13 +00:00
[email protected] 6e5e308f2e Bug 73353: splitting the modules on the REQUIRES lines in Makefile.in across multiple lines to more clearly show the changes made. sr=alecf 2001-09-18 13:41:47 +00:00
[email protected] 1068a7e9e3 Add support for IsVoid and SetIsVoid, add NS_COM to nsAStringGenerator. r=jst, rs=scc. 2001-09-14 08:23:46 +00:00
[email protected] bdd2d28297 string changes for MOZ_TRACK_MODULE_DEPS - bug 98371 r=cls 2001-09-06 04:06:10 +00:00
[email protected] 90f10da006 Remove #define nsString2 nsString and #define nsAutoString2 nsAutoString and fix last few uses of them. r=dbradley, rs=scc 2001-09-05 12:42:54 +00:00
[email protected] bc21507846 Bug 98153: Remove SubsumeStr. r=dbaron, sr=scc 2001-09-05 10:46:45 +00:00