Commit Graph

72 Commits

Author SHA1 Message Date
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
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
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
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
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
dougt%meer.net
1a672bd37c Fixes 280243. WinCE build support. Disabling helper application on WinCE. r=bryner. 2005-02-06 03:52:47 +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
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
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
23938c8252 bug 235505 make nsIMIMEInfo::MIMEType readonly
r=bzbarsky sr=darin
2004-06-11 15:47:57 +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
f7f3cb2736 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-17 16:52:41 +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
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
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
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
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
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
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
cls%seawood.org
19d1d413c2 Fix misc build issues for mingw gcc 3.3.1:
* Link non-component libs using -Wl,-enable-runtime-psuedo-relocs to workaround auto-import issues
* the last element of an enum cannot end with a comma
* PRUint16 is not interchangable with PRUnichar nor WCHAR
* cannot take the address of or call ::main() from another c++ function
* Functions declared within |class foo {};| block do not need extra |foo::| qualification
* GCC no longer implements <varargs.h>. Use <stdarg.h> instead
Bug #217009 sr=dbaron
2003-09-18 17:22:33 +00:00
cbiesinger%web.de
7204f246e1 Bug 65827
File extension (.php) determined from Content-Type header (or url extension) overrides filename in Content-Disposition header.
r=bz sr=darin
2003-09-11 13:27:06 +00:00
timeless%mozdev.org
2501ca5548 Bug 217089 Compiler warnings
patch by mbockelkamp@web.de r=timeless sr=darin
2003-09-11 03:18:46 +00:00
bzbarsky%mit.edu
8e5c67dd92 Fix leaks of registry keys. Bug 213985, r=biesi, sr=darin 2003-07-29 14:51:58 +00:00
cbiesinger%web.de
5c1737a082 214173 r=bzbarsky sr=darin Crash in typeFromExtEquals
Hopefully also fixes 213985, hang when downloading .tar.gz files (on windows)
2003-07-28 20:46:32 +00:00
cbiesinger%web.de
bb37693039 147679 GetFromMIMEType on Windows only gets one extension and needs rethinking r=bzbarsky sr=darin
this merges nsIMIMEService::GetFromType and GetFromExtension
2003-07-25 16:48:00 +00:00
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
dveditz%netscape.com
41b541d033 fix crash in ShellExecute() on some versions of windows (bug 161357) r=mstoltz,sr=darin 2002-11-06 05:20:40 +00:00
seawood%netscape.com
57e08a3f3a Define WIN32_LEAN_AND_MEAN globally for win32 builds.
Thanks to Stephen Walker <walk84@yahoo.com> for the patch.
Bug #172898 r=cls a=asa
2002-10-17 06:47:01 +00:00
seawood%netscape.com
322da773fb Removing old nmake build makefiles. Bug #158528 r=pavlov 2002-08-10 07:55:43 +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
darin%netscape.com
6fd5862e6e fixes bug 142870 "nsIFile should use UCS-2 instead of UTF-8"
r=dougt sr=alecf
2002-05-07 23:07:19 +00:00
darin%netscape.com
e554d83626 fixes bug 129279 "nsIFile unicode/utf8/ascii task"
r=dougt sr=alecf
2002-04-27 05:33:09 +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
darin%netscape.com
f1a6738b6c fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa 2002-03-06 07:48:55 +00:00
alecf%netscape.com
5483b6f627 one more part of fix for bug 107575, including the much coveted whitespace
remove aIgnoreCase parameter from all nsString and nsCString consumers
sr=jag, r=shaver
2002-02-01 01:53:09 +00:00
mkaply%us.ibm.com
0423200d57 No bug - fix some tabs that were really bugging me 2002-01-31 20:32:00 +00:00
pete%alphanumerica.com
4fec5ba34f removing bad header.
--pete
2001-12-04 01:09:37 +00:00
pete%alphanumerica.com
4f98d02af3 fix for win bustage
forgot nsIProcess header

--pete
2001-12-04 01:08:54 +00:00
pete%alphanumerica.com
85d0b5722c b=112515, r=douft, sr=jst
remove spawn method from nsIFile.

/**
    Warning nsIFile API change
 */

--pete
2001-12-04 00:27:43 +00:00
seawood%netscape.com
7733357d51 Rename 'install' build phase to 'libs'.
Bug #56601 r=pavlov
2001-11-21 09:49:41 +00:00
jaggernaut%netscape.com
2546ff75ba Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc 2001-11-01 09:09:57 +00:00
jaggernaut%netscape.com
d1a7bfa843 One module per line for REQUIRES. r=/sr=alecf 2001-09-18 22:01:13 +00:00
alecf%netscape.com
1e0e7dd033 Add REQUIRES to many modules for win32 support, bug 98372 r=cls 2001-09-12 20:32:40 +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
yokoyama%netscape.com
5dc0371152 Bug 79516;
Convert the description of Registry type into proper unicode
/r=ftang, /sr=ben, /a=asa
2001-06-20 00:57:52 +00:00
law%netscape.com
97899482af Bug 82584; don't clear 'always ask me' flag based on Win32 registry setting; this will require the user to see the helper app dialog for confirmation to open at least one time and to specify that confirmation is not necessary directly to Mozilla; r=sgehani/sr=mscott/a=asa 2001-06-18 00:24:20 +00:00