Commit Graph

343 Commits

Author SHA1 Message Date
jaggernaut%netscape.com
467b3a5d8d Add assertion to ns{C}String::Adopt. r=/sr=mozbot 2002-01-02 09:00:02 +00:00
jaggernaut%netscape.com
75b1455d5d Bug 116957: Put Adopt on ns{C}String, and use it in nsStandardURL. r=dbaron, rs=scc 2001-12-26 23:14:12 +00:00
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
seawood%netscape.com
45bfbf0658 Landing the rest of the win32 gmake changes:
* Adds Makefile.ins to win32 specific dirs
* Adds WINNT ifdefs to Makefile.ins
* Causes NSPR to be compiled with --with-mozilla
* Misc general Makefile.in cleanup

Bug #58981 r=mcafee
2001-12-18 09:14:29 +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
alecf%netscape.com
64bbae7daf 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
seawood%netscape.com
7733357d51 Rename 'install' build phase to 'libs'.
Bug #56601 r=pavlov
2001-11-21 09:49:41 +00:00
jaggernaut%netscape.com
0ecf7cce91 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
70de2e4a46 landing string branch; see bug #73786 2001-04-02 19:40:52 +00:00
jgmyers%netscape.com
d88836a8ba don't decode overlong UTF8 sequences: bug 29314 r=jag sr=scc 2001-04-01 19:40:32 +00:00
disttsc%bart.nl
f4edb65ad4 bug 73339: Remove NS_ConvertToString (just another name for NS_ConvertASCIItoUCS2) from the tree. r=jst, sr=scc 2001-03-27 11:17:17 +00:00
disttsc%bart.nl
497249a5e8 Move nsCString from |operator char*()| to |get()| and |NS_CONST_CAST| where needed. bug=53057, r=dmose, sr=shaver 2001-03-20 05:37:56 +00:00
disttsc%bart.nl
8b43034cef Change implicit conversion from
|NS_ConvertUTF8toUCS2|
|NS_ConvertASCIItoUCS2|
|NS_ConvertUCS2toUTF8|
|ns[C]LiteralString|
|ns[C]PromiseFlatString|

to explicit |get()|.

Add |get()| to |nsString|, remove implicit conversion operators where possible, add NS_WARNING where not (yet!).

Bug=53057, r=alecf, sr=scc
2001-03-08 08:05:05 +00:00
scc%mozilla.org
3cef1b3c2f fixing documentation 2001-03-08 04:47:24 +00:00
syd%netscape.com
9d3e2c1261 Deprecate nsStr->GetBuffer(). r=jag, sr=scc 2001-03-03 22:07:45 +00:00
disttsc%bart.nl
277181c660 Preparation of removing nsCString::GetBuffer. Landing everything but the actual commenting out of nsCString::GetBuffer. bug=64016, r=timeless, sr=scc 2001-03-02 09:26:57 +00:00
cls%seawood.org
3580b1cac0 Adding and updating necessary .cvsignore files. Bug #61550 2001-02-24 06:22:49 +00:00