289 Commits

Author SHA1 Message Date
cbiesinger%web.de
dd25bcee0f Bug 298842 make the temp file part of nsITransfer
r=mconnor sr=darin a=shaver


git-svn-id: svn://10.0.0.236/trunk@175720 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-06 23:12:22 +00:00
cbiesinger%web.de
75f2a6ce48 Bug 290648 make nsITransfer::init take an nsICancelable, and remove the observer attribute
r=bz sr=darin a=asa


git-svn-id: svn://10.0.0.236/trunk@172674 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-24 21:16:28 +00:00
cbiesinger%web.de
6edb4795dd Bug 289842 Make nsIHelperAppLauncher inherit from nsICancelable
r=bz sr=darin a=asa


git-svn-id: svn://10.0.0.236/trunk@172304 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-15 19:41:07 +00:00
cbiesinger%web.de
ae06f2015c 228968 r=bz sr=darin
- add a new nsIWebProgressListener2 interface, inheriting from
  nsIWebProgressListener, providing a 64-bit onProgressChange method
- make nsITransfer inherit from that interface, and remove an unused
  progressListener attribute
- make webbrowserpersist support listeners that implement
  nsIWebProgressListener2, and give them 64-bit progress values
- make nsIHelperAppLauncher's listener setWebProgressListener function take an
  nsIWebProgressListener2 interface

And fix up all implementations according to that.


git-svn-id: svn://10.0.0.236/trunk@171744 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-05 23:24:23 +00:00
cbiesinger%web.de
1e13761217 268150 show correct error if launching a helper applications fails due to a
permission problem
r+sr=bz


git-svn-id: svn://10.0.0.236/trunk@171666 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-05 18:32:35 +00:00
cbiesinger%web.de
8593d723e5 Bug 285517 show better message in helper app dialog when the type was sniffed from text/plain
r=bz sr=darin


git-svn-id: svn://10.0.0.236/trunk@170609 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-13 17:03:44 +00:00
cbiesinger%web.de
9aba16afa9 Bug 285045 Set the content type on the channel when sniffing it
r=bz sr=darin


git-svn-id: svn://10.0.0.236/trunk@170310 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-07 19:18:12 +00:00
cbiesinger%web.de
1ef896961b Bug 284180 improve comments and error handling in exthandler a bit r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@170057 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-01 21:34:57 +00:00
jwatt%jwatt.org
048c5cdbd9 Bug 283272 : Save Files As... saves .svgz files uncompressed : r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@169870 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-25 21:13:36 +00:00
cbiesinger%web.de
d5c992b567 Bug 282246 Improve log output in helper app service
r+sr=bz


git-svn-id: svn://10.0.0.236/trunk@169406 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-18 18:36:33 +00:00
cbiesinger%web.de
3865c997cd Bug 281130 rename NS_DOWNLOAD_CONTRACTID to NS_TRANSFER_CONTRACTID to better
reflects its purpose
r=bz sr=darin


git-svn-id: svn://10.0.0.236/trunk@168909 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-07 14:35:46 +00:00
cbiesinger%web.de
010662d6c8 Bug 241082 exthandler should require just nsITransfer, not nsIDownload
patch by Zbigniew Braniecki <gandalf@firefox.pl> r=biesi sr=darin


git-svn-id: svn://10.0.0.236/trunk@167241 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-04 13:40:51 +00:00
bzbarsky%mit.edu
90a640bdff Make docshell inherit from docloader; clean up related code, move toward
eliminating the nsIWebShell, nsIWebShellContainer, nsIDocumentLoader
interfaces and clarifying the other docshell-related interfaces.
r=darin, biesi, sr=jst


git-svn-id: svn://10.0.0.236/trunk@166435 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-08 17:32:06 +00:00
bzbarsky%mit.edu
028cddf80a Treat an empty disposition string the same as it not being set. Bug 272541,
r=biesi, sr=darin


git-svn-id: svn://10.0.0.236/trunk@166242 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-04 17:46:49 +00:00
jshin%mailaps.org
74f778e521 bug 267475 Clicking links to JPEG file with Chinese name download the file instead of displaying it in browser r=cbie, sr=bz
git-svn-id: svn://10.0.0.236/trunk@165080 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-07 02:22:55 +00:00
dveditz%cruzio.com
afe1e85825 bug 263546: move external protocol warning down a level, r=jsr,sr=darin
git-svn-id: svn://10.0.0.236/trunk@164343 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-25 07:46:01 +00:00
cbiesinger%web.de
060bb20f4c 264713 ensure that nsExternalAppHandler will always have a reference to the
helperappservice
r=bzbarsky sr=darin


