74 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
5b50691413 Fix bug 389334. r+sr=biesi
git-svn-id: svn://10.0.0.236/trunk@231092 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-27 01:24:34 +00:00
dmose%mozilla.org
09d5eea4a6 Fix SeaMonkey regression from bug 384374 landing (no bug); r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@230692 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-24 00:00:22 +00:00
dmose%mozilla.org
3c752eb47d Refactor nsIMIMEInfo and nsExternalHelperAppService to support local and web-based protocol handlers (bug 384374), r=biesi, sr=sicking
git-svn-id: svn://10.0.0.236/trunk@229371 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-05 19:31:46 +00:00
mozilla.mano%sent.com
ebcefa5a98 Bug 83265 - Add a way to disable HTTP-EQUIV=refresh. patch from Mark Pilgrim <pilgrim@gmail.com>, r=biesi,mano,mento. sr=bz.
git-svn-id: svn://10.0.0.236/trunk@219699 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-08 13:15:50 +00:00
dbaron%dbaron.org
0a3b44526a Fix leaks caused by cyclical ownership and XPCOM timers. b=315951 r=mconnor
git-svn-id: svn://10.0.0.236/trunk@186635 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-28 00:33:23 +00:00
bugzilla%arlen.demon.co.uk
dbd90dd3df Bug 303675 downloads fail silently if the default download path is invalid, e.g. leads to a removed drive
p=me r=cbiesinger sr=neil.parkwaycc.co.uk a=asa


git-svn-id: svn://10.0.0.236/trunk@177321 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-08 10:56:34 +00:00
cbiesinger%web.de
e2b40b606d 297374 add missing |this.| to fix a JS syntax error
r=neil sr=darin a=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@175106 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-24 19:39:25 +00:00
neil%parkwaycc.co.uk
6365ba6f5b Exception-proof the clearing of the username and password from a URL in case it doesn't understand the concept b=290829 r=biesi sr=dveditz a=asa
git-svn-id: svn://10.0.0.236/trunk@172495 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-20 17:06:45 +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
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
dveditz%cruzio.com
5612f1336b bug 283103 disable accept button in security dialogs when not focused
(suite version of bug 260560) r=caillon, sr=neil.parkwaycc, a=caillon


git-svn-id: svn://10.0.0.236/trunk@170540 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-10 22:26:47 +00:00
neil%parkwaycc.co.uk
45ea3cc90a Bug 285163 Make the hostname visible on the download dialog r=caillon sr=dveditz
git-svn-id: svn://10.0.0.236/trunk@170480 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-09 23:45:03 +00:00
bugzilla%arlen.demon.co.uk
3f939f338e Bug 7840 Ability to specify default directory for downloads - As or not to As patch v0.7a - pud8
p=me r=neil.parkwaycc.co.uk sr/rs=jag


git-svn-id: svn://10.0.0.236/trunk@166927 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-21 19:31:07 +00:00
neil%parkwaycc.co.uk
9477d1a0cb Switch load handlers to setting document.title (as per bug 126903 setting the title attribute no longer works) b=261267 r=jst sr=shaver
git-svn-id: svn://10.0.0.236/trunk@163469 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-09 13:01:45 +00:00
cbiesinger%web.de
068ea97483 make helper app dialog set its title using window.title, not setAttribute, since
only the former now works in an onload handler
261267 r=neil sr=bz a=asa


git-svn-id: svn://10.0.0.236/trunk@162812 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-25 23:54:52 +00:00
timeless%mozdev.org
d5f9c7bdbe Bug 243621 Standardize QueryInterface without throw
r=neil sr=darin


git-svn-id: svn://10.0.0.236/trunk@156489 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-17 23:38:25 +00:00
cbiesinger%web.de
80497407a0 239394 nsIMIMEInfo should use interCaps for methods and attributes
r=bzbarsky sr=darin


git-svn-id: svn://10.0.0.236/trunk@156136 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-08 18:37:06 +00:00
gerv%gerv.net
586f796c2a Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155091 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 22:01:16 +00:00
cbiesinger%web.de
f729f55a48 Bug 62760
make the helper app dialog always select "Save to disk" if the server sent
content-disposition:attachment, not only if we first see this content type
r=bzbarsky rs=darin


git-svn-id: svn://10.0.0.236/trunk@151988 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-28 23:18:20 +00:00
cbiesinger%web.de
b9f3f42d1a bug 218817. replace GetDownloadInfo with attributes on nsIExternalHelperAppService -
this means 2 new attributes:
readonly attribute nsIFile targetFile;
readonly attribute PRTime timeDownloadStarted;
(no caller of GetDownloadInfo needed all three pieces of information that it provided)

r=bzbarsky sr=darin


