Commit Graph

1475 Commits

Author SHA1 Message Date
sdwilsh@shawnwilsher.com
ea36e2eef8 Bug 389870 - When previous action was to use a local helper app, the protocol never works again. r=cbiesinger, sr=dmose, a=schrep 2007-07-27 13:20:54 -07:00
dmose@mozilla.org
2b71ae690f nsExternalHelperAppService::ExternalProtocolHandlerExists (almost) always sets aHandlerExists to PR_TRUE, enabling gnomevfs protocols, patch by Karl Tomlinson <mozbugs@karlt.net, r+sr=biesi,dmose; a=roc 2007-07-27 11:31:13 -07:00
cbiesinger@gmx.at
432463c21c 389611 only treat protocol handlers as protocol handlers
r+sr=bz a=schrep
2007-07-26 17:53:09 -07:00
sdwilsh@shawnwilsher.com
df377aef12 Bustage fix 2007-07-26 14:36:46 -07:00
sdwilsh@shawnwilsher.com
4df411a198 Bug 385065 - protocol handling dialog. I accidentally reverted this change when I landed Bug 385065. This was fixed with Bug 389580 and Bug 389580 r+sr=cbiesinger 2007-07-26 14:26:31 -07:00
sdwilsh@shawnwilsher.com
801e29f7d0 Bug 385065 - protocol handling dialog. I accidentally reverted this change when I landed Bug 385065. r=cviesinger, sr=dmose 2007-07-26 14:23:56 -07:00
sdwilsh@shawnwilsher.com
b53383de5b Bug 388909 - disabled MOZ_RDF build broken after landing 384374. I accidentally reverted this change when I landed Bug 385065. Previous r+sr=cbiesinger 2007-07-26 14:23:49 -07:00
sdwilsh@shawnwilsher.com
d09c917fe3 Bug 385065 - protocol handling dialog. r=cbiesinger (forgot to fix two nits) 2007-07-25 23:44:43 -07:00
dmose@mozilla.org
c5a45de9ac Fixes for Linux build bustage 2007-07-25 22:52:27 -07:00
sdwilsh@shawnwilsher.com
bf5d08875c Linux bustage fix 2007-07-25 22:27:43 -07:00
dmose@mozilla.org
b1bc3a702d Add a missing include to fix windows build bustage 2007-07-25 22:03:00 -07:00
sdwilsh@shawnwilsher.com
7453de208d Bustage fix 2007-07-25 21:38:56 -07:00
sdwilsh@shawnwilsher.com
ca6da5a72e Bug 385065 - protocol handling dialog. toolkit: r=mano; uriloader: r=cbiesinger, sr=dmose general: ui-r=beltzner 2007-07-25 21:24:25 -07:00
cbiesinger@gmx.at
30415b0fa9 389580 don't allow escaped null bytes in URLs for external protocol handlers
r=bzbarsky sr=dveditz
2007-07-25 21:04:21 -07:00
dmose@mozilla.org
11778c0af9 Fix case where FillContentHandlerProperties incorrectly returns NS_ERROR_FAILURE (bug 389446), r+sr=bzbarsky 2007-07-25 19:56:46 -07:00
cbiesinger@gmx.at
43b468bb6f backing out last checkin, tree's red 2007-07-25 15:53:46 -07:00
cbiesinger@gmx.at
ba69ba85c9 389580 don't allow escaped null bytes in URLs for external protocol handlers
r=bzbarsky sr=dveditz
2007-07-25 15:48:00 -07:00
myk@mozilla.org
236dc4d488 bug 388388: (relanding updated patch) differentiate between MIME and protocol nsIHandlerInfo objects by not allowing protocol objects to be QIed to nsIMIMEInfo, and expose the scheme for a protocol object via the new nsIHandlerInfo::type attribute (which also holds the MIME type for a MIME object and deprecates nsIMIMEInfo::MIMEType); r=dmose, sr=biesi 2007-07-25 13:40:41 -07:00
bzbarsky@mit.edu
5fda0c5d00 Add a flag that allows protocol handlers to indicate that they don't return any
data.  Bug 379819, patch by Ryan Jones <sciguyryan@gmail.com>, r=me, sr=biesi
2007-07-25 10:21:41 -07:00
dcamp@mozilla.com
0cac14e210 update the offline cache atomically. b=389223, r=biesi, sr=jst 2007-07-24 23:31:27 -07:00
dcamp@mozilla.com
52a45b1f66 fix bustage from bug 388839 2007-07-24 22:50:08 -07:00
dcamp@mozilla.com
5e7a58ed01 move the offline cache update logic from the content sink and prefetch service into an nsOfflineCacheUpdate object. bug=388839, r=biesi, sr=jst 2007-07-24 22:35:39 -07:00
dmose@mozilla.org
bdec3dea6b Back out MIME/protocol handler work from bug 388388 because of difficult to diagnose unit test lossage on windows. Note that Windows tinderboxen will go and stay red until they are clobbered because of dependency system lossage. 2007-07-24 16:38:29 -07:00
dmose@mozilla.org
889432af9f Backing out a file that was not part of the build fix. 2007-07-24 14:31:24 -07:00
dmose@mozilla.org
e854280f1f Fix windows bustage from bug 388388 landing by correcting base class name. 2007-07-24 14:30:01 -07:00
myk@mozilla.org
d97160dca2 bug 388388: differentiate between MIME and protocol nsIHandlerInfo objects by not allowing protocol objects to be QIed to nsIMIMEInfo, and expose the scheme for a protocol object via the new nsIHandlerInfo::type attribute (which also holds the MIME type for a MIME object and deprecates nsIMIMEInfo::MIMEType); r=dmose, sr=biesi 2007-07-24 13:29:50 -07:00
myk@mozilla.org
894dbabc9c bug 389323: make the handler service not assume that nsIHandlerInfo::preferredApplicationHandler exists, since it sometimes doesn't, and make the service delete the handler record from the datasource when asked to store a handler info object that doesn't have a preferred handler 2007-07-24 02:22:44 -07:00
asqueella@gmail.com
46776f1d4b try to fix bustage from bug 383417 2007-07-23 19:16:23 -07:00
sdwilsh@shawnwilsher.com
4c1c436d0e Check the proper pointer. r+sr=biesi. No bug 2007-07-23 18:14:56 -07:00
cbiesinger@gmx.at
4a17aaec4f bug 389106 didn't mean to check in this line 2007-07-23 17:12:58 -07:00
asqueella@gmail.com
04af5b0e06 Bug 388909 - fix build breakage from 384374 for MOZ_RDF-disabled builds
p=romaxa <romaxa@gmail.com>
r+sr=biesi
2007-07-23 16:36:16 -07:00
cbiesinger@gmx.at
373f9520fb bug 389106 escape quotes
r=bz sr=dveditz
2007-07-22 22:10:46 -07:00
sdwilsh@shawnwilsher.com
1b506091b9 Bustage fix 2007-07-22 11:57:08 -07:00
sdwilsh@shawnwilsher.com
d813830a5f Bug 388701 - nsExternalHelperAppService::GetProtocolHandlerInfo should get OS Specific implementation. r=cbiesinger, sr=dmose 2007-07-22 11:40:24 -07:00
myk@mozilla.org
fde02490fa bug 387930: add an API (nsIHandlerService, implemented by nsHandlerService.js) for modifying the content handling datastore (mimeTypes.rdf)
r=dmose
sr=biesi
2007-07-21 00:18:21 -07:00
dmose@mozilla.org
6f536c32ca Backing out my inadvertant checkin of nsIHandlerService related changes; that checkin was intended for the branch. Sorry, folks! 2007-07-20 15:55:31 -07:00
dmose@mozilla.org
ee78a170f4 Replace myk's changes that I accidentally horked during the merge. 2007-07-20 13:23:44 -07:00
dmose@mozilla.org
114d67fad1 Fix OS/2 bustage introduced by my launchWithURI landing (bug 386078); thanks to Walter Meini <wuno@lsvw.de> for the patch; r+sr=dmose 2007-07-18 19:30:12 -07:00
cbiesinger@gmx.at
0fdb87f45b Bug 382113 make sure to add the request to the new loadgroup before removing it
from the old one so that onload doesn't fire before it should
Also make nsLoadGroup::AddRequest assert that the request isn't in the loadgroup yet
Finally, reenable the reftest that tests the <object> onload behaviour
r+sr=bz
2007-07-18 14:37:39 -07:00
dmose@mozilla.org
8753e89bc4 Change nsIHandlerInfo::LaunchWithFile to be launchWithURI (bug 386078), r+sr=biesi 2007-07-17 15:59:58 -07:00
dcamp@mozilla.com
c164c6d8ce implement navigator.pendingOfflineLoads. b=372969, r=biesi, r+sr=jst 2007-07-08 23:19:27 -07:00
bzbarsky@mit.edu
c73572927d Fix build bustage with some g++ versions by not having a curly after NS_HIDDEN
for a constructor.  Bug 387218, r=dmose, sr=biesi
2007-07-08 19:22:01 -07:00
jwalden@mit.edu
6d7584839a Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 00:08:04 -07:00
mozilla@weilbacher.org
ed4e197b19 [OS/2] Fix build break after bug 384374. 2007-07-06 00:01:42 -07:00
dmose@mozilla.org
545827e208 Remove trailing semicolons after method decls to avoid breaking forthcoming versions of gcc; r+sr=dbaron; no bug. 2007-07-05 17:20:09 -07:00
dmose@mozilla.org
72ba1b7011 Adding a semicolon in the hopes of fixing the XULRunner Linux tinderbox bustage from my checkin for bug 384374 2007-07-05 16:18:10 -07:00
dmose@mozilla.org
ec036ba262 Refactor nsIMIMEInfo and nsExternalHelperAppService to support local and web-based protocol handlers (bug 384374), r=biesi, sr=sicking 2007-07-05 12:31:44 -07:00
flamingice@sourmilk.net
7e169b9c64 Bug 384856, Replace illegal characters for downloads more consistently, Patch by Edward Lee (Mardak), r+sr=biesi 2007-06-27 15:46:54 -07:00
dmose@mozilla.org
7945ecd6e2 These files were not intended to land yet; backing out. 2007-06-15 14:45:17 -07:00
dmose@mozilla.org
10f8641377 Fix web based protocol handlers to work from link clicks in addition to the URL bar (bug 383396), r=biesi, sr=sicking 2007-06-15 14:43:51 -07:00
sdwilsh@shawnwilsher.com
ab1be9a46d Bug 383807 - Explain why we are not checking the result of new in nsExternalProtocolHander.cpp. Patch by Ryan Jones <sciguyryan@gmail.com>. r=cbiesinger, sr=dmose 2007-06-12 11:31:54 -07:00
sdwilsh@shawnwilsher.com
b9022d24a5 Bug 383813 - #include nsHelperAppRDF.h should be inside the ifdef for MOZ_RDF. Patch by Ryan Jones <sciguyryan@gmail.com>. r+sr=cbiesinger 2007-06-10 16:50:53 -07:00
sdwilsh@shawnwilsher.com
d13f6121d9 Bug 382825 - Add a retryDownload method to the download manager backend. r=cbiesinger 2007-06-04 17:03:35 -07:00
bienvenu@nventure.com
70c1fbce70 fix 317589 mail body containing ++ produces error message with gnome, patch by brian.lu@sun.com, r=chpe@gnome.org, sr=cbiesinger 2007-06-04 16:07:28 -07:00
roc+@cs.cmu.edu
1e64c60d76 Bug 372970. Implement navigator.offlineResources. patch by Dave Camp, r+sr=jst 2007-05-29 02:45:30 -07:00
dmose@mozilla.org
12f5a83e26 Implement backend changes for web-based protocol handlers a la WhatWG HTML5 draft (bug 380415). r=cbiesinger@gmx.at, sr=jonas@sicking.cc 2007-05-25 08:17:44 -07:00
sdwilsh@shawnwilsher.com
5089b2dda4 Bug 380250 - Convert Download Manager's RDF backend to mozStorage. r=cbiesinger,r=mconnor 2007-05-21 17:03:33 -07:00
cbiesinger@web.de
383c82c5d9 Bug 370195 – sql device for the offline cachepatch by Dave Camp <dcamp@mozilla.com> r=jst (content part) r=biesi (rest) 2007-05-14 13:09:20 -07:00
dbaron@dbaron.org
9b013dc30a Add missing calls to PR_UnloadLibrary (excluding XPCOM component loader and nsPluginsDir*). b=374332 r=bsmedberg 2007-04-15 15:22:58 -07:00
bzbarsky@mit.edu
dd963af400 If we have an /etc/mime.types extension for a type, that should NOT make/etc/mailcap override the gnome-vfs handler for that type. Patch partially byMike Hommey <mh+mozilla@glandium.org> and partially by me, r+sr=biesi 2007-04-15 13:43:49 -07:00
gijskruitbosch@gmail.com
3e830ee3c0 Bug 229168 - Save Page (with mms:// embedded media) invokes Windows Media Playerp=sciguyryan@gmail.com (Ryan Jones)r=silver@warwickcompsoc.co.uk (James Ross)r+sr=cbiesinger@gmx.at (Christian Biesinger) 2007-04-15 05:31:18 -07:00
dbaron@dbaron.org
d98d9fdec5 Remove unused getKey callback from PLDHashTableOps/JSDHashTableOps. b=374906 r=bsmedberg 2007-03-27 08:33:38 -07:00
hg@mozilla.com
05e5d33a57 Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00
roc+%cs.cmu.edu
81867edd87 Bug 367447. Support <link rel="offline-resource">. Patch by Dave Camp, r+sr=biesi 2007-03-14 01:52:07 +00:00
joshmoz%gmail.com
acad515c97 remove XP_MAC, detab. b=281889 r/sr=bz 2007-03-06 05:15:44 +00:00
mozilla.mano%sent.com
6040afd6ff Bug 83265 - Add a way to disable HTTP-EQUIV=refresh. patch from Mark Pilgrim <pilgrim@gmail.com>, r=biesi,mano,mento. sr=bz. 2007-02-08 13:15:50 +00:00
timeless%mozdev.org
05804e5bfe Bug 363390 IS_LOW_SURROGATE conflicts with winnls.h
r=darin
2006-12-21 07:03:23 +00:00
jshin%mailaps.org
1a85765ae5 bug 359808 : drop support for Win 9x/ME (r/sr=darin) 2006-11-16 00:59:55 +00:00
bzbarsky%mit.edu
0a3a624149 Make it possible for protocol handlers to configure how CheckLoadURI should
treat them via their protocol flags.  Remove the protocol list we used before.
Bug 120373, r=dveditz, sr=darin
2006-11-10 23:49:08 +00:00
jshin%mailaps.org
ea5f965eed bug 359148 : when saving a file, "unicode" characters in filename are lost (turned into '_') : r=biesi, sr=darin 2006-11-04 10:09:59 +00:00
bzbarsky%mit.edu
3eaadf1abd Fix handling of subsubframes appended from an onload handler for a subframe so
that the onload handler of the toplevel document will fire after all.  Bug
315056, r=biesi, sr=darin
2006-10-19 00:51:54 +00:00
bzbarsky%mit.edu
9468056c63 Make javascript: URI execution asynchronous. Bug 351633, r=jst, sr=biesi 2006-10-17 00:55:14 +00:00
myk%mozilla.org
93e2f635fa bug 316184: wrap and crop long URLs in the External Protocol Request dialog so they don't cause the dialog to render its buttons offscreen
r=bzbarsky
sr=bzbarsky
2006-09-11 13:29:15 +00:00
timeless%mozdev.org
ba2c063b89 Bug 330331 Building with option --disable-xul failed
patch by romaxa@gmail.com r=timeless r=biesi sr=bz
Removing last traces of RDF dependency from HTMLDocument (bug 101995)

Only build toolkit download ifdef MOZ_RDF
Only build windowdatesource and the charset menu ifdef MOZ_RDF

Enable nsExternalHelperAppService to build w/o RDF.
Enable nsDirectoryViewer to build, this is enables geckos to work around bug 347782
Don't build nsHTTPIndex at all.
2006-08-14 22:36:15 +00:00
bryner%brianryner.com
53b814db53 Close the blank browser window from a download earlier, before showing the helper app dialog (bug 343921). Patch by marria@gmail.com, r=biesi, sr=darin. 2006-08-08 18:02:46 +00:00
bzbarsky%mit.edu
396d2a1682 Follow refresh headers even if we handle the content via the external helper app
service.  Bug 341806, r=biesi, sr=darin
2006-07-19 01:43:14 +00:00
cbiesinger%web.de
37a94af104 bug 343107 Make sure to always fire STATE_START before STATE_STOP
patch by Dorian <boissomag@free.fr> r=biesi sr=darin
2006-07-06 19:34:28 +00:00
marria%gmail.com
685cf0434c Minor tweak to patch for bug 241972. Change mShouldCloseWindow to a PRPackedBool, to be consistent with the other bools around it. r=cbiesinger 2006-07-06 18:41:16 +00:00
marria%gmail.com
4776db2c47 Bug 241972 (new window opened by window.open('xxx.exe') or target="_blank" isn't closed automatically when a download begins). Fix stores state on the channel indicating whether a window was opened specifically for the download. The external helper app service then closes the window if there is no refresh header and if the window was opened specifically for the download. r=cbiesinger, sr=darin 2006-07-04 20:48:33 +00:00
mozilla%weilbacher.org
db68ff7b6c [OS/2] Bug 301367: Tag Files with Source URL, p=Rich Walsh, r=me, sr=darin 2006-06-26 20:40:08 +00:00
bzbarsky%mit.edu
939cd4d9d3 Need to make this protected too. More Windows bustage. Bug 330089 2006-06-23 04:39:42 +00:00
bzbarsky%mit.edu
412a4dfaaa Make method protected to fix Windows bustage. Bug 330089. 2006-06-23 03:07:02 +00:00
bzbarsky%mit.edu
8b434fdd7a Don't fire onload on a parent frame while we're in the middle of executing a
child's onload.  Bug 330089, r=biesi, sr=darin
2006-06-23 01:17:47 +00:00
timeless%mozdev.org
27eaab5dcd Bug 337917 Make consumers stop using cids from other modules 2006-06-18 21:18:22 +00:00
timeless%mozdev.org
a768026fc9 Bug 337917 Make consumers stop using cids from other modules
r=smontagu sr=darin
2006-06-03 23:35:59 +00:00
mkaply%us.ibm.com
b1eba94255 #326273
r=mkaply, sr=mkaply (OS/2 only)
OS/2 changes from threading checkin
2006-05-11 17:21:18 +00:00
darin%meer.net
0318b8c707 landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb 2006-05-10 17:30:15 +00:00
bzbarsky%mit.edu
722b5218b2 Add an interface for nested URIs (like jar:, view-source:, etc) to implement
and use it in various places.  Create null principals if asked for a codebase
principal for a codebase that doesn't have an inherent security context (eg
data: or javascript:).  Bug 334407, r=biesi,dveditz, sr=darin
2006-05-02 18:54:19 +00:00
cbiesinger%web.de
24dd26fae9 bug 336108 add OOM check. r+sr+a=bz 2006-05-01 18:36:30 +00:00
mark%moxienet.com
0368013884 335840 nsIMimeInfo doesn't indicate when Mac type/creator are invalid. r=josh sr=bryner 2006-04-28 18:17:11 +00:00
bzbarsky%mit.edu
c01799ad25 Don't go out to the helper app service if we're dealing with an error page.
Bug 312727, r=biesi, sr=darin
2006-04-27 18:00:36 +00:00
gerv%gerv.net
af20ee45fb Bug 331921 - Fix up some corrupt/dodgy Initial Developer lines. 2006-03-30 07:57:05 +00:00
sergei_d%fi.tartu.ee
bdb0bbb5c4 [BeOS] Bug 327296. Improving exthandler. p=sergei_d, r=cbiesinger. BeOS-only 2006-02-20 18:46:35 +00:00
brettw%gmail.com
4c3ace6b8b Bug 317843 r=darin, sr=bzbarsky: Better redirect tracking for global history. 2006-02-06 20:52:18 +00:00
neil%parkwaycc.co.uk
5417075f05 Bug 245725 Make downloads display an approximation to the current transfer rate rather than the overall average speed p=son.le0@gmail.com r=biesi sr=me 2006-02-06 00:34:30 +00:00
cbiesinger%web.de
c2d981f764 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin
2006-02-03 14:18:39 +00:00
cbiesinger%web.de
a2dcaf9b81 bug 325504 Document the category for content listeners, and the nsISupportsWeakReference requirement for listeners added dynamically. r+sr+a=bz 2006-02-02 18:37:11 +00:00
cbiesinger%web.de
463712374b bug 321932 r=bz sr=darin
Better handle the case where channels don't implement isPending correctly
2006-01-28 14:06:31 +00:00
darin%meer.net
60ba096f4c fixes bug 323852 "redirect after a prefetch does not include X-moz: prefetch header" r=biesi sr=bzbarsky 2006-01-25 00:48:40 +00:00
bzbarsky%mit.edu
9578d6b960 Only force prompting for non-"can't handle" reasons if the default action is
not "save".  Silently saving is always ok.  Bug 236541, r=biesi, sr=darin
2006-01-15 19:02:08 +00:00
timeless%mozdev.org
79156233a9 Bug 321597 LoadVersionedLibrary calls to PR_GetLibraryName must use PR_FreeLibraryName
r=roc sr=roc
2006-01-11 08:28:52 +00:00
cbiesinger%web.de
c6e491a9d3 bug 273971 patch by Son Le <son.le0@gmail.com> r=biesi sr=neil
- make nsIDownload::currBytes and maxBytes use bytes rather than kilobytes
- make transfers of unknown size use the right size
  - send mProgress rather than mContentLength as the current progress in OnStateChange
2005-12-19 15:25:22 +00:00
cbiesinger%web.de
9cfbb029a4 309525 add a method to nsIURILoader that accepts a (possibly already opened)
channel and returns a streamlistener for getting the data. Add a flag
DONT_RETARGET for ensuring that content will load in a specific docshell or not
at all.

Also, fix nsChromeProtocolHandler to correctly implement IsPending.

r=bz sr=darin
2005-12-17 18:26:25 +00:00
dougt%meer.net
ba1830aa23 Build change to make WinCE build exthandler. r=dougt 2005-11-30 18:36:17 +00:00
timeless%mozdev.org
9b0852aaf7 Bug 106386 Correct misspellings in source code
patch by unknown@simplemachines.org r=timeless rs=brendan
2005-11-25 21:57:13 +00:00
timeless%mozdev.org
eb9350f619 Bug 106386 Correct misspellings in source code
patch by unknown@simplemachines.org r=timeless rs=brendan
2005-11-25 19:48:04 +00:00
bsmedberg%covad.net
78f6d0683d Bug 313309 part 2 - change the NS_DEFINE_STATIC_IID_ACCESSOR macro to NS_DECLARE, and make a NS_DEFINE_ macro that's outside the class declaration, r=shaver 2005-11-11 14:36:26 +00:00
bzbarsky%mit.edu
d5ef3ad3dc Make sure to save our parent off before we call onload so we can tell it to
check whether it should also fire onload.  Bug 300849, r=darin, sr=jst
2005-11-04 23:40:22 +00:00
timeless%mozdev.org
5983016e5e Bug 236844 [beos] search for helper apps in mozilla directory before $PATH
patch by Niels.Reedijk@gmail.com r=sergei_d
2005-09-27 04:51:22 +00:00
pete.zha%sun.com
3337b18a47 bug 309241 a tmp file should be created if open an attachment of an local eml file
r=cbiesinger@gmx.at sr=bzbarsky@it.edu
patch=neo.liu@sun.com
2005-09-26 03:14:50 +00:00
dougt%meer.net
fc97ab9262 This is a workaround for the WinCE Native Unicode converter. I couldn't figure out how to use the utf8 codepages on certain devices. So, mapping from UTF-8 -> UCS-2 became a problem. This fix simply uses the existing algorithm in intl/uconv. This change only effect the Windoze CE native uconv. NPODB. Also includes further gfx fixup. r/sr=dveditz b=297683 WinCE only. 2005-09-07 19:21:02 +00:00
roc+%cs.cmu.edu
4ac70976f2 Bug 304434. Update link :visited status for URIs downloaded to helper apps. r+sr=dbaron 2005-08-23 22:26:10 +00:00
bzbarsky%mit.edu
7d86ff9edd Use the browser.helperApps.deleteTempFileOnExit pref, if set, to decide whether
to delete helper app temp files on exit.  Bug 302433, r=biesi, sr=sfraser
2005-08-22 17:49:53 +00:00
cbiesinger%web.de
650c1f9ce5 bug 283606 make nsOSHelperAppService::GetApplicationDescription get a
friendly description
r=darin sr=bz a=asa
2005-08-16 22:00:21 +00:00
dbaron%dbaron.org
7b6c6f51b5 Make nsIChannel implementations follow the rules that prevent them from leaking due to cycles with their notification callbacks. b=303043 r=biesi sr=darin 2005-08-12 22:53:22 +00:00
mozilla.mano%sent.com
4b7eb569d7 Bug 301281 - Remove 10.1 code from nsInternetConfigService. r=jhpedemonte, sr=smfr, a=bsmedberg. 2005-07-20 19:44:54 +00:00
mozilla.mano%sent.com
ec33eaa645 Bug 264648 - Implement nsOSHelperAppService::GetApplicationDescription for OS X (in order to show an application description in the confirmation dialog for). r=jhpedemonte, sr=smfr, a=asa. 2005-07-20 19:03:41 +00:00
bzbarsky%mit.edu
75124cd0f0 When doing text/plain sniffing, don't let the special MIME types we use for the
purpose leak out of the URILoader/exthandler combination.  Bug 300027, r=biesi,
sr=darin, a=bsmedberg
2005-07-13 16:48:01 +00:00
bzbarsky%mit.edu
5cd1b86026 Fix bug 299553 by calling DocLoaderIsEmpty() when we stop the docloader.
r=biesi, sr=darin, a=bsmedberg
2005-07-13 16:43:30 +00:00
cbiesinger%web.de
69dc249cbd Bug 298842 make the temp file part of nsITransfer
r=mconnor sr=darin a=shaver
2005-07-06 23:12:22 +00:00
darin%meer.net
2444b0a94f fixes bug 294535 "Prefetch Service should only follow redirects to http:// locations." r=biesi a=bsmedberg 2005-06-29 20:57:34 +00:00
dougt%meer.net
d1460e3a0a * Fixes some build problems when trying to build non-static. (removing link
libraries that don't exist on Windows CE)

* Taking xxx advice and making GetNAME always return a GDI forcing us to use
GetTextMetrics instead of GetFontData (which doesn't exist on Windows CE)

* Windows CE on ARM doesn't support C++ exceptions.  In the windows plugin code
uses catches to ensure that the plugins don't crash mozilla.  On windows ce on
arm, we have no choice but to disable CALL_SAFETY_ON.

* On Windows CE, VerQueryValue internal structure can not be modified so
callers must do a bit of string conversion.

* Disabling more code in nsOSHelperAppService for Windows CE.

* Enabling the Windows Registry code in XPCOM since the Window CE shunt now
supports the limited set needed (all but notification).

Bug=297683, r=Ere Maijala, sr=Dan Veditz, a=Asa
2005-06-16 21:20:45 +00:00
bryner%brianryner.com
e4a343f08f Fix assorted issues with fastback, including adding progress listener notifications and introducing the PageHide and PageShow events. See bug 292971 for all of the details. r=darin, sr=bzbarsky, a=shaver. 2005-06-15 23:52:46 +00:00
jshin%mailaps.org
5c9deaa015 bug 295202: convert nsOSHelperApplication to use nsIWindowsRegKey (r=cbie, sr=darin, a=asa) 2005-06-13 18:57:10 +00:00
mozilla.mano%sent.com
3123f05512 Bug 295517 - Build fails in uriloader/extandler under BeOS. r=thesuckiestemail@yahoo.se (BeOS only). a=asa 2005-05-26 19:38:47 +00:00
pedemont%us.ibm.com
d75b5fa3eb Bug 291512 - Generate Java interface files using nsIInterfaceInfoManager. Fix some type handling as a result of this change. r=biesi, sr=darin, a=asa 2005-05-02 16:30:03 +00:00
cbiesinger%web.de
aa12c468cf Bug 290648 make nsITransfer::init take an nsICancelable, and remove the observer attribute
r=bz sr=darin a=asa
2005-04-24 21:16:28 +00:00
cbiesinger%web.de
33e7cc8025 Bug 289842 Make nsIHelperAppLauncher inherit from nsICancelable
r=bz sr=darin a=asa
2005-04-15 19:41:07 +00:00
timeless%mozdev.org
af2d4b68b5 Bug 220753 mailto: links do not work on BeOS
patch by simontaylor2@gawab.com r=thesuckiestemail@yahoo.se a=asa
2005-04-12 16:05:25 +00:00
pedemont%us.ibm.com
e879274019 Fix Javaconnect build bustage 2005-04-07 18:58:52 +00:00
cbiesinger%web.de
f0b358248f 228968 r=bz sr=darin
- add a new nsIWebProgressListener2 interface, inheriting from
  nsIWebProgressListener, providing a 64-bit onProgressChange method
- make nsITransfer inherit from that interface, and remove an unused
  progressListener attribute
- make webbrowserpersist support listeners that implement
  nsIWebProgressListener2, and give them 64-bit progress values
- make nsIHelperAppLauncher's listener setWebProgressListener function take an
  nsIWebProgressListener2 interface

And fix up all implementations according to that.
2005-04-05 23:24:23 +00:00
cbiesinger%web.de
a3680a7d25 268150 show correct error if launching a helper applications fails due to a
permission problem
r+sr=bz
2005-04-05 18:32:35 +00:00
darin%meer.net
919c87d304 fixes bug 286506 "warning: locally defined symbol ... imported in function ..." r=bsmedberg 2005-03-19 20:35:35 +00:00
cbiesinger%web.de
850f3954ab Bug 285517 show better message in helper app dialog when the type was sniffed from text/plain
r=bz sr=darin
2005-03-13 17:03:44 +00:00
bsmedberg%covad.net
3219ac4125 Bug 282057 - brand.dtd/properties live in the wrong chrome package... xulrunner apps cannot provide these files, which means they can't use various toolkit features r=darin moa=Neil (seamonkey) 2005-03-10 04:38:35 +00:00
cbiesinger%web.de
e8d4c35266 181938 allow any protocol to support redirection, using a new
nsIChannelEventSink interface.
r=darin sr=bz
2005-03-07 19:46:06 +00:00
cbiesinger%web.de
a9d6b2bc0d Bug 285045 Set the content type on the channel when sniffing it
r=bz sr=darin
2005-03-07 19:18:12 +00:00
bzbarsky%mit.edu
5b1084a5a5 Add the prompt-service contract to nsEmbedCID.h 2005-03-07 16:07:11 +00:00
smfr%smfr.org
87cea98ae8 Add a comment to say which DLL pulls in uriloader. sr=bz 2005-03-03 07:05:01 +00:00
cbiesinger%web.de
ebc4f1fd04 Bug 284180 improve comments and error handling in exthandler a bit r+sr=bzbarsky 2005-03-01 21:34:57 +00:00
jwatt%jwatt.org
beb11579f3 Bug 283272 : Save Files As... saves .svgz files uncompressed : r+sr=bz 2005-02-25 21:13:36 +00:00
bsmedberg%covad.net
361daac936 Bug 281414 - global s/nsIPrefBranchInternal/nsIPrefBranch2/ rs=darin (did not change backwards-compatible code in extensions/irc extensions/venkman or extensions/inspector) 2005-02-25 20:46:35 +00:00
ben%bengoodger.com
100019a66e 282196 - need to access arbitrary metdata on default application handler (windows) - make nsMIMEInfoWin implement nsIPropertyBag with property keys to access moz-icon URIs for default and preferred application handlers. r=biesi sr=bz
252189 - retrieve proper application handler names from windows registry/binary VERSIONINFO metadata r=biesi sr=bz
2005-02-25 09:02:14 +00:00
bzbarsky%mit.edu
418d61ac7a Make documentation a little more explicit about the ownership model. Bug
283108, r=biesi, sr=darin
2005-02-23 06:14:44 +00:00
darin%meer.net
bdb13852d9 s/BumpPriority/AdjustPriority/ (bug 278531) r=shaver sr=brendan 2005-02-21 22:21:21 +00:00
darin%meer.net
ea421f6654 fixes bug 278531 "generic request prioritization (loadgroup prioritization)" r=biesi sr=bzbarsky 2005-02-21 20:58:01 +00:00
cbiesinger%web.de
628cca75d3 Bug 282246 Improve log output in helper app service
r+sr=bz
2005-02-18 18:36:33 +00:00
darin%meer.net
548e42a51f fixes bug 276720 "HTTP 204/205 responses should not cause STATE_TRANSFERRING events to be synthesized" r=biesi sr=bz 2005-02-12 00:40:46 +00:00
cbiesinger%web.de
40888bf15f Bug 281130 rename NS_DOWNLOAD_CONTRACTID to NS_TRANSFER_CONTRACTID to better
reflects its purpose
r=bz sr=darin
2005-02-07 14:35:46 +00:00
dougt%meer.net
1a672bd37c Fixes 280243. WinCE build support. Disabling helper application on WinCE. r=bryner. 2005-02-06 03:52:47 +00:00
bryner%brianryner.com
67dba23ae4 Clean up unneeded REQUIRES (bug 73353). r+sr=dbaron. 2005-02-03 23:01:54 +00:00
pedemont%us.ibm.com
540c3d249e Need to add nsITransfer to JAVA_XPIDLSRCS as result of bug 241082 2005-01-14 17:44:39 +00:00
cbiesinger%web.de
8ab6e0d7d1 bug 264599 make unfrozen necko interfaces use 64-bit integers.
r=darin sr=bz a=asa
2005-01-09 20:43:35 +00:00
cbiesinger%web.de
2556456572 Bug 241082 exthandler should require just nsITransfer, not nsIDownload
patch by Zbigniew Braniecki <gandalf@firefox.pl> r=biesi sr=darin
2005-01-04 13:40:51 +00:00
darin%meer.net
2fa894ae22 fixes bug 268483 "Suppress synthesized STATE_TRANSFERRING for untargeted channels" r=biesi sr=bzbarsky 2004-12-30 18:13:45 +00:00
db48x%yahoo.com
16bf0830c2 bug 239006: Download manager doesn't account for filesize when presenting combined percentages
patch by Zbigniew Braniecki <gandalf@firefox.pl>, r=cbiesinger, sr=darin
2004-12-18 04:06:51 +00:00
bzbarsky%mit.edu
55ab8dd119 Make docshell inherit from docloader; clean up related code, move toward
eliminating the nsIWebShell, nsIWebShellContainer, nsIDocumentLoader
interfaces and clarifying the other docshell-related interfaces.
r=darin, biesi, sr=jst
2004-12-08 17:32:06 +00:00
bzbarsky%mit.edu
f119e6962c Only sniff text/plain types if the channel says it's still text/plain (this may
be changed after the header is parsed by other components, eg ones listening to
HTTP notifications).  Bug 273306, r=biesi, sr=darin
2004-12-07 00:27:50 +00:00
bzbarsky%mit.edu
741545d0bf Treat an empty disposition string the same as it not being set. Bug 272541,
r=biesi, sr=darin
2004-12-04 17:46:49 +00:00
pedemont%us.ibm.com
15717f0bf7 Bug 269553 - Integrate JavaXPCOM into build. r=bsmedberg, sr=bryner 2004-12-01 17:33:16 +00:00
bryner%brianryner.com
29c70cffe8 Reduce do_GetService code bloat further by adding specialized assignment to nsCOMPtr and providing a version with no error pointer. Also make CallGetService work the same way as CallGetComponent does, as far as using frozen/non-frozen interface to service manager. Bug 264456, r=darin. 2004-11-24 22:48:45 +00:00
cbiesinger%web.de
f37a493b22 Bug 223310 use nsIObserver rather than nsIDOMWindowInternal in nsIKeygenThread.
r=jgmyers sr=darin
2004-11-24 20:17:25 +00:00
mkaply%us.ibm.com
082993853a #264647
r=mkaply, sr=blizzard (platform specific), a=mkaply (OS/2 only)
Patch from Peter Weilbacher - Add protocols to ExternalProtocolHandlerExists/Add GetApplicationDescription for OS/2
2004-11-22 19:28:24 +00:00
darin%meer.net
f103a62f64 fixes bug 261083 "Channels do not uniformly query their notification callbacks" r=biesi sr=bzbarsky 2004-11-15 20:16:52 +00:00
jshin%mailaps.org
da3ad9140c bug 267475 Clicking links to JPEG file with Chinese name download the file instead of displaying it in browser r=cbie, sr=bz 2004-11-07 02:22:55 +00:00
darin%meer.net
d5a8604e23 freezing nsIWebProgress and nsIWebProgressListener (bug 99639), r=biesi sr=bzbarsky 2004-10-31 01:16:51 +00:00
cbiesinger%web.de
b2ddba199b bumping IID after bug 263546's checkin 2004-10-29 16:48:38 +00:00
pedemont%us.ibm.com
29042c2ba8 Bug 265289 - GetListenerInfo comparing weakrefs rather than referents. r=bsmedberg, sr=darin 2004-10-25 15:55:33 +00:00
dveditz%cruzio.com
430d42c69d bug 263546: move external protocol warning down a level, r=jsr,sr=darin 2004-10-25 07:46:01 +00:00
cbiesinger%web.de
4bb5627180 264713 ensure that nsExternalAppHandler will always have a reference to the
helperappservice
r=bzbarsky sr=darin
2004-10-17 14:47:35 +00:00
cbiesinger%web.de
b84daa8a30 add a way to get an application description for a given externally-handled
scheme, and use it in the confirmation dialog that asks whether to launch such
links.
bug 258802
windows and cross-platform part: r=ere sr=neil,bz
linux part: r=bz sr=bryner
2004-10-16 13:46:17 +00:00
cbiesinger%web.de
111878b6e6 Bug 264253 exthandler should get an nsIPrompt off the window context, instead of
using nsIPromptService directly. this removes the dom and windowwatcher
dependency from exthandler.
r=bzbarsky sr=darin
2004-10-14 17:06:32 +00:00
darin%meer.net
4e7de0751e updating comments in preparation for freezing these interfaces, b=99639 2004-10-04 15:37:50 +00:00
cbiesinger%web.de
759a1ad735 fixing bustage 2004-10-03 17:19:08 +00:00
cbiesinger%web.de
dd29323495 259084 some cleanup after bug 173010 r=bz sr=darin 2004-10-03 17:06:57 +00:00
darin%meer.net
994208629d followup patch for bug 99639 "clean up STATE_IS_WINDOW" r=biesi sr=dbaron 2004-10-01 04:52:26 +00:00
darin%meer.net
7c4f3d015a documentation cleanup in preparation for freezing these interfaces, b=99639 2004-09-29 06:33:54 +00:00
cbiesinger%web.de
281c8602e1 Bug 234257 nsIDocumentLoader/nsDocLoader misc cleanup
r=bz sr=darin
2004-09-28 20:48:58 +00:00
cbiesinger%web.de
b25a1f6c7f bug 249143 keep strong references to the dialog and |this| before prompting for the
file
r=bz sr=darin
2004-09-21 19:52:45 +00:00
darin%meer.net
bb70f70378 landing additional patch for bug 257308 "Visual indicators of site security appear for the wrong site" r=biesi sr=bz 2004-09-17 20:33:25 +00:00
cbiesinger%web.de
1d5fd2d211 Bug 259890 don't call Remove(PR_TRUE) to delete a file
r=bzbarsky sr=darin
2004-09-17 19:13:00 +00:00
bzbarsky%mit.edu
b62d4e1d33 Fix misspellings of "transferring" in the tree. Bug 258874, patch by Chris
Thomas (CTho) <cst@andrew.cmu.edu>, r=bsmedberg, spelling fix rs=brendan
2004-09-16 18:33:39 +00:00
dveditz%cruzio.com
3ea4400949 bug 173010 prompt before launching external protocol handler,r=mscott,sr=darin/jst 2004-09-10 23:24:49 +00:00
pedemont%us.ibm.com
7d3d0d4a79 Bug 258503 - incorrect comment for function onStartURIOpen. r=cbiesinger,sr=bzbarsky,a=mkaply 2004-09-09 15:30:09 +00:00
darin%meer.net
f40f923a0a fixes bug 257308 "Visual indicators of site security appear for the wrong site" r=biesi sr=bz 2004-09-09 06:54:52 +00:00
bryner%brianryner.com
180b0b7373 Remove refcounting version of nsIPresShell::GetPresContext. Bug 253889, r+sr=roc. 2004-08-20 20:34:37 +00:00
cbiesinger%web.de
8e63886ee0 Bug 80787 support non-ascii extensions in mime service, mime info, and
exthandler
r=bzbarsky sr=darin
2004-08-09 21:27:24 +00:00
cbiesinger%web.de
8099d6ca0a fixing bustage 2004-08-08 20:35:08 +00:00
cbiesinger%web.de
b8816e9960 Bug 254354 move nsIHelperAppLauncherDialog.idl into exthandler
r=bz sr=darin
2004-08-08 20:25:02 +00:00
bzbarsky%mit.edu
ff376b3812 Add support for the application/rdf+xml MIME type. Bug 61839, patch by Alex
Vincent <ajvincent@juno.com>, r=bzbarsky, sr=jst
2004-08-08 01:31:02 +00:00
bryner%brianryner.com
5c02a6978c Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc 2004-07-31 23:15:21 +00:00
bzbarsky%mit.edu
3f371fd3be Setting location to a mailto: URI should not throw if there is a system mailto:
handler.  Bug 236589, r=biesi, sr=darin
2004-07-29 23:58:59 +00:00
bryner%brianryner.com
0fd21c3872 Consolidate PresContext classes into a single nsIPresContext implementation, and finish deCOMtaminating it. Bug 253470, r+sr=roc. 2004-07-29 19:41:39 +00:00
bzbarsky%mit.edu
a5ebcc2be2 Fix problem with the external protocol channel that makes it return a null
originalURI and cause crashes.  Bug 241300, r=biesi, sr=darin
2004-07-15 20:20:50 +00:00
cbiesinger%web.de
ea4cbbe221 Bug 249677 cancel does not delete temporary file in helper app dialog, if default action = save
r=darin sr=jst
2004-07-15 18:56:42 +00:00
cbiesinger%web.de
dfe82b25ea fix wording to refer to "this content listener", r+sr=bz 2004-07-14 23:15:19 +00:00
timeless%mozdev.org
985e3ccded Bug 250686 hiearchy
r=shaver sr=shaver a=shaver
2004-07-09 23:05:53 +00:00
cbiesinger%web.de
446d27d2ad bug 246280 trim trailing dots of files being downloaded before extension
checking
r=darin sr=jst
2004-07-06 23:15:30 +00:00
cbiesinger%web.de
6263ab98d2 bug 248810 nsIStreamConverter[Service] uses wide strings for mime types
r+sr=darin
2004-06-29 16:45:07 +00:00
roc+%cs.cmu.edu
0f4150a4e5 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin 2004-06-17 00:13:25 +00:00
cbiesinger%web.de
23938c8252 bug 235505 make nsIMIMEInfo::MIMEType readonly
r=bzbarsky sr=darin
2004-06-11 15:47:57 +00:00
cbiesinger%web.de
2e0a3492fe document @mozilla.org/download;1
don't delete incomplete files when the download is cancelled/aborts
tell the download impl about the location of the temp file, if it is interested
244448 r=bzbarsky sr=darin
2004-05-26 15:07:52 +00:00
roc+%cs.cmu.edu
0e3ff503fb Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin 2004-05-22 22:15:22 +00:00
bzbarsky%mit.edu
bb3844e6d4 Blocked protocols should still allow URI creation; they should just fail
channel creation.  Bug 244220, r+sr=darin
2004-05-21 00:28:52 +00:00
mkaply%us.ibm.com
d697920875 #241966
r=pedemont, sr=blizzard (platform specific)
OS/2 only - special case certain protocols and launch them with data from the INI file since we don't have a protocol registry on OS/2
2004-05-05 13:51:14 +00:00
bienvenu%nventure.com
2b2397bfaa fix regression in unix file type mapping, 242495,r=bzbarsky, sr=mscott 2004-05-04 01:05:13 +00:00
bzbarsky%mit.edu
4ede76717e Add a version of CheckLoadURI that takes a source principal instead of a source
URI.  Update a bunch of callers to use it.  Bug 233108, r=caillon, sr=dveditz
2004-04-25 16:55:27 +00:00
bienvenu%nventure.com
4d40ab419f make nsILineInputStream take an nsACString ref, 197166, r=darin, sr=mscott, make local msg body search cache open file stream, use nsIFile instead of nsFileSpec to cut down on seeks, improve performance, sr=mscott 240538 2004-04-22 15:32:54 +00:00
bienvenu%nventure.com
ea017a1019 fix regression in opening .eml files, and any other file extension whose content type is specified in windows registry, 240942, r/sr=bsbarsky 2004-04-19 18:19:56 +00:00
gerv%gerv.net
8b8dde7d95 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 22:01:16 +00:00
gerv%gerv.net
f7f3cb2736 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-17 16:52:41 +00:00
cbiesinger%web.de
19e7aa65ac backing out last patch for bug 240771 - causes crashes on mac. 2004-04-17 12:13:55 +00:00
bzbarsky%mit.edu
d0cb2170bb Fix crash on loading files with no extension. Followup to bug 235502, patch by
biesi, r+sr=darin
2004-04-17 04:45:25 +00:00
darin%meer.net
9ae1052a56 landing patch for bug 24867 "UI for FTP upload" r=biesi,neil sr=bryner 2004-04-17 00:58:23 +00:00
cbiesinger%web.de
f028ea412d bug 239604. make uriloader more doxygen friendly, and remove unused "command"
parameter from nsIContentHandler::handleContent, and change the type of
aWindowContext to nsIInterfaceRequestor.
r=bzbarsky sr=darin
2004-04-16 21:06:07 +00:00
cbiesinger%web.de
f0944a3ee7 arrg, more osx fixes 2004-04-15 22:08:21 +00:00
cbiesinger%web.de
91a4cf7af2 this time, a correct fix... 2004-04-15 21:58:51 +00:00
cbiesinger%web.de
0155a1bd28 more mac bustage... 2004-04-15 21:38:31 +00:00
cbiesinger%web.de
04be82342f fixing osx bustage 2004-04-15 21:32:11 +00:00
cbiesinger%web.de
14177dedcb Bug 235502 nsIMIMEService, nsIMIMEInfo should use nsACString/nsAString instead of string/wstring
r=bzbarsky sr=darin
2004-04-15 20:56:37 +00:00
cbiesinger%web.de
6ad20397bf Bug 235504 Remove nsCString::EqualsWithConversion(const char*)
r=darin sr=dbaron
2004-04-14 20:09:30 +00:00
cbiesinger%web.de
b8e807e85b fixing bug 235832 in a better way, by using dynamic_cast.
r=bzbarsky sr=darin
2004-04-13 19:40:08 +00:00
darin%meer.net
8da4a5e516 fixes bug 240053 "lock icon not updated properly on redirect of HTTPS request" r=biesi sr=bz a=dbaron 2004-04-10 20:03:03 +00:00
cbiesinger%web.de
6da5a56402 Bug 237947 Mozilla Freezes when handling filetypes with an entry in .mailcap that does not exist
o) also return from GetFileTokenForPath when the base class implementation failed
with NS_ERROR_FILE_NOT_FOUND.
o) Do not return NS_ERROR_FILE_NOT_FOUND from the
base class impl if the file path is both relative and does not exist in the
mozilla directory.
o) Make sure to break out of the loop in the unix GetFileTokenForPath even if
ApendRelativePath fails

