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

607 Коммитов

Автор SHA1 Сообщение Дата
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
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 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
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
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
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
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 d86a9ff5b7 211169 r=bzbarsky sr=darin nsIHelperAppLauncherDialog::ShowProgressDialog unused, this means that nsProgressDlg.* is also unused 2003-07-01 20:21:57 +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
seawood%netscape.com 97649bab86 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-10 21:18:27 +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
timeless%mozdev.org 7f38603b9c Bug 203387 warning: cannot pass objects of type `NS_ConvertUCS2toUTF8' through `...'
r=bsmedberg sr=bz
2003-05-23 21:50:04 +00:00
dwitte%stanford.edu 270d3909ca bug 100649: Length() being used where IsEmpty() is meant
treewide changes to convert incorrect usages of string.Length() to string.IsEmpty().

thanks to afatecha@idea.com.py (Ariel Fatecha) for the patch. r=dwitte, sr=jst.

got the ok from Asa to land into a closed tree.
2003-05-23 21:34:47 +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 219103db29 #202813
r=pedemont, sr=blizzard (platform specific)
OS/2 only - if the helper app is Win16 or DOS, rename the temp file to 8.3 (and add it to the delete list)
2003-04-22 14:20:36 +00:00
sfraser%netscape.com 70407c0aee Fix bug 183848: if Internet Config fails to give us info about the app used to launch a file, ask Launch Services directly. Patch by sdagley, r=ccarlen, sr=sfraser. 2003-04-22 04:16:49 +00:00
mkaply%us.ibm.com ae709df785 Fixing comment 2003-04-22 02:44:21 +00:00
mkaply%us.ibm.com b87cdd5429 #1999322
r=me, sr=blizzard (platform specific), a=dbaron
OS/2 only - regression - loading helper files with spaces doesn't work
2003-03-27 01:45:42 +00:00
mkaply%us.ibm.com 2e26385044 #188249
r=cls, sr=bz
Start landing GCC support for OS/2 - mainly cleanup to start
2003-03-21 21:16:45 +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
cavin%netscape.com 32e275f48d Fix for 183111. Added nsIExternalProtocolHandler interface and method handlerExists in netwerk/bae/public to be used by mozTXTToHTMLConv. Also treated 0xA0 as space in mozTXTToHTMLConv. r=darin, sr=sspitzer. 2003-02-27 22:46:42 +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
bzbarsky%mit.edu fe3e3cb6a8 Make defaultDescription and applicationDescription use the handler's leafname
if no description is set.  Bug 190409, r=pkw@us.ibm.com, sr=darin
2003-02-22 20:06:56 +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
bzbarsky%mit.edu 1ac1ccdd97 Document the various fields in mimeTypes.rdf. Bug 61408, r=timeless,
sr=mozbot, rubber-a=roc+moz
2003-01-24 00:46:11 +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 845bc3e721 nsInternetConfigService needs to set the default app/description rather than
the "preferred" one.  Bug 189094, r=pkw@us.ibm.com, sr=sfraser
2003-01-14 22:29:48 +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
mkaply%us.ibm.com c72256868b New OS/2 code to match everyone else - pretty much the same as Unix 2003-01-12 04:19:02 +00:00
bzbarsky%mit.edu c2c1454b02 Fix mac bustage... 2003-01-12 02:22:23 +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
dbaron%dbaron.org 954ad5f9d9 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2003-01-08 22:35:09 +00:00
timeless%mozdev.org 1b458bbbad Bug 186723 external protocol handler NewURI doesn't check to see if SetSpec failed..
patch by andersma@luther.edu r=timeless sr=darin
2003-01-08 20:32:14 +00:00
seawood%netscape.com fae86e7a6e Fix typo. 2002-12-13 03:21:37 +00:00
seawood%netscape.com 58004c4a48 Add SRCS_IN_OBJDIR variable to workaround requirement introduced by bug 141834 that srcfiles must be in the srcdir.
Bug #171753 r=bryner
2002-12-13 02:36:06 +00:00
sdagley%netscape.com 4eab84537c Fix #179592 - wrong IC constant mapping. r=ccarlen,rs=sfraser 2002-12-03 21:00:45 +00:00
syd%netscape.com 2946606f52 Fix case for Mach o UFS builds. http://bugzilla.mozilla.org/show_bug.cgi?id=182425, r=seawood, sr=fraser 2002-12-02 15:39:04 +00:00
darin%netscape.com 106b80519b remove dead mime code, b=172963 r=dougt sr=alecf 2002-11-24 03:31:47 +00:00
bzbarsky%mit.edu ab75327f3e Make nsILinkHandler take uris instead of strings. Bug 176904, r=darin, sr=jst 2002-11-20 00:44:26 +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
dveditz%netscape.com 41b541d033 fix crash in ShellExecute() on some versions of windows (bug 161357) r=mstoltz,sr=darin 2002-11-06 05:20:40 +00:00
seawood%netscape.com 57e08a3f3a Define WIN32_LEAN_AND_MEAN globally for win32 builds.
Thanks to Stephen Walker <walk84@yahoo.com> for the patch.
Bug #172898 r=cls a=asa
2002-10-17 06:47:01 +00:00
darin%netscape.com 0887f15549 fixing mach-o bustage 2002-10-09 02:21:59 +00:00
arougthopher%lizardland.net 64f5f86f92 Bug#145860
BeOS needs implemenation of nsOSHelperAppService
Mozilla under BeOS is now integrated with BeOS's MIME database.

