Commit graph

506 commits

Author SHA1 Message Date
karnaze%netscape.com
e908dd0313 bug 68998 - added extra param to Paint, PaintChild, PaintChildren used by tables in standard mode. sr=waterson, r=alexsavulov. 2001-09-19 12:35:19 +00:00
edburns%acm.org
0032f800c7 bug=98107
r=peterl
sr=rpotts

/* According to the HTML 4.01 spec, at
                       * http://www.w3.org/TR/html4/types.html#type-cdata
                       * ''User agents may ignore leading and trailing
                       * white space in CDATA attribute values (e.g., "
                       * myval " may be interpreted as "myval"). Authors
                       * should not declare attribute values with
                       * leading or trailing white space.''
                       */
2001-09-19 03:34:17 +00:00
peterlubczynski%netscape.com
8727eab1d0 Implement plugin printing bug 27478 r=av,beard sr=attinasi 2001-09-18 02:11:09 +00:00
mkaply%us.ibm.com
051c211df1 #83698
r=beard, sr=jband
This code was previously r/sr for XP_UNIX. Because the OS/2 Java plugin is based on the Unix Java plugin, we need this fix too.
2001-09-14 21:16:19 +00:00
peterlubczynski%netscape.com
3943a56f95 Fix for crash when checking for a sub document bug 96579 r=av sr=attinasi 2001-09-12 20:43:40 +00:00
peterlubczynski%netscape.com
f94929cc86 Correct ussages of data= for object tags embedding documents bug 97799 r=dcone sr=attinasi 2001-09-12 04:00:52 +00:00
edburns%acm.org
c87e337f09 r=peterl
sr=waterson
a=asa


modules/plugin/base/src/nsIPluginInstanceOwner.h
modules/plugin/base/src/nsPluginHostImpl.cpp
modules/plugin/base/src/nsPluginHostImpl.h
modules/plugin/base/src/nsPluginViewer.cpp
modules/oji/src/nsJVMManager.cpp
modules/oji/src/nsJVMManager.h
layout/html/base/src/nsObjectFrame.cpp
xpfe/global/resources/locale/en-US/region.properties


Here's what I did to fix this bug.

I pestered Rick Potts about the problem of
nsIWebBrowserChrome->SetStatus() not being synchronous.  He fixed that
under bug 97227.

Taking advantage of Rick's fix to 97227, I modified
nsIPluginInstanceOwner to have new method, ShowStatus(const PRUnichar
*aStatusMsg).  This is necessary to allow for localized messages to be
posted from the plugin, such as "Starting plugin for type
application/x-java-vm" or "Beginnen steckbar f�r Art
application/x-java-vm".

I modified all the implementations of nsIPluginInstanceOwner:

  layout/html/base/src/nsObjectFrame.cpp
  modules/plugin/base/src/nsPluginViewer.cpp

I inserted a call to nsIPluginInstanceOwner->ShowStatus() at the part
just before the big "whole damn app freezes when starting java" thing
happens.

