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

480 Коммитов

Автор SHA1 Сообщение Дата
cbiesinger%web.de 628cca75d3 Bug 282246 Improve log output in helper app service
r+sr=bz
2005-02-18 18:36:33 +00:00
cbiesinger%web.de 40888bf15f Bug 281130 rename NS_DOWNLOAD_CONTRACTID to NS_TRANSFER_CONTRACTID to better
reflects its purpose
r=bz sr=darin
2005-02-07 14:35:46 +00:00
cbiesinger%web.de 2556456572 Bug 241082 exthandler should require just nsITransfer, not nsIDownload
patch by Zbigniew Braniecki <gandalf@firefox.pl> r=biesi sr=darin
2005-01-04 13:40:51 +00:00
bzbarsky%mit.edu 55ab8dd119 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
2004-12-08 17:32:06 +00:00
bzbarsky%mit.edu 741545d0bf Treat an empty disposition string the same as it not being set. Bug 272541,
r=biesi, sr=darin
2004-12-04 17:46:49 +00:00
jshin%mailaps.org da3ad9140c bug 267475 Clicking links to JPEG file with Chinese name download the file instead of displaying it in browser r=cbie, sr=bz 2004-11-07 02:22:55 +00:00
dveditz%cruzio.com 430d42c69d bug 263546: move external protocol warning down a level, r=jsr,sr=darin 2004-10-25 07:46:01 +00:00
cbiesinger%web.de 4bb5627180 264713 ensure that nsExternalAppHandler will always have a reference to the
helperappservice
r=bzbarsky sr=darin
2004-10-17 14:47:35 +00:00
cbiesinger%web.de b84daa8a30 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
2004-10-16 13:46:17 +00:00
cbiesinger%web.de 111878b6e6 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
2004-10-14 17:06:32 +00:00
cbiesinger%web.de b25a1f6c7f bug 249143 keep strong references to the dialog and |this| before prompting for the
file
r=bz sr=darin
2004-09-21 19:52:45 +00:00
cbiesinger%web.de 1d5fd2d211 Bug 259890 don't call Remove(PR_TRUE) to delete a file
r=bzbarsky sr=darin
2004-09-17 19:13:00 +00:00
darin%meer.net f40f923a0a fixes bug 257308 "Visual indicators of site security appear for the wrong site" r=biesi sr=bz 2004-09-09 06:54:52 +00:00
cbiesinger%web.de 8e63886ee0 Bug 80787 support non-ascii extensions in mime service, mime info, and
exthandler
r=bzbarsky sr=darin
2004-08-09 21:27:24 +00:00
bzbarsky%mit.edu ff376b3812 Add support for the application/rdf+xml MIME type. Bug 61839, patch by Alex
Vincent <ajvincent@juno.com>, r=bzbarsky, sr=jst
2004-08-08 01:31:02 +00:00
cbiesinger%web.de ea4cbbe221 Bug 249677 cancel does not delete temporary file in helper app dialog, if default action = save
r=darin sr=jst
2004-07-15 18:56:42 +00:00
cbiesinger%web.de 446d27d2ad bug 246280 trim trailing dots of files being downloaded before extension
checking
r=darin sr=jst
2004-07-06 23:15:30 +00:00
roc+%cs.cmu.edu 0f4150a4e5 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin 2004-06-17 00:13:25 +00:00
cbiesinger%web.de 23938c8252 bug 235505 make nsIMIMEInfo::MIMEType readonly
r=bzbarsky sr=darin
2004-06-11 15:47:57 +00:00
cbiesinger%web.de 2e0a3492fe document @mozilla.org/download;1
don't delete incomplete files when the download is cancelled/aborts
tell the download impl about the location of the temp file, if it is interested
244448 r=bzbarsky sr=darin
2004-05-26 15:07:52 +00:00
gerv%gerv.net f7f3cb2736 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-17 16:52:41 +00:00
bzbarsky%mit.edu d0cb2170bb Fix crash on loading files with no extension. Followup to bug 235502, patch by
biesi, r+sr=darin
2004-04-17 04:45:25 +00:00
darin%meer.net 9ae1052a56 landing patch for bug 24867 "UI for FTP upload" r=biesi,neil sr=bryner 2004-04-17 00:58:23 +00:00
cbiesinger%web.de f028ea412d bug 239604. make uriloader more doxygen friendly, and remove unused "command"
parameter from nsIContentHandler::handleContent, and change the type of
aWindowContext to nsIInterfaceRequestor.
r=bzbarsky sr=darin
2004-04-16 21:06:07 +00:00
cbiesinger%web.de 91a4cf7af2 this time, a correct fix... 2004-04-15 21:58:51 +00:00
cbiesinger%web.de 04be82342f fixing osx bustage 2004-04-15 21:32:11 +00:00
cbiesinger%web.de 14177dedcb Bug 235502 nsIMIMEService, nsIMIMEInfo should use nsACString/nsAString instead of string/wstring
r=bzbarsky sr=darin
2004-04-15 20:56:37 +00:00
cbiesinger%web.de 6da5a56402 Bug 237947 Mozilla Freezes when handling filetypes with an entry in .mailcap that does not exist
o) also return from GetFileTokenForPath when the base class implementation failed
with NS_ERROR_FILE_NOT_FOUND.
o) Do not return NS_ERROR_FILE_NOT_FOUND from the
base class impl if the file path is both relative and does not exist in the
mozilla directory.
o) Make sure to break out of the loop in the unix GetFileTokenForPath even if
ApendRelativePath fails

