254 Commits

Author SHA1 Message Date
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
scc%mozilla.org
90f810b66a bug #85271: sr=waterson, r={beard, jag, dbaron}, a=asa. Eliminate features of |nsXPIDLC?String| that keep it out of the string hierarchy (i.e., using assigment to rebind ownership, static |Copy| members, and |getter_Shares|), fixing some leaks in the process.
git-svn-id: svn://10.0.0.236/trunk@97289 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-17 05:23:38 +00:00
joe.chou%eng.sun.com
a42e8f2853 Bug 83698 - make sure browser creates proxy JNI before Java plugin doing it
which broke LiveConnect. a=dbaron, sr=jband, r=beard.


git-svn-id: svn://10.0.0.236/trunk@97197 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-15 03:23:11 +00:00
karnaze%netscape.com
4a824a0845 bug 76085 - remove the effects of the patch of bug 64645 against the current tree. a=asa, sr=attinasi, r=peterl
git-svn-id: svn://10.0.0.236/trunk@97033 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-13 02:42:47 +00:00
peterlubczynski%netscape.com
ae3d7c09e2 Fix for BASE HREF not affecting applet bug 59430 patch by alexsavulov r=peterl sr=attinasi a=blizzard
git-svn-id: svn://10.0.0.236/trunk@96434 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-05 17:58:31 +00:00
hyatt%netscape.com
b7b1cb3691 Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson
git-svn-id: svn://10.0.0.236/trunk@96136 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-31 22:19:43 +00:00
valeski%netscape.com
e2736d6096 sr=vidur/shaver@mozilla.org on the content policy callsite and implementation mods (81260). Update of the nsIContentPolicy interface to provide more generic context, a nsIURI instead of a URI wstring, and a nsIDOMWindow for window level context. Existing Callsites have been updated to reflect the new changes, and nsIDOMWindows are now passed into the new API.
git-svn-id: svn://10.0.0.236/trunk@95620 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-21 22:40:10 +00:00
karnaze%netscape.com
58b9b2c478 bug 64645 - process children of <object> during frame construction and reflow child if alternate is needed. sr=attinasi, r=peterl
git-svn-id: svn://10.0.0.236/trunk@95504 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-19 02:45:21 +00:00
peterlubczynski%netscape.com
49c8ad09d7 Fix for lost focus for plugins on mac bug 78846 sr=attinasi r=dcone
git-svn-id: svn://10.0.0.236/trunk@95096 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-16 03:46:56 +00:00
peterlubczynski%netscape.com
3cba4fc24b Fix for plugins not resizing correctly in XUL. r=peterl sr=attinasi patch by kens@activestate.com bug 77234
git-svn-id: svn://10.0.0.236/trunk@95088 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-16 02:24:33 +00:00
jst%netscape.com
43eee52859 Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@94242 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-08 17:42:36 +00:00
karnaze%netscape.com
1e4c3c15b2 bug 5522 - initialize max element size. sr=attinasi, r=peterl.
git-svn-id: svn://10.0.0.236/trunk@93540 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-01 12:42:53 +00:00
peterlubczynski%netscape.com
9749df27cb Fix for [Bug 68756] ObjectFrame needs nsIDOMFocusListener for Mac keyboard events in Shockwave r=karnaze sr=attinasi a=drivers
git-svn-id: svn://10.0.0.236/trunk@93036 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-24 23:24:01 +00:00
peterlubczynski%netscape.com
15ee16d013 Fix for Backspace can't be used in a Flash form (goes back one page) bug 60102 r=attinasi sr=waterson a=roc+moz
git-svn-id: svn://10.0.0.236/trunk@93013 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-24 21:03:27 +00:00
peterlubczynski%netscape.com
4f676e260a Adding pref to enabled double buffering for pages that have plugins on Mac bug=62891 a=av sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@92218 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-13 21:30:14 +00:00
peterlubczynski%netscape.com
23354027d1 Fix for POSTing in embedded plugins bug 63050 r=peterl sr=attinasi Patch by Pollman
git-svn-id: svn://10.0.0.236/trunk@92035 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-12 00:09:08 +00:00
peterlubczynski%netscape.com
841e90d34d Fix for sending events to plugins on Windows through the DOM bug 60712 r=saari sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@91173 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 21:32:37 +00:00
peterlubczynski%netscape.com
3e7edbf8c0 Fix to make printing OBJECTs safer bug 73846 a=av sr=waterson
git-svn-id: svn://10.0.0.236/trunk@90819 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 03:07:52 +00:00
peterlubczynski%netscape.com
6fa34b640c Plugins no longer get resize events bug 70429 a=av sr=waterson
git-svn-id: svn://10.0.0.236/trunk@90601 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 01:02:30 +00:00