Commit Graph

35 Commits

Author SHA1 Message Date
waterson@netscape.com
6669673d26 Made the aCopy parameter to nsString::Insert const to clear up some compiler warnings. a=rickg. 1999-01-07 22:19:57 +00:00
warren@netscape.com
4aaec0bad1 Networking changes: Reworked nsIURL, adding setters, factoring Open. Unsigned arguments for nsIStreamListener. 1998-12-16 05:40:20 +00:00
rickg@netscape.com
7280f39939 fixed bug #1203 1998-11-24 20:23:46 +00:00
rickg@netscape.com
32f9424163 changed ToInteger() so that it returns an error properly 1998-11-24 02:38:21 +00:00
rickg@netscape.com
8056e2f1f0 updated docs for nsString class usage 1998-11-20 22:11:09 +00:00
kipp@netscape.com
9f799f7a3a Made nsString::Insert actually support the count=-1 default argument 1998-11-19 17:58:30 +00:00
pierre@netscape.com
3542963952 fixed the 3 instances of Compare() to work with empty strings 1998-11-04 06:48:11 +00:00
rickg@netscape.com
4b6c96d303 fixed bug in IsOrdered that was found on the web 1998-10-26 22:33:39 +00:00
kipp@netscape.com
2c1cbe6c18 Fixed some sign extension bugs 1998-10-10 15:28:53 +00:00
rickg@netscape.com
0c3f6c6938 added radix support in ToInteger() 1998-10-04 04:52:10 +00:00
kipp@netscape.com
2de7040c21 Added a macro and normalized auto-string initialization; reordered methods slightly just to annoy rickg :-) 1998-09-05 23:21:42 +00:00
valeski@netscape.com
800c4e8ba4 String insertion was broken if you wanted to insert at the begining (index '0') of a string. 1998-09-04 18:49:50 +00:00
rickg@netscape.com
885d580239 new string improvements 1998-09-04 17:26:37 +00:00
rickg@netscape.com
2376dfc23a added BinarySearch method for faster string searches 1998-08-29 05:06:50 +00:00
valeski@netscape.com
50a20bf09d nsString.h - the mBuf member data type was the raw PRUnichar type, changed it to chartype.
nsString.cpp - we were dropping the ending null-byte/unichar when expanding/growing strings
1998-08-27 08:15:40 +00:00
rickg@netscape.com
540fd4c961 added iostream output to nsString 1998-08-22 17:50:13 +00:00
peterl@netscape.com
27c0c10e42 performance tweak in trim 1998-08-07 02:11:13 +00:00
rickg@netscape.com
28f27ccafe kipps changes 1998-08-05 01:31:14 +00:00
rickg@netscape.com
67373a83ed added a few assertions, just to be safe 1998-08-03 21:03:49 +00:00
rickg@netscape.com
178912f4a1 major upgrade to string class implementation 1998-08-03 20:46:38 +00:00
troy@netscape.com
0c480ce7d8 Fixed some crashes where it wa assumes mStr was non-NULL 1998-07-30 20:36:51 +00:00
rickg@netscape.com
7bf5dbf664 more string improvements 1998-07-30 18:35:58 +00:00
rickg@netscape.com
374cd70b33 fixed string assignment bug 1998-07-30 18:26:46 +00:00
troy@netscape.com
f155ed43dc Changed default constructor to leave capacity at 0 and not allocate
a buffer of 24 bytes
1998-07-29 23:06:21 +00:00
rickg@netscape.com
11ed2d68b5 warning removal 1998-07-25 02:11:02 +00:00
kipp
2197fd41a4 Added SizeOf method 1998-06-05 21:38:36 +00:00
kipp
06537ddb2a null terminate empty auto string properly 1998-06-01 20:55:46 +00:00
kipp
c8215f2c28 Fixed bug in nsString::Cut code where the sizeof(chartype) was multipled a bit aggresively; I also tuned the routine somewhat as well 1998-05-20 23:18:25 +00:00
kipp
9971fb444d Added empty constructor; removed instance count sillyness 1998-05-20 16:21:48 +00:00
rickg
0ef821229d added IsDigit to string 1998-05-11 23:27:35 +00:00
kipp
9c15500f5f Fixed compiler bugs/warnings 1998-04-26 03:13:20 +00:00
rickg
b0e2f9b697 added Append(unichar) 1998-04-25 19:44:35 +00:00
karnaze
18fc834450 added radio groups, select/option, beter sizing. widgets take creation parms. 1998-04-24 21:37:30 +00:00
peterl
1a721bb875 fixed memory leaks in nsAutoString 1998-04-16 21:47:17 +00:00
kipp
4683c6f4c0 moved to pub 1998-04-13 20:24:54 +00:00