57 Commits

Author SHA1 Message Date
darin%netscape.com
04849998e1 fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa
git-svn-id: svn://10.0.0.236/trunk@115936 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 07:48:55 +00:00
alecf%netscape.com
8755908f04 bug 127091 - big string cleanup, removing old APIs
- removing Assign/AppendWithConversion for single-characters
- removing unused StripChars
- removing ReplaceChar[s] for non-matching chars
- removing CompressSet
- removing nsCString::Find/FindCharInSet/RFind for unichar strings
- removing lots of EqualsWithConversion
r=dp, sr=jag
a=asa


git-svn-id: svn://10.0.0.236/trunk@115750 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 23:18:21 +00:00
bzbarsky%mit.edu
f68919f405 Relanding the Compare --> Equals conversion. a=mcafee
git-svn-id: svn://10.0.0.236/trunk@114163 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-10 15:49:46 +00:00
bzbarsky%mit.edu
ffecf7f104 Testing performance impact of backout of what's left of the patch from
bug 115289.  See bug 123947 for details. a=mcafee


git-svn-id: svn://10.0.0.236/trunk@114152 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 20:46:05 +00:00
darin%netscape.com
815b675702 fixes bug 116798 "Opening IMAP mail hangs Mail program (and Mozilla)"
patch=adu@sparc.spb.su r/sr=bienvenu,darin


git-svn-id: svn://10.0.0.236/trunk@114084 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 23:29:12 +00:00
bzbarsky%mit.edu
2fd80b82c9 Convert Compare() to Equals() where possible now that we can do
case-insensitive Equals().  Bug 115289, r=alecf, sr=jag


git-svn-id: svn://10.0.0.236/trunk@113665 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 02:03:07 +00:00
alecf%netscape.com
4331ed65d3 First part of fix for bug 107575 - remove nsString::FindChar because there is already an nsAString::FindChar, and remove the "ignore case" option in RFindChar
r=dougt, sr=jag


git-svn-id: svn://10.0.0.236/trunk@113200 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 06:04:29 +00:00
jaggernaut%netscape.com
436d43f211 Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf
git-svn-id: svn://10.0.0.236/trunk@110579 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-16 11:58:03 +00:00
dbaron%fas.harvard.edu
52bea38360 Add assertions that users of nsDependentC?String meet the requirements of nsAFlatC?String. Add nsDependentSingleFragmentC?Substring for users that don't. Additional cleanup after bug 100214. b=104651 r=jag sr=scc
git-svn-id: svn://10.0.0.236/trunk@107556 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-07 04:12:20 +00:00
dbaron%fas.harvard.edu
7ac5c84051 Correct incorrect bustage fix that was causing some odd text substitutions in mail messages. r=jag sr=alecf, hyatt b=104693
git-svn-id: svn://10.0.0.236/trunk@105653 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-18 03:21:31 +00:00
dbaron%fas.harvard.edu
37bd8ec3b2 Fix Sun WS 5.0 bustage by moving conditional deeper into expression. b=100214
git-svn-id: svn://10.0.0.236/trunk@105354 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-13 04:25:23 +00:00
alecf%netscape.com
daa3b327a3 convert from nsCRT::strn?cmp to Compare() for bug 100214 r=jag, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@105317 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-13 00:12:02 +00:00
jaggernaut%netscape.com
51e0dc7a6c Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@104212 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 08:28:41 +00:00
alecf%netscape.com
3af4e8c8ed beginning of bug 100214 - eliminate encoding-insensitive nsCRT::str*cmp uses by properly converting to unicode. r=jag, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@103858 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 20:26:14 +00:00
jaggernaut%netscape.com
234588f481 Bug 98153: Remove SubsumeStr. r=dbaron, sr=scc
git-svn-id: svn://10.0.0.236/trunk@102292 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 10:46:45 +00:00
mscott%netscape.com
3f16112777 Bug #97835 --> don't linkify words with @ signs in them unless they have a '.' somewhere after the space.
r=varada
sr=sspitzer
a=asa


git-svn-id: svn://10.0.0.236/trunk@102134 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-01 00:57:07 +00:00
jaggernaut%netscape.com
51b17b5bf0 Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.

nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)


