1220 Commits

Author SHA1 Message Date
darin%meer.net
cea1dc23ec fixes bug 319368 "Implement <a ping>" r=jst sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@187296 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-11 01:50:15 +00:00
gavin%gavinsharp.com
a7a6255740 Bug 320851: http authentication (401) prompt no longer displays scheme, r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@187239 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-10 17:59:49 +00:00
darin%meer.net
409421c436 fixing bustage
git-svn-id: svn://10.0.0.236/trunk@186808 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-02 03:20:04 +00:00
darin%meer.net
39a4a58990 Initial patch for bug 312760 "Provide base channel for use by protocol implementations" r=biesi sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@184504 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-12 18:17:19 +00:00
bsmedberg%covad.net
0217e2f9a9 Bug 313309 part 2 - change the NS_DEFINE_STATIC_IID_ACCESSOR macro to NS_DECLARE, and make a NS_DEFINE_ macro that's outside the class declaration, r=shaver
git-svn-id: svn://10.0.0.236/trunk@184456 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-11 14:36:26 +00:00
cbiesinger%web.de
eaf06b8983 Bug 248052 Add a contract ID for a global channeleventsink. Make the
scriptsecuritymanager register for that and implement nsIChannelEventSink. Veto
redirects if CheckLoadURI fails. Remove the explicit usage of
nsIScriptSecurityManager from nsHttpChannel.cpp.

This eliminates js and xpconnect from REQUIRES, and brings us closer to remove
caps.

r=darin sr=bz


git-svn-id: svn://10.0.0.236/trunk@184313 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-08 20:47:16 +00:00
cbiesinger%web.de
fec920c481 bug 313414 process cookies only after sending http-on-examine-response, to allow
the observer to do stuff to the cookie header (modify or delete it)
r+sr=darin


git-svn-id: svn://10.0.0.236/trunk@183011 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-25 21:00:54 +00:00
darin%meer.net
940ce1abd9 fixes bug 300613 "insecure page can be made to appear secure" r=bzbarsky sr=dveditz
git-svn-id: svn://10.0.0.236/trunk@182679 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-21 01:56:55 +00:00
darin%meer.net
3fbfc46951 fixes bug 309424 "mozilla 1.5beta1 freezes & goes into 95+% cpu usage browsing blackisha.com" r=biesi sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@182600 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-20 18:19:24 +00:00
joshmoz%gmail.com
72d4e35384 Fix Intel Mac UA string, navigator.oscpu, navigator.platform values. The values in this patch match up with what Apple is using in their latest Intel build. b=297607 r=dbaron sr=darin
git-svn-id: svn://10.0.0.236/trunk@182479 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-18 19:32:01 +00:00
darin%meer.net
ca087614d5 fixes bug 304286 "Certificate failures during automatic check for updates should not give user choice to connect anyway" r=biesi sr=dveditz
git-svn-id: svn://10.0.0.236/trunk@182294 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-15 02:46:06 +00:00
darin%meer.net
7b0ff0b1bb fixes bug 309391 "XMLHttpRequest fails to track proxy server failover" r=biesi
git-svn-id: svn://10.0.0.236/trunk@180719 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-21 00:19:20 +00:00
darin%meer.net
ef1c8abd77 fixes bug 308858 "Use NS_ERROR_INVALID_CONTENT_ENCODING when encodings don't match" patch by Vidar Braut Haarr <vhaarr+bmo@gmail.com>, r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@180453 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-17 01:24:48 +00:00
bzbarsky%mit.edu
69fdd9201c Show a useful error message if a page claims to be compressed and isn't. Bug
184144, patch by Vidar Braut Haarr <vhaarr+bmo@gmail.com>, r=darin, sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@180424 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-16 19:27:27 +00:00
timeless%mozdev.org
cb6d168fcc Bug 308573 use if (NS_FAILED(...)) instead of if NS_FAILED(...)
patch by b.jacques@planet.nl r=darin sr=darin


git-svn-id: svn://10.0.0.236/trunk@180324 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-15 23:17:17 +00:00
darin%meer.net
69b5c49ffb fixes bug 308405 "'@mozilla.org/security/hash;1' incorrectly invoked as a service in nsHttpDigestAuth.cpp" r=dougt
git-svn-id: svn://10.0.0.236/trunk@180261 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-15 00:25:21 +00:00
darin%meer.net
37430f6e64 fixes bug 293350 "Allow dynamic changes to notification callbacks" r=biesi sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@179934 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-10 00:20:02 +00:00
cbiesinger%web.de
e49e27b622 bug 250375 allow necko consumers to append to the Cookie header
r+sr=darin