r+sr=bzbarsky a=asa
2004-03-31 19:32:26 +00:00
cbiesinger%web.de 4ca8093ad9 229636 search for helper apps in mozilla directory before $PATH
r=bzbarsky sr=darin
2004-03-08 20:15:09 +00:00
cbiesinger%web.de e88d56e95a ...and now, the correctly merged version, that even compiles 2004-03-06 19:43:40 +00:00
cbiesinger%web.de d0fdabc0c9 Bug 124307, respect umask for downloaded files.
r=bzbarsky sr=darin
2004-03-06 19:37:22 +00:00
cbiesinger%web.de 7ea034fb6b bug 78919, last part. r=bzbarsky sr=darin.
This adds a new method launchWithFile on nsIMIMEInfo which takes care of opening
the selected (preferred or default) application on the mime info with a
specified document. defaultDescription is now readonly, and defaultApplication
no longer available.
This also removes the clone method which was unused in the entire tree.
2004-02-23 22:49:28 +00:00
cbiesinger%web.de d74e41dd81 Bug 233145 stop implementing nsIURIContentListener in nsExternalAppHandler
r=bzbarsky sr=darin
2004-02-07 19:52:16 +00:00
cbiesinger%web.de 6084008627 fixing bustage 2004-02-06 23:05:40 +00:00
cbiesinger%web.de 9382bd3029 Bug 233169 [windows] It's impossible to set helper applications for executables
r=bzbarsky sr=darin
2004-02-06 22:32:29 +00:00
cbiesinger%web.de 822a291d22 Bug 231886 Allow extensions to add extension->type mappings by adding an entry
in the "ext-to-type-mapping" category, where the name is the extension and the
value the mime type.
r=bzbarsky sr=darin
2004-02-06 18:43:27 +00:00
cbiesinger%web.de 255a2deda5 Bug 232784, verify that opening the file works, and show an error message if it doesn't
r=pinkerton sr=bzbarsky
2004-02-05 10:53:11 +00:00
jst%mozilla.jstenback.com 90431d8022 Fixing bug 232503. Start using Empty[C]String() to save a bit on code-size. r+sr=peterv@propagandism.org 2004-01-29 22:04:45 +00:00
cbiesinger%web.de be132f3456 Bug 152224
Leak in nsExternalAppHandler, due to reference cycle between the nsIDownload implementation,
the helper app service, and the helper app dialog.
now, the reference cycle with the helper app dialog is broken in Cancel/CreateProgressListener,
and the cycle with the nsIDownload will be broken in Cancel/CloseProgressWindow/OnStopRequest

r=bzbarsky sr=darin
2004-01-28 22:05:25 +00:00
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 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
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
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 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 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 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
bzbarsky%mit.edu e65411d7fc Extension comparisons should be case-insensitive. Bug 223055, r=biesi, sr=darin 2003-10-30 02:20:23 +00:00
bzbarsky%mit.edu 7adc775b7a Fix bug 164816. Patch by biesi, r=bzbarsky, sr=darin 2003-10-22 06:46:52 +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 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 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
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
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
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
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
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 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
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
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 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
cbiesinger%web.de 805bd84854 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.
2003-07-03 13:55:17 +00:00
bzbarsky%mit.edu ff56070f4a random array cleanup. Bug 211193, r=biesi, sr=alecf 2003-07-02 00:29:26 +00:00
cbiesinger%web.de c4641b8725 188058 r=bzbarsky sr=darin When saving a .zip file "as...," Moz appends a .x after the .zip extension. 2003-07-01 14:16:06 +00:00
cbiesinger%web.de 4c96aae9a9 73757 r=bzbarsky sr=darin Local files not handled by moz should not be copied to temp directory 2003-06-30 22:33:36 +00:00
dbaron%dbaron.org 4d36cb7adf Fix MOZ_PHOENIX bustage. 2003-06-30 20:29:59 +00:00
cbiesinger%web.de dd0fc2d465 124014 r=bzbarsky sr=darin URL handled by helper app never marked visited 2003-06-30 19:00:46 +00:00
jshin%mailaps.org bc9eb3ea37 bug 209513 : be generous to broken servers emiitng 'filename=...' without
specifying the dispositin type spec in Content-Disposition header.
(r/sr=bzbarsky)
2003-06-18 09:07:58 +00:00
alecf%flett.org f43f8eebe9 fix for bug 205895 - make nsIMIMEInfo.getFileExtensions use a string enumerator, to avoid excess allocation at startup
r=bz, sr=darin
2003-06-17 17:00:40 +00:00
jshin%mailaps.org c1c5164316 wrapping up bug 162765 : r=cbiesinger, sr=bz : Make the disposition method
comparison use EqualsIgnoreCase without the 2nd argument (length) when
parsing Content-Disposition header in http
2003-06-13 21:46:07 +00:00
jshin%mailaps.org eb93104d96 bug 167265 : add to necko Content-Disposition header handling per RFC 2231 (with
fallbacks to RFC 2047 and raw 8bit chars in |aOriginCharset| ) necessary for
i18nized filename support (when downloading files via http) :
r=cbiesinger, sr=alecf
2003-06-12 21:57:49 +00:00
cbiesinger%web.de f874fa8926 140301 patch by egnor@ofb.net r=biesi sr=bz tgz files get silently unzipped 2003-06-02 14:03:55 +00:00
cavin%netscape.com a58b5ef4fa Fix for 202355. Turn on apple single/double code for MacOSX. r=ccarlen, sr=sfraser. 2003-04-25 21:18:10 +00:00
mkaply%us.ibm.com ae709df785 Fixing comment 2003-04-22 02:44:21 +00:00
sfraser%netscape.com 7c6ac50920 Fix nsExternalAppHandler::SaveToDisk when aNewFileLocation is non-null, for Camino. Bug 197745. r=sdagley, sr=bz 2003-03-17 23:39:13 +00:00
dougt%netscape.com 0d2808c511 Create a new xpcom obsolete library (and component library).
Moved nsFileSpec and related classes into this obsolete library.
  Moved nsRegistry and related libreg functionality into the obsolete library.

Updated many callers using the obsolete nsFile spec to use nsIFile and Necko to do file IO.

