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

249 Коммитов

Автор SHA1 Сообщение Дата
dougt%netscape.com 69415757ab Revising nsIChannel to allow for overlapped i/o. This consists of three parts:
1. Factoring nsIChannel into a protocol specific part, the nsIChannel, and a socket specific, the nsITransport.
2. Derive the nsIChannel from a nsIRequest.
2. Changes the notification system from necko and the URILoader to pass the nsIRequest interface instead of nsIChannel interface.

This goal stems from wanting to be able to have active AsyncRead and AsyncWrite operations on nsSocketTransport.
This is desired because it would greatly simplify the task of maintaining persistent/reusable socket connections
for FTP, HTTP, and Imap (and potentially other protocols).  The problem with the existing nsIChannel interface is
that it does not allow one to selectively suspend just one of the read or write operations while keeping the other active.

The full details of the change on written up in the netlib newsgroup.

r=darin@netscape.com
sr=rpotts@netscape.com
2001-02-10 00:16:26 +00:00
ducarroz%netscape.com c5819ac0aa 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
mscott%netscape.com fa94170c0b Bug #63193 --> the external protocol handler should only return a url or a new channel if we really do
have an external app that can handle the url. otherwise return NS_ERROR_UNKNOWN_PROTOCOL so we'll throw up an alert
dialog later on.
sr=sspizter
2001-02-07 05:24:27 +00:00
ducarroz%netscape.com 54d74aed2d Part of fix for bug 45225. Need to move part of appledouble decoder to uriLoader. SR=mscott 2001-02-07 04:10:41 +00:00
ducarroz%netscape.com ad8f613391 First Checked In. 2001-02-07 04:09:11 +00:00
mscott%netscape.com c74b0d1a66 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
mscott%netscape.com 4160e60191 bug #63193 --> add nsExternalProtocolHandler to the unix build 2001-02-07 02:03:55 +00:00
mscott%netscape.com 2edc9a282c Bug #63193 --> add classid for external protocol handler
sr=rpotts
2001-02-07 02:00:09 +00:00
mscott%netscape.com b0ae86ab52 add new extprotocolhandler file to the windows build 2001-02-07 01:58:58 +00:00
mscott%netscape.com 7a3ab1efac Bug #63193 --> add these two new files for a default protocol handler which will kick urls out to the OS
sr=rpotts
2001-02-07 01:21:58 +00:00
mkaply%us.ibm.com 2e64e67d69 OK, seriously, we fixed the TB to handle this now 2001-02-01 18:32:15 +00:00
mkaply%us.ibm.com 1392cdc55c OK, I give up. We even tested this on the TB itself. Why doesn't it work? 2001-01-29 23:34:21 +00:00
mscott%netscape.com 1d803651ba Back out changes I added for implementing a launch and reveal method on nsIExternalProtocolService.
I've decided to move that functionality over to nsILocaFile where it makes more sense.
2001-01-29 21:35:12 +00:00
mkaply%us.ibm.com 7071302f04 #65880
r=cls
Taking this back out - it was a TB problem
2001-01-29 20:49:35 +00:00
mkaply%us.ibm.com 4c2ec4df00 Stupid OS/2 VPATH problems breaking Os/2 build 2001-01-27 19:24:27 +00:00
mkaply%us.ibm.com 32b73e9541 #65880
r=cls
Enable OBJDIR builds for OS/2
2001-01-27 15:36:41 +00:00
mscott%netscape.com 588e5d379b back out a piece of code that was not meant to be checked in and was not reviewed. 2001-01-25 07:00:06 +00:00
mscott%netscape.com bdfc6074c3 Bug #63346 --> implement open and open folder APIs for windows
sr=sspitzer
2001-01-25 06:48:47 +00:00
mscott%netscape.com 273eddd503 Bug #66323 --> always show the progress dialog even if
we are already done with the download. Break apart
SaveTodisk and LaunchWithTempFile into to separate
methods. never try to really open or save to disk
until we are sure we've brought up the progress window.

