75 Commits

Author SHA1 Message Date
sdwilsh%shawnwilsher.com
5f1e8511af Bug 389969 - There is no protocol handling dialog. r=cbiesinger, sr=dmose, a=schrep
git-svn-id: svn://10.0.0.236/trunk@231202 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-30 23:33:17 +00:00
dmose%mozilla.org
e3ed12c932 nsExternalHelperAppService::ExternalProtocolHandlerExists (almost) always sets aHandlerExists to PR_TRUE, enabling gnomevfs protocols (bug 389632), patch by Karl Tomlinson <mozbugs@karlt.net>, r+sr=biesi,dmose; a=roc
git-svn-id: svn://10.0.0.236/trunk@231110 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-27 18:31:13 +00:00
cbiesinger%gmx.at
ae52d72a4b 389611 only treat protocol handlers as protocol handlers
r+sr=bz a=schrep


git-svn-id: svn://10.0.0.236/trunk@231089 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-27 00:53:09 +00:00
sdwilsh%shawnwilsher.com
9b36ce8382 Bug 385065 - protocol handling dialog. toolkit: r=mano; uriloader: r=cbiesinger, sr=dmose general: ui-r=beltzner
git-svn-id: svn://10.0.0.236/trunk@231019 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 04:24:31 +00:00
myk%mozilla.org
c604d64c24 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
git-svn-id: svn://10.0.0.236/trunk@230963 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-25 20:40:42 +00:00
dmose%mozilla.org
98eb2d9168 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.
git-svn-id: svn://10.0.0.236/trunk@230815 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-24 23:38:31 +00:00
myk%mozilla.org
d2059ea375 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
git-svn-id: svn://10.0.0.236/trunk@230806 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-24 20:29:52 +00:00
sdwilsh%shawnwilsher.com
a47c8fe37e Bug 388701 - nsExternalHelperAppService::GetProtocolHandlerInfo should get OS Specific implementation. r=cbiesinger, sr=dmose
git-svn-id: svn://10.0.0.236/trunk@230596 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-22 18:40:25 +00:00
dmose%mozilla.org
3dc245e9c4 Implement backend changes for web-based protocol handlers a la WhatWG HTML5 draft (bug 380415). r=cbiesinger@gmx.at, sr=jonas@sicking.cc
git-svn-id: svn://10.0.0.236/trunk@227015 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-25 15:17:45 +00:00
jshin%mailaps.org
12f38f5ea7 bug 359808 : drop support for Win 9x/ME (r/sr=darin)
git-svn-id: svn://10.0.0.236/trunk@215339 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-16 00:59:55 +00:00
dougt%meer.net
1036287070 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.
git-svn-id: svn://10.0.0.236/trunk@179816 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-07 19:21:02 +00:00
cbiesinger%web.de
548c1bf82f bug 283606 make nsOSHelperAppService::GetApplicationDescription get a
friendly description
r=darin sr=bz a=asa


git-svn-id: svn://10.0.0.236/trunk@177901 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-16 22:00:21 +00:00
dougt%meer.net
5ad50e9b43 * 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


git-svn-id: svn://10.0.0.236/trunk@174725 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-16 21:20:45 +00:00
jshin%mailaps.org
b489431c40 bug 295202: convert nsOSHelperApplication to use nsIWindowsRegKey (r=cbie, sr=darin, a=asa)
git-svn-id: svn://10.0.0.236/trunk@174518 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-13 18:57:10 +00:00
ben%bengoodger.com
90ccc02d3b 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


git-svn-id: svn://10.0.0.236/trunk@169837 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-25 09:02:14 +00:00
dougt%meer.net
f3751b7529 Fixes 280243. WinCE build support. Disabling helper application on WinCE. r=bryner.
git-svn-id: svn://10.0.0.236/trunk@168860 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-06 03:52:47 +00:00
dveditz%cruzio.com
afe1e85825 bug 263546: move external protocol warning down a level, r=jsr,sr=darin
git-svn-id: svn://10.0.0.236/trunk@164343 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-25 07:46:01 +00:00
cbiesinger%web.de
8eb2130d2a 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


git-svn-id: svn://10.0.0.236/trunk@163896 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-16 13:46:17 +00:00
cbiesinger%web.de
90817be5d5 Bug 80787 support non-ascii extensions in mime service, mime info, and
exthandler
r=bzbarsky sr=darin


git-svn-id: svn://10.0.0.236/trunk@160550 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-09 21:27:24 +00:00
cbiesinger%web.de
a57ea7b105 bug 235505 make nsIMIMEInfo::MIMEType readonly
r=bzbarsky sr=darin


git-svn-id: svn://10.0.0.236/trunk@157780 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-11 15:47:57 +00:00
bienvenu%nventure.com
b2143888a2 fix regression in opening .eml files, and any other file extension whose content type is specified in windows registry, 240942, r/sr=bsbarsky
git-svn-id: svn://10.0.0.236/trunk@155134 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-19 18:19:56 +00:00
gerv%gerv.net
8419e1650f Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155030 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-17 16:52:41 +00:00
cbiesinger%web.de
39f2b721ec Bug 235502 nsIMIMEService, nsIMIMEInfo should use nsACString/nsAString instead of string/wstring
r=bzbarsky sr=darin


git-svn-id: svn://10.0.0.236/trunk@154941 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-15 20:56:37 +00:00
cbiesinger%web.de
7071062876 229636 search for helper apps in mozilla directory before $PATH
r=bzbarsky sr=darin


git-svn-id: svn://10.0.0.236/trunk@153695 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-08 20:15:09 +00:00
cbiesinger%web.de
030baf0831 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.