git-svn-id: svn://10.0.0.236/trunk@98363 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-30 11:02:25 +00:00
mscott%netscape.com
fef75fad9e Bug #68237 --> fix array bounds read in ::ScanTXT
r=benb
sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@92651 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-18 04:08:25 +00:00
anatoliya%netscape.com
2b17a7e785 bug-4596 r=jelwell, suresh sr=kin
git-svn-id: svn://10.0.0.236/trunk@92169 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-13 04:13:10 +00:00
darin%netscape.com
9d03c579d0 Necko API changes, bug 74221. r=valeski, sr=rpotts.
git-svn-id: svn://10.0.0.236/trunk@91842 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-10 06:01:08 +00:00
anatoliya%netscape.com
9d2c3dc377 New smileys bug-4013 r=andreww sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@91638 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-07 05:49:24 +00:00
syd%netscape.com
4180f0b973 Fix for:
http://bugzilla.mozilla.org/show_bug.cgi?id=68229

r=andreww, sr=sfraser. checking in for anatoliya


git-svn-id: svn://10.0.0.236/trunk@89629 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 07:33:46 +00:00
dougt%netscape.com
175245e2de Relanding Necko Changes.
Revising nsIChannel to allow for overlapped i/o. This consists of three parts:

1. Factoring nsIChannel into a protocol specific part, the nsIChannel, and a socket specific, the nsITransport.
2. Derive the nsIChannel from a nsIRequest.
2. Changes the notification system from necko and the URILoader to pass the nsIRequest interface instead of nsIChannel interface.

This goal stems from wanting to be able to have active AsyncRead and AsyncWrite operations on nsSocketTransport.
This is desired because it would greatly simplify the task of maintaining persistent/reusable socket connections
for FTP, HTTP, and Imap (and potentially other protocols). The problem with the existing nsIChannel interface is
that it does not allow one to selectively suspend just one of the read or write operations while keeping the other active.

r=darin@netscape.com
sr=rpotts@netscape.com


git-svn-id: svn://10.0.0.236/trunk@87587 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-21 20:38:08 +00:00
disttsc%bart.nl
03f69c5003 Back out dougt's channel changes
git-svn-id: svn://10.0.0.236/trunk@86793 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-12 03:14:23 +00:00
dougt%netscape.com
7af79c83df Revising nsIChannel to allow for overlapped i/o. This consists of three parts:
1. Factoring nsIChannel into a protocol specific part, the nsIChannel, and a socket specific, the nsITransport.
2. Derive the nsIChannel from a nsIRequest.
2. Changes the notification system from necko and the URILoader to pass the nsIRequest interface instead of nsIChannel interface.

This goal stems from wanting to be able to have active AsyncRead and AsyncWrite operations on nsSocketTransport.
This is desired because it would greatly simplify the task of maintaining persistent/reusable socket connections
for FTP, HTTP, and Imap (and potentially other protocols).  The problem with the existing nsIChannel interface is
that it does not allow one to selectively suspend just one of the read or write operations while keeping the other active.

The full details of the change on written up in the netlib newsgroup.

r=darin@netscape.com
sr=rpotts@netscape.com


git-svn-id: svn://10.0.0.236/trunk@86717 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-10 00:16:26 +00:00
mozilla.BenB%bucksch.org
86f9e69842 65488: Small speed improvements. Obviously intended by mscott, but not actually taken advantage of, till now. sr=mscott, r=dougt.
git-svn-id: svn://10.0.0.236/trunk@86210 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-05 10:25:00 +00:00
alecf%netscape.com
63a1f09a5d #45797 - fix consumers of NS_IMPL_ISUPPORTS
r=dveditz a=self


git-svn-id: svn://10.0.0.236/trunk@82723 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-17 03:45:13 +00:00
warren%netscape.com
a8b9664a8c Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
git-svn-id: svn://10.0.0.236/trunk@81967 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 22:17:53 +00:00
warren%netscape.com
c6b67eceeb Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
git-svn-id: svn://10.0.0.236/trunk@81885 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 22:43:51 +00:00
mozilla.BenB%bucksch.org
3d0feef7ba 52042: "Escape" classes inserted by our TXT recognizer(s) by prepending "moz-"
39771: * -> <b> (not <strong>), / -> <i> (not <em>)
18427, Step 1: Add |class=moz-text-html | to wrapping <div>, so users can add rules specific to HTML msgs to their user stylesheets (e.g. to ignore certain formatting). r=rhp
Updating msg body UA stylesheets
r=a=alecf


