dbaron%fas.harvard.edu
e03df3321d
Fix appending to nsSharableString by always null-terminating in SetLength. b=113188 r=jag sr=jst
2001-12-08 22:50:34 +00:00
jaggernaut%netscape.com
c892a468bd
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
5884b2407f
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
dbaron%fas.harvard.edu
c4a5d74558
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
alecf%netscape.com
0c69f6d840
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
dbaron%fas.harvard.edu
2337f74d47
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
88c03c4196
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
jst%netscape.com
16afd7e663
Checking in alecf's fix for bug 112209, string code performance regression. r=dbaron@netscape.com, sr=jst@netscape.com
2001-11-28 04:59:29 +00:00
jaggernaut%netscape.com
2ee5922003
Bug 103662: Allow wide concatenation of defined string constants, r=dbaron, sr=scc
2001-11-26 05:59:35 +00:00
seawood%netscape.com
d8927fcc61
Rename 'install' build phase to 'libs'.
...
Bug #56601 r=pavlov
2001-11-21 09:49:41 +00:00
jaggernaut%netscape.com
790c58aae5
Bug 98213: Make data members of nsStr protected and clean up code. r=dbaron, sr=alecf
2001-11-14 12:35:52 +00:00
jaggernaut%netscape.com
4e57c134bf
Bug 53057: Removing implicit |CharT*| conversion operator for nsCString, r=dbaron, rs=scc
2001-11-10 22:00:31 +00:00
jband%netscape.com
53ec7f1ca3
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
jaggernaut%netscape.com
193297bee0
Bug 108734: nsCString::Replace is broken. r=darin, sr=scc
2001-11-07 07:43:11 +00:00
dbaron%fas.harvard.edu
1de2e44c86
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
6f23659d77
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
c0623fdbcd
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
7d0fba4ac4
fix for minor leak bug 108640 r=jag, sr=sspitzer
2001-11-06 23:14:47 +00:00
alecf%netscape.com
61f5ed73c5
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
ducarroz%netscape.com
ed58417ba8
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
alecf%netscape.com
3d9cdf4e49
Back out my backout, now that mac seems to be fixed
2001-10-30 03:39:18 +00:00
alecf%netscape.com
a961df68cd
Back out my checkin because !(*@3 PSM is screwed.
2001-10-30 02:41:48 +00:00
alecf%netscape.com
567b9d0c84
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
c79a0759cb
Bug 70083: add nsASingleFragmentString to hierarchy. r=dbaron, sr=scc
2001-10-28 08:24:55 +00:00
jaggernaut%netscape.com
93dec3cbd7
Bug 70083: add nsASingleFragmentString to hierarchy. r=dbaron, sr=scc
2001-10-27 11:40:01 +00:00
jaggernaut%netscape.com
cad4ce97bb
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
79727011d4
Bug 105904, bug 105971, bug 105889, bug 105906: NS_ConvertUTF8toUCS2 hangs / segfaults. r=dbaron, rs=scc
2001-10-26 04:42:57 +00:00
jst%netscape.com
00a18d1635
Fixing blocker bug 106474. Make nsAFlatString::GetReadableFragment() deal with a null buffer handles correctly. r=kin@netscape.com, sr=scc@mozilla.org
2001-10-24 19:29:42 +00:00
alecf%netscape.com
8d65560bdd
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
jaggernaut%netscape.com
d25f8986e8
Bug 73292: Add const nsACString& constructor to NS_Convert(ASCII|UTF8)toUCS2. r=dbaron, sr=scc.
2001-10-17 05:17:53 +00:00
dbaron%fas.harvard.edu
ffdfa54db5
Remove overloaded fputs functions, DebugDump, and (from nsCString only) ToCString). b=104763 r=jag rs=scc
2001-10-16 05:35:38 +00:00
dbaron%fas.harvard.edu
3dac3645cb
Making debugging code be |#ifdef DEBUG|. b=91036 r=harishd sr=jst
2001-10-16 05:31:36 +00:00
jaggernaut%netscape.com
ff64daf338
Remove dead code from obsolete string classes: ToNewString(), IsUnicode() and GetBuffer(). r=dbaron, rs=scc
2001-10-14 05:06:53 +00:00
jaggernaut%netscape.com
2d7e8254e7
Use typedefs throughout the string code. r=dbaron, sr=scc
2001-10-13 15:01:21 +00:00
jaggernaut%netscape.com
00d59165c5
Bug 104337: Remove nsPrivateReadableString from string hierarchy, r=dbaron, rs=scc.
2001-10-12 07:48:27 +00:00
jaggernaut%netscape.com
25d44f5865
Bug 104337: Remove nsPrivateSharableString from string hierarchy. r=dbaron, rs=scc.
2001-10-12 07:34:28 +00:00
ftang%netscape.com
a2d9cc3f48
fix 96529. lazy load unicharutil for start up.
...
author=waterson r=ftang sr=brendan
2001-10-11 00:25:21 +00:00
jaggernaut%netscape.com
49db831c73
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
5ee820f275
Okay, we need |typename| for HP-UX. Adding.
2001-10-02 11:15:45 +00:00
jaggernaut%netscape.com
acb7f26df3
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
aadccb6c44
Removing dead code, r=dbaron, rs=scc
2001-09-29 10:18:32 +00:00
jaggernaut%netscape.com
fdc4078bc4
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
gerv%gerv.net
f385eb981a
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
8d20ea55be
Bug 100764: remove NS_ConvertABCtoXYZ(CharT). r=dbaron, rs=scc
2001-09-25 09:37:13 +00:00
jaggernaut%netscape.com
ec980ce4fb
Bug 100750: string iterator users should use correct typedefs. r=dbaron, rs=scc
2001-09-25 09:35:50 +00:00
jaggernaut%netscape.com
c260906e58
Remove dead string files from the tree, r=dbaron, rs=scc
2001-09-24 23:55:19 +00:00
jaggernaut%netscape.com
e25262c61f
One module per line for REQUIRES. r=/sr=alecf
2001-09-18 22:01:13 +00:00
jaggernaut%netscape.com
3826eb9902
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
jaggernaut%netscape.com
7a432ea951
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
a03ce41ec0
string changes for MOZ_TRACK_MODULE_DEPS - bug 98371 r=cls
2001-09-06 04:06:10 +00:00
jaggernaut%netscape.com
56490a5e26
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
jaggernaut%netscape.com
5979297126
Bug 98153: Remove SubsumeStr. r=dbaron, sr=scc
2001-09-05 10:46:45 +00:00
jaggernaut%netscape.com
1d71712002
Bug 94235: add NS_COM to declaration of nsPrintfCString. r=/sr= jst,scc
2001-08-09 09:27:47 +00:00
scc%mozilla.org
efa96a34fb
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.
2001-07-16 20:29:30 +00:00
scc%mozilla.org
8aa9c500bd
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
073bbd5813
fixing ports bustage
2001-07-04 17:52:39 +00:00
scc%mozilla.org
6f91164cb0
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
8de83eaec2
bug #76846 : r=cls, build bustage fix for 64-bit platforms
2001-07-04 06:06:22 +00:00
jaggernaut%netscape.com
1556353d7f
Bug 88413: Remove GetUnicode() from nsString. Begone! r=dbaron, sr=scc
2001-07-03 09:09:56 +00:00
jaggernaut%netscape.com
03ab87e4a1
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 :-)
2001-06-30 11:02:25 +00:00
dbaron%fas.harvard.edu
63f58d7036
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
2001-06-29 23:12:48 +00:00
scc%mozilla.org
6661806af9
fixing linux crasher and hpux build bustage
2001-06-29 15:56:03 +00:00
scc%mozilla.org
9f85882805
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
49e26feed8
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). CVS removing the old implementations.
2001-06-29 12:48:13 +00:00
scc%mozilla.org
4332e0ff4e
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
28a392e910
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
waterson%netscape.com
0877b1a573
Land STATIC_BUILD_20010612_BRANCH, which supports building mozilla with components statically linked into the executable, as well as 'meta modules' that combine components into uber-DLLs.
2001-06-20 20:21:49 +00:00
dbaron%fas.harvard.edu
09e99242d5
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
2001-06-19 22:38:45 +00:00
cls%seawood.org
80f526179f
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
2001-06-18 22:10:38 +00:00
scc%mozilla.org
60a960aaf8
attempting to fix build bustage for speedracer from associated bug #85271
2001-06-17 07:09:41 +00:00
scc%mozilla.org
2e8b3e9481
bug #85271 : sr=waterson, r={beard, jag, dbaron}, a=asa. Eliminate features of |nsXPIDLC?String| that keep it out of the string hierarchy (i.e., using assigment to rebind ownership, static |Copy| members, and |getter_Shares|), fixing some leaks in the process.
2001-06-17 05:23:38 +00:00
scc%mozilla.org
cc99419281
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
9c83bf2aa8
bug #78398 : sr=waterson. adding my new header file "nsAStringGenerator.h" to the Mac project to make it easier to open.
2001-05-23 03:33:06 +00:00
scc%mozilla.org
49cf768412
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
f98c3d6d97
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
b048777e64
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
3272a6f922
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
066e935721
ok, but make this local bustage fix into a global one
2001-05-22 08:43:30 +00:00
mkaply%us.ibm.com
f909ffbe26
Nope, didn't work - broke stuff
2001-05-22 04:24:18 +00:00
mkaply%us.ibm.com
4c817fab6f
Valiant attempt to fix AIX and BeOS bustage
2001-05-22 03:36:31 +00:00
scc%mozilla.org
f92553939b
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
27f293c085
bug #69872 , sr=jst, r=jag. Make |nsDependentC?String|s rebindable.
2001-05-21 23:45:03 +00:00
scc%mozilla.org
27142d83e1
bug #75220 : sr=jst, rs=brendan. fixing string names. removing the old |nsPromise...| files from the build.
2001-05-19 11:31:22 +00:00
jst%netscape.com
f72e19a2c3
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
608c4d0a19
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
46ae8a22d2
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
scc%mozilla.org
2fb2d3cc2a
bug #75220 : rs=brendan, r=axel@pike.org. fixing string names. add the renamed implementations to the build.
2001-05-16 12:46:47 +00:00
scc%mozilla.org
357320f4c0
bug #75220 : rs=brendan, r=axel@pike.org. fixing string names. export the new header files.
2001-05-16 12:38:41 +00:00
scc%mozilla.org
1075e88360
bug #75220 : rs=brendan, r=axel@pike.org. fixing string names.
2001-05-16 12:36:35 +00:00
scc%mozilla.org
e4e84cc783
bug #75220 : sr=jst, r=dr; rename |nsCommon[C]String| to |nsSharable[C]String|. cvs remove the obsolete files.
2001-05-16 06:57:02 +00:00
scc%mozilla.org
2e4c2f30de
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)
2001-05-16 04:55:23 +00:00
scc%mozilla.org
8352858dc7
bug #75220 : sr=jst, r=dr; rename |nsCommon[C]String| to |nsSharable[C]String|. Fix all users of the old name.
2001-05-16 04:52:43 +00:00
scc%mozilla.org
cd731aa604
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|.
2001-05-16 04:49:20 +00:00
scc%mozilla.org
82264a0b2e
bug #75220 : sr=jst, r=dr; rename |nsCommon[C]String| to |nsSharable[C]String|. Build the new implementation in "nsSharableString.cpp".
2001-05-16 04:45:59 +00:00
scc%mozilla.org
30451fb284
bug #75220 : sr=jst, r=dr; rename |nsCommon[C]String| to |nsSharable[C]String|. Export the new header file "nsSharableString.h".
2001-05-16 04:43:31 +00:00
scc%mozilla.org
f2e912df81
bug #75220 : sr=jst, r=dr; rename |nsCommon[C]String| to |nsSharable[C]String|
2001-05-16 04:41:32 +00:00
scc%mozilla.org
5a0fb842cf
fixing bustage: alright, Linux isn't falling for the old |typename| trick. Guess I have to pull this out into a separate parameterized type.
2001-05-13 07:03:29 +00:00
scc%mozilla.org
af422d0edb
fixing bustage: adding |typename| where needed
2001-05-13 05:50:11 +00:00
scc%mozilla.org
01f459308d
bug #75551 : r=jst, sr=sfraser. Added |CaseInsensitiveFindInReadable|
2001-05-13 05:16:10 +00:00
scc%mozilla.org
2b593f0672
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
2001-05-11 08:41:21 +00:00