732 Commits

Author SHA1 Message Date
peterlubczynski%netscape.com
0924fbda32 Use memmove instead of strncpy bug 98705 r=av sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@102736 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-11 03:29:20 +00:00
av%netscape.com
d07e1e546f Fix for bug 98285 -- adding possibility for plugins to access the service manager, r=beard, sr=vidur
git-svn-id: svn://10.0.0.236/trunk@102570 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-08 01:04:03 +00:00
valeski%netscape.com
8db35965a8 r=dbaron, sr=dougt. 97667. nsIInterfaceRequestor is now frozen. nsIInterfaceRequestorUtils.h is now required if you want to use do_GetInterface() for convenience. The two were split because the stuff that is now in nsIInterfaceRequestorUtils.h wasn't ready for freezing. Also, .idl files should just contain interface defs anyway.
git-svn-id: svn://10.0.0.236/trunk@102327 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 21:28:38 +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
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
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
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
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
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
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
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
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
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
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
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
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
f6328500d6 Fixing key and context menu events for full-page plugins on Mac bug 84681 r=bnesse sr=blizzard
git-svn-id: svn://10.0.0.236/trunk@99258 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-14 01:01:34 +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
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
c90b7928ef Fix for OS X "Internet Plugins Dir" bug 78751 patch by ccarlen r=peterl sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@98955 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-10 02:50:32 +00:00
peterlubczynski%netscape.com
9cb9d63be8 Fix for Quicktime not working on Classic MacOS bug 89662 r=sfraser sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@98891 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-09 19:40:52 +00:00
av%netscape.com
f5f47430f0 Fix for 86469 -- crash on exit with Acrobat, waterson, r=peterl, sr=shaver
git-svn-id: svn://10.0.0.236/trunk@98842 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-06 23:30:22 +00:00
peterlubczynski%netscape.com
cc0e9e8d8f Fix for Mac plugins not working bug 89529 r=dcone sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@98813 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-06 14:54:48 +00:00
dougt%netscape.com
8f76756b41 Fixes bug 89397. This fixes a problem where byteranges which start at offest 0 do not reset the mPosition. This cause byte to be written at random places in the file.
r=peterl, r=av, sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@98696 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-05 19:33:09 +00:00
mkaply%us.ibm.com
11441b2380 #89182
r=achimha, sr=blizzard
OS/2 only - wrong fName in plugin array


git-svn-id: svn://10.0.0.236/trunk@98688 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-05 18:44:50 +00:00
peterlubczynski%netscape.com
f5c50e5608 Patch to fix crash with sample plugin and OS X plugins bug 85334 r=av sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@98518 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-03 01:56:28 +00:00