54 Commits

Author SHA1 Message Date
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
dougt%netscape.com
175245e2de Relanding Necko Changes.
Revising nsIChannel to allow for overlapped i/o. This consists of three parts:

1. Factoring nsIChannel into a protocol specific part, the nsIChannel, and a socket specific, the nsITransport.
2. Derive the nsIChannel from a nsIRequest.
2. Changes the notification system from necko and the URILoader to pass the nsIRequest interface instead of nsIChannel interface.

This goal stems from wanting to be able to have active AsyncRead and AsyncWrite operations on nsSocketTransport.
This is desired because it would greatly simplify the task of maintaining persistent/reusable socket connections
for FTP, HTTP, and Imap (and potentially other protocols). The problem with the existing nsIChannel interface is
that it does not allow one to selectively suspend just one of the read or write operations while keeping the other active.

r=darin@netscape.com
sr=rpotts@netscape.com


git-svn-id: svn://10.0.0.236/trunk@87587 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-21 20:38:08 +00:00
peterlubczynski%netscape.com
b2163df77e Fix for bug 59394. Number of cached plugins is now a pref:
browser.plugins.max_num_cached_plugins or defaults to 10. a=av sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@87041 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-14 23:03:47 +00:00
disttsc%bart.nl
03f69c5003 Back out dougt's channel changes
git-svn-id: svn://10.0.0.236/trunk@86793 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-12 03:14:23 +00:00
dougt%netscape.com
7af79c83df Revising nsIChannel to allow for overlapped i/o. This consists of three parts:
1. Factoring nsIChannel into a protocol specific part, the nsIChannel, and a socket specific, the nsITransport.
2. Derive the nsIChannel from a nsIRequest.
2. Changes the notification system from necko and the URILoader to pass the nsIRequest interface instead of nsIChannel interface.

This goal stems from wanting to be able to have active AsyncRead and AsyncWrite operations on nsSocketTransport.
This is desired because it would greatly simplify the task of maintaining persistent/reusable socket connections
for FTP, HTTP, and Imap (and potentially other protocols).  The problem with the existing nsIChannel interface is
that it does not allow one to selectively suspend just one of the read or write operations while keeping the other active.

The full details of the change on written up in the netlib newsgroup.

r=darin@netscape.com
sr=rpotts@netscape.com


git-svn-id: svn://10.0.0.236/trunk@86717 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-10 00:16:26 +00:00
av%netscape.com
dec4c7f030 Bug 61388 -- implementing refresh plugins mechanism without restarting, rs=waterson, r=peterl, a=r=av
git-svn-id: svn://10.0.0.236/trunk@86125 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 23:48:17 +00:00
rich.burridge%sun.com
5af1d3785e Fix to allow applet doing POST to an https connection over a proxy to work.
r=pollman@netscape.com
sr=waterson@netscape.com
Bugid #60228


git-svn-id: svn://10.0.0.236/trunk@84976 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-16 22:53:39 +00:00
av%netscape.com
8c26ff9682 Fixing #36089. Allowing Mac browse through both 'Plugins' and 'Plug-ins' folders, a=waterson
git-svn-id: svn://10.0.0.236/trunk@79797 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 00:58:46 +00:00
av%netscape.com
399c390ec8 Part of 33105 fix, added option not to show Bad Plugin warning again, r=serge
git-svn-id: svn://10.0.0.236/trunk@79236 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 23:58:17 +00:00
edburns%acm.org
f59c24e492 r=vidur, av
a=brendan
bug=49525

This simple fix just adds parameters to an existing method in an XPCOM
safe way, by defining a new method at the end of the interface
definition with the additional parameters.

Original method:

    NS_IMETHOD
    GetURL(nsISupports* pluginInst,
           const char* url,
           const char* target = NULL,
           nsIPluginStreamListener* streamListener = NULL,
           const char* altHost = NULL,
           const char* referrer = NULL,
           PRBool forceJSEnabled = PR_FALSE) = 0;