r+sr=bzbarsky a=asa
2004-03-31 19:32:26 +00:00
bzbarsky%mit.edu
5351f884f1 Temporarily disable type-guessing for content-encoded text/plain content. Bug
233047, r=biesi, sr=darin, a=chofmann
2004-03-15 02:00:15 +00:00
cbiesinger%web.de
71ebf56bee 235695: nsMIMEInfoImpl needs only one constructor, and nsMIMEInfoBase can have a hidden ctor.
r=bzbarsky sr=darin
2004-03-09 16:42:34 +00:00
cbiesinger%web.de
a47fb3d238 fixing win32 bustage 2004-03-08 20:39:19 +00:00
cbiesinger%web.de
4ca8093ad9 229636 search for helper apps in mozilla directory before $PATH
r=bzbarsky sr=darin
2004-03-08 20:15:09 +00:00
cbiesinger%web.de
e88d56e95a ...and now, the correctly merged version, that even compiles 2004-03-06 19:43:40 +00:00
cbiesinger%web.de
d0fdabc0c9 Bug 124307, respect umask for downloaded files.
r=bzbarsky sr=darin
2004-03-06 19:37:22 +00:00
cbiesinger%web.de
f37da693e3 bug 235695, one constructor is enough for nsMIMEInfoBase and subclasses
r=bzbarsky sr=darin
2004-03-06 14:43:30 +00:00
cbiesinger%web.de
43561e082b bug 235201, return an error instead of crashing if we can't find an application for a mime type
patch by Christian Persch <chpe@gnome.org> r=biesi sr=bryner
2004-03-06 14:41:00 +00:00
timeless%mozdev.org
596c3622ff Bug 145994 Crash in urildr.dll from some embedding clients
patch by rpotts r=jst sr=alecf
2004-03-03 15:46:05 +00:00
mkaply%us.ibm.com
9e238cadea #235488
r=pedemont, sr=blizzard (platform specific code)
Special case http/https/ftp URLs so we send them to the OS if we don't launch them with the current app (makes URLs work in Thunderbird)
Modify helper app launcher code so it locates the EXE so we don't get a command window every time we launch an app
2004-03-02 17:29:03 +00:00
cbiesinger%web.de
d4e5220db0 bug 235832, dynamic_cast crashes. replace with static_cast.
r=bzbarsky sr=darin
2004-03-01 21:18:19 +00:00
cbiesinger%web.de
83ba2b8b73 next try: fixing mac bustage 2004-02-23 23:49:49 +00:00
cbiesinger%web.de
c5ee81540e fix mac bustage 2004-02-23 23:29:38 +00:00
cbiesinger%web.de
7ea034fb6b bug 78919, last part. r=bzbarsky sr=darin.
This adds a new method launchWithFile on nsIMIMEInfo which takes care of opening
the selected (preferred or default) application on the mime info with a
specified document. defaultDescription is now readonly, and defaultApplication
no longer available.
This also removes the clone method which was unused in the entire tree.
2004-02-23 22:49:28 +00:00
pinkerton%aol.net
719ba07a9f fix bad merging of code for 183848 when moving from camino 1.0 branch to trunk
(r=biesi, sr=sfraser)
2004-02-23 15:20:55 +00:00
bsmedberg%covad.net
814b876053 Bug 224829 - docshell should not require non-gecko interface nsIBrowserHistory. This was fixed by introducing a new interface nsIGlobalHistory2 to replace the current nsIGlobalHistory. There are two-way adapters so that the frozen interface still works. r=biesi sr=bz a=mscott for toolkit/ changes. 2004-02-11 02:10:04 +00:00
cbiesinger%web.de
d74e41dd81 Bug 233145 stop implementing nsIURIContentListener in nsExternalAppHandler
r=bzbarsky sr=darin
2004-02-07 19:52:16 +00:00
cbiesinger%web.de
6084008627 fixing bustage 2004-02-06 23:05:40 +00:00
cbiesinger%web.de
9382bd3029 Bug 233169 [windows] It's impossible to set helper applications for executables
r=bzbarsky sr=darin
2004-02-06 22:32:29 +00:00
cbiesinger%web.de
822a291d22 Bug 231886 Allow extensions to add extension->type mappings by adding an entry
in the "ext-to-type-mapping" category, where the name is the extension and the
value the mime type.
r=bzbarsky sr=darin
2004-02-06 18:43:27 +00:00
cbiesinger%web.de
255a2deda5 Bug 232784, verify that opening the file works, and show an error message if it doesn't
r=pinkerton sr=bzbarsky
2004-02-05 10:53:11 +00:00
bryner%brianryner.com
42adb9f1be More nsIPresContext deCOMtamination (bug 229371). Inline getters and setters for LinkHandler, VisibleArea, and Language; change some methods that don't return any useful data to |void|; make GetContainer return an already_AddRefed. r+sr=dbaron 2004-02-01 10:09:07 +00:00
cbiesinger%web.de
7b72a95123 bug 232219, memory leak in nsGNOMERegisty::GetFromType
patch by Christian Persch <chpe@gnome.org> r=darin sr=bryner
2004-01-29 22:20:44 +00:00
jst%mozilla.jstenback.com
90431d8022 Fixing bug 232503. Start using Empty[C]String() to save a bit on code-size. r+sr=peterv@propagandism.org 2004-01-29 22:04:45 +00:00
bsmedberg%covad.net
7d79d7ba8b Bug 232201 part 2 - update consumers to use inherited nsIPrefBranchInternal interface. This should be happy for codesize. r=alecf sr=darin 2004-01-28 23:45:17 +00:00
cbiesinger%web.de
be132f3456 Bug 152224
Leak in nsExternalAppHandler, due to reference cycle between the nsIDownload implementation,
the helper app service, and the helper app dialog.
now, the reference cycle with the helper app dialog is broken in Cancel/CreateProgressListener,
and the cycle with the nsIDownload will be broken in Cancel/CloseProgressWindow/OnStopRequest

