jst%netscape.com
|
3bcc4fdf26
|
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
git-svn-id: svn://10.0.0.236/trunk@95648 18797224-902f-48f8-a5cc-f745e15eee43
|
2001-05-22 02:36:50 +00:00 |
|
jst%netscape.com
|
942543ef20
|
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
git-svn-id: svn://10.0.0.236/trunk@95595 18797224-902f-48f8-a5cc-f745e15eee43
|
2001-05-21 12:42:47 +00:00 |
|
scc%mozilla.org
|
8d0f39b611
|
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.
git-svn-id: svn://10.0.0.236/trunk@95592 18797224-902f-48f8-a5cc-f745e15eee43
|
2001-05-21 10:45:44 +00:00 |
|
scc%mozilla.org
|
3b8921ebb9
|
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|).
git-svn-id: svn://10.0.0.236/trunk@89264 18797224-902f-48f8-a5cc-f745e15eee43
|
2001-03-11 02:15:36 +00:00 |
|
dprice%netscape.com
|
0ccbfc1487
|
busted linux, backing out.
git-svn-id: svn://10.0.0.236/trunk@84924 18797224-902f-48f8-a5cc-f745e15eee43
|
2001-01-13 07:24:24 +00:00 |
|
dprice%netscape.com
|
865f93f808
|
BUG 63013 Removes the STAND_ALONE_STRING_TESTS flag, sr=scc
git-svn-id: svn://10.0.0.236/trunk@84922 18797224-902f-48f8-a5cc-f745e15eee43
|
2001-01-13 07:03:35 +00:00 |
|
ducarroz%netscape.com
|
7a8f294249
|
Part of fix for bug 42458. The Unichar version of nsCRT::strndup wasn't correctly terminating the string. R=varada, SR=mscott
git-svn-id: svn://10.0.0.236/trunk@84583 18797224-902f-48f8-a5cc-f745e15eee43
|
2001-01-08 19:58:12 +00:00 |
|
jst%netscape.com
|
7e0575bfee
|
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
git-svn-id: svn://10.0.0.236/trunk@76967 18797224-902f-48f8-a5cc-f745e15eee43
|
2000-08-23 17:27:06 +00:00 |
|
warren%netscape.com
|
4afc13fbcb
|
Added back in nsOpaqueKey, used in nsMemCache. Went back to 37 as the magic number (prime).
git-svn-id: svn://10.0.0.236/trunk@76768 18797224-902f-48f8-a5cc-f745e15eee43
|
2000-08-21 02:37:20 +00:00 |
|
warren%netscape.com
|
cc42ff3149
|
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.
git-svn-id: svn://10.0.0.236/trunk@76763 18797224-902f-48f8-a5cc-f745e15eee43
|
2000-08-20 22:28:12 +00:00 |
|
warren%netscape.com
|
895569159c
|
Fix for hash code performance problem discovered by bienvenu. 'Sampling' hash code was statistically evil.
git-svn-id: svn://10.0.0.236/trunk@76761 18797224-902f-48f8-a5cc-f745e15eee43
|
2000-08-20 21:29:10 +00:00 |
|
warren%netscape.com
|
e5706a7236
|
Bug 46711. Removed nsAutoString travisty from nsStringKey. Introduced nsCStringKey. Made them both share the underlying string when possible. r=waterson
git-svn-id: svn://10.0.0.236/trunk@75975 18797224-902f-48f8-a5cc-f745e15eee43
|
2000-08-10 06:19:37 +00:00 |
|
dp%netscape.com
|
135af3793e
|
Standalone xpcom.
git-svn-id: svn://10.0.0.236/trunk@69596 18797224-902f-48f8-a5cc-f745e15eee43
|
2000-05-13 23:35:55 +00:00 |
|
ftang%netscape.com
|
e64f254a72
|
add IsAscii function.
git-svn-id: svn://10.0.0.236/trunk@68058 18797224-902f-48f8-a5cc-f745e15eee43
|
2000-05-03 07:04:25 +00:00 |
|
pavlov%netscape.com
|
39ea807596
|
add some #if[n]def STASTANDALONE_STRING_TESTS r=scc
git-svn-id: svn://10.0.0.236/trunk@64091 18797224-902f-48f8-a5cc-f745e15eee43
|
2000-03-25 02:07:34 +00:00 |
|
scc%netscape.com
|
5fcf54179f
|
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.
git-svn-id: svn://10.0.0.236/trunk@63813 18797224-902f-48f8-a5cc-f745e15eee43
|
2000-03-23 02:12:23 +00:00 |
|
rickg%netscape.com
|
944bb44cfc
|
WIP for new nsString; this doesn't impact current build
git-svn-id: svn://10.0.0.236/trunk@62694 18797224-902f-48f8-a5cc-f745e15eee43
|
2000-03-12 07:47:09 +00:00 |
|
alecf%netscape.com
|
5cfe68fe2e
|
behave like one might expect in the case of passing null the nsCRT::strcmp when passing NULL
review & discussed with brendan, shaver
git-svn-id: svn://10.0.0.236/trunk@55610 18797224-902f-48f8-a5cc-f745e15eee43
|
1999-12-07 22:10:31 +00:00 |
|
rickg%netscape.com
|
6e4e20009b
|
bug18337 and fixes for embedded nulls; r=harishd
git-svn-id: svn://10.0.0.236/trunk@53450 18797224-902f-48f8-a5cc-f745e15eee43
|
1999-11-14 06:22:52 +00:00 |
|
dmose%mozilla.org
|
0efb7c174c
|
updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52910 18797224-902f-48f8-a5cc-f745e15eee43
|
1999-11-06 03:43:54 +00:00 |
|
dp%netscape.com
|
0b96f92229
|
Removing shutdown listener. Releasing gCaseConv on XPCOM Shutdown r=kipp
git-svn-id: svn://10.0.0.236/trunk@52320 18797224-902f-48f8-a5cc-f745e15eee43
|
1999-10-30 06:45:45 +00:00 |
|
scc%netscape.com
|
56d5ad0b43
|
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
git-svn-id: svn://10.0.0.236/trunk@44139 18797224-902f-48f8-a5cc-f745e15eee43
|
1999-08-23 10:14:16 +00:00 |
|
scc%netscape.com
|
79458488be
|
use shared allocator
git-svn-id: svn://10.0.0.236/trunk@40671 18797224-902f-48f8-a5cc-f745e15eee43
|
1999-07-22 18:23:02 +00:00 |
|
warren%netscape.com
|
76a4a480fc
|
Added HashValue methods for ascii strings.
git-svn-id: svn://10.0.0.236/trunk@37004 18797224-902f-48f8-a5cc-f745e15eee43
|
1999-06-26 06:32:35 +00:00 |
|
warren%netscape.com
|
02a75e5745
|
Added nsIBuffer::Search and cleaned up nsIBufferInputStream interface to just return the buffer.
git-svn-id: svn://10.0.0.236/trunk@33892 18797224-902f-48f8-a5cc-f745e15eee43
|
1999-06-05 01:15:00 +00:00 |
|
kipp%netscape.com
|
afa449eb2d
|
Fixed bug in strncasecmp as reported by Eric Burley <ericb@neoplanet.com>; while I was there I removed a compiler warning too
git-svn-id: svn://10.0.0.236/trunk@29563 18797224-902f-48f8-a5cc-f745e15eee43
|
1999-04-27 22:20:52 +00:00 |
|
rickg%netscape.com
|
a6cfda7e13
|
fixed link error
git-svn-id: svn://10.0.0.236/trunk@24712 18797224-902f-48f8-a5cc-f745e15eee43
|
1999-03-22 22:26:17 +00:00 |
|
ftang%netscape.com
|
48f5a3a3d8
|
add IsUpper and IsLower which work for all Unicode, reviewed and approved by kipp
git-svn-id: svn://10.0.0.236/trunk@22588 18797224-902f-48f8-a5cc-f745e15eee43
|
1999-03-02 18:24:42 +00:00 |
|
waterson%netscape.com
|
29ef8e898c
|
Fix strncmp() routines to handle unsigned integers properly. r=linss, a=sar.
git-svn-id: svn://10.0.0.236/trunk@20037 18797224-902f-48f8-a5cc-f745e15eee43
|
1999-02-08 22:01:08 +00:00 |
|
ftang%netscape.com
|
801a4fe99f
|
change upper and lower case operation to call unicharutil for the nonASCII case
git-svn-id: svn://10.0.0.236/trunk@20011 18797224-902f-48f8-a5cc-f745e15eee43
|
1999-02-08 18:57:21 +00:00 |
|
warren%netscape.com
|
fd25983668
|
Added assertion
git-svn-id: svn://10.0.0.236/trunk@19917 18797224-902f-48f8-a5cc-f745e15eee43
|
1999-02-06 04:22:43 +00:00 |
|
warren%netscape.com
|
2090593d55
|
Added strtok implementation.
git-svn-id: svn://10.0.0.236/trunk@19916 18797224-902f-48f8-a5cc-f745e15eee43
|
1999-02-06 04:18:15 +00:00 |
|
warren%netscape.com
|
d37dfeba8b
|
Added strncmp, made lengths be unsigned.
git-svn-id: svn://10.0.0.236/trunk@19912 18797224-902f-48f8-a5cc-f745e15eee43
|
1999-02-06 03:56:17 +00:00 |
|
warren%netscape.com
|
5f54c1af03
|
Networking changes: Reworked nsIURL, adding setters, factoring Open. Unsigned arguments for nsIStreamListener.
git-svn-id: svn://10.0.0.236/trunk@16495 18797224-902f-48f8-a5cc-f745e15eee43
|
1998-12-16 05:40:20 +00:00 |
|
pierre%netscape.com
|
7ee2406a60
|
return 0 (ie. "strings are equal") instead of 1 when the 'n' of strncmp() and strncasecmp() is 0
git-svn-id: svn://10.0.0.236/trunk@14051 18797224-902f-48f8-a5cc-f745e15eee43
|
1998-11-04 06:46:33 +00:00 |
|
kipp%netscape.com
|
0d0b3ed9a6
|
Added a reminder comment
git-svn-id: svn://10.0.0.236/trunk@12525 18797224-902f-48f8-a5cc-f745e15eee43
|
1998-10-10 15:27:50 +00:00 |
|
peterl%netscape.com
|
65f20a2d5a
|
changed HashCode to HashValue and fixed return type
git-svn-id: svn://10.0.0.236/trunk@9082 18797224-902f-48f8-a5cc-f745e15eee43
|
1998-09-02 01:59:30 +00:00 |
|
rickg%netscape.com
|
d9c958d147
|
minor tweak to remove tabs
git-svn-id: svn://10.0.0.236/trunk@7236 18797224-902f-48f8-a5cc-f745e15eee43
|
1998-08-04 10:12:45 +00:00 |
|
rickg%netscape.com
|
e325840a5d
|
added a few assertions, just to be safe
git-svn-id: svn://10.0.0.236/trunk@7138 18797224-902f-48f8-a5cc-f745e15eee43
|
1998-08-03 21:03:49 +00:00 |
|
rickg%netscape.com
|
b8cd75c6bf
|
major upgrade to string class implementation
git-svn-id: svn://10.0.0.236/trunk@7134 18797224-902f-48f8-a5cc-f745e15eee43
|
1998-08-03 20:46:38 +00:00 |
|
kipp
|
fb1503758e
|
moved to pub
git-svn-id: svn://10.0.0.236/trunk@165 18797224-902f-48f8-a5cc-f745e15eee43
|
1998-04-13 20:24:54 +00:00 |
|