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
scc%mozilla.org
804e3b5501
fixing linux crasher and hpux build bustage
...
git-svn-id: svn://10.0.0.236/trunk@98284 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-29 15:56:03 +00:00
scc%mozilla.org
15463ecab1
OK, Windows is going to complain about the change from unsigned to signed, so we'll save that for later
...
git-svn-id: svn://10.0.0.236/trunk@98277 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-29 12:58:44 +00:00
scc%mozilla.org
13f1e1cdf4
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.
...
git-svn-id: svn://10.0.0.236/trunk@98276 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-29 12:48:13 +00:00
scc%mozilla.org
09a45773e9
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).
...
git-svn-id: svn://10.0.0.236/trunk@98275 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-29 12:47:43 +00:00
scc%mozilla.org
ee60a98c74
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
...
git-svn-id: svn://10.0.0.236/trunk@98273 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-29 11:25:08 +00:00
waterson%netscape.com
18986ada3f
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.
...
git-svn-id: svn://10.0.0.236/trunk@97613 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-20 20:21:49 +00:00
dbaron%fas.harvard.edu
c203792c3d
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
...
git-svn-id: svn://10.0.0.236/trunk@97460 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-19 22:38:45 +00:00
cls%seawood.org
88aedd461b
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
git-svn-id: svn://10.0.0.236/trunk@97363 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-18 22:10:38 +00:00
scc%mozilla.org
44fd09e5f5
attempting to fix build bustage for speedracer from associated bug #85271
...
git-svn-id: svn://10.0.0.236/trunk@97293 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-17 07:09:41 +00:00
scc%mozilla.org
90f810b66a
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.
...
git-svn-id: svn://10.0.0.236/trunk@97289 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-17 05:23:38 +00:00
scc%mozilla.org
73c3c7385c
bug #75164 : sr={brendan, sfraser}. Adding the generators |nsSubstituteC?String|, which will replace |ReplaceSubstring|. Also fixing a declaration in "nsAStringGenerator.h".
...
git-svn-id: svn://10.0.0.236/trunk@95820 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-23 06:49:51 +00:00
scc%mozilla.org
0647823c35
bug #78398 : sr=waterson. adding my new header file "nsAStringGenerator.h" to the Mac project to make it easier to open.
...
git-svn-id: svn://10.0.0.236/trunk@95784 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-23 03:33:06 +00:00
scc%mozilla.org
c099dfea65
bug #78398 : sr=waterson. Getting the new header file "nsAStringGenerator.h" exported to dist.
...
git-svn-id: svn://10.0.0.236/trunk@95783 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-23 03:31:23 +00:00
scc%mozilla.org
3ec01ebea0
bug #78398 : sr=waterson, adding a new abstract type (this here's the new file it comes in) |nsAC?StringGenerator|
...
git-svn-id: svn://10.0.0.236/trunk@95782 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-23 03:29:48 +00:00
scc%mozilla.org
ffd6409fe7
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.
...
git-svn-id: svn://10.0.0.236/trunk@95777 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-23 02:44:46 +00:00
scc%mozilla.org
dd17908843
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?
...
git-svn-id: svn://10.0.0.236/trunk@95769 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-23 01:45:13 +00:00
scc%mozilla.org
fccb53ea7f
ok, but make this local bustage fix into a global one
...
git-svn-id: svn://10.0.0.236/trunk@95666 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-22 08:43:30 +00:00
mkaply%us.ibm.com
bc8f7af020
Nope, didn't work - broke stuff
...
git-svn-id: svn://10.0.0.236/trunk@95657 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-22 04:24:18 +00:00
mkaply%us.ibm.com
a446cb4836
Valiant attempt to fix AIX and BeOS bustage
...
git-svn-id: svn://10.0.0.236/trunk@95654 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-22 03:36:31 +00:00