git-svn-id: svn://10.0.0.236/trunk@147292 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-25 13:07:24 +00:00
ben%bengoodger.com
79e9dc998e Seamonkey downloading UI changes necessitated by b214985. r=bz, sr=brendan.
git-svn-id: svn://10.0.0.236/trunk@146982 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-17 07:56:38 +00:00
ben%bengoodger.com
171bd80e1a The Mother Of All Download Landings, Phase I
http://bugzilla.mozilla.org/show_bug.cgi?id=214259
Firebird Download System Upgrades.

browser/activex/src/control/HelperAppDlg.cpp
browser/cocoa/src/CHBrowserService.mm
browser/photon/src/nsUnknownContentTypeHanlder.cpp
browser/powerplant/source/UDownload.cpp
components/ui/helperAppDlg/nsHelperAppDlg.js
components/ui/helperAppDlg/nsIHelperAppLauncherDialog.idl
tests/mfcembed/components/HelperAppDlg.cpp
- Update nsIHelperAppLauncherDialog::PromptForSaveToFile to take a
  nsIHelperAppLauncher parameter.

bug 214985, r=brendan sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@145550 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-04 22:30:41 +00:00
cbiesinger%web.de
c80cb4ba6c 78919 part 1. r=bzbarsky, sr=darin. This adds an |hasDefaultHandler| attribute
to nsIMIMEInfo that should be used to check if a default application is available
for this mimeinfo.


git-svn-id: svn://10.0.0.236/trunk@144559 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-08 13:52:46 +00:00
cbiesinger%web.de
689222c32f 193698 r=bzbarsky sr=darin "attachment" content shows a checkbox for "don't ask"
This checkin makes it so that we grey out the "Always ask me" checkbox for files sent
with content-disposition:attachment, and show another text indicating that the server
asked to not display the file.


git-svn-id: svn://10.0.0.236/trunk@144429 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-03 13:55:17 +00:00
cbiesinger%web.de
f4ae59f0db 211169 r=bzbarsky sr=darin nsIHelperAppLauncherDialog::ShowProgressDialog unused, this means that nsProgressDlg.* is also unused
git-svn-id: svn://10.0.0.236/trunk@144356 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-01 20:21:57 +00:00
bzbarsky%mit.edu
4b5837cdf9 Make defaultDescription and applicationDescription use the handler's leafname
if no description is set.  Bug 190409, r=pkw@us.ibm.com, sr=darin


git-svn-id: svn://10.0.0.236/trunk@138226 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 20:06:56 +00:00
cbiesinger%web.de
a27d131d09 91828 r=bz sr=jag filename not viewable in the helper app dlg
git-svn-id: svn://10.0.0.236/trunk@138198 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 16:33:51 +00:00
bzbarsky%mit.edu
681eabe571 Changing from default action to a different one should work (didn't if the
default was "save").  Bug 193054, r=pkw@us.ibm.com, sr=mscott, a=asa


git-svn-id: svn://10.0.0.236/trunk@137773 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-13 19:00:08 +00:00
pkw%us.ibm.com
864a845ad5 Bug 188724 - clicking cancel in filepicker, then clicking file again leads to filepicker
r=cbiesinger@web.de, sr=bzbarsky@mit.edu, a=asa@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@137332 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-03 20:36:12 +00:00
pkw%us.ibm.com
8919eb3a40 Bug 189598 - application/octet-stream handlers should not be remembered
automatically.
r=bzbarsky@mit.edu, sr=jaggernaut@netscape.com


git-svn-id: svn://10.0.0.236/trunk@136710 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-21 02:30:57 +00:00
pkw%us.ibm.com
bc7e62d3e0 Bug 79769 - Application input field on helper app dialog should be disabled
on Mac.
r=aaronl@netscape.com, sr=bzbarsky@mit.edu


git-svn-id: svn://10.0.0.236/trunk@136340 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-14 23:09:14 +00:00
bzbarsky%mit.edu
93faf760c9 Fix bug 188931 -- only show the leafname in the textbox on mac.
r=pkw@us.ibm.com, sr=sfraser


git-svn-id: svn://10.0.0.236/trunk@136323 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-14 22:05:49 +00:00
bzbarsky%mit.edu
20729b1b47 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.


git-svn-id: svn://10.0.0.236/trunk@136204 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-12 01:14:35 +00:00
darin%netscape.com
b0d1215484 fixes bug 157135 "nsIFileURL need to be frozen" r=dougt sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@131256 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-06 02:20:35 +00:00
darin%netscape.com
292afed664 fixes bug 166792 "move nsIIOService::GetURLSpecFromFile, etc. to
nsIFileProtocolHandler" r=dougt sr=alecf


