422 Commits

Author SHA1 Message Date
av%netscape.com
04e70594d1 Bug 109041 -- adding call to NPP_SetWindow for windowless plugins on paint event, patch by dbrittain@superscape.com, r=av, sr=beard
git-svn-id: svn://10.0.0.236/trunk@107933 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-13 00:30:44 +00:00
peterlubczynski%netscape.com
46a8719065 Mac fix for HTML embed region being painted the default background color bug 83159 r=av sr=sfraser a=asa
git-svn-id: svn://10.0.0.236/trunk@107713 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-09 00:42:02 +00:00
peterlubczynski%netscape.com
ecf99805e4 Fix for NPN_PostURL not always working correctly [like with binary file data] bug 105417 r=av sr=darin
git-svn-id: svn://10.0.0.236/trunk@107542 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-07 03:03:04 +00:00
peterlubczynski%netscape.com
46045b394a Fix for background color not being set on the widget for plugins bug 83159 r=av sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@107509 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-06 23:46:13 +00:00
hyatt%netscape.com
f908dd5b01 Fix for 18502, Christian Biesinger's BMP decoder and my ICO decoder. r/sr=pavlov,jband
git-svn-id: svn://10.0.0.236/trunk@107234 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-03 07:10:51 +00:00
karnaze%netscape.com
4ff0e5cecb bug 103925 - general reflow debugging capability. sr=attinasi, r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@106524 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-29 01:43:59 +00:00
dbaron%fas.harvard.edu
8b3489a026 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


git-svn-id: svn://10.0.0.236/trunk@106224 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 01:08:40 +00:00
loadrunner%betak.net
24b2d56b7e bug 88155, Trunk & M094 crash [@ MSVCRT.DLL - ns4xPluginStreamListener::OnDataAvailable, nsPluginStreamListenerPeer::OnDataAvailable] - seg faults loading http://www.planetjulie.com/, r=av, peterl, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@104907 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 10:15:06 +00:00
beard%netscape.com
e130958c83 Fix for bug #103431, r=peterl, sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@104858 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 22:58:59 +00:00
jaggernaut%netscape.com
51e0dc7a6c 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
git-svn-id: svn://10.0.0.236/trunk@104212 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 08:28:41 +00:00
gerv%gerv.net
13afb6d0f9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
peterlubczynski%netscape.com
8798e2a775 Fix for crash when object frame goes away but stream is still going bug 99569 r=av sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@104080 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 03:34:53 +00:00
peterlubczynski%netscape.com
34002614aa Ignore leading and trailing whitespace for src and data attributes bug 96362 r=av sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@104079 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 03:29:24 +00:00
peterlubczynski%netscape.com
0890a85240 Clean up code in part for fix for doing GET rather than POST when NPN_PostURL is called bug 77603 r=av sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@103797 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 02:45:20 +00:00
av%netscape.com
934a0ed1b4 Fix for bug 91095 -- Default Plugin bypassed if 'code' attribute is missing in 'applet' tag, r=peterl, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@103728 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 22:04:24 +00:00
pchen%netscape.com
ee539ee4e4 Fix for smoketest blocker 100702, remove extra lines caused by misapplied
patch for bug 98107


git-svn-id: svn://10.0.0.236/trunk@103470 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-21 20:19:39 +00:00
karnaze%netscape.com
1540a4c12e bug 68998 - added extra param to Paint, PaintChild, PaintChildren used by tables in standard mode. sr=waterson, r=alexsavulov.
git-svn-id: svn://10.0.0.236/trunk@103193 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 12:35:19 +00:00
edburns%acm.org
8d3d442afd 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.''
                       */


git-svn-id: svn://10.0.0.236/trunk@103177 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 03:34:17 +00:00
peterlubczynski%netscape.com
e88c276837 Implement plugin printing bug 27478 r=av,beard sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@103060 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 02:11:09 +00:00
mkaply%us.ibm.com
8dcfc84412 #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.


git-svn-id: svn://10.0.0.236/trunk@102949 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-14 21:16:19 +00:00
peterlubczynski%netscape.com
9b969a0e52 Fix for crash when checking for a sub document bug 96579 r=av sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@102827 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 20:43:40 +00:00
peterlubczynski%netscape.com
5b05cad31c Correct ussages of data= for object tags embedding documents bug 97799 r=dcone sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@102791 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 04:00:52 +00:00
edburns%acm.org
753ec174c7 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.


git-svn-id: svn://10.0.0.236/trunk@102266 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 03:58:34 +00:00
peterlubczynski%netscape.com
4ff5889753 Fix for not setting reflow state on object frame in printing case bug 97563 r=av sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@102257 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 02:45:48 +00:00
peterlubczynski%netscape.com
fdc7d9f811 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
git-svn-id: svn://10.0.0.236/trunk@101360 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-17 22:52:12 +00:00
bryner%netscape.com
7da361b479 Bug 66835 - fix method hiding warnings by renaming some methods on nsIContent. r=jag, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@101283 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-17 08:14:14 +00:00
av%netscape.com
880ffe0670 Fix for 89672 -- topembed, crash on exit with xpcom plugin, r=peterl, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@101249 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-17 00:45:25 +00:00
peterlubczynski%netscape.com
10124a36b3 Plugging leaking contentType from previous check-in.
git-svn-id: svn://10.0.0.236/trunk@101190 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-16 04:54:07 +00:00
peterlubczynski%netscape.com
ee66831f76 Fix for text/html and text/plain OBJECTs don't work bug 678 r=av sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@101175 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-16 03:02:05 +00:00
av%netscape.com
6420587d22 Fix for 82980 -- check for SRC attribute in addition to DATA added, r=peterl, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@101153 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-16 00:14:14 +00:00
cls%seawood.org
3b8b92a2e8 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


