36 Commits

Author SHA1 Message Date
bienvenu%nventure.com
c12e53e60e 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
git-svn-id: svn://10.0.0.236/trunk@155334 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-22 15:32:54 +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
mkaply%us.ibm.com
92f11fc58f #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


git-svn-id: svn://10.0.0.236/trunk@153432 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-02 17:29:03 +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
dc78a54d13 Bug 229969 Fix 'Warning: "/*" within comment'
patch by gautheri@noos.fr (Serge GAUTHERIE) r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@150873 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-04 21:50:19 +00:00
peter%propagandism.org
7f400f66de Patch for bug 209699 (convert some consumers over to CopyUTF8toUTF16 / CopyUTF16toUTF8). r=jshin, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@150686 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-23 16:48:40 +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
peter%propagandism.org
e6ae01a399 Fix for bug 224231 (Need AppendASCIItoUTF16). r=jst, sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@148687 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-01 10:57:41 +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
jaggernaut%netscape.com
36ab3d76a9 Bug 212272: Switch some Substring users over to String(Begins|Ends)With. r=dwitte, sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@144817 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-14 07:37:39 +00:00
mkaply%us.ibm.com
7d80566331 #202813
r=pedemont, sr=blizzard (platform specific)
OS/2 only - if the helper app is Win16 or DOS, rename the temp file to 8.3 (and add it to the delete list)


git-svn-id: svn://10.0.0.236/trunk@141593 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-22 14:20:36 +00:00
mkaply%us.ibm.com
01b9077a10 #1999322
r=me, sr=blizzard (platform specific), a=dbaron
OS/2 only - regression - loading helper files with spaces doesn't work


git-svn-id: svn://10.0.0.236/trunk@140371 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-27 01:45:42 +00:00
mkaply%us.ibm.com
0387d245ea #188249
r=cls, sr=bz
Start landing GCC support for OS/2 - mainly cleanup to start


git-svn-id: svn://10.0.0.236/trunk@139971 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-21 21:16:45 +00:00
mkaply%us.ibm.com
542c9bb61e New OS/2 code to match everyone else - pretty much the same as Unix
git-svn-id: svn://10.0.0.236/trunk@136206 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-12 04:19:02 +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
mkaply%us.ibm.com
1c815eabaf #168221
r=pedemont, sr=blizzard
OS/2 only - quote filenames in helpers


git-svn-id: svn://10.0.0.236/trunk@129823 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-17 21:10:30 +00:00
mkaply%us.ibm.com
529090b2b1 #141528
r=bzbarsky, sr=blizzard, a=chofmann
OS/2 only - new helper app code - more like unix - new protoocl handler code


git-svn-id: svn://10.0.0.236/trunk@121634 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 14:32:19 +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
1579c79f52 fixing OS/2 bustage
git-svn-id: svn://10.0.0.236/trunk@120104 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 08:29:19 +00:00
darin%netscape.com
0a6f86bc0a hopefully fixes OS/2 bustage
git-svn-id: svn://10.0.0.236/trunk@115945 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 09:42:39 +00:00
bzbarsky%mit.edu
c33a4dabe3 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


git-svn-id: svn://10.0.0.236/trunk@113742 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 03:35:31 +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
bzbarsky%mit.edu
67d58a4b94 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.


git-svn-id: svn://10.0.0.236/trunk@112298 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-16 04:28:06 +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
dbaron%fas.harvard.edu
cbbd6fb539 Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=jag, rs=scc
git-svn-id: svn://10.0.0.236/trunk@107868 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-11 01:57:33 +00:00
jaggernaut%netscape.com
51e0dc7a6c 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
git-svn-id: svn://10.0.0.236/trunk@104212 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 08:28:41 +00:00
jaggernaut%netscape.com
51b17b5bf0 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 :-)


git-svn-id: svn://10.0.0.236/trunk@98363 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-30 11:02:25 +00:00
mscott%netscape.com
336f3c5ff8 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


git-svn-id: svn://10.0.0.236/trunk@86441 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 02:43:18 +00:00
mkaply%us.ibm.com
0a4cf90939 r=mkaply, a=blizzard
Bring OS/2 helpers up to current level


git-svn-id: svn://10.0.0.236/trunk@84950 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-16 00:09:58 +00:00
rayw%netscape.com
d9228441a4 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren


git-svn-id: svn://10.0.0.236/trunk@79036 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 23:57:52 +00:00
mscott%netscape.com
25f11245c2 Bug #43556 --> Implement nsIMIMEService. For now, forward the calls to the old implementation in necko.
r=valeski


git-svn-id: svn://10.0.0.236/trunk@78448 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 00:12:51 +00:00
mkaply%us.ibm.com
557dfac3c1 r=mkaply, a=brendan
Tinderbox break - need os2 changes for uriloader - I am just taking the UNIX for now - hope it builds


git-svn-id: svn://10.0.0.236/trunk@73817 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-07 14:14:32 +00:00
mkaply%us.ibm.com
ae0e56406c # 40177
r = mkaply, a = brendan
OS/2 bring-up - Versions of these files for OS/2


git-svn-id: svn://10.0.0.236/trunk@73201 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-25 22:42:16 +00:00