Commit Graph

684 Commits

Author SHA1 Message Date
pavlov%netscape.com
5906063c28 fixing build bustage 2001-04-10 07:10:30 +00:00
darin%netscape.com
00a7e27ee6 Necko API changes, bug 74221. r=valeski, sr=rpotts. 2001-04-10 06:01:08 +00:00
law%netscape.com
4a2ebf26ca Bug 52454; new helper app dialog; this is under development and not built/used yet 2001-04-10 02:15:22 +00:00
disttsc%bart.nl
72cea9bb38 Clean up MODULE/REQUIRES, bug=73353, r=cls 2001-04-08 08:33:11 +00:00
dprice%netscape.com
8c0b9eaf97 65845 - new order files 2001-04-05 06:02:32 +00:00
rickg%netscape.com
169a621d42 preloader update. r=peterl, sr=attinasi 2001-04-03 22:58:59 +00:00
locka%iol.ie
082e014189 Updated GetTarget so windows are created if the named target cannot be found and for _new & _blank targets. b=72491, sr=mscott 2001-04-03 21:56:02 +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
rpotts%netscape.com
b714e61819 bug #73244 (r=darin, sr=mscott). The DocLoader cannot assume that an nsIRequest is necessarily an nsIChannel... 2001-03-29 00:12:49 +00:00
alecf%netscape.com
fcaf601272 fix for bug 73640 - make uri loader support "true" weak references so we can implement them from JavaScript
sr=mscott
r=jag
2001-03-28 18:09:03 +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
mkaply%us.ibm.com
4ed544fdd7 #73620
r=jband, sr=brendan
Fix some places where we used casts instead of CALLBACKs
2001-03-27 22:59:33 +00:00
cls%seawood.org
979c006ff6 Change netwerk/mime to use MODULE=mimetype to remove avoid confusion with mailnews/mime . Update necessary REQUIRES.
Bug #68381 r=jag
2001-03-26 23:40:28 +00:00
disttsc%bart.nl
f595ed19f3 Clean up REQUIRES lines. r=cls 2001-03-25 22:59:27 +00:00
valeski%netscape.com
169a5140b5 r=rpotts. comment changes only. 48726. adding status to idl files of api rev. ifaces. 2001-03-24 00:22:18 +00:00
alecf%netscape.com
01b6ed44fd no bug - just reworking nsIURIContentListener to be more easily implemented in JS - does not affect any C++ interface signatures
sr=mscott
2001-03-21 19:21:34 +00:00
timeless%mac.com
e76ccfd647 fix Bug 70989 Clean up lots of "shadows" and other common warnings
r=peterv, jst, ducarroz, edburns. sr=jst, shaver
2001-03-21 05:32:22 +00:00
pinkerton%netscape.com
73dec429d6 fix up case differences since sometimes osX seems to care. 2001-03-19 21:30:51 +00:00
colin%theblakes.com
9d7ac4a3c6 Remove the O_TRUNC when we open a newly created file (its not needed and
produces undesirable side effects on OpenVMS).
b=68255 r=sspitzer sr=mscott a=leaf
2001-03-14 02:57:47 +00:00
dprice%netscape.com
edb387e49c 71057 sr=waterson new order files. NOT PART OF THE REGULAR BUILD 2001-03-13 10:47:37 +00:00
dougt%netscape.com
c74c36c85e Minor build changes per API review. Now nsIFileURL and nsIFileChannel have their own IDL file which means that if you were using either of these two interfaces, you need to include a new include file. r=valeski@netscape.com 2001-03-12 22:41:28 +00:00
disttsc%bart.nl
8b43034cef Change implicit conversion from
|NS_ConvertUTF8toUCS2|
|NS_ConvertASCIItoUCS2|
|NS_ConvertUCS2toUTF8|
|ns[C]LiteralString|
|ns[C]PromiseFlatString|

to explicit |get()|.

Add |get()| to |nsString|, remove implicit conversion operators where possible, add NS_WARNING where not (yet!).

