852 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
serge%netscape.com
91130476f6 bug 69167; plugin load fails silently on library not found; r=av, sr=waterson, a=roc+moz
git-svn-id: svn://10.0.0.236/trunk@102199 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-03 23:04:53 +00:00
av%netscape.com
c8299ff2f4 Removing no longer needed file in the sample code -- not part of the build
git-svn-id: svn://10.0.0.236/trunk@102124 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-31 23:04:14 +00:00
av%netscape.com
a84571a019 Bug 97488 -- sample code to reflect new approach to scripting, not part of the build, patch by jband and av, r=av
git-svn-id: svn://10.0.0.236/trunk@102122 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-31 23:00:11 +00:00
peterlubczynski%netscape.com
f55b5f439b Patch to fix incorrect coordinates to first call of SetWindow(), bug 97656 r=av sr=attinasi a=asa
git-svn-id: svn://10.0.0.236/trunk@102088 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-31 18:28:04 +00:00
serge%netscape.com
edfdb96c1d fix for 69167; plugin load fails silently on library not found; r=av, sr=waterson, a=roc+moz
git-svn-id: svn://10.0.0.236/trunk@101844 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-27 22:14:52 +00:00
av%netscape.com
47e21da3e9 Fixing 96528 -- crash on File/Exit with full page xpcom plugin, r=peterl, sr=attinasi, a=asa
git-svn-id: svn://10.0.0.236/trunk@101773 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-24 21:08:25 +00:00
av%netscape.com
0fc41edefe Adding missing file to the sample project, not part of the build
git-svn-id: svn://10.0.0.236/trunk@101772 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-24 21:03:50 +00:00
peterlubczynski%netscape.com
4933556d7a Fix for not opening bundles plugin resources on Mac fixing crashes (and tab clean up) bug 91988 r=bnesse sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@101610 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-22 03:55:53 +00:00
dbaron%fas.harvard.edu
fdd5d25c83 fixing Mac bustage. b=45797
git-svn-id: svn://10.0.0.236/trunk@101475 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-21 02:58:44 +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
av%netscape.com
e971f4e9e1 Fixing 73436 -- hiding platform specific calls in xp files, not part of the build, r=peterl
git-svn-id: svn://10.0.0.236/trunk@101376 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-18 00:13:37 +00:00
av%netscape.com
c3a92267af Fixing project file for the spy plugin reflecting new folder structure, not part of the build, r=av
git-svn-id: svn://10.0.0.236/trunk@101375 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-18 00:11:16 +00:00
av%netscape.com
41c8b588ee Fixing 73430 -- removing MFC dependency from Windows project, not part of the build patch by timeless, r=av
git-svn-id: svn://10.0.0.236/trunk@101362 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-17 23:11:02 +00:00
av%netscape.com
54b5c1e0ad Bug 73874 -- sample plugin (4.x scriptability), not part of the build, r=peterl
git-svn-id: svn://10.0.0.236/trunk@101356 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-17 22:36:46 +00:00
av%netscape.com
ec4a2b1c71 Bug 73874 -- sample plugin (4.x scriptability), not part of the build, r=peterl
git-svn-id: svn://10.0.0.236/trunk@101350 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-17 22:23:41 +00:00
peterlubczynski%netscape.com
ffbd960a99 Fixing Carbon bustage (where is the carbon tinderbox?)
git-svn-id: svn://10.0.0.236/trunk@101313 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-17 14:30:45 +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
682e6c5b13 Fixing UNIX bustage, removing extra #include header put in on accident
git-svn-id: svn://10.0.0.236/trunk@101188 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-16 04:47:16 +00:00
peterlubczynski%netscape.com
d1363e7d58 Fixing UNIX makefile bustage
git-svn-id: svn://10.0.0.236/trunk@101179 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-16 03:35:01 +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
sfraser%netscape.com
46e39d342d Project cleanup, rs=scc. Use NSComponentStartup.o, since this is a component, and don't link directly with MathLib.
git-svn-id: svn://10.0.0.236/trunk@101164 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-16 00:50:10 +00:00
peterlubczynski%netscape.com
a43e8e1c46 Make x & y be signed for NPWindow struct bug 93500 r=av sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@101068 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-15 03:11:08 +00:00
peterlubczynski%netscape.com
3ca3d9b70d Fixing extra char in win32 makefile for sample plugin, not part of main build
git-svn-id: svn://10.0.0.236/trunk@101065 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-15 02:32:27 +00:00
leaf%mozilla.org
2c521eac4a removing old files. final task to close bug 76602.
git-svn-id: svn://10.0.0.236/trunk@101062 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-15 01:50:23 +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
leaf%mozilla.org
e958e1d589 bug 76602, sr=cls, r=edburns. modules/plugin rearranging, in preparation for old
file location cvs removal.