Bug #61947 --> pass in the initial time when we started the download via getDownloadInfo so
the progress dialog can use this information.

sr=sspitzer
2001-01-25 06:48:16 +00:00
mscott%netscape.com 5fdf0c5bfc Bug #63346 --> add open and open folder APIs for the OS.
Bug #61947 --> pass in the initial time
when we started the download via getDownloadInfo so
the progress dialog can use this information.
2001-01-25 06:47:12 +00:00
mscott%netscape.com dc2cd2cffd clean up some rv error code handling
sr=sspitzer
2001-01-23 22:35:54 +00:00
mscott%netscape.com 70fa6774d2 Bug #65515 --> if we can't create a mime info from the registry, then create a new
entry for this mime type.
Bug #57364 --> look up content type to file extension mappings using the windows mime registry.
Bug #65872 --> if we get a content type of unknown or octet, try to ignore that content type
and extract the extension from the url and looking that up to see if we can get a better
content type.
sr=sspitzer
2001-01-19 07:43:26 +00:00
mkaply%us.ibm.com 41dee6a5f5 r=mkaply, a=blizzard
Bring OS/2 helpers up to current level
2001-01-16 00:09:58 +00:00
pchen%netscape.com c861979159 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 c1b0bb80c9 Bug 57347 --> add a null ptr check to prevent a crash.
patch contributed by waterson
r=brendan
sr=mscott
2000-12-18 21:46:35 +00:00
mscott%netscape.com 8fec37d6f4 Bug #60069 --> checking this patch in for Sergey Lunegov (lsv@sparc.spb.su)
make sure the mime action is initialized with the right action.
sr=mscott
2000-11-22 19:48:49 +00:00
cls%seawood.org 8bd122b3d5 Resurrect REQUIRES so that we have some sort of means to track intermodule dependencies. Bug #59454 r=blizzard@mozilla.org 2000-11-20 07:16:06 +00:00
mscott%netscape.com dc8472a2ea Bug #58774 --> salt the temp file name we generate when downloading external content
r=sspitzer,
sr=alecf
2000-11-02 01:27:12 +00:00
mscott%netscape.com 7db4db62e3 Bug #56938 --> get the document channel from the docloader
and force any Refresh urls back through the original window
context that initiated the helper app download. This solves
the problem where the user clicks on a link to download
content (either to disk or to a helper app) and that document
contains both a redirect for the actual content and a REFRESH
header which is used to point at a page the content provider
wants to see after the download is complete.

