4324 Commits

Author SHA1 Message Date
darin%netscape.com
56fee4cc27 fixes bug 202555 "ExtractProxyInfo not honoring permitHttp flag! [was: IMAP
port "disabled for security reasons"]" r=gordon sr=bz


git-svn-id: svn://10.0.0.236/trunk@141458 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-19 20:03:31 +00:00
darin%netscape.com
2ebbfbf4e4 fixes bug 202188 "Gopher support completely defunct" r=dougt sr=bz
git-svn-id: svn://10.0.0.236/trunk@141457 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-19 19:47:28 +00:00
darin%netscape.com
3af764824f fixes bug 200391 "roaming to a different IP address, get new mail (for pop)
stops working (silently fails)" r=dougt,gordon sr=bz


git-svn-id: svn://10.0.0.236/trunk@141456 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-19 19:45:17 +00:00
seawood%netscape.com
2cd58ae582 Removing unneeded _BSD_SOURCE
Bug #202510


git-svn-id: svn://10.0.0.236/trunk@141434 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-19 02:12:08 +00:00
seawood%netscape.com
3b350b75cd Remove global _POSIX_SOURCE & _SVID_SOURCE defines for linux.
Bug #202510 r=darin


git-svn-id: svn://10.0.0.236/trunk@141408 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-18 20:14:17 +00:00
darin%netscape.com
33058882d3 avoid compiler warning
git-svn-id: svn://10.0.0.236/trunk@141361 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-18 04:46:40 +00:00
kairo%kairo.at
81cde04677 bug 202312 - localeVersion update for 1.4b, r=rchen, sr=blizzard
git-svn-id: svn://10.0.0.236/trunk@141326 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-17 18:43:57 +00:00
darin%netscape.com
d3032a4c75 removing dead necko build utility
git-svn-id: svn://10.0.0.236/trunk@141296 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-17 07:27:51 +00:00
gordon%netscape.com
1c7869ecd1 Fix bug 192798, set flag to clear dns cache when toggled offline/online.
r=dougt, sr=darin.


git-svn-id: svn://10.0.0.236/trunk@141257 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-16 20:26:50 +00:00
darin%netscape.com
9f57ab74cc fixes bug 84798 "PAC: Failover does not work" r=dougt sr=alecf
git-svn-id: svn://10.0.0.236/trunk@141205 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-15 23:07:12 +00:00
darin%netscape.com
8c532b6b52 fixes bug 105292 "Accept-encoding: deflate unsupported, but requested" patch=david_dick@iprimus.com.au r=dougt sr=darin
git-svn-id: svn://10.0.0.236/trunk@141141 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-14 23:51:50 +00:00
darin%netscape.com
1d85a6eb2d fixes bug 201986 "infinite network loop when auth realm changes" r=dougt sr=alecf
git-svn-id: svn://10.0.0.236/trunk@141133 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-14 21:35:27 +00:00
dougt%netscape.com
1a08c803cc Updates to latest version of ParseList by Cyrus Patel. This fixes the problem with filenames with multiple spaces. sr=darin, b=195956
git-svn-id: svn://10.0.0.236/trunk@141131 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-14 21:21:36 +00:00
darin%netscape.com
7585508ffb fixes bug 201663 "FTP download from nightly / trunk - archives are short" r=dougt sr=bryner
git-svn-id: svn://10.0.0.236/trunk@141071 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-12 22:01:33 +00:00
brendan%mozilla.org
271e886eb3 Reduce seeks outside the FastLoad file's underlying stream buffer (195010,
r=ben, sr=bryner).

- Pass null scope objects into nsIScriptContext::Compile{EventHandler,Script}
when precompiling for brutal sharing.  The JS engine does not need a non-null
object parameter for static scope.  That parameter can be non-null only if it
helps the compiler "pre-bind" functions to the same scope object that they'll
be parented by when executing, but with brutal sharing, functions are
precompiled once and executed against many different scope objects.

- A problem in XUL FastLoad was that it would serialize master .xul document
out-of-line scripts (those included via script src= from non-overlay, "master"
.xul docs) far from the place in the FastLoad file where XUL prototype script
info was serialized for the <script src=> tag itself.  I fixed that so that,
unless the out-of-line script was previously serialized (by a different src=
reference from another .xul file), the OOL script data immediately follows the
proto-script info in the FastLoad file.

