Commit Graph

59 Commits

Author SHA1 Message Date
rickg%netscape.com
4957d2ba64 new nsString modz; getting ready for nsString2 switchover 1999-05-06 05:13:08 +00:00
rickg%netscape.com
5c86e5a3c1 completed the backout 1999-04-25 03:50:10 +00:00
rickg%netscape.com
5b3132ce88 backing out string changes until I can get it right 1999-04-25 03:10:44 +00:00
rickg%netscape.com
f9662d011b disabled some unnecessary debug output 1999-04-25 01:27:51 +00:00
rickg%netscape.com
d8ba6251a8 removed PRUnichar* operator() and other WIP for nsString2 1999-04-25 01:24:10 +00:00
rickg%netscape.com
dd619c3450 any fix for entities 1999-03-25 01:27:27 +00:00
rickg%netscape.com
a313d5394a fixed bug in nsString; added recycler to nsString2 1999-03-23 07:26:27 +00:00
rickg%netscape.com
0ab7547cf9 removed unsightly warnings from string classes 1999-03-23 00:28:36 +00:00
rickg%netscape.com
e26a3d2825 prep work to land nsString2 1999-03-22 08:29:26 +00:00
rickg%netscape.com
063da77aca removed static vars 1999-03-19 08:47:20 +00:00
rickg%netscape.com
98eae31a0b fixed recently introduced i18n bugs 1999-03-07 19:23:28 +00:00
hyatt%netscape.com
02e16ec5f5 Fix to the RFind method of nsString. 1999-03-05 00:03:46 +00:00
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
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
kipp
a3cbd81c80 Added SizeOf method 1998-06-05 21:38:36 +00:00