Combined the following DLLs (source -> dest)
  uriloader -> docshell
  shistory -> docshell
  jsurl -> jsdom
  gkview -> gklayout

Moved nsAdapterEnumerator out of xpcom/ds and into mailnews, since they're the only consumer

Modifed the xpt_link tool so that you can specify a �only include� cid list that can mask CID�s that you are not interested in.

Added build options:
Prevent the building of xpinstall (--disable-xpinstall)
Prevent the building js component loader (--disable-jsloader)
A build option to only build a single profile (--enable-single-profile)
A build flag to only built the required xpfe components (--disable-xpfe-components).

Removal or hiding of unused functions and classes including nsEscape*, nsDequeIterator, nsRecyclingAllocatorImpl, nsDiscriminatedUnion, nsOpaqueKey, nsCRT::strlen, NS_NewCommandLineService

Bug 194240, r/sr = darin, alec.
2003-03-15 01:04:32 +00:00
peterlubczynski%netscape.com d1b6c0d64d Fixing the DOM navigator.mimeType array to be able to test for installed helper applications, bug 58811, patch by bzbarsky@mit.edu r=peter, sr=jst 2003-02-26 23:54:55 +00:00
cbiesinger%web.de 9405eda256 190020 r=timeless sr=alecf GetResource should take AUTF8String 2003-02-25 19:02:00 +00:00
pkw%us.ibm.com 68df4a7747 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
2003-02-03 20:36:12 +00:00
bzbarsky%mit.edu 8423ead416 Don't try to uncompress .Z files when saving them. Bug 162271, patch by harm
ten Napel <harm.ten.napel@oracle.com> and Smaug <smaug@jippii.fi>, r=dwitte,
sr=bzbarsky, a=dbaron
2003-01-25 21:00:28 +00:00
timeless%mozdev.org 9f04591a8c Bug 180384 nsExternalHelperAppService should observe profile changes
r=ccarlen sr=dmose
2003-01-22 06:57:15 +00:00
bzbarsky%mit.edu d27a72563e Back out part of patch from bug 172693 until we can do it better. Bug 189602,
r=timeless, sr=heikki
2003-01-21 18:32:20 +00:00
darin%netscape.com 685a7af468 modifications for bug 176919 "async streams" r=dougt,gordon sr=sspitzer a=valeski,asa 2003-01-18 02:15:14 +00:00
bzbarsky%mit.edu 8368c5f241 Ignore file extensions for urls to obvious CGI scripts. Bug 172693, patch by
law@netscape.com (Bill Law), r=bzbarsky, sr=heikki
2003-01-14 22:12:10 +00:00
bzbarsky%mit.edu 4d2505d4e4 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.
2003-01-12 01:14:35 +00:00
dbaron%dbaron.org b9083989bb Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2003-01-08 23:19:20 +00:00
bzbarsky%mit.edu e3273e17d0 Any disposition that's not "inline" should be treated as "attachment".
Bug 172003, r=bbaetz, sr=rpotts
2002-11-13 21:17:40 +00:00
timeless%mozdev.org 1a0f253e45 fix off-by-one error in parsing out extension
change by bz
2002-11-06 23:59:36 +00:00
bzbarsky%mit.edu 74a9b1ed3e Prioritize data-sniffing over extension-sniffing for ftp and http. Bug
177026, r=rpotts, sr=darin
2002-11-06 22:29:17 +00:00
sdagley%netscape.com 308f24e14a Landing changes from Chimera bug #151047 on trunk for mach-o build. Addresses issues of DL'd files going into /tmp rather
than user specified DL folder and deletion of files passed to helper apps which is the wrong thing to do on Mac. Original
patch sr=sfraser, r=gordon on this checkin
 CVS: ----------------------------------------------------------------------
