Commit Graph

509 Commits

Author SHA1 Message Date
peterlubczynski@netscape.com
78c49f94b3 Adding pref to enabled double buffering for pages that have plugins on Mac bug=62891 a=av sr=attinasi 2001-04-13 21:30:14 +00:00
peterlubczynski@netscape.com
ca8f8ed3cc Fix for POSTing in embedded plugins bug 63050 r=peterl sr=attinasi Patch by Pollman 2001-04-12 00:09:08 +00:00
peterlubczynski@netscape.com
08ef9ce197 Fix for sending events to plugins on Windows through the DOM bug 60712 r=saari sr=attinasi 2001-04-03 21:32:37 +00:00
peterlubczynski@netscape.com
b7345be738 Fix to make printing OBJECTs safer bug 73846 a=av sr=waterson 2001-03-30 03:07:52 +00:00
peterlubczynski@netscape.com
e80998e34f Plugins no longer get resize events bug 70429 a=av sr=waterson 2001-03-28 01:02:30 +00:00
peterlubczynski@netscape.com
82a2943dae Fix for getting Object Frame (and plugins) getting focus on Mac. Fixes Shockwave typing input bug 68756 a=av sr=sfraser 2001-03-19 23:26:41 +00:00
peterlubczynski@netscape.com
eaa36d919a Fix refcount issue with nsPluginInstanceOwner caused during key event listener registration bug 72236 a=av sr=attinasi 2001-03-19 22:10:23 +00:00
rods@netscape.com
5172ab6e59 Display frame reflow counts (turned via config file define)
Bug 71514 r=kmclusk sr=attinasi
2001-03-13 01:47:22 +00:00
dbaron@fas.harvard.edu
f045d83e9e Clean up string usage (including some leaks and FMMs) and use some nsCOMPtrs to fix leaks on failure in nsObjectFrame::Reflow. b=64209 r=av@netscape.com,disttsc@bart.nl sr=waterson@netscape.com 2001-03-10 03:17:40 +00:00
waterson@netscape.com
f873a70f72 Bug 64670. Clean up and document SplitToContainingBlock(). Specifically: fix stray comma in file; unmuddle replaced frame and its parent in CantRenderReplacedElement(); sanity check args in SplitToContainingBlock(); manage view reparenting in SplitToContainingBlock(); fix nsObjectFrame to only stifle key events if the plugin was really instantiated. r=kmcclusk, saari sr=attinasi 2001-03-06 03:31:29 +00:00
heikki@netscape.com
8b420cbe2e Splitting layout into two libraries, layout and content. r=jst@netscape.com, sr=waterson@netscape.com 2001-02-19 21:50:04 +00:00
peterlubczynski@netscape.com
1a573e261c Fix relative URLs in 'pluginspage' attribute honor BASE tag bug 46405 a=av, sr=buster 2001-02-03 00:43:09 +00:00
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