96 Commits

Author SHA1 Message Date
jst%mozilla.jstenback.com
e6d8023709 Fixing bug 281284. Don't share the plugin temp directory among all users on the same system, and don't delete directories we didn't create. r=peterv@propagandism.org, sr=dveditz@cruzio.com
git-svn-id: svn://10.0.0.236/trunk@169137 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-11 23:37:51 +00:00
timeless%mozdev.org
52e1f91c42 Bug 273056 PluginArrayImpl::GetLength should not throw if there's no plugin host, and PluginArrayImpl::GetPlugins should handle no plugin host and failure from mPluginHost->GetPlugins
r=bz sr=jst


git-svn-id: svn://10.0.0.236/trunk@167888 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-17 14:41:45 +00:00
jst%mozilla.jstenback.com
4134face66 Landing the low-level code for using the plugin finder service from the aviary branch. Bug 244125 etc.
git-svn-id: svn://10.0.0.236/trunk@167276 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-05 00:21:06 +00:00
gerv%gerv.net
586f796c2a Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155091 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 22:01:16 +00:00
peterlubczynski%netscape.com
229c498330 Fixing bug 159445: Scan for PLIDs upon startup or load time (for plugins) r=jkeiser, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@142955 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-27 21:14:55 +00:00
mstoltz%netscape.com
634a85abf4 Bug 59767 - add CheckLoadURI call to GetURL and PostURL calls from the Java plugin. r=peterlubczynski, sr=heikki.
git-svn-id: svn://10.0.0.236/trunk@140646 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-03 19:11:41 +00:00
dougt%netscape.com
fed2927b2c Create a new xpcom obsolete library (and component library).
Moved nsFileSpec and related classes into this obsolete library.
  Moved nsRegistry and related libreg functionality into the obsolete library.

Updated many callers using the obsolete nsFile spec to use nsIFile and Necko to do file IO.

Combined the following DLLs (source -> dest)
  uriloader -> docshell
  shistory -> docshell
  jsurl -> jsdom
  gkview -> gklayout

Moved nsAdapterEnumerator out of xpcom/ds and into mailnews, since they're the only consumer

Modifed the xpt_link tool so that you can specify a “only include” cid list that can mask CID’s that you are not interested in.

Added build options:
Prevent the building of xpinstall (--disable-xpinstall)
Prevent the building js component loader (--disable-jsloader)
A build option to only build a single profile (--enable-single-profile)
A build flag to only built the required xpfe components (--disable-xpfe-components).

Removal or hiding of unused functions and classes including nsEscape*, nsDequeIterator, nsRecyclingAllocatorImpl, nsDiscriminatedUnion, nsOpaqueKey, nsCRT::strlen, NS_NewCommandLineService

Bug 194240, r/sr = darin, alec.