git-svn-id: svn://10.0.0.236/trunk@163930 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-17 14:47:35 +00:00
cbiesinger%web.de
8eb2130d2a add a way to get an application description for a given externally-handled
scheme, and use it in the confirmation dialog that asks whether to launch such
links.
bug 258802
windows and cross-platform part: r=ere sr=neil,bz
linux part: r=bz sr=bryner


git-svn-id: svn://10.0.0.236/trunk@163896 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-16 13:46:17 +00:00
cbiesinger%web.de
aeadd77d32 Bug 264253 exthandler should get an nsIPrompt off the window context, instead of
using nsIPromptService directly. this removes the dom and windowwatcher
dependency from exthandler.
r=bzbarsky sr=darin


git-svn-id: svn://10.0.0.236/trunk@163745 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-14 17:06:32 +00:00
cbiesinger%web.de
31976b9bf3 bug 249143 keep strong references to the dialog and |this| before prompting for the
file
r=bz sr=darin


git-svn-id: svn://10.0.0.236/trunk@162617 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-21 19:52:45 +00:00
cbiesinger%web.de
c8728c33cb Bug 259890 don't call Remove(PR_TRUE) to delete a file
r=bzbarsky sr=darin


git-svn-id: svn://10.0.0.236/trunk@162506 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-17 19:13:00 +00:00
darin%meer.net
5ec644086a fixes bug 257308 "Visual indicators of site security appear for the wrong site" r=biesi sr=bz
git-svn-id: svn://10.0.0.236/trunk@161968 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-09 06:54:52 +00:00
cbiesinger%web.de
90817be5d5 Bug 80787 support non-ascii extensions in mime service, mime info, and
exthandler
r=bzbarsky sr=darin


git-svn-id: svn://10.0.0.236/trunk@160550 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-09 21:27:24 +00:00
bzbarsky%mit.edu
42877f4e0f Add support for the application/rdf+xml MIME type. Bug 61839, patch by Alex
Vincent <ajvincent@juno.com>, r=bzbarsky, sr=jst


git-svn-id: svn://10.0.0.236/trunk@160482 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-08 01:31:02 +00:00
cbiesinger%web.de
625e62f911 Bug 249677 cancel does not delete temporary file in helper app dialog, if default action = save
r=darin sr=jst


git-svn-id: svn://10.0.0.236/trunk@159267 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-15 18:56:42 +00:00
cbiesinger%web.de
df37ddec19 bug 246280 trim trailing dots of files being downloaded before extension
checking
r=darin sr=jst


git-svn-id: svn://10.0.0.236/trunk@158810 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-06 23:15:30 +00:00
roc+%cs.cmu.edu
0b0fa89131 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@157992 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-17 00:13:25 +00:00
cbiesinger%web.de
a57ea7b105 bug 235505 make nsIMIMEInfo::MIMEType readonly
r=bzbarsky sr=darin


git-svn-id: svn://10.0.0.236/trunk@157780 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-11 15:47:57 +00:00
cbiesinger%web.de
2c93a1c770 document @mozilla.org/download;1
don't delete incomplete files when the download is cancelled/aborts
tell the download impl about the location of the temp file, if it is interested
244448 r=bzbarsky sr=darin


git-svn-id: svn://10.0.0.236/trunk@156962 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-26 15:07:52 +00:00
gerv%gerv.net
8419e1650f Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155030 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-17 16:52:41 +00:00
bzbarsky%mit.edu
29a9e0f2ad Fix crash on loading files with no extension. Followup to bug 235502, patch by
biesi, r+sr=darin


git-svn-id: svn://10.0.0.236/trunk@155014 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-17 04:45:25 +00:00
darin%meer.net
66e8a5897c landing patch for bug 24867 "UI for FTP upload" r=biesi,neil sr=bryner
git-svn-id: svn://10.0.0.236/trunk@155005 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-17 00:58:23 +00:00
cbiesinger%web.de
34df912ac0 bug 239604. make uriloader more doxygen friendly, and remove unused "command"
parameter from nsIContentHandler::handleContent, and change the type of
aWindowContext to nsIInterfaceRequestor.
r=bzbarsky sr=darin


