290 Commits

Author SHA1 Message Date
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
dougt%netscape.com
8e801f7f38 Upload Channel API changes. Bug 29839. r=darin@Netscape.com, sr=rpotts@netscape.com.
Also fixes bug 63408, not alerting when file-not-found. r/sr same as above


git-svn-id: svn://10.0.0.236/trunk@102265 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 03:52:26 +00:00
av%netscape.com
72c385ca9f Fixing bug 86642 -- crash in DOMMimeTypeImpl::DOMMimeTypeImpl() when assigning fields missing from the plugin version stamp, r=peterl, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@102223 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-04 23:17:48 +00:00
dbaron%fas.harvard.edu
3485888237 Replace uses of deprecated NS_IMPL_ISUPPORTS and NS_IMPL_QUERYINTERFACE macros with NS_IMPL_{ISUPPORTS,QUERYINTERFACE}{1,0}. r=jag rs=brendan b=45797
git-svn-id: svn://10.0.0.236/trunk@101462 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-21 01:48:11 +00:00
peterlubczynski%netscape.com
beeef7a905 Implement NSPR Logging in plugin module bug 94922 r=av, edburns sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@101174 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-16 02:59:03 +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
c616f96764 Fix for mStreamType not being set correctly bug 94371 r=av sr=waterson
git-svn-id: svn://10.0.0.236/trunk@100794 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-10 19:49:04 +00:00
av%netscape.com
632ef5f8c5 Fix for bug 91238 -- eliminating unwanted initial stream to a plugin, r=peterl, edburns, sr=jst
git-svn-id: svn://10.0.0.236/trunk@100719 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-10 01:53:38 +00:00
jaggernaut%netscape.com
2b3b3b2586 Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa
git-svn-id: svn://10.0.0.236/trunk@99906 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-25 07:54:28 +00:00
pete%alphanumerica.com
63991fa7da Fix for nsIFile delete conflicts with JS reserved name b=37406, r=dougt, sr=jst
Renamed all Delete methods to Remove.

--pete


git-svn-id: svn://10.0.0.236/trunk@99803 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-24 18:38:25 +00:00
peterlubczynski%netscape.com
5cd939c9ad Fix for plugins stop working on Mac bug 90959 r=av sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@99487 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-18 14:04:28 +00:00
edburns%acm.org
181335ad23 bug=88053
r=peterl
approval=selmer

After testing real and java on win32 and linux, we're satisfied that this works.

Checking in to trunk.  Already on branch.


git-svn-id: svn://10.0.0.236/trunk@99427 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-17 19:55:33 +00:00
av%netscape.com
e80ba6ab44 Fix for 87913 -- adding refreshing components to plugins.refresh(), r=mstolz, peterl, sr=shaver, attinasi
git-svn-id: svn://10.0.0.236/trunk@99376 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-17 02:26:42 +00:00
dougt%netscape.com
c0c9f3a6f3 Fixes 89191. r=gagan, av, peterl.
git-svn-id: svn://10.0.0.236/trunk@99370 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-17 01:19:19 +00:00
peterlubczynski%netscape.com
86582689a0 Real fix for Quicktime 4.x sweep bug 89407 r=av sr=blizzard
git-svn-id: svn://10.0.0.236/trunk@99257 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-14 01:01:02 +00:00
edburns%acm.org
c870c7ade9 bug=88053
r/sr=brendan
This bug fix prevents the crash on exit with Java on win32.


git-svn-id: svn://10.0.0.236/trunk@99247 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-14 00:03:17 +00:00
peterlubczynski%netscape.com
1c0b5137b5 Patch to fix case comparison problem mime types for plugins bug 87290 r=av sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@98461 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-02 20:08:17 +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
dbaron%fas.harvard.edu
959735b14e Fix line endings from peterlubczynski's previous checkin (^M^J -> ^J) to fix IRIX and OS/2 bustage.
git-svn-id: svn://10.0.0.236/trunk@98235 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-29 02:34:23 +00:00
edburns%acm.org
00dc52c030 bug=79851
r/sr=darin
This bug fix makes nsPluginHostImpl::GetCookie() return the cookie value properly.