git-svn-id: svn://10.0.0.236/trunk@139480 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-15 01:04:32 +00:00
cbiesinger%web.de
2ce1496a15 97324 r=peterl/jst sr=jst/bz nsContentDLF.cpp should not use a static list of image types; also: 192023 Make DocLoaderFactories a service
git-svn-id: svn://10.0.0.236/trunk@138608 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-27 13:51:55 +00:00
peterlubczynski%netscape.com
9650abcb60 Fixing bug 180366, browser crashes on shutdown after scripting plugin, moving unused plugin library unloading to Observe("xpcom-shutdown") r=av sr=beard
git-svn-id: svn://10.0.0.236/trunk@135643 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-26 22:54:46 +00:00
av%netscape.com
3cf944f3c5 Bug 104298 -- clean up in plugin module, r=serge, r=bnesse, sr=beard
git-svn-id: svn://10.0.0.236/trunk@131101 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-03 21:31:41 +00:00
av%netscape.com
945a20c30b Fixing 132759 -- 100% CPU with Flash, r=peterl, sr=jst
git-svn-id: svn://10.0.0.236/trunk@130492 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-26 02:53:27 +00:00
serge%netscape.com
854e1b0716 fix 145054, Plugins may starve when cached data they read from is removed too soon; r=av,sr=darin
git-svn-id: svn://10.0.0.236/trunk@128491 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-29 22:00:20 +00:00
serge%netscape.com
42388fc100 ix 109739, removed nsIRegistry and switched to flat file support for caching plugins info, r=av, sr=dveditz
git-svn-id: svn://10.0.0.236/trunk@127285 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-14 22:31:59 +00:00
av%netscape.com
432a1c17c8 Bug 151920 -- converting nsPluginHostImpl::AddInstanceToActiveList from void to nsresult, r=serge, sr=darin
git-svn-id: svn://10.0.0.236/trunk@127059 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-12 06:12:29 +00:00
bryner%netscape.com
069dbfb68c Fix full-page plugins on static builds by registering the docloader factory via nsIComponentRegistrar::RegisterFactory, so we don't have to depend on there being a plugin shared library in the components directory. r=peterl, sr=shaver, a=chofmann.
git-svn-id: svn://10.0.0.236/trunk@125164 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-14 00:39:35 +00:00
peterlubczynski%netscape.com
f760c5576b Fixing bug 148458: Netscape Radio crashes using Real Player if another plugin is being installed in another window because scripting any plugin in other window after plugins.refresh(1) causes this crash when plugin has been unloaded - N70PR1 [@ NPPL3260.DLL - XPTC_InvokeByIndex] r=av, sr=jst
git-svn-id: svn://10.0.0.236/trunk@124632 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-03 21:03:51 +00:00
av%netscape.com
a5938760b0 Bug 148889 -- unloading XPConnected plugin DLLs may cause crash [ViewPoint], r=peterl, sr=beard
git-svn-id: svn://10.0.0.236/trunk@124077 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-26 04:32:49 +00:00
peterlubczynski%netscape.com
3f4bbe0254 Fixing a crash with Java [@nsPluginHostImpl::AddInstanceToActiveList][@ jpins32.dll] where it doesn't addref the peer or returns error from Initialize, bug 140931 r=serge sr=beard
git-svn-id: svn://10.0.0.236/trunk@123347 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-14 20:45:29 +00:00
serge%netscape.com
4f75363dc8 fix #44196 improperly parented modal dialog in nsPluginHostImpl.cpp, r=av, sr=beard
git-svn-id: svn://10.0.0.236/trunk@122466 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-01 00:56:38 +00:00
timeless%mac.com
22bfbf8d90 back out this morning's mess, it caused crashes at startup on unix (not mac or win .. oddly enough)
#0  0x4197db8e in nsPluginHostImpl::~nsPluginHostImpl (this=0x81beca0, __in_chrg=3)
    at mozilla/modules/plugin/base/src/nsPluginHostImpl.cpp:2630
#1  0x4197dd61 in nsPluginHostImpl::Release (this=0x81beca0)
    at mozilla/modules/plugin/base/src/nsPluginHostImpl.cpp:2639
#2  0x4015a878 in nsObserverList::AddObserver (this=0x81bed08, anObserver=0x81becb0, ownsWeak=1)
    at ../../dist/include/xpcom/nsCOMPtr.h:490
#3  0x4015b7da in nsObserverService::AddObserver (this=0x80f1678,
    anObserver=0x81becb0, aTopic=0x419a2b73 "quit-application", ownsWeak=1)
    at mozilla/xpcom/ds/nsObserverService.cpp:163


git-svn-id: svn://10.0.0.236/trunk@122411 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-31 08:05:14 +00:00
timeless%mac.com
9b9dc6b8cb Bug 107485 nsPluginHostImpl's shutdown listener should be a weak reference
patch by adu@sparc.spb.su r=dougt sr=darin


git-svn-id: svn://10.0.0.236/trunk@122406 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-31 05:14:00 +00:00
av%netscape.com
4cde48abd7 Fixing 143178 -- refreshing plugins before going to the plugin finder sevice, r=peterl, sr=beard
git-svn-id: svn://10.0.0.236/trunk@121671 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 20:47:29 +00:00
peterlubczynski%netscape.com
be3246ade9 Implementing new prefs that will allow for automatic scanning of tier one plugins in their installation locations:
pref("plugin.scan.SunJRE", "1.3");
pref("plugin.scan.Acrobat", "5.0");
pref("plugin.scan.Quicktime", "5.0");
pref("plugin.scan.WindowsMediaPlayer", "7.0");
pref("plugin.scan.4xPluginFolder", false);

This also adds a one-off hack to scan for Real Player (nppl3260.dll) in the XPCOM components folder.

Bug 133282, r=av sr=waterson


git-svn-id: svn://10.0.0.236/trunk@120393 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 02:01:50 +00:00
av%netscape.com
26992da121 Fixing 106411 -- 'Starting plugin...' message is stuck in the status bar, r=serge, sr=beard
git-svn-id: svn://10.0.0.236/trunk@120287 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 05:08:44 +00:00
av%netscape.com
6a23f98260 Fixing 132430 -- RealJukeBox breaks plugin finder service, r=peterl, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@120061 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 01:47:18 +00:00
seawood%netscape.com
bfd788cd4d Remove xp_core.h & xp_mem.h and all build references to them.
Remove cruft from xp_mcom.h & xp_str.h.
Bug #38061 r=brendan sr=alecf a=valeski