sr=rpotts, r=sspizter
2000-11-01 08:06:19 +00:00
warren%netscape.com 4189314fdb Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc. 2000-10-28 22:17:53 +00:00
warren%netscape.com 4e1ac5ce9d Removed extra 0 arg 2000-10-27 23:21:30 +00:00
warren%netscape.com 6e35f97e31 Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson 2000-10-27 22:43:51 +00:00
mscott%netscape.com 17ebf73108 Bug #57207 --> When we bring up the progress dialog, if we've already received a on stop request,
then go ahead and make the progress dialog go away again. r=sspitzer, sr=alecf
2000-10-24 22:18:56 +00:00
mscott%netscape.com 4cbc13be6b Bug #35956, 57619 --> be sure to disable auto conversion if we are handling the content
via an external app. sr=rpotts, r=gagan
2000-10-23 04:31:07 +00:00
mscott%netscape.com 0effc12573 Bug #55628 --> MoveTo won't delete the file if it already exists. When moving the temp
file to the user specified location, delete the specified location if it currently exists.
r=sspitzer, sr=alecf
2000-10-10 05:20:09 +00:00
mscott%netscape.com c3d1154218 Bug #54009 --> fix crash when literal is null. This can happen because of
some bad debugging code that was left in mimetypes.rdf for pdf back in beta2
for now, return an error. This will make use ignore this entry in the data source
when performing mime lookups....which is good 'cause that will have a side
effect of making application/pdf content work again.
r=sspitzer, a=alecf
2000-10-06 00:58:05 +00:00
mscott%netscape.com f052842093 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
valeski%netscape.com 152e6f96ad whoops, that's supposed to be a 32bit int 2000-09-27 20:25:15 +00:00
valeski%netscape.com aa32088cec r=brendan,a=brendan. 54127. This change cleans up a leak when we run out of memory, and reduces allocation of the file extension buffer by 2x. it also dumps the count to a local variable to do away w/ memory ambiguity using a pointer to elementCount 2000-09-27 19:50:59 +00:00
mkaply%us.ibm.com 78e3c55173 OS/2 VACPP Tinderbox bustage
Need cast for VisualAge. Don't ask me why.
2000-09-15 14:46:01 +00:00
mscott%netscape.com f7cee768a0 Bug #43556 --> forgot to migrate over the default VMS file extensions from the old mime service
r=sspitzer
2000-09-15 06:28:44 +00:00
mscott%netscape.com b9be33fc54 Bug #43556 --> implement nsIMIMEService using the windows registry to look
up information about content we don't know about.
2000-09-15 06:08:11 +00:00
mscott%netscape.com d6f8b10a4f Bug #43556 --> implement nsIMIMEService
honor the http content disposition header if present.
r=valeski
2000-09-15 06:07:58 +00:00
mscott%netscape.com 4744cb1ded Bug #43556 --> merging nsIMIMEService and making it use OS specific information. r=valeski 2000-09-15 06:06:58 +00:00
mscott%netscape.com 8be23a0597 Bug #43556 --> merging nsIMIMEService and making it use OS specific information. r=pchen 2000-09-15 06:06:19 +00:00
rayw%netscape.com 6cc70ebd6c 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
scc%mozilla.org aad057da72 if you want a character pointer, you're going to have to |.get()| it 2000-09-13 07:55:09 +00:00
mscott%netscape.com 199d3b2276 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
mscott%netscape.com 17328f1b71 Bug #47799 --> push prompt for file name over to ucth handler code so we don't bring
UI up from the uriloader. This allows us to properly use a string bundle
 for text in the dialog. this is prep work for the real fix for this bug.
r=law
2000-09-06 22:21:06 +00:00
pchen%netscape.com fe14eae1b1 First Checked In. 2000-09-06 21:14:03 +00:00
pchen%netscape.com bd8427342c bug #43585, r=sfraser, protect header from multiple inclusions 2000-09-06 21:13:35 +00:00
pchen%netscape.com f57fd9a67f bug #43585, r=sfraser, call new nsIInternetConfigService to help with helper app stuff 2000-09-06 21:12:53 +00:00
pchen%netscape.com 69462f77bc bug #43585, r=sfraser, set mac file type and creator in SetupTempFile() and also use new NS_MAC_DEFAULT_DOWNLOAD_DIR as opposed to desktop dir 2000-09-06 21:12:11 +00:00
sfraser%netscape.com e12ee16abf 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 a7bcf386d5 conrad's directory service change broke helper app support 'cause we don't find the mimetypes.rdf file anymore.
minor tweak to fix that
r=sspitzer
2000-09-01 05:58:42 +00:00
ccarlen%netscape.com 2682a4eb1a Convert use of nsIFileLocator to nsIDirectoryService r=mscott 2000-08-22 00:53:37 +00:00
scc%mozilla.org a74bc9539d fixing code that relied on implicit string construction 2000-08-20 06:59:07 +00:00
scc%mozilla.org 9df83275c6 fixing code that relied on implicit string construction 2000-08-19 20:01:04 +00:00
conrad%ingress.com 008b9ba5fb Changed from using strings for nsIDirectoryService props to using macro names defined in nsDirectoryServiceDefs.h r=valeski 2000-08-11 20:31:57 +00:00
mscott%netscape.com 0581e3797c Bug #48078, 48081 --> bring up save to disk dialog right away from the helper app dialog instead of
waiting till the download is finished.
properly implement Cancel so we stop the download and clean up the temp file.
r=alecf
2000-08-10 01:49:06 +00:00
valeski%netscape.com 6d2541f0dd 39797. r=mscott. MAC was sending back an empty string as the mime type down in the MIMEService, now we return an error in the mime service if we confront this, and that causes HTTP to produce a default type 2000-07-21 23:52:36 +00:00
mscott%netscape.com 4016cc43ef Bug #43583 --> bring up the save as dialog from the backend instead of from the front end.
r=alecf
2000-07-13 06:26:25 +00:00
mscott%netscape.com 62fc55beca Bug #43583 --> set the application description field on the mime info object based on a registry setting if we are getting the
information from the windows registry. This is later used by the helper app dialog. Correctly implement different
behaviors for mime info action types of useSystemDefault vs. useHelperApp
r=alecf
2000-07-13 06:25:53 +00:00
mscott%netscape.com a0a48516e6 Bug #43583 --> throw the switch for the helper app dialog. Start invoking the helper app dialog and bring it
up whenever the user trys to launch a helper app. This was submitted by bill law. r=mscott