r=bzbarsky sr=darin
2004-01-28 22:05:25 +00:00
cbiesinger%web.de
80b568ca68 Bug 232431
exthandler should not export as many headers
only export nsOSHelperAppService.h. this is needed because docshell depends on
it, and docshell's makefile does not know which OSHelperAppService it needs.

r=bzbarsky sr=darin
2004-01-28 21:59:10 +00:00
cbiesinger%web.de
19a2c89d03 trying to fix mac bustage 2004-01-28 15:08:46 +00:00
cbiesinger%web.de
242ffb7490 bug 78919, part 3: Move nsMIMEInfoImpl to exthandler, and don't allow to CreateInstance it
r=bzbarsky sr=darin
2004-01-28 14:48:22 +00:00
bzbarsky%mit.edu
0b241c5f1b Don't claim to have a GNOME registry handler if it's disabled. Bug 226576,
patch by chpe@gnome.org (Christian Persch), r=bryner, sr=bzbarsky
2004-01-21 04:52:10 +00:00
cbiesinger%web.de
741e690801 fix bustage 2004-01-17 13:41:23 +00:00
cbiesinger%web.de
73f0845c24 bug 55690 Spool file should be moved once the user picks a filename
r=bzbarsky sr=darin
2004-01-17 13:18:12 +00:00
cbiesinger%web.de
330498be5a 230970
nsExternalAppHandler needs no virtual functions
also, w/o bug: nsExternalHelperAppService doesn't require threadsafe addref/release
r=bzbarsky sr=darin
2004-01-16 18:22:55 +00:00
bzbarsky%mit.edu
6ccc20cdbe Work around misconfiguration in default Apache installs that makes it claim all
sorts of stuff as text/plain.  Bug 220807, r=biesi, sr=darin
2004-01-08 03:56:02 +00:00
cbiesinger%web.de
94dbdd84e4 bug 229785 also allow "Content-Disposition: name=foo" headers, in addition to filename=foo
r=bzbarsky sr=darin
2004-01-07 20:23:46 +00:00
cbiesinger%web.de
413b5f69f6 Bug 229969 Fix 'Warning: "/*" within comment'
patch by gautheri@noos.fr (Serge GAUTHERIE) r+sr=bzbarsky
2004-01-04 21:50:19 +00:00
cbiesinger%web.de
b9052b4d45 clarify comment a bit, no bug, r+sr=bzbarsky 2004-01-02 13:17:42 +00:00
cbiesinger%web.de
287e80bb2e bug 229684. application/octet-stream should not have "Binary Executable" as description
also fixes: If the OS has info for a type, but prefs contain neither info via type nor via
ext, we would get the mimeinfo from extras.
r+sr=bzbarsky
2003-12-30 10:45:12 +00:00
peter%propagandism.org
feda8614f8 Patch for bug 209699 (convert some consumers over to CopyUTF8toUTF16 / CopyUTF16toUTF8). r=jshin, sr=jst. 2003-12-23 16:48:40 +00:00
cbiesinger%web.de
2148700a5c Bug 227029 nsExternalAppHandler dynamically allocates buffer for no reason
r+sr=bzbarsky
2003-12-19 15:18:59 +00:00
cbiesinger%web.de
d6ad711ccb Bug #227711 wrong mime type shown when helper app entry present
fix this by always setting the real mime type on a mime info got from prefs.
r=bzbarsky sr=darin a=asa
2003-12-12 09:42:54 +00:00
cbiesinger%web.de
7559c5d60e 226919 SendStatusChange should check for NS_ERROR_FILE_TARGET_DOES_NOT_EXIST
This gives a useful error message if a helper app could not be found (for another error code)
r=bzbarsky sr=darin a=asa
2003-12-03 22:21:39 +00:00
dbaron%dbaron.org
8b9610f595 Include nscore.h instead of nsCom.h. b=226555 r=dougt sr=darin a=asa 2003-11-29 18:56:10 +00:00
justdave%syndicomm.com
e986880dd7 Bug 166369: Documents that require a helper app to view were not viewable if you chose your helper apps using an old CFM version of Mozilla. The old pathname format is now supported again (in addition to the new one).
r= mozeditor@floppymoose.com, sr= bz-vacation@mit.edu, a= asa@mozilla.org
2003-11-21 06:45:25 +00:00
darin%meer.net
18d8f4d786 fixes bug 226071 "xremote: openURL doesn't work well when multiple apps with different capabilities are present" r=bz,blizzard sr=bryner a=asa 2003-11-21 00:09:50 +00:00
cbiesinger%web.de
5e48527ac0 225995 crash in nsOSHelperAppService::GetValueString
(only occurs on win95/win98/winme)
fix this by not passing NULL to NS_LossyConvertUTF16toASCII

