Commit Graph

573 Commits

Author SHA1 Message Date
bzbarsky@mit.edu
aa00eb2f47 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
f4fc5a4602 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
8d63846985 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
4ecfd351b2 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
9c53bf773e 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
9768616318 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
63f46f0ed2 bug 103925 - general reflow debugging capability. sr=attinasi, r=alexsavulov 2001-10-29 01:43:59 +00:00
dbaron@fas.harvard.edu
4b1de618fc 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
61c3269ec4 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
352ada6132 Fix for bug #103431, r=peterl, sr=sfraser. 2001-10-08 22:58:59 +00:00
jaggernaut@netscape.com
a29a08f141 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
58d409fba9 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
bfe2a78b3d 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
fb58170d21 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
013e338cd8 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
71ac07bc32 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
6bf1ebb717 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
5b7e018561 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
b1c43231dc 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
a1633c4cfd Implement plugin printing bug 27478 r=av,beard sr=attinasi 2001-09-18 02:11:09 +00:00
mkaply@us.ibm.com
025d05a84d #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
01f01fa45c 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
a1c2d6dd76 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
1f936d0afa 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
19e7628266 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
5710a40d72 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
0b20fc36bb 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
ce2ed53ba9 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
d3cd15bd77 Plugging leaking contentType from previous check-in. 2001-08-16 04:54:07 +00:00
peterlubczynski@netscape.com
b8b209a3fd 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
6501f14ccc 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
1fc88a4abc 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
aa96cc4f58 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
7e89e066e3 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
e82162fb2e 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
7a0b60f988 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
2badd618ea 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
8fe41c0a27 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
6326956653 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
a9aa77073f Header include dependency cleanup. b=64023 r=jag rs=brendan 2001-07-16 02:40:48 +00:00
peterlubczynski@netscape.com
2232000be2 Fix for Shockwave games not working bug 90173 r=av sr=attinasi 2001-07-14 01:36:45 +00:00
bnesse@netscape.com
d8f9e8d19a 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
dc6d122f03 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
4fe2952c89 Fix for crash with garbage in nsGUIEvent bug 87112 sr=sfraser r=ccarlen 2001-07-10 02:52:50 +00:00
waterson@netscape.com
cd08397f52 Bug 85422. Since nsIContent::GetDocument() may now sometimes return a null document back-pointer due to paint suppression, be extra paraniod with a sprinkle of null-check fairy dust. r=brendan, sr=attinasi 2001-07-04 05:54:09 +00:00
jaggernaut@netscape.com
baba14c5c8 Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.

nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)
2001-06-30 11:02:25 +00:00
peterlubczynski@netscape.com
442de2db43 Fix for Shockwave registration bug 85334 r=av sr=attinasi 2001-06-29 00:29:44 +00:00
peterlubczynski@netscape.com
93a1ba8143 Oops...last log entry was for bug 86075 2001-06-22 07:06:24 +00:00
peterlubczynski@netscape.com
f3e8e59575 Fix for <object> causing table width to be enormous patch by piskozub@iopan.gda.pl (Jacek Piskozub) r=peterl sr=jst/hyatt a=blizzard 2001-06-22 07:04:24 +00:00
av@netscape.com
fb56256a12 Fixing 80105 -- adding check for null before release, r=peterl, sr=attinasi, a=roc+moz@cs.cmu.edu 2001-06-19 22:39:39 +00:00