2002-10-09 01:16:38 +00:00
darin%netscape.com 7f1956b180 fixes bug 157135 "nsIFileURL need to be frozen" r=dougt sr=bzbarsky 2002-10-06 02:20:35 +00:00
dougt%netscape.com 1566417aaf move contentEncodings and applyConversion to a new interface. r=neeti@netscape.com, sr=darin@netscape.com, b=157133 2002-09-27 19:23:21 +00:00
bzbarsky%mit.edu 98dea7435c Honor content-disposition: attachment even when it's set on content we
can handle internally. Bug 98360, r=law,rpotts, sr=darin. Correct
whitespace this time.
2002-09-03 22:00:22 +00:00
bzbarsky%mit.edu a8e1beb0d2 doh. Wrong patch version (-w). backing it out and fixing the whitespace... 2002-09-03 21:47:44 +00:00
bzbarsky%mit.edu 371890dd60 Honor content-disposition: attachment even when it's set on content we
can handle internally.  Bug 98360, r=law,rpotts, sr=darin
2002-09-03 21:46:25 +00:00
nhotta%netscape.com c06d90d976 For filename download, ignore http header's filename if it contains 8bit characters,
bug 161174, r=ftang, sr=bzbarsky.
2002-08-15 01:15:58 +00:00
nhotta%netscape.com e0457e3491 Added unescape function which takes a charset to uconv,
changed uriloader to use the uconv unescape to handle unescape non Ascii URI correctly.
bug 155569, r=ftang, sr=bzbarsky.
2002-08-12 19:23:22 +00:00
bzbarsky%mit.edu edb971f5e2 wallpaper for a bit of bug 120327; this should keep us from appending
".exe" all the time to things on Windows.  patch by me and
jruderman@hmc.edu, r=law, sr=jag, a=asa
2002-07-24 00:42:12 +00:00
bzbarsky%mit.edu 12af864742 Fix bug 154346 the right way. r=law, sr=jag 2002-07-01 23:14:07 +00:00
bzbarsky%mit.edu 67a1abc518 Bug 154346 (bogus error message when saving application/octet-stream
files).  r=law, sr=jag
2002-06-29 01:04:59 +00:00
bzbarsky%mit.edu b6ac3de7a2 Allow embeddors to override helper apps. Bug 147142, patch by
philipl@mail.utexas.edu (Philip Langdale), r=bzbarsky, sr=blake
2002-06-28 01:35:57 +00:00
alecf%netscape.com 4c662f152b bug 149230 - crash launching helper apps
r=ducarroz, sr=blake, a=asa
2002-06-06 22:12:18 +00:00
cbiesinger%web.de 1a92e0f845 bug 8031 r=tor sr=dveditz
XBM support
2002-06-04 08:48:12 +00:00
alecf%netscape.com c0f296b92f fix for bug 140136 - clean up progress listener stuff in the URI loader to more closely match what actually happens in the browser and embedded contexts - mostly just function renaming and code reorg
r=pinkerton, sr=blake
2002-06-03 20:52:27 +00:00
bzbarsky%mit.edu ac620507bd Restrict the fix for bug 116938 to Windows-only to preserve OS/2 and
Linux users' sanity.  Bug 144923, r=law, sr=mscott
2002-05-17 01:34:29 +00:00
law%netscape.com 8b9240bcab 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 2002-05-17 00:31:53 +00:00
darin%netscape.com 6fd5862e6e fixes bug 142870 "nsIFile should use UCS-2 instead of UTF-8"
r=dougt sr=alecf
2002-05-07 23:07:19 +00:00
law%netscape.com 918bc0d4b1 Bug 141330; don't force extension to match content type on Mac; r=sdagley, sr=jag 2002-05-03 03:20:11 +00:00
darin%netscape.com e554d83626 fixes bug 129279 "nsIFile unicode/utf8/ascii task"
r=dougt sr=alecf
2002-04-27 05:33:09 +00:00
alecf%netscape.com 81dcaa0ff8 band-aid patch for bug 134523, so that embeddors can still download files even if they don't have a progress dialog implementation
sr=blake, r=ccarlen
2002-04-25 20:36:46 +00:00
law%netscape.com 7e8dda96b3 Bug 116938; make sure temp file has extension matching content type and block ::ShellExecute of executable files; r=bzbarsky, sr=mscott 2002-04-24 00:09:52 +00:00
brade%netscape.com 21e3fd26e3 checkin fix for bug 115128 for sfraser (assertion removed) (r=brade, sr=darin) 2002-04-22 13:39:16 +00:00
cbiesinger%web.de ba66f6a952 bug 44716 r=pavlov sr=tor
Mozilla doesn't claim .jfif, .pjpeg, .pjp extensions when checked
2002-04-11 13:36:49 +00:00
darin%netscape.com edab6546f5 fixes bug 116365 (second attempt) "[RFE] Cache partial documents; automatically
issue byte range requests" r=gagan sr=mscott,rpotts,brendan a=asa
2002-03-26 23:33:19 +00:00
darin%netscape.com 171c8b28ee backing out changes (for bug 116365) to fix btek page-loader crash. 2002-03-26 08:47:10 +00:00
darin%netscape.com f2d3a0287d fixes bug 116365 "[RFE] Cache partial documents; automatically issue byte
range requests" r=gagan sr=mscott,rpotts,brendan a=asa
2002-03-26 06:54:07 +00:00
darin%netscape.com 9fbd1028d6 b=128508 "freeze nsIChannel nsIRequest" r=gagan, sr=rpotts, a=asa 2002-03-20 22:50:33 +00:00
blakeross%telocity.com afcf2d6ce8 Fixing a bad reversion from dl mgr. r/sr/a unchanged. 2002-03-18 01:50:31 +00:00
blakeross%telocity.com 93d044d117 102477 - turn on Download Manager (take 3). r=law sr=ben a=dbaron die=cvs 2002-03-17 21:41:01 +00:00
blakeross%telocity.com 057a05b72e Something is wrong with my tree... 2002-03-17 21:21:30 +00:00
blakeross%telocity.com d03c035489 102477 - Turn on download manager, take 2. r=law sr=ben a=dbaron 2002-03-17 21:18:26 +00:00
blakeross%telocity.com 832ea99d0c Backing out...saving for a rainy day... 2002-03-17 07:23:42 +00:00
blakeross%telocity.com 563323de3b 102477 - Turning on download manager. r=law sr=ben a=dbaron 2002-03-17 04:52:34 +00:00
bzbarsky%mit.edu abe192dbf6 Do not apply content decoding if the url ends in .gz or .zip. The
content-encoding battle never ends...  Bug 128199, r=law, sr=darin,
a=asa
2002-03-14 00:51:28 +00:00
darin%netscape.com f1a6738b6c fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa 2002-03-06 07:48:55 +00:00
bzbarsky%mit.edu 4662f94ce5 Fix compiler warnings. Bug 127592, r=hwaara, sr=shaver, a=asa 2002-03-05 22:33:54 +00:00
bzbarsky%mit.edu 95c6440fc5 Decode by default when saving, except for types on a "ban list". Bugs
69306, 120033, 121001, r=law, sr=darin, a=roc+moz
2002-02-27 00:43:46 +00:00
law%netscape.com 4d29df56ed Bug 27609; change exthandler to use new progress dialog and properly report i/o errors; r=bzbarsky, sr=mscott 2002-02-20 08:00:29 +00:00
jst%netscape.com 19b9e3ce32 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 2002-02-20 07:50:52 +00:00
cathleen%netscape.com a6a1655268 eliminate nsCRT::strlen for char* strings (part 4), bug 124536 r=dp sr=brendan 2002-02-19 16:01:45 +00:00
ducarroz%netscape.com 3ae0f8b9c3 Fix for bug 100591. We need to replace illegal characters in file name before trying to use it during a file save. R=cavin, law, SR=alecf, mscott 2002-02-12 03:57:39 +00:00
bzbarsky%mit.edu 53494d3eb3 Make it possible to save files of types for which we have mimeinfos but
no extensions.  Bug 68801, r=law, sr=jag
2002-02-12 02:22:39 +00:00
bzbarsky%mit.edu 97aad157b6 Relanding the Compare --> Equals conversion. a=mcafee 2002-02-10 15:49:46 +00:00
bzbarsky%mit.edu 98afc5ee0f Testing performance impact of backout of what's left of the patch from
bug 115289.  See bug 123947 for details. a=mcafee
2002-02-09 20:46:05 +00:00
bzbarsky%mit.edu 8cf5676cfc Make parts of multipart streams expose content-disposition. Bug 123043,
r=law, sr=darin.
2002-02-06 03:39:04 +00:00
bzbarsky%mit.edu aa018e0dfe 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
2002-02-06 03:35:31 +00:00
darin%netscape.com 96d9e2d527 final patch for bug 109179 "replace nsStdEscape with NS_EscapeURL"
r=dougt, sr=alecf
2002-02-05 03:08:15 +00:00
bzbarsky%mit.edu 40d60f39ec Convert Compare() to Equals() where possible now that we can do
case-insensitive Equals().  Bug 115289, r=alecf, sr=jag
2002-02-05 02:03:07 +00:00
law%netscape.com 7c81025fdf Bug 107088; don't set any group/world permissions on temp file; r=bzbarsky, sr=darin 2002-02-02 00:06:12 +00:00
alecf%netscape.com 5483b6f627 one more part of fix for bug 107575, including the much coveted whitespace
remove aIgnoreCase parameter from all nsString and nsCString consumers
sr=jag, r=shaver
2002-02-01 01:53:09 +00:00
bzbarsky%mit.edu 21b7960980 Check that the uri actually has an extension before trying to
GetTypeFromExtension.  Bug 122742, r=timeless, sr=darin.
2002-01-31 20:12:53 +00:00
alecf%netscape.com 28b3772942 First part of fix for bug 107575 - remove nsString::FindChar because there is already an nsAString::FindChar, and remove the "ignore case" option in RFindChar
r=dougt, sr=jag
2002-01-30 06:04:29 +00:00
bzbarsky%mit.edu dbebec80bc Make sure we lowercase types/extensions before putting them in the
datasource and that we lowercase types/extensions before comparing to
the datasource.  Bug 114462, r=law, sr=mscott.
2002-01-30 02:34:15 +00:00
mscott%netscape.com 27978a05e9 Bug #43689 --> expose the suggested file name
r=law
sr=sspitzer
2002-01-25 22:05:16 +00:00
bzbarsky%mit.edu 0cd96a8d92 Make content-disposition parsing more forgiving. Fixes bug 121509 and a
few existing evang bugs.  r=law, sr=mscott
2002-01-24 05:14:49 +00:00
bzbarsky%mit.edu 5a1b42ffbb Bug 90633. Use the URL extension for the temp file we pass to helpers
if it matches the extension list in the mime info.  r=law, sr=mscott.
2002-01-16 04:28:06 +00:00
sdagley%netscape.com b6d77ac4ec Change to fix for #60203 - continue to delete temp files on exit of Mozilla app on platforms other than Mac per mscott's request. r=pinkerton 2002-01-11 20:51:09 +00:00
sdagley%netscape.com a5d2c3871e Fix #60203 and #100460 - change name of downloaded files from the salted name to original name when download finishes and no longer delete temp files passed off to helper apps. Based on patch from Terence Tan. r=pinkerton,sr=sfraser 2002-01-11 19:51:57 +00:00
bzbarsky%mit.edu dda4c34b15 Make ".xbl" files get detected as text/xml. bug 117839, r=law, sr=hyatt 2002-01-09 02:21:57 +00:00
alecf%netscape.com 5ac5a63a0e Rest of tree-wide cleanup for bug 100212 - switch last consumers of nsIFile.URL r=dougt, sr=darin 2002-01-09 02:08:01 +00:00
ccarlen%netscape.com 525230cf76 Bug 100828 - nsLocalFileMac reworking. r=rjc@netscape.com/sr=sfraser@netscape.com 2002-01-07 14:35:04 +00:00
mscott%netscape.com 0c0824e72d Bug #114961 --> checking in for bzbarsky@mit.edu, add a null ptr check to avoid some unnecessary assertions
r/sr=mscott
2001-12-19 00:56:05 +00:00
timeless%mac.com c27d88c251 Bug 115594 Support .CUR files patch by cbiesinger@web.de r=pavlov sr=tor 2001-12-18 13:40:06 +00:00
tor%cs.brown.edu 073a7c9d91 Bug 66976 - turn on libpr0n MNG decoder. r=pavlov, sr=brendan.
Mac build patch by conrad, r=pinkerton, sr=sfraser
2001-12-17 22:07:03 +00:00
jaggernaut%netscape.com e44e7d9ec8 Bug 113228: Replace ns{C}String::To{Upper,Lower}Case with global versions. r=bzbarsky, sr=jst 2001-12-17 07:14:49 +00:00
bbaetz%cs.mcgill.ca 5c8cc975a2 Bug 80142 (among others) - landing of SVG_20010721_BRANCH. Work by
alex.fritze@crocodile-clips.com, james.turner@crocodile-clips.com, and
everyone else how helped on the branch. Thanks to peterv for last minute
build changes

