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

1119 Коммитов

Автор SHA1 Сообщение Дата
cbiesinger%web.de f4f01b8b90 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 f8f335cb15 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 fe5166ce4b 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 3f6ab4b6a4 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 311eff5894 clarify comment a bit, no bug, r+sr=bzbarsky 2004-01-02 13:17:42 +00:00
cbiesinger%web.de 3c1af4d3bc 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 a42e149448 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 c8ec26dcc4 Bug 227029 nsExternalAppHandler dynamically allocates buffer for no reason
r+sr=bzbarsky
2003-12-19 15:18:59 +00:00
cbiesinger%web.de d86ab2af96 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 f7c3876dd7 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 e20ca858dd 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 4fd601a3a8 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 f8fbc14169 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 8fc58205ff 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 e11426dbe2 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 517f99b693 fixing mac bustage 2003-11-15 15:29:14 +00:00
cbiesinger%web.de cb32817ed5 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 b573023f20 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 224a94e1d2 fixing likely crasher in previous checkin, thanks to bz for noticing it 2003-11-14 21:27:41 +00:00
cbiesinger%web.de a00520fd2c 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 26c72f348f 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 816b00b6cc Fix for bug 224231 (Need AppendASCIItoUTF16). r=jst, sr=dbaron. 2003-11-01 10:57:41 +00:00
bzbarsky%mit.edu d8f09cdffa Extension comparisons should be case-insensitive. Bug 223055, r=biesi, sr=darin 2003-10-30 02:20:23 +00:00
bzbarsky%mit.edu 8ec2821c21 Add NSPR logging to content dispatch (not forced on in release builds; the
module is "URILoader").  Bug 223694, r=biesi, sr=darin
2003-10-30 02:03:41 +00:00
bryner%brianryner.com e012bff57a 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 fcc14acdea Fix bug 164816. Patch by biesi, r=bzbarsky, sr=darin 2003-10-22 06:46:52 +00:00
bzbarsky%mit.edu c1760c17b9 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 e0dd4704ab 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 d70002d017 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 45c11fa514 Assuming bz didn't mean to completely disable GNOME helper apps... 2003-10-12 09:19:15 +00:00
bzbarsky%mit.edu 4bc0812059 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 6df7f0af50 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 2fded71a76 Forgot to make these changes per biesi's review. Bug 171025. 2003-10-09 06:28:49 +00:00
bzbarsky%mit.edu c73fddfecd Move all URI dispatch code into nsDocumentOpenInfo. This lets us try other
content listeners if the first one we find fails, as well as letting us
gracefully handle failures to get content converters.  Bug 171025, r=biesi,
sr=darin
2003-10-09 04:00:01 +00:00
bzbarsky%mit.edu 32093a1139 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 fcc7f1b9e2 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 ae9675db62 fix typo in comment. r+sr=bz 2003-10-04 18:14:51 +00:00
cbiesinger%web.de 69d609337e 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 fdb136feff Bug 220477 convert nsIURILoader comments to doxygen-style comments.
also fixes documentation of parameters of loadURI
r=bzbarsky sr=darin
2003-10-03 20:54:01 +00:00
bryner%brianryner.com b7e4e09d6e Use GNOME application associations for GTK2 builds (bug 128668). r=bzbarsky, sr=blizzard. 2003-09-29 22:04:05 +00:00
jst%mozilla.jstenback.com 8aa7b563d2 Fixing bug 215981. DeCOMtaminating nsIContent and nsIDocument some, and also some minor changes to other related interfaces. r=caillon@aillon.org, sr=peterv@propagandism.org. 2003-09-27 04:18:26 +00:00
cbiesinger%web.de ff4f558ea1 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 064a9ddd04 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 2fd7e23c94 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 1c52a1ac17 220111 nsIDownload should document that Init must be called
r=bzbarsky sr=darin
2003-09-24 20:24:19 +00:00
cbiesinger%web.de fd78917561 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 1f9b196855 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 6e63148879 219608 r=bzbarsky sr=darin compile warning in helperappservice (size/unsigned mismatch) 2003-09-23 19:24:26 +00:00
cls%seawood.org bfca537521 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 a581a582e6 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 dce9af18db Bug 218820
remove useless nsIExternalHelperAppService::canHandleContent
mozilla never calls this function; and it always returns PR_FALSE
r=bz sr=darin
2003-09-17 12:31:39 +00:00
bryner%brianryner.com dbf18a9c3a Remove files that were taken out of the build months ago as part of bug 194240. 2003-09-14 21:04:15 +00:00
cbiesinger%web.de 44e63e8ba7 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 bad255111b 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 6f2ec1a6cf Bug 120045
Multi-character character constants in nsExternalHelperAppService.cpp
r=bz sr=darin
2003-09-11 20:44:25 +00:00
cbiesinger%web.de 2a42055e93 fix off-by-one error 2003-09-11 16:14:58 +00:00
cbiesinger%web.de 5f50ab557c 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 0c41732588 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 ffa2034bd9 Bug 217089 Compiler warnings
patch by mbockelkamp@web.de r=timeless sr=darin
2003-09-11 03:18:46 +00:00
bryner%brianryner.com 20386efec4 Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan. 2003-09-08 00:18:24 +00:00
bryner%brianryner.com 70b73feae9 Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan. 2003-09-07 23:12:15 +00:00
brendan%mozilla.org f6be8fe74f Add shared DHashTableOps for [const] char *key use-cases, clean up dhash API abusages (214839, r=dougt, sr=dbaron). 2003-08-05 20:09:21 +00:00
ben%bengoodger.com e9d0b7f4eb 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 8b142c128e 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 50766aa52c Fix build bustage 2003-07-30 18:56:12 +00:00
bzbarsky%mit.edu bbef4c6a07 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 1e49092e30 Fix leaks of registry keys. Bug 213985, r=biesi, sr=darin 2003-07-29 14:51:58 +00:00
cbiesinger%web.de a7f5c47622 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 da6606bc48 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 5d0f2929ed fixing windows bustage 2003-07-26 22:09:37 +00:00
cbiesinger%web.de 2459f8185b 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 e5caec95b5 fixing beos bustage 2003-07-26 18:58:13 +00:00
jaggernaut%netscape.com f1efc20ae6 Bug 213602: Switch some users of NS_GetWeakReference over to do_GetWeakReference. r=bzbarsky, sr=dbaron 2003-07-25 19:06:59 +00:00
cbiesinger%web.de faf8419fc6 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 763b641258 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 f008bc2bad 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 d23eafdfe2 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 8c498df4c3 Bug 73353: more REQUIRES updates. 2003-07-17 20:34:47 +00:00
cls%seawood.org ae4f86f093 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 c95dd192aa 212468 r=bzbarsky sr=darin rethink the hashtable usage in helperappservice 2003-07-14 22:30:52 +00:00
cbiesinger%web.de 96ef090489 212110 r=bzbarsky sr=darin misc cleanup of externalhelperappservice 2003-07-14 21:09:11 +00:00
jaggernaut%netscape.com bf82a649b9 Bug 212272: Switch some Substring users over to String(Begins|Ends)With. r=dwitte, sr=bzbarsky 2003-07-14 07:37:39 +00:00
jaggernaut%netscape.com 20004e3489 Bug 73353: clean up MODULE/REQUIRES story. r=cls, sr=bryner 2003-07-13 22:29:00 +00:00
cbiesinger%web.de c6ec6b4801 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 6550b06582 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 ba002a22cc 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 a711e6e3a0 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 a7f3b22f7e random array cleanup. Bug 211193, r=biesi, sr=alecf 2003-07-02 00:29:26 +00:00
cbiesinger%web.de adf9db1b56 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 a36fa1715d 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 fa358eb4be 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 d8243a5752 Fix MOZ_PHOENIX bustage. 2003-06-30 20:29:59 +00:00
cbiesinger%web.de 4aa86f4afd 124014 r=bzbarsky sr=darin URL handled by helper app never marked visited 2003-06-30 19:00:46 +00:00
jshin%mailaps.org f9136bcc62 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 fca10b9dd4 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 aa8e010f17 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 ecc35790fe 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
jst%netscape.com 31d1be4084 Fixing typo in comment. 2003-06-11 06:17:53 +00:00
seawood%netscape.com 8f112a4226 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-10 21:18:27 +00:00
seawood%netscape.com 6934dc37a9 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-10 20:12:33 +00:00
cbiesinger%web.de c3e99522c9 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 cc8cd7ed95 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 149f719c00 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 827070cae3 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 97d4809dd9 #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 e9fbc10d58 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 06c86310c8 Fixing comment 2003-04-22 02:44:21 +00:00
bzbarsky%mit.edu c1beef340d Clean up nsURILoader.cpp some. Better comments, more understandable code in
nsDocumentOpenInfo::DispatchContent, less confusing use of RetargetOutput
(which is now ConvertData).  Bug 201618, r=darin, sr=sspitzer.
2003-04-12 03:36:53 +00:00
bzbarsky%mit.edu d384919a6d Removing unused openURIVia function. Bug 200223, r+sr=sspitzer. 2003-04-06 20:33:38 +00:00
mkaply%us.ibm.com 3778879321 #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 45fdfa8001 #188249
r=cls, sr=bz
Start landing GCC support for OS/2 - mainly cleanup to start
2003-03-21 21:16:45 +00:00
suresh%netscape.com b7c8816e68 bug 49172 - Browser fails to respond correctly to a 205 (reset) status. r-dougt, sr-darin. 2003-03-19 23:55:12 +00:00
sfraser%netscape.com e59ec9f5ba 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 be629223b6 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
cls%seawood.org d18d8ada60 Adding mingw makefile changes.
Bug #134113 r=bryner
2003-03-08 05:57:15 +00:00
suresh%netscape.com 4686a0d815 bug 185692 - enable prefetching of '?' URLs in the context of rel=prefetch. r-dougt, sr-darin 2003-03-06 21:37:09 +00:00
sfraser%netscape.com e586d24bd2 Don't crash if mLoadGroup is null, which can happen if Init fails. r/sr=me 2003-03-01 20:39:44 +00:00
cavin%netscape.com 47ad5ffffc 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 5ce7765e26 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 26fd1afa1f 190020 r=timeless sr=alecf GetResource should take AUTF8String 2003-02-25 19:02:00 +00:00
bzbarsky%mit.edu d55ae48d15 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 7773ddea2e 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
suresh%netscape.com 4053b81c11 bug 166648 - allow link prefetching to be disabled via user prefs. r-dougt, sr-alecf, a-asa. 2003-01-27 22:23:28 +00:00
bzbarsky%mit.edu cb55f3d983 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 ed5a991e8c 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 91de73d277 Bug 180384 nsExternalHelperAppService should observe profile changes
r=ccarlen sr=dmose
2003-01-22 06:57:15 +00:00
cbiesinger%web.de fd110aa6bc 188805 r=adamlock sr=darin nsIWebProgressListener should explain aStatus 2003-01-21 21:16:24 +00:00
bzbarsky%mit.edu 07311b7dec 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 8f284ed984 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 b9a218c0c4 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 4f10bc15f6 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 b7c1748228 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 1eb2b83556 Fix mac bustage... 2003-01-12 02:22:23 +00:00
bzbarsky%mit.edu 5f9095c9ce 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 f2cd5e3e66 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 2d58cd8e80 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 8fc5168183 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 583ec4d823 nobrainer changes while thinking about mingw support
Bug #134113 r=dmose
2003-01-03 08:58:59 +00:00
seawood%netscape.com 4588fb970a Start installing GRE libraries & components into a separate dist/gre directory as part of the default build.
Bug #186241 r=dougt
2002-12-28 01:15:07 +00:00
seawood%netscape.com 6e9477a6f1 Fix typo. 2002-12-13 03:21:37 +00:00
seawood%netscape.com 3228deccf9 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
bzbarsky%mit.edu 58278e9055 more nsCOMArray goodness -- uriloader, this time. Bug 183656, r=timeless,
sr=rpotts
2002-12-11 00:15:19 +00:00
timeless%mozdev.org 797dc9f2b4 Bug 183623 malformed for loop results in infinite loop in [@ nsURILoader::DispatchContent]
r=bz sr=darin a=asa
2002-12-05 21:44:28 +00:00
darin%netscape.com 64970ac9bb fixes bug 173426 "prefetch service should set LOAD_ONLY_IF_MODIFIED flag"
r=gagan sr=bzbarsky
2002-12-04 04:21:10 +00:00
sdagley%netscape.com d95c6a19f8 Fix #179592 - wrong IC constant mapping. r=ccarlen,rs=sfraser 2002-12-03 21:00:45 +00:00
syd%netscape.com 94b5723969 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 c6e196b117 remove dead mime code, b=172963 r=dougt sr=alecf 2002-11-24 03:31:47 +00:00
darin%netscape.com 9b3557c713 fixes bug 157133 "HTTP Interfaces need to be frozen" r=dougt sr=bzbarsky 2002-11-22 07:40:16 +00:00
bzbarsky%mit.edu 4d094c04fc Make nsILinkHandler take uris instead of strings. Bug 176904, r=darin, sr=jst 2002-11-20 00:44:26 +00:00
bzbarsky%mit.edu c186856e50 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 91fec7de75 fix off-by-one error in parsing out extension
change by bz
2002-11-06 23:59:36 +00:00
bzbarsky%mit.edu 5cc311ac1e 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 ebf8dedd4d fix crash in ShellExecute() on some versions of windows (bug 161357) r=mstoltz,sr=darin 2002-11-06 05:20:40 +00:00
darin%netscape.com 70e60af5a0 fixes bug 174984 "Prefetch requests should send Referer" r=gagan,mstoltz
sr=bzbarsky a=dbaron
2002-10-24 03:17:44 +00:00
seawood%netscape.com d1bef3cbe0 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
bryner%netscape.com 5e174c6a8d Fix the search path for optimized builds, too. 2002-10-09 06:22:04 +00:00
bryner%netscape.com 13fa7cfc1c Make the access path for ::exthandler nonrecursive so that we don't pick up the BeOS version of nsOSHelperAppService.cpp (fixing bustage) 2002-10-09 05:29:29 +00:00
darin%netscape.com e12df39b97 fixing mach-o bustage 2002-10-09 02:21:59 +00:00
arougthopher%lizardland.net cc01c50ccb 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 1403610a36 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 3c7a506342 fixing mach-o build bustage (from my checking for bug 172963) 2002-10-09 00:17:13 +00:00
darin%netscape.com 8a8348bf12 fixes bug 172963 "remove dead mime code" r=dougt sr=alecf 2002-10-08 21:31:54 +00:00
darin%netscape.com aad1a1d1f6 fixes bug 157135 "nsIFileURL need to be frozen" r=dougt sr=bzbarsky 2002-10-06 02:20:35 +00:00
sdagley%netscape.com 4ecbc1bbe1 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 47f7cd9a84 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 0794551cb6 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 0ec338eb4b 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 52c6607e73 backing out sdagley's patch for bug 169667 to clear up mac build bustage. 2002-09-27 04:35:33 +00:00
scc%mozilla.org adb833e53b bug #167722, patch by Donnie Cranford, r=gisburn, sr=scc; ports bustage,
must include "nsReadableUtils.h"
2002-09-27 01:30:04 +00:00
sdagley%netscape.com e571c5e2c2 Landing #169667 - Clean up InternetConfigService and use LaunchServices APIs where appropriate. r=ccarlen,sr=sfraser 2002-09-26 23:38:08 +00:00
rpotts%netscape.com 0e293491d8 bug #169583 (r=jst, sr=darin) URILoader should allow nsIContentHandler::DoContent() to fail... 2002-09-24 19:53:43 +00:00
sdagley%netscape.com f083e40c5a Part of #152231 - moving InternetConfigService to uriloader from appshell. These changes are for the CFM builds. r=ccarlen,sr=scc 2002-09-21 19:08:45 +00:00
mkaply%us.ibm.com 9ddc653193 #168221
r=pedemont, sr=blizzard
OS/2 only - quote filenames in helpers
2002-09-17 21:10:30 +00:00
darin%netscape.com 39888b1951 adding MANIFEST file for link prefetching 2002-09-12 19:42:16 +00:00
darin%netscape.com 410f271627 fixes bug 166647 "allow link prefetching from a META tag + other fixes"
r=dougt,hixie sr=rpotts
2002-09-11 03:12:13 +00:00
dougt%netscape.com c5e8f896cd 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
darin%netscape.com 4a43c199f0 enabling link prefetching for XP_MAC (b=12274) r=dougt sr=alecf 2002-09-04 00:57:13 +00:00
dougt%netscape.com c1b9f8114d 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 029750d83c 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 5214ffa839 doh. Wrong patch version (-w). backing it out and fixing the whitespace... 2002-09-03 21:47:44 +00:00
bzbarsky%mit.edu 3e83984244 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
darin%netscape.com 45920105e5 enabling link prefetching on all platforms except XP_MAC for now (b=12274)
r=dougt sr=rpotts
2002-09-02 00:21:48 +00:00
darin%netscape.com 9a771fa23b adding new files for link prefetching (b=12274) [NOT PART OF THE BUILD]
r=dougt sr=rpotts
2002-09-02 00:14:20 +00:00
dougt%netscape.com d0dc56776f exports frozen interface to dist/sdk using new SDK variable. 164717. r=cls, sr=alec 2002-08-27 01:05:21 +00:00
alecf%netscape.com 3ed6b7e010 oops, forgot to check this file in from unix for bug 157624 2002-08-26 22:19:43 +00:00
nhotta%netscape.com 8a0670b9ed 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 2bc1b24b8e 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 8ae6c40f5d Removing old nmake build makefiles. Bug #158528 r=pavlov 2002-08-10 07:55:43 +00:00
alecf%netscape.com 3703f3c61b 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 46ad5e61e0 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
jst%netscape.com 0403b869b2 Fixing part of bug 126212. Make nsDocLoader store the requests in a pldhash in stead of in a linear array for better performance when dealing with *lots* of requests. r=bzbarsky@mit.edu, sr=rpotts@netscape.com 2002-07-09 00:54:41 +00:00
sicking%bigfoot.com 6636b2ccd8 Bug 133250: "Transferring data from..." remains on status bar. Checkin for antonio.xu@sun.com
r=jkeiser sr=rpotts
2002-07-02 02:17:15 +00:00
bzbarsky%mit.edu e24e7b4e0d Fix bug 154346 the right way. r=law, sr=jag 2002-07-01 23:14:07 +00:00
bzbarsky%mit.edu 17fb49e474 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 5d73971f2e 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
rpotts%netscape.com 418e83042e bug #148981 (r=kaie, sr=darin). STATE_TRANSFERRING notifications are not fired if theunderlying channel does not provide nsIProgressEventSink notifications... 2002-06-20 21:16:46 +00:00
bzbarsky%mit.edu b11fdd59f3 Bug 136670, bug 132688, add PR_LOG capability. r=jkeiser,sr=darin 2002-06-17 23:20:46 +00:00
seawood%netscape.com c61a26b5bb 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 72ba433010 bug 149230 - crash launching helper apps
r=ducarroz, sr=blake, a=asa
2002-06-06 22:12:18 +00:00
cathleen%netscape.com 12e47be3cf clean up last traces of nsCRT::strlen(char* s), bug 124536 r=dp, sr=brendan 2002-06-04 23:05:39 +00:00