r=arougthopher
r=cls
sr=bzbarsky
2002-10-09 01:25:42 +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
sdagley%netscape.com 7d06b13bcd Oops, Jaguar == Mac OS X 10.2, not OS X 12.0. No bug, just brain fade. rs=sfraser 2002-10-02 01:46:37 +00:00
sdagley%netscape.com a50ca5627d Re-landing #169667 - use LaunchServices APIs instead of InternetConfig APIs when appropriate (fixed mach-o and Mac Classic build issues from 1st landing try). r=ccarlen,sr=sfraser 2002-10-01 05:27:15 +00:00
sdagley%netscape.com afb40734b1 Landing #152231 on trunk mach-o build - move nsInternetConfig into uriloader. Original patch by ccarlen, r=sdagley, sr=darin 2002-10-01 01:00:09 +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
darin%netscape.com 6cddc87b2e backing out sdagley's patch for bug 169667 to clear up mac build bustage. 2002-09-27 04:35:33 +00:00
sdagley%netscape.com 64420945dd Landing #169667 - Clean up InternetConfigService and use LaunchServices APIs where appropriate. r=ccarlen,sr=sfraser 2002-09-26 23:38:08 +00:00
mkaply%us.ibm.com 69e09a22a5 #168221
r=pedemont, sr=blizzard
OS/2 only - quote filenames in helpers
2002-09-17 21:10:30 +00:00
dougt%netscape.com 68faeb5241 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2002-09-07 17:13:19 +00:00
dougt%netscape.com f2a00efc93 Move FROZEN ContractID into nsXPCOM.h and define r=rpotts, sr=alec, b=166426 2002-09-03 23:36:13 +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
alecf%netscape.com f7b1f37cdf oops, forgot to check this file in from unix for bug 157624 2002-08-26 22:19:43 +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
seawood%netscape.com 322da773fb Removing old nmake build makefiles. Bug #158528 r=pavlov 2002-08-10 07:55:43 +00:00
alecf%netscape.com f7ad4265ef bug 157624 - prep for freezing nsISupports* primitives by renaming the string classes appropriately
nsISupportsString  -> nsISupportsCString
nsISupportsWString -> nsISupportsString
r=dougt, sr=jag
2002-08-06 00:53:19 +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
bzbarsky%mit.edu c6b1e39242 Bug 136670, bug 132688, add PR_LOG capability. r=jkeiser,sr=darin 2002-06-17 23:20:46 +00:00
seawood%netscape.com 6de5b59159 Fixing win32 gmake builds lack of debugging information problem by working around a combination MSVC & cygwin make deficiencies:
* We must use the full path to the source file when calling MSVC so that debugging information shows up in the object files.
* Because of cygwin's use of /cygdrive when using full paths, we must use a cygwin-wrapper script in some cases to allow native win32 programs to use a fully qualified cygwin path.
* We have to call configure using the full path so that $(srcdir) contains the
full path in the Makefiles. The rules have been changed for win32 so that it
always use $(srcdir)/$*.{c,cpp} as the sourcefile name even when the file is in
the cwd.  This works around both the /cygdrive issue and the msvc's path info
optimization.
* We still use the wrapper when calling rc.exe & nsinstall.  nsinstall
frequently takes multiple args and is called all over the tree so changing each
calling site is going to be expensive.	(I'll have to check  the logs again but
I think the rc wrapping can go.)
* nspr & ldap still use the wrappers for all native win32 progs.  Neither nspr
nor ldap uses the acoutput-fast.pl script to speed up the substitution of
@srcdir@ into their Makefiles so, makefile substitution will break if we use
dos-paths.
* In the handful of directories where we copy srcfiles from another directory
in lieu of using VPATHs, we have to now copy those files to $(srcdir) so that
the default rules can find them.
Bug #141834 r=leaf,wtc,dmose,mcs
2002-06-17 17:09: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
cathleen%netscape.com 64856eb68b clean up last traces of nsCRT::strlen(char* s), bug 124536 r=dp, sr=brendan 2002-06-04 23:05:39 +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 6e2cba3901 oops, forgot to remove one REQUIRES entry (from checkin for bug 140136)
r=pinkerton, sr=blake
2002-06-03 20:54:01 +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
mkaply%us.ibm.com b548dbc70a #141528
r=bzbarsky, sr=blizzard, a=chofmann
OS/2 only - new helper app code - more like unix - new protoocl handler code
2002-05-16 14:32:19 +00:00
dougt%netscape.com c683a217ab Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756 2002-05-15 18:55:21 +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
darin%netscape.com b4b75daa66 cleaning up documentation, marking some interfaces frozen, and splitting
up some interfaces into separate IDL files (b=124465)
reviewed by dougt and bbaetz
2002-05-03 07:49:43 +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
sdagley%netscape.com 86136e0bf0 Fix #116079 - if a file with no extension is dragged to Mozilla and it has a file type of 'TEXT' treat it as text/plain rather than application/octet-stream. r=bryner, sr=hyatt 2002-04-29 07:01:44 +00:00
darin%netscape.com 9b3f3116e3 fixing OS/2 bustage 2002-04-27 08:29:19 +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 281c86ec58 b=99165 Freeze nsIInputStream nsIOutputStream (not yet frozen... but close)
r=dougt sr=shaver a=asa
2002-03-12 00:59:06 +00:00
darin%netscape.com 56327dc4a9 hopefully fixes OS/2 bustage 2002-03-06 09:42:39 +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 201fa7ccf6 fix regression of bug 124741. r=law, sr=alecf, a=asa 2002-03-05 22:35:56 +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
alecf%netscape.com cd8f07f3e8 bug 127091 - big string cleanup, removing old APIs
- removing Assign/AppendWithConversion for single-characters
- removing unused StripChars
- removing ReplaceChar[s] for non-matching chars
- removing CompressSet
- removing nsCString::Find/FindCharInSet/RFind for unichar strings
- removing lots of EqualsWithConversion
r=dp, sr=jag
a=asa
2002-03-04 23:18:21 +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
timeless%mac.com 3a7b20b848 Bug 124895 Improper definition of NS_PROMPTSERVICE_CID
r=danm sr=alecf
2002-02-12 03:32:14 +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
mkaply%us.ibm.com 0423200d57 No bug - fix some tabs that were really bugging me 2002-01-31 20:32:00 +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
cathleen%netscape.com 8605704b12 eliminate nsCRT::zero() to use memset to zero instead, bug 118135, r=dp sr=waterson 2002-01-30 02:55:57 +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
cathleen%netscape.com 92d4fbf218 converted 271 references to nsCRT::memcpy to memcpy, bug 118135 r=dp 2002-01-12 03:18:55 +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
pinkerton%netscape.com 350e79a7ab Change unsigned char* param to ConstStr255Param to make mach-o happier
r=sdagley/sr=blake. bug 118197.
2002-01-07 15:44:08 +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
seawood%netscape.com 45bfbf0658 Landing the rest of the win32 gmake changes:
* Adds Makefile.ins to win32 specific dirs
* Adds WINNT ifdefs to Makefile.ins
* Causes NSPR to be compiled with --with-mozilla
* Misc general Makefile.in cleanup

Bug #58981 r=mcafee
2001-12-18 09:14:29 +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
ducarroz%netscape.com 6f175430bb Fix for bug 111305. Check for null ptr before using it. Don't truncate and initialize a nsString with a length of -1, that cause the whole app to freeze. R=damn, SR=mscott, A=asa 2001-12-14 01:18:16 +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
bzbarsky%mit.edu 9980f27b9c Make the unix GetFromMIMEType and GetFromExtension functions not clobber
the user's neverAsk prefs.  Bug 113908, r=law, sr=mscott
2001-12-11 02:56:29 +00:00
ccarlen%netscape.com c343dad63a Adding new files for conversion to CW7 and XML project files. Bug 98349 r=pink/sr=sfraser. 2001-12-10 21:58:15 +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
darin%netscape.com b639381424 fixes bug 15320 "Forms/Necko: Temp file (formpost) left after file upload"
r=dougt, sr=mscott
2001-12-07 00:40:55 +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
pete%alphanumerica.com 4fec5ba34f removing bad header.
--pete
2001-12-04 01:09:37 +00:00