New method:

    NS_IMETHOD
    GetURLWithHeaders(nsISupports* pluginInst,
                      const char* url,
                      const char* target = NULL,
                      nsIPluginStreamListener* streamListener = NULL,
                      const char* altHost = NULL,
                      const char* referrer = NULL,
                      PRBool forceJSEnabled = PR_FALSE,
                      PRUint32 getHeadersLength = 0,
                      const char* getHeaders = NULL) = 0;

I have modified nsPluginHostImpl.h to include this new method, and
modified nsPluginHostImpl.cpp so that its GetURL calls GetURLWithHeaders
with null values for the last two params.

M modules/plugin/public/nsIPluginManager.h
M modules/plugin/nglsrc/nsPluginHostImpl.cpp
M modules/plugin/nglsrc/nsPluginHostImpl.h


git-svn-id: svn://10.0.0.236/trunk@79207 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 22:57:56 +00:00
av%netscape.com
85da22b6b9 Part of 33105 fix, added a method to hsIPluginHost to handle bad plugins, r=serge
git-svn-id: svn://10.0.0.236/trunk@79085 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 06:03:37 +00:00
edburns%acm.org
7f44ca7382 r=av
a=waterson
bug=51919

This fix makes it so nsIPluginManager::PostURL() works correctly in the
case of a null target and non-null streamListener.

The fix was to add parameters to NewPluginURLStream() for headers and
post data:

   NS_IMETHOD
-  NewPluginURLStream(const nsString& aURL, nsIPluginInstance *aInstance, nsIPluginStreamListener *aListener);
+  NewPluginURLStream(const nsString& aURL, nsIPluginInstance *aInstance,
+                     nsIPluginStreamListener *aListener,
+                     void *aPostData = nsnull, PRUint32 aPostDataLen = 0,
+                     const char *aHeadersData = nsnull,
+                     PRUint32 aHeadersDataLen = 0);

And to add a new method to correctly send the headers to the channel:

+  NS_IMETHOD
+  AddHeadersToChannel(const char *aHeadersData, PRUint32 aHeadersDataLen,
+                      nsIChannel *aGenericChannel);

Files in this fix:

M modules/plugin/nglsrc/nsPluginHostImpl.cpp
M modules/plugin/nglsrc/nsPluginHostImpl.h


git-svn-id: svn://10.0.0.236/trunk@78554 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 23:58:36 +00:00
waterson%netscape.com
9ea597c1b1 Bug 45698. Land PLUGIN_LOVE_2000_07_17_BRANCH: implement XPCOM plugins. r=av
git-svn-id: svn://10.0.0.236/trunk@74624 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-22 01:34:13 +00:00
av%netscape.com
6d93cedf23 Addressing 22954, r=mscott
git-svn-id: svn://10.0.0.236/trunk@73801 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-07 00:10:54 +00:00
av%netscape.com
f06fee1ede Addressing bug #41276, r=sean@beatnik.com
git-svn-id: svn://10.0.0.236/trunk@72264 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 01:07:27 +00:00
av%netscape.com
95f3dcdd98 Addressing #41276, r=sechevarria@beatnik.com
git-svn-id: svn://10.0.0.236/trunk@72144 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-13 23:23:13 +00:00
av%netscape.com
fde2f82df4 nsbeta2+ fix for 17551, approved by PDT team, r=amusil
git-svn-id: svn://10.0.0.236/trunk@70947 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 22:14:39 +00:00
av%netscape.com
ee1160133e Fixing mismatching delete's found by Purify, r=waqar
git-svn-id: svn://10.0.0.236/trunk@63797 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 00:45:49 +00:00
dmose%mozilla.org
0efb7c174c updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52910 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:43:54 +00:00
cls%seawood.org
3e1a9ca95a Removed unused NECKO ifdefs.
a=leaf


