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

33 Коммитов

Автор SHA1 Сообщение Дата
warren%netscape.com d43828f23c Added back in nsOpaqueKey, used in nsMemCache. Went back to 37 as the magic number (prime). 2000-08-21 02:37:20 +00:00
warren%netscape.com c82a2efd44 After a little more analysis, I think using 33 instead of 37 as the magic multiplier gives just as good a distribution, but is a little faster to compute. 2000-08-20 22:28:12 +00:00
warren%netscape.com a94aa1aa52 Fix for hash code performance problem discovered by bienvenu. 'Sampling' hash code was statistically evil. 2000-08-20 21:29:10 +00:00
warren%netscape.com 84b5fd67e3 Bug 46711. Removed nsAutoString travisty from nsStringKey. Introduced nsCStringKey. Made them both share the underlying string when possible. r=waterson 2000-08-10 06:19:37 +00:00
dp%netscape.com d7f5ecc681 Standalone xpcom. 2000-05-13 23:35:55 +00:00
ftang%netscape.com 5dcee0f2a2 add IsAscii function. 2000-05-03 07:04:25 +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 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 b652637555 WIP for new nsString; this doesn't impact current build 2000-03-12 07:47:09 +00:00
alecf%netscape.com 99960a45d7 behave like one might expect in the case of passing null the nsCRT::strcmp when passing NULL
review & discussed with brendan, shaver
1999-12-07 22:10:31 +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
dp%netscape.com c2288cca73 Removing shutdown listener. Releasing gCaseConv on XPCOM Shutdown r=kipp 1999-10-30 06:45:45 +00:00
scc%netscape.com 68340a37ef got rid of |NS_IMPL_ISUPPORTS|, where possible, in favor of |NS_IMPL_ISUPPORTS0| or ...1 according to the specific use; got rid of |NS_DEFINE_IID| where possible, or where it should have been |NS_DEFINE_CID|; fixed bad implementations of |QueryInterface|, where possible. Built, tested apprunner, reviewed the changes with hyatt (since he was around to look) before checking in 1999-08-23 10:14:16 +00:00
scc%netscape.com 8d681a0998 use shared allocator 1999-07-22 18:23:02 +00:00
warren%netscape.com 4865cb6d8a Added HashValue methods for ascii strings. 1999-06-26 06:32:35 +00:00
warren%netscape.com c427020eb4 Added nsIBuffer::Search and cleaned up nsIBufferInputStream interface to just return the buffer. 1999-06-05 01:15:00 +00:00
kipp%netscape.com cce89c1b41 Fixed bug in strncasecmp as reported by Eric Burley <ericb@neoplanet.com>; while I was there I removed a compiler warning too 1999-04-27 22:20:52 +00:00
rickg%netscape.com bf82500ce5 fixed link error 1999-03-22 22:26:17 +00:00
ftang%netscape.com 9a83e5f08d add IsUpper and IsLower which work for all Unicode, reviewed and approved by kipp 1999-03-02 18:24:42 +00:00
waterson%netscape.com 7fbdeff5e1 Fix strncmp() routines to handle unsigned integers properly. r=linss, a=sar. 1999-02-08 22:01:08 +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
warren%netscape.com 6fcd218d65 Added assertion 1999-02-06 04:22:43 +00:00
warren%netscape.com d96cead9f1 Added strtok implementation. 1999-02-06 04:18:15 +00:00
warren%netscape.com 6649625711 Added strncmp, made lengths be unsigned. 1999-02-06 03:56:17 +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
pierre%netscape.com 3465e56de2 return 0 (ie. "strings are equal") instead of 1 when the 'n' of strncmp() and strncasecmp() is 0 1998-11-04 06:46:33 +00:00
kipp%netscape.com bc3dc4eb39 Added a reminder comment 1998-10-10 15:27:50 +00:00
peterl%netscape.com 76b0c57697 changed HashCode to HashValue and fixed return type 1998-09-02 01:59:30 +00:00
rickg%netscape.com 7f335bc63d minor tweak to remove tabs 1998-08-04 10:12:45 +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
kipp 098bef52b4 moved to pub 1998-04-13 20:24:54 +00:00