Commit Graph

149 Commits

Author SHA1 Message Date
mcmullen%netscape.com
d13c4f0d46 Call delete [] when new [] was used for allocation. 1999-02-27 20:39:07 +00:00
rickg%netscape.com
1fe259de63 small mod to handle hex conversion better 1999-02-19 06:32:40 +00:00
rickg%netscape.com
71624eb818 removed bug from deque, and added replaceChar call to string 1999-02-16 06:47:00 +00:00
troy%netscape.com
2161ce5972 Added missing "const" that was allowing internal pointer to Unicode
string tobe returned as a non-const value
1999-02-14 05:44:01 +00:00
sfraser%netscape.com
c2d781ea6a That last checkin should have read: fix a bug in CompressWhitespace that caused the string length to be set incorrectly, when Trim shortened the string. 1999-02-11 06:23:29 +00:00
sfraser%netscape.com
411bf694fa Fix a bug in 1999-02-11 06:22:03 +00:00
alecf%netscape.com
ea6a6be543 add a few more string cases to fix compilers who complain about ambiguous overloading 1999-02-10 08:22:47 +00:00
ftang%netscape.com
3af5eaa0fa change upper and lower case operation to call unicharutil for the nonASCII case 1999-02-08 18:57:21 +00:00
peterl%netscape.com
cda3bca867 Added operator=(nsAutoString) for autostring 1999-01-30 06:19:52 +00:00
ftang%netscape.com
06132c62e3 limit ToUCS2 only have effect in U+0080 to U+009F range so it won't mess up non Latin 1 characters 1999-01-29 18:08:36 +00:00
rickg%netscape.com
214c399537 exposed objectAt in deque, and fixed toInteger bug 1999-01-15 19:20:51 +00:00
rickg%netscape.com
415f60f790 fixed bug in Compare() and error in ToInteger() 1999-01-10 08:17:40 +00:00
rickg%netscape.com
95d921dff4 modest improvements to string and deque 1999-01-09 01:09:39 +00:00
waterson%netscape.com
f390a1e8c5 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
0580a8e5c4 Networking changes: Reworked nsIURL, adding setters, factoring Open. Unsigned arguments for nsIStreamListener. 1998-12-16 05:40:20 +00:00
rickg%netscape.com
51582a22b5 fixed bug #1203 1998-11-24 20:23:46 +00:00
rickg%netscape.com
5d77ac2437 changed ToInteger() so that it returns an error properly 1998-11-24 02:38:21 +00:00
rickg%netscape.com
91a74f3b64 updated docs for nsString class usage 1998-11-20 22:11:09 +00:00
kipp%netscape.com
9be7e3e15f Made nsString::Insert actually support the count=-1 default argument 1998-11-19 17:58:30 +00:00
pierre%netscape.com
a9e64e7020 fixed the 3 instances of Compare() to work with empty strings 1998-11-04 06:48:11 +00:00
rickg%netscape.com
39e6dbf292 fixed bug in IsOrdered that was found on the web 1998-10-26 22:33:39 +00:00
kipp%netscape.com
001700f459 Fixed some sign extension bugs 1998-10-10 15:28:53 +00:00
rickg%netscape.com
6953f2b621 added radix support in ToInteger() 1998-10-04 04:52:10 +00:00
kipp%netscape.com
067c25cae2 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
e77dfab87e 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
f62e951f1c new string improvements 1998-09-04 17:26:37 +00:00
rickg%netscape.com
4125164d98 added BinarySearch method for faster string searches 1998-08-29 05:06:50 +00:00
valeski%netscape.com
da9bc1007c 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
848aed5db1 added iostream output to nsString 1998-08-22 17:50:13 +00:00
peterl%netscape.com
a9f7a46342 performance tweak in trim 1998-08-07 02:11:13 +00:00
rickg%netscape.com
0e7fb55528 kipps changes 1998-08-05 01:31:14 +00:00
rickg%netscape.com
6e9492b121 added a few assertions, just to be safe 1998-08-03 21:03:49 +00:00
rickg%netscape.com
42fbaf0a68 major upgrade to string class implementation 1998-08-03 20:46:38 +00:00
troy%netscape.com
e2bf4445ea Fixed some crashes where it wa assumes mStr was non-NULL 1998-07-30 20:36:51 +00:00
rickg%netscape.com
40be51d3e3 more string improvements 1998-07-30 18:35:58 +00:00
rickg%netscape.com
3c5b067b54 fixed string assignment bug 1998-07-30 18:26:46 +00:00
troy%netscape.com
8d40651e4a 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
5446c139c4 warning removal 1998-07-25 02:11:02 +00:00
troy%netscape.com
c1493555d6 Added some '=' operator member functions to nsAutoString 1998-07-22 21:38:48 +00:00
kipp
a3cbd81c80 Added SizeOf method 1998-06-05 21:38:36 +00:00
kipp
38ccae3b3c null terminate empty auto string properly 1998-06-01 20:55:46 +00:00
kipp
745846f561 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
3b1a184a22 Added empty constructor; removed instance count sillyness 1998-05-20 16:21:48 +00:00
rickg
0b6bd9d390 added IsDigit to string 1998-05-11 23:27:35 +00:00
kipp
b881d71f5b Fixed compiler bugs/warnings 1998-04-26 03:13:20 +00:00
rickg
7cd013ca7c added Append(unichar) 1998-04-25 19:44:35 +00:00
karnaze
3943ad1a15 added radio groups, select/option, beter sizing. widgets take creation parms. 1998-04-24 21:37:30 +00:00
peterl
355fcae2bd fixed memory leaks in nsAutoString 1998-04-16 21:47:17 +00:00
kipp
098bef52b4 moved to pub 1998-04-13 20:24:54 +00:00