git-svn-id: svn://10.0.0.236/trunk@98218 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-29 00:33:01 +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
f12cc32ed5 Patch to fix blank plugins after reload of document bug 87397 s/r=darin & dougt
git-svn-id: svn://10.0.0.236/trunk@97983 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-26 21:57:48 +00:00
peterlubczynski%netscape.com
aa64e00cf1 Add scanning of Mac System Folder Internet Plug-ins bug 78751 r=ccarlen/sdagley sr=attinasi a=asa
git-svn-id: svn://10.0.0.236/trunk@97708 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-22 00:59:19 +00:00
av%netscape.com
b42d5ccc95 Fixing the remaining issue in 80105 -- null-check added in one more place, r=peterl, sr=attinasi, a=chofmann
git-svn-id: svn://10.0.0.236/trunk@97625 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-20 22:43:37 +00:00
dbaron%fas.harvard.edu
88810ef1eb Fix bad getters on nsIDocument and nsIScriptContext to use out params rather than return |AddRef|ed pointers. b=81289 r=jaggernaut sr=jst a=asa
git-svn-id: svn://10.0.0.236/trunk@97540 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-20 03:27:48 +00:00
av%netscape.com
7fca2079b6 Fixing 80105 -- added notification nsIPluginInstanceOwner that instance has been destroyed, r=peterl, sr=attinasi, a=roc+moz@cs.cmu.edu
git-svn-id: svn://10.0.0.236/trunk@97464 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-19 22:42:07 +00:00
peterlubczynski%netscape.com
1ab6ff7c11 Fix to allow caching of https plugin streams and also fix a leak in byte range streams bug 54689 and bug 83183 patches by peterl & dougt r=av sr=attinasi a=asa
git-svn-id: svn://10.0.0.236/trunk@97394 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-19 01:38:20 +00:00
av%netscape.com
2d1afe61df Fix for 84332 -- made string dynamic vs hardcoded size, r=peterl, sr=rpotts, a=blizzard
git-svn-id: svn://10.0.0.236/trunk@97188 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-15 00:37:14 +00:00
peterlubczynski%netscape.com
b1c3885a47 Fix for leaking all kinds of ns4xStreamListener's bug 83183 r=av sr=attinasi a=asa
git-svn-id: svn://10.0.0.236/trunk@97119 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-14 02:24:11 +00:00
pavlov%netscape.com
ff3e01c389 fixing image rendering color problems on photon. bug 82537. patch from briane@qnx.com. r=pavlov sr=blizzard a=asa
git-svn-id: svn://10.0.0.236/trunk@97022 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-13 01:14:13 +00:00
peterlubczynski%netscape.com
2924f259c4 Fix for converting file://c|temp to c:\temp for NP_StreamAsFile. r=av sr=waterson a=dbaron
git-svn-id: svn://10.0.0.236/trunk@96789 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-09 20:52:18 +00:00
Xiaobin.Lu%eng.Sun.com
03e5d521a4 Fix for bug 78840, got r=edburns & beard, sr=brendan, a=asa
Fix the crash when invoke liveconnect call using File->Open File


