Commit graph

209 commits

Author SHA1 Message Date
peterlubczynski%netscape.com
7219c89732 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
995b858e61 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
68d2f85ebd 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
3f9c4eabbc Fix to make printing OBJECTs safer bug 73846 a=av sr=waterson 2001-03-30 03:07:52 +00:00
peterlubczynski%netscape.com
f79318b3c0 Plugins no longer get resize events bug 70429 a=av sr=waterson 2001-03-28 01:02:30 +00:00
peterlubczynski%netscape.com
7e5c1f6f02 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
9289d13ff6 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
f225ff8a67 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
3a2e589c7c 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
e73bef750d 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
5c811dfbf3 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
6f70103ae3 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
bac0fcbdb5 fix for 656687, plugins don't scroll. r=bnesse, sr=waterson 2001-01-28 00:37:48 +00:00
bryner%uiuc.edu
35b59d3e00 Fixing unix build bustage. r=blizzard. 2001-01-17 22:16:09 +00:00
saari%netscape.com
96e9de534c 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
dace2d2333 Fix for Mac plugin positioning problems. Bug 59620. r = peterlubczynski, sr = buster. 2001-01-11 23:56:35 +00:00
saari%netscape.com
f43a9765bb 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
8d852ff6bc 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
edb0c6270c 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
9161e324c5 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
9adbc64e63 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
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
9a6d92a433 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
a5f922e26e Implement GetTagText(). r=jst, sr=waterson, bug #56390. 2000-10-19 01:37:53 +00:00
peterlubczynski%netscape.com
ca29b6ae1c 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
9ade627796 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
53d03b49e8 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
3c353a9435 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
eee39a1304 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
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
dougt%netscape.com
09a4bb02bb Fixing error codes. r=waterson. 2000-09-11 22:56:15 +00:00
dougt%netscape.com
a7d77f33f2 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
43d1da3111 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
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
av%netscape.com
41dcfdd44a Fixing #44993, added style visibility check to the object frame, r=buster 2000-09-03 20:54:26 +00:00
locka%iol.ie
ecebe2ac21 API changes for embedding. b=46847, r=dougt, a=valeski 2000-08-25 18:39:46 +00:00
edburns%acm.org
4857682d61 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
679c3b9ae4 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
072251197b Fix build bustage 2000-08-24 20:52:44 +00:00
edburns%acm.org
6929c922f5 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
eb0aaea827 fixing code that relied on implicit string construction 2000-08-19 22:23:46 +00:00
roc+%cs.cmu.edu
e48b1ae6a0 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
52d1151fbc Fixing #8740, r=serge 2000-08-08 04:45:03 +00:00
waterson%netscape.com
45a991a10b 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
eb10ce3a1a 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
175fa58cd9 45723. r=rpotts. webshell-docshell consolodation changes. 2000-07-18 23:13:07 +00:00
av%netscape.com
1c72f33a9a #44422, r=buster 2000-07-11 23:10:29 +00:00
bnesse%netscape.com
23b031d8d8 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
e87a1b7b11 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
1c926d81a2 bug #42100, Carbon compatibility. r=gordon, saari, pinkerton, sfraser 2000-06-20 23:10:06 +00:00