also, use the file name in the url as the basis for the temporary file name.
r=alecf
2000-07-12 06:09:02 +00:00
mscott%netscape.com 969f8f237f Bug #43583 --> Add a separate boolean for asking the user before handling content using an external application.
r=alecf
2000-07-11 23:15:49 +00:00
mscott%netscape.com 29c963948b Bug #43583 --> new state for using system default. Add a separate boolean
for asking the user before handling.
r=alecf
2000-07-11 23:11:59 +00:00
mscott%netscape.com 0def74371f Bug #43583 --> pass the window context into the helper app launcher which will in turn be used by
the helper app dialog to get at a dom window.
r=alecf
2000-07-10 21:21:10 +00:00
cls%seawood.org b741036a4e Remove hacks that fixed tmp vpath screwups. 2000-07-08 09:39:16 +00:00
mscott%netscape.com 70881362b5 Bug #44082 --> fail if we couldn't find mimeTypes.rdf during the data source init phase.
patch from jst
r=mscott
2000-07-07 21:44:11 +00:00
mkaply%us.ibm.com 77a2cb931e r=mkaply, a=brendan
Tinderbox break - need os2 changes for uriloader - I am just taking the UNIX for now - hope it builds
2000-07-07 14:14:32 +00:00
mscott%netscape.com 779afd9441 Bug #43583 --> updates for helper app launching to work with the dialog. 2000-07-07 01:48:57 +00:00
mscott%netscape.com 376364f94b 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
mscott%netscape.com d4124c9ef0 Bug #43583 --> re-organizing how we launch helper apps to work with the helper app dialog.
Add nsIExternalAppLauncher interface which is used by the helper app dialog.
r=alecf
2000-07-07 01:48:05 +00:00
mscott%netscape.com 7622ea0561 Bug #43887 --> fix build bustage on WIN2K platform. Not beta2 plussed yet but it's fixing build breakage.
r=sspitzer
2000-06-30 06:03:43 +00:00
mkaply%us.ibm.com d60892d2e4 #40177
r=leaf, a=brendan
OS/2 bringup - This really should be a semicolon for OS/2
2000-06-27 22:24:54 +00:00
mkaply%us.ibm.com 04c091467c r=cls, a=cls
Broken objdir stuff
2000-06-26 20:18:21 +00:00
mkaply%us.ibm.com 46e03d4978 #40177
r=cls, a=brendan
OS/2 bring up - Forgot OSDIR to specify location of cpp file
2000-06-26 14:46:18 +00:00
mkaply%us.ibm.com 3aba503cd9 # 40177
r = mkaply, a = brendan
OS/2 bring-up - Versions of these files for OS/2
2000-06-25 22:42:16 +00:00
mkaply%us.ibm.com 136659e265 # 40177
r = cls, a = brendan
OS/2 bring-up - Change so this builds on OS/2
2000-06-25 22:39:51 +00:00
dougt%netscape.com e8c46f44f7 Adjusting user of makeUnique. a=brendan@mozilla.org 2000-06-24 01:55:40 +00:00
mscott%netscape.com d4026a4a82 Bug #38374 --> make sure the temp file we are saving the file to is unqiue by calling make unique.
This call will be replaced by createUnique once that gets checked in. I also need to fix the temp file
name I use as well.
r=sspitzer
2000-06-23 06:42:14 +00:00
sspitzer%netscape.com 827690808e 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 c338f7497b 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
sspitzer%netscape.com 9f785ded81 work for bug #38374 helperApps.rdf is now mimeTypes.rdf. use the file locator to get the mimeTypes file. fix the unix implementation of nsOSHelperAppService.cpp to go to the base class to determine what application to launch. r=mscott 2000-06-22 22:17:25 +00:00
sspitzer%netscape.com 49504e1c38 work for bug #38374
helperApps.rdf is now mimeTypes.rdf.
use the file locator to get the mimeTypes file.
fix the unix implementation of nsOSHelperAppService.cpp
to go to the base class to determine what application to launch.

