edburns%acm.org
fc704a0841
a=brendan, ekrock
...
r=av, sean@beatnik.com
bug=50547
This change allows the plugin to have a greater degree of control over
the plugin lifecycle. This change makes it possible for the plugin to
tell mozilla:
1. Whether or not they want to allow the browser to cache their
instance. Default is yes, do allow the browser to cache their instance.
2. If they answer no to 1, that is, no the plugin does not want the
browser to cache their instance, do you want the shutdown calls to be:
a.
inst->SetWindow(nsnull);
inst->Stop();
inst->Destroy();
b.
inst->Stop();
inst->Destroy();
inst->SetWindow(nsnull);
a. is the default.
Please visit the bug to see the patches:
http://bugzilla.mozilla.org/show_bug.cgi?id=50547
Detail:
This fix was requested by Stanley Ho of the Sun Java Plugin Team. A
conference call between Eric Krock, Andrei Volkov, Sun, Adobe and other
plugin vendors was used to agree on the above solution.
M modules/plugin/public/nsplugindefs.h
M modules/plugin/nglsrc/nsPluginHostImpl.cpp
M modules/plugin/nglsrc/nsPluginViewer.cpp
M layout/html/base/src/nsObjectFrame.cpp
git-svn-id: svn://10.0.0.236/trunk@79099 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 08:22:31 +00:00
rayw%netscape.com
d9228441a4
Bug 37275, Changing value of all progids, and changing everywhere a progid
...
is mentioned to mention a contractid, including in identifiers.
r=warren
git-svn-id: svn://10.0.0.236/trunk@79036 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 23:57:52 +00:00
edburns%acm.org
f12f878020
a=brendan,av
...
r=av
bug=50811
Should include "nsISupports.idl" not "nsPluginDefs.idl".
git-svn-id: svn://10.0.0.236/trunk@78987 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 07:07:18 +00:00
edburns%acm.org
9d9e08fdbe
a=brendan,av
...
r=av
bug=50811
This bug fix was suggested by Stanley Ho <stanley.ho@eng.sun.com>.
Stanley proposed we overload the meaning of the nsIPluginStreamListener
argument to nsIPluginManager::{GetURL,PostURL}() so that it also may
implement an interface for reading headers. Thus, the browser could QI
the plugin's nsIPluginStreamListener instance to this headers reading
interface and send the plugin the headers from the response.
I have implemented Stanley's above proposal. I have defined a new
interface, nsIHTTPHeaderListener.idl with one method:
/**
* Called for each HTTP Response header.
* NOTE: You must copy the values of the params.
*/
void newResponseHeader(in string headerName, in string headerValue);
To affect this fix, I have added a new private method
nsPluginStreamListenerPeer::
ReadHeadersFromChannelAndPostToListener(nsIHTTPChannel *httpChannel,
nsIHTTPHeaderListener *listener)
Then, modified nsPluginStreamListenerPeer::OnDataAvailable() to call
this method BEFORE reading the content data. However, this fix makes
two important assumptions I would like to check out:
* Assumption
* By the time nsPluginStreamListenerPeer::OnDataAvailable() gets
* called, all the headers have been read.
* Assumption:
* The return value from nsIHTTPHeader->{GetFieldName,GetValue}()
* must be freed.
The following files are included in this fix:
A modules/plugin/public/nsIHTTPHeaderListener.idl
A modules/plugin/public/makefile.win
A modules/plugin/public/Makefile.in
M modules/plugin/nglsrc/nsPluginHostImpl.cpp
git-svn-id: svn://10.0.0.236/trunk@78980 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 06:40:57 +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
beard%netscape.com
225060e4fa
bug #42100 , Carbon compatibility. r=gordon, saari, pinkerton, sfraser
...
git-svn-id: svn://10.0.0.236/trunk@72686 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 23:10:06 +00:00
mccabe%netscape.com
d02312ed59
Makefile fix, thanks to Dan Veditz. Should fix bustage.
...
git-svn-id: svn://10.0.0.236/trunk@72171 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 02:40:00 +00:00
mccabe%netscape.com
552b1a1104
Backing out for now to fix bustage.
...
git-svn-id: svn://10.0.0.236/trunk@72170 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 02:33:45 +00:00
mccabe%netscape.com
35280d6bef
Fix to 39911, which nsbeta+ 38495 depends on.
...
Build nsIScriptablePlugin.idl on Unix and Windows.
a=beard
git-svn-id: svn://10.0.0.236/trunk@72166 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 01:21:39 +00:00
mccabe%netscape.com
984f9b048c
Part of fix for 39911, which is a dependency of nsbeta+ bug 38495.
...
Interface for plugins to expose to advertise a scriptable peer object and the interface that XPConnect should expose it with.
r=sechevarria@beatnik.com ,beard@netscape.com
a=beard@netscape.com
NOTE This is not yet built on any platform.
git-svn-id: svn://10.0.0.236/trunk@72163 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 01:04:06 +00:00
warren%netscape.com
c7bdf7e501
Lowercased handleEvent
...
git-svn-id: svn://10.0.0.236/trunk@70826 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 08:29:10 +00:00
warren%netscape.com
cf7701ec8a
New beta-quality Plugin API (now in IDL!).
...
git-svn-id: svn://10.0.0.236/trunk@70561 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-20 20:03:36 +00:00
av%netscape.com
9889e4de2b
#26893 , moved GetDOMElement from nsIPluginTagInfo to nsIPluginTagInfo2.h
...
git-svn-id: svn://10.0.0.236/trunk@66316 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 21:44:56 +00:00
pavlov%netscape.com
4c7207106a
fix mac bustage
...
git-svn-id: svn://10.0.0.236/trunk@62902 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 07:42:31 +00:00
pavlov%netscape.com
936a018533
add defined(RHAPSODY) around the XP_MAC lines
...
git-svn-id: svn://10.0.0.236/trunk@62890 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 06:16:13 +00:00
mkaply%us.ibm.com
1a08d30a61
# 25555
...
r= beard@netscape.com
OS/2 changes for Mozilla - add #ifdef, change #ifdef
git-svn-id: svn://10.0.0.236/trunk@61785 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-28 15:00:30 +00:00
av%netscape.com
e05d740183
Bug 22598. r=vidur
...
git-svn-id: svn://10.0.0.236/trunk@56781 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-05 01:18:38 +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
dmose%mozilla.org
92d791b7b0
updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@52908 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:40:37 +00:00
briano%netscape.com
1be96e2703
General cleanup.
...
git-svn-id: svn://10.0.0.236/trunk@47265 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-14 02:51:42 +00:00
cyeh%netscape.com
e066f641bc
Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people.
...
git-svn-id: svn://10.0.0.236/trunk@45411 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 01:24:51 +00:00
beard%netscape.com
aed0c41533
reverting GetDocumentBase() to be consistent with other accessors. If we decide to change this, let's change ALL of them.
...
git-svn-id: svn://10.0.0.236/trunk@41935 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-03 02:51:39 +00:00
beard%netscape.com
6c1052d0ba
sizeof(mode) field was dependent on compiler settings, now nsPluginPrint.mode is always a PRUint16.
...
git-svn-id: svn://10.0.0.236/trunk@41861 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-02 21:44:54 +00:00
hoa.nguyen%intel.com
cee5e76d6e
Added #define NS_INLINE_PLUGIN_PROGID_PREFIX "component://netscape/inline-plugin/" to be used a the prefix for the ProgID of all plugins.
...
git-svn-id: svn://10.0.0.236/trunk@40372 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-20 23:49:51 +00:00
beard%netscape.com
3812cbbdf7
added GetIID() accessor
...
git-svn-id: svn://10.0.0.236/trunk@39810 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-17 01:57:10 +00:00
warren%netscape.com
2f522c1be0
More necko changes. Changed nsIPluginTagInfo2::GetDocumentBase to copy string.
...
git-svn-id: svn://10.0.0.236/trunk@36581 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-23 19:55:21 +00:00
beard%netscape.com
40ffb6fae1
added GetJSContext()
...
git-svn-id: svn://10.0.0.236/trunk@30824 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 16:33:40 +00:00
beard%netscape.com
01376e94c6
added IID accessor, changed GetJavaClass() to have a JNIEnv* parameter, no longer inherits from nsIPlugin.
...
git-svn-id: svn://10.0.0.236/trunk@27791 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 02:10:05 +00:00
beard%netscape.com
339c93d08f
added IID accessor, added GetJavaEnv() method.
...
git-svn-id: svn://10.0.0.236/trunk@27790 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 02:08:50 +00:00
beard%netscape.com
0f4244e2d0
added IID accessor, changed GetJavaClass() to have a JNIEnv* parameter.
...
git-svn-id: svn://10.0.0.236/trunk@27789 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 02:08:15 +00:00
beard%netscape.com
edb049b30e
added GetJSThread(), to obtain the thread ID to send events to via nsIThreadManager::PostEvent().
...
git-svn-id: svn://10.0.0.236/trunk@27124 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 03:14:19 +00:00
beard%netscape.com
27e9c3208e
removed GetJSWindow, moved to nsIPluginInstancePeer2
...
git-svn-id: svn://10.0.0.236/trunk@25035 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 03:32:22 +00:00
beard%netscape.com
cf7fc5c734
added nsIPluginInstancePeer2.h
...
git-svn-id: svn://10.0.0.236/trunk@25030 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 03:29:54 +00:00
beard%netscape.com
2cb165ea4a
First Checked In.
...
git-svn-id: svn://10.0.0.236/trunk@25024 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 02:45:38 +00:00
beard%netscape.com
849bde491e
added GetJSWindow()
...
git-svn-id: svn://10.0.0.236/trunk@24975 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 05:46:23 +00:00
beard%netscape.com
5f070d8c6c
added nsICookieStorage.h
...
git-svn-id: svn://10.0.0.236/trunk@24596 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 23:07:52 +00:00
beard%netscape.com
ec20be3608
added CreatePluginInstance, to create a plugin instance with a specified MIME type.
...
git-svn-id: svn://10.0.0.236/trunk@24133 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-14 20:09:12 +00:00
beard%netscape.com
284c311805
added IID_ACCESSOR
...
git-svn-id: svn://10.0.0.236/trunk@24042 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 03:12:16 +00:00
beard%netscape.com
8230ab5364
fixed IID accessor
...
git-svn-id: svn://10.0.0.236/trunk@24041 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 03:11:05 +00:00
beard%netscape.com
04acba3cf8
added NS_DEFINE_STATIC_IID_ACCESSOR.
...
git-svn-id: svn://10.0.0.236/trunk@23882 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 04:46:43 +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
beard%netscape.com
216bfff8b9
File Removed.
...
git-svn-id: svn://10.0.0.236/trunk@23085 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 22:23:41 +00:00
beard%netscape.com
1cc31e4675
First Checked In.
...
git-svn-id: svn://10.0.0.236/trunk@23084 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 22:23:26 +00:00
beard%netscape.com
9947d53238
struct -> class
...
git-svn-id: svn://10.0.0.236/trunk@22698 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 06:10:58 +00:00
beard%netscape.com
875193d236
First Checked In.
...
git-svn-id: svn://10.0.0.236/trunk@22530 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 04:43:30 +00:00
beard%netscape.com
b4f129401a
added IID() accessor.
...
git-svn-id: svn://10.0.0.236/trunk@22410 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 22:14:30 +00:00
beard%netscape.com
232c2ffdce
Added NS_PLUGIN_CID, and IID() accessor.
...
git-svn-id: svn://10.0.0.236/trunk@22409 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 22:12:50 +00:00
warren%netscape.com
49ed8e046f
Changes for RDF component registration using nsRepository. Also changed args to NSGetFactory and friends.
...
git-svn-id: svn://10.0.0.236/trunk@22094 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 10:17:14 +00:00
beard%netscape.com
a7b513e908
class nsIPlugin not struct.
...
git-svn-id: svn://10.0.0.236/trunk@21394 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 04:26:09 +00:00