git-svn-id: svn://10.0.0.236/trunk@117612 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-27 06:02:39 +00:00
peterlubczynski%netscape.com
cb72b75c9c Making it so that we handle known image decoder mime types internally by default unless pref("plugin.override_internal_types", true); fixing bug 131230 r=av,biesi sr=beard a=asa
git-svn-id: svn://10.0.0.236/trunk@117464 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-26 06:30:33 +00:00
darin%netscape.com
04849998e1 fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa
git-svn-id: svn://10.0.0.236/trunk@115936 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 07:48:55 +00:00
av%netscape.com
6f3cc2ec32 Fixing 124936 -- refresh loop with dup plugins, r=peterl, sr=beard
git-svn-id: svn://10.0.0.236/trunk@114365 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 02:18:57 +00:00
av%netscape.com
b96821a2a8 Fixing bug 119621 -- plugins refreshed only every other time, r=peterl, sr=beard
git-svn-id: svn://10.0.0.236/trunk@114204 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-11 23:09:38 +00:00
serge%netscape.com
72ccea118e fix #115308, NPN_PostURL[Notify] does not handle binary data; r=bnesse, sr=darin
git-svn-id: svn://10.0.0.236/trunk@113181 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 02:40:46 +00:00
peterlubczynski%netscape.com
6dcd1236ae Fix for hang during Shockwave registration and problems with NPN_PostURL bug 108966 r=av sr=darin
git-svn-id: svn://10.0.0.236/trunk@110333 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-12 01:38:02 +00:00
peterlubczynski%netscape.com
879a121601 Fix for not weeding out plugin duplicates because we were only checking the filename. Now, do a deep comparison of the name, description, and order of mime types. This will prevent two plugins with these same properties but with diferent names from loading. bug 110781 r=av sr=beard
git-svn-id: svn://10.0.0.236/trunk@108522 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-20 01:19:33 +00:00
ccarlen%netscape.com
5f866fa0f5 Bug 77231 - find plugins using directory service. r=av/sr=waterson
git-svn-id: svn://10.0.0.236/trunk@108378 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-17 15:26:02 +00:00
peterlubczynski%netscape.com
ecf99805e4 Fix for NPN_PostURL not always working correctly [like with binary file data] bug 105417 r=av sr=darin
git-svn-id: svn://10.0.0.236/trunk@107542 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-07 03:03:04 +00:00
dp%netscape.com
88fbbf69b9 bug 105935 Caching of canUnload to get mac plugin bundles to
work. r=peterlubczynski sr=waterson


git-svn-id: svn://10.0.0.236/trunk@106663 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 06:46:40 +00:00
dougt%netscape.com
cf60fc042e nsIObserver and nsIObserverService API freeze. r=rpotts@netscape.com, alecf@netscape.com. bug 99163
git-svn-id: svn://10.0.0.236/trunk@105800 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 20:52:59 +00:00
dp%netscape.com
455aa66d39 bug# 101769 Stop loading plugins on startup r=av,sr=waterson
git-svn-id: svn://10.0.0.236/trunk@105700 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-18 12:26:23 +00:00
gerv%gerv.net
13afb6d0f9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
gerv%gerv.net
ae1d5501a1 Oops.
git-svn-id: svn://10.0.0.236/trunk@103236 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 00:02:59 +00:00
scc%mozilla.org
52c8d09e03 bug #98089: ripped new license
git-svn-id: svn://10.0.0.236/trunk@103219 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 20:09:47 +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
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
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
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
av%netscape.com
4f229b20dd Fixing 75826 -- PostURL not working from files, r=peterl, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@92598 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-17 23:30:25 +00:00
av%netscape.com
862fddfec7 Fixing 74485, making shutdown procedures for plugins cleaner, r=sean@beatnik.com, sr=wateson
git-svn-id: svn://10.0.0.236/trunk@92017 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-11 23:08:36 +00:00
av%netscape.com
1adad24225 For 73856, adding simple scriptability to the old style plugins, sr=vidur, ra=av
git-svn-id: svn://10.0.0.236/trunk@91192 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 22:49:38 +00:00
av%netscape.com
0dd79e0251 To fix bug 58128. For old style plugins: added nsIPlugin::Shutdown as well as dll unload upon destroying the last plugin instance. r=peterl, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@90351 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-25 00:28:53 +00:00
av%netscape.com
a93891b60e Fixing #45009 -- nsIPlugin::Shutdown mechanism implemented, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@89308 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 02:07:15 +00:00