Граф коммитов

125 Коммитов

Автор SHA1 Сообщение Дата
waterson%netscape.com 20aa0cb8cb Bug 42836. Handle null string in NS_ConvertUCS2toUTF8::Init(). 2000-06-17 01:24:39 +00:00
waterson%netscape.com 525c68bc2b Fix bonehead error warren found: don't re-initialize utf8len; we'll need it to set the string's length! 2000-06-08 23:07:15 +00:00
warren%netscape.com 958ed96edd Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433 2000-06-03 09:46:12 +00:00
waterson%netscape.com d19492235d Bugs 41279, 41280, 41290. Implement NS_ConvertUTF8toUCS2, r=ftang. Fix NS_ConvertUCS2toUTF8 to set mLength, r=ftang. Re-implement ToNew[*]String to be less bloaty, r=scc,brendan 2000-06-02 20:06:54 +00:00
waterson%netscape.com 1415b703eb Fix boneheaded mistake: I left the return type of NS_ConvertUCS2toUTF8::Init(). 2000-05-27 00:17:10 +00:00
waterson%netscape.com da25677b5d Bug 40461. Implement NS_ConvertUCS2toUTF8, r=scc,brendan 2000-05-26 22:24:34 +00:00
scc%netscape.com 7ecdb44d84 turning on the new strings API. 2000-05-16 07:18:04 +00:00
scc%netscape.com 8b82758f42 changes to fix some errors constructing autostrings from null pointers that led to crashes 2000-05-15 03:10:19 +00:00
waterson%netscape.com 1eab8e8175 Deal with type-unification errors on gcc-2.7.2.3 using NEW_STRING_APIS. r=scc 2000-05-13 00:19:21 +00:00
mkaply%us.ibm.com 5c44941967 # 37239
r= dougt@netscape.com
OS/2 bring up continues - xpcom changes - #ifdefs for OS/2
2000-05-01 22:25:44 +00:00
scc%netscape.com 6139d6c97e fix for pink 2000-04-28 00:21:44 +00:00
scc%netscape.com e6aaa0f8f5 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
tbogard%aol.net 76e8db8e09 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 c9db033ed7 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 52ad71ebb3 new ideas about string conversion 2000-04-15 00:05:17 +00:00
waterson%netscape.com 3f84e427ec Explicit conversion required for NEW_STRING_APIS. r=scc 2000-04-04 06:03:20 +00:00
scc%netscape.com 62b5f82b89 Had to add another signature of |AppendWithConversion| 2000-04-01 00:24:32 +00:00
alecf%netscape.com 6594bf537d fix build bustage 2000-03-31 07:55:08 +00:00
scc%netscape.com ac3e2d0d46 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 42d9401c3e 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 4f1ac4a894 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
rickg%netscape.com 9a6dbab6c9 2x perf. improvement StripChar(); r=rods 2000-03-28 00:02:41 +00:00
scc%netscape.com ea8e807dda 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 face54c533 WIP for new string library, and defensive coding improvement in SetCapcity; r=buster 2000-03-24 07:21:56 +00:00
scc%netscape.com 440183335b resolving ambiguities; getting the new string APIs to build everywhere 2000-03-23 22:42:34 +00:00
scc%netscape.com 545b27e7e1 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 c1f3d7ef89 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 7c4f6b3293 landing phase 2 to remove deprecated string calls 2000-03-12 11:10:07 +00:00
rickg%netscape.com e4fc3bdc1c fixed pdt+ bug 29749; r=pollman; a=jar 2000-03-08 06:16:29 +00:00
rickg%netscape.com 39a604256b fixed bug28837 (r=troy; a=jar). Removed warnings (r=troy) 2000-02-24 08:20:03 +00:00
rickg%netscape.com 16c81a6a91 changed 'embedded nulls' asserts to warnings in nsString 2000-02-19 09:17:49 +00:00
rickg%netscape.com 0191598a23 fixed PDT+ bug27954; r=buster;a=jar; precheckins ok 2000-02-18 07:47:47 +00:00
rickg%netscape.com 618b491821 major perf mods for bug 27524, and removed deprecated methods; r=harishd 2000-02-13 17:46:15 +00:00
rickg%netscape.com f3f2d8ea28 fixed25049; r=harishd 2000-02-11 12:11:03 +00:00
rickg%netscape.com 63bccef9c0 bug24015; r=rods a=chofmann 2000-01-18 21:06:05 +00:00
rickg%netscape.com f5607b5bca fixed PDT+19121; r=kmcclusk 1999-12-03 00:30:29 +00:00
rickg%netscape.com 842edd9e4d fixed off-by-1 error in compare, and added ReplaceSubstring(). r=syd 1999-12-02 10:14:38 +00:00
fur%netscape.com 24ae60dea8 Disable the temporary assertion for embedded NUL characters in nsString::Append(),
so that clients of nsString can make use of the changes that rickg added which
allow embedded NULs.  r: rickg
1999-11-29 21:32:53 +00:00
rickg%netscape.com cb7b79c204 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 594f880d52 reenabled safer version of assertion 1999-11-15 17:10:06 +00:00
rickg%netscape.com b8cc74bfaa disable overambitious assert for now; r=rods; a=leaf 1999-11-15 16:38:29 +00:00
rickg%netscape.com f02a6a1951 change NS_ASSERTION to NS_WARN_IF_FALSE; r=none 1999-11-14 10:05:40 +00:00
rickg%netscape.com 46aa8893b8 bug18337 and fixes for embedded nulls; r=harishd 1999-11-14 06:22:52 +00:00
dmose%mozilla.org 8535dda53e 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 36cb1afdae bugs 13038 and 14920; also improved comments. r=kmcclusk 1999-10-05 04:47:19 +00:00
rickg%netscape.com be38ccfc5a replace ANSI true/false with PR_TRUE; sorry about that. 1999-09-30 05:15:37 +00:00
rickg%netscape.com 55844ee5d3 perf update and bug fix: a=chofmann r=buster 1999-09-30 04:03:49 +00:00
rickg%netscape.com f61c70437c back out update to Append(int,radix) until I can find ltoa() on linux 1999-09-20 05:50:43 +00:00
rickg%netscape.com f66f156777 explicitly include <stdlib.h> 1999-09-20 05:32:36 +00:00
rickg%netscape.com e88d99f2af fixed crasher in bufferroutines, and eliminated 1 costly call to sprintf 1999-09-20 05:10:32 +00:00