Commit Graph
58 Commits
Author SHA1 Message Date
rickg@netscape.com 03896f9179 completed the backout 1999-04-25 03:50:10 +00:00
rickg@netscape.com bcfb8292c4 backing out string changes until I can get it right 1999-04-25 03:10:44 +00:00
rickg@netscape.com aa91d23038 disabled some unnecessary debug output 1999-04-25 01:27:51 +00:00
rickg@netscape.com 052f343020 removed PRUnichar* operator() and other WIP for nsString2 1999-04-25 01:24:10 +00:00
rickg@netscape.com ccd3de0272 any fix for entities 1999-03-25 01:27:27 +00:00
rickg@netscape.com 51890625da fixed bug in nsString; added recycler to nsString2 1999-03-23 07:26:27 +00:00
rickg@netscape.com 3e6cc4e764 removed unsightly warnings from string classes 1999-03-23 00:28:36 +00:00
rickg@netscape.com d26aadf5ba prep work to land nsString2 1999-03-22 08:29:26 +00:00
rickg@netscape.com b76ecfa96e removed static vars 1999-03-19 08:47:20 +00:00
rickg@netscape.com 34df99a1e0 fixed recently introduced i18n bugs 1999-03-07 19:23:28 +00:00
hyatt@netscape.com 732663bfe1 Fix to the RFind method of nsString. 1999-03-05 00:03:46 +00:00
mcmullen@netscape.com 13c550f747 Call delete [] when new [] was used for allocation. 1999-02-27 20:39:07 +00:00
rickg@netscape.com bec717610a small mod to handle hex conversion better 1999-02-19 06:32:40 +00:00
rickg@netscape.com 78ce8e9ed8 removed bug from deque, and added replaceChar call to string 1999-02-16 06:47:00 +00:00
troy@netscape.com de8bbbdc9b 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 d16a4cc9e5 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 87249877ef Fix a bug in 1999-02-11 06:22:03 +00:00
alecf@netscape.com 5d14427d55 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 094b80bc77 change upper and lower case operation to call unicharutil for the nonASCII case 1999-02-08 18:57:21 +00:00
ftang@netscape.com 8e9dcf42f4 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 0ff559abfc exposed objectAt in deque, and fixed toInteger bug 1999-01-15 19:20:51 +00:00
rickg@netscape.com 9868ac3aac fixed bug in Compare() and error in ToInteger() 1999-01-10 08:17:40 +00:00
rickg@netscape.com 83a7a0a6f3 modest improvements to string and deque 1999-01-09 01:09:39 +00:00
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