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
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
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
(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
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
* 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
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
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
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
".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
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
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 :-)
git-svn-id: svn://10.0.0.236/trunk@98363 18797224-902f-48f8-a5cc-f745e15eee43
Convert the description of Registry type into proper unicode
/r=ftang, /sr=ben, /a=asa
git-svn-id: svn://10.0.0.236/trunk@97511 18797224-902f-48f8-a5cc-f745e15eee43
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
git-svn-id: svn://10.0.0.236/trunk@86441 18797224-902f-48f8-a5cc-f745e15eee43
I've decided to move that functionality over to nsILocaFile where it makes more sense.
git-svn-id: svn://10.0.0.236/trunk@85680 18797224-902f-48f8-a5cc-f745e15eee43