r=pike sr=bzbarsky
2003-11-17 21:40:10 +00:00
cbiesinger%web.de
66f6e13a40 225972 GetMIMEInfoForExtensionFromDS returns success even if nothing was found
also fixes: GetMIMEInfoForExtensionFromExtras does not set a mime type on the mime info

r+sr=bzbarsky; this addresses the problem that the information in extras is never used
2003-11-17 21:31:11 +00:00
cbiesinger%web.de
d167f8dd89 fixing mac bustage 2003-11-15 15:29:14 +00:00
cbiesinger%web.de
e92cc5ddfd 78919 part 2. always return a nsIMIMEInfo from the OS HelperAppServices, and don't
create MIMEInfos outside of them directly.
r=bzbarsky sr=darin
2003-11-15 15:01:39 +00:00
cbiesinger%web.de
8a34f5f01e found in 194439. use delete[] to free an array, not delete. r+sr=bzbarsky 2003-11-14 22:39:01 +00:00
cbiesinger%web.de
d099f19623 fixing likely crasher in previous checkin, thanks to bz for noticing it 2003-11-14 21:27:41 +00:00
cbiesinger%web.de
e89c721931 194439 nsOSHelperAppService on windows doesn't support non-ASCII default description.
fix this by using *W versions of registry functions when running on an nt-based windows.
r=ere sr=bzbarsky
2003-11-14 20:48:52 +00:00
cbiesinger%web.de
86a6cb09ce bug 223990. Should have a getPrimaryExtensionForType function
r=bzbarsky sr=darin
also changes nsIMIMEService functions to start with a lowercase letter (only affects JS Callers)
2003-11-13 23:00:55 +00:00
peter%propagandism.org
f9f591a28f Fix for bug 224231 (Need AppendASCIItoUTF16). r=jst, sr=dbaron. 2003-11-01 10:57:41 +00:00
bzbarsky%mit.edu
e65411d7fc Extension comparisons should be case-insensitive. Bug 223055, r=biesi, sr=darin 2003-10-30 02:20:23 +00:00
bzbarsky%mit.edu
e85e912e39 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
a634aa9436 Only call gnome_program_init() if it hasn't already been called (bug 221012). r=blizzard, not part of the default build. 2003-10-27 10:08:10 +00:00
bzbarsky%mit.edu
7adc775b7a Fix bug 164816. Patch by biesi, r=bzbarsky, sr=darin 2003-10-22 06:46:52 +00:00
bzbarsky%mit.edu
d595463f9b Report a useful error when encountering a CFM app path in a Mach-o build. Bug
166369, patch by biesi, r=bzbarsky, sr=sfaser.
2003-10-19 21:36:39 +00:00
bzbarsky%mit.edu
13fdf8a043 Return a more useful error code. Partial fix for bug 222501, r=biesi, sr=darin 2003-10-16 23:53:45 +00:00
bryner%brianryner.com
13b10ee36e Fix two problems with the GNOME helper app code:
- Bail out correctly if we failed to open a library
- Open the soname of the library (i.e. foo.so.0 instead of foo.so)

