- Bail out correctly if we failed to open a library
- Open the soname of the library (i.e. foo.so.0 instead of foo.so)
Bug 221217, r=blizzard, sr=darin.
git-svn-id: svn://10.0.0.236/trunk@147996 18797224-902f-48f8-a5cc-f745e15eee43
content listeners if the first one we find fails, as well as letting us
gracefully handle failures to get content converters. Bug 171025, r=biesi,
sr=darin
git-svn-id: svn://10.0.0.236/trunk@147784 18797224-902f-48f8-a5cc-f745e15eee43
saving or running helpers. The idea here is to decompress unless the encoding
and extension match up. If they do, then don't decompress. Bug 152275,
r=biesi, sr=darin
git-svn-id: svn://10.0.0.236/trunk@147782 18797224-902f-48f8-a5cc-f745e15eee43
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.
git-svn-id: svn://10.0.0.236/trunk@147538 18797224-902f-48f8-a5cc-f745e15eee43
this is mostly converting //-style comments to /**-style ones and using @param
r=bzbarsky sr=darin
git-svn-id: svn://10.0.0.236/trunk@147345 18797224-902f-48f8-a5cc-f745e15eee43
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
helperappservice qi's to httpchannel when it wants encodedchannel
r=bzbarsky sr=darin
git-svn-id: svn://10.0.0.236/trunk@147291 18797224-902f-48f8-a5cc-f745e15eee43
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.
git-svn-id: svn://10.0.0.236/trunk@147253 18797224-902f-48f8-a5cc-f745e15eee43
log save/launch errors to nspr log
This converts a printf inside #ifdef DEBUG_law to use nspr logging (module HelperAppService)
git-svn-id: svn://10.0.0.236/trunk@147185 18797224-902f-48f8-a5cc-f745e15eee43
* 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
git-svn-id: svn://10.0.0.236/trunk@147027 18797224-902f-48f8-a5cc-f745e15eee43
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
git-svn-id: svn://10.0.0.236/trunk@146986 18797224-902f-48f8-a5cc-f745e15eee43
remove useless nsIExternalHelperAppService::canHandleContent
mozilla never calls this function; and it always returns PR_FALSE
r=bz sr=darin
git-svn-id: svn://10.0.0.236/trunk@146985 18797224-902f-48f8-a5cc-f745e15eee43
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
git-svn-id: svn://10.0.0.236/trunk@146861 18797224-902f-48f8-a5cc-f745e15eee43
Multi-character character constants in nsExternalHelperAppService.cpp
r=bz sr=darin
git-svn-id: svn://10.0.0.236/trunk@146798 18797224-902f-48f8-a5cc-f745e15eee43
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
git-svn-id: svn://10.0.0.236/trunk@145551 18797224-902f-48f8-a5cc-f745e15eee43
Hopefully also fixes 213985, hang when downloading .tar.gz files (on windows)
git-svn-id: svn://10.0.0.236/trunk@145279 18797224-902f-48f8-a5cc-f745e15eee43
GetFromType even if there is no handler. Also move some repeated code out into
a function. Bug 214006, r=biesi, sr=darin
git-svn-id: svn://10.0.0.236/trunk@145255 18797224-902f-48f8-a5cc-f745e15eee43