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

933 Коммитов

Автор SHA1 Сообщение Дата
cbiesinger%web.de 6912c9da3a fix typo in comment. r+sr=bz 2003-10-04 18:14:51 +00:00
cbiesinger%web.de 78719c7388 220463 use more error codes in nsExternalAppHandler::SendStatusChange
r=bzbarsky sr=darin

We now show a useful dialog for NS_ERROR_OUT_OF_MEMORY, and we treat
NS_ERROR_FILE_UNRECOGNIZED_PATH like FILE_NOT_FOUND.
2003-10-03 20:56:52 +00:00
cbiesinger%web.de d9a6156ef7 Bug 220477 convert nsIURILoader comments to doxygen-style comments.
also fixes documentation of parameters of loadURI
r=bzbarsky sr=darin
2003-10-03 20:54:01 +00:00
bryner%brianryner.com 5eba154d79 Use GNOME application associations for GTK2 builds (bug 128668). r=bzbarsky, sr=blizzard. 2003-09-29 22:04:05 +00:00
jst%mozilla.jstenback.com 5037b2a4a2 Fixing bug 215981. DeCOMtaminating nsIContent and nsIDocument some, and also some minor changes to other related interfaces. r=caillon@aillon.org, sr=peterv@propagandism.org. 2003-09-27 04:18:26 +00:00
cbiesinger%web.de 915b893dac Bug 220363 use doxygen-style comments in nsExternalHelperAppService.h
this is mostly converting //-style comments to /**-style ones and using @param

r=bzbarsky sr=darin
2003-09-26 19:49:23 +00:00
cbiesinger%web.de b5206035a9 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
2003-09-25 13:07:24 +00:00
cbiesinger%web.de 8f369f59f4 Bug 220198
helperappservice qi's to httpchannel when it wants encodedchannel
r=bzbarsky sr=darin
2003-09-25 12:51:45 +00:00
cbiesinger%web.de 704850d6da 220111 nsIDownload should document that Init must be called
r=bzbarsky sr=darin
2003-09-24 20:24:19 +00:00
cbiesinger%web.de a67ce6b555 143570 r=bzbarsky sr=darin
Allow assigning helper apps to mailnews attachments by extension.

do this by only getting the query off the uri for HTTP/HTTPS urls - mailnews
uris always have a query string, and if there is a query string the file
extension is ignored because a CGI script is assumed, which has no useful
extension.
2003-09-24 20:21:09 +00:00
cbiesinger%web.de 98f3008774 219681 r=bzbarsky sr=darin
log save/launch errors to nspr log
This converts a printf inside #ifdef DEBUG_law to use nspr logging (module HelperAppService)
2003-09-23 19:27:07 +00:00
cbiesinger%web.de 2feccd7112 219608 r=bzbarsky sr=darin compile warning in helperappservice (size/unsigned mismatch) 2003-09-23 19:24:26 +00:00
cls%seawood.org 19d1d413c2 Fix misc build issues for mingw gcc 3.3.1:
* Link non-component libs using -Wl,-enable-runtime-psuedo-relocs to workaround auto-import issues
* the last element of an enum cannot end with a comma
* PRUint16 is not interchangable with PRUnichar nor WCHAR
* cannot take the address of or call ::main() from another c++ function
* Functions declared within |class foo {};| block do not need extra |foo::| qualification
* GCC no longer implements <varargs.h>. Use <stdarg.h> instead
Bug #217009 sr=dbaron
2003-09-18 17:22:33 +00:00
cbiesinger%web.de 25a717addf Bug 33282
enable external scheme handlers (like aim: and telnet:) in Linux

This allows setting external protocol handlers via a preference setting:
network.protocol-handler.app.<scheme>
This is supposed to be a string value.
Mozilla will first try to interpret this as an absolute path, then as a filename
relative to $MOZILLA_FIVE_HOME, then as a file in $PATH.
If an application is found in one of these places, it will be called and passed
the complete url as first (and only) argument.

r=jesup/bz sr=bz/darin
2003-09-17 12:47:56 +00:00
cbiesinger%web.de 1f6b877479 Bug 218820
remove useless nsIExternalHelperAppService::canHandleContent
mozilla never calls this function; and it always returns PR_FALSE
r=bz sr=darin
2003-09-17 12:31:39 +00:00
bryner%brianryner.com 9d126eb8ae Remove files that were taken out of the build months ago as part of bug 194240. 2003-09-14 21:04:15 +00:00
cbiesinger%web.de cbddc9a5fb per clarification via email from bz (reviewer of previous checkin to this file, for Bug 216417), using .xht, not .xhtm in the defaultMimeEntries array (matches the XHTML entry in the extraMimeEntries array) 2003-09-14 15:54:57 +00:00
cbiesinger%web.de 9effbc9a16 Bug 216417
about: page has major errors
r+sr=bz
fix this by mapping all .xhtm and .xhtml files to application/xhtml+xml, not overridable by user or os
2003-09-14 11:41:22 +00:00
cbiesinger%web.de 46b4508e80 Bug 120045
Multi-character character constants in nsExternalHelperAppService.cpp
r=bz sr=darin
2003-09-11 20:44:25 +00:00
cbiesinger%web.de f9a15025a5 fix off-by-one error 2003-09-11 16:14:58 +00:00
cbiesinger%web.de 7204f246e1 Bug 65827
File extension (.php) determined from Content-Type header (or url extension) overrides filename in Content-Disposition header.
r=bz sr=darin
2003-09-11 13:27:06 +00:00
cbiesinger%web.de def44d8c8b Bug 217509
wrong app description shown in helper app dialog
r=bz sr=darin
2003-09-11 12:13:06 +00:00
timeless%mozdev.org 2501ca5548 Bug 217089 Compiler warnings
patch by mbockelkamp@web.de r=timeless sr=darin
2003-09-11 03:18:46 +00:00
bryner%brianryner.com 377bfd51dd Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan. 2003-09-08 00:18:24 +00:00
bryner%brianryner.com 63fa99c65e Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan. 2003-09-07 23:12:15 +00:00
brendan%mozilla.org b7cdb7debb Add shared DHashTableOps for [const] char *key use-cases, clean up dhash API abusages (214839, r=dougt, sr=dbaron). 2003-08-05 20:09:21 +00:00
ben%bengoodger.com 28f386412d The Mother Of All Download Landings, Phase I
http://bugzilla.mozilla.org/show_bug.cgi?id=214259
Firebird Download System Upgrades.