git-svn-id: svn://10.0.0.236/trunk@101008 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-14 07:59:59 +00:00
peterlubczynski%netscape.com
79c20e9c85 Fix for windowless plugins don't draw in the correct place when scrolled bug 93056 patch by dbrittain@superscape.com r=peterl sr=waterson
git-svn-id: svn://10.0.0.236/trunk@100455 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-07 01:50:32 +00:00
peterlubczynski%netscape.com
f16bc6c7e1 Adding nsIDOMMouseMotionListener to fix Windowless plugins do not receive mouse/keyboard events bug 90574 r=av sr=waterson
git-svn-id: svn://10.0.0.236/trunk@100454 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-07 01:48:14 +00:00
peterlubczynski%netscape.com
f45f689ab5 Move code for showing content viewer out of object frame, part of bug 93105 r=av sr=waterson
git-svn-id: svn://10.0.0.236/trunk@100156 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-02 00:03:29 +00:00
dbaron%fas.harvard.edu
2acd95d9aa 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
git-svn-id: svn://10.0.0.236/trunk@100081 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-01 03:15:50 +00:00
dbaron%fas.harvard.edu
899cd312b2 Backing out changes for 80203 and 89626 to fix blocker 92325 and probably also blocker 92443.
git-svn-id: svn://10.0.0.236/trunk@99950 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-26 20:53:21 +00:00
dbaron%fas.harvard.edu
502a5c94aa 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
git-svn-id: svn://10.0.0.236/trunk@99882 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-25 04:30:59 +00:00
av%netscape.com
709f1dd63c Fix for bug 90152 -- corrected logic for displaying an alt content of the object tag, r=peterl, sr=watercon
git-svn-id: svn://10.0.0.236/trunk@99825 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-24 22:45:14 +00:00
dbaron%fas.harvard.edu
9359000a40 Header include dependency cleanup. b=64023 r=jag rs=brendan
git-svn-id: svn://10.0.0.236/trunk@99299 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-16 02:40:48 +00:00
peterlubczynski%netscape.com
0b31564c4f Fix for Shockwave games not working bug 90173 r=av sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@99259 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-14 01:36:45 +00:00
bnesse%netscape.com
540aba4f36 Fix for bug 85231. Free nsTimer in PluginInstance to eliminate MLK and crash caused by it. r=av, peterl. sr=scc.
git-svn-id: svn://10.0.0.236/trunk@99035 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-11 02:29:45 +00:00
peterlubczynski%netscape.com
f867e4cdf5 Slightly change pluign timer interval to fix url bar on Mac bug 88936 r=bnesse sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@98962 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-10 03:59:39 +00:00
peterlubczynski%netscape.com
ef0387da42 Fix for crash with garbage in nsGUIEvent bug 87112 sr=sfraser r=ccarlen
git-svn-id: svn://10.0.0.236/trunk@98956 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-10 02:52:50 +00:00
waterson%netscape.com
78314c2326 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
git-svn-id: svn://10.0.0.236/trunk@98629 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-04 05:54:09 +00:00
jaggernaut%netscape.com
51b17b5bf0 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 :-)


git-svn-id: svn://10.0.0.236/trunk@98363 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-30 11:02:25 +00:00
peterlubczynski%netscape.com
24b740bb66 Fix for Shockwave registration bug 85334 r=av sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@98217 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-29 00:29:44 +00:00
peterlubczynski%netscape.com
116af1dc43 Oops...last log entry was for bug 86075
git-svn-id: svn://10.0.0.236/trunk@97766 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-22 07:06:24 +00:00
peterlubczynski%netscape.com
a709726856 Fix for <object> causing table width to be enormous patch by piskozub@iopan.gda.pl (Jacek Piskozub) r=peterl sr=jst/hyatt a=blizzard
git-svn-id: svn://10.0.0.236/trunk@97764 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-22 07:04:24 +00:00
av%netscape.com
8e96b5c13f Fixing 80105 -- adding check for null before release, r=peterl, sr=attinasi, a=roc+moz@cs.cmu.edu
git-svn-id: svn://10.0.0.236/trunk@97461 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-19 22:39:39 +00:00
av%netscape.com
034f401548 Fix for 44322 -- implementation of windowless pluign API, patch by dbrittain@superscape.com and av, r=(av, peterl), sr=attinase, a=dbaron
git-svn-id: svn://10.0.0.236/trunk@97357 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-18 21:41:57 +00:00