Commit Graph
44 Commits
Author SHA1 Message Date
[email protected] 0462ea4ce8 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
[email protected] cbbf5385d4 Removed extra 0 arg 2000-10-27 23:21:30 +00:00
[email protected] 7730ce0cd3 Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson 2000-10-27 22:43:51 +00:00
[email protected] c05e057a42 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
[email protected] eced31d76a bug=36212
a=waterson,av
r=av,waterson

Here is what I believe to be the correct fix.
This post correspondes to the fix,
second iteration attachments.
M modules/plugin/nglsrc/nsIPluginInstanceOwner.h
M modules/plugin/nglsrc/nsPluginHostImpl.cpp
M modules/plugin/nglsrc/nsPluginInstancePeer.cpp
M modules/plugin/nglsrc/nsPluginViewer.cpp
M layout/html/base/src/nsObjectFrame.cpp

This checkin modifies nsIPluginInstanceOwner::GetURL
to have a length parameter for the post data.
2000-08-24 19:49:08 +00:00
[email protected] 0aaf97b668 Bug 46777. Redesigned stream interfaces to allows stream observers to be decoupled from pipe implementation. Needed for embedding to fix 'spin' problem. r=rpotts,valeski,ruslan 2000-08-22 07:03:33 +00:00
[email protected] c0ecb28a05 #26893, moved GetDOMElement from nsIPluginTagInfo to nsIPluginTagInfo2.h 2000-04-18 21:44:56 +00:00
[email protected] 7d84871f49 # 25555
r= [email protected]
OS/2 changes for Mozilla - add #ifdef, change #ifdef
2000-02-28 15:00:30 +00:00
[email protected] d459b2ef64 Converting usage of ::GetIID() to NS_GET_IID().
Bug #20232, [email protected]
2000-01-11 20:49:15 +00:00
[email protected] 67d086eea8 Bug 22598. r=vidur 2000-01-05 01:18:38 +00:00
[email protected] 4bbdfac392 1.) WebShell no longer implements nsIScriptContextOwner.
2.)  WebShell now implements the new nsIScriptGlobalObjectOwner.
3.)  WebShell supports GetInterface to nsIScriptGlobalObject.
4.)  Documents no longer carry around a reference to nsIScriptContextOwner.  Instead they hold on to a nsIScriptGlobalObject.  nsIDocument::GetScriptContextOwner has now become nsIDocument::GetScriptGlobalObject().  Same change to the set methods.
1999-12-03 09:36:54 +00:00
[email protected] a4a1ff5b4d Fix for bug 18899 ('Make "--enable-oji" as part of the default Mozilla
Build').  Modified files that conditionally compiled in support for
OJI, replacing with code that looks for OJI as an XPCOM service, and
failing gracefully if the OJI XPCOM service is not found.  The four
files modified by this fix are the only active ones; other modules
that conditionally compile in support for OJI appear to be dead code.

[email protected].  Fix contributed by Jayashri Visvanathan
([email protected]).
1999-12-03 00:26:09 +00:00
[email protected] 20621227af updated xPL license boilerplate to v1.1, [email protected],[email protected] 1999-11-06 03:43:54 +00:00
[email protected] b9757302ac Adding buffered output to nsIFileStream.
Renaming nsIFile to nsIOpenFile.
commenting out a testcase in FilesTest.cpp which fails.  evil, i know.
1999-09-08 20:12:35 +00:00
[email protected] c8c435ce55 reverting GetDocumentBase() to be consistent with other accessors. If we decide to change this, let's change ALL of them. 1999-08-03 02:51:39 +00:00
[email protected] d8347ab442 Cleaning memory allocation bug #9855 1999-07-30 23:51:53 +00:00
[email protected] f4820ebef9 BeOS changes 1999-06-29 11:36:21 +00:00
[email protected] 644d0307aa More necko changes. Changed nsIPluginTagInfo2::GetDocumentBase to copy string. 1999-06-23 19:55:21 +00:00
[email protected] 835f1bb281 Moved WriteFrom to nsIBufferOutputStream. Made necko pass around buffer streams. 1999-06-08 20:57:32 +00:00
[email protected] 7d8af52836 Bug fixes with plugin instance caching. We now keep track of a plugin instance's start/stop state. 1999-06-04 22:32:27 +00:00
[email protected] 3b0567a14d IDLized stream interfaces. Required rename of overloaded Write method (now WriteFrom). 1999-06-03 21:50:47 +00:00
[email protected] c3e955a950 Getting windowless plugin stuff into 1999-05-27 23:20:09 +00:00
[email protected] b25ea84bfc added GetJSContext() 1999-05-08 16:33:40 +00:00
[email protected] 70c61cf8fb Added support for Start/Stop Applet/Plugin lifetimes. 1999-05-07 22:06:47 +00:00
[email protected] 5b8cf49d88 Added Write(nsIInputStream) and Flush to nsIOutputStream. 1999-04-22 07:31:03 +00:00
[email protected] 527b9cf20d added GetJSThread() 1999-04-12 03:12:48 +00:00
[email protected] e74e041024 enable OJI on unix. 1999-04-07 05:20:54 +00:00
[email protected] 1587730dcb Changes to hook up LiveConnect on Windows 1999-03-29 22:18:05 +00:00
[email protected] 7d0e0a0381 implementing nsIPluginInstancePeer2. 1999-03-25 03:31:37 +00:00
[email protected] 7fd838b4ac fix build bustage, nsIScriptContextOwner.h can't be found except on XP_MAC. Will land on other platforms eventually. 1999-03-24 07:16:41 +00:00
[email protected] ceb47ffcbd added GetJSWindow 1999-03-24 05:40:02 +00:00
[email protected] 5faecf6857 Made destructors virtual, added APIs to nsIPluginHost for determining if a plugin is available
for a particular mimetype or file extension.
1999-03-23 03:18:12 +00:00
[email protected] 0e72ca3351 Adapt to an API change. 1999-03-13 06:39:17 +00:00
[email protected] d193d08d41 Redesigned plugin cache code for StreamAsFile operations. Removed NEW_PLUGIN_STREAM_API ifdefs. 1999-03-11 22:48:58 +00:00
[email protected] a10411244b Directly calling const char* const() operator to avoid ambiguity on Solaris. [email protected] 1999-03-06 04:42:08 +00:00
[email protected] da47a68fce Fixing nsCOMPtr usage for unix. 1999-03-06 00:07:06 +00:00
[email protected] 118b87bb09 Removed the offset parameter from the base stream interfaces. Implemented string streams. 1999-03-05 22:53:56 +00:00
[email protected] c493d2d0b4 Files Sudu's script failed to check in 1999-01-25 09:00:42 +00:00
[email protected] d3f635520a Added NPN_NewStream() functionality. Currently uses a temp file between the plugin stream and the target.
I will remove this file in-between as soon as I get a little more stream help from netlib.
1999-01-04 23:43:41 +00:00
[email protected] f5c529ef2f added support for plugintaginfo2 and jvmtaginfo. 1998-09-27 22:24:54 +00:00
[email protected] 892db0865b new plugin world. 1998-09-15 03:48:58 +00:00
[email protected] 112b8c65d7 Checked in some bug fixes from michaelp to make fullscreen plugins work better/more often 1998-09-09 23:52:16 +00:00
[email protected] dd722c3ecf latest changes to get plugins working... 1998-08-05 04:21:36 +00:00
[email protected] b5c5efe67c changes for plugin support. 1998-08-01 05:46:47 +00:00