r=mscott
2000-06-22 22:14:53 +00:00
cls%seawood.org bb8001372c *sigh*. VPATH is seeing the old .o in unix for the non-objdir builds that recently ran so we need to remove it. 2000-06-22 09:23:09 +00:00
mscott%netscape.com 18b34da75a maybe this wasn't the breakage...I was just backing out the makefile too quickly. linux went greeen
before this change went in the build.
2000-06-22 08:53:11 +00:00
mscott%netscape.com e7af8caeca backing out dauphin's fix for my objdir breakage as it seems to break non-objdir linux builds. 2000-06-22 08:46:18 +00:00
cls%seawood.org 767e44dc81 Fixed objdir bustage. r=bryner 2000-06-22 07:52:35 +00:00
mscott%netscape.com 90694f1c89 Add nsHelperAppRDF.h to the build.
r=sspitzer
2000-06-22 06:24:50 +00:00
mscott%netscape.com 6feac4ec7e not part of the build!!! fixes to get this buildling on the mac 2000-06-22 06:04:23 +00:00
mscott%netscape.com d2ef96a443 not part of the build!!! fixes to get this building on the mac. 2000-06-22 06:04:06 +00:00
mscott%netscape.com 4a53ab62b7 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 675f71bbef 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 de9b11e15f 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
mscott%netscape.com 5599dd9bfc Bug #38374 --> fix refcounting problem on the application field
r=sspitzer
2000-06-21 20:38:52 +00:00
mscott%netscape.com 21f219f440 Bug #38374 --> NOT PART OF THE BUILD YET!!!!
more unix updates for helper application support
2000-06-21 08:37:32 +00:00
mscott%netscape.com c16dd33462 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.

unix updates
2000-06-21 08:34:58 +00:00
mscott%netscape.com e15fa3df8e 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.

export our rdf vocabulary header file.
2000-06-21 08:29:47 +00:00
mscott%netscape.com c53e3f9859 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.

Landing of the RDF data source which keeps track of all the user specified mime type information.
Landing implementation of user over ride information when determining what helper app to run. now we'll
check the information stored in the data source first. If we don't ahve any over-ride information, then
fall back to the OS defaults.
2000-06-21 08:29:13 +00:00
mscott%netscape.com 7db93f5a1e Bug #38374 --> add application and user preferred handle action to mime info.
I'm going to be storing this information in the helper app code.
r=valeski
2000-06-21 06:34:43 +00:00
mscott%netscape.com 7b35b6b849 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.

RDF header file which defines our vocabulary for the mime mapping data source.
2000-06-21 05:27:29 +00:00
beard%netscape.com 5cca8adbe7 bug #42100, Carbon compatibility. r=gordon, saari, pinkerton, sfraser 2000-06-20 23:10:06 +00:00
sspitzer%netscape.com 73ddfbbf1b Bug #38374 --> more updates for external helper application support. (NOT PART OF THE BUILD) r=mscott 2000-06-20 20:43:54 +00:00
mscott%netscape.com 8b4d5958c8 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.

