Commit Graph

997 Commits

Author SHA1 Message Date
saari@netscape.com
b08e18d232 fix for 656687, plugins don't scroll. r=bnesse, sr=waterson 2001-01-28 00:37:48 +00:00
bryner@uiuc.edu
eda7007871 Fixing unix build bustage. r=blizzard. 2001-01-17 22:16:09 +00:00
saari@netscape.com
96c5228b94 Fix for 65134, 60712, 65129 r=av, sr=buster Fixing plugin key event handling 2001-01-17 20:04:09 +00:00
bnesse@netscape.com
6dbc5bcd2e Fix for Mac plugin positioning problems. Bug 59620. r = peterlubczynski, sr = buster. 2001-01-11 23:56:35 +00:00
saari@netscape.com
1d81928ae3 Fix for 58957, plugins on MacOS don't get key events. r=bnesse, sr=hyatt. 2001-01-11 08:22:27 +00:00
peterlubczynski@netscape.com
5b288a1db1 Null pointer check if no default plugin. part of patch for bug 54437 a=av sr=buster 2001-01-10 23:51:07 +00:00
rods@netscape.com
c0ed0d0271 removing most all NS_DEFINE_IID and replacing them with NS_GET_IID macros
Bug 61274, r=buster sr=waterson
2001-01-04 20:44:42 +00:00
bnesse@netscape.com
bf9338b169 Fix for Mac plugins getting double mouse events. bug 58814 r=av sr=waterson rtm++ 2000-11-03 23:57:24 +00:00
buster@netscape.com
06955ec6e0 bug 54850 crash when plugin has an inline parent
r=av, r=peterl
a=waterson
2000-10-30 04:11:59 +00:00
warren@netscape.com
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
warren@netscape.com
7730ce0cd3 Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson 2000-10-27 22:43:51 +00:00
beard@netscape.com
e3b2e46dd5 Implement GetTagText(). r=jst, sr=waterson, bug #56390. 2000-10-19 01:37:53 +00:00
peterlubczynski@netscape.com
2702ca2412 fix for context menus for plugins on the Mac, bug 55822 a=buster r=karnaze 2000-10-17 23:13:30 +00:00
peterlubczynski@netscape.com
51bce974ca fix for plugin positioning and clipping, isolated to Mac. b=54962; r=dcone,kmcclusk; a=buster 2000-10-17 21:45:39 +00:00
vishy@netscape.com
c80311f0b5 sr=mscott, bugscape=2429, Shrimp crashes when closing some windows.
Solution is to release mPluginHost only if non-null.
2000-10-06 02:45:53 +00:00
peterlubczynski@netscape.com
795b7cb34b Deactivate double buffering for plugins plus fix up position and clip. bug 32327, bug 51787, bug 19931 bug 37126 r=sfraser,pchen a=buster 2000-09-28 23:29:26 +00:00
edburns@acm.org
ae81174800 a=brendan, ekrock
r=av, sean@beatnik.com
bug=50547

This change allows the plugin to have a greater degree of control over
the plugin lifecycle.  This change makes it possible for the plugin to
tell mozilla:

1. Whether or not they want to allow the browser to cache their
instance.  Default is yes, do allow the browser to cache their instance.

2. If they answer no to 1, that is, no the plugin does not want the
browser to cache their instance, do you want the shutdown calls to be:

a.

          inst->SetWindow(nsnull);
          inst->Stop();
          inst->Destroy();


b.

          inst->Stop();
          inst->Destroy();
          inst->SetWindow(nsnull);

a. is the default.

Please visit the bug to see the patches:

http://bugzilla.mozilla.org/show_bug.cgi?id=50547

Detail:

This fix was requested by Stanley Ho of the Sun Java Plugin Team.  A
conference call between Eric Krock, Andrei Volkov, Sun, Adobe and other
plugin vendors was used to agree on the above solution.

