Commit Graph

629 Commits

Author SHA1 Message Date
jaggernaut%netscape.com
00f1f74e7b Bug 53057: Removing implicit |CharT*| conversion operator for nsCString, r=dbaron, rs=scc 2001-11-10 22:00:31 +00:00
jband%netscape.com
e84b393c65 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
796c9c271a Bug 108734: nsCString::Replace is broken. r=darin, sr=scc 2001-11-07 07:43:11 +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
b486774c77 fix for minor leak bug 108640 r=jag, sr=sspitzer 2001-11-06 23:14:47 +00:00
alecf%netscape.com
1996026eb4 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
321184f9e3 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
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
b1eedf6ab3 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
285c5940f6 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
ddf5745c0c 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
79e0a6c9a2 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
fb1a06783c 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
5a357eea01 Making debugging code be |#ifdef DEBUG|. b=91036 r=harishd sr=jst 2001-10-16 05:31:36 +00:00
jaggernaut%netscape.com
4e91454ef0 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
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
ftang%netscape.com
1812431a27 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
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
f49c077936 Okay, we need |typename| for HP-UX. Adding. 2001-10-02 11:15:45 +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
jaggernaut%netscape.com
ca6197295f 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
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
45d38c6d6e Bug 100764: remove NS_ConvertABCtoXYZ(CharT). r=dbaron, rs=scc 2001-09-25 09:37: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
d1a7bfa843 One module per line for REQUIRES. r=/sr=alecf 2001-09-18 22:01:13 +00:00
jaggernaut%netscape.com
dc40187223 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
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
e023c4ded4 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
3b3680c17e Bug 98153: Remove SubsumeStr. r=dbaron, sr=scc 2001-09-05 10:46:45 +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
027de70173 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
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
jaggernaut%netscape.com
f9c67333fd Bug 88413: Remove GetUnicode() from nsString. Begone! r=dbaron, sr=scc 2001-07-03 09:09:56 +00:00
jaggernaut%netscape.com
5a6317b8a5 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
d4fabc2675 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
fc7798bd94 fixing linux crasher and hpux build bustage 2001-06-29 15:56:03 +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
0a090e4f80 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
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
waterson%netscape.com
b74d6e1c8b 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
a236696e96 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
bf5fb48486 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
2f612575b5 attempting to fix build bustage for speedracer from associated bug #85271 2001-06-17 07:09:41 +00:00
scc%mozilla.org
a8fb409c6e 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
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
2ebaa532a1 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
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
scc%mozilla.org
cefb2160cd 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
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
scc%mozilla.org
0743e4f350 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
cab4138e3b 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
9e7566bb09 bug #75220: rs=brendan, r=axel@pike.org. fixing string names. 2001-05-16 12:36:35 +00:00
scc%mozilla.org
8d6324b1e2 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
db83c7878c 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
7dbfdc16f4 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
11987640ad 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
0477cde50e 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
6a23bc63cd 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
a5a0010914 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
8bc714b6a1 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
81a45d6bee fixing bustage: adding |typename| where needed 2001-05-13 05:50:11 +00:00
scc%mozilla.org
f6369dbda5 bug #75551: r=jst, sr=sfraser. Added |CaseInsensitiveFindInReadable| 2001-05-13 05:16:10 +00:00
scc%mozilla.org
c4bd966c8f 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
scc%mozilla.org
d3de156b82 bug #78658: checking in Chris Seawoods trivial fix to prevent writing to the console in optimized builds, sr=scc (myself) 2001-05-07 23:36:59 +00:00
scc%mozilla.org
0c14764b6d bug #70740: r=mjudge, sr=sfraser. Provide case-insensitive comparison for all string classes 2001-04-18 05:20:06 +00:00
scc%mozilla.org
fae661aa09 [documentation], _never_ part of a build. fixing bad ``it's''s, and referencing the tracking bug 2001-04-18 00:22:01 +00:00
scc%mozilla.org
65b906300d [documentation], _never_ part of a build. fixing the title to be a little less misleading 2001-04-16 21:47:49 +00:00
scc%mozilla.org
9a8e0d5e22 [documentation], _never_ part of a build. Checking in as I add more FAQs. I've added all my email replies to string questions from the last year, with significant formatting so they are readable. They will be edited to become FAQs. 2001-04-16 14:33:27 +00:00
dbaron%fas.harvard.edu
9890e4f7b9 Reduce the size of nsXPIDL[C]String by making destructor non-virtual and thus removing vtable pointer. b=75163 r=waterson@netscape.com sr=scc@mozilla.org 2001-04-14 17:08:16 +00:00
scc%mozilla.org
c2933c20c8 [documentation], _never_ part of a build. Checking in as I add more FAQs 2001-04-13 18:03:33 +00:00
scc%mozilla.org
1a337bf753 [documentation] a=leaf, _never_ part of a build. Checking in as I add more FAQs 2001-04-13 16:41:51 +00:00
scc%mozilla.org
9a9a55fa07 documentation only, never to be part of the build; fixing stylesheet problem 2001-04-13 13:48:50 +00:00
scc%mozilla.org
66d6b92908 this file is documentation only; it will never be part of the build. more initial content 2001-04-12 00:33:13 +00:00
scc%mozilla.org
4922a8de2e moved the css file to someplace where lxr can't hurt it: www.mozilla.org/projects/string/string-guide.css 2001-04-09 03:21:48 +00:00