Unix stub files for the OS helper app service implementation.

a=granrose
2000-06-20 18:22:47 +00:00
mscott%netscape.com b910bded4a 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.

adding manifest files for the mac build
2000-06-20 01:02:32 +00:00
mscott%netscape.com 7438c28d5d 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 3b848d2cf2 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.

Add the ability to launch urls using a OS specified protocol handler for windows. Implement nsIExternalProtocolService.
2000-06-18 22:08:32 +00:00
mscott%netscape.com 8ce9199393 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.

add nsIExternalProtocolService support to the base class.
2000-06-18 22:07:54 +00:00
mscott%netscape.com 44c5271f18 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.

this file is now obselete and has been replaced with nsCExternalHandler.idl.
2000-06-18 22:07:00 +00:00
mscott%netscape.com d4158eb83d 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.

export nsCExternalHandlerService.idl
2000-06-18 22:05:53 +00:00
mscott%netscape.com 0ac3616576 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.

New file. This file replaces nsCExternalHelperApp.idl. It includes both protocol and helper app service progid information.
2000-06-18 22:05:25 +00:00
mscott%netscape.com fbaaa22895 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.

Initial interface for interacting with an OS specific external protocol handler.
2000-06-18 22:04:28 +00:00
mscott%netscape.com 8742fb7bae 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
mscott%netscape.com 294934553a 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.

Use the 4.x windows registry information in an effort to figure out the correct file extension
for a particular content type. This is necessary because we need the file extension to figure out
which helper app to use, not the content type.

Pass the file extension to be associated with this content type to the external content handler when
we create it.
2000-06-18 01:14:23 +00:00
mscott%netscape.com 033d002228 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.

Pass in the file extension (determined by the content type) that we want to use when generating the name
of the temp file for saving the data for the helper application.
2000-06-18 01:13:04 +00:00
mscott%netscape.com adb222feb1 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 external application implementation.
Add windows registry sniffying code to find the right external helper application for a given file extension.
Add windows registry code for launching the application.
2000-06-17 23:06:23 +00:00
mscott%netscape.com 0397d16a80 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 support for nsPIExternalAppLauncher. Call back to the OS app service to launch the app once we are done
saving the file to a temp file.
2000-06-17 23:04:53 +00:00
mscott%netscape.com a49f7b7be2 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 a private interface to be shared between the os specific helper app service and the external app handler
for launching an app.
2000-06-17 23:03:24 +00:00
mscott%netscape.com 6a1489732e 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.

properly implement saving the data to a temp file.
2000-06-17 19:53:44 +00:00
mscott%netscape.com 0c5b76fe97 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.

fix some method signature problems.
2000-06-17 03:02:08 +00:00
mscott%netscape.com 2465ee7f3f 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 code to actually store the incoming data into a temp file.
2000-06-17 02:34:44 +00:00
mscott%netscape.com 2408a62e64 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.

