422 Commits

Author SHA1 Message Date
scc%mozilla.org
90f810b66a 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.
git-svn-id: svn://10.0.0.236/trunk@97289 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-17 05:23:38 +00:00
joe.chou%eng.sun.com
a42e8f2853 Bug 83698 - make sure browser creates proxy JNI before Java plugin doing it
which broke LiveConnect. a=dbaron, sr=jband, r=beard.


git-svn-id: svn://10.0.0.236/trunk@97197 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-15 03:23:11 +00:00
karnaze%netscape.com
4a824a0845 bug 76085 - remove the effects of the patch of bug 64645 against the current tree. a=asa, sr=attinasi, r=peterl
git-svn-id: svn://10.0.0.236/trunk@97033 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-13 02:42:47 +00:00
peterlubczynski%netscape.com
ae3d7c09e2 Fix for BASE HREF not affecting applet bug 59430 patch by alexsavulov r=peterl sr=attinasi a=blizzard
git-svn-id: svn://10.0.0.236/trunk@96434 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-05 17:58:31 +00:00
hyatt%netscape.com
b7b1cb3691 Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson
git-svn-id: svn://10.0.0.236/trunk@96136 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-31 22:19:43 +00:00
valeski%netscape.com
e2736d6096 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.
git-svn-id: svn://10.0.0.236/trunk@95620 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-21 22:40:10 +00:00
karnaze%netscape.com
58b9b2c478 bug 64645 - process children of <object> during frame construction and reflow child if alternate is needed. sr=attinasi, r=peterl
git-svn-id: svn://10.0.0.236/trunk@95504 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-19 02:45:21 +00:00
peterlubczynski%netscape.com
49c8ad09d7 Fix for lost focus for plugins on mac bug 78846 sr=attinasi r=dcone
git-svn-id: svn://10.0.0.236/trunk@95096 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-16 03:46:56 +00:00
peterlubczynski%netscape.com
3cba4fc24b Fix for plugins not resizing correctly in XUL. r=peterl sr=attinasi patch by kens@activestate.com bug 77234
git-svn-id: svn://10.0.0.236/trunk@95088 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-16 02:24:33 +00:00
jst%netscape.com
43eee52859 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.
git-svn-id: svn://10.0.0.236/trunk@94242 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-08 17:42:36 +00:00
karnaze%netscape.com
1e4c3c15b2 bug 5522 - initialize max element size. sr=attinasi, r=peterl.
git-svn-id: svn://10.0.0.236/trunk@93540 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-01 12:42:53 +00:00
peterlubczynski%netscape.com
9749df27cb Fix for [Bug 68756] ObjectFrame needs nsIDOMFocusListener for Mac keyboard events in Shockwave r=karnaze sr=attinasi a=drivers
git-svn-id: svn://10.0.0.236/trunk@93036 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-24 23:24:01 +00:00
peterlubczynski%netscape.com
15ee16d013 Fix for Backspace can't be used in a Flash form (goes back one page) bug 60102 r=attinasi sr=waterson a=roc+moz
git-svn-id: svn://10.0.0.236/trunk@93013 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-24 21:03:27 +00:00
peterlubczynski%netscape.com
4f676e260a Adding pref to enabled double buffering for pages that have plugins on Mac bug=62891 a=av sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@92218 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-13 21:30:14 +00:00
peterlubczynski%netscape.com
23354027d1 Fix for POSTing in embedded plugins bug 63050 r=peterl sr=attinasi Patch by Pollman
git-svn-id: svn://10.0.0.236/trunk@92035 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-12 00:09:08 +00:00
peterlubczynski%netscape.com
841e90d34d Fix for sending events to plugins on Windows through the DOM bug 60712 r=saari sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@91173 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 21:32:37 +00:00
peterlubczynski%netscape.com
3e7edbf8c0 Fix to make printing OBJECTs safer bug 73846 a=av sr=waterson
git-svn-id: svn://10.0.0.236/trunk@90819 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 03:07:52 +00:00
peterlubczynski%netscape.com
6fa34b640c Plugins no longer get resize events bug 70429 a=av sr=waterson
git-svn-id: svn://10.0.0.236/trunk@90601 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 01:02:30 +00:00
peterlubczynski%netscape.com
1816ee238e Fix for getting Object Frame (and plugins) getting focus on Mac. Fixes Shockwave typing input bug 68756 a=av sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@89838 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-19 23:26:41 +00:00
peterlubczynski%netscape.com
a86451a0a3 Fix refcount issue with nsPluginInstanceOwner caused during key event listener registration bug 72236 a=av sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@89814 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-19 22:10:23 +00:00
rods%netscape.com
793e57b78c Display frame reflow counts (turned via config file define)
Bug 71514 r=kmclusk sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@89416 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 01:47:22 +00:00
dbaron%fas.harvard.edu
a0bb9fe8fd 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
git-svn-id: svn://10.0.0.236/trunk@89206 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-10 03:17:40 +00:00
waterson%netscape.com
6bc8f962b4 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
git-svn-id: svn://10.0.0.236/trunk@88628 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 03:31:29 +00:00
heikki%netscape.com
26d94ba9b0 Splitting layout into two libraries, layout and content. r=jst@netscape.com, sr=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@87383 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 21:50:04 +00:00
peterlubczynski%netscape.com
15aff1c4d0 Fix relative URLs in 'pluginspage' attribute honor BASE tag bug 46405 a=av, sr=buster
git-svn-id: svn://10.0.0.236/trunk@86134 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-03 00:43:09 +00:00
saari%netscape.com
3dd49e0040 fix for 656687, plugins don't scroll. r=bnesse, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@85657 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-28 00:37:48 +00:00
bryner%uiuc.edu
f2e3103808 Fixing unix build bustage. r=blizzard.
git-svn-id: svn://10.0.0.236/trunk@85050 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-17 22:16:09 +00:00
saari%netscape.com
f8c0dcb1e6 Fix for 65134, 60712, 65129 r=av, sr=buster Fixing plugin key event handling
git-svn-id: svn://10.0.0.236/trunk@85038 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-17 20:04:09 +00:00
bnesse%netscape.com
f8da87fe4b Fix for Mac plugin positioning problems. Bug 59620. r = peterlubczynski, sr = buster.
git-svn-id: svn://10.0.0.236/trunk@84826 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-11 23:56:35 +00:00
saari%netscape.com
51faef0250 Fix for 58957, plugins on MacOS don't get key events. r=bnesse, sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@84795 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-11 08:22:27 +00:00
peterlubczynski%netscape.com
eb131a985d Null pointer check if no default plugin. part of patch for bug 54437 a=av sr=buster
git-svn-id: svn://10.0.0.236/trunk@84754 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 23:51:07 +00:00
rods%netscape.com
a6e0d47c5a removing most all NS_DEFINE_IID and replacing them with NS_GET_IID macros
Bug 61274, r=buster sr=waterson