git-svn-id: svn://10.0.0.236/trunk@100744 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-10 07:35:54 +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
av%netscape.com
df3f946dbf Fix for bug 91238 -- unwanted initial plugin stream, r=peterl, edburns, sr=jst
git-svn-id: svn://10.0.0.236/trunk@100716 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-10 01:46:12 +00:00
peterlubczynski%netscape.com
74845242cf Plugin module Mac project file new directory location changes bug 76602 r=bnesse sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@100618 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-09 01:24:49 +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
serge%netscape.com
b9338956ee fix for 86645 into new plugin directory r=av,sr/a=blizzard
git-svn-id: svn://10.0.0.236/trunk@99994 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-27 23:55:35 +00:00
serge%netscape.com
3f4b36659d bug 86645 M0.9.1 crashes at the 2nd "Default Plugin" window call; r=av,sr/a=blizzard
git-svn-id: svn://10.0.0.236/trunk@99989 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-27 21:53:14 +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
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
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
sdagley%netscape.com
c90632a81a Moving part of fix for #81659 from 0.9.2 branch. Now recognize non-bundle OS X plugins of type 'IEPL' (e.g. Apple's iTools plugin). Also moved test for OS X plugin types inside an #if TARGET_CARBON.
git-svn-id: svn://10.0.0.236/trunk@99867 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-25 02:45:10 +00:00
av%netscape.com
655ef28210 Fixing 72052 -- GDI resource leak in the default plugin, r=peterl, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@99818 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-24 21:37:59 +00:00
av%netscape.com
a4e452c216 Fixing 91140 -- postponing NPP_DestroyStream call till the plugin instance is destroyed, sr=jst, r=peterl
git-svn-id: svn://10.0.0.236/trunk@99816 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-24 20:48:36 +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
jaggernaut%netscape.com
56ae52c17a Bug 73353: clean up the REQUIRES lines in Makefiles.
git-svn-id: svn://10.0.0.236/trunk@99764 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-23 22:36:12 +00:00
av%netscape.com
23313e6e4e Fixing 91140, the Acrobat blocker -- latering plugin stream destruction, r=peterl, bnesse, sr=vidur
git-svn-id: svn://10.0.0.236/trunk@99699 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-21 02:31:29 +00:00
bnesse%netscape.com
7205f5bcba Fix for bug 90389. ns4xPluginInstance should not check for plugin private data pointer being null. r=peterlubczynski, sr=attinasi.
git-svn-id: svn://10.0.0.236/trunk@99656 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-20 19:36:37 +00:00
peterlubczynski%netscape.com
99974241d8 Fix for plugins not working on Mac OS less than 9.1 bug 90959 r=bnesse sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@99624 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-20 01:57:11 +00:00
valeski%netscape.com
d1287b8db6 91365. r=dougt, sr=hyatt. nsIScriptGlobalObject->GetContext() can legitimately return NS_OK *and* a nsnull outparam. Various callsites were not respecting the nsnull out param and this patch gracefully handles those cases.
git-svn-id: svn://10.0.0.236/trunk@99570 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-19 05:48:49 +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
rpotts%netscape.com
c308f45fce bug #84749. (r=nisheeth, sr=jst). Document unload() events fired *after* the current URI had been changed - this allowed JS to track where the user was going next...
git-svn-id: svn://10.0.0.236/trunk@99429 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-17 20:17:38 +00:00