r=cls for build changes
r=jst, rs=brendan for #ifdef'd parts touching existing files.

NOT ON BY DEFAULT
2001-12-12 07:59:31 +00:00
bzbarsky%mit.edu 637153585a Make the helper app dialog report the correct mime type after we've
tried to use extensions to guess the type.  Bug 78943, r=law, sr=mscott
2001-12-12 01:02:26 +00:00
pete%alphanumerica.com efee7eec18 b=77933, r=ccarlen, sr=jst
nsIFile::CreateUnique() has unused parameter

removed unused parameter
/**
    WARNING commercial tree has one hit for this API change
 */
--pete
2001-12-07 23:06:51 +00:00
law%netscape.com d98e464a0f Bug 88287; use the new GetDataSourceBlocking method to ensure we get the same data source as prefs is using; r=sgehani, sr=mscott 2001-12-06 04:07:26 +00:00
bzbarsky%mit.edu e8ba05adf2 Bug 109236, take 2, now that mcp has been changed. r=law, sr=mscott. 2001-11-30 04:37:21 +00:00
bzbarsky%mit.edu 3e948266a2 backing this out. need to get some build magic on the mac first. :( 2001-11-30 01:10:10 +00:00
bzbarsky%mit.edu fb5448fb7f Make the mime service do extension --> type matching based on the
information the user has entered in helper app prefs.  Bug 109236,
r=law, sr=mscott
2001-11-30 00:14:14 +00:00
bzbarsky%mit.edu ad32eded51 fix possible memory leak when adding mime info objects to mime cache.
Bug 109130, r=law, sr=rpotts
2001-11-27 21:21:34 +00:00
bzbarsky%mit.edu 5b0a579422 Look in our predefined extension/type list for common extensions like
.bin.  Bug 87403, r=law, sr=rpotts
2001-11-17 02:13:33 +00:00
bzbarsky%mit.edu f3587cf4e0 Fix crash for ftp:// and file:// urls that have no useful extension and
binary data.  r=bbaetz, sr=mscott, a=asa
2001-11-08 19:05:22 +00:00
hyatt%netscape.com 79f6e4162f Fix for 18502, Christian Biesinger's BMP decoder and my ICO decoder. r/sr=pavlov,jband 2001-11-03 07:10:51 +00:00
jaggernaut%netscape.com 9bcc72064d Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc 2001-11-02 06:39:49 +00:00
gerv%gerv.net dd23aa9173 Fix Hypertext -> HyperText. Bug 91077. Patch by evilbeaver@tekscode.com , r=gerv,dean_tessman. sr=brendan (string-only changes.) 2001-10-29 05:25:03 +00:00
rpotts%netscape.com ae53430684 bug #99627 (r=valeski@netscape.com, sr=mscott@netscpae.com). Freeze the nsIURIContentListener interface... 2001-10-27 02:52:39 +00:00
jaggernaut%netscape.com 66cbbb8a07 Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc 2001-10-25 03:49:28 +00:00
dougt%netscape.com 0a62d4e8d5 99163 - removing nsObserverService.h includes. Also fixing 106090, extra methods on nsObserverService. r=shaver@mozilla.org, sr=jband@netscape.com 2001-10-22 22:01:27 +00:00
dougt%netscape.com d18d7e2b17 nsIObserver and nsIObserverService API freeze. r=rpotts@netscape.com, alecf@netscape.com. bug 99163 2001-10-19 20:52:59 +00:00
jaggernaut%netscape.com ca6197295f Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc 2001-09-29 08:28:41 +00:00
bzbarsky%mit.edu 24754bce41 Fix linux topcrash bug 97970. Make AddMimeInfoToCache do some more
error checking than it used to.  r=timeless, sr=mscott
2001-09-24 22:39:17 +00:00
rpotts%netscape.com 91df4b9c17 bug #70223 (r=valeski@netscape.com, sr=mscott@netscape.com). Remove nsIURIContentListener::GetProtocol() since it is unused. 2001-09-17 23:22:00 +00:00
andreas.otte%primus-online.de 8271ce3a1d fix bug 94796 [code cleanup in nsURLHelper.cpp] remove nsURLEscape/nsURLUnescape from nsURLHelper and replace all usage with nsStdEscape/nsStdUnescape, r=ccarlen@netscape.com, sr=dougt@netscape.com 2001-09-08 12:47:05 +00:00
rjesup%wgate.com f0b7d458d4 Bug 96710: (try 2). Right() takes number-of-chars-to-return, not position.
r=jag, sr=jst
2001-09-07 03:44:33 +00:00
rjesup%wgate.com f8b915228e Bug 96710: Misuse of string.Mid() - uses should be string.Right().
r=kin, sr=jst
2001-09-06 19:38:20 +00:00
jaggernaut%netscape.com e91f8a147e Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa 2001-07-25 07:54:28 +00:00
mkaply%us.ibm.com cf00d3069f #47712
r=peterl, sr=mscott
Check the plugin database to see if it can map extension to mimetype before failing.
2001-07-24 23:12:29 +00:00
pete%alphanumerica.com f020dcc1cd Fix for nsIFile delete conflicts with JS reserved name b=37406, r=dougt, sr=jst
Renamed all Delete methods to Remove.

--pete
2001-07-24 18:38:25 +00:00
mscott%netscape.com 0afc122f3a Bug #71735 --> unescape the file name in case it contains spaces.
43689 --> convert the suggested file name from utf8 to unicode. Fixes problem where save as dialog
doesn't properly show japanese characters if saving an attachment w/ japanese characters.

r/sr=bienvenu
2001-07-21 02:54:32 +00:00
mscott%netscape.com b8b4cb6a6d Bug #63105 --> clean up temp files created by helper apps on exit.
r/sr=bienvenu,sspitzer
2001-07-11 03:23:24 +00:00
jaggernaut%netscape.com 5a6317b8a5 Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.

nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)
2001-06-30 11:02:25 +00:00
dbaron%fas.harvard.edu d5460d02ef Remove nsCStringKey-related bustage fixes from this morning that are no longer needed. r=jaggernaut sr=waterson b=88411 2001-06-29 23:16:52 +00:00
scc%mozilla.org 2dd306e112 fixing cases that will cause bustage on speedracer 2001-06-29 16:20:15 +00:00
mscott%netscape.com c00f3b6094 Bug #80866 --> new helper app dialog design. Also fixes 87888
r=hewitt
sr=sspitzer
2001-06-28 02:18:54 +00:00
jaggernaut%netscape.com 55694b4cad Bug 78458: ``Remove our broken text/rtf support'', patch by Boris Zbarsky <bzbarsky@mit.edu>, r=harishd, sr=jst 2001-06-26 05:22:23 +00:00
ducarroz%netscape.com b08e5efce9 Fix for bug 84065. Add an AppleFileDecoder into the stream converters and modify save/save all attachment in order to be able to select the decoder when dealing with an apple double attachment. R=mscott, SR=sspitzer, A=asa@mozilla.org 2001-06-25 22:11:43 +00:00
dougt%netscape.com 758f79ff72 Landing url parsing branch. 73845. r=alecf@netscape.com, sr=darin@netscape.com, a=blizzard@rednat.com.
This fixes many crashes caused by illegal uses of the nsStdURL.
This also allows a plugable protocol to provide their own url parser.
2001-06-21 22:02:47 +00:00
syd%netscape.com 612436cbc3 Fix for 80171 -- browser not recognizing xpi -- patch from bill law, r=me, sr=mscott,
a=blizzard
2001-06-16 01:10:22 +00:00
sgehani%netscape.com 8755054352 Ability to force always asking before opening a helper app.
b  = 84241
r  = vishy
sr = mscott
a  = asa
2001-06-06 08:17:39 +00:00
ducarroz%netscape.com 3ddf96bad8 Fix for bug 84054. Appledouble files weren't correctly detected and AppleSingle weren't correctly generated if they don't have a datafork. R=varada, SR=bienvenu, A=chofmann 2001-06-05 04:50:10 +00:00
rpotts%netscape.com 90e531ed54 bug #65777 (r=valeski, sr=mscott) - Window targeting fixes... 2001-05-14 03:43:54 +00:00
darin%netscape.com b26d5adb54 Http branch landing: changes to other files (bug 76866) r=gagan,sr=dougt,a=chofmann 2001-05-11 21:05:08 +00:00
law%netscape.com 84dff39fa8 Backing out this fix; it causes us to crash and burn if we encounter a url with .xul extension but content-type text/xul instead of application/vnd.mozilla.xul+xml; will fix that tomorrow 2001-05-04 10:26:56 +00:00
law%netscape.com 8d683afc36 c/true/PR_TRUE/ to fix ports bustage 2001-05-04 02:45:37 +00:00
law%netscape.com d56b479417 Bug 52454; fix lots of external app service bugs and enable new helper app dlg; r=pchen@netscape.com, sr=mscott@netscape.com 2001-05-03 21:24:36 +00:00
heikki%netscape.com 4095a51dde Bugs 65848 and 75031, support for application/xml and application/xhtml+xml mime types. This also fixes almost all of content to use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2. r=harishd, valeski (mime types), sr=vidur. 2001-04-26 19:33:12 +00:00
mscott%netscape.com 8a34b6891b Bug #74783 --> don't read the mac file creator and type values from our hard coded table of content types. Always use the values from internet config. r=sspitzer sr=sfraser 2001-04-13 00:44:55 +00:00
darin%netscape.com 00a7e27ee6 Necko API changes, bug 74221. r=valeski, sr=rpotts. 2001-04-10 06:01:08 +00:00
mkaply%us.ibm.com 4ed544fdd7 #73620
r=jband, sr=brendan
Fix some places where we used casts instead of CALLBACKs
2001-03-27 22:59:33 +00:00
timeless%mac.com e76ccfd647 fix Bug 70989 Clean up lots of "shadows" and other common warnings
r=peterv, jst, ducarroz, edburns. sr=jst, shaver
2001-03-21 05:32:22 +00:00
colin%theblakes.com 9d7ac4a3c6 Remove the O_TRUNC when we open a newly created file (its not needed and
produces undesirable side effects on OpenVMS).
b=68255 r=sspitzer sr=mscott a=leaf
2001-03-14 02:57:47 +00:00
dougt%netscape.com c74c36c85e Minor build changes per API review. Now nsIFileURL and nsIFileChannel have their own IDL file which means that if you were using either of these two interfaces, you need to include a new include file. r=valeski@netscape.com 2001-03-12 22:41:28 +00:00
disttsc%bart.nl 8b43034cef Change implicit conversion from
|NS_ConvertUTF8toUCS2|
|NS_ConvertASCIItoUCS2|
|NS_ConvertUCS2toUTF8|
|ns[C]LiteralString|
|ns[C]PromiseFlatString|

