Commit Graph

230 Commits

Author SHA1 Message Date
peterlubczynski@netscape.com
4fe2952c89 Fix for crash with garbage in nsGUIEvent bug 87112 sr=sfraser r=ccarlen 2001-07-10 02:52:50 +00:00
waterson@netscape.com
cd08397f52 Bug 85422. Since nsIContent::GetDocument() may now sometimes return a null document back-pointer due to paint suppression, be extra paraniod with a sprinkle of null-check fairy dust. r=brendan, sr=attinasi 2001-07-04 05:54:09 +00:00
jaggernaut@netscape.com
baba14c5c8 Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.

nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)
2001-06-30 11:02:25 +00:00
peterlubczynski@netscape.com
442de2db43 Fix for Shockwave registration bug 85334 r=av sr=attinasi 2001-06-29 00:29:44 +00:00
peterlubczynski@netscape.com
93a1ba8143 Oops...last log entry was for bug 86075 2001-06-22 07:06:24 +00:00
peterlubczynski@netscape.com
f3e8e59575 Fix for <object> causing table width to be enormous patch by piskozub@iopan.gda.pl (Jacek Piskozub) r=peterl sr=jst/hyatt a=blizzard 2001-06-22 07:04:24 +00:00
av@netscape.com
fb56256a12 Fixing 80105 -- adding check for null before release, r=peterl, sr=attinasi, a=roc+moz@cs.cmu.edu 2001-06-19 22:39:39 +00:00
av@netscape.com
028ae7d08c Fix for 44322 -- implementation of windowless pluign API, patch by dbrittain@superscape.com and av, r=(av, peterl), sr=attinase, a=dbaron 2001-06-18 21:41:57 +00:00
scc@mozilla.org
ee1d678864 bug #85271: sr=waterson, r={beard, jag, dbaron}, a=asa. Eliminate features of |nsXPIDLC?String| that keep it out of the string hierarchy (i.e., using assigment to rebind ownership, static |Copy| members, and |getter_Shares|), fixing some leaks in the process. 2001-06-17 05:23:38 +00:00
joe.chou@eng.sun.com
9804dff55b Bug 83698 - make sure browser creates proxy JNI before Java plugin doing it
which broke LiveConnect. a=dbaron, sr=jband, r=beard.
2001-06-15 03:23:11 +00:00
karnaze@netscape.com
ef78c97321 bug 76085 - remove the effects of the patch of bug 64645 against the current tree. a=asa, sr=attinasi, r=peterl 2001-06-13 02:42:47 +00:00
peterlubczynski@netscape.com
4bb7bcc466 Fix for BASE HREF not affecting applet bug 59430 patch by alexsavulov r=peterl sr=attinasi a=blizzard 2001-06-05 17:58:31 +00:00
hyatt@netscape.com
dfdfa14592 Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson 2001-05-31 22:19:43 +00:00
valeski@netscape.com
addbf6a47b sr=vidur/shaver@mozilla.org on the content policy callsite and implementation mods (81260). Update of the nsIContentPolicy interface to provide more generic context, a nsIURI instead of a URI wstring, and a nsIDOMWindow for window level context. Existing Callsites have been updated to reflect the new changes, and nsIDOMWindows are now passed into the new API. 2001-05-21 22:40:10 +00:00
karnaze@netscape.com
3c2ad21105 bug 64645 - process children of <object> during frame construction and reflow child if alternate is needed. sr=attinasi, r=peterl 2001-05-19 02:45:21 +00:00
peterlubczynski@netscape.com
e651412eb5 Fix for lost focus for plugins on mac bug 78846 sr=attinasi r=dcone 2001-05-16 03:46:56 +00:00
peterlubczynski@netscape.com
a13e4bb1f6 Fix for plugins not resizing correctly in XUL. r=peterl sr=attinasi patch by kens@activestate.com bug 77234 2001-05-16 02:24:33 +00:00
jst@netscape.com
f1391a5b83 Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com. 2001-05-08 17:42:36 +00:00
karnaze@netscape.com
b609e5a077 bug 5522 - initialize max element size. sr=attinasi, r=peterl. 2001-05-01 12:42:53 +00:00
peterlubczynski@netscape.com
93526342f7 Fix for [Bug 68756] ObjectFrame needs nsIDOMFocusListener for Mac keyboard events in Shockwave r=karnaze sr=attinasi a=drivers 2001-04-24 23:24:01 +00:00
peterlubczynski@netscape.com
d8c0a89ba9 Fix for Backspace can't be used in a Flash form (goes back one page) bug 60102 r=attinasi sr=waterson a=roc+moz 2001-04-24 21:03:27 +00:00
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