389 Commits

Author SHA1 Message Date
timeless%mac.com
3eb9c1c912 bustage, sorry,
it's nsISupportsWeakReference, not nsIWeakReference
and we didn't want to touch nsPluginCacheListener which is what caused the original confusion


git-svn-id: svn://10.0.0.236/trunk@122408 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-31 06:15:05 +00:00
timeless%mac.com
3908d42e0b whoops bustage, you need to up the IMPL_ count when you implement a new interface
git-svn-id: svn://10.0.0.236/trunk@122407 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-31 05:48:09 +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
peterlubczynski%netscape.com
f217155ede Fixing bug 134445, OBJECT tag needs to be able to access default plugin r=av sr=beard
git-svn-id: svn://10.0.0.236/trunk@122365 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-30 22:31:27 +00:00
serge%netscape.com
ba68761930 fix for #145377, crash after closing acrobat plugin, r=av, sr=darin
git-svn-id: svn://10.0.0.236/trunk@122189 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-26 22:52:19 +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
serge%netscape.com
2d42f2070a fix for 119494, Mozilla breaks the stream to the plugin if server cannot proceed byte range request
[returns 200, instead of 206] r=peterl, sr=darin


git-svn-id: svn://10.0.0.236/trunk@121268 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 18:32:42 +00:00
darin%netscape.com
24feadaaed fixes bug 142870 "nsIFile should use UCS-2 instead of UTF-8"
r=dougt sr=alecf


git-svn-id: svn://10.0.0.236/trunk@121010 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 23:07:19 +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
serge%netscape.com
5c8fa20595 fix #139572 [Acrobat's form fails to render ( pdf on secure site)] r=peterl, sr=beard
git-svn-id: svn://10.0.0.236/trunk@120356 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 23:39:59 +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
darin%netscape.com
824def02af fixes bug 129279 "nsIFile unicode/utf8/ascii task"
r=dougt sr=alecf