git-svn-id: svn://10.0.0.236/trunk@129541 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-13 19:32:45 +00:00
varga%utcru.sk
8d7b5f2cd2 Checking in for Neil.
Bug 151565 - JS strict warning in nsHelperAppDlg.js
r=varga, sr=jag


git-svn-id: svn://10.0.0.236/trunk@123580 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-19 12:59:20 +00:00
law%netscape.com
93531ad76c 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
git-svn-id: svn://10.0.0.236/trunk@121703 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 00:31:53 +00:00
darin%netscape.com
824def02af fixes bug 129279 "nsIFile unicode/utf8/ascii task"
r=dougt sr=alecf


git-svn-id: svn://10.0.0.236/trunk@120092 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 05:33:09 +00:00
bzbarsky%mit.edu
ed2f7a074d Data URIs are not nsIURLs. Bug 77850, r=law, sr=darin
git-svn-id: svn://10.0.0.236/trunk@119351 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 03:21:35 +00:00
bzbarsky%mit.edu
2a1cd564be Don't throw an uncaught exception on cancel. Bug 91056, patch by
law@netscape.com, r=bzbarsky, sr=jag, a=asa


git-svn-id: svn://10.0.0.236/trunk@115616 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-02 01:02:16 +00:00
jst%netscape.com
0604f64bed Checking in Boris Zbarsky's <bzbarsky@mit.edu> fix for bug 117269. Making mozilla not invent silly file extensions when saving files. r=law@netscape.com, rs=jaggernaut@netscape.com, jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@115098 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 07:50:52 +00:00
bzbarsky%mit.edu
1ebda7a0d2 Opening the "Advanced" dialog and cancelling it should not change the
helper app dialog contents.  Bug 124723, r=law, sr=jag


git-svn-id: svn://10.0.0.236/trunk@114243 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 03:52:03 +00:00
bzbarsky%mit.edu
c33a4dabe3 Fix helper apps not starting when the filename in the url is empty.
Also turn off caching of mime infos since we have no way to invalidate
this cache yet.  Bug 121644, r=law, sr=mscott


git-svn-id: svn://10.0.0.236/trunk@113742 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 03:35:31 +00:00
dougt%netscape.com
011f9b10e5 1. Converts callers of nsIComponentManagerObsolete to use
nsIComponentRegistrar.

2. Converts callers of nsComponentManager::AutoRegister to use
nsIComponentRegistrar's autoRegistrar method.

3. Add nsIComponentRegistrar implmentation to nsComponentManagerImpl.

4. Rearrange nsComponentManager.cpp so that related methods are in the same
place.

5. Added a C-style function NS_GetComponentRegistrar so that getting the
registrar is easier in some places.

6. Added a nsISimpleEnumerator interface on PLDHashTableEnumeratorImpl.  in
this way, the same base class can support both old style and new style
enumerations.

7. Fixed a nasty bug where unregistring factories will leave the contract id
hash with a dangling pointer.  Now, when unregister is called we search the
contract id hash for entries which have the given doomned cid and remove them.


Bug 115853.  r=dp@netscape.com, sr=rpotts@netscape.com


git-svn-id: svn://10.0.0.236/trunk@113143 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-29 21:22:13 +00:00
mscott%netscape.com
9a9af58f44 Bug #43689 --> expose the suggested file name
r=law
sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@112882 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-25 22:05:16 +00:00
alecf%netscape.com
3261839ac2 Rest of tree-wide cleanup for bug 100212 - switch last consumers of nsIFile.URL r=dougt, sr=darin
git-svn-id: svn://10.0.0.236/trunk@111624 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 02:08:01 +00:00
dougt%netscape.com
c01e94cad7 nsIComponentManager API Changes (bug 98553)
a) create a new nsIComponentManager with only four functions on it:
CreateInstance CreateInstanceByContractID GetClassInfo GetClassInfoByContractID.

b) rename the old nsIComponentManager to nsIComponentManagerObsolete.

c) fixes callers which use to access the nsIComponentManager for component
registration functionality.  These callers will temporary use the
nsIComponentManagerObsolete interface.

d) Create a new API NS_GetComponentManager() which mirrors the
NS_GetServiceManager()

e) Perserves the old NS_GetGlobalComponentManager().  Note the cast usage.

r/sr = rpotts@netscape.com  alecf@netscape.com  brendan@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@110748 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-19 00:12:41 +00:00
law%netscape.com
d24c032ecf Bug 92508; switch over to moved/renamed progress dialog; r=ccarlen, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@109934 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 01:29:14 +00:00
law%netscape.com
039d50e5c0 Bug 88287; use the new GetDataSourceBlocking method to ensure we get the same data source as prefs is using; r=sgehani, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@109811 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 04:07:26 +00:00