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

683 Коммитов

Автор SHA1 Сообщение Дата
darin%netscape.com 2261a490d8 Whitespace and indentation cleanup. 2001-02-23 01:33:52 +00:00
darin%netscape.com 05899cc505 Fixes bug 58655. nsSyncHelper uses a native event queue. r=dougt, sr=mscott 2001-02-23 00:00:04 +00:00
disttsc%bart.nl 744785129a Mass REQUIRES update to synch up with string lib and xul changes in an attempt to fix senna bustage. r=jst, sr=cls 2001-02-22 09:35:51 +00:00
dougt%netscape.com eab041f43f 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
2001-02-21 20:38:08 +00:00
alecf%netscape.com c4e6df71a1 part of fix for #46488 - http startup handlers get an Observe() call as well
r=valeski, sr=waterson
2001-02-15 14:43:34 +00:00
disttsc%bart.nl 76fbedadc5 Back out dougt's channel changes 2001-02-12 03:14:23 +00:00
dougt%netscape.com 69415757ab 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
2001-02-10 00:16:26 +00:00
bryner%uiuc.edu 4274022fce Fix bug 67203 (https URL's not loading). r=dbaron, a=ben. 2001-02-01 04:10:35 +00:00
gagan%netscape.com cded3e2f30 Optimization for scheme comparison of URIs. See bug 66577 for details. r=darin, sr=brendan@mozilla.org 2001-01-31 01:33:03 +00:00
dbaron%fas.harvard.edu 7a97a55d82 Remove trailing semicolons after all uses of MOZ_DECL_CTOR_COUNTER to quiet build warnings on Mac. b=60415 a=brendan@mozilla.org 2001-01-27 23:06:33 +00:00
dbaron%fas.harvard.edu 20b685bf78 Reduce unnecessary #includes to speed up compilation. r=bryner/sfraser sr=alecf b=64023 2001-01-27 16:58:15 +00:00
gagan%netscape.com 1d3fb459be Fix for bug 58728. Null check for the disappearing mResponseDataListener. r=darin, sr=alecf. 2001-01-25 04:03:52 +00:00
neeti%netscape.com ec3a9c7b19 fix for bug 44153 - Redirect.xul needs to be removed, r=darin, sr=mscott 2001-01-24 14:04:02 +00:00
darin%netscape.com 6bfaf3912c Bug 62566. nsIChannel::AsyncWrite interface revision and related cleanup.
r=dougt@netcape.com, sr=mscott@netscape.com.
2001-01-23 22:10:34 +00:00
bryner%uiuc.edu 91ec263c8e PSM 2.0 work:
- Split nsISecureSocketInfo into nsISSLSocketControl and nsIChannelSecurityInfo.
- Incorporate lock icon fixes from psm-glue into pipnss code.
- Implement password callback for client auth in pipnss.
- Locallize the lock icon tooltip.
- Lots of code cleanup.

r=javi, jgmyers, sr=ben.
2001-01-19 01:12:10 +00:00
dbaron%fas.harvard.edu 83898774ca Add assertion and null-check to fix topcrash bug 52492. (This fix was checked in on the N6 branch long ago.) r=darin@netscape.com sr=mscott@netscape.com 2001-01-17 00:15:07 +00:00
neeti%netscape.com a8836f165b fix for bug 59975 - general.useragent.override ignored, r=darin@netscape.com,sr=mscott@netscape.com 2001-01-11 15:17:30 +00:00
dbaron%fas.harvard.edu 6b6cdcaeb5 Fix senna tinderbox bustage by adding profile to REQUIRES. 2001-01-10 23:51:12 +00:00
ccarlen%netscape.com 600a54a731 Part of 35559 - dynamic profile switching r=darin,sr=mscott 2001-01-10 20:24:23 +00:00
darin%netscape.com cddf6f1f01 Fixes bug 64617. UA-string is incorrect on BeOS. patch=vegarwa@online.no,
r=darin, sr=mscott.
2001-01-09 02:03:16 +00:00
darin%netscape.com abc91765fc Fixes bug 51363. Can't login into my.lycos.com. r=dougt, sr=mscott 2000-12-15 00:06:13 +00:00
bryner%uiuc.edu 8037980b2f Removing this file so the directory will go away. 2000-12-14 04:27:26 +00:00
bryner%uiuc.edu f5efcdfec7 Bug 61219 - don't use nsIPSMComponent! r/sr=rpotts. 2000-11-28 01:40:22 +00:00
darin%netscape.com ba83ab4885 Fixes bug 45747. Proxy auth does not handle multiple Proxy-Authenticate
headers.  Causes problems with MS proxy server II.  Patch supplied by
Brandon_Stewart@circuitcity.com.  r=darin, sr=mscott.
2000-11-21 01:14:50 +00:00
cls%seawood.org 8bd122b3d5 Resurrect REQUIRES so that we have some sort of means to track intermodule dependencies. Bug #59454 r=blizzard@mozilla.org 2000-11-20 07:16:06 +00:00
alecf%netscape.com ec958920a7 #45797 - fix consumers of NS_IMPL_ISUPPORTS
r=dveditz a=self
2000-11-17 03:45:13 +00:00
darin%netscape.com a4b1f04c3b Fixes bug 59661. Occurances of uninitialized variables... r=gagan, sr=mscott. 2000-11-15 22:21:46 +00:00
gagan%netscape.com 59b9fff66f Fixing the solaris bustage. 2000-10-31 00:16:16 +00:00
gagan%netscape.com 313ba56680 Fixes for 53580. These changes should build on AIX and Solaris as well. r=gagan,mkaply,darin, sr=scc 2000-10-30 21:50:54 +00:00
warren%netscape.com 4189314fdb Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc. 2000-10-28 22:17:53 +00:00
warren%netscape.com 6e35f97e31 Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson 2000-10-27 22:43:51 +00:00
mscott%netscape.com b5c32a4a8b Bug #56934 --> properly determine the status for on end document load. We used to
use the status of the last request processed in loading the document to determine
 success or failure. That's incorrect. Instead, test to see if the load group is being
canceled. If it is, use that as the status for the entire document. Otherwise, ignore
the status for the last request and instead use the status for the main document
(the default load channel).

this also means making sure the http channel properly sets it's status code in ResponseComplete (r=gagan)
 sr=rpotts, r=sspitzer
2000-10-27 04:13:51 +00:00
darin%netscape.com 81f1a9d9af Fixes bug 56785. 303 HTTP response now handled. r=gagan, sr=mscott 2000-10-27 00:04:18 +00:00
morse%netscape.com 89c515e444 bug 57840, tre blocker, r=gagan,don 2000-10-25 18:14:23 +00:00
mscott%netscape.com e42c22b6cb Bug #56934 --> propogate the error returned by
OnDataAvailable so nsAsyncStreamListener can properly
cancel the load. This fixes the zdnet benchmark
problem. r=gagan, sr=rpotts
2000-10-25 03:10:49 +00:00
darin%netscape.com cbe8b304f8 Fixes for bug 49168. Corrects HTTP authentication lookup semantics. r=gagan, sr=mscott. 2000-10-20 21:08:58 +00:00
gagan%netscape.com 8487298ce9 Temp fix for tree bustage... :-( 2000-10-20 03:14:19 +00:00
gagan%netscape.com 29a93024b1 Fixes for bug 53580. No longer sending user/passwd in referrers. r=mscott, sr=scc. 2000-10-20 02:03:15 +00:00
gagan%netscape.com 32b7c504d7 Fix for bug 53965. Thanks Nikolay. Fixes posting with SSL proxies. r=gagan, sr=mscott. 2000-10-19 23:21:49 +00:00
morse%netscape.com a888d788ac bug 27687, can't log into yahoo mail, r=dveditz,gagan, a=gagan, sr=mscott 2000-10-19 21:15:20 +00:00
blizzard%redhat.com 42e47ddfbc Fix bug #56753. Assertions when initializing the http handler. r=gagan, sr=mscott 2000-10-19 20:05:00 +00:00
gagan%netscape.com b823fedb9e Fixing the last addref I added. Part of the bug 32335 cleanup. 2000-10-19 07:08:22 +00:00
gagan%netscape.com 5fdeac9364 Fixes for bug 32335. Include the fix for the leak, changed to voidarray from ISupportsArray, and removed dependency on nsISupports for nsAuth. r=gagan, sr=mscott,brendan 2000-10-19 07:06:50 +00:00
blizzard%redhat.com 3c3a681e70 Fix bug #56753. The HTTP handler will now recognize if someone changes the misc field of the user agent after it's been created. r=gagan, sr=mscott 2000-10-16 19:24:11 +00:00
mstoltz%netscape.com 99a2b79580 Fixing 56009, exploit allowing XPConnect access. r,a=hyatt, sr=scc 2000-10-13 22:59:47 +00:00
gagan%netscape.com ba889ecdf3 Fixing the solaris bustage. 2000-10-13 05:05:10 +00:00
gagan%netscape.com 3401d6824a Fix for bug 32335. Fixes to make basic auth use the realm for authenticating. Thanks to darin@netscape.com r=gagan, sr=shaver. 2000-10-13 04:01:48 +00:00
gagan%netscape.com 4ce91cde74 Fix for bug 31174. Misc. ssl related fixes for getting SSL proxies to work. r=ruslan,pavlov sr=dougt. Thanks nikolay.igotti@eng.sun.com 2000-10-13 03:18:55 +00:00
mscott%netscape.com 3d6576c11b Bug #54381 --> if we are loading an http url that ends in .dll and the server didn't
give us a content type, then assume it is an unknown content type instead of
looking it up in the OS. This fixes the case were sites use ISAPI.dll and don't
specify content types.
r=gagan, sr=rpotts
2000-10-11 22:54:19 +00:00
tao%netscape.com 599425c32b 54784: Chrome registry should flush stringbundle and XUL caching after
profile selection. r=hyatt,sr=alecf.
55156: localizable values are cached in the HTTP header. r=gagan, racham,
 sr=mscott.
2000-10-11 22:07:04 +00:00
rpotts%netscape.com a7a0ca6941 bug #54239 (r=dougt). PSM can be initialized on the wrong thread... 2000-10-03 04:49:51 +00:00
mscott%netscape.com ae3e62e222 Bug #44176 --> in order to have a progress dialog for helper apps, we reset the notifications. http
wasn't regenerating the proxied notifciation calls.
r=gagan
2000-09-22 03:44:13 +00:00
dp%netscape.com 7755b88298 bug 53122 OnFileAvailable() not being called due to release of
mCacheEntry by nsHTTPChannel before calling stop request. Delaying
release until after onStopRequest is called.

bug 51043 Caching cgi when we are not supposed to. Now we refetch a
page if there isn't Modified-Since header being sent. That isolates
cgis pretty well and keeps normal pages working as is.

bug 53272 Cache corruption triggers when we hit DNS errors. This is
due to the entry being in memory and never being flushed to
disk. Calling CacheAbort() on the error condition from
ResponseCompleted() takes care of that.
r=neeti, gagan
2000-09-20 07:13:03 +00:00
gagan%netscape.com 3e7cf851e9 Fix for bug 52257. mResponseDataListener could be null. r=valeski, brendan. 2000-09-18 23:29:30 +00:00
dveditz%netscape.com eb39332fd0 Bug 48504 correct user-agent for Windows ME. patch from Frank Faubert <frank@sane.com>
a=brendan, r=brendan,dveditz
2000-09-15 08:00:16 +00:00
rayw%netscape.com d39d9e6d59 Bug fix for 52648 -- remaining stash of progids which I missed on
the mega-change yesterday.  This will fix a few more issues.

r=warren
2000-09-14 23:20:49 +00:00
bryner%uiuc.edu caf7006acc This is the rest of the checkin to remove mozilla's dependency on building psm-glue. All security glue
interfaces and resources that aren't specific to PSM have moved to security/base.  The remaining psm-glue
interfaces which are used elsewhere in the code have been abstracted to be non-PSM-specific, and the call
sites changed to use the abstracted interface.  Bug 18352.  r=brendan,pavlov,shaver.  a=brendan.
2000-09-14 19:27:23 +00:00
dp%netscape.com e15e34820a bug 46147 Adding CacheAbort() for handing 400 errors from http
server and flushing the cache entry appropriately.
Also, releasing cache entry and cache channel before calling
OnStopRequest() from nsHTTPChannel::ResponseCompleted().
This should eliminate most of the cases of cache corruption
situations.
r=gagan,neeti
2000-09-14 18:52:57 +00:00
rayw%netscape.com 6cc70ebd6c Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren
2000-09-13 23:57:52 +00:00
brendan%mozilla.org 28ac107fcc Temporarily back out shaver's needed cleanup to remove wallet dependencies. 2000-09-13 21:49:39 +00:00
shaver%mozilla.org 540b148f99 #18352: remove extensions/ dependencies. This breaks single-signon for now, r=valeski, a=brendan 2000-09-12 20:45:58 +00:00
gagan%netscape.com d4eec653f1 Fixing mac bustage. 2000-09-11 07:01:28 +00:00
gagan%netscape.com 6fa1220990 Fix for bug 44041. Part changes from justin@ukans.edu. We were not handling multiple WWW-Authenticate headers. Basic auth was also busted becuz of a trailing nul problem that I've cleaned up. r=me. 2000-09-11 06:15:14 +00:00
mscott%netscape.com fcbb755b1b Bug #43556 --> remove obsolete reference to old class id for the mime service. use the new one.
r=valeski
make the http event sync proxy async instead of sync. r=gagan
2000-09-08 00:21:44 +00:00
dp%netscape.com a6320fb848 bug 48292 Releasing cache entry as soon as we are done rather than
waiting until nsHTTPChannel gets deleted, which apparently happens
after the next page finishes loading giving rise to all kinds of
interesting conditions if the current and next page are same. r=neeti
2000-09-07 18:24:28 +00:00
dp%netscape.com 25b4f31106 bug 50922 Removing content length hacks as we fixed the real cause of
the problem: mFile's stat cache not being updated. Also after writing
to the cache file, the writeStreamWrapper updates the content length
appropriately. So we dont have to manipulate from this level high. r=neeti
2000-09-05 21:45:10 +00:00
ruslan%netscape.com 7005ed3623 Fix 50471, a=gagan,r=morse 2000-09-05 21:22:33 +00:00
scc%mozilla.org 9a52a9a2a2 it's a repeating bad pattern ... several of the compilers don't want to make the change from |nsC[Auto]String foo = NS_ConvertASCIItoUCS2(x);| to |nsC[Auto]String foo(NS_ConvertASCIItoUCS2(x);| and so we have to use |CopyASCIItoUCS2(nsLiteralCString(x), foo);| instead 2000-09-02 22:39:18 +00:00
scc%mozilla.org ebde012e3f fixing code that relied on implicit string construction 2000-09-02 21:47:30 +00:00
neeti%netscape.com 69495569f2 Checking in dp's patch for bug 50619, Cache doesn't get updated after reload. r=neeti 2000-08-30 19:48:12 +00:00
dp%netscape.com 5933a98cac - bug 41950 Getting redirects to work. Adding in LOAD_REPLACE to channel
attributes.
- checking return value from GetCacheContentLegth()
r=mscott,neeti
2000-08-29 03:16:16 +00:00
rpotts%netscape.com ccf2377a8b bug #48546. THe HTTPPipelinedRequest now sets the load attributes on the socket transport before sending the request... 2000-08-25 04:50:25 +00:00
rpotts%netscape.com 9368292f5d bug #48546. THe HTTPChannel now sets the load attributes on the cache channel before reading... 2000-08-25 04:49:25 +00:00
ducarroz%netscape.com bdf9bbed32 Fix my bustage. Please use double-quote for include file. 2000-08-23 01:13:14 +00:00
ruslan%netscape.com 2c76954a93 Fix form post bustage introduced by warren's stream changes 2000-08-23 00:05:48 +00:00
warren%netscape.com 1c8511e78c Bug 46777. Redesigned stream interfaces to allows stream observers to be decoupled from pipe implementation. Needed for embedding to fix 'spin' problem. r=rpotts,valeski,ruslan 2000-08-22 07:03:33 +00:00
dp%netscape.com 77bcb67acb bug# 49786 Setting up http protocol handler to support weak ref. r=gagan,valeski 2000-08-22 06:08:56 +00:00
warren%netscape.com 64a99efec0 Bug 46864 - Embedding needs a name attribute on nsIRequest. 2000-08-21 08:23:54 +00:00
scc%mozilla.org a74bc9539d fixing code that relied on implicit string construction 2000-08-20 06:59:07 +00:00
scc%mozilla.org 9df83275c6 fixing code that relied on implicit string construction 2000-08-19 20:01:04 +00:00
ruslan%netscape.com 18fb4e503f Fix 48358 - www.hotmail.com is blank; r/a=gagan 2000-08-18 19:39:27 +00:00
jgmyers%netscape.com 80161a40ec fix host header syntax for IPv6 address literals: bug 45891 r=gagan a=waterson 2000-08-17 20:19:15 +00:00
dp%netscape.com aea615af96 Fixed debug stmt to reflect code changes around it. Not compiled by default. 2000-08-16 07:26:46 +00:00
ruslan%netscape.com d7ae6cb24f Fix 46496, r/a=gagan 2000-08-10 22:38:56 +00:00
gagan%netscape.com 22d558594c Fix for bugscape 1800. Offline mode would have sit in recursion. This was already fixed for the M17 branch just doing the same for the tip. 2000-08-10 22:11:13 +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
ruslan%netscape.com 7f148a290a Checking in the patch for 45337 by jgmeyers, r=ruslan,a=gagan 2000-08-08 22:16:05 +00:00
mozilla.BenB%bucksch.org 38daf07566 45565: Add pref "general.useragent.override" to customize UA-string. r=valeski, a=brendan 2000-08-07 07:17:30 +00:00
valeski%netscape.com 554d40e956 getting cookie service to startup in conjunction with the http category. 2000-08-03 22:03:34 +00:00
neeti%netscape.com 8926df0b9e fix for bug 30852 - Image cache not refreshed on reload,
fix for bug 40449 - Cache does not store latest value of pages, r/a=gagan
2000-08-01 22:03:47 +00:00
neeti%netscape.com 3f4387386a fix for bug 40084, [CRASH] Crash in disk cache code, backed out changes made on 7/27, put new fix
fix for bug 46014, No keywords loaded on bugzilla pages, r/a=gagan
2000-07-29 02:32:14 +00:00
warren%netscape.com 7ac7233df8 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 2000-07-25 05:45:56 +00:00
gagan%netscape.com b7f5bd9753 Fix for bug 44497. Ebay's wacky multiple Location responses were being appended. r=gordon 2000-07-24 23:41:26 +00:00
neeti%netscape.com 733cb9c1b9 fix for 46095.[regression] Submiting to a bug in bugzilla causes crash.a=leaf 2000-07-21 19:28:09 +00:00
neeti%netscape.com 316e12740b Fix for bug 38244 - modified files cached incorrectly,r=ruslan@netscape.com 2000-07-21 04:33:26 +00:00
ruslan%netscape.com ed7b9b7624 Applying Justin's patch to fix 40203 (proxy ssl connect), a=gagan,r=myself 2000-07-21 00:03:39 +00:00
ruslan%netscape.com a028e2115d FInally fix 42283; a=gagan,r=gordon 2000-07-20 21:25:19 +00:00
gagan%netscape.com 3283439cd2 Fixed bug 39610. Failed http auth were not being deleted from the single signon database. r=morse. 2000-07-15 00:12:27 +00:00
ruslan%netscape.com 47cbbb5ceb Fix 45398, a=valeski, r=gagan 2000-07-14 23:01:53 +00:00
neeti%netscape.com f1581e3a83 fix for bug 40449, Cache does not store latest value of pages, r/a=gagan 2000-07-14 03:58:02 +00:00