head	1.2;
access;
symbols
	RELEASE_7_4_0:1.1
	RELEASE_8_2_0:1.1
	RELEASE_6_EOL:1.1;
locks; strict;
comment	@# @;


1.2
date	2011.04.26.18.56.14;	author jkim;	state dead;
branches;
next	1.1;

1.1
date	2010.08.23.21.52.39;	author jkim;	state Exp;
branches;
next	;


desc
@@


1.2
log
@- Update to 1.3.2 and remove obsolete local patches.
- Replace the defunct URL with a new upstream location.  Now this project has
a new maintainer:

https://www.redhat.com/archives/nspluginwrapper-devel-list/2011-April/msg00003.html

For more information about this release, please see the following thread:

https://www.redhat.com/archives/nspluginwrapper-devel-list/2011-April/msg00006.html

Prodded by:	Benjamin Kaduk (kaduk at MIT dot EDU), arundel
@
text
@--- npapi/npapi.h	2009-01-02 09:22:28.000000000 -0500
+++ npapi/npapi.h	2010-08-18 19:07:09.000000000 -0400
@@@@ -439,7 +439,9 @@@@ typedef enum {
   /* Get the NPObject wrapper for the plugins DOM element. */
   NPNVPluginElementNPObject = 16,
 
-  NPNVSupportsWindowless = 17
+  NPNVSupportsWindowless = 17,
+
+  NPNVprivateModeBool = 18
 
 } NPNVariable;
 
--- src/npw-rpc.c	2010-08-18 19:10:19.000000000 -0400
+++ src/npw-rpc.c	2010-08-18 19:08:24.000000000 -0400
@@@@ -41,6 +41,7 @@@@ int rpc_type_of_NPNVariable(int variable
   case NPNVisOfflineBool:
   case NPNVSupportsXEmbedBool:
   case NPNVSupportsWindowless:
+  case NPNVprivateModeBool:
 	type = RPC_TYPE_BOOLEAN;
 	break;
   case NPNVToolkit:
--- src/npw-viewer.c	2010-08-18 19:10:19.000000000 -0400
+++ src/npw-viewer.c	2010-08-18 19:05:46.000000000 -0400
@@@@ -1266,6 +1266,7 @@@@ g_NPN_GetValue(NPP instance, NPNVariable
   case NPNVSupportsXEmbedBool:
   case NPNVWindowNPObject:
   case NPNVPluginElementNPObject:
+  case NPNVprivateModeBool:
 	return g_NPN_GetValue_real(instance, variable, value);
   default:
 	switch (variable & 0xff) {
--- src/utils.c	2009-01-02 09:22:29.000000000 -0500
+++ src/utils.c	2010-08-18 19:09:31.000000000 -0400
@@@@ -283,6 +283,7 @@@@ const char *string_of_NPNVariable(int va
 	_(NPNVWindowNPObject);
 	_(NPNVPluginElementNPObject);
 	_(NPNVSupportsWindowless);
+	_(NPNVprivateModeBool);
 #undef _
   default:
 	switch (variable & 0xff) {
@


1.1
log
@- Add a trivial fix for NPAPI PrivateMode.  It should fix annoying warnings
such as this:

*** NSPlugin Viewer *** WARNING: unhandled variable 18 (<unknown variable>) in NPN_GetValue()

See the following URL for more information:

https://wiki.mozilla.org/Plugins:PrivateMode

- Replace a trivial shell script with our own version.
@
text
@@