git-svn-id: svn://10.0.0.236/trunk@177688 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-13 11:46:11 +00:00
darin%meer.net
ec60ff5a9d fixes bug 302836 "nsHttpChannel.cpp: IsValidToken() should reject the empty string" patch by shutdown@flashmail.com, r=biesi, sr=darin, a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@177377 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-08 23:32:38 +00:00
darin%meer.net
62956a459f landing another tweak to patch for bug 297078 "really check for null byte in header values" r+sr=bzbarsky a=sparky
git-svn-id: svn://10.0.0.236/trunk@176683 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-27 18:13:11 +00:00
darin%meer.net
6555bc0929 landing follow-up patch to bug 297078 "fix signed character math" r+sr=bzbarsky a=sparky
git-svn-id: svn://10.0.0.236/trunk@176639 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-26 21:35:58 +00:00
darin%meer.net
6f5e9d58e0 fixes bug 297078 "restrict characters used in headers and the method name" r+sr=bzbarsky a=dveditz
git-svn-id: svn://10.0.0.236/trunk@176635 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-26 20:58:35 +00:00
bzbarsky%mit.edu
d5b67c4963 Make our content-type header parsing closer to spec (it wasn't allowing some
perfectly valid things), and have only one function for doing said parsing
instead of two separate functions.  Bug 244964, r+sr=darin, a=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@176555 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-25 20:27:04 +00:00
darin%meer.net
ae367c820c fixes bug 300010 "Canceling a HTTP request while it is reading a partial cache entry does not cancel the corresponding transaction" r=biesi sr=bz a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@176433 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-22 07:54:09 +00:00
dougt%meer.net
f6bfb0f2ae Updating UA string for WINCE. r=darin, sr=dveditz, a=asa. WinCE only.
git-svn-id: svn://10.0.0.236/trunk@176343 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-20 18:43:27 +00:00
shaver%mozilla.org
f5c01c9e13 Bug 269823: fix invalid casts preventing compilation on 64-bit systems with
gcc4.  Patch from falk@debian.org, r=bsmedberg,sr+a=shaver.


git-svn-id: svn://10.0.0.236/trunk@176341 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-20 18:31:42 +00:00
timeless%mozdev.org
17bce7cadf Bug 243999 nsresult PrepareAcceptLanguages returns nsnull
patch by b.jacques@planet.nl r=biesi sr=darin a=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@175427 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-30 22:01:15 +00:00
darin%meer.net
4dcd98e6e2 fixes bug 100022 "PAC: first page/homepage load fails (b/c automatic proxy configuration is slower than first HTTP request)" r=biesi a=asa
git-svn-id: svn://10.0.0.236/trunk@175134 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-24 23:58:25 +00:00
gandalf%firefox.pl
71d1804cbb Bug 296456: Fix license headers on some HTTP source files; r=darin,sr=dveditz, a=asa
git-svn-id: svn://10.0.0.236/trunk@174471 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-11 13:12:55 +00:00
pkw%us.ibm.com
7ac4142fb6 Bug 296270 - Default user agent on AIX contains machine information.
r=mozilla@kaply.com, sr=darin@meer.net, a=mozilla@kaply.com


git-svn-id: svn://10.0.0.236/trunk@174091 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-02 23:17:50 +00:00
dougt%meer.net
c7082d0bc3 Fixing regression caused by bug 292368. This patch fixes bug 296369. Simple fix -- use the right contract id.
git-svn-id: svn://10.0.0.236/trunk@174064 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-02 15:27:31 +00:00
dougt%meer.net
c3e3eda0f8 Add a scriptable hash function API. basically what this does is moves the hashing function out of the nsISignatureVerifier.idl and creates a new interface nsICryptoHash which is scriptable. Because of this change, we needed to fix up all of the call sites. r=darin, sr=dveditz, a=shaver
git-svn-id: svn://10.0.0.236/trunk@173927 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-01 16:06:53 +00:00
bzbarsky%mit.edu
64ecd3dca4 Drop our ref to the event queue once we're done with it, just in case. Bug
290969, r+sr=darin, a=brendan