to explicit |get()|.

Add |get()| to |nsString|, remove implicit conversion operators where possible, add NS_WARNING where not (yet!).

Bug=53057, r=alecf, sr=scc
2001-03-08 08:05:05 +00:00
darin%netscape.com 4f9a9b0114 Fixes bug 66181. Content-Disposition with attachment=filename did not accept
a quoted-string as the filename.  r=gagan, sr=mscott.
2001-03-03 02:20:28 +00:00
disttsc%bart.nl 277181c660 Preparation of removing nsCString::GetBuffer. Landing everything but the actual commenting out of nsCString::GetBuffer. bug=64016, r=timeless, sr=scc 2001-03-02 09:26:57 +00:00
dougt%netscape.com 128f95aa9b Relanding Necko Changes.
Revising nsIChannel to allow for overlapped i/o. This consists of three parts:

1. Factoring nsIChannel into a protocol specific part, the nsIChannel, and a socket specific, the nsITransport.
2. Derive the nsIChannel from a nsIRequest.
2. Changes the notification system from necko and the URILoader to pass the nsIRequest interface instead of nsIChannel interface.

This goal stems from wanting to be able to have active AsyncRead and AsyncWrite operations on nsSocketTransport.
This is desired because it would greatly simplify the task of maintaining persistent/reusable socket connections
for FTP, HTTP, and Imap (and potentially other protocols). The problem with the existing nsIChannel interface is
that it does not allow one to selectively suspend just one of the read or write operations while keeping the other active.