M modules/plugin/public/nsplugindefs.h
M modules/plugin/nglsrc/nsPluginHostImpl.cpp
M modules/plugin/nglsrc/nsPluginViewer.cpp
M layout/html/base/src/nsObjectFrame.cpp
2000-09-14 08:22:31 +00:00
rayw@netscape.com
c6334366cb 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
dougt@netscape.com
7f612af5c8 Fixing error codes. r=waterson. 2000-09-11 22:56:15 +00:00
dougt@netscape.com
a45fdd22e0 Fixes 51759. If we ship without a plugin manager as we can do for embedding, we crash loading most pages with plugins. This change basically returns an error from Reflow if we cant get the plugin manager component. r=valeski 2000-09-11 20:27:25 +00:00
sean@beatnik.com
a3e98cc5f6 fix for bug 47840. When resolving the absolute url for plugin content, use the document's url as the base. r=av a=brendan 2000-09-05 23:40:07 +00:00
edburns@acm.org
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
av@netscape.com
70f1f65277 Fixing #44993, added style visibility check to the object frame, r=buster 2000-09-03 20:54:26 +00:00
locka@iol.ie
eceb4c06f4 API changes for embedding. b=46847, r=dougt, a=valeski 2000-08-25 18:39:46 +00:00
edburns@acm.org
97cd24b8fb bug=36212, bustage
r,a=HurricaneSherrif
This checkin fixes a problem using the ?: operator and nsCOMPtr.
2000-08-24 21:48:01 +00:00
edburns@acm.org
fd6ee00ecd bug=36212, bustage
r,a=waterson
This checkin fixes a problem using the ?: operator and nsCOMPtr.
2000-08-24 20:56:40 +00:00
akkana@netscape.com
45432962fe Fix build bustage 2000-08-24 20:52:44 +00:00
edburns@acm.org
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
scc@mozilla.org
65b345cbfe fixing code that relied on implicit string construction 2000-08-19 22:23:46 +00:00
roc+@cs.cmu.edu
929ba40c30 Adding call to new view API so that the view of a fixed-position frame has a Z-order/clipping parent which is not its geometric parent. Bug 39621. r,a=waterson 2000-08-12 19:44:11 +00:00
av@netscape.com
fc6a5a4000 Fixing #8740, r=serge 2000-08-08 04:45:03 +00:00
waterson@netscape.com
64f49b2455 Bug 37622, redux. Case insensitive compare that I meant to check in way back when, but didn't. This was really part of the first patch, but didn't make it in because I checked in from the wrong machine. 2000-07-27 05:09:40 +00:00
waterson@netscape.com
8033d60c79 Bug 37622. Hackery to get <embed hidden='true'> to work. Check hidden attribute; if set, size to (0, 0) and don't create a widget. r=pavlov,blizzard. 2000-07-19 23:46:43 +00:00
valeski@netscape.com
629043ee05 45723. r=rpotts. webshell-docshell consolodation changes. 2000-07-18 23:13:07 +00:00
av@netscape.com
5cdebba837 #44422, r=buster 2000-07-11 23:10:29 +00:00
bnesse@netscape.com
21d3da1d85 Removed code which was painting rectangles over the plugin objects on the Mac. Bug #41016. r=av 2000-07-11 20:06:05 +00:00
cls@seawood.org
2e87aef444 Start tedious process of removing obsolete mozilla/include files from build. This patch should take us down to 19 of 101. Bug #38061 2000-07-10 07:13:31 +00:00
beard@netscape.com
39788014dc bug #42100, Carbon compatibility. r=gordon, saari, pinkerton, sfraser 2000-06-20 23:10:06 +00:00
attinasi@netscape.com
740c97509f Removed code that was printing the word 'embed'. b=37558 r=buster a=leger 2000-06-05 21:21:48 +00:00
av@netscape.com
6a4e62d131 Fixing 40765, r=buster, a=hamerly 2000-06-02 20:20:35 +00:00
av@netscape.com
7c04ae296d nsbeta2+ fix for 17169, cheking in ftang's patch 2000-05-26 22:24:35 +00:00
shaver@mozilla.org
a619a73c60 add content-policy hooks to <embed>/<applet>/<object> handling (#37983, r/a=brendan) 2000-05-25 13:32:42 +00:00
buster@netscape.com
cd62ab7593 fixed bug 35777
r=av@netscape.com

The problem was the object frame was assuming it was at offset y=0 within it's parent frame when calculating a percent height.  This is an invalid assumption.
Instead, we now measure from the top of the containing block.  This still isn't 100% correct, but it is the right parent to be measuring margin from.
2000-05-22 21:36:35 +00:00
pavlov@netscape.com
d264c0090b fix build bustage 2000-05-17 03:24:43 +00:00
pavlov@netscape.com
2d15c3f4b4 changes all usages of NS_NewTimer to CreateInstance 2000-05-17 02:49:35 +00:00
jst@netscape.com
f694e94874 Updating nsIContent to allow accessin the attribute prefix and not only the attribute name and value. 2000-05-17 00:21:53 +00:00
rusty.lynch@intel.com
facea3f066 Fix for bug #37165 (Unknown protocol handler in embed/object src attribute
kills plug-in.) r=av
2000-05-07 16:48:06 +00:00
av@netscape.com
4c64272ab9 Fixing mismatched addref/release pair 2000-04-26 21:47:45 +00:00
troy@netscape.com
3cb3cfefb2 Reinstated clipping code which had been backed out because it caused
a problem for XUL layout. I added a workaround for the XUL problem
2000-04-25 04:43:11 +00:00
putterman@netscape.com
18cce22621 Backing out troy's changes to fix various UI blocker bugs. 2000-04-24 22:15:55 +00:00