Bug 221217, r=blizzard, sr=darin.
2003-10-15 20:24:45 +00:00
bryner%brianryner.com
82db2f65e9 Assuming bz didn't mean to completely disable GNOME helper apps... 2003-10-12 09:19:15 +00:00
bzbarsky%mit.edu
2adc227764 Make sure we look at ~/.mailcap before going out to the GNOME settings. Bug
221042, r=biesi, sr=bryner
2003-10-10 16:18:16 +00:00
cbiesinger%web.de
e5077348df bug 220832. Make sure that we don't use the extension from the URL when the server sent a Content-Disposition header with a filename.
r=bzbarsky sr=darin
2003-10-10 13:43:15 +00:00
bzbarsky%mit.edu
9d0aeeab9d Forgot to make these changes per biesi's review. Bug 171025. 2003-10-09 06:28:49 +00:00
bzbarsky%mit.edu
9d4af46a60 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
cf0e81ce47 Gunzip things with content-encoding:gzip whose file extension is .zip when
saving or running helpers.  The idea here is to decompress unless the encoding
and extension match up.  If they do, then don't decompress.  Bug 152275,
r=biesi, sr=darin
2003-10-09 02:10:25 +00:00
bryner%brianryner.com
1a9547ca4e Add PNG to hardcoded extensions / mime type list (bug 221243). r=bzbarsky, sr=tor. 2003-10-06 18:48:17 +00:00
cbiesinger%web.de
6912c9da3a fix typo in comment. r+sr=bz 2003-10-04 18:14:51 +00:00
cbiesinger%web.de
78719c7388 220463 use more error codes in nsExternalAppHandler::SendStatusChange
r=bzbarsky sr=darin

We now show a useful dialog for NS_ERROR_OUT_OF_MEMORY, and we treat
NS_ERROR_FILE_UNRECOGNIZED_PATH like FILE_NOT_FOUND.
2003-10-03 20:56:52 +00:00
cbiesinger%web.de
d9a6156ef7 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
5eba154d79 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
5037b2a4a2 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
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