git-svn-id: svn://10.0.0.236/trunk@153118 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-23 22:49:28 +00:00
cbiesinger%web.de
80f05f9dbd bug 78919, part 3: Move nsMIMEInfoImpl to exthandler, and don't allow to CreateInstance it
r=bzbarsky sr=darin


git-svn-id: svn://10.0.0.236/trunk@151954 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-28 14:48:22 +00:00
cbiesinger%web.de
a02662d04b 225995 crash in nsOSHelperAppService::GetValueString
(only occurs on win95/win98/winme)
fix this by not passing NULL to NS_LossyConvertUTF16toASCII

r=pike sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@149457 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-17 21:40:10 +00:00
cbiesinger%web.de
2513e3d54b 78919 part 2. always return a nsIMIMEInfo from the OS HelperAppServices, and don't
create MIMEInfos outside of them directly.
r=bzbarsky sr=darin


git-svn-id: svn://10.0.0.236/trunk@149357 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-15 15:01:39 +00:00
cbiesinger%web.de
c3d963390e found in 194439. use delete[] to free an array, not delete. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@149321 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-14 22:39:01 +00:00
cbiesinger%web.de
cd2d39ac40 fixing likely crasher in previous checkin, thanks to bz for noticing it
git-svn-id: svn://10.0.0.236/trunk@149318 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-14 21:27:41 +00:00
cbiesinger%web.de
309250facd 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


git-svn-id: svn://10.0.0.236/trunk@149314 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-14 20:48:52 +00:00
cls%seawood.org
5bef9a23ea 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


git-svn-id: svn://10.0.0.236/trunk@147027 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-18 17:22:33 +00:00
cbiesinger%web.de
368d58d7ed Bug 65827
File extension (.php) determined from Content-Type header (or url extension) overrides filename in Content-Disposition header.
r=bz sr=darin


git-svn-id: svn://10.0.0.236/trunk@146755 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-11 13:27:06 +00:00
timeless%mozdev.org
8ec6121537 Bug 217089 Compiler warnings
patch by mbockelkamp@web.de r=timeless sr=darin


git-svn-id: svn://10.0.0.236/trunk@146726 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-11 03:18:46 +00:00
bzbarsky%mit.edu
ae71ebbc34 Fix leaks of registry keys. Bug 213985, r=biesi, sr=darin
git-svn-id: svn://10.0.0.236/trunk@145330 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-29 14:51:58 +00:00
cbiesinger%web.de
ce0712ee0a 214173 r=bzbarsky sr=darin Crash in typeFromExtEquals
Hopefully also fixes 213985, hang when downloading .tar.gz files (on windows)


git-svn-id: svn://10.0.0.236/trunk@145279 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-28 20:46:32 +00:00
cbiesinger%web.de
72ffd605aa 147679 GetFromMIMEType on Windows only gets one extension and needs rethinking r=bzbarsky sr=darin
this merges nsIMIMEService::GetFromType and GetFromExtension


git-svn-id: svn://10.0.0.236/trunk@145198 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-25 16:48:00 +00:00
bzbarsky%mit.edu
20729b1b47 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.


git-svn-id: svn://10.0.0.236/trunk@136204 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-12 01:14:35 +00:00
dveditz%netscape.com
0f0277ea5c fix crash in ShellExecute() on some versions of windows (bug 161357) r=mstoltz,sr=darin
git-svn-id: svn://10.0.0.236/trunk@133117 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-06 05:20:40 +00:00
seawood%netscape.com
f9eb727003 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


git-svn-id: svn://10.0.0.236/trunk@132136 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-17 06:47:01 +00:00
bzbarsky%mit.edu
e62936a18e 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


git-svn-id: svn://10.0.0.236/trunk@125660 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-24 00:42:12 +00:00
darin%netscape.com
24feadaaed fixes bug 142870 "nsIFile should use UCS-2 instead of UTF-8"
r=dougt sr=alecf


git-svn-id: svn://10.0.0.236/trunk@121010 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 23:07:19 +00:00
darin%netscape.com
824def02af fixes bug 129279 "nsIFile unicode/utf8/ascii task"
r=dougt sr=alecf


git-svn-id: svn://10.0.0.236/trunk@120092 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 05:33:09 +00:00
law%netscape.com
b08cd22fee Bug 116938; make sure temp file has extension matching content type and block ::ShellExecute of executable files; r=bzbarsky, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@119650 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 00:09:52 +00:00
darin%netscape.com
04849998e1 fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa
git-svn-id: svn://10.0.0.236/trunk@115936 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 07:48:55 +00:00
alecf%netscape.com
f7ee18f044 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


git-svn-id: svn://10.0.0.236/trunk@113390 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-01 01:53:09 +00:00
mkaply%us.ibm.com
e91a3a7744 No bug - fix some tabs that were really bugging me
git-svn-id: svn://10.0.0.236/trunk@113352 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-31 20:31:59 +00:00
pete%alphanumerica.com
374763776d removing bad header.
--pete


git-svn-id: svn://10.0.0.236/trunk@109590 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 01:09:37 +00:00
pete%alphanumerica.com
2bad071cbe fix for win bustage
forgot nsIProcess header

--pete


git-svn-id: svn://10.0.0.236/trunk@109589 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 01:08:54 +00:00
pete%alphanumerica.com
14973255e8 b=112515, r=douft, sr=jst
remove spawn method from nsIFile.

/**
    Warning nsIFile API change
 */

--pete


git-svn-id: svn://10.0.0.236/trunk@109584 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 00:27:43 +00:00