r=darin@netscape.com
sr=rpotts@netscape.com
2001-02-21 20:38:08 +00:00
disttsc%bart.nl 3d2d80d536 Back out dougt's channel changes 2001-02-12 03:14:23 +00:00
dougt%netscape.com 1b9ca82439 Revising nsIChannel to allow for overlapped i/o. This consists of three parts:
1. Factoring nsIChannel into a protocol specific part, the nsIChannel, and a socket specific, the nsITransport.
2. Derive the nsIChannel from a nsIRequest.
2. Changes the notification system from necko and the URILoader to pass the nsIRequest interface instead of nsIChannel interface.

This goal stems from wanting to be able to have active AsyncRead and AsyncWrite operations on nsSocketTransport.
This is desired because it would greatly simplify the task of maintaining persistent/reusable socket connections
for FTP, HTTP, and Imap (and potentially other protocols).  The problem with the existing nsIChannel interface is
that it does not allow one to selectively suspend just one of the read or write operations while keeping the other active.

The full details of the change on written up in the netlib newsgroup.

r=darin@netscape.com
sr=rpotts@netscape.com
2001-02-10 00:16:26 +00:00
ducarroz%netscape.com ee26174ac1 Part of fix for bug 45225. I forget to rename the class nsAppleFileDecoder before the initial checkin. SR=mscott 2001-02-07 06:44:07 +00:00
ducarroz%netscape.com 7369375bea Part of fix for bug 45225. Need to move part of appledouble decoder to uriLoader. SR=mscott 2001-02-07 04:10:41 +00:00
mscott%netscape.com 4db17fe50b Bug #67598 --> remove CanHandleContent and DoContent
as this code has been reconsolidated in the base class for
all to use. For everyone, if the mime type is unknown or octet,
then try to guess a content type by file extension in doContent.
Also, if we can't find a mime type, create a new one for all platforms
so we don't need to bring up the ucth dialog.