git-svn-id: svn://10.0.0.236/trunk@52607 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-02 23:34:03 +00:00
warren%netscape.com
06d707be48 Renamed nsIURL to nsIURI in preperation for necko. More NECKO ifdefs too.
git-svn-id: svn://10.0.0.236/trunk@36440 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-23 03:29:44 +00:00
amusil%netscape.com
b9c9fafc5e Bug fixes with plugin instance caching. We now keep track of a plugin instance's start/stop state.
git-svn-id: svn://10.0.0.236/trunk@33817 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 22:32:27 +00:00
amusil%netscape.com
91a29fa7f7 Updated 4x plugin support on the Mac
git-svn-id: svn://10.0.0.236/trunk@31934 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 21:26:48 +00:00
amusil%netscape.com
1da8f68a76 Added support for Start/Stop Applet/Plugin lifetimes.
git-svn-id: svn://10.0.0.236/trunk@30775 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 22:06:47 +00:00
beard%netscape.com
7011bdb5a7 Added GetPluginCount, and GetPlugins, for DOM support
git-svn-id: svn://10.0.0.236/trunk@28287 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 19:29:28 +00:00
amusil%netscape.com
2068508eee Changes to hook up LiveConnect on Windows
git-svn-id: svn://10.0.0.236/trunk@25467 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-29 22:18:05 +00:00
amusil%netscape.com
fb7d574e8f Made destructors virtual, added APIs to nsIPluginHost for determining if a plugin is available
for a particular mimetype or file extension.


git-svn-id: svn://10.0.0.236/trunk@24782 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 03:18:12 +00:00
beard%netscape.com
563b81185c implemented nsICookieStorage.
git-svn-id: svn://10.0.0.236/trunk@24597 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 23:11:25 +00:00
amusil%netscape.com
417ae85db0 Redesigned plugin cache code for StreamAsFile operations. Removed NEW_PLUGIN_STREAM_API ifdefs.
git-svn-id: svn://10.0.0.236/trunk@23781 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 22:48:58 +00:00
warren%netscape.com
0b33372d99 nsRepository -> nsIComponentManager changes.
git-svn-id: svn://10.0.0.236/trunk@23300 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 09:44:27 +00:00
kipp%netscape.com
00c7d42996 Use proper new/delete operators
git-svn-id: svn://10.0.0.236/trunk@22854 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 04:36:00 +00:00
beard%netscape.com
d264efb592 removed all vestiges of nsIMalloc.
git-svn-id: svn://10.0.0.236/trunk@22612 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 22:33:32 +00:00
dougt%netscape.com
25bcdd1a61 Changed nsNativeFileSpec to nsFileSpec.
git-svn-id: svn://10.0.0.236/trunk@21978 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 20:58:10 +00:00
beard%netscape.com
3a07cb34a1 mserviceMgr -> mServiceMgr
git-svn-id: svn://10.0.0.236/trunk@21849 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 04:14:19 +00:00
beard%netscape.com
d7cf5961f9 OJI interface changes
git-svn-id: svn://10.0.0.236/trunk@21382 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 02:24:15 +00:00
amusil%netscape.com
412eeea36e Fixed bugs with the stream as file implementation.
git-svn-id: svn://10.0.0.236/trunk@19763 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 23:37:20 +00:00
sudu%netscape.com
d3239a027a OJI MozClassic to raptor merge
git-svn-id: svn://10.0.0.236/trunk@18465 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 08:05:00 +00:00
michaelp%netscape.com
0cac7ec55d added support for deferred plugin enumeration.
git-svn-id: svn://10.0.0.236/trunk@11576 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 18:57:27 +00:00
michaelp%netscape.com
d62a69de3c added support for pluginmanager2 methods.
git-svn-id: svn://10.0.0.236/trunk@11186 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-27 22:23:19 +00:00
warren%netscape.com
78de9ecbcc Fixes to eliminate nsINetworkManager
git-svn-id: svn://10.0.0.236/trunk@10380 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 10:48:12 +00:00
michaelp%netscape.com
adef5c738a new plugin world.
git-svn-id: svn://10.0.0.236/trunk@10036 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 03:48:58 +00:00
warren%netscape.com
78dddd29b1 Added FindProxyForURL.
git-svn-id: svn://10.0.0.236/trunk@8916 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 00:17:25 +00:00
michaelp%netscape.com
8eeb4425f1 merged changes from branch.
git-svn-id: svn://10.0.0.236/trunk@7609 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-08 19:21:40 +00:00