git-svn-id: svn://10.0.0.236/trunk@154988 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-16 21:06:07 +00:00
cbiesinger%web.de
22d0556890 this time, a correct fix...
git-svn-id: svn://10.0.0.236/trunk@154948 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-15 21:58:51 +00:00
cbiesinger%web.de
edb5a180b8 fixing osx bustage
git-svn-id: svn://10.0.0.236/trunk@154944 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-15 21:32:11 +00:00
cbiesinger%web.de
39f2b721ec Bug 235502 nsIMIMEService, nsIMIMEInfo should use nsACString/nsAString instead of string/wstring
r=bzbarsky sr=darin


git-svn-id: svn://10.0.0.236/trunk@154941 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-15 20:56:37 +00:00
cbiesinger%web.de
162e887c63 Bug 237947 Mozilla Freezes when handling filetypes with an entry in .mailcap that does not exist
o) also return from GetFileTokenForPath when the base class implementation failed
with NS_ERROR_FILE_NOT_FOUND.
o) Do not return NS_ERROR_FILE_NOT_FOUND from the
base class impl if the file path is both relative and does not exist in the
mozilla directory.
o) Make sure to break out of the loop in the unix GetFileTokenForPath even if
ApendRelativePath fails

r+sr=bzbarsky a=asa


git-svn-id: svn://10.0.0.236/trunk@154411 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-31 19:32:26 +00:00
cbiesinger%web.de
7071062876 229636 search for helper apps in mozilla directory before $PATH
r=bzbarsky sr=darin


git-svn-id: svn://10.0.0.236/trunk@153695 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-08 20:15:09 +00:00
cbiesinger%web.de
055d84aa9c ...and now, the correctly merged version, that even compiles
git-svn-id: svn://10.0.0.236/trunk@153635 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-06 19:43:40 +00:00
cbiesinger%web.de
f790b8534a Bug 124307, respect umask for downloaded files.
r=bzbarsky sr=darin


git-svn-id: svn://10.0.0.236/trunk@153634 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-06 19:37:22 +00:00
cbiesinger%web.de
030baf0831 bug 78919, last part. r=bzbarsky sr=darin.
This adds a new method launchWithFile on nsIMIMEInfo which takes care of opening
the selected (preferred or default) application on the mime info with a
specified document. defaultDescription is now readonly, and defaultApplication
no longer available.
This also removes the clone method which was unused in the entire tree.


git-svn-id: svn://10.0.0.236/trunk@153118 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-23 22:49:28 +00:00
cbiesinger%web.de
d48fe3a90b Bug 233145 stop implementing nsIURIContentListener in nsExternalAppHandler
r=bzbarsky sr=darin


git-svn-id: svn://10.0.0.236/trunk@152486 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-07 19:52:16 +00:00
cbiesinger%web.de
4ad889bcc7 fixing bustage
git-svn-id: svn://10.0.0.236/trunk@152436 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-06 23:05:40 +00:00
cbiesinger%web.de
9d521b4603 Bug 233169 [windows] It's impossible to set helper applications for executables
r=bzbarsky sr=darin


git-svn-id: svn://10.0.0.236/trunk@152435 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-06 22:32:29 +00:00
cbiesinger%web.de
bf8440f216 Bug 231886 Allow extensions to add extension->type mappings by adding an entry
in the "ext-to-type-mapping" category, where the name is the extension and the
value the mime type.
r=bzbarsky sr=darin


git-svn-id: svn://10.0.0.236/trunk@152422 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-06 18:43:27 +00:00
cbiesinger%web.de
b904cd10b8 Bug 232784, verify that opening the file works, and show an error message if it doesn't
r=pinkerton sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@152368 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-05 10:53:11 +00:00
jst%mozilla.jstenback.com
6629ad58f7 Fixing bug 232503. Start using Empty[C]String() to save a bit on code-size. r+sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@152045 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-29 22:04:45 +00:00
cbiesinger%web.de
f6ffec5a2f Bug 152224
Leak in nsExternalAppHandler, due to reference cycle between the nsIDownload implementation,
the helper app service, and the helper app dialog.
now, the reference cycle with the helper app dialog is broken in Cancel/CreateProgressListener,
and the cycle with the nsIDownload will be broken in Cancel/CloseProgressWindow/OnStopRequest

r=bzbarsky sr=darin


git-svn-id: svn://10.0.0.236/trunk@151980 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-28 22:05:25 +00:00
cbiesinger%web.de
abb0d8eec7 fix bustage
git-svn-id: svn://10.0.0.236/trunk@151455 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-17 13:41:23 +00:00
cbiesinger%web.de
889eb264eb bug 55690 Spool file should be moved once the user picks a filename
r=bzbarsky sr=darin


git-svn-id: svn://10.0.0.236/trunk@151453 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-17 13:18:12 +00:00