git-svn-id: svn://10.0.0.236/trunk@96765 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-09 01:03:53 +00:00
peterlubczynski%netscape.com
1509af96d8 Fix for crash @ Shockwave.com, not calling correct ODA sr=mscott a=chofmann r=av
git-svn-id: svn://10.0.0.236/trunk@96501 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-06 05:45:49 +00:00
ducarroz%netscape.com
b50618415c Fix for bug 81751. Add define for mime type multipart/x-mixed-replace and multipart/byteranges. Also export nsIFileStreams.idl on Mac. R=varada, SR=mscott, A=asa
git-svn-id: svn://10.0.0.236/trunk@96340 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-04 22:59:22 +00:00
peterlubczynski%netscape.com
2c07697623 Fix for bug 82415 nsIPluginStreamListener changed! r=dougt sr=attinasi a=dbaron
git-svn-id: svn://10.0.0.236/trunk@96096 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-31 01:21:05 +00:00
sean%beatnik.com
4b0e245781 fix for bug 82445 stream listener leaks. r=Peter Lubczynski, sr=attinasi, a=asa@mozilla.org. fixed circular refcnt dependency between nsPluginStreamListenerPeer and nsPluginStreamInfo.
git-svn-id: svn://10.0.0.236/trunk@95892 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-25 01:38:42 +00:00
dougt%netscape.com
3ab5958916 Implements NPN_RequestRead(). Bug number 53363. r=peterl@netscape.com, sr=attinasi@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@95714 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-22 22:32:45 +00:00
mkaply%us.ibm.com
e2a560c0d0 IRIX bustage
git-svn-id: svn://10.0.0.236/trunk@95471 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-18 23:38:06 +00:00
peterlubczynski%netscape.com
76aae2bc9a Fix for crash on XPCOM plugins bug 79872 and others r=karnaze sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@95418 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-18 21:23:59 +00:00
peterlubczynski%netscape.com
5340783e6e Include Quicktime in 4.x plugin sweep bug 81111 r=arun sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@95287 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-17 19:18:56 +00:00
mkaply%us.ibm.com
9285847d02 IRIX bustage - more CRLF - NOT dougt :)
git-svn-id: svn://10.0.0.236/trunk@95264 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-17 18:18:32 +00:00
peterlubczynski%netscape.com
8531689901 Fix for crash in plugin SetUpStreamListener r=pinkerton sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@95243 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-17 08:20:41 +00:00
peterlubczynski%netscape.com
54b03a00ff Fix for Java crashing on nsCOMPtr bug 81111 patch by cls r=peterl sr=blake
git-svn-id: svn://10.0.0.236/trunk@95207 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-17 03:46:33 +00:00
edburns%acm.org
9f8187b218 bug=80848
r=peterlubczynski
sr=darin
Make it so the return values  from ExamineForProxy() are inspected for validity.


git-svn-id: svn://10.0.0.236/trunk@95176 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-17 01:03:12 +00:00
darin%netscape.com
81e317535f Http branch landing: changes to other files (bug 76866) r=gagan,sr=dougt,a=chofmann
git-svn-id: svn://10.0.0.236/trunk@94682 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-11 21:05:08 +00:00
peterlubczynski%netscape.com
b457795dfa Adding code I accidentally removed in last check-in
git-svn-id: svn://10.0.0.236/trunk@94626 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-11 09:43:13 +00:00
peterlubczynski%netscape.com
a1d7d185c4 Fix to include pref to scan the for the Java plugin from the JRE installation path gotten from the Windows registry. Use this and you no longer need to copy your NPOJI6x.DLL plugin:
Add this to your all.js: pref("plugin.do_JRE_Plugin_Scan",true); bug 78150 r=Xiaobin sr=waterson


git-svn-id: svn://10.0.0.236/trunk@94595 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-11 06:50:23 +00:00
ccarlen%netscape.com
f720e88745 Bug 78745 - nsIPromptService::ConfirmEx needs to be more flexible. r=valeski, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@94087 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-06 15:03:55 +00:00
peterlubczynski%netscape.com
85287b25d8 Removing extra reference to nsIJVMPlugin.h
git-svn-id: svn://10.0.0.236/trunk@93786 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-03 08:51:23 +00:00
peterlubczynski%netscape.com
cbc16d8217 Patch to fix crash on leaving a page with Java on Linux bug 78502 sr=beard r=edburns
git-svn-id: svn://10.0.0.236/trunk@93785 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-03 08:38:18 +00:00