Граф коммитов

184 Коммитов

Автор SHA1 Сообщение Дата
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
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
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
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
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
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
jaggernaut%netscape.com 83c571e877 Bug 25886: Get rid of a bunch of unused NS_DEFINE_IID, NS_DEFINE_CID. r=caillon, sr=dbaron 2003-07-20 07:47:59 +00:00
sfraser%netscape.com 70407c0aee Fix bug 183848: if Internet Config fails to give us info about the app used to launch a file, ask Launch Services directly. Patch by sdagley, r=ccarlen, sr=sfraser. 2003-04-22 04:16:49 +00:00
bzbarsky%mit.edu 845bc3e721 nsInternetConfigService needs to set the default app/description rather than
the "preferred" one.  Bug 189094, r=pkw@us.ibm.com, sr=sfraser
2003-01-14 22:29:48 +00:00
bzbarsky%mit.edu c2c1454b02 Fix mac bustage... 2003-01-12 02:22:23 +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
dbaron%dbaron.org b9083989bb Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2003-01-08 23:19:20 +00:00
sdagley%netscape.com 4eab84537c Fix #179592 - wrong IC constant mapping. r=ccarlen,rs=sfraser 2002-12-03 21:00:45 +00:00
syd%netscape.com 2946606f52 Fix case for Mach o UFS builds. http://bugzilla.mozilla.org/show_bug.cgi?id=182425, r=seawood, sr=fraser 2002-12-02 15:39:04 +00:00
darin%netscape.com 106b80519b remove dead mime code, b=172963 r=dougt sr=alecf 2002-11-24 03:31:47 +00:00
sdagley%netscape.com 7d06b13bcd Oops, Jaguar == Mac OS X 10.2, not OS X 12.0. No bug, just brain fade. rs=sfraser 2002-10-02 01:46:37 +00:00
sdagley%netscape.com a50ca5627d Re-landing #169667 - use LaunchServices APIs instead of InternetConfig APIs when appropriate (fixed mach-o and Mac Classic build issues from 1st landing try). r=ccarlen,sr=sfraser 2002-10-01 05:27:15 +00:00
sdagley%netscape.com afb40734b1 Landing #152231 on trunk mach-o build - move nsInternetConfig into uriloader. Original patch by ccarlen, r=sdagley, sr=darin 2002-10-01 01:00:09 +00:00
darin%netscape.com 6cddc87b2e backing out sdagley's patch for bug 169667 to clear up mac build bustage. 2002-09-27 04:35:33 +00:00
sdagley%netscape.com 64420945dd Landing #169667 - Clean up InternetConfigService and use LaunchServices APIs where appropriate. r=ccarlen,sr=sfraser 2002-09-26 23:38:08 +00:00
dougt%netscape.com 68faeb5241 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2002-09-07 17:13:19 +00:00
cathleen%netscape.com 64856eb68b clean up last traces of nsCRT::strlen(char* s), bug 124536 r=dp, sr=brendan 2002-06-04 23:05:39 +00:00
dougt%netscape.com c683a217ab Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756 2002-05-15 18:55:21 +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
sdagley%netscape.com 86136e0bf0 Fix #116079 - if a file with no extension is dragged to Mozilla and it has a file type of 'TEXT' treat it as text/plain rather than application/octet-stream. r=bryner, sr=hyatt 2002-04-29 07:01:44 +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
darin%netscape.com 281c86ec58 b=99165 Freeze nsIInputStream nsIOutputStream (not yet frozen... but close)
r=dougt sr=shaver a=asa
2002-03-12 00:59:06 +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
timeless%mac.com 3a7b20b848 Bug 124895 Improper definition of NS_PROMPTSERVICE_CID
r=danm sr=alecf
2002-02-12 03:32:14 +00:00
bzbarsky%mit.edu aa018e0dfe 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
2002-02-06 03:35:31 +00:00
cathleen%netscape.com 8605704b12 eliminate nsCRT::zero() to use memset to zero instead, bug 118135, r=dp sr=waterson 2002-01-30 02:55:57 +00:00
cathleen%netscape.com 92d4fbf218 converted 271 references to nsCRT::memcpy to memcpy, bug 118135 r=dp 2002-01-12 03:18:55 +00:00
pinkerton%netscape.com 350e79a7ab Change unsigned char* param to ConstStr255Param to make mach-o happier
r=sdagley/sr=blake. bug 118197.
2002-01-07 15:44:08 +00:00
ccarlen%netscape.com 525230cf76 Bug 100828 - nsLocalFileMac reworking. r=rjc@netscape.com/sr=sfraser@netscape.com 2002-01-07 14:35:04 +00:00
ducarroz%netscape.com 6f175430bb Fix for bug 111305. Check for null ptr before using it. Don't truncate and initialize a nsString with a length of -1, that cause the whole app to freeze. R=damn, SR=mscott, A=asa 2001-12-14 01:18:16 +00:00
ccarlen%netscape.com c343dad63a Adding new files for conversion to CW7 and XML project files. Bug 98349 r=pink/sr=sfraser. 2001-12-10 21:58:15 +00:00
jaggernaut%netscape.com 9bcc72064d Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc 2001-11-02 06:39:49 +00:00
sdagley%netscape.com d3f5cce299 Updating fix for #103612 from v1.14 after comments from pinkerton & sfraser. r=pinkerton,sr=sfraser 2001-10-08 20:20:57 +00:00
sdagley%netscape.com 502f98a507 Fix #103612 - work around bug in Mac OS X 10.1 Internet prefs panel when setting DL folder. r=dbaron. I'd wait for an sr= but I need trunk verification on this so I can get PDT approval for checking into the 0.9.4 branch. 2001-10-08 04:59:59 +00:00
jaggernaut%netscape.com ca6197295f 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 2001-09-29 08:28:41 +00:00
gerv%gerv.net 4e12e44b2f Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
pchen%netscape.com df074c3f00 bug 91726, r=pinkerton, sr=sfraser, under carbon, Internet Config seems to return mappings with a null mime type string, if we see a null mime type string, set mime type in nsMimeInfo to octet-stream 2001-08-22 00:19:08 +00:00
dbaron%fas.harvard.edu aa4fec2b67 Header include dependency cleanup. b=64023 r=jag rs=brendan 2001-07-16 02:40:48 +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
pchen%netscape.com 446c2fe869 bug 79837, r=pinkerton, sr=alecf, a=asa, don't disable mime matching for Internet Config mappings if we didn't get passed in a file extension 2001-06-13 22:31:08 +00:00
ducarroz%netscape.com 3ddf96bad8 Fix for bug 84054. Appledouble files weren't correctly detected and AppleSingle weren't correctly generated if they don't have a datafork. R=varada, SR=bienvenu, A=chofmann 2001-06-05 04:50:10 +00:00
valeski%netscape.com 43115132fb fixing build bustage 2001-04-27 22:35:13 +00:00
pchen%netscape.com 1624c3a8ac bug 49758, r=alecf, sr=sfraser, implement hasProtocolHandler method which calls Internet Config to look for protocol handler. Returns NS_ERROR_NOT_AVAILABLE if the app signature of the protocol handler is the same as the running application utilizing this code 2001-04-16 20:16:51 +00:00
pchen%netscape.com bb513f39f4 bug 49758, r=alecf, sr=sfraser, implement nsOSHelperAppService::ExternalProtocolHandlerExists() and implement nsOSHelperAppService::LoadURL() for mac 2001-04-16 20:16:41 +00:00
mscott%netscape.com 8a34b6891b Bug #74783 --> don't read the mac file creator and type values from our hard coded table of content types. Always use the values from internet config. r=sspitzer sr=sfraser 2001-04-13 00:44:55 +00:00
mscott%netscape.com d43ed03fe4 Bug #74783 --> never get the mac creator and file type from our hard coded list of content types. Always get them from internet config. Mac only change. r=sspitzer sr=sfraser 2001-04-13 00:43:52 +00:00
ducarroz%netscape.com 8b1622ee10 Fix for bug 70222. Add an API to retreive file mapping flags. R=varada, SR=bienvenu 2001-04-03 21:08:51 +00:00
brade%netscape.com 64c93b9006 part of fix for bug #19329 (more internet config apis); r=pchen; sr=sfraser 2001-03-28 13:56:19 +00:00
disttsc%bart.nl 277181c660 Preparation of removing nsCString::GetBuffer. Landing everything but the actual commenting out of nsCString::GetBuffer. bug=64016, r=timeless, sr=scc 2001-03-02 09:26:57 +00:00
pinkerton%netscape.com d465909997 carbon changes. r=pink/sdagley/beard. a=sfraser. 2001-02-13 21:48:26 +00:00
ducarroz%netscape.com ee26174ac1 Part of fix for bug 45225. I forget to rename the class nsAppleFileDecoder before the initial checkin. SR=mscott 2001-02-07 06:44:07 +00:00
ducarroz%netscape.com ed8387535f First Checked In. 2001-02-07 04:09:11 +00:00
mscott%netscape.com 4db17fe50b 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
2001-02-07 02:43:18 +00:00
pchen%netscape.com 5cd2c54979 Fix #62939. r=pinkerton, sr=sfraser. Return error when no match in IC database. Fixes DL of QT5 beta from apple.com (where they had a warning not to use Netscape 6) 2001-01-05 00:44:16 +00:00
mscott%netscape.com c054dd3653 Bug #51018, 44176, 47203 implement load group retargeting and stand alone progress window
after we show the helper app dialog. So progress and load information is
now retargeted to a stand alone window instead of re-using the underlying
 browser / mail window...In order to do this, the external app handler needed to implement nsIURIContentListener.