initialize an external app handler with an nsIFile which represents the app.
2000-06-17 02:34:24 +00:00
mscott%netscape.com 8e93dbd8cb 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.
2000-06-17 00:06:26 +00:00
mscott%netscape.com f51d776b01 Bug #38374 --> foundation for helper app architecture.
Not part of the build yet. review will come when this is ready to go.
2000-06-16 21:35:13 +00:00
mscott%netscape.com ceefda9021 Bug #38374 --> foundation for helper app architecture. Windows specific implementation of the
helper app service.
Not part of the build yet. review will come when this is ready to go.
2000-06-16 21:34:35 +00:00
warren%netscape.com 958ed96edd Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433 2000-06-03 09:46:12 +00:00
davidm%netscape.com c05d968c8d First Checked In. 2000-05-03 02:51:51 +00:00
mccabe%netscape.com b46e6e7a8c change several IDL parameters to be unsigned, to work better with length_is, size_is. Preperatory to requiring unsigned in xpidl, fixing 13413 2000-04-28 10:51:52 +00:00
davidm%netscape.com 699af3fa09 Replace nsString with nsCString. Add routines for setting the ext froma comma delimenated list 2000-04-19 04:45:30 +00:00
scc%netscape.com e097771f06 making string conversions explicit 2000-04-15 07:05:34 +00:00
davidm%netscape.com 8b9369403e 31054 'TEXT' file which contains non ASCII does not open correctly 2000-04-05 03:03:50 +00:00
scc%netscape.com 66f25aff37 making string conversions explicit 2000-04-02 08:34:55 +00:00
rickg%netscape.com 4fa6b38b7d removing references to nsString internals 2000-03-26 07:55:46 +00:00
warren%netscape.com 7e37f4f478 Bug 21556: Making linux be thread-safe. Making tons of classes implement threadsafe AddRef/Release. a=jar 2000-03-05 21:26:01 +00:00
valeski%netscape.com 1c585fb146 r=rhp. Further extension of the nsIMIMEService. 2000-01-25 02:40:16 +00:00
valeski%netscape.com 57c6e1294b r=rhp. nsIMIMEInfo and nsIMIMEService have been revamped (there's one more small iteration coming tomorrow). nsIMIMEInfo has been extended and the service has been multi indexed using file extensions *and* the MIME type as keys. 2000-01-24 15:41:03 +00:00
dmose%mozilla.org 42fc94a6ec updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:40:37 +00:00
mccabe%netscape.com 39e5fe6519 Fix to 7610. Modify xpidl compiler to add 'const' to the method signature for generated attribute setter methods for string, wstring and nsid attributes.
As this changed the generated interface signatures, I had to change all of the uses to avoid bustage.  Any corners of the browser that aren't built by default, or that I haven't discovered how to build, may be at risk of bustage if they use string or wstring attributes.  (This could mean blackwood; sorry, guys!)

Many thanks to Alec Flett (alecf@netscape.com) for preparing diffs for the mailnews portion of the signature changes; thanks also to Ariel Backenroth (arielb@rice.edu) and Mike Shaver (shaver@mozilla.org) for help with updating the tree with NS_DECL_NSIFOO macros; everwhere where one of these macros was used was one less place I had to manually add 'const'.

Also removed extraneous space from generated method signatures, leftover from Brendan's capitalization spam, and made 'const decl must be of type short or long' an error rather than just a warning.
1999-09-19 23:46:35 +00:00
valeski%netscape.com 03b9d2d6cb changed nsCOMTypeInfo<> template to NS_GET_IID macro 1999-09-03 23:51:14 +00:00
kipp%netscape.com a99f5ec06a Use nsAutoString instead of nsString for temps 1999-09-02 18:13:07 +00:00
mccabe%netscape.com 3d4917b628 Replace declarations of interface methods in implementation classes with xpidl-generated NS_DECL_NSIFOO.
Remainder of the netwerk portion of the NS_DECL_NSIFOO spam.
1999-08-22 23:52:07 +00:00
valeski%netscape.com 47c693b1e3 factored repeated mime type retrieval implementations into mime mapping service methods 1999-08-01 16:42:25 +00:00
warren%netscape.com e6ca89c1bb Fixed UMR / refcounting problem (purify). 1999-07-28 04:02:07 +00:00
valeski%netscape.com b26d6ed824 changed mime map service to use nsHashtabel 1999-07-16 21:56:54 +00:00
valeski%netscape.com ffbce16be3 adding warning comment 1999-07-13 23:39:31 +00:00
gagan%netscape.com 3037f684ff Fixed warnings on Linux because of missing virtual keyword on destructors. 1999-07-08 00:50:02 +00:00
valeski%netscape.com 95f1ec8192 added newlines 1999-07-06 14:37:24 +00:00
valeski%netscape.com 03cc0639f2 adding mime type resolver module. 1999-07-02 20:08:27 +00:00