Commit Graph

284 Commits

Author SHA1 Message Date
edburns%acm.org
8ee33dddde This was tested on win32, and is known to build on win32 and solaris.
Right now, nsIPluginManager::PostURL() has parameters for
postHeadersLength and postHeaders.  However, nothing is being done with
these parameters.  This bug fix utilizes these params for their intended
purpose: to allow the plugin the ability to add HTTP headers to a POST
data stream.

Important assumptions made by this fix:

* postHeadersLength is the correct length for postHeaders.

* postHeaders is a buffer of headers in the form

  "HeaderName: HeaderValue\r\n"

  each header, including the last, MUST be followed by "\r\n".

To affect this fix I had to modify the following files:

M docshell/base/nsDocShell.cpp
M docshell/base/nsDocShell.h
M docshell/base/nsWebShell.cpp
M modules/plugin/nglsrc/nsPluginViewer.cpp
M docshell/base/nsWebShell.h
M layout/html/base/src/nsObjectFrame.cpp
M modules/plugin/nglsrc/nsIPluginInstanceOwner.h
M modules/plugin/nglsrc/nsPluginHostImpl.cpp
M modules/plugin/nglsrc/nsPluginInstancePeer.cpp
M webshell/public/nsILinkHandler.h

Basically, it involved clearing a path so the headers arguments can make
it down to nsIPluginInstanceOwner::GetURL()'s implementation in
nsObjectFrame.cpp, where an nsIInputStream is made of the headers.
2000-09-05 19:03:56 +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
dbaron%fas.harvard.edu
a09c77e4d1 Improve performance of testing for visited links CSS selector matching by reducing string conversion and by caching the state of the link on the link element. r=waterson b=25963 2000-07-27 23:17:53 +00:00
valeski%netscape.com
0c15f59ae9 fixing IID collision, a=leaf 2000-07-19 17:23:20 +00:00
valeski%netscape.com
c7cfdbf6bf adding xpidl module 2000-07-19 00:45:53 +00:00
valeski%netscape.com
a5544d3404 do not need the dot specifier for unix 2000-07-19 00:04:25 +00:00
valeski%netscape.com
bb7748fcb4 45723. idl'ized some ifaces and removed some cruft 2000-07-18 23:21:25 +00:00
valeski%netscape.com
175fa58cd9 45723. r=rpotts. webshell-docshell consolodation changes. 2000-07-18 23:13:07 +00:00
pinkerton%netscape.com
bbe35aaac6 remove .h files that have been moved into idl. r=valeski (bug #45723). 2000-07-18 23:11:33 +00:00
pinkerton%netscape.com
9eeed8a001 First Checked In. 2000-07-18 23:02:39 +00:00
valeski%netscape.com
c00cebef15 not part of the build. adding idl'ized version of this iface 2000-07-18 15:03:16 +00:00
valeski%netscape.com
37ba2e6454 not in build. removing this one as one in docshell is going to replace it 2000-07-18 06:59:30 +00:00
valeski%netscape.com
df0d3cf91a 45723. not part of the build. idl'izing some interfaces. will throw the switch tomorrow 2000-07-18 00:35:55 +00:00
cls%seawood.org
bca014f1bb Removing last vestiges of raptor from unix build. Since some libs were renamed, a 'make distclean' is recommeneded to remove the old copies of those libs. Bug #8228 r=bryner 2000-07-02 18:44:42 +00:00
rpotts%netscape.com
cf3e824449 DocShell cleanup. Removed the implementation of the unused nsIDocSHell::SetDocument() method and moved the implementation responsibility to the nsIContentViewer 2000-06-22 05:38:07 +00:00
waterson%netscape.com
548a65c864 Back out changes my changes to nsILinkHandler because of performance problems. 2000-04-18 04:34:20 +00:00
tbogard%aol.net
03f055f36a Removed the methods dealing with the old session history that is going away. 2000-04-16 11:18:39 +00:00
waterson%netscape.com
a06a8ee723 Bug 12493. Change nsILinkHandler interface to take an nsIURI object instead of a string. This allows necko to canonify URIs before passing them back to global history. r=travis,pierre 2000-04-13 19:55:47 +00:00
tbogard%aol.net
09e4e7acea Removed the remaining methods on nsIWebShellContainer as they are no longer used. 2000-04-11 23:52:27 +00:00
tbogard%aol.net
c82044b570 Removed ProgressLoadURL as it is no longer needed (the rest of nsIWebShellContainer will go away when we finish landing the nsIWebProgressListener interfaces.) Removed CaptureHistoryState, GetHistoryState and SetHistoryState as they shouldn't be called from the outside. 2000-04-02 01:19:26 +00:00
nisheeth%netscape.com
0d2b4b4b46 Fix for bug 15086. These changes bring us up to date with the Feb 2000 XLink Working Draft. Thanks a lot to Heikki (heikki@citec.fi) for providing these patches. 2000-04-01 00:31:13 +00:00
tbogard%aol.net
b5a86d525b Removed all the LoadURL methods from the webshell API. Added a new API to allow loading for the old session history. This is needed until the new session history is online. 2000-04-01 00:29:36 +00:00
alecf%netscape.com
1829d31bed remove bogus nsIPref dependancies 2000-03-29 09:49:24 +00:00
tbogard%aol.net
2e8b47e6ea Removed the command member as it is no longer needed. 2000-03-27 02:34:51 +00:00
pollmann%netscape.com
0be5605d38 Bug 32702: Rename GetHistoryState to CaptureHistoryState (as it is), and add GetHistoryState method, r=nisheeth 2000-03-24 03:36:58 +00:00
tbogard%aol.net
1b902bc213 Removing this as the interface is no longer used and should no longer be used. 2000-03-15 05:03:35 +00:00
rhp%netscape.com
4e23d61267 Changes to fix many bugs including quoting style size - vcard I18N fixes - compose fixes - etc - Bug #: 12505 25610 29806 30048 30744 31207 31589 2000-03-15 01:47:36 +00:00
tbogard%aol.net
509907d4d2 Removed nsIBrowserWindow.h from the export list. 2000-03-14 11:09:48 +00:00
tbogard%aol.net
10feb1dffd Tweaked a comment to not mention nsIBrowserWindow which is going away. 2000-03-14 03:58:45 +00:00
tbogard%aol.net
381178b1ab Removed Back(), Forward(), CanBack(), and CanForward(). People wanting to do these things can use the nsIWebNavigation interface. 2000-03-11 12:00:33 +00:00
norris%netscape.com
9b2edd3c59 Remove mURL from nsWebShell, and GetURL from nsIWebShell.
r=travis
2000-03-11 02:57:39 +00:00
tbogard%aol.net
8caddbb7e7 Removed the HandleUnknownContentType from the interface. 2000-03-11 01:19:40 +00:00
tbogard%aol.net
a676f8f5a8 ContentViewer now takes an nsIWidget instead of a native window. Don't pass the scrolling preferences through the intialization as they are always the same and ignored. 2000-03-11 01:19:12 +00:00
tbogard%aol.net
a57c4603d1 Remove Init, SetDocLoaderObserver, GetDocLoaderObserver, SetParent, GetParent, GetChildCount, AddChild, RemoveChild, ChildAt, GetName, SetName, FindChildWithName, SetChromeEventHandler, GetContentViewer, IsBusy, SetDocument, StopBeforeRequestingURL, StopAfterURLAvailable, GetMarginWidth, SetMarginWidth, GetMarginHeight, SetMarginHeight, SetZoom, GetZoom. These should no longer be used. The docShell APIs should be used intead. 2000-03-11 01:04:28 +00:00
tbogard%aol.net
4eec4fb506 nsIPref is no longer passed around through inits on webshell, content viewers and presContext. In places where it is needed, it can be retrieved from the service manager. I removed a number of the getters and setters for prefs as the prefs will be the same from the service manager so we don't need getters. r=waterson a=rickg 2000-03-02 07:13:02 +00:00
pollmann%netscape.com
982af48162 Bug 28670: Move scroll methods from webshell to docshell r=travis a=rickg 2000-02-29 06:51:48 +00:00
tbogard%aol.net
7ed5fc5209 Removed RemoveFocus, Stop, Reload, and SetContentViewer as these functions are no longer called. Work for 13374 and landing of new session history/ uriloading. r=mscott a=jevering 2000-02-24 04:15:48 +00:00
mscott%netscape.com
567b91995a Bug #17468 --> LoadURL needs to pass around the window target for now.
r=travis
2000-02-16 07:29:50 +00:00
joki%netscape.com
512277b8af Fix bug 4167. Fire unload event before all data is gone to allow action during event handlers. r:travis 2000-02-15 22:55:36 +00:00
tbogard%aol.net
fc8a8d5156 Removed unused method from the interface. r=pavlov 2000-02-14 09:42:30 +00:00
tbogard%aol.net
d6712bba0e Remove a number of now defunct methods on nsIWebShellContainer. And a couple more from nsIWebShell. r=hyatt 2000-02-11 08:29:02 +00:00
mscott%netscape.com
53a556cc79 remove files that are moving to the uri loader as idl files. 2000-01-29 06:05:43 +00:00
mscott%netscape.com
fe58a9d4b6 remove these files from the build.
They are being re-added to the uri loader as idl files.
r=travis
2000-01-29 06:05:22 +00:00
mscott%netscape.com
cbb675dd1b Remove nsIDocumentloader, nsIDocumentLoaderObserver from the builds. These files are now
in the uriloader
r=travis
2000-01-29 06:04:35 +00:00
mscott%netscape.com
645dfa8f72 Part of docshell/webshell landing prep work. The doc loader is being re-factored into the uri loader.
This header file containst the remanents of stuff that was in nsIDocumentLoader but wasn't really
part of nsIDocumentLoader the interface.
r=travis
(not part of the build yet)
2000-01-29 04:27:32 +00:00
hyatt%netscape.com
50bf875c47 Getting rid of createPopup. 2000-01-28 03:05:17 +00:00
dcone%netscape.com
e31204f271 support for regression testing. r=rods 2000-01-26 15:14:41 +00:00
danm%netscape.com
e86a4b53fb adding a parameter to nsIBrowserWindow::SizeWindowTo. part of bug 15555. r:hyatt 2000-01-15 02:30:34 +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