exthandler/nsExternalHelperAppService.cpp
- update EHAS to use updated version of PromptForSaveToFile
- make the EHAS not set the MIME Info object's alwaysAskBeforeHandling flag
  to false to make the UCT dialog's show behaviour consistent

bug 214985, r=  sr=hyatt
2003-08-04 22:31:14 +00:00
ben%bengoodger.com e2f9fb6a72 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
2003-08-04 22:30:41 +00:00
bzbarsky%mit.edu 29cbc4d6a3 Fix build bustage 2003-07-30 18:56:12 +00:00
bzbarsky%mit.edu 197b0af015 Reverse some backwards assumptions to make things a little safer for users.
Bug 213921, r=biesi, sr=darin
2003-07-30 17:47:26 +00:00
bzbarsky%mit.edu 8e5c67dd92 Fix leaks of registry keys. Bug 213985, r=biesi, sr=darin 2003-07-29 14:51:58 +00:00
cbiesinger%web.de 5c1737a082 214173 r=bzbarsky sr=darin Crash in typeFromExtEquals
Hopefully also fixes 213985, hang when downloading .tar.gz files (on windows)
2003-07-28 20:46:32 +00:00
bzbarsky%mit.edu 52ab0e743e Update to take advantage of the new overall logic by returning a MIME info from
GetFromType even if there is no handler.  Also move some repeated code out into
a function.  Bug 214006, r=biesi, sr=darin
2003-07-27 16:27:15 +00:00
cbiesinger%web.de 2ac5385322 fixing windows bustage 2003-07-26 22:09:37 +00:00
cbiesinger%web.de 0a7a152685 213882 r=bzbarsky sr=darin consider making aFileExt the primary extension if it is an extension 2003-07-26 21:01:08 +00:00
cbiesinger%web.de 823b467985 fixing beos bustage 2003-07-26 18:58:13 +00:00
jaggernaut%netscape.com 95899387f6 Bug 213602: Switch some users of NS_GetWeakReference over to do_GetWeakReference. r=bzbarsky, sr=dbaron 2003-07-25 19:06:59 +00:00
cbiesinger%web.de bb37693039 147679 GetFromMIMEType on Windows only gets one extension and needs rethinking r=bzbarsky sr=darin
this merges nsIMIMEService::GetFromType and GetFromExtension
2003-07-25 16:48:00 +00:00
cbiesinger%web.de a1b49091f7 162249 r=bzbarsky sr=darin Running external program - lack of decent error messages
This adds a useful error message in case the specified helper application does not exist
2003-07-22 17:25:02 +00:00
jaggernaut%netscape.com 83c571e877 Bug 25886: Get rid of a bunch of unused NS_DEFINE_IID, NS_DEFINE_CID. r=caillon, sr=dbaron 2003-07-20 07:47:59 +00:00
dbaron%dbaron.org c8d988bce3 Fix firebird and thunderbird bustage by unforking contents of nsIGlobalHistory (which was frozen) and by tweaking the root Makefile.in. b=212509 r=mscott 2003-07-19 21:19:12 +00:00
jaggernaut%netscape.com 3479a9d622 Bug 73353: more REQUIRES updates. 2003-07-17 20:34:47 +00:00
cls%seawood.org 44e9eecf91 Split XUL layers (xpfe & toolkit) into a separate tier class.
Make the history component its own module.
Bug #107302 r=bryner sr=leaf
2003-07-16 00:33:50 +00:00
cbiesinger%web.de ebe19365ed 212468 r=bzbarsky sr=darin rethink the hashtable usage in helperappservice 2003-07-14 22:30:52 +00:00
cbiesinger%web.de ebd1eb4d26 212110 r=bzbarsky sr=darin misc cleanup of externalhelperappservice 2003-07-14 21:09:11 +00:00
jaggernaut%netscape.com 817298ce0b Bug 212272: Switch some Substring users over to String(Begins|Ends)With. r=dwitte, sr=bzbarsky 2003-07-14 07:37:39 +00:00
jaggernaut%netscape.com 2d7ed90a69 Bug 73353: clean up MODULE/REQUIRES story. r=cls, sr=bryner 2003-07-13 22:29:00 +00:00
cbiesinger%web.de 7d10504897 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.
2003-07-08 13:52:46 +00:00
cbiesinger%web.de 68f7034972 211889 r=bzbarsky sr=darin - remove DataURI attribute from nsIMIMEInfo (unused and not really implemented) as well as the mURI member of nsMimeInfoImpl 2003-07-07 22:49:35 +00:00
cbiesinger%web.de 473175175e no bug, r+sr=bzbarsky; remove MNG and JNG types from defaultMimeEntries array so
that users can have a helper app for MNG/JNG images
2003-07-07 19:27:48 +00:00