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

52 Коммитов

Автор SHA1 Сообщение Дата
kyle.yuan%sun.com cf801d0295 Bug 161449 Non-ASCII shortcuts for select elements in html forms
r=aaronl, sr=alecf
fix nsCRT::ToLower/ToUpper bugs and use |ToLowerCase()| instead of |nsCRT::ToLower()| in nsListControlFrame
2002-09-29 01:42:07 +00:00
jkeiser%netscape.com 1fc9da18f9 Make nsHTMLValue store embedded nulls (r=sicking@netscape.com, sr=bzbarsky@mit.edu, sr=jaggernaut@netscape.com 2002-09-26 07:41:53 +00:00
dbaron%fas.harvard.edu e76aaf24ca Speed up nsCRT::HashCode(const PRUnichar*) by renaming the version that does UCS-2 to UTF-8 conversion to nsCRT::HashCodeAsUTF8. r=jag sr=jst b=120363 2002-02-16 19:50:32 +00:00
dougt%netscape.com dc4103e28c Null protecting hashing code. 96322. r=dp@netscape.com sr=alecf@netscape.com. 2002-01-14 20:10:48 +00:00
cathleen%netscape.com c2d19ad82a converted 271 references to nsCRT::memcpy to memcpy, bug 118135 r=dp 2002-01-12 03:18:55 +00:00
alecf%netscape.com cdca66820d remove all unicharutil dependencies from xpcom (finally!)
bug 100214, r=jag, sr=scc
2001-11-01 22:40:03 +00:00
jband%netscape.com fd11dc731f Add support for loading typelibs from multiple directories and correctly tracking that in xpti.dat. Also speedup xpti.dat reading by getting rid of PR_sscanf. This fixes bug 104191 and bug 105042. r=ccarlen sr=jst. 2001-10-18 04:23:25 +00:00
ftang%netscape.com 39fbce1449 fix bug 101852. r=alecf, sr=darin/brendan. add PRUnichar* base IsAscii routines 2001-10-10 00:27:51 +00:00
gerv%gerv.net f385eb981a Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
timeless%mac.com 25dedc42c8 Bugzilla Bug 24515 Cant build XPCOM standalone
Bugzilla Bug 88747 nsCRT::atoi should be removed or fixed
Whoops, i contributed to xpcom standalone not working
patch by jband, r=dbaron, sr=brendan

This makes nsCRT::atoi in standalone assert and functionally NOP
2001-08-21 19:36:07 +00:00
timeless%mac.com 656ced5924 Bugzilla Bug 88747 nsCRT::atoi should be removed or fixed
previous definition just recursed infinitely. |::atoi| takes a |char*|.
r=dbradley sr=scc
2001-07-13 05:17:33 +00:00
jst%netscape.com f5b2547e3a Changing a mixture of old C-style casts and C++ constructor type casts to NS_STATIC_CAST to be consistent. This is a followup to my build bustage fix this morning, sr=scc@mozilla.org 2001-05-22 02:36:50 +00:00
jst%netscape.com 99c9bf9ae8 Fixing build bustage, apparently msvc doesn't like the C++ style PRUint8(...) casts here, changing them to old C style casts. r=peterv@netscape.com 2001-05-21 12:42:47 +00:00
scc%mozilla.org 50ca1126ca bug #28952: r=jst, sr=scc, checking in patch by drepper@cygnus.com which fixes |nsCRT::strtok| to handle 8-bit delimiter characters correctly when the high bit is set. 2001-05-21 10:45:44 +00:00
scc%mozilla.org c87fc9dee9 bug #64592: r=waterson, sr=vidur. Fix |nsCRT::HashCode| and |nsCRT::BufferHashCode| to use a better hash (in this case, the same scheme as |PL_HashString|). 2001-03-11 02:15:36 +00:00
dprice%netscape.com 6e26ede2b5 busted linux, backing out. 2001-01-13 07:24:24 +00:00
dprice%netscape.com d8abc8ffc3 BUG 63013 Removes the STAND_ALONE_STRING_TESTS flag, sr=scc 2001-01-13 07:03:35 +00:00
ducarroz%netscape.com 75731bf732 Part of fix for bug 42458. The Unichar version of nsCRT::strndup wasn't correctly terminating the string. R=varada, SR=mscott 2001-01-08 19:58:12 +00:00
jst%netscape.com b3a4ade60d DOM string changes. All nsString& in DOM interfaces (and interfaces needed by DOM implementations) have been changed to nsAReadableString& and nsAWritableString&. String implementation additions (sanctioned by scc) to support DOM needs. Bug 49091. r=vidur,jst,scc 2000-08-23 17:27:06 +00:00
warren%netscape.com b47c7c21df 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 423ff00d4f 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 930a05de5a 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 4af572e4c1 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 ce09f5bcfc Standalone xpcom. 2000-05-13 23:35:55 +00:00
ftang%netscape.com af03baecbe add IsAscii function. 2000-05-03 07:04:25 +00:00
pavlov%netscape.com 65f297564c add some #if[n]def STASTANDALONE_STRING_TESTS r=scc 2000-03-25 02:07:34 +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 9b2a84826b WIP for new nsString; this doesn't impact current build 2000-03-12 07:47:09 +00:00
alecf%netscape.com e4e8ac8238 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 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
dp%netscape.com 36b9b91825 Removing shutdown listener. Releasing gCaseConv on XPCOM Shutdown r=kipp 1999-10-30 06:45:45 +00:00
scc%netscape.com 0454213f91 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 9508780e22 use shared allocator 1999-07-22 18:23:02 +00:00
warren%netscape.com 9028d6548a Added HashValue methods for ascii strings. 1999-06-26 06:32:35 +00:00
warren%netscape.com 7b74d79bf3 Added nsIBuffer::Search and cleaned up nsIBufferInputStream interface to just return the buffer. 1999-06-05 01:15:00 +00:00
kipp%netscape.com 12cecd2806 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 8e40493438 fixed link error 1999-03-22 22:26:17 +00:00
ftang%netscape.com e79d1e4c91 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 0c8af86d02 Fix strncmp() routines to handle unsigned integers properly. r=linss, a=sar. 1999-02-08 22:01:08 +00:00
ftang%netscape.com f696de06e0 change upper and lower case operation to call unicharutil for the nonASCII case 1999-02-08 18:57:21 +00:00
warren%netscape.com 37a41235c9 Added assertion 1999-02-06 04:22:43 +00:00
warren%netscape.com d0574a9735 Added strtok implementation. 1999-02-06 04:18:15 +00:00
warren%netscape.com 8493a187aa Added strncmp, made lengths be unsigned. 1999-02-06 03:56:17 +00:00
warren%netscape.com b22a4e72fd Networking changes: Reworked nsIURL, adding setters, factoring Open. Unsigned arguments for nsIStreamListener. 1998-12-16 05:40:20 +00:00
pierre%netscape.com 809c3fa63c 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 c728420a6b Added a reminder comment 1998-10-10 15:27:50 +00:00
peterl%netscape.com 95ae58e4db changed HashCode to HashValue and fixed return type 1998-09-02 01:59:30 +00:00
rickg%netscape.com 7372a05ba9 minor tweak to remove tabs 1998-08-04 10:12:45 +00:00
rickg%netscape.com 8cadfbae7e added a few assertions, just to be safe 1998-08-03 21:03:49 +00:00