Bug=53057, r=alecf, sr=scc
2001-03-08 08:05:05 +00:00
darin%netscape.com
4f9a9b0114 Fixes bug 66181. Content-Disposition with attachment=filename did not accept
a quoted-string as the filename.  r=gagan, sr=mscott.
2001-03-03 02:20:28 +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
dprice%netscape.com
199c935b04 # 65845 sr=waterson, new order files will greatly reduce the number of link warnings. 2001-02-27 04:38:19 +00:00
disttsc%bart.nl
a6f2f5861a Mass REQUIRES update to synch up with string lib and xul changes in an attempt to fix senna bustage. r=jst, sr=cls 2001-02-22 09:35:51 +00:00
dougt%netscape.com
128f95aa9b Relanding Necko Changes.
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.

r=darin@netscape.com
sr=rpotts@netscape.com
2001-02-21 20:38:08 +00:00
pinkerton%netscape.com
d465909997 carbon changes. r=pink/sdagley/beard. a=sfraser. 2001-02-13 21:48:26 +00:00
dprice%netscape.com
997fb091c7 65845 first cut of the order files 2001-02-13 02:48:02 +00:00
disttsc%bart.nl
3d2d80d536 Back out dougt's channel changes 2001-02-12 03:14:23 +00:00
dougt%netscape.com
1b9ca82439 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
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
mscott%netscape.com
7d14d6aaaa 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
mscott%netscape.com
e809387e51 Bug #63193 --> register our default protocol handler
sr=rpotts
2001-02-07 04:23:34 +00:00
ducarroz%netscape.com
7369375bea 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
ed8387535f First Checked In. 2001-02-07 04:09:11 +00:00
mscott%netscape.com
2019b92f07 Bug #67598 --> we no longer need to invoke the ucth dialog here.
sr=sspitzer
2001-02-07 02:44:09 +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
mscott%netscape.com
368ec71975 bug #63193 --> add nsExternalProtocolHandler to the unix build 2001-02-07 02:03:55 +00:00
mscott%netscape.com
8037bcf476 Bug #63193 --> add classid for external protocol handler
sr=rpotts
2001-02-07 02:00:09 +00:00
mscott%netscape.com
f0f94c5b25 add new extprotocolhandler file to the windows build 2001-02-07 01:58:58 +00:00
mscott%netscape.com
7acbc39ac7 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
mscott%netscape.com
eb1aab9e34 remove obsolete files that are no longer part of the build from the repository. 2001-02-06 23:08:19 +00:00
mscott%netscape.com
9c7e28ce40 don't build this obsolete directory. 2001-02-06 04:40:32 +00:00
mkaply%us.ibm.com
8952c7bf94 OS/2 and other ports breakage 2001-02-05 14:11:15 +00:00
locka%iol.ie
4a5b9f3e40 Added js linker dependency. sr=mscott@netscape.com b=41241 2001-02-05 11:31:27 +00:00
locka%iol.ie
06506207df Added code to create a new window for _blank, _new targets before URI loader tries to push content into it and fails. sr=mscott@netscape.com b=41241 2001-02-05 10:50:33 +00:00
locka%iol.ie
2170634159 Added linker dependency to js engine, sr=mscott@netscape.com, b=41241 2001-02-05 10:46:24 +00:00
mkaply%us.ibm.com
42b41d6a2b OK, seriously, we fixed the TB to handle this now 2001-02-01 18:32:15 +00:00
valeski%netscape.com
10230f80ff r=ccarlen, sr=rpotts. 65925. making webprogress implementation store weak refs to listeners. 2001-01-31 21:02:08 +00:00
mkaply%us.ibm.com
3cfa363ee6 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
d0c9883513 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
65d4cb49ce #65880
r=cls
Taking this back out - it was a TB problem
2001-01-29 20:49:35 +00:00
mkaply%us.ibm.com
623699bfc4 Stupid OS/2 VPATH problems breaking Os/2 build 2001-01-27 19:24:27 +00:00
mkaply%us.ibm.com
01551e02b6 #65880
r=cls
Enable OBJDIR builds for OS/2
2001-01-27 15:36:41 +00:00
mscott%netscape.com
18202292e5 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
9329f79447 Bug #63346 --> implement open and open folder APIs for windows
sr=sspitzer
2001-01-25 06:48:47 +00:00
mscott%netscape.com
3f7ff536cc 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
d6bd863761 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
5af7d75623 clean up some rv error code handling
sr=sspitzer
2001-01-23 22:35:54 +00:00
mscott%netscape.com
983bd36373 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
91ea2fd585 #65732
r=cls
Make SHORT_LIBNAMEs (used by OS/2 only) match Windows DLL names
2001-01-18 15:53:33 +00:00
mkaply%us.ibm.com
dca31efd5c r=mkaply, a=blizzard
Bring OS/2 helpers up to current level
2001-01-16 00:09:58 +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
rpotts%netscape.com
3228f83073 bug #62955 - Dialog boxes are the wrong size. 2000-12-23 06:07:38 +00:00
mscott%netscape.com
ee60df101f Bug #59827 --> pass the redirect flag up via a OnStatechange if we get a redirect. Also set the is document
flag if the original channel matches mDocumentChannel.
sr=rpotts
2000-12-19 22:07:58 +00:00
mscott%netscape.com
ac8cc6c8b1 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
rpotts%netscape.com
359b761343 bug #46866. Added a read-only DOMWindow attribute to nsIWebProgress. 2000-12-14 23:26:35 +00:00
mscott%netscape.com
51c10d8d69 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
66a18fcbbf 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
fb0491626c 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
b9944d7bfa 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
mscott%netscape.com
94e52d3266 Bug #56938 --> add a method for retrieving the doc loader's
document channel.
r=sspitzer, sr=rpotts
2000-11-01 08:04:49 +00:00
warren%netscape.com
cd56c0575b 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
0735771512 Removed extra 0 arg 2000-10-27 23:21:30 +00:00
warren%netscape.com
9a6d92a433 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
f5614e7782 Bug #56934 --> properly determine the status for on end document load. We used to
use the status of the last request processed in loading the document to determine
success or failure. That's incorrect. Instead, test to see if the load group is being
canceled. If it is, use that as the status for the entire document. Otherwise, ignore
the status for the last request and instead use the status for the main document
(the default load channel).
sr=rpotts, r=sspitzer
2000-10-26 06:34:20 +00:00
mscott%netscape.com
3ca41ad1ea 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
pollmann%netscape.com
8911ee3487 Bug 13871: Frameset spoofing - cleanup unneeded DOM interface. r=jst, sr=vidur 2000-10-24 04:35:25 +00:00
mscott%netscape.com
11a336fc1d 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
pollmann%netscape.com
3da7c0c668 Bug 13871: Prevent frameset spoofing r=mstoltz, sr=mscott, a=rpotts 2000-10-19 10:25:49 +00:00
mscott%netscape.com
07637ef394 Bug #47636 --> add methods to convert back and forth between a nsIDocShellLoadTypeInfo
and a docshell load tye. Unify nsIURILoadCommand and nsIDocShellLoadType enums so they
can be treated as the same type. This allows the uriloader to pass the correct load info
from the docshell that originates the load over to the docshell that actually
ends up loading the url.
r=radha, sr=rpotts
2000-10-11 23:14:38 +00:00
mscott%netscape.com
b25492aeb0 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
4cfd9661eb 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
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
7cb10d986d Bug #47203 --> force more code to use the helper app dialog.
sr=alecf,rpotts
2000-10-04 06:53:52 +00:00
valeski%netscape.com
b0217bd1ff whoops, that's supposed to be a 32bit int 2000-09-27 20:25:15 +00:00
valeski%netscape.com
8e3f2ce2da 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
52e0a821d5 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
45dbf92d78 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
bc0423f2d2 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
ab07ff0c7c 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
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
dougt%netscape.com
c2923c8476 + Added OnSecurityChange() to nsIWebProgressListener interface.
+ Added dummy function to all users of nsIWebProgressListener
+ Added new security event sink.
+ Hooked up new event sink to docloader and friends.
+ Fixed memory leaks and crashes in nsSecureBrowserImpl.
+ Added AlertPrompt to nsIPrompt Interface.
+ Enabling xpcom test on unix.