sr=r=rpotts
2000-10-04 06:54:47 +00:00
mscott%netscape.com 5ea7a20158 Bug #43556 --> merging nsIMIMEService and making it use OS specific information. r=valeski 2000-09-15 06:06:58 +00:00
mscott%netscape.com c5bc949f1a Bug #43556 --> merging nsIMIMEService and making it use OS specific information. r=pchen 2000-09-15 06:06:19 +00:00
rayw%netscape.com 0257791053 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren
2000-09-13 23:57:52 +00:00
mscott%netscape.com fe1d0067c7 Bug #43556 --> Implement nsIMIMEService. For now, forward the calls to the old implementation in necko.
r=valeski
2000-09-08 00:12:51 +00:00
pchen%netscape.com 3c68a44dbd First Checked In. 2000-09-06 21:14:03 +00:00
pchen%netscape.com c87dfa9f17 bug #43585, r=sfraser, protect header from multiple inclusions 2000-09-06 21:13:35 +00:00
pchen%netscape.com 1e34b773a1 bug #43585, r=sfraser, call new nsIInternetConfigService to help with helper app stuff 2000-09-06 21:12:53 +00:00
sfraser%netscape.com 4278e441aa Fix bugs 51368 and 51372 -- use InternetConfig.h from Universal Headers, renaming the IC SDK folder so that CodeWarrior does not search within it. r=pchen 2000-09-06 00:09:04 +00:00
mscott%netscape.com 677c8d5d17 Bug #43583 --> re-organizing how we launch helper apps to work with the helper app dialog.
r=alecf
2000-07-07 01:48:17 +00:00
sspitzer%netscape.com 8df8079fbe get launching of external apps working on the mac. also, on the mac only, dump the temp file to the desktop. r=mscott #38374. 2000-06-23 04:43:13 +00:00
sspitzer%netscape.com 81ec9d522b fix for #43548, and possibly #43392. if internet config tells us the string is of zero length, set the out string to null. r=mscott 2000-06-23 01:08:53 +00:00
mscott%netscape.com b019baf1e8 not part of the build!!! fixes to get this building on the mac. 2000-06-22 06:04:06 +00:00
mscott%netscape.com 2332c14303 Bug #38374 --> more updates for external helper application support. (NOT PART OF THE BUILD)
code review will come when this is done and gets turned on.