This required adding a SerializeOutOfLine method to nsXULPrototypeScript, which
restores symmetry by matching the existing DeserializeOutOfLine(Script) (note:
I dropped the redundant "Script" from the end of the latter method's name.  We
need SerializeOutOfLine to handle overlay OOL scripts.	They are serialized by
nsXULDocument::OnStreamComplete, because that code knows the difference between
an overlay and a master doc.  This removes all trace of FastLoad writing from
nsXULPrototypeScript::Compile -- FastLoad stuff didn't belong there, not only
because we now want to write master OOL scripts later, when walking the master
XUL prototype doc's element tree, but also for modularity reasons.  The caller
knows about FastLoad, nsXULPrototypeScript::Compile does just what its name
implies.

There are 132 seeks with the patch, only 49 of which dump the underlying file
stream's buffer, vs. 133 seeks without the patch, 87 of which dump the buffer.

- Nit-picked some comments to fit in 80 columns, and made other cosmetic fixes.

- Implicated the nsXULDocument::mIsWritingFastLoad flag from the useXULCache
"is the XUL cache enabled?" flag, so other places that test mIsWritingFastLoad
don't have to query whether the cache is enabled.

- Added METERING synchronous meter-dumping to /tmp/bufstats, only ifdef
DEBUG_brendan, in netwerk/base/src/nsBufferedStreams.cpp.

- Added the deferred seek optimization from the first patch in bug 195010 to
nsFastLoadFile.cpp.

- Fixed nsFastLoadFileReader so it overrides readSegments as well as read.
This catches up with the interface extension made to nsIInputStream to add
readSegments.  The nsFastLoadFileReader extends nsBinaryInputStream, which is
a concrete class, and overrides Read in order to snoop on *all* bytes read.
It does this in order to demultiplex documents interleaved when the FastLoad
file was written.

But since the readSegments move into nsIInputStream.idl, certain primitives
in nsBinaryStream.cpp, e.g., nsBinaryInputStream::ReadCString, have used
ReadSegments, not Read, to consume parts of the underlying stream (to read
the C string's chars, in that example), and the FastLoad file implementation
has not accounted for those bytes.

- Added a new method to nsIFastLoadFileControl and its impls: hasMuxedDocument.
 This is needed when serializing master XUL doc OOL scripts, because we must
not serialize twice, and any OOL script that other XUL docs can include via
script src= could already be in the FastLoad mux.

/be


git-svn-id: svn://10.0.0.236/trunk@141047 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-12 01:34:11 +00:00
darin%netscape.com
fa1226134e fixes bug 80918 "Proxy: 'No Proxy for:' does not support ip address wildcards" r=bbaetz sr=alecf
git-svn-id: svn://10.0.0.236/trunk@141031 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-11 18:24:55 +00:00
nhotta%netscape.com
2e3cf9e4c9 Initialize IDN service at nsStandardURL constructor,
added pref observers for IDN related prefs,
bug 188218, r=darin, sr=alecf.


git-svn-id: svn://10.0.0.236/trunk@141029 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-11 17:05:56 +00:00
nhotta%netscape.com
771b58c6ee Adding Ascii check for mailto url recognition,
bug 201369, r=ben.bucksch, sr=darin.


git-svn-id: svn://10.0.0.236/trunk@141028 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-11 16:56:01 +00:00
darin%netscape.com
6d3b44ee11 fixes bug 201570 "enable socket transport logging in nightly builds" r=dougt sr=brendan
git-svn-id: svn://10.0.0.236/trunk@141018 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-11 01:19:07 +00:00
darin%netscape.com
365dfefc31 fixes bug 201370 "TLS intolerance detection broken" r=kaie sr=alecf
git-svn-id: svn://10.0.0.236/trunk@140991 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-10 19:06:24 +00:00
cls%seawood.org
d2c343e097 Fix mingw bustage.
Bug #134113 r=darin


git-svn-id: svn://10.0.0.236/trunk@140962 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-10 05:16:51 +00:00
sspitzer%netscape.com
d6aeca6f25 fix for bug #119964. implement yEnc decoding.
note, we have no plans to support yEnc encoding.
thanks to ducarroz for the patch.  r/sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@140955 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-10 02:19:35 +00:00
darin%netscape.com
945b3b8d5c fixes bug 201303 "Utilize new nsIAtom methods to reduce string conversions in nsCacheMetaData" r=gordon sr=alecf
git-svn-id: svn://10.0.0.236/trunk@140953 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-10 00:59:33 +00:00
suresh%netscape.com
b53e574725 removing obsolete nsIAuthenticator file. bug 182164.
git-svn-id: svn://10.0.0.236/trunk@140922 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-09 21:12:10 +00:00
darin%netscape.com
a6ff48fd72 fixes bug 194402 "publishing doesn't complete; opens multiple FTP control connetctions" r=dougt sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@140876 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-08 22:18:10 +00:00
timeless%mozdev.org
84e34b44de Bug 199200 Make Networking Tests XP friendly by using the eventqueueservice
r=darin


git-svn-id: svn://10.0.0.236/trunk@140871 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-08 22:01:43 +00:00
darin%netscape.com
227e9fc008 fixes bug 201054 "SSL proxy CONNECT w/ NTLM auth fails" r=dougt sr=bz
git-svn-id: svn://10.0.0.236/trunk@140866 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-08 21:12:24 +00:00
dougt%netscape.com
6a519020cc allowing ftp URLs w/ anonymous username to automatically use anonymous password. r+sr=darin, b=196286
git-svn-id: svn://10.0.0.236/trunk@140852 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-08 20:31:24 +00:00
suresh%netscape.com
9c61cbf138 fix for bug 155155 - digest authentication fails when switching between POST&GET requests. r-dougt, sr-darin.
git-svn-id: svn://10.0.0.236/trunk@140848 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-08 20:03:40 +00:00
axel%pike.org
06d5f78d10 bug 201012, get rid of offline warning in PostEvent, r/sr=darin
git-svn-id: svn://10.0.0.236/trunk@140814 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-07 21:07:21 +00:00
darin%netscape.com
be588896d1 fixes bug 200681 "Crash on <link rel=stylesheet href="mailto:foo">" r/sr=bz,sspitzer
git-svn-id: svn://10.0.0.236/trunk@140788 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-07 06:18:44 +00:00
darin%netscape.com
d22f538253 fixes bug 200971 "nsConnectionEntry is leaked" patch=bryner r=dougt sr=darin
git-svn-id: svn://10.0.0.236/trunk@140787 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-07 06:12:42 +00:00
darin%netscape.com
5842c9c60e backing out small part of my patch for bug 159015 that shouldn't have been
checked in.


git-svn-id: svn://10.0.0.236/trunk@140786 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-07 06:10:47 +00:00
bzbarsky%mit.edu
5bc7be0507 prettify HTML-detection a bit; make it a little less likely to detect HTML.
Bug 144672, r=bbaetz, sr=darin


git-svn-id: svn://10.0.0.236/trunk@140721 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-04 22:46:50 +00:00
darin%netscape.com
b700779e62 fixes bug 191715 "PAC: did not work, after a external site is shown" r=bbaetz sr=bz
git-svn-id: svn://10.0.0.236/trunk@140709 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-04 20:50:46 +00:00
timeless%mozdev.org
3fbb54fa10 Bug 199200 Make Networking Tests XP friendly by using the eventqueueservice
r=darin


git-svn-id: svn://10.0.0.236/trunk@140703 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-04 16:01:51 +00:00
darin%netscape.com
7e326ab1c2 fixes bug 200365 "trunk topcrash [@ nsUnknownDecoder::SniffForImageMimeType]"
r=dougt sr=bz


git-svn-id: svn://10.0.0.236/trunk@140651 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-03 19:36:27 +00:00
suresh%netscape.com
a0b31a1708 fix for bug 199910 - should HTTP null-check prompt callbacks?. r-dougt, sr-darin.
git-svn-id: svn://10.0.0.236/trunk@140612 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 23:43:12 +00:00
seawood%netscape.com
5921049139 Purge XP_PC.
Bug #56767 r=mkaply sr=alecf


git-svn-id: svn://10.0.0.236/trunk@140602 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 22:45:08 +00:00
nhotta%netscape.com
e286ed36eb Initialized the output string before appending the results,
bug 200037, r=ftang, sr=darin.


git-svn-id: svn://10.0.0.236/trunk@140598 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 21:33:23 +00:00
bryner%netscape.com
9026f24ee4 Fix a leak of the output stream and socket transport due to shutdown ordering problems (bug 200094). Patch by darin, r=dougt, sr=me.
git-svn-id: svn://10.0.0.236/trunk@140539 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 03:27:17 +00:00
bryner%netscape.com
e3f14df830 Fix a leak when the directory listing is pulled from the cache (bug 199425). r=bbaetz, sr=darin.
git-svn-id: svn://10.0.0.236/trunk@140537 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 03:17:30 +00:00
guru%startrek.com
ae49e6c1b4 Fix for bug 199500 - Crash in nsHttpConnectionMgr::OnSocketEvent if PSM is not installed; p=darin r/sr=alecf a=dbaron
git-svn-id: svn://10.0.0.236/trunk@140423 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-28 15:02:42 +00:00
darin%netscape.com
876d073b24 landing final patch for NTLM authentication based on WIN32 SSPI API, b=159015 r=kaie sr=dbaron a=asa
git-svn-id: svn://10.0.0.236/trunk@140395 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-27 19:31:53 +00:00
darin%netscape.com
6c2e03d724 fixes topcrash bug 199492 "crash while submitting form on www.sony.com [@nsHttpConnection::CloseTransaction]" r+sr=alecf a=dbaron
git-svn-id: svn://10.0.0.236/trunk@140394 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-27 18:47:34 +00:00
gordon%netscape.com
f1e46c61a4 Fix bug 198267. Fix accounting of mInactiveSize to prevent assertion. rs=darin.
git-svn-id: svn://10.0.0.236/trunk@140337 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-26 05:14:27 +00:00
darin%netscape.com
2a07b88e40 landing framework changes to support NTLM authentication b=159015 r=dougt,cathleen sr=alecf
git-svn-id: svn://10.0.0.236/trunk@140336 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-26 05:05:49 +00:00
suresh%netscape.com
a7360b2aec fix for 191946 - shows japanese language, instead of english. r/sr-darin
git-svn-id: svn://10.0.0.236/trunk@140313 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-26 01:21:26 +00:00
suresh%netscape.com
3c69094473 fix for 139772 - PAC: HTTP auth support. r-dbradley, sr-darin.
git-svn-id: svn://10.0.0.236/trunk@140312 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-26 01:19:52 +00:00
nhotta%netscape.com
1bce5084b7 Implements ACE to UTF-8 and modified the test program,
bug 196717, r=shanjian, sr=darin.


git-svn-id: svn://10.0.0.236/trunk@140293 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-25 23:18:41 +00:00