git-svn-id: svn://10.0.0.236/trunk@78949 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 02:11:00 +00:00
warren%netscape.com
997161d193 Factored string bundles out of necko. Fixes bug 42107 - need to fix string bundle init workaround. Also bug 40506 - nsIWebProgressListener needs status text. Status messages now work in mozilla and viewer with internationalized and parameterized text! Added temporary error architecture until bug 13423 can be fixed. Extended nsIStringBundleService to provide method to format status message. r=valeski,jband,tao. verified=mstoltz
git-svn-id: svn://10.0.0.236/trunk@74729 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-25 05:45:56 +00:00
mscott%netscape.com
8320a56cd0 Bug #42016 --> fix by Ben Bucksch
r=mscott, a=waterson


git-svn-id: svn://10.0.0.236/trunk@72408 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 21:20:13 +00:00
mscott%netscape.com
a6564b34a7 Bug #34672 --> be sure to append the glyph html to the output string.
r=ben bucksch


git-svn-id: svn://10.0.0.236/trunk@71745 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 00:50:41 +00:00
mscott%netscape.com
bc1f47a275 Bug #32420 --> checking in for Ben Bucksch (mozilla@bucksch.org)
r=mscott


git-svn-id: svn://10.0.0.236/trunk@70274 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 04:22:49 +00:00
warren%netscape.com
06f5a41c27 Combined all necko dlls into two. Bug 17031.
git-svn-id: svn://10.0.0.236/trunk@68526 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-06 09:15:56 +00:00
scc%netscape.com
8bddc6616e making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66079 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 09:16:58 +00:00
scc%netscape.com
f969456203 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@64929 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-02 09:10:15 +00:00
warren%netscape.com
9fa657f1cd Necko API changes: primarily nsIChannel, changing initialization parameters to accessors. Got javascript: evaluation to happen at the right time (when AsyncRead is called) as well as on the right thread.
git-svn-id: svn://10.0.0.236/trunk@64449 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 03:58:50 +00:00
mscott%netscape.com
1d88b6ecd1 Bug #30840 --> i broke scantxt for (c), (r) and +/- cases before beta1
r=alecf


git-svn-id: svn://10.0.0.236/trunk@62970 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 01:43:55 +00:00
rickg%netscape.com
1bd57cb94b removed calls to deprecated string methods
git-svn-id: svn://10.0.0.236/trunk@62707 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 09:14:14 +00:00
sspitzer%netscape.com
a9fd3ae77d better fix for #30646. r=mscott, a=jar.
git-svn-id: svn://10.0.0.236/trunk@62375 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-08 04:21:46 +00:00
sspitzer%netscape.com
bf338a530b fix for bug #30646. crash on certain news messages. r=mscott, a=jar.
git-svn-id: svn://10.0.0.236/trunk@62319 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 20:49:48 +00:00
mscott%netscape.com
610c7ae2f3 Bug #30281 --> fix for the regression that's keeping the tree closed. unescape was failing on short strings....argggh.
a=granrose


git-svn-id: svn://10.0.0.236/trunk@62152 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 20:38:59 +00:00
mscott%netscape.com
3f887d0de8 Bug #26915, #21203, #22960, #29773 --> improve performance of mozTXTToHTMLConv
r=waterson
a=phil,waterson


git-svn-id: svn://10.0.0.236/trunk@62124 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 06:49:23 +00:00
rhp%netscape.com
2e743ad22e Fixing last checkin...changed wrong comma.
git-svn-id: svn://10.0.0.236/trunk@61072 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-16 05:33:17 +00:00
rhp%netscape.com
270cf14bea Fix for problem terminating detection on commas - Bug #: 27716 - r: rhp (BenB contribution)
git-svn-id: svn://10.0.0.236/trunk@61054 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-16 04:50:54 +00:00
rhp%netscape.com
c2f7bed7c0 Fixing build related problem
git-svn-id: svn://10.0.0.236/trunk@58547 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 03:22:45 +00:00
rhp%netscape.com
173fdb52d8 Fixes for emoticon recognition - Bug #21203 - r: rhp (externally contributed)
git-svn-id: svn://10.0.0.236/trunk@57335 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 01:56:25 +00:00
sspitzer%netscape.com
71c0694649 rest of fix for #21649. don't get the pref values inside the stream converter, get it in compose and mime, and pass the value through.
thanks to mozilla@bucksch.org for explaining the right thing to do.

also fix a couple of warnings.

r=bienvenu


git-svn-id: svn://10.0.0.236/trunk@56510 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-23 22:20:10 +00:00
sspitzer%netscape.com
26d71b9146 rest of fix for #21649. allow users to disable the emoticon / struct conversion of plain text emails
git-svn-id: svn://10.0.0.236/trunk@56384 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 09:16:53 +00:00