311 Commits

Author SHA1 Message Date
sdwilsh%shawnwilsher.com
4433d43459 Bug 383813 - #include nsHelperAppRDF.h should be inside the ifdef for MOZ_RDF. Patch by Ryan Jones <sciguyryan@gmail.com>. r+sr=cbiesinger
git-svn-id: svn://10.0.0.236/trunk@227776 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-10 23:50:53 +00:00
dmose%mozilla.org
3dc245e9c4 Implement backend changes for web-based protocol handlers a la WhatWG HTML5 draft (bug 380415). r=cbiesinger@gmx.at, sr=jonas@sicking.cc
git-svn-id: svn://10.0.0.236/trunk@227015 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-25 15:17:45 +00:00
joshmoz%gmail.com
1b5e229776 remove XP_MAC, detab. b=281889 r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@221370 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-06 05:15:44 +00:00
timeless%mozdev.org
3ea4e560e3 Bug 363390 IS_LOW_SURROGATE conflicts with winnls.h
r=darin


git-svn-id: svn://10.0.0.236/trunk@217292 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-21 07:03:23 +00:00
jshin%mailaps.org
9f8b6a781f bug 359148 : when saving a file, "unicode" characters in filename are lost (turned into '_') : r=biesi, sr=darin
git-svn-id: svn://10.0.0.236/trunk@214709 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-04 10:09:59 +00:00
myk%mozilla.org
f1a8b6a20e bug 316184: wrap and crop long URLs in the External Protocol Request dialog so they don't cause the dialog to render its buttons offscreen
r=bzbarsky
sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@209701 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-11 13:29:15 +00:00
timeless%mozdev.org
c16dc8b542 Bug 330331 Building with option --disable-xul failed
patch by romaxa@gmail.com r=timeless r=biesi sr=bz
Removing last traces of RDF dependency from HTMLDocument (bug 101995)

Only build toolkit download ifdef MOZ_RDF
Only build windowdatesource and the charset menu ifdef MOZ_RDF

Enable nsExternalHelperAppService to build w/o RDF.
Enable nsDirectoryViewer to build, this is enables geckos to work around bug 347782
Don't build nsHTTPIndex at all.


git-svn-id: svn://10.0.0.236/trunk@207383 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-14 22:36:15 +00:00
bryner%brianryner.com
3706bf48ee Close the blank browser window from a download earlier, before showing the helper app dialog (bug 343921). Patch by marria@gmail.com, r=biesi, sr=darin.
git-svn-id: svn://10.0.0.236/trunk@206896 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-08 18:02:46 +00:00
bzbarsky%mit.edu
25a1d59561 Follow refresh headers even if we handle the content via the external helper app
service.  Bug 341806, r=biesi, sr=darin


git-svn-id: svn://10.0.0.236/trunk@203069 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-19 01:43:14 +00:00
cbiesinger%web.de
798f07aa39 bug 343107 Make sure to always fire STATE_START before STATE_STOP
patch by Dorian <boissomag@free.fr> r=biesi sr=darin


git-svn-id: svn://10.0.0.236/trunk@201693 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-06 19:34:28 +00:00
marria%gmail.com
1605852a49 Minor tweak to patch for bug 241972. Change mShouldCloseWindow to a PRPackedBool, to be consistent with the other bools around it. r=cbiesinger
git-svn-id: svn://10.0.0.236/trunk@201688 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-06 18:41:16 +00:00
marria%gmail.com
c8758b856c Bug 241972 (new window opened by window.open('xxx.exe') or target="_blank" isn't closed automatically when a download begins). Fix stores state on the channel indicating whether a window was opened specifically for the download. The external helper app service then closes the window if there is no refresh header and if the window was opened specifically for the download. r=cbiesinger, sr=darin
git-svn-id: svn://10.0.0.236/trunk@201538 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-04 20:48:33 +00:00
mozilla%weilbacher.org
1c6ccaa40d [OS/2] Bug 301367: Tag Files with Source URL, p=Rich Walsh, r=me, sr=darin
git-svn-id: svn://10.0.0.236/trunk@200922 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-26 20:40:08 +00:00
darin%meer.net
42edf059cf landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb
git-svn-id: svn://10.0.0.236/trunk@196254 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-10 17:30:15 +00:00
neil%parkwaycc.co.uk
9529062b1f Bug 245725 Make downloads display an approximation to the current transfer rate rather than the overall average speed p=son.le0@gmail.com r=biesi sr=me
git-svn-id: svn://10.0.0.236/trunk@188986 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-06 00:34:30 +00:00
cbiesinger%web.de
6322c04952 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin


git-svn-id: svn://10.0.0.236/trunk@188844 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-03 14:18:39 +00:00
bzbarsky%mit.edu
2049f5e3a1 Only force prompting for non-"can't handle" reasons if the default action is
not "save".  Silently saving is always ok.  Bug 236541, r=biesi, sr=darin


git-svn-id: svn://10.0.0.236/trunk@187657 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-15 19:02:08 +00:00
cbiesinger%web.de
6c2c34bc30 bug 273971 patch by Son Le <son.le0@gmail.com> r=biesi sr=neil
- make nsIDownload::currBytes and maxBytes use bytes rather than kilobytes
- make transfers of unknown size use the right size
  - send mProgress rather than mContentLength as the current progress in OnStateChange


git-svn-id: svn://10.0.0.236/trunk@186255 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-19 15:25:22 +00:00
timeless%mozdev.org
8a213cf6db Bug 106386 Correct misspellings in source code
patch by unknown@simplemachines.org r=timeless rs=brendan


git-svn-id: svn://10.0.0.236/trunk@185276 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-25 19:48:04 +00:00
pete.zha%sun.com
ef24c1c455 bug 309241 a tmp file should be created if open an attachment of an local eml file
r=cbiesinger@gmx.at sr=bzbarsky@it.edu
patch=neo.liu@sun.com


git-svn-id: svn://10.0.0.236/trunk@180942 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-26 03:14:50 +00:00
roc+%cs.cmu.edu
a65887afc9 Bug 304434. Update link :visited status for URIs downloaded to helper apps. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@178746 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-23 22:26:10 +00:00
bzbarsky%mit.edu
80d3576a20 Use the browser.helperApps.deleteTempFileOnExit pref, if set, to decide whether
to delete helper app temp files on exit.  Bug 302433, r=biesi, sr=sfraser


git-svn-id: svn://10.0.0.236/trunk@178615 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-22 17:49:53 +00:00
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