Commit Graph

42 Commits

Author SHA1 Message Date
darin%netscape.com
685a7af468 modifications for bug 176919 "async streams" r=dougt,gordon sr=sspitzer a=valeski,asa 2003-01-18 02:15:14 +00:00
bzbarsky%mit.edu
4d2505d4e4 Fix bug 86640 -- change helper app dialog to properly remember the selected
course of action, move the "neverAsk" information from prefs back to
mimeTypes.rdf, remove the "Reset" button from helper app prefs, set up a way to
select "use default OS helper" for a given type.  Patch by Bill Law
<law@netscape.com> and Philip K. Warren <pkw@us.ibm.com>, r=biesi, sr=bzbarsky,
what passes for moa in helper apps=bzbarsky.
2003-01-12 01:14:35 +00:00
bzbarsky%mit.edu
98dea7435c Honor content-disposition: attachment even when it's set on content we
can handle internally. Bug 98360, r=law,rpotts, sr=darin. Correct
whitespace this time.
2002-09-03 22:00:22 +00:00
bzbarsky%mit.edu
a8e1beb0d2 doh. Wrong patch version (-w). backing it out and fixing the whitespace... 2002-09-03 21:47:44 +00:00
bzbarsky%mit.edu
371890dd60 Honor content-disposition: attachment even when it's set on content we
can handle internally.  Bug 98360, r=law,rpotts, sr=darin
2002-09-03 21:46:25 +00:00
alecf%netscape.com
4c662f152b bug 149230 - crash launching helper apps
r=ducarroz, sr=blake, a=asa
2002-06-06 22:12:18 +00:00
alecf%netscape.com
c0f296b92f fix for bug 140136 - clean up progress listener stuff in the URI loader to more closely match what actually happens in the browser and embedded contexts - mostly just function renaming and code reorg
r=pinkerton, sr=blake
2002-06-03 20:52:27 +00:00
law%netscape.com
8b9240bcab Bugs 129614/129604/137676; ensure all download errors are shown to user (and fix download manager quirk so it doesn't think all downloads are 0kb of 0kb); r=bzbarsky, sr=blake 2002-05-17 00:31:53 +00:00
darin%netscape.com
6fd5862e6e fixes bug 142870 "nsIFile should use UCS-2 instead of UTF-8"
r=dougt sr=alecf
2002-05-07 23:07:19 +00:00
darin%netscape.com
e554d83626 fixes bug 129279 "nsIFile unicode/utf8/ascii task"
r=dougt sr=alecf
2002-04-27 05:33:09 +00:00
law%netscape.com
7e8dda96b3 Bug 116938; make sure temp file has extension matching content type and block ::ShellExecute of executable files; r=bzbarsky, sr=mscott 2002-04-24 00:09:52 +00:00
law%netscape.com
4d29df56ed Bug 27609; change exthandler to use new progress dialog and properly report i/o errors; r=bzbarsky, sr=mscott 2002-02-20 08:00:29 +00:00
bzbarsky%mit.edu
e8ba05adf2 Bug 109236, take 2, now that mcp has been changed. r=law, sr=mscott. 2001-11-30 04:37:21 +00:00
bzbarsky%mit.edu
3e948266a2 backing this out. need to get some build magic on the mac first. :( 2001-11-30 01:10:10 +00:00
bzbarsky%mit.edu
fb5448fb7f Make the mime service do extension --> type matching based on the
information the user has entered in helper app prefs.  Bug 109236,
r=law, sr=mscott
2001-11-30 00:14:14 +00:00
bzbarsky%mit.edu
5b0a579422 Look in our predefined extension/type list for common extensions like
.bin.  Bug 87403, r=law, sr=rpotts
2001-11-17 02:13:33 +00:00
valeski%netscape.com
93959d48cc r=dbaron, sr=dougt. 97667. nsIInterfaceRequestor is now frozen. nsIInterfaceRequestorUtils.h is now required if you want to use do_GetInterface() for convenience. The two were split because the stuff that is now in nsIInterfaceRequestorUtils.h wasn't ready for freezing. Also, .idl files should just contain interface defs anyway. 2001-09-05 21:28:38 +00:00
dbaron%fas.harvard.edu
aa4fec2b67 Header include dependency cleanup. b=64023 r=jag rs=brendan 2001-07-16 02:40:48 +00:00
mscott%netscape.com
b8b4cb6a6d Bug #63105 --> clean up temp files created by helper apps on exit.
r/sr=bienvenu,sspitzer
2001-07-11 03:23:24 +00:00
mscott%netscape.com
c00f3b6094 Bug #80866 --> new helper app dialog design. Also fixes 87888
r=hewitt
sr=sspitzer
2001-06-28 02:18:54 +00:00
law%netscape.com
d56b479417 Bug 52454; fix lots of external app service bugs and enable new helper app dlg; r=pchen@netscape.com, sr=mscott@netscape.com 2001-05-03 21:24:36 +00:00
darin%netscape.com
00a7e27ee6 Necko API changes, bug 74221. r=valeski, sr=rpotts. 2001-04-10 06:01:08 +00:00
dougt%netscape.com
128f95aa9b 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
disttsc%bart.nl
3d2d80d536 Back out dougt's channel changes 2001-02-12 03:14:23 +00:00
dougt%netscape.com
1b9ca82439 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
mscott%netscape.com
4db17fe50b Bug #67598 --> remove CanHandleContent and DoContent
as this code has been reconsolidated in the base class for
all to use. For everyone, if the mime type is unknown or octet,
then try to guess a content type by file extension in doContent.
Also, if we can't find a mime type, create a new one for all platforms
so we don't need to bring up the ucth dialog.

sr=sspitzer
2001-02-07 02:43:18 +00:00
mscott%netscape.com
3f7ff536cc Bug #66323 --> always show the progress dialog even if
we are already done with the download. Break apart
SaveTodisk and LaunchWithTempFile into to separate
methods. never try to really open or save to disk
until we are sure we've brought up the progress window.

Bug #61947 --> pass in the initial time when we started the download via getDownloadInfo so
the progress dialog can use this information.

sr=sspitzer
2001-01-25 06:48:16 +00:00
mscott%netscape.com
b9944d7bfa Bug #56938 --> get the document channel from the docloader
and force any Refresh urls back through the original window
context that initiated the helper app download. This solves
the problem where the user clicks on a link to download
content (either to disk or to a helper app) and that document
contains both a redirect for the actual content and a REFRESH
header which is used to point at a page the content provider
wants to see after the download is complete.

sr=rpotts, r=sspizter
2000-11-01 08:06:19 +00:00
mscott%netscape.com
c054dd3653 Bug #51018, 44176, 47203 implement load group retargeting and stand alone progress window
after we show the helper app dialog. So progress and load information is
now retargeted to a stand alone window instead of re-using the underlying
 browser / mail window...In order to do this, the external app handler needed to implement nsIURIContentListener.
sr=r=rpotts
2000-10-04 06:54:47 +00:00
mscott%netscape.com
ab07ff0c7c Bug #43556 --> implement nsIMIMEService
honor the http content disposition header if present.
r=valeski
2000-09-15 06:07:58 +00:00
mscott%netscape.com
fe1d0067c7 Bug #43556 --> Implement nsIMIMEService. For now, forward the calls to the old implementation in necko.
r=valeski
2000-09-08 00:12:51 +00:00
mscott%netscape.com
8ac4deb3f4 Bug #43583 --> bring up the save as dialog from the backend instead of from the front end.
r=alecf
2000-07-13 06:26:25 +00:00
mscott%netscape.com
66907fe1dd Bug #43583 --> pass the window context into the helper app launcher which will in turn be used by
the helper app dialog to get at a dom window.
r=alecf
2000-07-10 21:21:10 +00:00
mscott%netscape.com
6ad688ca00 Bug #43583 --> re-organizing how we launch helper apps to work with the helper app dialog.
Add nsIExternalAppLauncher interface which is used by the helper app dialog.
r=alecf
2000-07-07 01:48:05 +00:00
mscott%netscape.com
2668452986 Bug #38374 --> more updates for external helper application support. (NOT PART OF THE BUILD)
code review will come when this is done and gets turned on.

Landing of the RDF data source which keeps track of all the user specified mime type information.
Landing implementation of user over ride information when determining what helper app to run. now we'll
check the information stored in the data source first. If we don't ahve any over-ride information, then
fall back to the OS defaults.
2000-06-21 08:29:13 +00:00
mscott%netscape.com
c08b6233e7 Bug #30157 --> add the ability to launch urls using OS default protocol handlers. (NOT PART OF THE BUILD)
code review will come when this is done and gets turned on.

add nsIExternalProtocolService support to the base class.
2000-06-18 22:07:54 +00:00
mscott%netscape.com
b1e8d04afd Bug #38374 --> more updates for external helper application support. (NOT PART OF THE BUILD)
code review will come when this is done and gets turned on.

Pass in the file extension (determined by the content type) that we want to use when generating the name
of the temp file for saving the data for the helper application.
2000-06-18 01:13:04 +00:00
mscott%netscape.com
7264918d4e Bug #38374 --> more updates for external helper application support. (NOT PART OF THE BUILD)
code review will come when this is done and gets turned on.

Add support for nsPIExternalAppLauncher. Call back to the OS app service to launch the app once we are done
saving the file to a temp file.
2000-06-17 23:04:53 +00:00
mscott%netscape.com
0adba87a3c Bug #38374 --> more updates for external helper application support. (NOT PART OF THE BUILD)
code review will come when this is done and gets turned on.

properly implement saving the data to a temp file.
2000-06-17 19:53:44 +00:00
mscott%netscape.com
c67e915e7d Bug #38374 --> more updates for external helper application support. (NOT PART OF THE BUILD)
code review will come when this is done and gets turned on.

Add code to actually store the incoming data into a temp file.
2000-06-17 02:34:44 +00:00
mscott%netscape.com
e3bef1365b Bug #38374 --> more updates for external helper application support. (NOT PART OF THE BUILD)
code review will come when this is done and gets turned on.
2000-06-17 00:06:26 +00:00
mscott%netscape.com
1229310eb4 Bug #38374 --> foundation for helper app architecture.
Not part of the build yet. review will come when this is ready to go.
2000-06-16 21:35:13 +00:00