Commit Graph

714 Commits

Author SHA1 Message Date
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
mscott%netscape.com
1229310eb4 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
0babf04929 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
mscott%netscape.com
6e2ee7ff03 Bug #40116 --> check to see if the channel was canceled before
propogating calls to the content listener...
r=valeski
2000-06-16 21:21:04 +00:00
warren%netscape.com
512c8bf433 Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433 2000-06-03 09:46:12 +00:00
rpotts%netscape.com
9c4c702bdc bug #29178. Do not show a blank document when a HTTP server returns a status 204 - No Content 2000-05-25 05:12:58 +00:00
sfraser%netscape.com
49b724838a Fix access paths for faster opening 2000-05-17 06:13:58 +00:00
pollmann%netscape.com
ae19609176 Bug 32898: Fix crash when targetting new window. r=rpotts 2000-05-11 01:33:25 +00:00
ruslan%netscape.com
e7d80eb3ca Prevent infinite loop in OnStop in case when Cancel is issued 2000-05-10 02:05:54 +00:00
rpotts%netscape.com
d6a55e5b45 Removed nsLoadCookie and made nsDocLoader implement nsIInterfaceRequestor directly... 2000-05-07 02:01:10 +00:00
mscott%netscape.com
2b7f09c1b0 add thread safey addref and release macros to docloader. 2000-05-04 21:34:50 +00:00
davidm%netscape.com
055406bb9b First Checked In. 2000-05-03 02:51:51 +00:00
mccabe%netscape.com
e9209489d7 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
pavlov%netscape.com
a3a300fdf2 string api changes r=scc 2000-04-25 05:40:45 +00:00
mscott%netscape.com
96bcbcb394 need to fake a onprogress change for the parent
docloader...Fix viewer crash by returning aChannel instead of the
doc channel.
2000-04-25 01:45:37 +00:00
tbogard%aol.net
7b4745b063 Added new flag for a timed out net connection. 2000-04-24 05:03:49 +00:00
cls%seawood.org
8754202470 General cleanup of the shared library rules.
Quick fix for bug #36844.
Since people kept forgetting to wrap SHARED_LIBRARY_LIBS inside MKSHLIB_FORCE_ALL & MKSHLIB_UNFORCE_ALL pairs, we now handle it in rules.mk.  Same goes for making $(SHARED_LIBRARY) dependent upon $(SHARED_LIBRARY_LIBS).
2000-04-23 17:48:04 +00:00
mscott%netscape.com
e80ecd5bda help support the doc loader using the web progress listener. 2000-04-22 23:17:11 +00:00
mscott%netscape.com
a9b0a90d18 Bug #33156 --> implment onChildStatusChanged AND progress notifications for the doc loader
through the web progress interfaces. In order to implement progress, the doc loader now implements
nsIProgressEventSink and receives events directly from the channels.
2000-04-22 23:16:31 +00:00
warren%netscape.com
eeb4df595e Bug 34217. Making js protocol not clear window when it returns no result. 2000-04-21 05:18:15 +00:00
mccabe%netscape.com
ad73a83e3d Ignore some generated Makefiles 2000-04-20 01:08:17 +00:00
davidm%netscape.com
9f33ae5ce0 Replace nsString with nsCString. Add routines for setting the ext froma comma delimenated list 2000-04-19 04:45:30 +00:00
mscott%netscape.com
9671270568 Bug #36221 --> throbber never stops when loading a frameset doc.
I was signaling the stop notification via a OnchildStatus in this scenario. We should always signal the start
and stop of documents as a status change even if a child is originating the change.
2000-04-18 21:39:09 +00:00
mscott%netscape.com
c4a408e35b Bug #36218 --> fix ftp! We were unable to open the unknown content handler because we couldn't get
the dom window from the original docshell. I changed it to make this possible.
2000-04-18 20:41:38 +00:00
tonyr%fbdesigns.com
2de30a1ffe Got rid of the shared library reference. No longer needed. 2000-04-16 15:47:35 +00:00
cls%seawood.org
8d2c81a65f The extprotocol subproject does not actually build under unix. A bug in the way we handle SHARED_LIBRARY_LIBS is the only reason the tinderboxes didn't go red with the previous checkin. 2000-04-16 08:42:25 +00:00
tonyr%fbdesigns.com
716576a3fd Added the extprotocol subproject 2000-04-16 00:08:40 +00:00
tonyr%fbdesigns.com
5d701a4a28 Added the extprotocol subdir 2000-04-15 18:36:11 +00:00
tonyr%fbdesigns.com
fc95078c90 Fix up the unix makefiles so it actually builds 2000-04-15 16:51:51 +00:00
scc%netscape.com
94b0861716 making string conversions explicit 2000-04-15 07:05:34 +00:00
tonyr%fbdesigns.com
3b12f1c55f Updated makefiles to almost work. 2000-04-14 14:37:23 +00:00
mscott%netscape.com
59ef60bcc9 Pass in the right channel into the web progress listener. 2000-04-14 03:28:23 +00:00
tonyr%fbdesigns.com
ea19c05ae3 First Checked In. 2000-04-14 03:04:08 +00:00
tbogard%aol.net
1e930b11ae Removed the viewSource member and the GetStringForCommand as it is no longer used. 2000-04-11 23:52:37 +00:00
davidm%netscape.com
e5bf8b4556 31054 'TEXT' file which contains non ASCII does not open correctly 2000-04-05 03:03:50 +00:00
cls%seawood.org
fdd09457b4 Fix for EXTRA_DSO_LIBS in rules.mk
OS/2 Makefile.in changes (Patch 4a).  Bug #34106
2000-04-04 07:37:50 +00:00
cls%seawood.org
f6740baa20 Moved static MOZ_COMPONENT_NSPR_LIBS, MOZ_COMPONENT_XPCOM_LIBS, MOZ_COMPONENT_LIBS definitions from configure.in to config.mk. Replaced -lxpcom in Makefiles to $(XPCOM_LIBS) so that we can optionally link against -lboehm when needed. Bug #31287 2000-04-04 04:46:38 +00:00
tbogard%aol.net
3cbce7298c Changed the Status flags to be transition flags rather than flat current state. This makes it easier to implement a listener. Otherwise you are forced to cache the last status and then determine transitions based on the deltas. 2000-04-04 02:45:32 +00:00
mscott%netscape.com
c075035b09 Bug #34321,34350 --> be sure to set the web progress listener on the doc loader
before every load.
r=travis
2000-04-03 22:41:26 +00:00
mscott%netscape.com
ccd7510b99 Bug #33156 --> the doc loader now implements nsIWebProgress and makes basic notifications to a registered
nsIWebProgressListener.