oops i reall don't want this file...take it back.
2000-06-22 05:06:02 +00:00
mscott%netscape.com 881aa9e5e1 Bug #38374 --> more updates for external helper application support. (NOT PART OF THE BUILD)
code review will come when this is done and gets turned on.

add manifest file for the mac
2000-06-22 04:59:45 +00:00
mscott%netscape.com ad5c9fe08a Bug #38374 --> more updates for external helper application support. (NOT PART OF THE BUILD)
code review will come when this is done and gets turned on.

More mac file updates.
2000-06-22 04:41:36 +00:00
beard%netscape.com 1c926d81a2 bug #42100, Carbon compatibility. r=gordon, saari, pinkerton, sfraser 2000-06-20 23:10:06 +00:00
mscott%netscape.com 164e9d6254 Bug #30157 --> add the ability to launch urls using OS default protocol handlers. (NOT PART OF THE BUILD)
code review will come when this is done and gets turned on.

part of the mac internet config stuff.
2000-06-18 22:48:43 +00:00
mscott%netscape.com f623c5b424 Bug #38374 --> more updates for external helper application support. (NOT PART OF THE BUILD)
code review will come when this is done and gets turned on.

Mac specific implementation of the helper app service. Note: this is incomplete...I have added FIX ME comments
in all the places where we need Mac specific information for interacting with internet config.
2000-06-18 19:54:37 +00:00
davidm%netscape.com 055406bb9b First Checked In. 2000-05-03 02:51:51 +00:00