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

480 Коммитов

Автор SHA1 Сообщение Дата
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
mscott%netscape.com 45dbf92d78 Bug #43556 --> forgot to migrate over the default VMS file extensions from the old mime service
r=sspitzer
2000-09-15 06:28:44 +00:00
mscott%netscape.com ab07ff0c7c Bug #43556 --> implement nsIMIMEService
honor the http content disposition header if present.
r=valeski
2000-09-15 06:07:58 +00:00
rayw%netscape.com 0257791053 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren
2000-09-13 23:57:52 +00:00
scc%mozilla.org 9685340714 if you want a character pointer, you're going to have to |.get()| it 2000-09-13 07:55:09 +00:00
mscott%netscape.com fe1d0067c7 Bug #43556 --> Implement nsIMIMEService. For now, forward the calls to the old implementation in necko.
r=valeski
2000-09-08 00:12:51 +00:00
mscott%netscape.com 30037f6c30 Bug #47799 --> push prompt for file name over to ucth handler code so we don't bring
UI up from the uriloader. This allows us to properly use a string bundle
 for text in the dialog. this is prep work for the real fix for this bug.
r=law
2000-09-06 22:21:06 +00:00
pchen%netscape.com 77595f3418 bug #43585, r=sfraser, set mac file type and creator in SetupTempFile() and also use new NS_MAC_DEFAULT_DOWNLOAD_DIR as opposed to desktop dir 2000-09-06 21:12:11 +00:00
mscott%netscape.com f1aa9956b6 conrad's directory service change broke helper app support 'cause we don't find the mimetypes.rdf file anymore.
minor tweak to fix that
r=sspitzer
2000-09-01 05:58:42 +00:00
ccarlen%netscape.com 3b47353cfe Convert use of nsIFileLocator to nsIDirectoryService r=mscott 2000-08-22 00:53:37 +00:00
conrad%ingress.com d9e8edcf29 Changed from using strings for nsIDirectoryService props to using macro names defined in nsDirectoryServiceDefs.h r=valeski 2000-08-11 20:31:57 +00:00
mscott%netscape.com 25e12ec3c0 Bug #48078, 48081 --> bring up save to disk dialog right away from the helper app dialog instead of
waiting till the download is finished.
properly implement Cancel so we stop the download and clean up the temp file.
r=alecf
2000-08-10 01:49:06 +00:00
mscott%netscape.com 8ac4deb3f4 Bug #43583 --> bring up the save as dialog from the backend instead of from the front end.
r=alecf
2000-07-13 06:26:25 +00:00
mscott%netscape.com cbdeb0905f Bug #43583 --> throw the switch for the helper app dialog. Start invoking the helper app dialog and bring it
up whenever the user trys to launch a helper app. This was submitted by bill law. r=mscott

also, use the file name in the url as the basis for the temporary file name.
r=alecf
2000-07-12 06:09:02 +00:00
mscott%netscape.com a044cab1f4 Bug #43583 --> Add a separate boolean for asking the user before handling content using an external application.
r=alecf
2000-07-11 23:15:49 +00:00
mscott%netscape.com 66907fe1dd Bug #43583 --> pass the window context into the helper app launcher which will in turn be used by
the helper app dialog to get at a dom window.
r=alecf
2000-07-10 21:21:10 +00:00
mscott%netscape.com 2f46a371e9 Bug #44082 --> fail if we couldn't find mimeTypes.rdf during the data source init phase.
patch from jst
r=mscott
2000-07-07 21:44:11 +00:00
mscott%netscape.com 6ad688ca00 Bug #43583 --> re-organizing how we launch helper apps to work with the helper app dialog.
Add nsIExternalAppLauncher interface which is used by the helper app dialog.
r=alecf
2000-07-07 01:48:05 +00:00
dougt%netscape.com e5e3eab6ce Adjusting user of makeUnique. a=brendan@mozilla.org 2000-06-24 01:55:40 +00:00
mscott%netscape.com ad5c60eb5b Bug #38374 --> make sure the temp file we are saving the file to is unqiue by calling make unique.
This call will be replaced by createUnique once that gets checked in. I also need to fix the temp file
name I use as well.
r=sspitzer
2000-06-23 06:42:14 +00:00
sspitzer%netscape.com 8df8079fbe get launching of external apps working on the mac. also, on the mac only, dump the temp file to the desktop. r=mscott #38374. 2000-06-23 04:43:13 +00:00
sspitzer%netscape.com c6b5309946 work for bug #38374 helperApps.rdf is now mimeTypes.rdf. use the file locator to get the mimeTypes file. fix the unix implementation of nsOSHelperAppService.cpp to go to the base class to determine what application to launch. r=mscott 2000-06-22 22:17:25 +00:00
mscott%netscape.com 04601881dd not part of the build!!! fixes to get this buildling on the mac 2000-06-22 06:04:23 +00:00
mscott%netscape.com 2668452986 Bug #38374 --> more updates for external helper application support. (NOT PART OF THE BUILD)
code review will come when this is done and gets turned on.

Landing of the RDF data source which keeps track of all the user specified mime type information.
Landing implementation of user over ride information when determining what helper app to run. now we'll
check the information stored in the data source first. If we don't ahve any over-ride information, then
fall back to the OS defaults.
2000-06-21 08:29:13 +00:00
mscott%netscape.com c08b6233e7 Bug #30157 --> add the ability to launch urls using OS default protocol handlers. (NOT PART OF THE BUILD)
code review will come when this is done and gets turned on.

add nsIExternalProtocolService support to the base class.
2000-06-18 22:07:54 +00:00
mscott%netscape.com b1e8d04afd Bug #38374 --> more updates for external helper application support. (NOT PART OF THE BUILD)
code review will come when this is done and gets turned on.

Pass in the file extension (determined by the content type) that we want to use when generating the name
of the temp file for saving the data for the helper application.
2000-06-18 01:13:04 +00:00
mscott%netscape.com 7264918d4e Bug #38374 --> more updates for external helper application support. (NOT PART OF THE BUILD)
code review will come when this is done and gets turned on.

Add support for nsPIExternalAppLauncher. Call back to the OS app service to launch the app once we are done
saving the file to a temp file.
2000-06-17 23:04:53 +00:00
mscott%netscape.com 0adba87a3c Bug #38374 --> more updates for external helper application support. (NOT PART OF THE BUILD)
code review will come when this is done and gets turned on.

properly implement saving the data to a temp file.
2000-06-17 19:53:44 +00:00
mscott%netscape.com c67e915e7d Bug #38374 --> more updates for external helper application support. (NOT PART OF THE BUILD)
code review will come when this is done and gets turned on.

Add code to actually store the incoming data into a temp file.
2000-06-17 02:34:44 +00:00
mscott%netscape.com e3bef1365b Bug #38374 --> more updates for external helper application support. (NOT PART OF THE BUILD)
code review will come when this is done and gets turned on.
2000-06-17 00:06:26 +00:00
mscott%netscape.com 1229310eb4 Bug #38374 --> foundation for helper app architecture.
Not part of the build yet. review will come when this is ready to go.
2000-06-16 21:35:13 +00:00