git-svn-id: svn://10.0.0.236/trunk@120092 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 05:33:09 +00:00
av%netscape.com
d751279ef2 Bustage fix
git-svn-id: svn://10.0.0.236/trunk@120068 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 02:24:18 +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
serge%netscape.com
ec03f9f278 fix 130080 [Signing Acrobat doesn't work] r=peterl, sr=darin
git-svn-id: svn://10.0.0.236/trunk@119877 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 21:28:06 +00:00
serge%netscape.com
63446c5077 fix for #131153, PDF plugin doesn't work, it expects file extension for stream type == StreamType_AsFile; r=peterl, sr=beard
git-svn-id: svn://10.0.0.236/trunk@119526 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-22 01:08:27 +00:00
peterlubczynski%netscape.com
6b9b96a054 Adding support for BP_GetSupportedMIMETypes and NP_GetMIMEDescription on Mac (so Quicktime can play MPEGS) bug 113464 r=bnesse sr=beard
git-svn-id: svn://10.0.0.236/trunk@118909 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-13 05:10:30 +00:00
rpotts%netscape.com
52067fb160 bug #106253 (r=peterl@netscape.com, sr=jst@netscape.com, a=valeski@netscape.com). Make sure that URIs requested by plugins are added to the appropriate loadgroup...
git-svn-id: svn://10.0.0.236/trunk@118832 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 05:59:26 +00:00
serge%netscape.com
e680ccab38 fix bug 115891 Byte range request are not giving the correct data, r=peterl, sr=darin, a=asa
git-svn-id: svn://10.0.0.236/trunk@117578 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-27 03:41:43 +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
av%netscape.com
5d29852870 Fix for 116357 -- NPAPI plugins should have an ability to stay in memory beyond page life time, patch by peterl, r=av, sr=beard, a=asa
git-svn-id: svn://10.0.0.236/trunk@117428 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-25 23:42:32 +00:00
dbaron%fas.harvard.edu
ca60c05636 Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa
git-svn-id: svn://10.0.0.236/trunk@117338 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 21:23:50 +00:00
darin%netscape.com
8defbf5d26 b=128508 "freeze nsIChannel nsIRequest" r=gagan, sr=rpotts, a=asa
git-svn-id: svn://10.0.0.236/trunk@117002 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 22:50:33 +00:00
peterlubczynski%netscape.com
a032e8c773 Pass correct NPReason code to NPP_URLNotify when error with request (like 404) bug 130152 r=av sr=darin a=dbaron
git-svn-id: svn://10.0.0.236/trunk@116767 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-18 00:09:48 +00:00
bzbarsky%mit.edu
8f2c2dd48d Don't pass encoded content to plugins without decoding. Bug 119094,
r=serge, sr=darin, a=asa


git-svn-id: svn://10.0.0.236/trunk@116721 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-16 15:58:54 +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
serge%netscape.com
13aec58b3b bug 127928 crash from talkback reports [@ nsPluginStreamListenerPeer::OnDataAvailable],r=peterl,sr=beard,a=asa
git-svn-id: svn://10.0.0.236/trunk@115597 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-01 23:44:17 +00:00
peterlubczynski%netscape.com
9dcf52c85b Fix for only opening initial streams for plugins if we can handle it internally. This fixes RealPlayer popping up as a helper application for rstp:// protocols bug 85539 r=av sr=darin
git-svn-id: svn://10.0.0.236/trunk@115469 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 04:47:08 +00:00
alecf%netscape.com
f85a67075e one part of fix for bug 107575 - clean up consumers of nsString::EqualsIgnoreCase and nsString::EqualsWithConversion, to be explicit about case-insensitive compares
r=timeless sr=jag


git-svn-id: svn://10.0.0.236/trunk@114971 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 22:49:12 +00:00
cathleen%netscape.com
6f09324ed7 eliminate nsCRT::strlen for char* strings (part 4), bug 124536 r=dp sr=brendan
git-svn-id: svn://10.0.0.236/trunk@114939 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 16:01:45 +00:00
peterlubczynski%netscape.com
deabb03ed0 Unload pluign libraries asynchronously to prevent crash with native context menus 104236 r=av sr=rpotts
git-svn-id: svn://10.0.0.236/trunk@114855 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 01:26:17 +00:00
serge%netscape.com
20257fd053 fix for 123974 [viewpoint] 404 file not found errors are passed back to the plugin incorrectly; r=av, sr=beard
git-svn-id: svn://10.0.0.236/trunk@114622 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 01:23:16 +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
6719dde129 Fixing 121072 -- to show plugin name in bad plugin dialog, r=serge, sr=beard
git-svn-id: svn://10.0.0.236/trunk@114320 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 22:25:40 +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
b3697a262f fix #123791; Installing Shockwave crashes Mozilla; r=peterl, sr=beard
git-svn-id: svn://10.0.0.236/trunk@113933 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 23:22:39 +00:00
bnesse%netscape.com
216c17fb25 Fix for bug 120390. Use PL_strncasecmp rather than PL_strcasecmp to check for java mimetype. Patch by, and checking in for, Igor Nekrestyanov, r=bnesse, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@113918 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 22:52:21 +00:00
peterlubczynski%netscape.com
324ffc5a5e Fix by Serge for crash after installing Java Plug-in on Linux bug 122246 r=peterl sr=beard
git-svn-id: svn://10.0.0.236/trunk@113505 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-02 04:42:05 +00:00
peterlubczynski%netscape.com
ca86fbd4ee Checking in for nis@sparc.spb.su, fix for Java applets inserted as <OBJECT> run in spite of Java is turned off in Preferences bug 116888 r=peterl sr=beard
git-svn-id: svn://10.0.0.236/trunk@113445 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-01 21:40:49 +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
dougt%netscape.com
011f9b10e5 1. Converts callers of nsIComponentManagerObsolete to use
nsIComponentRegistrar.

2. Converts callers of nsComponentManager::AutoRegister to use
nsIComponentRegistrar's autoRegistrar method.

3. Add nsIComponentRegistrar implmentation to nsComponentManagerImpl.

4. Rearrange nsComponentManager.cpp so that related methods are in the same
place.

5. Added a C-style function NS_GetComponentRegistrar so that getting the
registrar is easier in some places.

6. Added a nsISimpleEnumerator interface on PLDHashTableEnumeratorImpl.  in
this way, the same base class can support both old style and new style
enumerations.

7. Fixed a nasty bug where unregistring factories will leave the contract id
hash with a dangling pointer.  Now, when unregister is called we search the
contract id hash for entries which have the given doomned cid and remove them.


Bug 115853.  r=dp@netscape.com, sr=rpotts@netscape.com


git-svn-id: svn://10.0.0.236/trunk@113143 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-29 21:22:13 +00:00
peterlubczynski%netscape.com
8175aa6f6d Fix for using newer pluign if upgraded, bug 119966 r=av sr=darin
git-svn-id: svn://10.0.0.236/trunk@112920 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-26 00:44:47 +00:00
beard%netscape.com
8310b2caa2 bug #118649, r=peterl, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@111626 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 02:15:50 +00:00
alecf%netscape.com
b0e0e6d031 C++ side of fix for bug 100212 - move consumers of nsIFile.URL into nsIIOService. r=dougt, sr=darin
git-svn-id: svn://10.0.0.236/trunk@111529 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-08 01:31:25 +00:00
naving%netscape.com
63e7f47d2f 116427 r=av sr=mscott. fix leaking name and description upon loading each plugin.
git-svn-id: svn://10.0.0.236/trunk@111086 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-26 21:22:07 +00:00
timeless%mac.com
21c081c8bc Bugzilla Bug 106386 rid source of these misspellings: persistant persistance priviledge protocal editting editted targetted targetting
r='s from many people. sr=jst


git-svn-id: svn://10.0.0.236/trunk@111049 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-23 23:23:41 +00:00
peterlubczynski%netscape.com
061295c07d Reverse the internal linked list of plugins after scanning in order to get loading precendence correct. bug 115337 r=av, sr=beard
git-svn-id: svn://10.0.0.236/trunk@110874 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-20 06:54:07 +00:00
dougt%netscape.com
c01e94cad7 nsIComponentManager API Changes (bug 98553)
a) create a new nsIComponentManager with only four functions on it:
CreateInstance CreateInstanceByContractID GetClassInfo GetClassInfoByContractID.

b) rename the old nsIComponentManager to nsIComponentManagerObsolete.

c) fixes callers which use to access the nsIComponentManager for component
registration functionality.  These callers will temporary use the
nsIComponentManagerObsolete interface.

d) Create a new API NS_GetComponentManager() which mirrors the
NS_GetServiceManager()

e) Perserves the old NS_GetGlobalComponentManager().  Note the cast usage.

r/sr = rpotts@netscape.com  alecf@netscape.com  brendan@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@110748 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-19 00:12:41 +00:00
jaggernaut%netscape.com
436d43f211 Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf
git-svn-id: svn://10.0.0.236/trunk@110579 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-16 11:58:03 +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