jaggernaut%netscape.com
85bf8c8fb4
Bug 53057: Removing implicit |CharT*| conversion operator for nsCString, r=dbaron, rs=scc
...
git-svn-id: svn://10.0.0.236/trunk@107850 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-10 22:00:31 +00:00
jband%netscape.com
861f4c54ac
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
...
git-svn-id: svn://10.0.0.236/trunk@107708 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-09 00:34:56 +00:00
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
e456dfae91
Add a comment explaining how to fix callers that trigger the null-termination assertion. r=jag rs=scc b=104651
...
git-svn-id: svn://10.0.0.236/trunk@107592 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-07 07:36:36 +00:00
dbaron%fas.harvard.edu
ab4b9ed8e0
Fix nsDependentString users who were passing non-NULL terminated buffers. b=104651 rr=jag rs=scc
...
git-svn-id: svn://10.0.0.236/trunk@107579 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-07 05:51:27 +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
b5cc350bd4
fix for minor leak bug 108640 r=jag, sr=sspitzer
...
git-svn-id: svn://10.0.0.236/trunk@107499 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-06 23:14:47 +00:00
alecf%netscape.com
71dee0899c
fix for bug 108597 - move mOwnsBuffer and mCharSize into smaller variables to reduce nsStr's overall size
...
r=jag, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@107478 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-06 22:50:13 +00:00
ducarroz%netscape.com
38011f6783
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
git-svn-id: svn://10.0.0.236/trunk@106694 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 14:42:41 +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
jaggernaut%netscape.com
e50f948785
Bug 105987: Clean up nsCharTraits.h, use slightly faster implementations where possible, r=dbaron, sr=scc.
...
git-svn-id: svn://10.0.0.236/trunk@106472 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-27 09:40:08 +00:00
jaggernaut%netscape.com
5f0668cf9d
Bug 105904, bug 105971, bug 105889, bug 105906: NS_ConvertUTF8toUCS2 hangs / segfaults. r=dbaron, rs=scc
...
git-svn-id: svn://10.0.0.236/trunk@106327 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 04:42:57 +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
alecf%netscape.com
44ffdedad3
for bug 100214 - make nsStr routines stop depending on nsCRT:: routines, to further reduce our dependency on unicharutil
...
r=jag, sr=scc
git-svn-id: svn://10.0.0.236/trunk@105795 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 20:49:39 +00:00
jaggernaut%netscape.com
7421efac1f
Bug 73292: Add const nsACString& constructor to NS_Convert(ASCII|UTF8)toUCS2. r=dbaron, sr=scc.
...
git-svn-id: svn://10.0.0.236/trunk@105601 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-17 05:17:53 +00:00
dbaron%fas.harvard.edu
f2bb49a853
Remove overloaded fputs functions, DebugDump, and (from nsCString only) ToCString). b=104763 r=jag rs=scc
...
git-svn-id: svn://10.0.0.236/trunk@105469 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 05:35:38 +00:00
dbaron%fas.harvard.edu
1382ac90eb
Making debugging code be |#ifdef DEBUG|. b=91036 r=harishd sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@105468 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 05:31:36 +00:00
jaggernaut%netscape.com
34e006d3a5
Remove dead code from obsolete string classes: ToNewString(), IsUnicode() and GetBuffer(). r=dbaron, rs=scc
...
git-svn-id: svn://10.0.0.236/trunk@105387 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-14 05:06:53 +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
0fe9a77221
Bug 104337: Remove nsPrivateReadableString from string hierarchy, r=dbaron, rs=scc.
...
git-svn-id: svn://10.0.0.236/trunk@105257 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-12 07:48:27 +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
ftang%netscape.com
6c3c50baf2
fix 96529. lazy load unicharutil for start up.
...
author=waterson r=ftang sr=brendan
git-svn-id: svn://10.0.0.236/trunk@105123 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 00:25:21 +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
51e0dc7a6c
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
...
git-svn-id: svn://10.0.0.236/trunk@104212 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 08:28:41 +00:00
gerv%gerv.net
13afb6d0f9
Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
...
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
jaggernaut%netscape.com
481ff2b35e
Bug 100764: remove NS_ConvertABCtoXYZ(CharT). r=dbaron, rs=scc
...
git-svn-id: svn://10.0.0.236/trunk@103710 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 09:37:13 +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
jaggernaut%netscape.com
1536b0881b
Remove #define nsString2 nsString and #define nsAutoString2 nsAutoString and fix last few uses of them. r=dbradley, rs=scc
...
git-svn-id: svn://10.0.0.236/trunk@102294 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 12:42:54 +00:00
jaggernaut%netscape.com
234588f481
Bug 98153: Remove SubsumeStr. r=dbaron, sr=scc
...
git-svn-id: svn://10.0.0.236/trunk@102292 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 10:46:45 +00:00
jaggernaut%netscape.com
ef4c7debee
Bug 94235: add NS_COM to declaration of nsPrintfCString. r=/sr= jst,scc
...
git-svn-id: svn://10.0.0.236/trunk@100656 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-09 09:27:47 +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
fbdb51c5e7
fixing ports bustage
...
git-svn-id: svn://10.0.0.236/trunk@98640 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-04 17:52:39 +00:00
scc%mozilla.org
ec04d01fa0
fixing build bustage (typo), thanks gcc 2.7.2.3 for instantiating my unused template member functions :-(
...
git-svn-id: svn://10.0.0.236/trunk@98633 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-04 07:04:17 +00:00
scc%mozilla.org
6142aa7617
bug #76846 : r=cls, build bustage fix for 64-bit platforms
...
git-svn-id: svn://10.0.0.236/trunk@98631 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-04 06:06:22 +00:00
jaggernaut%netscape.com
2573850e73
Bug 88413: Remove GetUnicode() from nsString. Begone! r=dbaron, sr=scc
...
git-svn-id: svn://10.0.0.236/trunk@98551 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-03 09:09:56 +00:00
jaggernaut%netscape.com
51b17b5bf0
Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
...
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.
nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)
git-svn-id: svn://10.0.0.236/trunk@98363 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-30 11:02:25 +00:00
dbaron%fas.harvard.edu
a67c8b2b66
Add hack to make functions that used to work with nsXPIDLString continue to work now that nsXPIDLString inherits from nsAString by adding inline methods to resolve ambiguity for compilers that don't support |explicit|. r=jaggernaut sr=waterson b=88411, 88420
...
git-svn-id: svn://10.0.0.236/trunk@98325 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-29 23:12:48 +00:00