Commit Graph

490 Commits

Author SHA1 Message Date
peterlubczynski%netscape.com
ed6c60e365 Fixing problems with showing/hiding Mac plugins. Specifically, these problems:
* Mouse events "bleeding through" tabs so that a plugin in one tab responds to mouse movements in another (bug 120875)
* dynamic control of CSS visiblity property with plugins on mac (can hide/show plugins) (bug 137230)
* Plugins incorrectly show up on top of documents and in the wrong place in print preview. This fix will also them to be hidden like they are on other platforms. (bug 133992)
r=av sr=beard
2002-05-02 22:47:49 +00:00
peterlubczynski%netscape.com
011462ea16 Adding extra event call (WM_WINDOWPOSCHANGED) for windowless plugins on Windows so that they are updated with their position and bounds. Bug 135737, r=av, sr=attinasi 2002-05-02 20:46:22 +00:00
peterlubczynski%netscape.com
1fef229506 Correctly set visibility of view on DidReflow for cases when our CSS visibility style has changed from visible (windows part) bug 129306 r=av sr=attinasi 2002-04-13 02:43:58 +00:00
peterlubczynski%netscape.com
54b90e52ee Fixing HIDDEN attribute on EMBED tag and also removing support for it for APPLET tags. Bug 136456 r=av sr=attinasi 2002-04-13 01:53:23 +00:00
serge%netscape.com
014a6bcfd1 fix #94895, Flash movie is constantly stopped and restarted, r=peterl, sr=beard 2002-04-11 03:27:00 +00:00
rods%netscape.com
ca589fdb8d Generically enables the browser to cache the curent presentation (frames,
views, et.al.) for Print Preview and then enables them to be restored.
It uses a pref and/or checks all the documents to see if any have an "embed" or
a "plugin". Temporarily it checks for framesets and turns on caching also.
I also factored some code in the Init routine so it could be callled for either
creating the new presention or initializing an existing one.
Also, added some safety check code in PrintPage.
Then for the object frame, for PP it doesn't do a paint - this is a temporary fix.
Bug 122048 r=peterl sr=attinasi a=asa
2002-03-26 11:43:40 +00:00
peterlubczynski%netscape.com
6c0a3b4f5d Fixing ussage of codebase attribute and Java applets loading, bug 130605 patch by adu@sparc.spb.su (Denis Antrushin) r=peterl, sr=beard, a=asa 2002-03-26 06:42:10 +00:00
peterlubczynski%netscape.com
656e798f68 Cleaning up dead code left from fix for bug 118721, patch by dbrittain@superscape.com (David Brittain), bug 132262 r=peterl, sr=attinasi, a=scc 2002-03-26 06:38:53 +00:00
peterlubczynski%netscape.com
0152f1f7f1 Implementing nsIPluginTagInfo2::GetDocumentEncoding(), patch by adu@sparc.spb.su (Denis Antrushin) bug 131197 r=peterl, sr=beard, a=asa 2002-03-26 06:33:48 +00:00
cbiesinger%web.de
0604302118 bug 104906 r=pavlov sr=tor a=asa
imgRequest::SniffMimeType and nsUnknownDecoder::SniffForImageMimeType should be one function
2002-03-23 13:21:33 +00:00
av%netscape.com
90ee4e2b2f Fix for 99324 -- initializing variables, patch by mhammond@skippinet.com.au, r=av, sr=beard, a=scc 2002-03-22 04:19:10 +00:00
bnesse%netscape.com
d49b1fa6d2 Fix for bug 126578. Initialize the event record on OS X without using the system's EventAvail function to eliminate excess window erases and redraws. r=sdagley, sr=beard, a=asa. 2002-03-19 22:10:45 +00:00
peterlubczynski%netscape.com
3c5ced0393 Cleaning up nsPluginInstanceOwner::GetHeight and ::GetWidth bug 40185 r=av sr=attinasi a=asa 2002-03-19 15:39:45 +00:00
peterlubczynski%netscape.com
ad422a7ccb Remove JAVA_CLASS_ID support from OBJECT tag bug 108557 patch by Denis Antrushin (adu@sparc.spb.su) r=peterl sr=beard a=asa 2002-03-18 00:01:00 +00:00
mkaply%us.ibm.com
24a43d1548 OS/2 bustage - need cast here 2002-03-13 04:01:56 +00:00
rods%netscape.com
bd9bc62f8e Change getters of widgets to nsCOMPtrs to get rid of leaks.
Bug 129933 r=dcone sr=attinasi a=roc
2002-03-12 14:16:57 +00:00
nisheeth%netscape.com
49b8ae3e8c Ongoing fix for bug 81446. r=peter lubcynzski. sr=jst. a=asa. Fixes leaks of PARAM elements which now get destroyed when the document goes away. This fix ddoes away with 394206 bytes of leaks described in bugs 129423, 129424, 129425, 129429. We still leak memory across reloads of the same page so bug 81446 is being left open. 2002-03-11 21:52:32 +00:00
bnesse%netscape.com
81f57168cc Fix for bug 129151. Initialize all fields in the message object. r=beard, sr=alecf, a=asa. 2002-03-08 19:42:44 +00:00
cbiesinger%web.de
6dc708c085 partially fixes bug 41333, Adding a new image type is way too complicated
r=pavlov sr=tor a=asa
2002-03-08 18:58:57 +00:00
peterlubczynski%netscape.com
d1445caf1f Fix for windowless plugins not painting in the right place, bug 118721 patch by mailto:dbrittain@superscape.com r=peterl sr=roc+moz a=asa 2002-03-08 15:49:43 +00:00
peterlubczynski%netscape.com
bdade5d500 Fix for % sizing of object frame, bug 106602 r=serge sr=attinasi a=roc+moz 2002-03-07 15:22:24 +00:00
darin%netscape.com
f1a6738b6c fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa 2002-03-06 07:48:55 +00:00
peterlubczynski%netscape.com
f732ce82db Fixing keyboard event bustage for Mac plugins bug 110190 r=sdagley sr=beard 2002-02-20 03:23:50 +00:00
roc+%cs.cmu.edu
808e50f18c Bug 91516. Safeguard view traversal in nsObjectFrame so it doesn't walk out the current document. r=peterl,sr=attinasi 2002-02-19 21:22:23 +00:00
peterlubczynski%netscape.com
2895dcd901 Fix derefing null pointer during print preview of java.sun.com bug 125396 r=av sr=attinasi 2002-02-16 05:12:45 +00:00
rods%netscape.com
224588e46f 1) It moves the BeginDocument to a earlier place in the call change
2) Fixes the negitive page range display problem
3) Improves performance by reducing the delay on pages not in the page range, i.e. before if you printed the 30th page out of 31 you had to wait 15 secs to get to the 30th page to print it.
4) Added AbortDocument, so now when Print jobs are cancelled we call AbortDocument and remove them from the print spooler
5) Fixed a couple of minor issue with Canceling and cancelling mail printings
6) selection was not printing correctly. The problem with selection was that the clip was not being set corrctly.
Bug 115227 & 123181 r=dcone,sspitzer sr=attainasi
2002-02-12 13:33:39 +00:00
bzbarsky%mit.edu
97aad157b6 Relanding the Compare --> Equals conversion. a=mcafee 2002-02-10 15:49:46 +00:00
bzbarsky%mit.edu
228f6acb38 Testing performance impact of backout of part of patch from bug 115289.
See bug 123947 for details. a=mcafee
2002-02-09 19:00:56 +00:00
bzbarsky%mit.edu
40d60f39ec Convert Compare() to Equals() where possible now that we can do
case-insensitive Equals().  Bug 115289, r=alecf, sr=jag
2002-02-05 02:03:07 +00:00
peterlubczynski%netscape.com
9bb7573f07 Restore consuming of keypress events and don't pass them to plugins also give windowless plugins focus when mouse clicked bug 122501 r=kmcclusk@netscape.com sr=beard 2002-02-02 00:23:30 +00:00
peterlubczynski%netscape.com
acb3e271ae Fix for plugins not being able to get handle to doc's window if plugin is HIDDEN because it has no view. Use the pres shell instead. bug 123059 r=ToddTaylor sr=beard 2002-02-02 00:07:20 +00:00
serge%netscape.com
49f7429098 fix #115308, NPN_PostURL[Notify] does not handle binary data; r=bnesse, sr=darin 2002-01-30 02:40:46 +00:00
peterlubczynski%netscape.com
3a9427fab8 Fix for Plugin paints in the wrong part of the screen when on an absolute Div or scrolled bug 120821 r=kmcclusk@netscape.com sr=beard 2002-01-29 02:36:54 +00:00
roc+%cs.cmu.edu
71f8f6558e Bug 13213. Allow views to extend above and to the left of their owner frames. r=kmcclusk,rs=waterson 2002-01-27 07:56:23 +00:00
alexsavulov%netscape.com
cf5fed63ad fix for bug 70972 (object element does not respect CSS width and height
for non-plugins) r= peter lubczynski sr= attinasi
2002-01-24 01:30:50 +00:00
bnesse%netscape.com
3754b38c4d Fix for bug 104445. Make nsPluginInstance a scrollbar listener so it can notify plugins they are scrolling. Also fixes bug 76085. r=peterl, sr=sfraser, a=blizzard. 2002-01-18 20:12:29 +00:00
peterlubczynski%netscape.com
fdb17c2839 Fix for plugins consuming context menu events, bug 118789 r=av, sr=beard 2002-01-15 22:45:26 +00:00
av%netscape.com
b1a0d5e0b8 Fix for bug 110094 -- winless plugins don't get right coordinates when scrolled, r=bnesse, sr=attinasi 2002-01-14 23:16:37 +00:00
alecf%netscape.com
5965318acb C++ side of fix for bug 100212 - move consumers of nsIFile.URL into nsIIOService. r=dougt, sr=darin 2002-01-08 01:31:25 +00:00
rods%netscape.com
7929b953f5 Switch public interfaces from nsIPrintOptions to nsIPrintSettings
Enabling XP Print Dialog for Windows
Enabling XP Print Progress Dialog
Enabling XP Page Setup Dialog
Fixing nsPrintPreviewContext to use nsIPrintPreviewContext
Bug 113917 r=dcone sr=attinasi
2002-01-01 12:58:53 +00:00
av%netscape.com
e8b0d5db5d Bug 116392 -- passing key events to windowless plugins, patch by peterl, r=av, sr=rpotts 2001-12-29 22:32:55 +00:00
av%netscape.com
ca10fbb864 Bug 114921 -- passing dirty rectangle with paint message to windowless plugin, r=peterl, sr=attinasi 2001-12-22 00:25:25 +00:00
av%netscape.com
fb71ac5834 Bug 116108, passing coordinates to windowless plugin when in a table, r=peterl, sr=attinasi 2001-12-22 00:21:12 +00:00
av%netscape.com
1fad9df894 Bug 116108, correcting calculations for windowless plugin coordinates, r=peterl, sr=attinasi 2001-12-22 00:00:44 +00:00
peterlubczynski%netscape.com
fae85366e4 Fix for bad vertical alignment on replaced object frames, bug 36997 r=dbaron sr=attinasi 2001-12-20 06:49:16 +00:00
timeless%mac.com
c27d88c251 Bug 115594 Support .CUR files patch by cbiesinger@web.de r=pavlov sr=tor 2001-12-18 13:40:06 +00:00
waterson%netscape.com
854831c91c Bug 115113. Eliminate nsIReflowCommand, and just use nsHTMLReflowCommand directly. r=karnaze, sr=attinasi. 2001-12-17 22:39:59 +00:00
tor%cs.brown.edu
073a7c9d91 Bug 66976 - turn on libpr0n MNG decoder. r=pavlov, sr=brendan.
Mac build patch by conrad, r=pinkerton, sr=sfraser
2001-12-17 22:07:03 +00:00
jaggernaut%netscape.com
97b0530073 Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf 2001-12-16 11:58:03 +00:00
peterlubczynski%netscape.com
0a752a0976 Backing out changes. 2001-12-14 20:13:50 +00:00
peterlubczynski%netscape.com
f96915bc51 Fixing GetParameters() back to the way it was, returning success for zero parameters bug 114973 r=av sr=beard a=brendan 2001-12-14 03:52:12 +00:00
peterlubczynski%netscape.com
8cc88b14f8 Fix for bad vertical alignment on replaced object frames, bug 36997 r=dbaron sr=attinasi a=brendan 2001-12-14 03:48:49 +00:00
peterlubczynski%netscape.com
4429083363 Fixing bustage... 2001-12-12 05:39:46 +00:00
peterlubczynski%netscape.com
122b3d8059 correcting last checkin 2001-12-12 04:18:36 +00:00
peterlubczynski%netscape.com
3eb962cb6b correct last checkin 2001-12-12 04:17:15 +00:00
peterlubczynski%netscape.com
9204d22bf9 Fixing busted Mac plugins due to my checkin earlier today, bug 114716 r=av sr=beard 2001-12-12 04:15:12 +00:00
peterlubczynski%netscape.com
f8014c020e Fix for hang during Shockwave registration and problems with NPN_PostURL bug 108966 r=av sr=darin 2001-12-12 01:38:02 +00:00
peterlubczynski%netscape.com
3ce6bf0623 Fixing HPUX bustage r=jdunn 2001-12-11 18:41:31 +00:00
peterlubczynski%netscape.com
e1a3dcea6d Fixing the way we pass attributes and parameters to plugins, bug 103940 r=av sr=beard 2001-12-11 15:53:07 +00:00
karnaze%netscape.com
748ebbcd0d bug 113424 - mechanism for percent height frames inside table cells to receive special height reflow. sr=attinasi, r=alexsavulov 2001-12-07 14:51:12 +00:00
jst%netscape.com
d9e3afb71d Fixing bug 110798. Freezing the interfaces nsIDOMEvent, nsIDOMEventListener, nsIDOMEventTarget and nsIDOMDocumentEvent. r=harishd@netscape.com, sr=jband@netscape.com 2001-12-06 06:57:03 +00:00
roc+%cs.cmu.edu
c88233916b Bug 73382. Clean up view manager interfaces, 2nd attempt. r=kmcclusk,rs=attinasi 2001-12-01 14:31:45 +00:00
peterlubczynski%netscape.com
1c4ec0d246 Fix for always loading the Java VM for embed tag, patch by nis@sparc.spb.su (Igor Nekrestyanov) bug 94023 r=peterl sr=beard 2001-11-29 05:14:11 +00:00
roc+%cs.cmu.edu
c26c9711f3 My cleanup checkin for bug 73382 caused 5% increase in page load times. Backing out. 2001-11-24 05:37:25 +00:00
roc+%cs.cmu.edu
04ab1d58c5 View manage interface cleanup. Bug 73382. r=kmcclusk, sr=attinasi 2001-11-22 05:26:32 +00:00
peterlubczynski%netscape.com
045106c8c1 Fixing using correct attribute or parameter for Java based on tag type, fixes mayscript for Liveconnect. bug 109039 r=av sr=beard 2001-11-20 02:17:21 +00:00
karnaze%netscape.com
436e1ac49e bug 103925 (2nd patch) - flag pixel rounding errors in display reflow debugging. sr=attinasi, r=bernd 2001-11-14 13:40:03 +00:00
bzbarsky%mit.edu
f2ee8260a0 Use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2 where possible
(i.e. where the string is a literal).  Bug 104159, r=jag, sr=alecf
2001-11-14 01:33:42 +00:00
av%netscape.com
f514ee917e Bug 109041 -- adding call to NPP_SetWindow for windowless plugins on paint event, patch by dbrittain@superscape.com, r=av, sr=beard 2001-11-13 00:30:44 +00:00
peterlubczynski%netscape.com
b668ed8b55 Mac fix for HTML embed region being painted the default background color bug 83159 r=av sr=sfraser a=asa 2001-11-09 00:42:02 +00:00
peterlubczynski%netscape.com
d5c3daf569 Fix for NPN_PostURL not always working correctly [like with binary file data] bug 105417 r=av sr=darin 2001-11-07 03:03:04 +00:00
peterlubczynski%netscape.com
c5dea40c77 Fix for background color not being set on the widget for plugins bug 83159 r=av sr=attinasi 2001-11-06 23:46:13 +00:00
hyatt%netscape.com
79f6e4162f Fix for 18502, Christian Biesinger's BMP decoder and my ICO decoder. r/sr=pavlov,jband 2001-11-03 07:10:51 +00:00
karnaze%netscape.com
e38dff73f8 bug 103925 - general reflow debugging capability. sr=attinasi, r=alexsavulov 2001-10-29 01:43:59 +00:00
dbaron%fas.harvard.edu
157c017816 Bug 86947:
Make the line list doubly linked and access it through a list class and iterators.
Stop recomputing margins on all of the children of each block in the reflow chain (which causes O(N^2) state recovery during incremental reflow).  Instead, add a second dirty bit to the lines and walk backwards through the line list to recompute vertical margins only when either dirty bit is set and the previous line was not reflowed.  Add nsIFrame::IsEmpty to identify frames through which margins collapse.
Fix O(N^2) propagation of float damage by maintaining a set of intervals damaged by floats (bug 61962) and be sure to damage the correct areas (bug 48138).
Introduce nsCollapsingMargin to do correct collapsing of combinations of positive and negative margins (bug 50142).
Clean up some odds and ends and fix another smaller O(N^2) problem in nsBlockFrame::AddFrames.
r=attinasi, rbs  sr=waterson
2001-10-25 01:08:40 +00:00
loadrunner%betak.net
5a9892401d bug 88155, Trunk & M094 crash [@ MSVCRT.DLL - ns4xPluginStreamListener::OnDataAvailable, nsPluginStreamListenerPeer::OnDataAvailable] - seg faults loading http://www.planetjulie.com/, r=av, peterl, sr=waterson 2001-10-09 10:15:06 +00:00
beard%netscape.com
fba17af79c Fix for bug #103431, r=peterl, sr=sfraser. 2001-10-08 22:58:59 +00:00
jaggernaut%netscape.com
ca6197295f Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc 2001-09-29 08:28:41 +00:00
gerv%gerv.net
4e12e44b2f Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
peterlubczynski%netscape.com
f249aa3c5d Fix for crash when object frame goes away but stream is still going bug 99569 r=av sr=attinasi 2001-09-28 03:34:53 +00:00
peterlubczynski%netscape.com
7487a1bcc1 Ignore leading and trailing whitespace for src and data attributes bug 96362 r=av sr=attinasi 2001-09-28 03:29:24 +00:00
peterlubczynski%netscape.com
421eef1dcc Clean up code in part for fix for doing GET rather than POST when NPN_PostURL is called bug 77603 r=av sr=attinasi 2001-09-26 02:45:20 +00:00
av%netscape.com
2e25246c6d Fix for bug 91095 -- Default Plugin bypassed if 'code' attribute is missing in 'applet' tag, r=peterl, sr=attinasi 2001-09-25 22:04:24 +00:00
pchen%netscape.com
e711f7fa3e Fix for smoketest blocker 100702, remove extra lines caused by misapplied
patch for bug 98107
2001-09-21 20:19:39 +00:00
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