I also modifed nsJVMManager.cpp ShowJavaConsole() to do the same.  These
are the two places I know of now that can start java.
2001-09-05 03:58:34 +00:00
peterlubczynski%netscape.com
f9570a0602 Fix for not setting reflow state on object frame in printing case bug 97563 r=av sr=attinasi 2001-09-05 02:45:48 +00:00
peterlubczynski%netscape.com
fbeb63c657 Fix for crash on Mac when we don't have an mWidget, bug 83155 Browser crashes when trying to load html parameter test on mac, r=bnesse sr=waterson 2001-08-17 22:52:12 +00:00
bryner%netscape.com
422834eff1 Bug 66835 - fix method hiding warnings by renaming some methods on nsIContent. r=jag, sr=jst. 2001-08-17 08:14:14 +00:00
av%netscape.com
5893e07753 Fix for 89672 -- topembed, crash on exit with xpcom plugin, r=peterl, sr=waterson 2001-08-17 00:45:25 +00:00
peterlubczynski%netscape.com
73453e9057 Plugging leaking contentType from previous check-in. 2001-08-16 04:54:07 +00:00
peterlubczynski%netscape.com
196d33ffdc Fix for text/html and text/plain OBJECTs don't work bug 678 r=av sr=attinasi 2001-08-16 03:02:05 +00:00
av%netscape.com
fe7e6cc3e7 Fix for 82980 -- check for SRC attribute in addition to DATA added, r=peterl, sr=attinasi 2001-08-16 00:14:14 +00:00
cls%seawood.org
a3c1dd1b09 Use NS_PTR_TO_INT32 macros to do 64-bit safe pointer conversions.
Bug #20860 r=Roland.Mainz@informatik.med.uni-giessen.de sr=brendan@mozilla.org
2001-08-14 07:59:59 +00:00
peterlubczynski%netscape.com
9fd40ef3a3 Fix for windowless plugins don't draw in the correct place when scrolled bug 93056 patch by dbrittain@superscape.com r=peterl sr=waterson 2001-08-07 01:50:32 +00:00
peterlubczynski%netscape.com
964ba1e659 Adding nsIDOMMouseMotionListener to fix Windowless plugins do not receive mouse/keyboard events bug 90574 r=av sr=waterson 2001-08-07 01:48:14 +00:00
peterlubczynski%netscape.com
bd1f73175a Move code for showing content viewer out of object frame, part of bug 93105 r=av sr=waterson 2001-08-02 00:03:29 +00:00
dbaron%fas.harvard.edu
5c0b6349e6 Split nsIContentViewer::destroy into close and destroy so we can trigger teardown both at the beginning and at the end of paint suppression. Move the PresShell's teardown from its destructor into new Destroy method so it happens at the end of paint suppression. Also clean up nsDocumentViewer.cpp a bit. b=80203,89626 r=hyatt sr=waterson 2001-08-01 03:15:50 +00:00
dbaron%fas.harvard.edu
0ab924e19b Backing out changes for 80203 and 89626 to fix blocker 92325 and probably also blocker 92443. 2001-07-26 20:53:21 +00:00
dbaron%fas.harvard.edu
5948e0ab2d Split nsIContentViewer::destroy into close and destroy so we can trigger teardown both at the beginning and at the end of paint suppression. Move the PresShell's teardown from its destructor into EndObservingDocument so it happens at the end of paint suppression. b=80203,89626 r=hyatt sr=waterson 2001-07-25 04:30:59 +00:00
av%netscape.com
2687f126fc Fix for bug 90152 -- corrected logic for displaying an alt content of the object tag, r=peterl, sr=watercon 2001-07-24 22:45:14 +00:00
dbaron%fas.harvard.edu
aa4fec2b67 Header include dependency cleanup. b=64023 r=jag rs=brendan 2001-07-16 02:40:48 +00:00
peterlubczynski%netscape.com
5c0a9158c3 Fix for Shockwave games not working bug 90173 r=av sr=attinasi 2001-07-14 01:36:45 +00:00
bnesse%netscape.com
345a818aba Fix for bug 85231. Free nsTimer in PluginInstance to eliminate MLK and crash caused by it. r=av, peterl. sr=scc. 2001-07-11 02:29:45 +00:00
peterlubczynski%netscape.com
a3703928fc Slightly change pluign timer interval to fix url bar on Mac bug 88936 r=bnesse sr=sfraser 2001-07-10 03:59:39 +00:00
peterlubczynski%netscape.com
7d9fc3deba Fix for crash with garbage in nsGUIEvent bug 87112 sr=sfraser r=ccarlen 2001-07-10 02:52:50 +00:00
waterson%netscape.com
5709f7405c 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
5a6317b8a5 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
d768cc430c Fix for Shockwave registration bug 85334 r=av sr=attinasi 2001-06-29 00:29:44 +00:00
peterlubczynski%netscape.com
85e16867b9 Oops...last log entry was for bug 86075 2001-06-22 07:06:24 +00:00
peterlubczynski%netscape.com
f4b2a93398 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
1bd75f3811 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
ff513c7423 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
a8fb409c6e 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
18436aed08 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
c6129b18b0 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
bf605eb2f2 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
b135c5b55a Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson 2001-05-31 22:19:43 +00:00
valeski%netscape.com
206a778ca4 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
941dbfa0ef 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
52a3f26b3d 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
596df47d91 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
ea706038cf 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
9516920471 bug 5522 - initialize max element size. sr=attinasi, r=peterl. 2001-05-01 12:42:53 +00:00
peterlubczynski%netscape.com
9fbeb87966 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
27e2638e76 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
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
attinasi%netscape.com
e0876002ed 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
6a19b9b86a Fixing 40765, r=buster, a=hamerly 2000-06-02 20:20:35 +00:00
av%netscape.com
fb87fec2d5 nsbeta2+ fix for 17169, cheking in ftang's patch 2000-05-26 22:24:35 +00:00
shaver%mozilla.org
d7b33a74cd add content-policy hooks to <embed>/<applet>/<object> handling (#37983, r/a=brendan) 2000-05-25 13:32:42 +00:00
buster%netscape.com
23476f617b 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
45a70d5703 fix build bustage 2000-05-17 03:24:43 +00:00
pavlov%netscape.com
803190ad4b changes all usages of NS_NewTimer to CreateInstance 2000-05-17 02:49:35 +00:00
jst%netscape.com
930a889eb7 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
10d2d8fa15 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
f665eca50b Fixing mismatched addref/release pair 2000-04-26 21:47:45 +00:00
troy%netscape.com
6b04c3b5fa 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
42e26161e8 Backing out troy's changes to fix various UI blocker bugs. 2000-04-24 22:15:55 +00:00
troy%netscape.com
9b393faa48 Changes to bring clipping inline with upcoming CSS2 errata 2000-04-23 00:56:16 +00:00
rods%netscape.com
21de9f3e8a Add ifdef'ed Performance Reflow Counting code 2000-04-21 14:59:47 +00:00
jband%netscape.com
1a6a4ffc83 extracted the declaration of nsObjectFrame into a separate .h file so that it can be accessed by nsHTMLEmbedElement.cpp. This is needed to fix bug 32150 2000-04-14 22:48:30 +00:00
tbogard%aol.net
ec564797d5 Get the service for the plugin host. Don't bother requesting it from the container. 2000-04-13 02:53:18 +00:00
scc%netscape.com
e37740acdb making string conversions explicit 2000-04-03 11:39:09 +00:00
warren%netscape.com
727f312b32 Necko API changes: primarily nsIChannel, changing initialization parameters to accessors. Got javascript: evaluation to happen at the right time (when AsyncRead is called) as well as on the right thread. 2000-03-29 03:58:50 +00:00
av%netscape.com
6007243de2 Fix for 33447, r=serge 2000-03-28 01:01:49 +00:00
scc%netscape.com
0f4a2b3d8c small changes to clients of string converting APIs 2000-03-26 10:06:21 +00:00
pierre%netscape.com
4d43de09aa Fix 32199 (visibility:collapse is not being interpreted as hidden on block and inline level elements) and parts of 21701 (misuse of style attr mVisible). In the following files, replacing disp->mVisible with disp->IsVisible() is a BUG FIX: nsBlockFrame, nsBulletFrame, nsHRFrame, nsHTMLContainerFrame, nsImageFrame, nsTextFrame. In all the other files, replacing disp->mVisible with disp->IsVisible() or disp->IsVisibleOrCollapsed() is merely a SYNTACTICAL CHANGE. The respective owners will later review the use of IsVisibleOrCollapsed() and in some cases replace it with IsVisible(). See bug 21701. 2000-03-17 10:15:13 +00:00
tbogard%aol.net
7b6b143608 Use the nsIWebBrowserChrome interface to set the status rather than the old nsIBrowserWindow interface. 2000-03-11 00:41:57 +00:00
av%netscape.com
0271ec9277 Fix for 27486, r=stanley.ho@eng.sun.com, a=rickg 2000-03-02 01:57:14 +00:00
av%netscape.com
035f4468fc Fix for 27486, r=rickg, a=rickg 2000-02-26 00:14:16 +00:00
av%netscape.com
12bfe22dc4 Fixing 27486, r=beard 2000-02-25 01:02:53 +00:00
av%netscape.com
31d1739ac9 Added check for null pointer to avoid possible crashes, could be reason for 27558 2000-02-16 01:49:42 +00:00
pp%ludusdesign.com
58065dda04 Converting ::GetIID() into NS_GET_IID(). Bug #20232. r=scc, r=mozbot 2000-02-02 22:24:56 +00:00
michael.lowe%bigfoot.com
6696fa133b Repeating, prioritised timer implementation for Windows and Gtk (bug 22979). author={Win32=michael.lowe@bigfoot.com, Gtk=alex@cendio.se}, r={kmcclusk,rods,sfraser,et al} a=brendan 2000-01-21 21:56:09 +00:00
av%netscape.com
7ded49fa53 Fix for #18679 2000-01-19 00:31:52 +00:00
av%netscape.com
67ea41bb94 Bug 22598. r=vidur 2000-01-05 01:18:38 +00:00
tbogard%aol.net
22cbc2c1bb Fixing some places when talking to the webshell object to start talking through the new docshell interfaces. 1999-12-18 02:09:29 +00:00
hyatt%netscape.com
de2eaede42 Implementing a generalized recycler and arena for all layout frames. Hoping to improve
bug #9489.  Should also definitely fix bug #15916. r=troy
1999-12-04 23:49:50 +00:00
warren%netscape.com
2db26922a6 Landing no_neckoutil2_branch. Bug #11159. Removes neckoutil_s.lib from build which helps beos and openvms. 1999-11-30 04:50:42 +00:00
tbogard%aol.net
af1ce8d410 Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc 1999-11-24 06:03:41 +00:00
troy%netscape.com
597b5f236b WillReflow/DidReflow changes and changes to the way view positioning
and sizing works
1999-11-19 15:33:29 +00:00
tbogard%aol.net
cfc00042fa Changed QueryCapability to use the new interface requestor. r=pavlov 1999-11-14 10:22:00 +00:00
av%netscape.com
ca533a122e Fix for bug 16302. Added counting margins when calculating the object size, r=nisheeth 1999-11-11 00:00:07 +00:00
dmose%mozilla.org
5312eacf8c updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:40:37 +00:00
cls%seawood.org
bee74e223b Removed unused NECKO ifdefs.
a=leaf
1999-11-02 23:34:03 +00:00
troy%netscape.com
1585a751fb Moved a bunch of stuff out to a nsIFrameDebug interface 1999-11-01 22:12:45 +00:00
troy%netscape.com
87afecabc0 Changed SetView/GetView to take an additional argument which is the
pres context
1999-10-26 04:44:41 +00:00
av%netscape.com
4e9cabb770 Bug 15178, r=vidur adding check for null-pointer avoiding crash 1999-10-08 23:46:23 +00:00
av%netscape.com
a3ce92faff Fixing bug #8036, reviewd by beard 1999-09-30 08:07:23 +00:00
mjudge%netscape.com
e8f13ffdd6 aproved leaf. reviews sfraser. checking for null stopping crash 1999-09-28 00:13:19 +00:00
troy%netscape.com
5c61cb8ef4 Added frame type for OBJECT frame 1999-09-13 21:26:05 +00:00
av%netscape.com
b6788ffcc5 Fixing bug 7509 1999-09-08 00:12:26 +00:00
pinkerton%netscape.com
bb33f01d50 remove refs to nsIContentConnector 1999-08-27 04:30:48 +00:00
av%netscape.com
e41767be1f Setting some default size to objects with unknown size, bug #8740 1999-08-09 23:41:55 +00:00
av%netscape.com
c2b8a3650e Removing old code 1999-08-05 22:55:05 +00:00
beard%netscape.com
53b68810ba reverting GetDocumentBase() to be consistent with other accessors. If we decide to change this, let's change ALL of them. 1999-08-03 02:51:39 +00:00
av%netscape.com
375bb0259f fixing bug #8290 1999-07-27 01:35:30 +00:00
troy%netscape.com
c551fe3166 Renamed DeleteFrame() to Destroy() 1999-07-22 02:24:52 +00:00
troy%netscape.com
155ed6816a Added 'm' prefix to some of the nsHTMLReflowState data members 1999-07-20 03:41:03 +00:00
rickg%netscape.com
23b232d248 switch to faster string search API 1999-07-19 03:29:56 +00:00
kipp%netscape.com
0bfd6a27a3 Removed some compiler warnings 1999-07-14 17:29:45 +00:00
kipp%netscape.com
87e4c2d72f Removed HaveFixedContent* methods from nsHTMLReflowState and updated code to match (fix bug #7993) 1999-07-07 02:33:17 +00:00
edburns%acm.org
16d14a952f Stanley Ho's REFLOW_MODS change. 1999-07-07 00:32:01 +00:00
av%netscape.com
a9b3b8dc60 Enabling stuff checked in earlier 1999-06-27 00:05:05 +00:00
warren%netscape.com
fbd6d1dc57 Necko ifdefs for layout and rdf. 1999-06-26 06:36:26 +00:00
warren%netscape.com
4001aade80 Renamed nsIURLGroup to nsILoadGroup in preparation for necko. 1999-06-25 02:17:37 +00:00
av%netscape.com
4aabe84866 Fixing build problem 1999-06-24 21:34:37 +00:00
av%netscape.com
9a84b40ce1 fixes getting right hdc foe winless plugin painting, disabled yet 1999-06-24 20:55:33 +00:00
warren%netscape.com
15272e93b7 More necko changes. Changed nsIPluginTagInfo2::GetDocumentBase to copy string. 1999-06-23 19:55:21 +00:00
warren%netscape.com
1f76168d21 Renamed nsIURL to nsIURI in preperation for necko. More NECKO ifdefs too. 1999-06-23 03:29:44 +00:00
valeski%netscape.com
e23b3c673c NECKO ifdef (ifdef'd _off_ by default) this checkin should not impact anything. checkin approved. If someone runs into a problem, call me at 303.546.0061. 1999-06-18 17:34:08 +00:00
beard%netscape.com
faf9928aef Bug #5677: Reenabled drawing images referenced by <OBJECT> tags, fixed a crashing bug on the Mac as a result. a=chofmann, r=pierre 1999-06-17 00:58:07 +00:00
av%netscape.com
2808e253e4 Hooking up event passing to winless plugins 1999-06-15 05:28:23 +00:00
av%netscape.com
ad244932bd Cleaning up 1999-06-14 22:35:46 +00:00
av%netscape.com
bec64804f6 *** empty log message *** 1999-06-13 06:18:35 +00:00
av%netscape.com
e3b6bd77c1 *** empty log message *** 1999-06-13 06:11:33 +00:00
av%netscape.com
c507c2c8b3 *** empty log message *** 1999-06-13 06:06:12 +00:00
av%netscape.com
7eab79e8e3 *** empty log message *** 1999-06-13 06:00:56 +00:00
av%netscape.com
88039a278d *** empty log message *** 1999-06-12 21:32:49 +00:00
av%netscape.com
9419f45af9 *** empty log message *** 1999-06-11 22:48:50 +00:00
av%netscape.com
e5b943bd76 *** empty log message *** 1999-06-08 06:07:51 +00:00
av%netscape.com
a19f86580c *** empty log message *** 1999-06-05 20:47:14 +00:00
av%netscape.com
d4ebba11cb Hooking up events for winless plugins 1999-06-05 20:09:21 +00:00
amusil%netscape.com
765491b880 Fixed bug with Java-targeted object tags. 1999-06-04 22:33:13 +00:00
av%netscape.com
7422658130 Getting windowless plugin stuff into 1999-05-27 23:20:09 +00:00
pinkerton%netscape.com
bcbf04e3d0 remove references and cid's for tree, toolbar, and content connector widgets. These no longer exist. 1999-05-27 23:17:14 +00:00
beard%netscape.com
cadbc9037b Fixed some serious ref count bugs using nsIURL when instantiating plugins. 1999-05-14 22:45:46 +00:00
kipp%netscape.com
4846f41f1f Reworked frame factory methods; fixed bug 4519 1999-05-11 22:03:29 +00:00
beard%netscape.com
0fea208890 XP_MAC: ensuring that clipRect field of nsPluginWindow is in port coordinates, per original plugin specification. 1999-05-08 16:33:10 +00:00
amusil%netscape.com
d09ab3b9cf Added object tag support for applets. 1999-05-07 22:07:58 +00:00
av%netscape.com
1ae10bcadf Override SetInitialChildList for nsObjectFrame 1999-05-06 00:54:36 +00:00
troy%netscape.com
1da7ecea54 Removed some code that wasn't needed and would leak any child frames
that were passed in
1999-04-27 20:24:27 +00:00
amusil%netscape.com
a474d58cbc Added support for applets specified by the object tag (which use the "classid:java"
attribute instead of "code").
1999-04-23 22:52:10 +00:00
rickg%netscape.com
85e7dbb767 updates to sync with nsString2 api 1999-04-21 23:35:12 +00:00
amusil%netscape.com
9b3402e2e6 Fixed bug with flow of control - reflows after the first one no longer call
CantRenderDisplacedElement() when it's not supposed to.
1999-04-21 23:25:20 +00:00
sspitzer%netscape.com
192e63fa70 fix UNIX build bustage. this won't build with -pendatic 1999-04-21 02:31:02 +00:00
av%netscape.com
096226647f Turning on previous changes 1999-04-20 21:45:26 +00:00
av%netscape.com
7a990f37bf Added width and height attributes for images 1999-04-20 21:07:26 +00:00
av%netscape.com
c57d83a3c9 Fixing logic in Reflow for differrent objects. Still ifdefed out 1999-04-15 20:07:01 +00:00
amusil%netscape.com
49b390ae3d Fix for Bug# 4751. Added support for data param in addition to src param 1999-04-09 21:23:41 +00:00
av%netscape.com
77d2952691 Cleaning up 1999-04-06 01:16:53 +00:00
amusil%netscape.com
389230902c Changes to hook up LiveConnect on Windows 1999-03-29 22:18:05 +00:00
av%netscape.com
1319e66d48 Image recognition by file extension for object tag 1999-03-27 01:00:02 +00:00
kipp%netscape.com
60f52440cb Whacked paint methods to use new constants 1999-03-26 00:39:35 +00:00
beard%netscape.com
ae08c8a9a9 added nsPluginInstanceOwner::GetDocument() 1999-03-24 05:42:22 +00:00
amusil%netscape.com
c917a07581 Added prelim code for ActiveX support. 1999-03-23 03:18:55 +00:00
beard%netscape.com
4943b7bdb4 added CancelTimer() method to turn off the timer at a safe time; added NS_GetObjectFramePluginInstance() to access the associated plugin instance with an nsObjectFrame; fixed some attribute accessor bugs, returns an error if an attribute doesn't exist; implemented GetArchive() and GetMayScript(); added GUItoMacEvent(). 1999-03-21 20:48:31 +00:00
beard%netscape.com
dbf2668a93 put in NULL checks for mInstance. 1999-03-20 23:13:41 +00:00
av%netscape.com
c593e9bc2a M3 -- Fix for bug #1157 1999-03-18 21:26:15 +00:00
beard%netscape.com
07880ee6a5 reverted back to kISupportsIID. It seems not all compilers can handle ::nsISupports::GetIID() from inside an XPCOM interface. Yech. 1999-03-13 02:20:57 +00:00
beard%netscape.com
6722afc97e forcing nsISupports to global scope to resovle ambiguity (VC is very weak) 1999-03-13 00:12:13 +00:00
beard%netscape.com
e8f39af705 now passing events to plugins, generating idle events with an nsITimer, all XP_MAC changes for the most part. 1999-03-12 22:46:14 +00:00
amusil%netscape.com
4cccceb77f Minor API change. Added support for tags that don't specify SRC or DATA params. 1999-03-11 22:50:58 +00:00
av%netscape.com
f01d0d4fa7 *** empty log message *** 1999-03-11 00:17:38 +00:00
av%netscape.com
aaad99ca98 Rendering alt context in object tag 1999-03-10 20:43:07 +00:00
warren%netscape.com
4b2d56fbaa nsRepository -> nsIComponentManager changes. 1999-03-09 09:44:27 +00:00
kipp%netscape.com
661f7ec31b Implement GetFrameName 1999-03-08 19:26:45 +00:00
warren%netscape.com
66b920f8d6 Fixed uninitialized variable problem. 1999-03-06 03:54:19 +00:00
kipp%netscape.com
8661fd6122 use new nsHTMLReflowState ctors 1999-03-05 04:29:11 +00:00
av%netscape.com
e845f0123f *** empty log message *** 1999-02-27 00:57:04 +00:00
scc%netscape.com
5f8d7aa381 updated for nsCOMPtr (no implicit construction from raw pointers) owners should check that they agree with my choices for |dont_QueryInterface|, |do_QueryInterface| and |dont_AddRef| 1999-02-18 23:55:10 +00:00
kipp%netscape.com
36c243cdc0 COMized nsIPresShell and nsIPresContext 1999-02-12 17:45:58 +00:00
troy%netscape.com
9d570499cf Changed a bunch more nsIFrame member functions to be pointer arguments
instead of references
1999-02-10 05:38:18 +00:00
troy%netscape.com
b974e26cea Changed some nsIFrame member functions to use ** instead of *& for OUT
paremeters
1999-02-10 00:42:56 +00:00
michaelp%netscape.com
0084e8879d modified for new DrawString()/GetWidth() APIs. 1999-01-28 05:03:58 +00:00
amusil%netscape.com
43c91b3dff *** empty log message *** 1999-01-25 10:10:29 +00:00
hyatt%netscape.com
ab7046faba Added code to support CLSID instantiation. Approved by amusil and av. 1999-01-16 02:43:51 +00:00
peterl%netscape.com
e86b440abd better base URL support
Checkin during red tree approved by sar
1999-01-15 01:57:58 +00:00
amusil%netscape.com
0adb3694fe Temporary workaround so that plugins display correctly. This will change after support for
CSS borders and padding are added.
1999-01-04 23:45:38 +00:00
troy%netscape.com
4591f9d2ad Changed width/height constraints in nsHTMLReflowState struct 1998-12-30 17:50:00 +00:00
peterl%netscape.com
887cd5f867 sync to new attribute api 1998-12-20 01:21:23 +00:00
kipp%netscape.com
c29e5116c7 Revised frame Paint API 1998-12-18 15:54:23 +00:00
kipp%netscape.com
a9cbdcd957 nuked some tabs; added in comment to note where max-element-size computation should be fixed up 1998-12-17 18:55:13 +00:00
warren%netscape.com
0580a8e5c4 Networking changes: Reworked nsIURL, adding setters, factoring Open. Unsigned arguments for nsIStreamListener. 1998-12-16 05:40:20 +00:00
troy%netscape.com
2a4b2c503f Added Init() member function to nsIFrame 1998-12-03 06:31:43 +00:00
amusil%netscape.com
e960e8007a Bug fix for 1201. Now use the size parameters from the object tag as a determinant of size. 1998-11-17 23:29:20 +00:00
michaelp%netscape.com
7a9e1a4bc1 changes for pixel scaling/printing. 1998-11-14 01:52:27 +00:00
vidur%netscape.com
d5fc2aaaea Added support for XLink - simple links and show=replace or new. Modified nsILinkHandler interface. 1998-11-14 00:21:19 +00:00
michaelp%netscape.com
dff35cf838 removed widget parameters from nsIView::Init(). added CreateWidget() and SetWidget()
APIs to replace this functionality. also added CreateScrollControls() to
nsIScrollableView.
1998-11-04 04:14:10 +00:00
michaelp%netscape.com
d2b75b1ba9 changed nsIView::Init() so that it no longer takes an opacity value. this
allows the view manager to maintain global state re: opacity.
1998-11-03 06:36:36 +00:00
troy%netscape.com
fe4e76d9d9 Renamed HaveConstrainedWidth() and HaveConstrainedHeight() to HaveFixedContentWidth()
and HaveFixedContentHeight()
1998-11-01 01:29:00 +00:00
michaelp%netscape.com
15de205f12 changes for removal of zindex from nsIView::Init(). 1998-10-27 03:37:03 +00:00
troy%netscape.com
e2b6409d3e Changed scrolling view to use a clip view and to slide the scrolled
view up and down rather than maintain a logical scrolled offset
1998-10-19 00:44:28 +00:00
kipp%netscape.com
a77548baff Removed nsCSSLayout::GetStyleSize and converted callers to use state in the html reflow state 1998-10-12 17:00:32 +00:00
troy%netscape.com
7aceb4270d Eliminated nsIRunaround interface, and folded space manager parameter into
nsHTMLReflowState structure
1998-10-02 04:10:00 +00:00
troy%netscape.com
ba3c7125c2 Separated reflow process out of nsIFrame and into nsIFrameReflow. Also
added nsIHTMLReflow, which is an HTML specific reflow interface
1998-10-01 04:46:11 +00:00
michaelp%netscape.com
772fdb4c44 massive changes to support java plugins. 1998-09-27 22:42:48 +00:00
michaelp%netscape.com
7e087302bd cleaned up some link jumping nonsense. 1998-09-15 20:22:37 +00:00
michaelp%netscape.com
ba705e616a changes for new plugin world. 1998-09-15 03:46:52 +00:00
kipp%netscape.com
4023d729c3 Revised factory method argument order (normalized) 1998-09-01 01:35:19 +00:00
warren%netscape.com
b89e7efaca Renamed NSRepository to nsRepository. 1998-09-01 00:26:28 +00:00
troy%netscape.com
ad9a20da0b Changes nsIView and nsIScrollableView interfaces to conform to
XPCOM conventions
1998-08-30 19:16:11 +00:00
kipp%netscape.com
c6290fa577 XPCOM'ized nsIContent and nsIHTMLContent 1998-08-29 20:20:38 +00:00
troy%netscape.com
acaa6d2f0e Change to object lifetime management. Views are no longer ref counted 1998-08-08 04:23:33 +00:00
michaelp%netscape.com
2de3fff6bf added tags for plugins. 1998-08-05 04:22:51 +00:00
michaelp%netscape.com
3b372e2026 another hack to get Unix to be happy. 1998-08-01 23:02:14 +00:00
michaelp%netscape.com
ef12e2e29f plugin changes. 1998-08-01 05:47:53 +00:00
peterl%netscape.com
714146a525 rounding support 1998-07-31 23:34:45 +00:00
kipp%netscape.com
6123acf9b9 Disabled widget&view for now; render the object so that people know code is coming 1998-07-29 19:33:48 +00:00
michaelp%netscape.com
c9901356f0 hooked up the plugin manager to the webshell. 1998-07-27 23:08:52 +00:00
michaelp%netscape.com
96cf645164 modified for new streaming APIs. 1998-07-23 20:35:43 +00:00
kipp%netscape.com
dd74c045ef Set max-element-size when computing reflow metrics 1998-07-21 21:20:55 +00:00
kipp
658a22492a Indent tweak 1998-07-15 17:05:59 +00:00
troy
a90fe8e1de Changed Reflow() member function to take a reference to a nsIPresContext
instead of a pointer
1998-07-15 02:53:09 +00:00
kipp
fdbc836e19 new 1998-07-15 00:22:30 +00:00