cbiesinger%web.de
741e690801
fix bustage
2004-01-17 13:41:23 +00:00
cbiesinger%web.de
73f0845c24
bug 55690 Spool file should be moved once the user picks a filename
...
r=bzbarsky sr=darin
2004-01-17 13:18:12 +00:00
cbiesinger%web.de
330498be5a
230970
...
nsExternalAppHandler needs no virtual functions
also, w/o bug: nsExternalHelperAppService doesn't require threadsafe addref/release
r=bzbarsky sr=darin
2004-01-16 18:22:55 +00:00
bzbarsky%mit.edu
6ccc20cdbe
Work around misconfiguration in default Apache installs that makes it claim all
...
sorts of stuff as text/plain. Bug 220807, r=biesi, sr=darin
2004-01-08 03:56:02 +00:00
cbiesinger%web.de
94dbdd84e4
bug 229785 also allow "Content-Disposition: name=foo" headers, in addition to filename=foo
...
r=bzbarsky sr=darin
2004-01-07 20:23:46 +00:00
cbiesinger%web.de
413b5f69f6
Bug 229969 Fix 'Warning: "/*" within comment'
...
patch by gautheri@noos.fr (Serge GAUTHERIE) r+sr=bzbarsky
2004-01-04 21:50:19 +00:00
cbiesinger%web.de
287e80bb2e
bug 229684. application/octet-stream should not have "Binary Executable" as description
...
also fixes: If the OS has info for a type, but prefs contain neither info via type nor via
ext, we would get the mimeinfo from extras.
r+sr=bzbarsky
2003-12-30 10:45:12 +00:00
peter%propagandism.org
feda8614f8
Patch for bug 209699 (convert some consumers over to CopyUTF8toUTF16 / CopyUTF16toUTF8). r=jshin, sr=jst.
2003-12-23 16:48:40 +00:00
cbiesinger%web.de
2148700a5c
Bug 227029 nsExternalAppHandler dynamically allocates buffer for no reason
...
r+sr=bzbarsky
2003-12-19 15:18:59 +00:00
cbiesinger%web.de
d6ad711ccb
Bug #227711 wrong mime type shown when helper app entry present
...
fix this by always setting the real mime type on a mime info got from prefs.
r=bzbarsky sr=darin a=asa
2003-12-12 09:42:54 +00:00
cbiesinger%web.de
7559c5d60e
226919 SendStatusChange should check for NS_ERROR_FILE_TARGET_DOES_NOT_EXIST
...
This gives a useful error message if a helper app could not be found (for another error code)
r=bzbarsky sr=darin a=asa
2003-12-03 22:21:39 +00:00
dbaron%dbaron.org
8b9610f595
Include nscore.h instead of nsCom.h. b=226555 r=dougt sr=darin a=asa
2003-11-29 18:56:10 +00:00
justdave%syndicomm.com
e986880dd7
Bug 166369: Documents that require a helper app to view were not viewable if you chose your helper apps using an old CFM version of Mozilla. The old pathname format is now supported again (in addition to the new one).
...
r= mozeditor@floppymoose.com , sr= bz-vacation@mit.edu , a= asa@mozilla.org
2003-11-21 06:45:25 +00:00
darin%meer.net
18d8f4d786
fixes bug 226071 "xremote: openURL doesn't work well when multiple apps with different capabilities are present" r=bz,blizzard sr=bryner a=asa
2003-11-21 00:09:50 +00:00
cbiesinger%web.de
5e48527ac0
225995 crash in nsOSHelperAppService::GetValueString
...
(only occurs on win95/win98/winme)
fix this by not passing NULL to NS_LossyConvertUTF16toASCII
r=pike sr=bzbarsky
2003-11-17 21:40:10 +00:00
cbiesinger%web.de
66f6e13a40
225972 GetMIMEInfoForExtensionFromDS returns success even if nothing was found
...
also fixes: GetMIMEInfoForExtensionFromExtras does not set a mime type on the mime info
r+sr=bzbarsky; this addresses the problem that the information in extras is never used
2003-11-17 21:31:11 +00:00
cbiesinger%web.de
d167f8dd89
fixing mac bustage
2003-11-15 15:29:14 +00:00
cbiesinger%web.de
e92cc5ddfd
78919 part 2. always return a nsIMIMEInfo from the OS HelperAppServices, and don't
...
create MIMEInfos outside of them directly.
r=bzbarsky sr=darin
2003-11-15 15:01:39 +00:00
cbiesinger%web.de
8a34f5f01e
found in 194439. use delete[] to free an array, not delete. r+sr=bzbarsky
2003-11-14 22:39:01 +00:00
cbiesinger%web.de
d099f19623
fixing likely crasher in previous checkin, thanks to bz for noticing it
2003-11-14 21:27:41 +00:00
cbiesinger%web.de
e89c721931
194439 nsOSHelperAppService on windows doesn't support non-ASCII default description.
...
fix this by using *W versions of registry functions when running on an nt-based windows.
r=ere sr=bzbarsky
2003-11-14 20:48:52 +00:00
cbiesinger%web.de
86a6cb09ce
bug 223990. Should have a getPrimaryExtensionForType function
...
r=bzbarsky sr=darin
also changes nsIMIMEService functions to start with a lowercase letter (only affects JS Callers)
2003-11-13 23:00:55 +00:00
peter%propagandism.org
f9f591a28f
Fix for bug 224231 (Need AppendASCIItoUTF16). r=jst, sr=dbaron.
2003-11-01 10:57:41 +00:00
bzbarsky%mit.edu
e65411d7fc
Extension comparisons should be case-insensitive. Bug 223055, r=biesi, sr=darin
2003-10-30 02:20:23 +00:00
bryner%brianryner.com
a634aa9436
Only call gnome_program_init() if it hasn't already been called (bug 221012). r=blizzard, not part of the default build.
2003-10-27 10:08:10 +00:00
bzbarsky%mit.edu
7adc775b7a
Fix bug 164816. Patch by biesi, r=bzbarsky, sr=darin
2003-10-22 06:46:52 +00:00
bzbarsky%mit.edu
d595463f9b
Report a useful error when encountering a CFM app path in a Mach-o build. Bug
...
166369, patch by biesi, r=bzbarsky, sr=sfaser.
2003-10-19 21:36:39 +00:00
bzbarsky%mit.edu
13fdf8a043
Return a more useful error code. Partial fix for bug 222501, r=biesi, sr=darin
2003-10-16 23:53:45 +00:00
bryner%brianryner.com
13b10ee36e
Fix two problems with the GNOME helper app code:
...
- 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.
2003-10-15 20:24:45 +00:00
bryner%brianryner.com
82db2f65e9
Assuming bz didn't mean to completely disable GNOME helper apps...
2003-10-12 09:19:15 +00:00
bzbarsky%mit.edu
2adc227764
Make sure we look at ~/.mailcap before going out to the GNOME settings. Bug
...
221042, r=biesi, sr=bryner
2003-10-10 16:18:16 +00:00
cbiesinger%web.de
e5077348df
bug 220832. Make sure that we don't use the extension from the URL when the server sent a Content-Disposition header with a filename.
...
r=bzbarsky sr=darin
2003-10-10 13:43:15 +00:00
bzbarsky%mit.edu
cf0e81ce47
Gunzip things with content-encoding:gzip whose file extension is .zip when
...
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
2003-10-09 02:10:25 +00:00
bryner%brianryner.com
1a9547ca4e
Add PNG to hardcoded extensions / mime type list (bug 221243). r=bzbarsky, sr=tor.
2003-10-06 18:48:17 +00:00
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
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
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
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
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