git-svn-id: svn://10.0.0.236/trunk@84377 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 20:44:42 +00:00
bnesse%netscape.com
2eca0df02b Fix for Mac plugins getting double mouse events. bug 58814 r=av sr=waterson rtm++
git-svn-id: svn://10.0.0.236/trunk@82286 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-03 23:57:24 +00:00
buster%netscape.com
abad145489 bug 54850 crash when plugin has an inline parent
r=av, r=peterl
a=waterson


git-svn-id: svn://10.0.0.236/trunk@81994 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-30 04:11:59 +00:00
warren%netscape.com
a8b9664a8c Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
git-svn-id: svn://10.0.0.236/trunk@81967 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 22:17:53 +00:00
warren%netscape.com
c6b67eceeb Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
git-svn-id: svn://10.0.0.236/trunk@81885 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 22:43:51 +00:00
beard%netscape.com
a50a3f22b2 Implement GetTagText(). r=jst, sr=waterson, bug #56390.
git-svn-id: svn://10.0.0.236/trunk@81424 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-19 01:37:53 +00:00
peterlubczynski%netscape.com
858d70e1c9 fix for context menus for plugins on the Mac, bug 55822 a=buster r=karnaze
git-svn-id: svn://10.0.0.236/trunk@81317 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-17 23:13:30 +00:00
peterlubczynski%netscape.com
afae9b0488 fix for plugin positioning and clipping, isolated to Mac. b=54962; r=dcone,kmcclusk; a=buster
git-svn-id: svn://10.0.0.236/trunk@81313 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-17 21:45:39 +00:00
vishy%netscape.com
16d8d879d8 sr=mscott, bugscape=2429, Shrimp crashes when closing some windows.
Solution is to release mPluginHost only if non-null.


git-svn-id: svn://10.0.0.236/trunk@80549 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-06 02:45:53 +00:00
peterlubczynski%netscape.com
9654c3e56d Deactivate double buffering for plugins plus fix up position and clip. bug 32327, bug 51787, bug 19931 bug 37126 r=sfraser,pchen a=buster
git-svn-id: svn://10.0.0.236/trunk@80104 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 23:29:26 +00:00
edburns%acm.org
fc704a0841 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


git-svn-id: svn://10.0.0.236/trunk@79099 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 08:22:31 +00:00
rayw%netscape.com
d9228441a4 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren


git-svn-id: svn://10.0.0.236/trunk@79036 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 23:57:52 +00:00
dougt%netscape.com
bc3a80f52f Fixing error codes. r=waterson.
git-svn-id: svn://10.0.0.236/trunk@78791 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 22:56:15 +00:00
dougt%netscape.com
f6edad2f99 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
git-svn-id: svn://10.0.0.236/trunk@78754 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 20:27:25 +00:00
sean%beatnik.com
f17a1ac850 fix for bug 47840. When resolving the absolute url for plugin content, use the document's url as the base. r=av a=brendan
git-svn-id: svn://10.0.0.236/trunk@78192 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 23:40:07 +00:00
edburns%acm.org
f4ed6ebe07 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.


git-svn-id: svn://10.0.0.236/trunk@78153 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 19:03:56 +00:00
av%netscape.com
b20d79675e Fixing #44993, added style visibility check to the object frame, r=buster
git-svn-id: svn://10.0.0.236/trunk@78078 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-03 20:54:26 +00:00
locka%iol.ie
09805179ae API changes for embedding. b=46847, r=dougt, a=valeski
git-svn-id: svn://10.0.0.236/trunk@77213 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 18:39:46 +00:00
edburns%acm.org
e4cefe435f bug=36212, bustage
r,a=HurricaneSherrif
This checkin fixes a problem using the ?: operator and nsCOMPtr.


git-svn-id: svn://10.0.0.236/trunk@77117 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 21:48:01 +00:00