git-svn-id: svn://10.0.0.236/trunk@173511 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-17 16:27:52 +00:00
darin%meer.net
a4c2fc09ea fixes bug 278885 "cache access denied from (ntlm) proxy on websites that require basic authentication" patch by jr@eenterphace.org, r+sr=darin, a=asa
git-svn-id: svn://10.0.0.236/trunk@173455 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-15 17:30:56 +00:00
darin%meer.net
633b288215 fixes bug 248827 "Support HTTP/1.1 408 response code [was: 408 request timeout on a used, persistent, keep-alive connection is mistakenly used as the response on a subsequent request]" r=biesi sr=bz a=shaver
git-svn-id: svn://10.0.0.236/trunk@173248 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-10 06:09:45 +00:00
darin%meer.net
3a07aa4100 Attempt to fix creature bustage
git-svn-id: svn://10.0.0.236/trunk@172847 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-28 23:00:09 +00:00
darin%meer.net
af71daf505 fixes bug 291230 "HTTP downloads don't progress beyond (filesize % 4GB)" patch by mark@moxienet.com, r=biesi, sr=darin, a=asa
git-svn-id: svn://10.0.0.236/trunk@172832 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-28 21:34:55 +00:00
darin%meer.net
8d3ef73de3 fixes bug 289374 "Wrong behaviour when combining INHIBIT_CACHING with LOAD_BYPASS_CACHE" r=biesi sr=bzbarsky a=dbaron
git-svn-id: svn://10.0.0.236/trunk@172307 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-15 20:09:56 +00:00
dbaron%dbaron.org
a3f24ccfd1 Make it possible for apps, extensions, and vendors to all add tokens to the User-Agent string (using default preferences) without overwriting each other. b=274928 r+sr=darin a=mkaply
git-svn-id: svn://10.0.0.236/trunk@171858 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-07 18:11:59 +00:00
cbiesinger%web.de
5d85d7ccaa bug 283489 r=darin sr=bz
- Make the HTTP, FTP and file channels implement nsIPropertyBag2 and associated
  interfaces (by inheriting from nsHashPropertyBag)
- Use that interface to expose a "content-length" property giving the length of
  the data as a 64-bit value on the FTP and HTTP channels
- change docshell and xpinstall to use nsIPropertyBag2 instead of nsIProperties
  to read/write the referrer property


git-svn-id: svn://10.0.0.236/trunk@171661 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-05 17:40:32 +00:00
darin%meer.net
059126619f fixes bug 220566 "Randomly hangs in PL_HashTableRawLookup at start of page load" r=brendan
git-svn-id: svn://10.0.0.236/trunk@171466 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-01 18:35:14 +00:00
bsmedberg%covad.net
a5b586d686 Backing out bug 220566 to get tboxen green a=#developers
git-svn-id: svn://10.0.0.236/trunk@171427 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-31 13:56:30 +00:00
darin%meer.net
8758d2823c fixes bug 220566 "Randomly hangs in PL_HashTableRawLookup at start of page load" r=brendan
git-svn-id: svn://10.0.0.236/trunk@171423 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-31 06:22:11 +00:00
darin%meer.net
88307463ec increased logging for NTLM authentication to help track down cause of bug 283331
git-svn-id: svn://10.0.0.236/trunk@171223 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-25 22:25:32 +00:00
darin%meer.net
c7bc8f9e5d landing patch for bug 282442 "Provide interface for configuring proxies" r=biesi sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@171190 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-25 03:41:33 +00:00
cbiesinger%web.de
d9a72e144b 286790 remove unused variable
r+sr=darin


git-svn-id: svn://10.0.0.236/trunk@170924 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-20 13:22:05 +00:00
darin%meer.net
3783026f59 fixes bug 282441 "map tiles sometimes fail to load when pipelining is enabled" r=biesi sr=bz
git-svn-id: svn://10.0.0.236/trunk@170795 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-16 20:50:37 +00:00
cbiesinger%web.de
6609fd883a Bug 284362 pass unicode host to OnStatus
r+sr=darin


git-svn-id: svn://10.0.0.236/trunk@170782 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-16 18:04:11 +00:00
cbiesinger%web.de
af30395567 181938 allow any protocol to support redirection, using a new
nsIChannelEventSink interface.
r=darin sr=bz


git-svn-id: svn://10.0.0.236/trunk@170312 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-07 19:46:06 +00:00
jst%mozilla.jstenback.com
4f91ff34c8 Fixing the browser side of bug 265536. Make the user agent string differentiate between 32-bit and 64-bit version of mozilla when running on x86_64 unix systems. r=bzbarsky@mit.edu, sr=darin@meer.net
git-svn-id: svn://10.0.0.236/trunk@170139 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-03 18:08:01 +00:00