Right now, the only methods that are hooked up are signaling when the doc loader is busy loading a document and
when it is done loading a document.
2000-04-03 02:26:05 +00:00
scc%netscape.com
d8f4cef205 making string conversions explicit 2000-04-02 09:15:46 +00:00
scc%netscape.com
8b2f93643b making string conversions explicit 2000-04-02 08:34:55 +00:00
valeski%netscape.com
45a4daefea 29858. special case a */* content type returned from the server. we want to treat it as unknown and ask the user what to do. 2000-03-30 22:24:07 +00:00
jim_nance%yahoo.com
dc0e139673 Bug 33322 - Fix compiler warnings. Its been on n.p.m.builds for a few
days for module owners to comment on.  r=troy@netscape.com
2000-03-30 03:21:26 +00:00
tbogard%aol.net
98cb0f4583 Updated the documentation to clearly state the parameters of OnChildProgressChange. 2000-03-29 10:14:59 +00:00
warren%netscape.com
727f312b32 Necko API changes: primarily nsIChannel, changing initialization parameters to accessors. Got javascript: evaluation to happen at the right time (when AsyncRead is called) as well as on the right thread. 2000-03-29 03:58:50 +00:00
scc%netscape.com
b9eb8da352 small changes to clients of string converting APIs 2000-03-26 08:05:46 +00:00
rickg%netscape.com
24c7cb621e removing references to nsString internals 2000-03-26 07:55:46 +00:00
tbogard%aol.net
8797c75acb Removed the cookie from AddProgressListener and RemoveProgressListener because frankly that parameter was dumb. :) 2000-03-26 04:51:38 +00:00
tbogard%aol.net
ef7f9961dc Added a new method onLocationChange that is called when the location of the watched window changes. 2000-03-25 01:00:04 +00:00
mscott%netscape.com
f6d844d6cb Bug #28776,28569 --> add method for clearing out the parent doc loader
now that we don't leak the global doc loader, there are times when it gets destroyed b4 it's children during
the shutdown process.
r=sspitzer
2000-03-24 05:45:31 +00:00
tbogard%aol.net
549310ce03 Added a new method to nsIURIContentListener to allow the windowContext listener to get a crack at cancelling a new load that is about to occur. 2000-03-24 00:23:40 +00:00
ftang%netscape.com
8e1d13ceca change the interface and pass nsISupport* for document instead of PRInt32 so we won't drop
data on 64-bits machine. r=harishd
2000-03-23 00:53:53 +00:00
danm%netscape.com
e010205bc9 adding webProgress interfaces for Travis 2000-03-13 00:24:28 +00:00
tbogard%aol.net
e648223c3a HandleUnknownContentType is no longer part of the nsIDocumentLoaderObserver interface. 2000-03-11 01:24:29 +00:00
mscott%netscape.com
333edb2c69 Bug #30553 --> new windows with window targets were getting the target associated with the
chrome window instead of with the content window. And the window sizes were coming from the
	       hidden window instead of the parent window the url originated from.
r=travis
a=jevering
2000-03-09 08:17:40 +00:00
warren%netscape.com
c0497e31be 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
tbogard%aol.net
8ca243538f Adding the new webProgress interfaces to the build. a=jevering. 2000-03-02 03:03:32 +00:00
tbogard%aol.net
b601c2d4b5 First cut at new webProgress interfaces. Not yet connected to the build. 2000-03-02 02:24:57 +00:00
tbogard%aol.net
86df273966 URILoader now will invoke the unkown content handler when the DoContent call fails. This clears the way for the new docShell creation of the content viewer code to land. I'm actually checking this in for mcott. b=13374 r=me a=jevering 2000-02-29 21:33:23 +00:00
mscott%netscape.com
9a7c1b0e8e Bug #27419 --> if uri load had a window target name and a window
with that name didn't exist yet, we weren't creating a new window,
instead we were loading it in the current window. Now we properly
fall through to the create new content handler case.
r=travis
a=phil
2000-02-19 02:05:52 +00:00
mscott%netscape.com
1388ba58b5 Bug #17468 --> if you pass a window target of _new, we weren't creating a new window. We do now.
r=travis
2000-02-16 07:10:42 +00:00
mscott%netscape.com
c8fd767935 Fixes Bug #27419 and various other uri re-targeting bugs. The uri loader now properly implements retargeting.
Allow the load cookie to support nsWeakReference.
r=travis,mscott (we co-authored it).
2000-02-15 04:04:34 +00:00
tbogard%aol.net
84174fe997 Added a Stop method to allow stopping a load that has been requested. r=hyatt 2000-02-14 10:12:55 +00:00
scc%netscape.com
73802d6f2e Pro5 update 2000-02-07 23:06:04 +00:00
mscott%netscape.com
9a386e5c0a More prepation for docshell landing. Add a IsPreferred method to nsIURIContentListener and use the Ispreferred
method when the load type is user click to find the preferred registered window for handling the content

r=travis
2000-02-04 08:43:34 +00:00
neeti%netscape.com
81b45a50d4 Returning the correct error value instead of NS_OK, from OnStartRequest() and OnStopRequest().r=rpotts 2000-02-04 01:54:47 +00:00
brade%netscape.com
27ca515c4c fix access paths for move to CW5 (bug #25949) 2000-02-02 22:45:39 +00:00
mscott%netscape.com
e707c020b3 fix solaris breakage..include nsIChannel.h when using a nsCOMPtr. =) 2000-01-29 08:32:03 +00:00
mscott%netscape.com
056442c287 export nsIDocumentLoader.idl nsIDocumentLoaderObserver.idl 2000-01-29 06:13:58 +00:00
mscott%netscape.com
90c4118948 build nsDocLoader 2000-01-29 06:13:39 +00:00
mscott%netscape.com
bf0b2945cd build nsdocLoader 2000-01-29 06:03:01 +00:00
mscott%netscape.com
81ddbb480d Part of docshell/webshell landing prep work. The doc loader is being re-factored into the uri loader.
add get content listener parent and load cookie attributes to nsIURIContentListener
Bug #21173 --> set the redirected flag on the channel if we are going to redirect the url. Add load cookie
support.
build nsDocLoader in the uriloader.
r=travis
2000-01-29 06:02:36 +00:00
mscott%netscape.com
ec5a0e3977 (NOT Part of the build yet!!)
Refacting of doc loader into the uri loader
r=travis
2000-01-29 04:41:04 +00:00
mscott%netscape.com
d33b6baf54 Part of docshell/webshell landing prep work. The doc loader is being re-factored into the uri loader.
These files aren't part of the build yet.
r=travis
2000-01-29 04:26:29 +00:00
valeski%netscape.com
365fede8f7 r=rhp. Further extension of the nsIMIMEService. 2000-01-25 02:40:16 +00:00
valeski%netscape.com
449efd53a6 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
norris%netscape.com
8507a58ec3 Files:
caps/include/nsScriptSecurityManager.h
	caps/src/nsScriptSecurityManager.cpp
	modules/libpref/src/init/all.js
Fix
24565 nsScriptSecurityManager::GetSecurityLevel() is a performance
24567 re-write DOM glue security checks to avoid NS_WITH_SERVICE()
r=waterson

Files:
	dom/src/base/nsGlobalWindow.cpp
	layout/base/src/nsDocument.cpp
	layout/base/src/nsGenericElement.cpp
Fix assertion failure for 1-character property names.


Files:
	dom/src/jsurl/nsJSProtocolHandler.cpp
	webshell/src/nsDocLoader.cpp
Fix 18653 "javascript:" URLs cross windows problems (probably regressi
r=nisheeth

Files:
	layout/events/src/nsEventListenerManager.cpp
Fix
23834 document.onkeypress allows sniffing keystrokes
24152 document.onclick shows links from other window
r=joki
2000-01-23 04:23:14 +00:00
mscott%netscape.com
ab00d9bb79 Bug #24174 --> when clicking on a mailto ur, we were bringing up the compose window and
the unknown content handler dialog. we should only be bringing up the compose window =)
r=sspitzer
2000-01-17 22:21:25 +00:00
mscott%netscape.com
a770fdf7e5 loading a uri takes the channel instead of the uri. The caller
must create the channel before call openuri.
r=rpotts.
2000-01-17 19:56:31 +00:00
mscott%netscape.com
0d953fbac3 loading a uri takes the channel instead of the uri. This allows us to remove
several fields from OpenURI interface and allows us to remove the private
post data interface. Now the nsIURILoader interface doesn't need to take
all of the arguments necessary to create a channel.
r=rpotts.
2000-01-17 19:55:27 +00:00
rpotts%netscape.com
be79b9fb76 bug #23055 (r=warren). Added LOAD_DOCUMENT_URI load attribute for the DocLoader to distinguish doc URIs 2000-01-15 06:12:54 +00:00
mscott%netscape.com
6bbb531aa6 Short term hack...allow the uri loading to proceed even if we don't have a load group. eventually we should try to
create a loadgroup for the caller.
2000-01-09 23:45:36 +00:00
rpotts%netscape.com
5dd5ac6a7e Changed URI loader to properly handle stream decoders (ie. mixed-replace) 2000-01-05 04:44:27 +00:00
rpotts%netscape.com
af4f9c2189 Removed obsolete arguments from nsIDocumentLoaderObserver OnEndDocumentLoad and OnStartURLLoad. 1999-12-29 07:32:59 +00:00
rpotts%netscape.com
38fc9e5e0f Removed obsolete method nsIDocumentLoader::LoadOpenedDocument. 1999-12-29 05:10:21 +00:00
rpotts%netscape.com
644d8e02cb DocLoader reorg...Removed the implementations of LoadDocument(...), LoadOpenedDocument(...) and the nsDocumentBindInfo. 1999-12-28 23:22:26 +00:00
rpotts%netscape.com
4d0ab7f287 tweaked the way stream converters are applied to make multipart/x-mixed-replace work without the DocLoader... 1999-12-28 09:20:05 +00:00
rpotts%netscape.com
2331eb43cb Starting to integrate the DocLoader and URI loader... Removed the Channel listener and the need for nsDocumentBindInfo objects. Now all URI loading is done by the URI loader. 1999-12-28 09:16:15 +00:00
morse%netscape.com
68baca2b6f needed for foreign-cookie pref, bug 13655, coded by rpotts, r=morse, a=chofmann 1999-12-18 05:16:18 +00:00
morse%netscape.com
938c7ea840 back out last change temporarily until we can fix leak 1999-12-17 04:05:53 +00:00
morse%netscape.com
532296dc8f Implement reject-foreign-cookies pref, bug 13655, a=chofmann, r=neeti nsDocLoader.cpp 1999-12-17 02:44:22 +00:00
danm%netscape.com
6ad070506f added deathgrip to survive window destruction during onload handler. part of fix for bug 19302. r:hyatt a:chofmann 1999-12-15 02:18:52 +00:00
mscott%netscape.com
6e38a72544 Bug #20698 --> add new uri load command for loading in the background.
When creating the channel, if the uri load command is viewBackground then set the load flag
on the channel appropriately.
1999-12-07 07:14:40 +00:00
mscott%netscape.com
aa86b996e5 Bug #20700 --> fix view source by converting back and forth between nsURILoadCommand's and the old string
style version.
r=travis
1999-12-06 22:32:06 +00:00
warren%netscape.com
6af4802e75 Added buffer size parameters to NewChannel. Allows for optimization of amount of image data consumed. Bug #20408 1999-12-04 10:01:32 +00:00
mscott%netscape.com
9e871b728c fix leak of document bind info when uri loading is turned on. 1999-12-02 09:37:36 +00:00
mscott%netscape.com
a35676baf1 openuri now takes a nsURILoaderCommand
remove protocol scheme check before using the uri loader. this
means that all urls will run through the uriloader regardless of
 type when it gets turned on.
webshell:
doContent and canHandleContent now take a nsURILoaderCommand
modify the handle link click event method to pass in
in the nsIURILoader::viewUserClick command to the uri loader
r=travis
1999-12-02 07:00:17 +00:00
mscott%netscape.com
6a9f99b938 add enumerated type for uri load command. This will allow us
// to distinguish between incoming urls that are a result of user
						// clicks vs. normal views, view source and requires new window
nsIURIContentListener.idl--> doContent and canHandleContent now take a nsIURILoadCommand enum
nsURILoader.cpp --> changes to account for load command enum.
AsyncRead pass in the window context as the url context
(waterson will need this for his chrome cache work)
if we can't find a content handler for the content then go
back to the original window that loaded the url and force
them to handle the content...this is a HACK to force us to run
through the old code path for handling unknown content types
until the new version is online.
r=travis
1999-12-02 06:59:39 +00:00
mscott%netscape.com
1f400f3b8e Add chrome and res urls specs to the list of urls which now work with the uri loader.
Note: you need to enable uri loading under the debug menu for this code to be executed.
1999-12-01 03:21:51 +00:00
mscott%netscape.com
550949370d fix back and forward buttons when using uri dispatching. When we're about to call into the uri loader,
set the mLoadingDocument flag on the doc loader to true.
1999-11-30 22:15:35 +00:00
warren%netscape.com
2db26922a6 Landing no_neckoutil2_branch. Bug #11159. Removes neckoutil_s.lib from build which helps beos and openvms. 1999-11-30 04:50:42 +00:00
mscott%netscape.com
fe78631dc5 uri dispatching nit....retarget the load group if we are opening a channel which has a load group
different from our own.

THIS CODE IS NOT executed unless uri dispatching is turned on.
1999-11-30 00:10:17 +00:00
mscott%netscape.com
ba58eb014a Fix warning. 1999-11-29 21:06:49 +00:00
mscott%netscape.com
e7db7b695c fix case sensitivity of include file 1999-11-29 21:03:41 +00:00
mscott%netscape.com
debf580a73 temporary tweak to doc loader to use private uri loader
with post data stream support if we are trying to load
a url that has a post data stream.
r=travis
1999-11-29 21:01:15 +00:00
mscott%netscape.com
5c41a093ed changes to support private post stream data interface.
changes to support aWindowContext parameter and to remove
the content listener and progress sink as arguments. Instead,
use an interface requestor on the window context to get these.
I was also able to take out the capabilities class as well.
r=travis
1999-11-29 21:00:52 +00:00
mscott%netscape.com
2f9c200f1a add private interface for opening a url with post data
removed content listener and progress sink interfaces from
OpenURI and friends. Instead, pass in a nsISupports window
context. We can use the requestor interface to ask the
window context for the content listener and progress sink.
This reduced the number of arguments to OpenURI by one.
And eventually we'll query the window context for a
docshell / webshell interface which we could pass around.
r=travis
1999-11-29 21:00:14 +00:00
warren%netscape.com
96ec037ac6 Eliminated the libs build pass. 1999-11-28 03:05:01 +00:00
mscott%netscape.com
add180df18 force uri dispatching to always be on if the url we are trying to load
is a mailto url. why? because it works so well for mailto =). No sense
in only allowing people turning uri dispatching on to get the benefits.
r=travis.
1999-11-23 07:14:45 +00:00
rpotts%netscape.com
8026dca974 bug #15342 and #15560. Refactored the LoadGroup and DocumentLoader... 1999-11-22 05:46:03 +00:00
dp%netscape.com
c15646baa6 Convering to GenericModule. 1999-11-20 07:28:11 +00:00
mscott%netscape.com
c9f26d5a2e remove two compile warnings to get me off the warnings list... 1999-11-19 03:04:25 +00:00
mcafee%netscape.com
cdd368478b Removing const to match IDL spec, fixes Solaris/CC. r=mscott 1999-11-18 20:47:57 +00:00
warren%netscape.com
59ef7fadbf Removed the nsICapabilities interface in favor of nsIInterfaceRequestor. 1999-11-18 07:36:41 +00:00
mscott%netscape.com
48c40aade9 Bug #14928 --> phase one of uri dispatching landing. IF uri dispatching is turned on,
invoke the uri loader instead of opening the document ourselves.

Various changes for uri dispatching....

r=travis
1999-11-18 07:07:33 +00:00
mscott%netscape.com
bd05feb4cf make this library 8.3 on windows.
(renamed to urildr)
1999-11-18 06:02:00 +00:00
valeski%netscape.com
442edcfdf4 r=rhp. nsDocumentBindInfo was returning NO_INTERFACE when asked for nsISupports. I can't believe we made it this far w/ that object not able to support nsISupports :/ 1999-11-18 02:19:13 +00:00
mscott%netscape.com
0fefbf1cb0 (not part of the seamonkey build)
CanHandleContent now has an out parameter for desired content type.
Minor re-write of uri loder logic to incorporate stream conversion. If the content listener passes back
a desired content type that is different from the content type that we asked it to handle, we'll
automatically invoke a stream converter. This allows a doc shell which wants to handle say message/rfc822
to request that content be in the form of text/xul (i.e. if it was presenting the content).
1999-11-18 01:02:31 +00:00
mscott%netscape.com
7ecbc0a23d (not part of the seamonkey build)
CanHandleContent now has an out parameter for desired content type.
1999-11-18 01:00:56 +00:00
mscott%netscape.com
2d49596d2e First Checked In. 1999-11-17 22:48:42 +00:00
warren%netscape.com
7a6e9a4e4b Fix for bustage due to channel retargeting changes. 1999-11-17 09:17:04 +00:00
warren%netscape.com
34ecf73507 Necko API and implementation changes for retargeting. Needed for URL dispatching. r=mscott 1999-11-17 08:14:52 +00:00
mscott%netscape.com
a5c1732c80 (not part of the build)
remove obsolete file
1999-11-17 01:46:08 +00:00
mscott%netscape.com
d2b10b5fb2 (not part of the build)
exorcise nsURILoaderCIDs.h
1999-11-17 01:45:25 +00:00
mscott%netscape.com
1a8f61a85d (Not part of the seamonkey build yet)
add manifest idl file for uriloader
1999-11-17 01:43:38 +00:00
mscott%netscape.com
8cc3299e5a I need to add this bogus file to uriloader\macbuild so my mac will pull the directory...
turns out it won't pull empty directories....
1999-11-16 21:16:13 +00:00
tbogard%aol.net
0e82732097 Changed nsDocLoader to get Container by asking nsIWebShell rather than nsIContentViewerContainer. 1999-11-16 01:03:57 +00:00
mscott%netscape.com
3b1f2ae843 (not part of the seamonkey build)
Revamp the uri loader to excusively use AsyncRead instead of AsyncOpen and AsyncRead. With these changes,
we now only need to add the ability to retarget to our protocol channels instead of requiring both
retargeting and AsyncOpen support.

In order to do this, the DocumentOpenInfo object needed to become a nsIStreamListener instead of just
a stream observer.
1999-11-15 21:35:40 +00:00
tbogard%aol.net
2611ac719c Removed temporary QI to nsIContentViewerContainer as nsISupports is what is needed on the parameter anyway. r=pavlov 1999-11-15 07:47:01 +00:00
tbogard%aol.net
c1c0a44226 Changed references to nsIContentViewerContainer to nsISupports in the march to get rid of nsIContentViewerContainer. r=pavlov 1999-11-15 07:29:23 +00:00
mscott%netscape.com
0a37574230 (not part of the seamonkey build...yet!)
Clean up OpenURI api. get rid of the verb, the channel context and the loadgroup as required arguments
to OpenURI.

Add nsUriLoaderEventSinkGetter class. Many method signatures
changed to match the changes to nsIURILoader::OpenURI.
1999-11-10 06:24:40 +00:00
mscott%netscape.com
02db933362 (not part of the build yet!)
Clean up OpenURI api. get rid of the verb, the channel context and the loadgroup as required arguments
to OpenURI.

Add the notion of a open uri context as an in and an out parameter. The open uri context is a cookie which
the caller can later give back to the uri loader when running another url in the same context. It's an ISupports
right now and the type should be opaque to the caller.

Don't require the caller to pass in an event sink getter. We can generate this for them. Do give them the ability
to pass in a nsIProgressEventSink. Note: this parameter is actually going to get changed into a nsIProgressListener
real soon as well. So don't get to used to it.
1999-11-10 06:22:29 +00:00
tbogard%aol.net
764c436e8a Changed the C++ includes to the equivalent of nsIURI and nsIStreamListener IDL versions. I couldn't find them earlier. Thanks to andreas.otte@primus-online.de for pointing the availability of them out to me. 1999-11-06 19:11:09 +00:00
tbogard%aol.net
a2b5afbab9 Changed the some of the forward declared interfaces to be includes of the idl files. This makes the usages of these interfaces easier. Also put in the C++ includes for the nasty dumb interfaces nsIURI and nsIStreamListener which haven't found their homes in IDL yet. 1999-11-06 03:58:15 +00:00
dmose%mozilla.org
142ac52eaf updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
dmose%mozilla.org
5312eacf8c updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:40:37 +00:00
mscott%netscape.com
853c7fc3d9 (not part of the build)
GetProtcocolHandler needs to pass in the uri we are trying to open so the
listener can pick an appropriate p.h. based on the protocol of the uri. (if
they so choose).
1999-11-05 23:26:16 +00:00
mscott%netscape.com
57f8b35d82 (not part of the build)
1) add OpenURIVia support.
2) reimplent DispatchContent so we ask the listener if it can handle the content. Then when (if) we find
a content listener that can handle it, call DoContent.
3) if we can't find a content listener, go to the registry and try to find a registered content handler.
This part isn't finished as eventually i need to be going to the category manager instead of forming
the progid for the content handler myself.
1999-11-05 23:06:16 +00:00
mscott%netscape.com
a7b46de416 Add OpenURIVia which takes a static IP address.
(not part of the build)
1999-11-05 23:03:58 +00:00
mscott%netscape.com
bb4a08477e (not part of build)
Add notion of CanHandleContent. This is supposed to be a light weight method for the implementor
such that the uri loader can ask right off the top if the listener can handle a particular content
type. If it can, then later on, the uir loader may call DoContent to actually handle it.
1999-11-05 22:54:53 +00:00
mscott%netscape.com
765b3659fb add a new line at the end of the file
(not part of the seamonkey build)
1999-11-05 22:53:21 +00:00
mscott%netscape.com
d07b92ce56 (not part of the seamonkey build!)
remove CanHandleConent. I don't think we need this. Also remove notion of getting a parent
content handler. This doesn't make sense anymore for how I'm defining a content handler.
Added progid prefix for content handler.
1999-11-05 22:52:35 +00:00
mscott%netscape.com
906c8e3e6a (not part of the seamonkey build)
define and implement nsDocumentOpenInfo. Implement uri loader::OpenURI. This is the first pass at
my implementation it isn't complete and it doesn't use the registry for getting
 protocol handlers and content handlers yet...but it's a start
1999-11-05 06:01:40 +00:00
mscott%netscape.com
c7e6cb57c3 (not part of the seamonkey build)
include nsISupportsUtils.h
1999-11-05 06:01:05 +00:00
mscott%netscape.com
478b1cc912 (not part of the seamonkey build!)
expanded OpenURI interface to take all the required arguments we need in order to really open the uri.
This includes adding the command, window target, event sink getter, load group and channel context.
Added dispatchContent method which is used by the doc open info's to talk back to the uri loader.
DispatchContent takes an opened channel and the uri content listener.
1999-11-05 06:00:36 +00:00
mscott%netscape.com
4f5cae920f (not part of the seamonkey build!)
doContent now returns a boolean called abortProcess. if the listener wants to handle the content without
 returning a stream listener, i.e. it wants the uri loader to stop doing anything else with this content,
then it returns true for abort process.
1999-11-05 05:59:42 +00:00
mscott%netscape.com
cb664d08ae (not part of the seamonkey build!!)
no longer need nsURILoaderCIDs.h
1999-11-03 03:55:39 +00:00
mscott%netscape.com
193a76f8ba (not part of the seamonkey build!!!!)
name change of nsURIDispatcher to nsIURILoader
1999-11-03 03:53:33 +00:00
tbogard%aol.net
f9e320efbe Changed URIDispatcher to URILoader throughout. 1999-11-02 19:36:43 +00:00
mscott%netscape.com
7463fbd7a6 Add cvsignore file for uriloader\build 1999-11-02 19:21:49 +00:00
mscott%netscape.com
bfccd253b0 (not part of the build!)
add .cvsignore file
1999-11-02 19:21:01 +00:00
mscott%netscape.com
d91dc55b6c this directory is not part of the build!!!
add .cvsignore file
1999-11-02 19:18:04 +00:00
mscott%netscape.com
8ee1bef6d7 this directory isn't part of the build!!!!
add a Makefile for uriloader\build
1999-11-02 19:09:50 +00:00
mscott%netscape.com
3000fd0ba1 (This directory isn't part of the build!!)
Add a Makefile for the uriloader base directory.
1999-11-02 19:09:15 +00:00
mscott%netscape.com
fb292bbb38 (not part of the seamonkey build)
top level Makefile for uriloader
1999-11-01 19:56:25 +00:00
mscott%netscape.com
f12b862bb4 not part of the seamonkey build
add makefile for the uriloader\build directory.
1999-11-01 19:52:49 +00:00
mscott%netscape.com
c12b868552 not part of the seamonkey build
add CID header file and uri loader module class.
1999-11-01 19:52:25 +00:00
mscott%netscape.com
ea478acb6e not part of the seamonkey build.
add top level makefile.win for uriloader.
1999-11-01 19:51:45 +00:00
mscott%netscape.com
09892cb026 not part of the seamonkey build
remove class id and progid from the interface
1999-11-01 19:51:05 +00:00
mscott%netscape.com
a57216e267 (not part of the seamonkey build!)
export nsURIDispatcher.h
1999-11-01 19:49:09 +00:00
mscott%netscape.com
4ab7b6d370 first created. 1999-10-29 21:49:19 +00:00
mscott%netscape.com
0069fa11da Moving URI dispatching code into its new home in mozilla\uriloader. I'll be removing
the existing files that I put in netwerk very soon.
1999-10-29 21:46:18 +00:00
bienvenu%netscape.com
7a53af86e4 add accessor for load group on doc loader r=rpotts 1999-10-27 04:44:42 +00:00
rpotts%netscape.com
08c8e88004 bug #15560. Changed the LoadGroup to fire notifications via PLEvents to stop reenterency. 1999-10-19 19:42:55 +00:00
gagan%netscape.com
19e35c44ca Removed an unneccesary include statement. No bug number. 1999-10-13 10:28:10 +00:00
rpotts%netscape.com
8bd067892e Removed dead code inside of #if 0 blocks... 1999-10-06 21:43:21 +00:00
warren%netscape.com
8603974025 Added AsyncOpen to nsIChannel for URL dispatching. Added ContentLength to InputStreamChannel. (r=rpotts,valeski) 1999-10-06 08:26:01 +00:00
kipp%netscape.com
dd815430d4 Work around a flaw in the doc-loader not handling a RemoveObserver call during an observer notification 1999-10-05 23:57:20 +00:00
rpotts%netscape.com
89f54ea1ae bug #15341 and bug #15344. Use the documentloader observer instead of a stream observer. 1999-10-05 04:04:16 +00:00
rpotts%netscape.com
e0096d3c31 bug #14457. Getting the webcrawler working again for QA... 1999-09-22 22:58:29 +00:00