Commit Graph

134 Commits

Author SHA1 Message Date
scc%netscape.com
39d15cf8cf fix for pink 2000-04-28 00:21:44 +00:00
scc%netscape.com
bb871f886d making string conversions explicit; this checkin stops the back-sliding before we turn on NEW_STRING_APIS. 2000-04-27 20:37:54 +00:00
mjudge%netscape.com
3c00091d57 scc string fixes 2000-04-26 00:55:37 +00:00
tbogard%aol.net
cd34e5b36e Moved the implementation of AssignWithConversion to the cpp file since Linux and Windows didn't like it inline in the h file. r=scc 2000-04-22 09:17:20 +00:00
scc%netscape.com
ee30c7eb10 Added a signature previously covered by |Assign(const nsStr&)|, now |Assign( const nsString& )|. 2000-04-22 08:36:28 +00:00
pinkerton%netscape.com
46ce666141 Fix build bustage r=scc. 2000-04-21 07:34:06 +00:00
scc%netscape.com
85ee8b3604 there were a bunch of routines that returned references to this and were abused as much as they were used correctly. now they return |void| 2000-04-21 06:59:14 +00:00
scc%netscape.com
3b6352004b fixing build bustage 2000-04-17 12:22:37 +00:00
scc%netscape.com
8739a8e907 attempting to fix build bustage 2000-04-17 11:49:23 +00:00
scc%netscape.com
c952973a48 Added private unimplemented signatures of |...WithConversion| to prevent accidents where I should have used the non-converting form. Removed |AppendWithConversion|s that stood in for |AppendInt| and |AppendFloat|. 2000-04-17 11:06:41 +00:00
scc%netscape.com
ab3abd034b new ideas about string conversion 2000-04-15 00:05:17 +00:00
waterson%netscape.com
5ef034810c Hackery to get NEW_STRING_APIS compiling on gcc-2.7.2.3. r=scc 2000-04-04 06:00:01 +00:00
scc%netscape.com
acb13c54fe Had to add another signature of |AppendWithConversion| 2000-04-01 00:24:32 +00:00
scc%netscape.com
f563b72b38 more work bringing |ns[C]String| into line with the new implementations. Again, this is no change when |NEW_STRING_APIS| is not defined. 2000-03-31 07:26:13 +00:00
scc%netscape.com
e6ae3320f8 adjustments to the string interfaces that should have no effect in the non-|NEW_STRING_APIS| case (yes, I built all changes to verify) 2000-03-30 22:51:51 +00:00
scc%netscape.com
5b54400caf finer grain control of which current string assignments are still available after |NEW_STRING_APIS|. Added |AssignWithConversion| signatures. Made appropriate current |Assign|s be synonyms. 2000-03-29 00:06:31 +00:00
waterson%netscape.com
9de0d361a8 Beef up autoconf tests to differentiate 'ambiguity resolving' and 'access changing' support of the 'using' keyword. Add a test to see if the 'std' namespace is used on the platform. r=scc 2000-03-28 07:01:37 +00:00
pavlov%netscape.com
57009b25cf add some #if[n]def STASTANDALONE_STRING_TESTS r=scc 2000-03-25 02:07:34 +00:00
scc%netscape.com
402f35dfcd Lots of changes to get this stuff building on Solaris, et al. None of these changes effect the mainline build yet, and won't until |NEW_STRING_APIS| is defined for everyone (coming soon) 2000-03-24 22:06:57 +00:00
rickg%netscape.com
3405c56a6b WIP for new string library, and defensive coding improvement in SetCapcity; r=buster 2000-03-24 07:21:56 +00:00
waterson%netscape.com
8917c72738 Condition nsAutoCString operator=() on NEW_STRING_APIS. r=scc 2000-03-24 00:41:40 +00:00
scc%netscape.com
be782b8db1 fixing ambiguities caused by name hiding 2000-03-23 22:53:53 +00:00
scc%netscape.com
045cc4e9ba resolving ambiguities; getting the new string APIs to build everywhere 2000-03-23 22:42:34 +00:00
scc%netscape.com
7d2d0cf608 Added "nsCharTraits.h"; no longer relying on |std::char_traits|. Renamed some things so overloading wouldn't fight with overriding. 2000-03-23 21:15:01 +00:00
scc%netscape.com
21601d71fa Conditionally enable the new string APIs. Don't worry, they're not turned on yet. All changes r=waterson. Changes that effect |nsString| unconditionally, r=rickg. 2000-03-23 02:12:23 +00:00
rickg%netscape.com
194f10b94d landing phase 2 to remove deprecated string calls 2000-03-12 11:10:07 +00:00
rickg%netscape.com
6aed413a37 fixed bug28837 (r=troy; a=jar). Removed warnings (r=troy) 2000-02-24 08:20:03 +00:00
valeski%netscape.com
301e336587 28782. a=jar. r=rickg. nsCAutoString couldn't handle a '=' of a PRUnichar*, now it can 2000-02-23 22:47:03 +00:00
rickg%netscape.com
050c633ce6 major perf mods for bug 27524, and removed deprecated methods; r=harishd 2000-02-13 17:46:15 +00:00
rickg%netscape.com
4d12935e0e fixed25049; r=harishd 2000-02-11 12:11:03 +00:00
kin%netscape.com
3308275ef6 Fix for bug #21317: UMR: nsCAutoString::=(nsCAutoString const&)
Added nsCAutoString& operator=(nsCAutoString&).
r=rickg@netscape.com a=chofmann@netscape.com
1999-12-09 22:53:52 +00:00
rickg%netscape.com
95441de478 fixed PDT+19121; r=kmcclusk 1999-12-03 00:30:29 +00:00
rickg%netscape.com
1a75640583 fixed off-by-1 error in compare, and added ReplaceSubstring(). r=syd 1999-12-02 10:14:38 +00:00
rickg%netscape.com
ad5334de75 added DebugDump() to nsString classes for terminal output. Also slightly improved documentation. r=buster 1999-11-19 08:05:30 +00:00
rickg%netscape.com
bd46d8d5f0 bug18337 and fixes for embedded nulls; r=harishd 1999-11-14 06:22:52 +00:00
dmose%mozilla.org
142ac52eaf updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
rickg%netscape.com
a0d9a79a54 bugs 13038 and 14920; also improved comments. r=kmcclusk 1999-10-05 04:47:19 +00:00
rickg%netscape.com
6f744b281a perf update and bug fix: a=chofmann r=buster 1999-09-30 04:03:49 +00:00
rickg%netscape.com
ac8dfadb6d better docs and finally got rid of deprecated API's 1999-09-02 07:04:59 +00:00
kipp%netscape.com
948ad27a21 Reworked sizeof api's to be much more useful; updated implementations to match 1999-08-31 03:04:37 +00:00
rickg%netscape.com
011055adde improved docs, bug fixes, removed outdated APIs 1999-08-30 06:55:13 +00:00
waterson%netscape.com
3271a98e09 Treat CBufDescriptors as 'const' so that they may be inlined. 1999-08-24 00:52:32 +00:00
rickg%netscape.com
0c9e33a09b narrowed the nsCString API's for safety 1999-07-25 17:20:37 +00:00
rickg%netscape.com
bbf641cba9 try to improve append performance and allow non-null term buffers when count is given 1999-07-20 06:58:41 +00:00
rickg%netscape.com
f3021fdfb3 improved api's 1999-07-19 03:10:41 +00:00
rickg%netscape.com
e2a408e2f4 incrased argument conditioning 1999-07-18 21:26:03 +00:00
peterl%netscape.com
ee8edea59c moved char* conversion operators to nsCString 1999-07-18 00:03:43 +00:00
rickg%netscape.com
c33ad9f0b4 removing references to iostreams 1999-07-17 10:08:10 +00:00
rickg%netscape.com
8b2dc96c17 landing updates to nsString 1999-07-17 07:26:16 +00:00
rickg%netscape.com
6ae572e3bd back out erroneously updated files 1999-07-09 06:01:55 +00:00
rickg%netscape.com
805dbdcc10 added nsStringTokenizer.* files; but not in the makefiles yet 1999-07-09 05:11:25 +00:00
rickg%netscape.com
1851bc0098 update to nsString2 as default impl 1999-05-31 22:09:05 +00:00
rickg%netscape.com
8f2ceea3de final update to nsString2 before switchover 1999-05-29 07:29:46 +00:00
dp%netscape.com
94344009c8 Landing xpcom20/21 branch. 1999-05-26 01:38:36 +00:00
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
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
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
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
peterl%netscape.com
cda3bca867 Added operator=(nsAutoString) for autostring 1999-01-30 06:19:52 +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
91a74f3b64 updated docs for nsString class usage 1998-11-20 22:11:09 +00:00
rickg%netscape.com
6953f2b621 added radix support in ToInteger() 1998-10-04 04:52:10 +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
rickg%netscape.com
0e7fb55528 kipps changes 1998-08-05 01:31:14 +00:00
rickg%netscape.com
42fbaf0a68 major upgrade to string class implementation 1998-08-03 20:46:38 +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
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
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
rickg
7cd013ca7c added Append(unichar) 1998-04-25 19:44:35 +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