Fixes bug 46872.  r=valeski/rpotts
2000-09-14 22:56:56 +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
scc%mozilla.org
9685340714 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
2d5eaf6a2a Bug #43556 --> register our nsIMIMEService implementation with a progid.
r=valeski
2000-09-08 00:17:34 +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
mscott%netscape.com
30037f6c30 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
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
pchen%netscape.com
77595f3418 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
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
scc%mozilla.org
e7c7c66f5b fixing code that relies on implicit string construction 2000-09-02 23:59:08 +00:00
mscott%netscape.com
91c59f8553 Fix unix breakge by using .get() 2000-09-01 23:07:57 +00:00
mscott%netscape.com
14371bacb4 Bug #47365 --> set the retargeting URL flag when we are retargeting to another window
r=radha
2000-09-01 22:28:37 +00:00
mscott%netscape.com
0e2dcfbd89 Bug #50427 --> comment out our OnRedirect implementation. It was causing nasty side effects
because we aren't told if the main document url is getting redirected or if a part (like an
image) is getting redirected. This caused the urlbar to get incorrectly updated.
r=sspitzer
2000-09-01 22:26:32 +00:00
mscott%netscape.com
f1aa9956b6 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
vidur%netscape.com
e153192875 Fix for bug 46861. nsIDOMWindow is now split into two interfaces: a public interface (still called nsIDOMWindow) for embedders and an internal interface (nsIDOMWindowInternal) for internal use. The union of the two interfaces is still visible from JavaScript. r=jst@netscape.com 2000-09-01 01:54:35 +00:00
locka%iol.ie
ecebe2ac21 API changes for embedding. b=46847, r=dougt, a=valeski 2000-08-25 18:39:46 +00:00
mscott%netscape.com
d7a4c2790e Bug #27048 --> implement nsIHTTPEventSink
r=valeski
2000-08-25 01:32:40 +00:00
rpotts%netscape.com
b569585070 bug #39381. The last channel in a document was not firing a request done notification - only a document done... 2000-08-24 00:08:15 +00:00
ccarlen%netscape.com
3b47353cfe Convert use of nsIFileLocator to nsIDirectoryService r=mscott 2000-08-22 00:53:37 +00:00
scc%mozilla.org
ad963283c3 fixing code that relied on implicit string construction 2000-08-20 06:59:07 +00:00
scc%mozilla.org
3f0620d231 fixing code that relied on implicit string construction 2000-08-19 20:01:04 +00:00
conrad%ingress.com
d9e8edcf29 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
heikki%netscape.com
418d0168ea Fixed bug 41772, if XLink target was XML file it never opened it in new window. r=jst. 2000-08-10 20:18:49 +00:00
mscott%netscape.com
25e12ec3c0 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
warren%netscape.com
2b01440bc0 Factored string bundles out of necko. Fixes bug 42107 - need to fix string bundle init workaround. Also bug 40506 - nsIWebProgressListener needs status text. Status messages now work in mozilla and viewer with internationalized and parameterized text! Added temporary error architecture until bug 13423 can be fixed. Extended nsIStringBundleService to provide method to format status message. r=valeski,jband,tao. verified=mstoltz 2000-07-25 05:45:56 +00:00
valeski%netscape.com
83689d9542 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
valeski%netscape.com
048c917d19 45723. r=rpotts. webshell-docshell consolodation changes. 2000-07-18 23:37:53 +00:00
mscott%netscape.com
8ac4deb3f4 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
67f89934a5 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
cbdeb0905f 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
a044cab1f4 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
3ddf6e8910 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
66907fe1dd 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
18b5c3f6ff Remove hacks that fixed tmp vpath screwups. 2000-07-08 09:39:16 +00:00
mscott%netscape.com
2f46a371e9 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
d87ffe8750 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
2bdc7ded6d Bug #41707, #43652 --> JS urls aren't working. We need to check for the correct return value and don't propogate
the on start request in that case.
r=alecf
2000-07-07 02:23:19 +00:00
mscott%netscape.com
ec140450ed Bug #43583 --> updates for helper app launching to work with the dialog. 2000-07-07 01:48:57 +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
mscott%netscape.com
6ad688ca00 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
4d99f26d9d 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
mscott%netscape.com
6d7e241e1d Bug #43887 --> fix build bustage on Win2K. This bug wasn't nsbeta2 plussed yet but it's build breakage fix!!
r=sspitzer
2000-06-30 06:02:27 +00:00
mkaply%us.ibm.com
b7a9e7cd19 #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
dougt%netscape.com
17461eaf11 Check for null. If a NS_EXTERNALHELPERAPPSERVICE_PROGID was not found,
crash would occur.
2000-06-27 21:43:17 +00:00
mkaply%us.ibm.com
fa55dc74b0 r=cls, a=cls
Broken objdir stuff
2000-06-26 20:18:21 +00:00
mkaply%us.ibm.com
aa484df4a7 #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
664fcf2162 # 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
32ba0ccee8 # 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
e9d97afa2b fixing bustage. 2000-06-24 02:10:17 +00:00
dougt%netscape.com
e5e3eab6ce Adjusting user of makeUnique. a=brendan@mozilla.org 2000-06-24 01:55:40 +00:00
mscott%netscape.com
b43f6dc718 Gee wizz...i didn't check in the progid registration for the external helper app service last night.
Bug #38374, 30157, 10802
r=sspitzer
2000-06-24 01:14:52 +00:00
mscott%netscape.com
ad5c60eb5b 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
mscott%netscape.com
5ce6a320cc Bug #38374, 30157, 10802 --> turn on launching of helper applications to handle content types we don't know how to handle!!
turn on the ability to launch urls using OS default protocol handlers.
uri loader modifications to make open attachment possible.
r=sspitzer
2000-06-23 04:43:28 +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
sspitzer%netscape.com
c6b5309946 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
b4bc92c13e 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
80e45df094 *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
7c1858cd9a 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
d0f90735cd 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
c3e413630e Fixed objdir bustage. r=bryner 2000-06-22 07:52:35 +00:00
mscott%netscape.com
e42465aafd add new files to mac project 2000-06-22 06:39:49 +00:00
mscott%netscape.com
8e8640f7ba add new files to idl project. 2000-06-22 06:39:33 +00:00
mscott%netscape.com
920d1fcb07 Start linking with exthandler static lib.
r=sspitzer
2000-06-22 06:26:05 +00:00
mscott%netscape.com
3d1beb6a5e Throw the switch and start building exthandler on unix. Not actually called by anything yet.
Bug #38374 and #30157
r=sspitzer
2000-06-22 06:25:45 +00:00
mscott%netscape.com
89e95a28f0 Add nsHelperAppRDF.h to the build.
r=sspitzer
2000-06-22 06:24:50 +00:00
mscott%netscape.com
2aaa50678e Throw the switch and start building the exthandler directory on windows. None of this code being called yet.
this if for Bug #38374 and #30157 (launch external applications and launch using default protocol handlers)
r=sspitzer
2000-06-22 06:24:01 +00:00
mscott%netscape.com
04601881dd not part of the build!!! fixes to get this buildling on the mac 2000-06-22 06:04:23 +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
mscott%netscape.com
0a50c9d984 Bug #38374 --> fix refcounting problem on the application field
r=sspitzer
2000-06-21 20:38:52 +00:00
mscott%netscape.com
12c698bd7d 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
aa9a9a15c6 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
dce1644f86 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
2668452986 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
7e2fbded6f 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
f940187ef2 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
1c926d81a2 bug #42100, Carbon compatibility. r=gordon, saari, pinkerton, sfraser 2000-06-20 23:10:06 +00:00
sspitzer%netscape.com
5614a99a6a 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
3b25aa7f15 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
rpotts%netscape.com
dfe7dd1ea3 Fixed memofy leak of StdURLs introduced by the last checkin... 2000-06-20 05:14:42 +00:00
mscott%netscape.com
8fbba2c4c6 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
jdunn%netscape.com
b86b3b5990 adding newline, required by HPUX 2000-06-19 13:03:52 +00:00
rpotts%netscape.com
44dfb4b825 Reworked the nsIWebProgress interfaces and implementation... 2000-06-19 05:54:37 +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
1d5352e6e9 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
c08b6233e7 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
dc6a63563f 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
1e75716479 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
a743e2ddc1 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
462376e133 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
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
mscott%netscape.com
6b09973c62 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
b1e8d04afd 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
cbf35f6dfc 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
7264918d4e 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
e6fb2a4c9f 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
0adba87a3c 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
7e5991d58e 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
c67e915e7d 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
146fca5a14 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
e3bef1365b 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