sr=sspitzer
2001-02-07 02:43:18 +00:00
mscott%netscape.com d0c9883513 Back out changes I added for implementing a launch and reveal method on nsIExternalProtocolService.
I've decided to move that functionality over to nsILocaFile where it makes more sense.
2001-01-29 21:35:12 +00:00
mscott%netscape.com 3f7ff536cc Bug #66323 --> always show the progress dialog even if
we are already done with the download. Break apart
SaveTodisk and LaunchWithTempFile into to separate
methods. never try to really open or save to disk
until we are sure we've brought up the progress window.

Bug #61947 --> pass in the initial time when we started the download via getDownloadInfo so
the progress dialog can use this information.

sr=sspitzer
2001-01-25 06:48:16 +00:00
mscott%netscape.com 51c10d8d69 Bug #60069 --> checking this patch in for Sergey Lunegov (lsv@sparc.spb.su)
make sure the mime action is initialized with the right action.
sr=mscott
2000-11-22 19:48:49 +00:00
mscott%netscape.com fb0491626c Bug #58774 --> salt the temp file name we generate when downloading external content
r=sspitzer,
sr=alecf
2000-11-02 01:27:12 +00:00
mscott%netscape.com b9944d7bfa Bug #56938 --> get the document channel from the docloader
and force any Refresh urls back through the original window
context that initiated the helper app download. This solves
the problem where the user clicks on a link to download
content (either to disk or to a helper app) and that document
contains both a redirect for the actual content and a REFRESH
header which is used to point at a page the content provider
wants to see after the download is complete.

sr=rpotts, r=sspizter
2000-11-01 08:06:19 +00:00
warren%netscape.com cd56c0575b Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc. 2000-10-28 22:17:53 +00:00
warren%netscape.com 0735771512 Removed extra 0 arg 2000-10-27 23:21:30 +00:00
warren%netscape.com 9a6d92a433 Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson 2000-10-27 22:43:51 +00:00
mscott%netscape.com 3ca41ad1ea Bug #57207 --> When we bring up the progress dialog, if we've already received a on stop request,
then go ahead and make the progress dialog go away again. r=sspitzer, sr=alecf
2000-10-24 22:18:56 +00:00
mscott%netscape.com 11a336fc1d Bug #35956, 57619 --> be sure to disable auto conversion if we are handling the content
via an external app. sr=rpotts, r=gagan
2000-10-23 04:31:07 +00:00
mscott%netscape.com b25492aeb0 Bug #55628 --> MoveTo won't delete the file if it already exists. When moving the temp
file to the user specified location, delete the specified location if it currently exists.
r=sspitzer, sr=alecf
2000-10-10 05:20:09 +00:00
mscott%netscape.com 4cfd9661eb Bug #54009 --> fix crash when literal is null. This can happen because of
some bad debugging code that was left in mimetypes.rdf for pdf back in beta2
for now, return an error. This will make use ignore this entry in the data source
when performing mime lookups....which is good 'cause that will have a side
effect of making application/pdf content work again.
r=sspitzer, a=alecf
2000-10-06 00:58:05 +00:00
mscott%netscape.com c054dd3653 Bug #51018, 44176, 47203 implement load group retargeting and stand alone progress window
after we show the helper app dialog. So progress and load information is
now retargeted to a stand alone window instead of re-using the underlying
 browser / mail window...In order to do this, the external app handler needed to implement nsIURIContentListener.
sr=r=rpotts
2000-10-04 06:54:47 +00:00
mkaply%us.ibm.com 52e0a821d5 OS/2 VACPP Tinderbox bustage
Need cast for VisualAge. Don't ask me why.
2000-09-15 14:46:01 +00:00