mplayerplug-in-cvs Mailing List for mplayerplug-in for mozilla
Brought to you by:
kdekorte
You can subscribe to this list here.
2003 |
Jan
(2) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(19) |
Feb
(86) |
Mar
(186) |
Apr
(60) |
May
(12) |
Jun
(30) |
Jul
(16) |
Aug
(19) |
Sep
(33) |
Oct
(17) |
Nov
(26) |
Dec
(32) |
2005 |
Jan
(39) |
Feb
(15) |
Mar
(9) |
Apr
(11) |
May
(14) |
Jun
(24) |
Jul
(79) |
Aug
(69) |
Sep
(22) |
Oct
(76) |
Nov
(40) |
Dec
(15) |
2006 |
Jan
(73) |
Feb
(61) |
Mar
(29) |
Apr
(26) |
May
(19) |
Jun
(30) |
Jul
(16) |
Aug
(38) |
Sep
(32) |
Oct
(29) |
Nov
(23) |
Dec
(20) |
2007 |
Jan
(19) |
Feb
(13) |
Mar
(10) |
Apr
(2) |
May
(9) |
Jun
(7) |
Jul
(4) |
Aug
(18) |
Sep
(5) |
Oct
(6) |
Nov
(10) |
Dec
(21) |
2008 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
(10) |
Jun
(7) |
Jul
(3) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(2) |
2009 |
Jan
|
Feb
(3) |
Mar
|
Apr
(3) |
May
(4) |
Jun
|
Jul
|
Aug
|
Sep
(2) |
Oct
|
Nov
|
Dec
|
2010 |
Jan
(4) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Kevin D. <kde...@us...> - 2010-01-24 15:22:42
|
Update of /cvsroot/mplayerplug-in/mplayerplug-in/Source In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv2179/Source Modified Files: plugin-list.cpp Log Message: Fix crash in RAM parser Index: plugin-list.cpp =================================================================== RCS file: /cvsroot/mplayerplug-in/mplayerplug-in/Source/plugin-list.cpp,v retrieving revision 1.80 retrieving revision 1.81 diff -C2 -d -r1.80 -r1.81 *** plugin-list.cpp 3 May 2009 16:22:40 -0000 1.80 --- plugin-list.cpp 24 Jan 2010 15:22:34 -0000 1.81 *************** *** 856,866 **** //sub = strchr(url, 0x20); // terminate on space sub = strchr(url, EOF); // terminate on EOF ! if (sub != NULL) sub[0] = '\0'; if (DEBUG) printf("URL: %s\n", url); parent->playlist = 1; addToList(instance, url, parent, -1, 0, -1,0); ! p = p + strlen(url) + 1; found = 1; } --- 856,869 ---- //sub = strchr(url, 0x20); // terminate on space sub = strchr(url, EOF); // terminate on EOF ! if (sub != NULL) { sub[0] = '\0'; + p = NULL; + } if (DEBUG) printf("URL: %s\n", url); parent->playlist = 1; addToList(instance, url, parent, -1, 0, -1,0); ! if ( p != NULL ) ! p = p + strlen(url) + 1; found = 1; } *************** *** 889,899 **** //sub = strchr(url, 0x20); // terminate on space sub = strchr(url, EOF); // terminate on EOF ! if (sub != NULL) sub[0] = '\0'; if (DEBUG) printf("URL: %s\n", url); parent->playlist = 1; addToList(instance, url, parent, -1, 0, -1,0); ! p = p + strlen(url) + 1; found = 1; } --- 892,905 ---- //sub = strchr(url, 0x20); // terminate on space sub = strchr(url, EOF); // terminate on EOF ! if (sub != NULL) { sub[0] = '\0'; + p = NULL; + } if (DEBUG) printf("URL: %s\n", url); parent->playlist = 1; addToList(instance, url, parent, -1, 0, -1,0); ! if ( p != NULL ) ! p = p + strlen(url) + 1; found = 1; } |
From: Kevin D. <kde...@us...> - 2010-01-24 15:22:42
|
Update of /cvsroot/mplayerplug-in/mplayerplug-in In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv2179 Modified Files: ChangeLog Log Message: Fix crash in RAM parser Index: ChangeLog =================================================================== RCS file: /cvsroot/mplayerplug-in/mplayerplug-in/ChangeLog,v retrieving revision 1.580 retrieving revision 1.581 diff -C2 -d -r1.580 -r1.581 *** ChangeLog 14 Jan 2010 15:20:57 -0000 1.580 --- ChangeLog 24 Jan 2010 15:22:33 -0000 1.581 *************** *** 1,3 **** --- 1,4 ---- Development + Fix crash in RAM parser Patch from James Pearson to prevent mplayerplugin from killing tasks with id -1 Make mplayerplug-in work with apple.com |
From: Kevin D. <kde...@us...> - 2010-01-14 15:21:08
|
Update of /cvsroot/mplayerplug-in/mplayerplug-in In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv32580 Modified Files: ChangeLog Log Message: Patch from James Pearson to prevent mplayerplugin from killing tasks with id -1 Index: ChangeLog =================================================================== RCS file: /cvsroot/mplayerplug-in/mplayerplug-in/ChangeLog,v retrieving revision 1.579 retrieving revision 1.580 diff -C2 -d -r1.579 -r1.580 *** ChangeLog 23 Sep 2009 16:37:51 -0000 1.579 --- ChangeLog 14 Jan 2010 15:20:57 -0000 1.580 *************** *** 1,3 **** --- 1,4 ---- Development + Patch from James Pearson to prevent mplayerplugin from killing tasks with id -1 Make mplayerplug-in work with apple.com Alternate patch to rmda file references |
From: Kevin D. <kde...@us...> - 2010-01-14 15:21:06
|
Update of /cvsroot/mplayerplug-in/mplayerplug-in/Source In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv32580/Source Modified Files: plugin-support.cpp plugin-threads.cpp Log Message: Patch from James Pearson to prevent mplayerplugin from killing tasks with id -1 Index: plugin-threads.cpp =================================================================== RCS file: /cvsroot/mplayerplug-in/mplayerplug-in/Source/plugin-threads.cpp,v retrieving revision 1.282 retrieving revision 1.283 diff -C2 -d -r1.282 -r1.283 *** plugin-threads.cpp 23 Sep 2009 16:37:52 -0000 1.282 --- plugin-threads.cpp 14 Jan 2010 15:20:57 -0000 1.283 *************** *** 203,206 **** --- 203,213 ---- child = fork(); + if (child < 0) { + if (DEBUG) { + printf("Unable to fork\n"); + } + return NULL; + } + if (!child) { if (DEBUG) { Index: plugin-support.cpp =================================================================== RCS file: /cvsroot/mplayerplug-in/mplayerplug-in/Source/plugin-support.cpp,v retrieving revision 1.109 retrieving revision 1.110 diff -C2 -d -r1.109 -r1.110 *** plugin-support.cpp 3 Apr 2009 15:39:48 -0000 1.109 --- plugin-support.cpp 14 Jan 2010 15:20:57 -0000 1.110 *************** *** 566,570 **** instance->threadlaunched = 0; ! if (instance->pid != 0) { count = 0; status = 1; --- 566,570 ---- instance->threadlaunched = 0; ! if (instance->pid > 0) { count = 0; status = 1; |
From: Kevin D. <kde...@us...> - 2009-09-23 16:38:06
|
Update of /cvsroot/mplayerplug-in/mplayerplug-in/Source In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv13261/Source Modified Files: plugin-threads.cpp Log Message: Make mplayerplug-in work with apple.com Index: plugin-threads.cpp =================================================================== RCS file: /cvsroot/mplayerplug-in/mplayerplug-in/Source/plugin-threads.cpp,v retrieving revision 1.281 retrieving revision 1.282 diff -C2 -d -r1.281 -r1.282 *** plugin-threads.cpp 17 Feb 2009 14:19:53 -0000 1.281 --- plugin-threads.cpp 23 Sep 2009 16:37:52 -0000 1.282 *************** *** 1966,1974 **** if (local_td->instance->useragent) { ! snprintf(buffer, 1024, "-user-agent"); ! local_td->argv[argc++] = strdup(buffer); ! snprintf(buffer, 1024, "%s", ! local_td->instance->useragent); ! local_td->argv[argc++] = strdup(buffer); } --- 1966,1978 ---- if (local_td->instance->useragent) { ! snprintf(buffer, 1024, "-user-agent"); ! local_td->argv[argc++] = strdup(buffer); ! if (strstr(local_list->url, "apple.com") != NULL) { ! snprintf(buffer, 1024, "QuickTime/7.6.2"); ! } else { ! snprintf(buffer, 1024, "%s", ! local_td->instance->useragent); ! } ! local_td->argv[argc++] = strdup(buffer); } |
From: Kevin D. <kde...@us...> - 2009-09-23 16:38:05
|
Update of /cvsroot/mplayerplug-in/mplayerplug-in In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv13261 Modified Files: ChangeLog Log Message: Make mplayerplug-in work with apple.com Index: ChangeLog =================================================================== RCS file: /cvsroot/mplayerplug-in/mplayerplug-in/ChangeLog,v retrieving revision 1.578 retrieving revision 1.579 diff -C2 -d -r1.578 -r1.579 *** ChangeLog 3 May 2009 16:22:40 -0000 1.578 --- ChangeLog 23 Sep 2009 16:37:51 -0000 1.579 *************** *** 1,3 **** --- 1,4 ---- Development + Make mplayerplug-in work with apple.com Alternate patch to rmda file references Fix some compile issues on Fedora 11 |
From: Kevin D. <kde...@us...> - 2009-05-04 00:03:33
|
Update of /cvsroot/mplayerplug-in/mplayerplug-in/po In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv25221/po Added Files: sv.po Log Message: fix compile issues --- NEW FILE: sv.po --- # Swedish translation of mplayerplug-in # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Anders Lind <and...@gm...>, 2005. # msgid "" msgstr "" "Project-Id-Version: mplayerplug-in 3.x\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2006-10-20 12:23-0600\n" "PO-Revision-Date: 2008-12-02 06:27+0100\n" "Last-Translator: Niklas à kerström <nil...@gm...>\n" "Language-Team: Anders Lind <and...@gm...>\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Poedit-Language: Swedish\n" "X-Poedit-Country: Sweden\n" #: ../Source/plugin.cpp:819 #: ../Source/plugin-ui.cpp:1179 msgid "Play" msgstr "Uppspelning" #: ../Source/plugin.cpp:823 #: ../Source/plugin-ui.cpp:1210 msgid "Pause" msgstr "Paus" #: ../Source/plugin.cpp:827 #: ../Source/plugin-ui.cpp:1244 msgid "Stop" msgstr "Stopp" #: ../Source/plugin.cpp:840 msgid "Show Controls" msgstr "Visa kontroller" #: ../Source/plugin.cpp:848 #: ../Source/plugin-ui.cpp:1347 msgid "Full Screen" msgstr "Fullskärm" #: ../Source/plugin.cpp:860 msgid "Copy URL" msgstr "Kopiera URL" #: ../Source/plugin.cpp:864 #: ../Source/plugin-ui.cpp:1702 #, c-format msgid "Save" msgstr "Spara" #: ../Source/plugin.cpp:874 msgid "Configure" msgstr "Konfigurera" #: ../Source/plugin.cpp:968 msgid "Initializing" msgstr "Initierar" #: ../Source/plugin.cpp:1424 #: ../Source/plugin.cpp:1428 msgid "Download Complete" msgstr "Nedladdning klar" #: ../Source/plugin.cpp:1948 #, c-format msgid "Buffering %li KB" msgstr "Buffrar %li KB" #: ../Source/plugin.cpp:1954 #, c-format msgid "Buffering %i%% - %li KB" msgstr "Buffert %i%% - %li KB" #: ../Source/plugin.cpp:1964 #, c-format msgid "Buffering Complete - %li KB" msgstr "Buffring klar - %li KB" #: ../Source/plugin-threads.cpp:266 #: ../Source/plugin-threads.cpp:270 #: ../Source/plugin-threads.cpp:1630 #: ../Source/plugin-threads.cpp:1633 #, c-format msgid "Loading Media..." msgstr "Laddar Media..." #: ../Source/plugin-threads.cpp:603 #: ../Source/plugin-threads.cpp:607 msgid "Getting playlist..." msgstr "ErhÃ¥ller spellista..." #: ../Source/plugin-threads.cpp:915 #, c-format msgid "Buffering %s" msgstr "Buffrar %s" #: ../Source/plugin-threads.cpp:940 #: ../Source/plugin-threads.cpp:1854 #, c-format msgid "Playing %s" msgstr "Spelar upp %s" #: ../Source/plugin-threads.cpp:1180 msgid "Stream Title: " msgstr "Videoflödes titel:" #: ../Source/plugin-threads.cpp:1522 #: ../Source/plugin-ui.cpp:692 #, c-format msgid "Stopped" msgstr "Stoppad" #: ../Source/plugin-ui.cpp:1145 msgid "Rewind" msgstr "BakÃ¥tspolning" #: ../Source/plugin-ui.cpp:1277 msgid "Fast Forward" msgstr "Snabb framÃ¥tspolning" #: ../Source/plugin-ui.cpp:1697 #, c-format msgid "Save as %s/%s" msgstr "Spara som %s/%s" #: ../Source/plugin-ui.cpp:1717 #, c-format msgid "Append URL to %s/playlist" msgstr "Lägg till URL i %s/playlist" #: ../Source/plugin-ui.cpp:1789 #, c-format msgid "%2i:%02i / %2i:%02i | %2i%% â¼" msgstr "%2i:%02i / %2i:%02i | %2i%% â¼" #: ../Source/plugin-ui.cpp:1796 #, c-format msgid "%i:%02i:%02i / %i:%02i:%02i | %2i%% â¼" msgstr "%i:%02i:%02i / %i:%02i:%02i | %2i%% â¼" #: ../Source/plugin-ui.cpp:1828 #, c-format msgid "%2i%% â¼" msgstr "%2i%% â¼" #: ../Source/plugin-ui.cpp:2204 msgid "Save As..." msgstr "Spara som..." #: ../Source/plugin-ui.cpp:2604 msgid "mplayerplug-in configuration" msgstr "mplayerplug-in konfiguration" #: ../Source/plugin-ui.cpp:2694 msgid "OK" msgstr "OK" #: ../Source/plugin-ui.cpp:2698 msgid "Cancel" msgstr "Avbryt" #: ../Source/plugin-ui.cpp:2703 msgid "Video Output:" msgstr "Video-ut drivrutin:" #: ../Source/plugin-ui.cpp:2711 msgid "Audio Output:" msgstr "Ljud-ut drivrutin:" #: ../Source/plugin-ui.cpp:2719 msgid "Save to Location:" msgstr "Spara till:" #: ../Source/plugin-ui.cpp:2728 msgid "Minimum Cache Size:" msgstr "Minimal cache storlek:" #: ../Source/plugin-ui.cpp:2740 msgid "Percent of Media to Cache:" msgstr "Procent av media som ska cachas:" #: ../Source/plugin-ui.cpp:2754 msgid "Show time in progress bar" msgstr "Visa tid i förloppsindikatorn" #: ../Source/plugin-ui.cpp:2765 msgid "Enable Windows Media Player Support" msgstr "Aktivera Windows Media Player stöd" #: ../Source/plugin-ui.cpp:2776 msgid "Enable QuickTime Support" msgstr "Aktivera QuickTime stöd" #: ../Source/plugin-ui.cpp:2787 msgid "Enable RealMedia Support" msgstr "Aktivera RealMedia stöd" #: ../Source/plugin-ui.cpp:2799 msgid "Enable SMIL Support (Effects QuickTime and RealMedia)" msgstr "Aktivera SMIL stöd (pÃ¥verkar QuickTime och RealMedia)" #: ../Source/plugin-ui.cpp:2810 msgid "Enable Helix Emulation" msgstr "Aktivera Helix-emulering" #: ../Source/plugin-ui.cpp:2822 msgid "Enable Google Media Player Support" msgstr "Aktivera Google Media Player stöd" #: ../Source/plugin-ui.cpp:2833 msgid "Enable MPEG Support" msgstr "Aktivera MPEG stöd" #: ../Source/plugin-ui.cpp:2845 msgid "Enable MP3 Support (Requires MPEG Support)" msgstr "Aktivera MP3 stöd (kräver MPEG stöd)" #: ../Source/plugin-ui.cpp:2856 msgid "Enable Ogg Support" msgstr "Aktivera Ogg stöd" #: ../Source/plugin-ui.cpp:2867 msgid "Enable MIDI Support" msgstr "Aktivera MIDI stöd" #: ../Source/plugin-ui.cpp:2878 msgid "Enable Shoutcast PLS Support" msgstr "Aktivera Shoutcast PLS stöd" #: ../Source/plugin-ui.cpp:2889 msgid "Enable DivX Support" msgstr "Aktivera DivX stöd" #: ../Source/plugin-ui.cpp:2901 msgid "Play media directly from site (No Caching)" msgstr "Spela mediet direkt frÃ¥n webbsidan (ingen cachning)" #: ../Source/plugin-ui.cpp:2913 msgid "Connect to RTSP Media over TCP" msgstr "Anslut till RTSP media över TCP" #: ../Source/plugin-ui.cpp:2923 msgid "Use HTTP instead of RTSP" msgstr "Använd HTTP istället för RTSP" #: ../Source/plugin-ui.cpp:2933 msgid "Pause Video when hidden" msgstr "Pausa uppspelning när fönstret är dolt" |
From: Kevin D. <kde...@us...> - 2009-05-04 00:03:23
|
Update of /cvsroot/mplayerplug-in/mplayerplug-in/Source In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv25221/Source Modified Files: plugin-ui.cpp Log Message: fix compile issues Index: plugin-ui.cpp =================================================================== RCS file: /cvsroot/mplayerplug-in/mplayerplug-in/Source/plugin-ui.cpp,v retrieving revision 1.256 retrieving revision 1.257 diff -C2 -d -r1.256 -r1.257 *** plugin-ui.cpp 19 Sep 2008 12:39:18 -0000 1.256 --- plugin-ui.cpp 4 May 2009 00:03:19 -0000 1.257 *************** *** 1135,1139 **** if (instance->panel_height > 16) instance->panel_height = 16; ! if (instance->panel_height <= 0) if (instance->showcontrols) { instance->panel_height = 16; --- 1135,1139 ---- if (instance->panel_height > 16) instance->panel_height = 16; ! if (instance->panel_height <= 0) { if (instance->showcontrols) { instance->panel_height = 16; *************** *** 1141,1144 **** --- 1141,1145 ---- instance->panel_height = 0; } + } if (DEBUG) { printf("drawing panel\n height = %i panel= %i\n", *************** *** 3363,3366 **** --- 3364,3368 ---- gtk_widget_show(instance->src_event_box); } + return FALSE; } |
From: Kevin D. <kde...@us...> - 2009-05-03 16:22:51
|
Update of /cvsroot/mplayerplug-in/mplayerplug-in/Source In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv27802/Source Modified Files: plugin-list.cpp Log Message: Alternate patch to rmda file references Index: plugin-list.cpp =================================================================== RCS file: /cvsroot/mplayerplug-in/mplayerplug-in/Source/plugin-list.cpp,v retrieving revision 1.79 retrieving revision 1.80 diff -C2 -d -r1.79 -r1.80 *** plugin-list.cpp 3 Apr 2009 15:39:48 -0000 1.79 --- plugin-list.cpp 3 May 2009 16:22:40 -0000 1.80 *************** *** 409,422 **** } } - if ((nextrmda - size) == p) - break; p = nextrmda + 4; ! nextrmda = ! (char *) memmem(p, ! size - ((long) p - (long) buffer), ! "rmda", 4); ! if (nextrmda == NULL) ! nextrmda = buffer + size; ! } --- 409,423 ---- } } p = nextrmda + 4; ! if (p > (buffer + size)) { ! p = NULL; ! } else { ! nextrmda = ! (char *) memmem(p, ! size - ((long) p - (long) buffer), ! "rmda", 4); ! if (nextrmda == NULL) ! nextrmda = buffer + size; ! } } |
From: Kevin D. <kde...@us...> - 2009-05-03 16:22:47
|
Update of /cvsroot/mplayerplug-in/mplayerplug-in In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv27802 Modified Files: ChangeLog Log Message: Alternate patch to rmda file references Index: ChangeLog =================================================================== RCS file: /cvsroot/mplayerplug-in/mplayerplug-in/ChangeLog,v retrieving revision 1.577 retrieving revision 1.578 diff -C2 -d -r1.577 -r1.578 *** ChangeLog 3 Apr 2009 15:39:46 -0000 1.577 --- ChangeLog 3 May 2009 16:22:40 -0000 1.578 *************** *** 1,3 **** --- 1,4 ---- Development + Alternate patch to rmda file references Fix some compile issues on Fedora 11 Merge in some patches from FreeBSD |
From: Kevin D. <kde...@us...> - 2009-04-03 15:40:00
|
Update of /cvsroot/mplayerplug-in/mplayerplug-in/include In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv14334/include Added Files: npupp.h Log Message: Fix some compile issues on Fedora 11 --- NEW FILE: npupp.h --- /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * http://www.mozilla.org/MPL/ * * Software distributed under the License is distributed on an "AS IS" basis, * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License * for the specific language governing rights and limitations under the * License. * * The Original Code is mozilla.org code. * * The Initial Developer of the Original Code is * Netscape Communications Corporation. * Portions created by the Initial Developer are Copyright (C) 1998 * the Initial Developer. All Rights Reserved. * * Contributor(s): * * Alternatively, the contents of this file may be used under the terms of * either the GNU General Public License Version 2 or later (the "GPL"), or * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), * in which case the provisions of the GPL or the LGPL are applicable instead * of those above. If you wish to allow use of your version of this file only * under the terms of either the GPL or the LGPL, and not to allow others to * use your version of this file under the terms of the MPL, indicate your * decision by deleting the provisions above and replace them with the notice * and other provisions required by the GPL or the LGPL. If you do not delete * the provisions above, a recipient may use your version of this file under * the terms of any one of the MPL, the GPL or the LGPL. * * ***** END LICENSE BLOCK ***** */ /* * npupp.h $Revision: 1.1 $ * function call mecahnics needed by platform specific glue code. */ #ifndef _NPUPP_H_ #define _NPUPP_H_ #if defined(__OS2__) #pragma pack(1) #endif #ifndef GENERATINGCFM #define GENERATINGCFM 0 #endif #ifndef _NPAPI_H_ #include "npapi.h" #endif #include "npruntime.h" #include "jri.h" /****************************************************************************************** plug-in function table macros for each function in and out of the plugin API we define typedef NPP_FooUPP #define NewNPP_FooProc #define CallNPP_FooProc *******************************************************************************************/ /* NPP_Initialize */ typedef void (*NP_LOADDS NPP_InitializeUPP) (void); #define NewNPP_InitializeProc(FUNC) \ ((NPP_InitializeUPP) (FUNC)) #define CallNPP_InitializeProc(FUNC) \ (*(FUNC))() /* NPP_Shutdown */ typedef void (*NP_LOADDS NPP_ShutdownUPP) (void); #define NewNPP_ShutdownProc(FUNC) \ ((NPP_ShutdownUPP) (FUNC)) #define CallNPP_ShutdownProc(FUNC) \ (*(FUNC))() /* NPP_New */ typedef NPError(*NP_LOADDS NPP_NewUPP) (NPMIMEType pluginType, NPP instance, uint16 mode, int16 argc, char *argn[], char *argv[], NPSavedData * saved); #define NewNPP_NewProc(FUNC) \ ((NPP_NewUPP) (FUNC)) #define CallNPP_NewProc(FUNC, ARG1, ARG2, ARG3, ARG4, ARG5, ARG6, ARG7) \ (*(FUNC))((ARG1), (ARG2), (ARG3), (ARG4), (ARG5), (ARG6), (ARG7)) /* NPP_Destroy */ typedef NPError(*NP_LOADDS NPP_DestroyUPP) (NPP instance, NPSavedData ** save); #define NewNPP_DestroyProc(FUNC) \ ((NPP_DestroyUPP) (FUNC)) #define CallNPP_DestroyProc(FUNC, ARG1, ARG2) \ (*(FUNC))((ARG1), (ARG2)) /* NPP_SetWindow */ typedef NPError(*NP_LOADDS NPP_SetWindowUPP) (NPP instance, NPWindow * window); #define NewNPP_SetWindowProc(FUNC) \ ((NPP_SetWindowUPP) (FUNC)) #define CallNPP_SetWindowProc(FUNC, ARG1, ARG2) \ (*(FUNC))((ARG1), (ARG2)) /* NPP_NewStream */ typedef NPError(*NP_LOADDS NPP_NewStreamUPP) (NPP instance, NPMIMEType type, NPStream * stream, NPBool seekable, uint16 * stype); #define NewNPP_NewStreamProc(FUNC) \ ((NPP_NewStreamUPP) (FUNC)) #define CallNPP_NewStreamProc(FUNC, ARG1, ARG2, ARG3, ARG4, ARG5) \ (*(FUNC))((ARG1), (ARG2), (ARG3), (ARG4), (ARG5)) /* NPP_DestroyStream */ typedef NPError(*NP_LOADDS NPP_DestroyStreamUPP) (NPP instance, NPStream * stream, NPReason reason); #define NewNPP_DestroyStreamProc(FUNC) \ ((NPP_DestroyStreamUPP) (FUNC)) #define CallNPP_DestroyStreamProc(FUNC, NPParg, NPStreamPtr, NPReasonArg) \ (*(FUNC))((NPParg), (NPStreamPtr), (NPReasonArg)) /* NPP_WriteReady */ typedef int32(*NP_LOADDS NPP_WriteReadyUPP) (NPP instance, NPStream * stream); #define NewNPP_WriteReadyProc(FUNC) \ ((NPP_WriteReadyUPP) (FUNC)) #define CallNPP_WriteReadyProc(FUNC, NPParg, NPStreamPtr) \ (*(FUNC))((NPParg), (NPStreamPtr)) /* NPP_Write */ typedef int32(*NP_LOADDS NPP_WriteUPP) (NPP instance, NPStream * stream, int32 offset, int32 len, void *buffer); #define NewNPP_WriteProc(FUNC) \ ((NPP_WriteUPP) (FUNC)) #define CallNPP_WriteProc(FUNC, NPParg, NPStreamPtr, offsetArg, lenArg, bufferPtr) \ (*(FUNC))((NPParg), (NPStreamPtr), (offsetArg), (lenArg), (bufferPtr)) /* NPP_StreamAsFile */ typedef void (*NP_LOADDS NPP_StreamAsFileUPP) (NPP instance, NPStream * stream, const char *fname); #define NewNPP_StreamAsFileProc(FUNC) \ ((NPP_StreamAsFileUPP) (FUNC)) #define CallNPP_StreamAsFileProc(FUNC, ARG1, ARG2, ARG3) \ (*(FUNC))((ARG1), (ARG2), (ARG3)) /* NPP_Print */ typedef void (*NP_LOADDS NPP_PrintUPP) (NPP instance, NPPrint * platformPrint); #define NewNPP_PrintProc(FUNC) \ ((NPP_PrintUPP) (FUNC)) #define CallNPP_PrintProc(FUNC, NPParg, NPPrintArg) \ (*(FUNC))((NPParg), (NPPrintArg)) /* NPP_HandleEvent */ typedef int16(*NP_LOADDS NPP_HandleEventUPP) (NPP instance, void *event); #define NewNPP_HandleEventProc(FUNC) \ ((NPP_HandleEventUPP) (FUNC)) #define CallNPP_HandleEventProc(FUNC, NPParg, voidPtr) \ (*(FUNC))((NPParg), (voidPtr)) /* NPP_URLNotify */ typedef void (*NP_LOADDS NPP_URLNotifyUPP) (NPP instance, const char *url, NPReason reason, void *notifyData); #define NewNPP_URLNotifyProc(FUNC) \ ((NPP_URLNotifyUPP) (FUNC)) #define CallNPP_URLNotifyProc(FUNC, ARG1, ARG2, ARG3, ARG4) \ (*(FUNC))((ARG1), (ARG2), (ARG3), (ARG4)) /* NPP_GetValue */ typedef NPError(*NP_LOADDS NPP_GetValueUPP) (NPP instance, NPPVariable variable, void *ret_alue); #define NewNPP_GetValueProc(FUNC) \ ((NPP_GetValueUPP) (FUNC)) #define CallNPP_GetValueProc(FUNC, ARG1, ARG2, ARG3) \ (*(FUNC))((ARG1), (ARG2), (ARG3)) /* NPP_SetValue */ typedef NPError(*NP_LOADDS NPP_SetValueUPP) (NPP instance, NPNVariable variable, void *ret_alue); #define NewNPP_SetValueProc(FUNC) \ ((NPP_SetValueUPP) (FUNC)) #define CallNPP_SetValueProc(FUNC, ARG1, ARG2, ARG3) \ (*(FUNC))((ARG1), (ARG2), (ARG3)) /* * Netscape entry points */ /* NPN_GetValue */ typedef NPError(*NP_LOADDS NPN_GetValueUPP) (NPP instance, NPNVariable variable, void *ret_alue); #define NewNPN_GetValueProc(FUNC) \ ((NPN_GetValueUPP) (FUNC)) #define CallNPN_GetValueProc(FUNC, ARG1, ARG2, ARG3) \ (*(FUNC))((ARG1), (ARG2), (ARG3)) /* NPN_SetValue */ typedef NPError(*NP_LOADDS NPN_SetValueUPP) (NPP instance, NPPVariable variable, void *ret_alue); #define NewNPN_SetValueProc(FUNC) \ ((NPN_SetValueUPP) (FUNC)) #define CallNPN_SetValueProc(FUNC, ARG1, ARG2, ARG3) \ (*(FUNC))((ARG1), (ARG2), (ARG3)) /* NPN_GetUrlNotify */ typedef NPError(*NP_LOADDS NPN_GetURLNotifyUPP) (NPP instance, const char *url, const char *window, void *notifyData); #define NewNPN_GetURLNotifyProc(FUNC) \ ((NPN_GetURLNotifyUPP) (FUNC)) #define CallNPN_GetURLNotifyProc(FUNC, ARG1, ARG2, ARG3, ARG4) \ (*(FUNC))((ARG1), (ARG2), (ARG3), (ARG4)) /* NPN_PostUrlNotify */ typedef NPError(*NP_LOADDS NPN_PostURLNotifyUPP) (NPP instance, const char *url, const char *window, uint32 len, const char *buf, NPBool file, void *notifyData); #define NewNPN_PostURLNotifyProc(FUNC) \ ((NPN_PostURLNotifyUPP) (FUNC)) #define CallNPN_PostURLNotifyProc(FUNC, ARG1, ARG2, ARG3, ARG4, ARG5, ARG6, ARG7) \ (*(FUNC))((ARG1), (ARG2), (ARG3), (ARG4), (ARG5), (ARG6), (ARG7)) /* NPN_GetUrl */ typedef NPError(*NP_LOADDS NPN_GetURLUPP) (NPP instance, const char *url, const char *window); #define NewNPN_GetURLProc(FUNC) \ ((NPN_GetURLUPP) (FUNC)) #define CallNPN_GetURLProc(FUNC, ARG1, ARG2, ARG3) \ (*(FUNC))((ARG1), (ARG2), (ARG3)) /* NPN_PostUrl */ typedef NPError(*NP_LOADDS NPN_PostURLUPP) (NPP instance, const char *url, const char *window, uint32 len, const char *buf, NPBool file); #define NewNPN_PostURLProc(FUNC) \ ((NPN_PostURLUPP) (FUNC)) #define CallNPN_PostURLProc(FUNC, ARG1, ARG2, ARG3, ARG4, ARG5, ARG6) \ (*(FUNC))((ARG1), (ARG2), (ARG3), (ARG4), (ARG5), (ARG6)) /* NPN_RequestRead */ typedef NPError(*NP_LOADDS NPN_RequestReadUPP) (NPStream * stream, NPByteRange * rangeList); #define NewNPN_RequestReadProc(FUNC) \ ((NPN_RequestReadUPP) (FUNC)) #define CallNPN_RequestReadProc(FUNC, stream, range) \ (*(FUNC))((stream), (range)) /* NPN_NewStream */ typedef NPError(*NP_LOADDS NPN_NewStreamUPP) (NPP instance, NPMIMEType type, const char *window, NPStream ** stream); #define NewNPN_NewStreamProc(FUNC) \ ((NPN_NewStreamUPP) (FUNC)) #define CallNPN_NewStreamProc(FUNC, npp, type, window, stream) \ (*(FUNC))((npp), (type), (window), (stream)) /* NPN_Write */ typedef int32(*NP_LOADDS NPN_WriteUPP) (NPP instance, NPStream * stream, int32 len, void *buffer); #define NewNPN_WriteProc(FUNC) \ ((NPN_WriteUPP) (FUNC)) #define CallNPN_WriteProc(FUNC, npp, stream, len, buffer) \ (*(FUNC))((npp), (stream), (len), (buffer)) /* NPN_DestroyStream */ typedef NPError(*NP_LOADDS NPN_DestroyStreamUPP) (NPP instance, NPStream * stream, NPReason reason); #define NewNPN_DestroyStreamProc(FUNC) \ ((NPN_DestroyStreamUPP) (FUNC)) #define CallNPN_DestroyStreamProc(FUNC, npp, stream, reason) \ (*(FUNC))((npp), (stream), (reason)) /* NPN_Status */ typedef void (*NP_LOADDS NPN_StatusUPP) (NPP instance, const char *message); #define NewNPN_StatusProc(FUNC) \ ((NPN_StatusUPP) (FUNC)) #define CallNPN_StatusProc(FUNC, npp, msg) \ (*(FUNC))((npp), (msg)) /* NPN_UserAgent */ typedef const char *(*NP_LOADDS NPN_UserAgentUPP) (NPP instance); #define NewNPN_UserAgentProc(FUNC) \ ((NPN_UserAgentUPP) (FUNC)) #define CallNPN_UserAgentProc(FUNC, ARG1) \ (*(FUNC))((ARG1)) /* NPN_MemAlloc */ typedef void *(*NP_LOADDS NPN_MemAllocUPP) (uint32 size); #define NewNPN_MemAllocProc(FUNC) \ ((NPN_MemAllocUPP) (FUNC)) #define CallNPN_MemAllocProc(FUNC, ARG1) \ (*(FUNC))((ARG1)) /* NPN__MemFree */ typedef void (*NP_LOADDS NPN_MemFreeUPP) (void *ptr); #define NewNPN_MemFreeProc(FUNC) \ ((NPN_MemFreeUPP) (FUNC)) #define CallNPN_MemFreeProc(FUNC, ARG1) \ (*(FUNC))((ARG1)) /* NPN_MemFlush */ typedef uint32(*NP_LOADDS NPN_MemFlushUPP) (uint32 size); #define NewNPN_MemFlushProc(FUNC) \ ((NPN_MemFlushUPP) (FUNC)) #define CallNPN_MemFlushProc(FUNC, ARG1) \ (*(FUNC))((ARG1)) /* NPN_ReloadPlugins */ typedef void (*NP_LOADDS NPN_ReloadPluginsUPP) (NPBool reloadPages); #define NewNPN_ReloadPluginsProc(FUNC) \ ((NPN_ReloadPluginsUPP) (FUNC)) #define CallNPN_ReloadPluginsProc(FUNC, ARG1) \ (*(FUNC))((ARG1)) /* NPN_GetJavaEnv */ typedef JRIEnv *(*NP_LOADDS NPN_GetJavaEnvUPP) (void); #define NewNPN_GetJavaEnvProc(FUNC) \ ((NPN_GetJavaEnvUPP) (FUNC)) #define CallNPN_GetJavaEnvProc(FUNC) \ (*(FUNC))() /* NPN_GetJavaPeer */ typedef jref(*NP_LOADDS NPN_GetJavaPeerUPP) (NPP instance); #define NewNPN_GetJavaPeerProc(FUNC) \ ((NPN_GetJavaPeerUPP) (FUNC)) #define CallNPN_GetJavaPeerProc(FUNC, ARG1) \ (*(FUNC))((ARG1)) /* NPN_InvalidateRect */ typedef void (*NP_LOADDS NPN_InvalidateRectUPP) (NPP instance, NPRect * rect); #define NewNPN_InvalidateRectProc(FUNC) \ ((NPN_InvalidateRectUPP) (FUNC)) #define CallNPN_InvalidateRectProc(FUNC, ARG1, ARG2) \ (*(FUNC))((ARG1), (ARG2)) /* NPN_InvalidateRegion */ typedef void (*NP_LOADDS NPN_InvalidateRegionUPP) (NPP instance, NPRegion region); #define NewNPN_InvalidateRegionProc(FUNC) \ ((NPN_InvalidateRegionUPP) (FUNC)) #define CallNPN_InvalidateRegionProc(FUNC, ARG1, ARG2) \ (*(FUNC))((ARG1), (ARG2)) /* NPN_ForceRedraw */ typedef void (*NP_LOADDS NPN_ForceRedrawUPP) (NPP instance); #define NewNPN_ForceRedrawProc(FUNC) \ ((NPN_ForceRedrawUPP) (FUNC)) #define CallNPN_ForceRedrawProc(FUNC, ARG1) \ (*(FUNC))((ARG1)) /* NPN_GetStringIdentifier */ typedef NPIdentifier(*NP_LOADDS NPN_GetStringIdentifierUPP) (const NPUTF8 * name); #define NewNPN_GetStringIdentifierProc(FUNC) \ ((NPN_GetStringIdentifierUPP) (FUNC)) #define CallNPN_GetStringIdentifierProc(FUNC, ARG1) \ (*(FUNC))((ARG1)) /* NPN_GetStringIdentifiers */ typedef void (*NP_LOADDS NPN_GetStringIdentifiersUPP) (const NPUTF8 ** names, int32_t nameCount, NPIdentifier * identifiers); #define NewNPN_GetStringIdentifiersProc(FUNC) \ ((NPN_GetStringIdentifiersUPP) (FUNC)) #define CallNPN_GetStringIdentifiersProc(FUNC, ARG1, ARG2, ARG3) \ (*(FUNC))((ARG1), (ARG2), (ARG3)) /* NPN_GetIntIdentifier */ typedef NPIdentifier(*NP_LOADDS NPN_GetIntIdentifierUPP) (int32_t intid); #define NewNPN_GetIntIdentifierProc(FUNC) \ ((NPN_GetIntIdentifierUPP) (FUNC)) #define CallNPN_GetIntIdentifierProc(FUNC, ARG1) \ (*(FUNC))((ARG1)) /* NPN_IdentifierIsString */ typedef bool(*NP_LOADDS NPN_IdentifierIsStringUPP) (NPIdentifier identifier); #define NewNPN_IdentifierIsStringProc(FUNC) \ ((NPN_IdentifierIsStringUPP) (FUNC)) #define CallNPN_IdentifierIsStringProc(FUNC, ARG1) \ (*(FUNC))((ARG1)) /* NPN_UTF8FromIdentifier */ typedef NPUTF8 *(*NP_LOADDS NPN_UTF8FromIdentifierUPP) (NPIdentifier identifier); #define NewNPN_UTF8FromIdentifierProc(FUNC) \ ((NPN_UTF8FromIdentifierUPP) (FUNC)) #define CallNPN_UTF8FromIdentifierProc(FUNC, ARG1) \ (*(FUNC))((ARG1)) /* NPN_IntFromIdentifier */ typedef int32_t(*NP_LOADDS NPN_IntFromIdentifierUPP) (NPIdentifier identifier); #define NewNPN_IntFromIdentifierProc(FUNC) \ ((NPN_IntFromIdentifierUPP) (FUNC)) #define CallNPN_IntFromIdentifierProc(FUNC, ARG1) \ (*(FUNC))((ARG1)) /* NPN_CreateObject */ typedef NPObject *(*NP_LOADDS NPN_CreateObjectUPP) (NPP npp, NPClass * aClass); #define NewNPN_CreateObjectProc(FUNC) \ ((NPN_CreateObjectUPP) (FUNC)) #define CallNPN_CreateObjectProc(FUNC, ARG1, ARG2) \ (*(FUNC))((ARG1), (ARG2)) /* NPN_RetainObject */ typedef NPObject *(*NP_LOADDS NPN_RetainObjectUPP) (NPObject * obj); #define NewNPN_RetainObjectProc(FUNC) \ ((NPN_RetainObjectUPP) (FUNC)) #define CallNPN_RetainObjectProc(FUNC, ARG1) \ (*(FUNC))((ARG1)) /* NPN_ReleaseObject */ typedef void (*NP_LOADDS NPN_ReleaseObjectUPP) (NPObject * obj); #define NewNPN_ReleaseObjectProc(FUNC) \ ((NPN_ReleaseObjectUPP) (FUNC)) #define CallNPN_ReleaseObjectProc(FUNC, ARG1) \ (*(FUNC))((ARG1)) /* NPN_Invoke */ typedef bool(*NP_LOADDS NPN_InvokeUPP) (NPP npp, NPObject * obj, NPIdentifier methodName, const NPVariant * args, uint32_t argCount, NPVariant * result); #define NewNPN_InvokeProc(FUNC) \ ((NPN_InvokeUPP) (FUNC)) #define CallNPN_InvokeProc(FUNC, ARG1, ARG2, ARG3, ARG4, ARG5, ARG6) \ (*(FUNC))((ARG1), (ARG2), (ARG3), (ARG4), (ARG5), (ARG6)) /* NPN_InvokeDefault */ typedef bool(*NP_LOADDS NPN_InvokeDefaultUPP) (NPP npp, NPObject * obj, const NPVariant * args, uint32_t argCount, NPVariant * result); #define NewNPN_InvokeDefaultProc(FUNC) \ ((NPN_InvokeDefaultUPP) (FUNC)) #define CallNPN_InvokeDefaultProc(FUNC, ARG1, ARG2, ARG3, ARG4, ARG5) \ (*(FUNC))((ARG1), (ARG2), (ARG3), (ARG4), (ARG5)) /* NPN_Evaluate */ typedef bool(*NP_LOADDS NPN_EvaluateUPP) (NPP npp, NPObject * obj, NPString * script, NPVariant * result); #define NewNPN_EvaluateProc(FUNC) \ ((NPN_EvaluateUPP) (FUNC)) #define CallNPN_EvaluateProc(FUNC, ARG1, ARG2, ARG3, ARG4) \ (*(FUNC))((ARG1), (ARG2), (ARG3), (ARG4)) /* NPN_GetProperty */ typedef bool(*NP_LOADDS NPN_GetPropertyUPP) (NPP npp, NPObject * obj, NPIdentifier propertyName, NPVariant * result); #define NewNPN_GetPropertyProc(FUNC) \ ((NPN_GetPropertyUPP) (FUNC)) #define CallNPN_GetPropertyProc(FUNC, ARG1, ARG2, ARG3, ARG4) \ (*(FUNC))((ARG1), (ARG2), (ARG3), (ARG4)) /* NPN_SetProperty */ typedef bool(*NP_LOADDS NPN_SetPropertyUPP) (NPP npp, NPObject * obj, NPIdentifier propertyName, const NPVariant * value); #define NewNPN_SetPropertyProc(FUNC) \ ((NPN_SetPropertyUPP) (FUNC)) #define CallNPN_SetPropertyProc(FUNC, ARG1, ARG2, ARG3, ARG4) \ (*(FUNC))((ARG1), (ARG2), (ARG3), (ARG4)) /* NPN_RemoveProperty */ typedef bool(*NP_LOADDS NPN_RemovePropertyUPP) (NPP npp, NPObject * obj, NPIdentifier propertyName); #define NewNPN_RemovePropertyProc(FUNC) \ ((NPN_RemovePropertyUPP) (FUNC)) #define CallNPN_RemovePropertyProc(FUNC, ARG1, ARG2, ARG3) \ (*(FUNC))((ARG1), (ARG2), (ARG3)) /* NPN_HasProperty */ typedef bool(*NP_LOADDS NPN_HasPropertyUPP) (NPP npp, NPObject * obj, NPIdentifier propertyName); #define NewNPN_HasPropertyProc(FUNC) \ ((NPN_HasPropertyUPP) (FUNC)) #define CallNPN_HasPropertyProc(FUNC, ARG1, ARG2, ARG3) \ (*(FUNC))((ARG1), (ARG2), (ARG3)) /* NPN_HasMethod */ typedef bool(*NP_LOADDS NPN_HasMethodUPP) (NPP npp, NPObject * obj, NPIdentifier propertyName); #define NewNPN_HasMethodProc(FUNC) \ ((NPN_HasMethodUPP) (FUNC)) #define CallNPN_HasMethodProc(FUNC, ARG1, ARG2, ARG3) \ (*(FUNC))((ARG1), (ARG2), (ARG3)) /* NPN_ReleaseVariantValue */ typedef void (*NP_LOADDS NPN_ReleaseVariantValueUPP) (NPVariant * variant); #define NewNPN_ReleaseVariantValueProc(FUNC) \ ((NPN_ReleaseVariantValueUPP) (FUNC)) #define CallNPN_ReleaseVariantValueProc(FUNC, ARG1) \ (*(FUNC))((ARG1)) /* NPN_SetException */ typedef void (*NP_LOADDS NPN_SetExceptionUPP) (NPObject * obj, const NPUTF8 * message); #define NewNPN_SetExceptionProc(FUNC) \ ((NPN_SetExceptionUPP) (FUNC)) #define CallNPN_SetExceptionProc(FUNC, ARG1, ARG2) \ (*(FUNC))((ARG1), (ARG2)) /* NPN_PushPopupsEnabledStateUPP */ typedef bool(*NP_LOADDS NPN_PushPopupsEnabledStateUPP) (NPP npp, NPBool enabled); #define NewNPN_PushPopupsEnabledStateProc(FUNC) \ ((NPN_PushPopupsEnabledStateUPP) (FUNC)) #define CallNPN_PushPopupsEnabledStateProc(FUNC, ARG1, ARG2) \ (*(FUNC))((ARG1), (ARG2)) /* NPN_PopPopupsEnabledState */ typedef bool(*NP_LOADDS NPN_PopPopupsEnabledStateUPP) (NPP npp); #define NewNPN_PopPopupsEnabledStateProc(FUNC) \ ((NPN_PopPopupsEnabledStateUPP) (FUNC)) #define CallNPN_PopPopupsEnabledStateProc(FUNC, ARG1) \ (*(FUNC))((ARG1)) /* NPN_Enumerate */ typedef bool(*NP_LOADDS NPN_EnumerateUPP) (NPP npp, NPObject * obj, NPIdentifier ** identifier, uint32_t * count); #define NewNPN_EnumerateProc(FUNC) \ ((NPN_EnumerateUPP) (FUNC)) #define CallNPN_EnumerateProc(FUNC, ARG1, ARG2, ARG3, ARG4) \ (*(FUNC))((ARG1), (ARG2), (ARG3), (ARG4)) /* NPN_PluginThreadAsyncCall */ typedef void (*NP_LOADDS NPN_PluginThreadAsyncCallUPP) (NPP instance, void (*func) (void *), void *userData); #define NewNPN_PluginThreadAsyncCallProc(FUNC) \ ((NPN_PluginThreadAsyncCallUPP) (FUNC)) #define CallNPN_PluginThreadAsyncCallProc(FUNC, ARG1, ARG2, ARG3) \ (*(FUNC))((ARG1), (ARG2), (ARG3)) /* NPN_Construct */ typedef bool(*NP_LOADDS NPN_ConstructUPP) (NPP npp, NPObject * obj, const NPVariant * args, uint32_t argCount, NPVariant * result); #define NewNPN_ConstructProc(FUNC) \ ((NPN_ConstructUPP) (FUNC)) #define CallNPN_ConstructProc(FUNC, ARG1, ARG2, ARG3, ARG4, ARG5) \ (*(FUNC))((ARG1), (ARG2), (ARG3), (ARG4), (ARG5)) /****************************************************************************************** * The actual plugin function table definitions *******************************************************************************************/ typedef struct _NPPluginFuncs { uint16 size; uint16 version; NPP_NewUPP newp; NPP_DestroyUPP destroy; NPP_SetWindowUPP setwindow; NPP_NewStreamUPP newstream; NPP_DestroyStreamUPP destroystream; NPP_StreamAsFileUPP asfile; NPP_WriteReadyUPP writeready; NPP_WriteUPP write; NPP_PrintUPP print; NPP_HandleEventUPP event; NPP_URLNotifyUPP urlnotify; JRIGlobalRef javaClass; NPP_GetValueUPP getvalue; NPP_SetValueUPP setvalue; } NPPluginFuncs; typedef struct _NPNetscapeFuncs { uint16 size; uint16 version; NPN_GetURLUPP geturl; NPN_PostURLUPP posturl; NPN_RequestReadUPP requestread; NPN_NewStreamUPP newstream; NPN_WriteUPP write; NPN_DestroyStreamUPP destroystream; NPN_StatusUPP status; NPN_UserAgentUPP uagent; NPN_MemAllocUPP memalloc; NPN_MemFreeUPP memfree; NPN_MemFlushUPP memflush; NPN_ReloadPluginsUPP reloadplugins; NPN_GetJavaEnvUPP getJavaEnv; NPN_GetJavaPeerUPP getJavaPeer; NPN_GetURLNotifyUPP geturlnotify; NPN_PostURLNotifyUPP posturlnotify; NPN_GetValueUPP getvalue; NPN_SetValueUPP setvalue; NPN_InvalidateRectUPP invalidaterect; NPN_InvalidateRegionUPP invalidateregion; NPN_ForceRedrawUPP forceredraw; NPN_GetStringIdentifierUPP getstringidentifier; NPN_GetStringIdentifiersUPP getstringidentifiers; NPN_GetIntIdentifierUPP getintidentifier; NPN_IdentifierIsStringUPP identifierisstring; NPN_UTF8FromIdentifierUPP utf8fromidentifier; NPN_IntFromIdentifierUPP intfromidentifier; NPN_CreateObjectUPP createobject; NPN_RetainObjectUPP retainobject; NPN_ReleaseObjectUPP releaseobject; NPN_InvokeUPP invoke; NPN_InvokeDefaultUPP invokeDefault; NPN_EvaluateUPP evaluate; NPN_GetPropertyUPP getproperty; NPN_SetPropertyUPP setproperty; NPN_RemovePropertyUPP removeproperty; NPN_HasPropertyUPP hasproperty; NPN_HasMethodUPP hasmethod; NPN_ReleaseVariantValueUPP releasevariantvalue; NPN_SetExceptionUPP setexception; NPN_PushPopupsEnabledStateUPP pushpopupsenabledstate; NPN_PopPopupsEnabledStateUPP poppopupsenabledstate; // NPN_EnumerateUPP enumerate; // NPN_PluginThreadAsyncCallUPP pluginthreadasynccall; // NPN_ConstructUPP construct; } NPNetscapeFuncs; #ifdef XP_MACOSX /****************************************************************************************** * Mac platform-specific plugin glue stuff *******************************************************************************************/ /* * Main entry point of the plugin. * This routine will be called when the plugin is loaded. The function * tables are passed in and the plugin fills in the NPPluginFuncs table * and NPPShutdownUPP for Netscape's use. */ typedef NPError(*NP_LOADDS NPP_MainEntryUPP) (NPNetscapeFuncs *, NPPluginFuncs *, NPP_ShutdownUPP *); #define NewNPP_MainEntryProc(FUNC) \ ((NPP_MainEntryUPP) (FUNC)) #define CallNPP_MainEntryProc(FUNC, netscapeFunc, pluginFunc, shutdownUPP) \ (*(FUNC))((netscapeFunc), (pluginFunc), (shutdownUPP)) /* * Mac OS X version(s) of NP_GetMIMEDescription(const char *) * These can be called to retreive MIME information from the plugin dynamically * * Note: For compatibility with Quicktime, BPSupportedMIMEtypes is another way * to get mime info from the plugin only on OSX and may not be supported * in furture version -- use NP_GetMIMEDescription instead */ enum { kBPSupportedMIMETypesStructVers_1 = 1 }; typedef struct _BPSupportedMIMETypes { SInt32 structVersion; /* struct version */ Handle typeStrings; /* STR# formated handle, allocated by plug-in */ Handle infoStrings; /* STR# formated handle, allocated by plug-in */ } BPSupportedMIMETypes; OSErr BP_GetSupportedMIMETypes(BPSupportedMIMETypes * mimeInfo, UInt32 flags); /* NP_GetMIMEDescription */ #define NP_GETMIMEDESCRIPTION_NAME "NP_GetMIMEDescription" typedef const char *(*NP_LOADDS NP_GetMIMEDescriptionUPP) (); #define NewNP_GetMIMEDescEntryProc(FUNC) \ ((NP_GetMIMEDescriptionUPP) (FUNC)) #define CallNP_GetMIMEDescEntryProc(FUNC) \ (*(FUNC))() /* BP_GetSupportedMIMETypes */ typedef OSErr(*NP_LOADDS BP_GetSupportedMIMETypesUPP) (BPSupportedMIMETypes *, UInt32); #define NewBP_GetSupportedMIMETypesEntryProc(FUNC) \ ((BP_GetSupportedMIMETypesUPP) (FUNC)) #define CallBP_GetMIMEDescEntryProc(FUNC, mimeInfo, flags) \ (*(FUNC))((mimeInfo), (flags)) #endif /* XP_MACOSX */ #if defined(_WINDOWS) #define OSCALL WINAPI #else #if defined(__OS2__) #define OSCALL _System #else #define OSCALL #endif #endif #if defined(XP_UNIX) /* GCC 3.3 and later support the visibility attribute. */ #if defined(__GNUC__) && \ ((__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 3)) #define NP_VISIBILITY_DEFAULT __attribute__((visibility("default"))) #else #define NP_VISIBILITY_DEFAULT #endif #define NP_EXPORT(__type) NP_VISIBILITY_DEFAULT __type #endif #if defined( _WINDOWS ) || defined (__OS2__) #ifdef __cplusplus extern "C" { #endif /* plugin meta member functions */ #if defined(__OS2__) typedef struct _NPPluginData { /* Alternate OS2 Plugin interface */ char *pMimeTypes; char *pFileExtents; char *pFileOpenTemplate; char *pProductName; char *pProductDescription; unsigned long dwProductVersionMS; unsigned long dwProductVersionLS; } NPPluginData; NPError OSCALL NP_GetPluginData(NPPluginData * pPluginData); #endif NPError OSCALL NP_GetEntryPoints(NPPluginFuncs * pFuncs); NPError OSCALL NP_Initialize(NPNetscapeFuncs * pFuncs); NPError OSCALL NP_Shutdown(); char *NP_GetMIMEDescription(); #ifdef __cplusplus } #endif #endif /* _WINDOWS || __OS2__ */ #if defined(__OS2__) #pragma pack() #endif #ifdef XP_UNIX #ifdef __cplusplus extern "C" { #endif /* plugin meta member functions */ NP_EXPORT(char *) NP_GetMIMEDescription(void); NP_EXPORT(NPError) NP_Initialize(NPNetscapeFuncs *, NPPluginFuncs *); NP_EXPORT(NPError) NP_Shutdown(void); NP_EXPORT(NPError) NP_GetValue(void *future, NPPVariable aVariable, void *aValue); #ifdef __cplusplus } #endif #endif /* XP_UNIX */ #endif /* _NPUPP_H_ */ |
From: Kevin D. <kde...@us...> - 2009-04-03 15:39:54
|
Update of /cvsroot/mplayerplug-in/mplayerplug-in/Source In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv14334/Source Modified Files: nsIScriptableMplayerPlugin.h nsIScriptableMplayerPlugin.xpt plugin-list.cpp plugin-support.cpp Log Message: Fix some compile issues on Fedora 11 Index: nsIScriptableMplayerPlugin.h =================================================================== RCS file: /cvsroot/mplayerplug-in/mplayerplug-in/Source/nsIScriptableMplayerPlugin.h,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** nsIScriptableMplayerPlugin.h 17 Feb 2009 14:19:53 -0000 1.23 --- nsIScriptableMplayerPlugin.h 3 Apr 2009 15:39:47 -0000 1.24 *************** *** 171,175 **** /* double GetVolume (); */ ! NS_SCRIPTABLE NS_IMETHOD GetVolume(double *_retval) = 0; /* void SetFileName (in string filename); */ --- 171,175 ---- /* double GetVolume (); */ ! NS_SCRIPTABLE NS_IMETHOD GetVolume(double *_retval NS_OUTPARAM) = 0; /* void SetFileName (in string filename); */ *************** *** 180,184 **** /* boolean GetIsLooping (); */ ! NS_SCRIPTABLE NS_IMETHOD GetIsLooping(PRBool *_retval) = 0; /* void SetAutoPlay (in boolean autoPlay); */ --- 180,184 ---- /* boolean GetIsLooping (); */ ! NS_SCRIPTABLE NS_IMETHOD GetIsLooping(PRBool *_retval NS_OUTPARAM) = 0; /* void SetAutoPlay (in boolean autoPlay); */ *************** *** 186,190 **** /* boolean GetAutoPlay (); */ ! NS_SCRIPTABLE NS_IMETHOD GetAutoPlay(PRBool *_retval) = 0; /* void SetHREF (in string url); */ --- 186,190 ---- /* boolean GetAutoPlay (); */ ! NS_SCRIPTABLE NS_IMETHOD GetAutoPlay(PRBool *_retval NS_OUTPARAM) = 0; /* void SetHREF (in string url); */ *************** *** 192,196 **** /* string GetHREF (); */ ! NS_SCRIPTABLE NS_IMETHOD GetHREF(char **_retval) = 0; /* void SetURL (in string url); */ --- 192,196 ---- /* string GetHREF (); */ ! NS_SCRIPTABLE NS_IMETHOD GetHREF(char **_retval NS_OUTPARAM) = 0; /* void SetURL (in string url); */ *************** *** 198,217 **** /* string GetURL (); */ ! NS_SCRIPTABLE NS_IMETHOD GetURL(char **_retval) = 0; /* string GetMIMEType (); */ ! NS_SCRIPTABLE NS_IMETHOD GetMIMEType(char **_retval) = 0; /* double getTime (); */ ! NS_SCRIPTABLE NS_IMETHOD GetTime(double *_retval) = 0; /* double getDuration (); */ ! NS_SCRIPTABLE NS_IMETHOD GetDuration(double *_retval) = 0; /* double getPercent (); */ ! NS_SCRIPTABLE NS_IMETHOD GetPercent(double *_retval) = 0; /* boolean isplaying (); */ ! NS_SCRIPTABLE NS_IMETHOD Isplaying(PRBool *_retval) = 0; /* void playlistAppend (in string item); */ --- 198,217 ---- /* string GetURL (); */ ! NS_SCRIPTABLE NS_IMETHOD GetURL(char **_retval NS_OUTPARAM) = 0; /* string GetMIMEType (); */ ! NS_SCRIPTABLE NS_IMETHOD GetMIMEType(char **_retval NS_OUTPARAM) = 0; /* double getTime (); */ ! NS_SCRIPTABLE NS_IMETHOD GetTime(double *_retval NS_OUTPARAM) = 0; /* double getDuration (); */ ! NS_SCRIPTABLE NS_IMETHOD GetDuration(double *_retval NS_OUTPARAM) = 0; /* double getPercent (); */ ! NS_SCRIPTABLE NS_IMETHOD GetPercent(double *_retval NS_OUTPARAM) = 0; /* boolean isplaying (); */ ! NS_SCRIPTABLE NS_IMETHOD Isplaying(PRBool *_retval NS_OUTPARAM) = 0; /* void playlistAppend (in string item); */ *************** *** 219,223 **** /* boolean playlistClear (); */ ! NS_SCRIPTABLE NS_IMETHOD PlaylistClear(PRBool *_retval) = 0; /* attribute string filename; */ --- 219,223 ---- /* boolean playlistClear (); */ ! NS_SCRIPTABLE NS_IMETHOD PlaylistClear(PRBool *_retval NS_OUTPARAM) = 0; /* attribute string filename; */ *************** *** 271,291 **** NS_SCRIPTABLE NS_IMETHOD Open(const char *filename); \ NS_SCRIPTABLE NS_IMETHOD SetVolume(double value); \ ! NS_SCRIPTABLE NS_IMETHOD GetVolume(double *_retval); \ NS_SCRIPTABLE NS_IMETHOD SetFileName(const char *filename); \ NS_SCRIPTABLE NS_IMETHOD SetIsLooping(PRBool loop); \ ! NS_SCRIPTABLE NS_IMETHOD GetIsLooping(PRBool *_retval); \ NS_SCRIPTABLE NS_IMETHOD SetAutoPlay(PRBool autoPlay); \ ! NS_SCRIPTABLE NS_IMETHOD GetAutoPlay(PRBool *_retval); \ NS_SCRIPTABLE NS_IMETHOD SetHREF(const char *url); \ ! NS_SCRIPTABLE NS_IMETHOD GetHREF(char **_retval); \ NS_SCRIPTABLE NS_IMETHOD SetURL(const char *url); \ ! NS_SCRIPTABLE NS_IMETHOD GetURL(char **_retval); \ ! NS_SCRIPTABLE NS_IMETHOD GetMIMEType(char **_retval); \ ! NS_SCRIPTABLE NS_IMETHOD GetTime(double *_retval); \ ! NS_SCRIPTABLE NS_IMETHOD GetDuration(double *_retval); \ ! NS_SCRIPTABLE NS_IMETHOD GetPercent(double *_retval); \ ! NS_SCRIPTABLE NS_IMETHOD Isplaying(PRBool *_retval); \ NS_SCRIPTABLE NS_IMETHOD PlaylistAppend(const char *item); \ ! NS_SCRIPTABLE NS_IMETHOD PlaylistClear(PRBool *_retval); \ NS_SCRIPTABLE NS_IMETHOD GetFilename(char * *aFilename); \ NS_SCRIPTABLE NS_IMETHOD SetFilename(const char * aFilename); \ --- 271,291 ---- NS_SCRIPTABLE NS_IMETHOD Open(const char *filename); \ NS_SCRIPTABLE NS_IMETHOD SetVolume(double value); \ ! NS_SCRIPTABLE NS_IMETHOD GetVolume(double *_retval NS_OUTPARAM); \ NS_SCRIPTABLE NS_IMETHOD SetFileName(const char *filename); \ NS_SCRIPTABLE NS_IMETHOD SetIsLooping(PRBool loop); \ ! NS_SCRIPTABLE NS_IMETHOD GetIsLooping(PRBool *_retval NS_OUTPARAM); \ NS_SCRIPTABLE NS_IMETHOD SetAutoPlay(PRBool autoPlay); \ ! NS_SCRIPTABLE NS_IMETHOD GetAutoPlay(PRBool *_retval NS_OUTPARAM); \ NS_SCRIPTABLE NS_IMETHOD SetHREF(const char *url); \ ! NS_SCRIPTABLE NS_IMETHOD GetHREF(char **_retval NS_OUTPARAM); \ NS_SCRIPTABLE NS_IMETHOD SetURL(const char *url); \ ! NS_SCRIPTABLE NS_IMETHOD GetURL(char **_retval NS_OUTPARAM); \ ! NS_SCRIPTABLE NS_IMETHOD GetMIMEType(char **_retval NS_OUTPARAM); \ ! NS_SCRIPTABLE NS_IMETHOD GetTime(double *_retval NS_OUTPARAM); \ ! NS_SCRIPTABLE NS_IMETHOD GetDuration(double *_retval NS_OUTPARAM); \ ! NS_SCRIPTABLE NS_IMETHOD GetPercent(double *_retval NS_OUTPARAM); \ ! NS_SCRIPTABLE NS_IMETHOD Isplaying(PRBool *_retval NS_OUTPARAM); \ NS_SCRIPTABLE NS_IMETHOD PlaylistAppend(const char *item); \ ! NS_SCRIPTABLE NS_IMETHOD PlaylistClear(PRBool *_retval NS_OUTPARAM); \ NS_SCRIPTABLE NS_IMETHOD GetFilename(char * *aFilename); \ NS_SCRIPTABLE NS_IMETHOD SetFilename(const char * aFilename); \ *************** *** 319,339 **** NS_SCRIPTABLE NS_IMETHOD Open(const char *filename) { return _to Open(filename); } \ NS_SCRIPTABLE NS_IMETHOD SetVolume(double value) { return _to SetVolume(value); } \ ! NS_SCRIPTABLE NS_IMETHOD GetVolume(double *_retval) { return _to GetVolume(_retval); } \ NS_SCRIPTABLE NS_IMETHOD SetFileName(const char *filename) { return _to SetFileName(filename); } \ NS_SCRIPTABLE NS_IMETHOD SetIsLooping(PRBool loop) { return _to SetIsLooping(loop); } \ ! NS_SCRIPTABLE NS_IMETHOD GetIsLooping(PRBool *_retval) { return _to GetIsLooping(_retval); } \ NS_SCRIPTABLE NS_IMETHOD SetAutoPlay(PRBool autoPlay) { return _to SetAutoPlay(autoPlay); } \ ! NS_SCRIPTABLE NS_IMETHOD GetAutoPlay(PRBool *_retval) { return _to GetAutoPlay(_retval); } \ NS_SCRIPTABLE NS_IMETHOD SetHREF(const char *url) { return _to SetHREF(url); } \ ! NS_SCRIPTABLE NS_IMETHOD GetHREF(char **_retval) { return _to GetHREF(_retval); } \ NS_SCRIPTABLE NS_IMETHOD SetURL(const char *url) { return _to SetURL(url); } \ ! NS_SCRIPTABLE NS_IMETHOD GetURL(char **_retval) { return _to GetURL(_retval); } \ ! NS_SCRIPTABLE NS_IMETHOD GetMIMEType(char **_retval) { return _to GetMIMEType(_retval); } \ ! NS_SCRIPTABLE NS_IMETHOD GetTime(double *_retval) { return _to GetTime(_retval); } \ ! NS_SCRIPTABLE NS_IMETHOD GetDuration(double *_retval) { return _to GetDuration(_retval); } \ ! NS_SCRIPTABLE NS_IMETHOD GetPercent(double *_retval) { return _to GetPercent(_retval); } \ ! NS_SCRIPTABLE NS_IMETHOD Isplaying(PRBool *_retval) { return _to Isplaying(_retval); } \ NS_SCRIPTABLE NS_IMETHOD PlaylistAppend(const char *item) { return _to PlaylistAppend(item); } \ ! NS_SCRIPTABLE NS_IMETHOD PlaylistClear(PRBool *_retval) { return _to PlaylistClear(_retval); } \ NS_SCRIPTABLE NS_IMETHOD GetFilename(char * *aFilename) { return _to GetFilename(aFilename); } \ NS_SCRIPTABLE NS_IMETHOD SetFilename(const char * aFilename) { return _to SetFilename(aFilename); } \ --- 319,339 ---- NS_SCRIPTABLE NS_IMETHOD Open(const char *filename) { return _to Open(filename); } \ NS_SCRIPTABLE NS_IMETHOD SetVolume(double value) { return _to SetVolume(value); } \ ! NS_SCRIPTABLE NS_IMETHOD GetVolume(double *_retval NS_OUTPARAM) { return _to GetVolume(_retval); } \ NS_SCRIPTABLE NS_IMETHOD SetFileName(const char *filename) { return _to SetFileName(filename); } \ NS_SCRIPTABLE NS_IMETHOD SetIsLooping(PRBool loop) { return _to SetIsLooping(loop); } \ ! NS_SCRIPTABLE NS_IMETHOD GetIsLooping(PRBool *_retval NS_OUTPARAM) { return _to GetIsLooping(_retval); } \ NS_SCRIPTABLE NS_IMETHOD SetAutoPlay(PRBool autoPlay) { return _to SetAutoPlay(autoPlay); } \ ! NS_SCRIPTABLE NS_IMETHOD GetAutoPlay(PRBool *_retval NS_OUTPARAM) { return _to GetAutoPlay(_retval); } \ NS_SCRIPTABLE NS_IMETHOD SetHREF(const char *url) { return _to SetHREF(url); } \ ! NS_SCRIPTABLE NS_IMETHOD GetHREF(char **_retval NS_OUTPARAM) { return _to GetHREF(_retval); } \ NS_SCRIPTABLE NS_IMETHOD SetURL(const char *url) { return _to SetURL(url); } \ ! NS_SCRIPTABLE NS_IMETHOD GetURL(char **_retval NS_OUTPARAM) { return _to GetURL(_retval); } \ ! NS_SCRIPTABLE NS_IMETHOD GetMIMEType(char **_retval NS_OUTPARAM) { return _to GetMIMEType(_retval); } \ ! NS_SCRIPTABLE NS_IMETHOD GetTime(double *_retval NS_OUTPARAM) { return _to GetTime(_retval); } \ ! NS_SCRIPTABLE NS_IMETHOD GetDuration(double *_retval NS_OUTPARAM) { return _to GetDuration(_retval); } \ ! NS_SCRIPTABLE NS_IMETHOD GetPercent(double *_retval NS_OUTPARAM) { return _to GetPercent(_retval); } \ ! NS_SCRIPTABLE NS_IMETHOD Isplaying(PRBool *_retval NS_OUTPARAM) { return _to Isplaying(_retval); } \ NS_SCRIPTABLE NS_IMETHOD PlaylistAppend(const char *item) { return _to PlaylistAppend(item); } \ ! NS_SCRIPTABLE NS_IMETHOD PlaylistClear(PRBool *_retval NS_OUTPARAM) { return _to PlaylistClear(_retval); } \ NS_SCRIPTABLE NS_IMETHOD GetFilename(char * *aFilename) { return _to GetFilename(aFilename); } \ NS_SCRIPTABLE NS_IMETHOD SetFilename(const char * aFilename) { return _to SetFilename(aFilename); } \ *************** *** 367,387 **** NS_SCRIPTABLE NS_IMETHOD Open(const char *filename) { return !_to ? NS_ERROR_NULL_POINTER : _to->Open(filename); } \ NS_SCRIPTABLE NS_IMETHOD SetVolume(double value) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetVolume(value); } \ ! NS_SCRIPTABLE NS_IMETHOD GetVolume(double *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetVolume(_retval); } \ NS_SCRIPTABLE NS_IMETHOD SetFileName(const char *filename) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetFileName(filename); } \ NS_SCRIPTABLE NS_IMETHOD SetIsLooping(PRBool loop) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetIsLooping(loop); } \ ! NS_SCRIPTABLE NS_IMETHOD GetIsLooping(PRBool *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsLooping(_retval); } \ NS_SCRIPTABLE NS_IMETHOD SetAutoPlay(PRBool autoPlay) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAutoPlay(autoPlay); } \ ! NS_SCRIPTABLE NS_IMETHOD GetAutoPlay(PRBool *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAutoPlay(_retval); } \ NS_SCRIPTABLE NS_IMETHOD SetHREF(const char *url) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetHREF(url); } \ ! NS_SCRIPTABLE NS_IMETHOD GetHREF(char **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHREF(_retval); } \ NS_SCRIPTABLE NS_IMETHOD SetURL(const char *url) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetURL(url); } \ ! NS_SCRIPTABLE NS_IMETHOD GetURL(char **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetURL(_retval); } \ ! NS_SCRIPTABLE NS_IMETHOD GetMIMEType(char **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMIMEType(_retval); } \ ! NS_SCRIPTABLE NS_IMETHOD GetTime(double *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTime(_retval); } \ ! NS_SCRIPTABLE NS_IMETHOD GetDuration(double *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDuration(_retval); } \ ! NS_SCRIPTABLE NS_IMETHOD GetPercent(double *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPercent(_retval); } \ ! NS_SCRIPTABLE NS_IMETHOD Isplaying(PRBool *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->Isplaying(_retval); } \ NS_SCRIPTABLE NS_IMETHOD PlaylistAppend(const char *item) { return !_to ? NS_ERROR_NULL_POINTER : _to->PlaylistAppend(item); } \ ! NS_SCRIPTABLE NS_IMETHOD PlaylistClear(PRBool *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->PlaylistClear(_retval); } \ NS_SCRIPTABLE NS_IMETHOD GetFilename(char * *aFilename) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFilename(aFilename); } \ NS_SCRIPTABLE NS_IMETHOD SetFilename(const char * aFilename) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetFilename(aFilename); } \ --- 367,387 ---- NS_SCRIPTABLE NS_IMETHOD Open(const char *filename) { return !_to ? NS_ERROR_NULL_POINTER : _to->Open(filename); } \ NS_SCRIPTABLE NS_IMETHOD SetVolume(double value) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetVolume(value); } \ ! NS_SCRIPTABLE NS_IMETHOD GetVolume(double *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetVolume(_retval); } \ NS_SCRIPTABLE NS_IMETHOD SetFileName(const char *filename) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetFileName(filename); } \ NS_SCRIPTABLE NS_IMETHOD SetIsLooping(PRBool loop) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetIsLooping(loop); } \ ! NS_SCRIPTABLE NS_IMETHOD GetIsLooping(PRBool *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsLooping(_retval); } \ NS_SCRIPTABLE NS_IMETHOD SetAutoPlay(PRBool autoPlay) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAutoPlay(autoPlay); } \ ! NS_SCRIPTABLE NS_IMETHOD GetAutoPlay(PRBool *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAutoPlay(_retval); } \ NS_SCRIPTABLE NS_IMETHOD SetHREF(const char *url) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetHREF(url); } \ ! NS_SCRIPTABLE NS_IMETHOD GetHREF(char **_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHREF(_retval); } \ NS_SCRIPTABLE NS_IMETHOD SetURL(const char *url) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetURL(url); } \ ! NS_SCRIPTABLE NS_IMETHOD GetURL(char **_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetURL(_retval); } \ ! NS_SCRIPTABLE NS_IMETHOD GetMIMEType(char **_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMIMEType(_retval); } \ ! NS_SCRIPTABLE NS_IMETHOD GetTime(double *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTime(_retval); } \ ! NS_SCRIPTABLE NS_IMETHOD GetDuration(double *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDuration(_retval); } \ ! NS_SCRIPTABLE NS_IMETHOD GetPercent(double *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPercent(_retval); } \ ! NS_SCRIPTABLE NS_IMETHOD Isplaying(PRBool *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->Isplaying(_retval); } \ NS_SCRIPTABLE NS_IMETHOD PlaylistAppend(const char *item) { return !_to ? NS_ERROR_NULL_POINTER : _to->PlaylistAppend(item); } \ ! NS_SCRIPTABLE NS_IMETHOD PlaylistClear(PRBool *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->PlaylistClear(_retval); } \ NS_SCRIPTABLE NS_IMETHOD GetFilename(char * *aFilename) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFilename(aFilename); } \ NS_SCRIPTABLE NS_IMETHOD SetFilename(const char * aFilename) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetFilename(aFilename); } \ *************** *** 521,525 **** /* double GetVolume (); */ ! NS_IMETHODIMP nsScriptableMplayerPlugin::GetVolume(double *_retval) { return NS_ERROR_NOT_IMPLEMENTED; --- 521,525 ---- /* double GetVolume (); */ ! NS_IMETHODIMP nsScriptableMplayerPlugin::GetVolume(double *_retval NS_OUTPARAM) { return NS_ERROR_NOT_IMPLEMENTED; *************** *** 539,543 **** /* boolean GetIsLooping (); */ ! NS_IMETHODIMP nsScriptableMplayerPlugin::GetIsLooping(PRBool *_retval) { return NS_ERROR_NOT_IMPLEMENTED; --- 539,543 ---- /* boolean GetIsLooping (); */ ! NS_IMETHODIMP nsScriptableMplayerPlugin::GetIsLooping(PRBool *_retval NS_OUTPARAM) { return NS_ERROR_NOT_IMPLEMENTED; *************** *** 551,555 **** /* boolean GetAutoPlay (); */ ! NS_IMETHODIMP nsScriptableMplayerPlugin::GetAutoPlay(PRBool *_retval) { return NS_ERROR_NOT_IMPLEMENTED; --- 551,555 ---- /* boolean GetAutoPlay (); */ ! NS_IMETHODIMP nsScriptableMplayerPlugin::GetAutoPlay(PRBool *_retval NS_OUTPARAM) { return NS_ERROR_NOT_IMPLEMENTED; *************** *** 563,567 **** /* string GetHREF (); */ ! NS_IMETHODIMP nsScriptableMplayerPlugin::GetHREF(char **_retval) { return NS_ERROR_NOT_IMPLEMENTED; --- 563,567 ---- /* string GetHREF (); */ ! NS_IMETHODIMP nsScriptableMplayerPlugin::GetHREF(char **_retval NS_OUTPARAM) { return NS_ERROR_NOT_IMPLEMENTED; *************** *** 575,579 **** /* string GetURL (); */ ! NS_IMETHODIMP nsScriptableMplayerPlugin::GetURL(char **_retval) { return NS_ERROR_NOT_IMPLEMENTED; --- 575,579 ---- /* string GetURL (); */ ! NS_IMETHODIMP nsScriptableMplayerPlugin::GetURL(char **_retval NS_OUTPARAM) { return NS_ERROR_NOT_IMPLEMENTED; *************** *** 581,585 **** /* string GetMIMEType (); */ ! NS_IMETHODIMP nsScriptableMplayerPlugin::GetMIMEType(char **_retval) { return NS_ERROR_NOT_IMPLEMENTED; --- 581,585 ---- /* string GetMIMEType (); */ ! NS_IMETHODIMP nsScriptableMplayerPlugin::GetMIMEType(char **_retval NS_OUTPARAM) { return NS_ERROR_NOT_IMPLEMENTED; *************** *** 587,591 **** /* double getTime (); */ ! NS_IMETHODIMP nsScriptableMplayerPlugin::GetTime(double *_retval) { return NS_ERROR_NOT_IMPLEMENTED; --- 587,591 ---- /* double getTime (); */ ! NS_IMETHODIMP nsScriptableMplayerPlugin::GetTime(double *_retval NS_OUTPARAM) { return NS_ERROR_NOT_IMPLEMENTED; *************** *** 593,597 **** /* double getDuration (); */ ! NS_IMETHODIMP nsScriptableMplayerPlugin::GetDuration(double *_retval) { return NS_ERROR_NOT_IMPLEMENTED; --- 593,597 ---- /* double getDuration (); */ ! NS_IMETHODIMP nsScriptableMplayerPlugin::GetDuration(double *_retval NS_OUTPARAM) { return NS_ERROR_NOT_IMPLEMENTED; *************** *** 599,603 **** /* double getPercent (); */ ! NS_IMETHODIMP nsScriptableMplayerPlugin::GetPercent(double *_retval) { return NS_ERROR_NOT_IMPLEMENTED; --- 599,603 ---- /* double getPercent (); */ ! NS_IMETHODIMP nsScriptableMplayerPlugin::GetPercent(double *_retval NS_OUTPARAM) { return NS_ERROR_NOT_IMPLEMENTED; *************** *** 605,609 **** /* boolean isplaying (); */ ! NS_IMETHODIMP nsScriptableMplayerPlugin::Isplaying(PRBool *_retval) { return NS_ERROR_NOT_IMPLEMENTED; --- 605,609 ---- /* boolean isplaying (); */ ! NS_IMETHODIMP nsScriptableMplayerPlugin::Isplaying(PRBool *_retval NS_OUTPARAM) { return NS_ERROR_NOT_IMPLEMENTED; *************** *** 617,621 **** /* boolean playlistClear (); */ ! NS_IMETHODIMP nsScriptableMplayerPlugin::PlaylistClear(PRBool *_retval) { return NS_ERROR_NOT_IMPLEMENTED; --- 617,621 ---- /* boolean playlistClear (); */ ! NS_IMETHODIMP nsScriptableMplayerPlugin::PlaylistClear(PRBool *_retval NS_OUTPARAM) { return NS_ERROR_NOT_IMPLEMENTED; Index: plugin-list.cpp =================================================================== RCS file: /cvsroot/mplayerplug-in/mplayerplug-in/Source/plugin-list.cpp,v retrieving revision 1.78 retrieving revision 1.79 diff -C2 -d -r1.78 -r1.79 *** plugin-list.cpp 3 Dec 2007 17:34:07 -0000 1.78 --- plugin-list.cpp 3 Apr 2009 15:39:48 -0000 1.79 *************** *** 141,146 **** char tagurl[4096]; ! endvideo = strstr(smilbuffer, "</video"); ! startarea = strstr(smilbuffer, "<area"); while (startarea && startarea < endvideo) { --- 141,146 ---- char tagurl[4096]; ! endvideo = strstr((char *)smilbuffer, "</video"); ! startarea = strstr((char *)smilbuffer, "<area"); while (startarea && startarea < endvideo) { Index: plugin-support.cpp =================================================================== RCS file: /cvsroot/mplayerplug-in/mplayerplug-in/Source/plugin-support.cpp,v retrieving revision 1.108 retrieving revision 1.109 diff -C2 -d -r1.108 -r1.109 *** plugin-support.cpp 17 Feb 2009 14:19:53 -0000 1.108 --- plugin-support.cpp 3 Apr 2009 15:39:48 -0000 1.109 *************** *** 122,126 **** return NULL; filename = (char *) NPN_MemAlloc(sizeof(char) * (len + 1)); ! tmp = rindex(url, '/'); if (tmp == NULL) { strcpy(filename, url); --- 122,126 ---- return NULL; filename = (char *) NPN_MemAlloc(sizeof(char) * (len + 1)); ! tmp = rindex((char *)url, '/'); if (tmp == NULL) { strcpy(filename, url); Index: nsIScriptableMplayerPlugin.xpt =================================================================== RCS file: /cvsroot/mplayerplug-in/mplayerplug-in/Source/nsIScriptableMplayerPlugin.xpt,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 Binary files /tmp/cvsiI8dne and /tmp/cvs4G0AwH differ |
From: Kevin D. <kde...@us...> - 2009-04-03 15:39:54
|
Update of /cvsroot/mplayerplug-in/mplayerplug-in In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv14334 Modified Files: ChangeLog install.sh uninstall.sh Log Message: Fix some compile issues on Fedora 11 Index: uninstall.sh =================================================================== RCS file: /cvsroot/mplayerplug-in/mplayerplug-in/uninstall.sh,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** uninstall.sh 17 Feb 2009 14:19:52 -0000 1.18 --- uninstall.sh 3 Apr 2009 15:39:47 -0000 1.19 *************** *** 1,4 **** #!/bin/bash ! MOZHOME=/usr/lib64/xulrunner-1.9 echo "Cleaning up user plugins" --- 1,4 ---- #!/bin/bash ! MOZHOME=/usr/lib64/xulrunner-1.9.1 echo "Cleaning up user plugins" Index: install.sh =================================================================== RCS file: /cvsroot/mplayerplug-in/mplayerplug-in/install.sh,v retrieving revision 1.36 retrieving revision 1.37 diff -C2 -d -r1.36 -r1.37 *** install.sh 17 Feb 2009 14:19:52 -0000 1.36 --- install.sh 3 Apr 2009 15:39:47 -0000 1.37 *************** *** 10,14 **** LOCALEDIR=${datadir}/locale DESTDIR=$1 ! MOZHOME=/usr/lib64/xulrunner-1.9/plugins if [ "$DESTDIR" ]; then --- 10,14 ---- LOCALEDIR=${datadir}/locale DESTDIR=$1 ! MOZHOME=/usr/lib64/xulrunner-1.9.1/plugins if [ "$DESTDIR" ]; then Index: ChangeLog =================================================================== RCS file: /cvsroot/mplayerplug-in/mplayerplug-in/ChangeLog,v retrieving revision 1.576 retrieving revision 1.577 diff -C2 -d -r1.576 -r1.577 *** ChangeLog 17 Feb 2009 14:19:50 -0000 1.576 --- ChangeLog 3 Apr 2009 15:39:46 -0000 1.577 *************** *** 1,3 **** --- 1,4 ---- Development + Fix some compile issues on Fedora 11 Merge in some patches from FreeBSD Fix a couple of translation issues |
From: Kevin D. <kde...@us...> - 2009-02-17 14:20:02
|
Update of /cvsroot/mplayerplug-in/mplayerplug-in/po In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv14680/po Modified Files: Makefile.in ru.po Log Message: Merge in some patches from FreeBSD Fix a couple of translation issues Index: Makefile.in =================================================================== RCS file: /cvsroot/mplayerplug-in/mplayerplug-in/po/Makefile.in,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** Makefile.in 5 Feb 2008 17:04:44 -0000 1.22 --- Makefile.in 17 Feb 2009 14:19:54 -0000 1.23 *************** *** 1,4 **** ! LANGUAGES=cs da de en_US es fr hu it ja ko nb pl pt_BR nl ru se sk tr wa zh_CN ! MOFILES=cs.mo da.mo de.mo en_US.mo es.mo fr.mo hu.mo it.mo ja.mo ko.mo nb.mo pl.mo pt_BR.mo nl.mo ru.mo se.mo sk.mo tr.mo wa.mo zh_CN.mo INSTALL = @INSTALL@ prefix=@prefix@ --- 1,4 ---- ! LANGUAGES=cs da de en_US es fr hu it ja ko nb pl pt_BR nl ru sv sk tr wa zh_CN ! MOFILES=cs.mo da.mo de.mo en_US.mo es.mo fr.mo hu.mo it.mo ja.mo ko.mo nb.mo pl.mo pt_BR.mo nl.mo ru.mo sv.mo sk.mo tr.mo wa.mo zh_CN.mo INSTALL = @INSTALL@ prefix=@prefix@ Index: ru.po =================================================================== RCS file: /cvsroot/mplayerplug-in/mplayerplug-in/po/ru.po,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** ru.po 20 Oct 2006 23:09:36 -0000 1.15 --- ru.po 17 Feb 2009 14:19:54 -0000 1.16 *************** *** 30,34 **** #: ../Source/plugin.cpp:840 msgid "Show Controls" ! msgstr "ÐоказаÑÑ Ð¿Ñопки ÑпÑавлениÑ" #: ../Source/plugin.cpp:848 ../Source/plugin-ui.cpp:1347 --- 30,34 ---- #: ../Source/plugin.cpp:840 msgid "Show Controls" ! msgstr "ÐоказаÑÑ ÐºÐ½Ð¾Ð¿ÐºÐ¸ ÑпÑавлениÑ" #: ../Source/plugin.cpp:848 ../Source/plugin-ui.cpp:1347 |
From: Kevin D. <kde...@us...> - 2009-02-17 14:20:01
|
Update of /cvsroot/mplayerplug-in/mplayerplug-in/Source In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv14680/Source Modified Files: nsIScriptableMplayerPlugin.h nsIScriptableMplayerPlugin.xpt plugin-support.cpp plugin-threads.cpp Log Message: Merge in some patches from FreeBSD Fix a couple of translation issues Index: nsIScriptableMplayerPlugin.h =================================================================== RCS file: /cvsroot/mplayerplug-in/mplayerplug-in/Source/nsIScriptableMplayerPlugin.h,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** nsIScriptableMplayerPlugin.h 24 Oct 2007 13:34:43 -0000 1.22 --- nsIScriptableMplayerPlugin.h 17 Feb 2009 14:19:53 -0000 1.23 *************** *** 23,59 **** { 0x66, 0x66, 0xfb, 0x9f, 0x41, 0x4f, 0x24, 0x65 }} ! class NS_NO_VTABLE nsIScriptableWMPPlugin : public nsISupports { public: ! NS_DEFINE_STATIC_IID_ACCESSOR(NS_ISCRIPTABLEWMPPLUGIN_IID) /* void play (); */ ! NS_IMETHOD Play(void) = 0; /* void pause (); */ ! NS_IMETHOD Pause(void) = 0; /* void stop (); */ ! NS_IMETHOD Stop(void) = 0; }; /* Use this macro when declaring classes that implement this interface. */ #define NS_DECL_NSISCRIPTABLEWMPPLUGIN \ ! NS_IMETHOD Play(void); \ ! NS_IMETHOD Pause(void); \ ! NS_IMETHOD Stop(void); /* Use this macro to declare functions that forward the behavior of this interface to another object. */ #define NS_FORWARD_NSISCRIPTABLEWMPPLUGIN(_to) \ ! NS_IMETHOD Play(void) { return _to Play(); } \ ! NS_IMETHOD Pause(void) { return _to Pause(); } \ ! NS_IMETHOD Stop(void) { return _to Stop(); } /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */ #define NS_FORWARD_SAFE_NSISCRIPTABLEWMPPLUGIN(_to) \ ! NS_IMETHOD Play(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->Play(); } \ ! NS_IMETHOD Pause(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->Pause(); } \ ! NS_IMETHOD Stop(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->Stop(); } #if 0 --- 23,61 ---- { 0x66, 0x66, 0xfb, 0x9f, 0x41, 0x4f, 0x24, 0x65 }} ! class NS_NO_VTABLE NS_SCRIPTABLE nsIScriptableWMPPlugin : public nsISupports { public: ! NS_DECLARE_STATIC_IID_ACCESSOR(NS_ISCRIPTABLEWMPPLUGIN_IID) /* void play (); */ ! NS_SCRIPTABLE NS_IMETHOD Play(void) = 0; /* void pause (); */ ! NS_SCRIPTABLE NS_IMETHOD Pause(void) = 0; /* void stop (); */ ! NS_SCRIPTABLE NS_IMETHOD Stop(void) = 0; }; + NS_DEFINE_STATIC_IID_ACCESSOR(nsIScriptableWMPPlugin, NS_ISCRIPTABLEWMPPLUGIN_IID) + /* Use this macro when declaring classes that implement this interface. */ #define NS_DECL_NSISCRIPTABLEWMPPLUGIN \ ! NS_SCRIPTABLE NS_IMETHOD Play(void); \ ! NS_SCRIPTABLE NS_IMETHOD Pause(void); \ ! NS_SCRIPTABLE NS_IMETHOD Stop(void); /* Use this macro to declare functions that forward the behavior of this interface to another object. */ #define NS_FORWARD_NSISCRIPTABLEWMPPLUGIN(_to) \ ! NS_SCRIPTABLE NS_IMETHOD Play(void) { return _to Play(); } \ ! NS_SCRIPTABLE NS_IMETHOD Pause(void) { return _to Pause(); } \ ! NS_SCRIPTABLE NS_IMETHOD Stop(void) { return _to Stop(); } /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */ #define NS_FORWARD_SAFE_NSISCRIPTABLEWMPPLUGIN(_to) \ ! NS_SCRIPTABLE NS_IMETHOD Play(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->Play(); } \ ! NS_SCRIPTABLE NS_IMETHOD Pause(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->Pause(); } \ ! NS_SCRIPTABLE NS_IMETHOD Stop(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->Stop(); } #if 0 *************** *** 118,396 **** { 0x66, 0x66, 0xfb, 0x9f, 0x41, 0x4f, 0x24, 0x65 }} ! class NS_NO_VTABLE nsIScriptableMplayerPlugin : public nsISupports { public: ! NS_DEFINE_STATIC_IID_ACCESSOR(NS_ISCRIPTABLEMPLAYERPLUGIN_IID) /* void Play (); */ ! NS_IMETHOD Play(void) = 0; /* void PlayAt (in double value); */ ! NS_IMETHOD PlayAt(double value) = 0; /* void Pause (); */ ! NS_IMETHOD Pause(void) = 0; /* void Stop (); */ ! NS_IMETHOD Stop(void) = 0; /* void quit (); */ ! NS_IMETHOD Quit(void) = 0; /* void DoPlay (); */ ! NS_IMETHOD DoPlay(void) = 0; /* void DoPause (); */ ! NS_IMETHOD DoPause(void) = 0; /* void FastForward (); */ ! NS_IMETHOD FastForward(void) = 0; /* void FastReverse (); */ ! NS_IMETHOD FastReverse(void) = 0; /* void ff (); */ ! NS_IMETHOD Ff(void) = 0; /* void rew (); */ ! NS_IMETHOD Rew(void) = 0; /* void rewind (); */ ! NS_IMETHOD Rewind(void) = 0; /* void Seek (in double value); */ ! NS_IMETHOD Seek(double value) = 0; /* void Open (in string filename); */ ! NS_IMETHOD Open(const char *filename) = 0; /* void SetVolume (in double value); */ ! NS_IMETHOD SetVolume(double value) = 0; /* double GetVolume (); */ ! NS_IMETHOD GetVolume(double *_retval) = 0; /* void SetFileName (in string filename); */ ! NS_IMETHOD SetFileName(const char *filename) = 0; /* void SetIsLooping (in boolean loop); */ ! NS_IMETHOD SetIsLooping(PRBool loop) = 0; /* boolean GetIsLooping (); */ ! NS_IMETHOD GetIsLooping(PRBool *_retval) = 0; /* void SetAutoPlay (in boolean autoPlay); */ ! NS_IMETHOD SetAutoPlay(PRBool autoPlay) = 0; /* boolean GetAutoPlay (); */ ! NS_IMETHOD GetAutoPlay(PRBool *_retval) = 0; /* void SetHREF (in string url); */ ! NS_IMETHOD SetHREF(const char *url) = 0; /* string GetHREF (); */ ! NS_IMETHOD GetHREF(char **_retval) = 0; /* void SetURL (in string url); */ ! NS_IMETHOD SetURL(const char *url) = 0; /* string GetURL (); */ ! NS_IMETHOD GetURL(char **_retval) = 0; /* string GetMIMEType (); */ ! NS_IMETHOD GetMIMEType(char **_retval) = 0; /* double getTime (); */ ! NS_IMETHOD GetTime(double *_retval) = 0; /* double getDuration (); */ ! NS_IMETHOD GetDuration(double *_retval) = 0; /* double getPercent (); */ ! NS_IMETHOD GetPercent(double *_retval) = 0; /* boolean isplaying (); */ ! NS_IMETHOD Isplaying(PRBool *_retval) = 0; /* void playlistAppend (in string item); */ ! NS_IMETHOD PlaylistAppend(const char *item) = 0; /* boolean playlistClear (); */ ! NS_IMETHOD PlaylistClear(PRBool *_retval) = 0; /* attribute string filename; */ ! NS_IMETHOD GetFilename(char * *aFilename) = 0; ! NS_IMETHOD SetFilename(const char * aFilename) = 0; /* attribute string src; */ ! NS_IMETHOD GetSrc(char * *aSrc) = 0; ! NS_IMETHOD SetSrc(const char * aSrc) = 0; /* attribute boolean ShowControls; */ ! NS_IMETHOD GetShowControls(PRBool *aShowControls) = 0; ! NS_IMETHOD SetShowControls(PRBool aShowControls) = 0; /* attribute boolean fullscreen; */ ! NS_IMETHOD GetFullscreen(PRBool *aFullscreen) = 0; ! NS_IMETHOD SetFullscreen(PRBool aFullscreen) = 0; /* attribute boolean showlogo; */ ! NS_IMETHOD GetShowlogo(PRBool *aShowlogo) = 0; ! NS_IMETHOD SetShowlogo(PRBool aShowlogo) = 0; /* readonly attribute long playState; */ ! NS_IMETHOD GetPlayState(PRInt32 *aPlayState) = 0; /* readonly attribute nsIScriptableWMPPlugin controls; */ ! NS_IMETHOD GetControls(nsIScriptableWMPPlugin * *aControls) = 0; /* void onClick (in string event); */ ! NS_IMETHOD OnClick(const char *event) = 0; }; /* Use this macro when declaring classes that implement this interface. */ #define NS_DECL_NSISCRIPTABLEMPLAYERPLUGIN \ ! NS_IMETHOD Play(void); \ ! NS_IMETHOD PlayAt(double value); \ ! NS_IMETHOD Pause(void); \ ! NS_IMETHOD Stop(void); \ ! NS_IMETHOD Quit(void); \ ! NS_IMETHOD DoPlay(void); \ ! NS_IMETHOD DoPause(void); \ ! NS_IMETHOD FastForward(void); \ ! NS_IMETHOD FastReverse(void); \ ! NS_IMETHOD Ff(void); \ ! NS_IMETHOD Rew(void); \ ! NS_IMETHOD Rewind(void); \ ! NS_IMETHOD Seek(double value); \ ! NS_IMETHOD Open(const char *filename); \ ! NS_IMETHOD SetVolume(double value); \ ! NS_IMETHOD GetVolume(double *_retval); \ ! NS_IMETHOD SetFileName(const char *filename); \ ! NS_IMETHOD SetIsLooping(PRBool loop); \ ! NS_IMETHOD GetIsLooping(PRBool *_retval); \ ! NS_IMETHOD SetAutoPlay(PRBool autoPlay); \ ! NS_IMETHOD GetAutoPlay(PRBool *_retval); \ ! NS_IMETHOD SetHREF(const char *url); \ ! NS_IMETHOD GetHREF(char **_retval); \ ! NS_IMETHOD SetURL(const char *url); \ ! NS_IMETHOD GetURL(char **_retval); \ ! NS_IMETHOD GetMIMEType(char **_retval); \ ! NS_IMETHOD GetTime(double *_retval); \ ! NS_IMETHOD GetDuration(double *_retval); \ ! NS_IMETHOD GetPercent(double *_retval); \ ! NS_IMETHOD Isplaying(PRBool *_retval); \ ! NS_IMETHOD PlaylistAppend(const char *item); \ ! NS_IMETHOD PlaylistClear(PRBool *_retval); \ ! NS_IMETHOD GetFilename(char * *aFilename); \ ! NS_IMETHOD SetFilename(const char * aFilename); \ ! NS_IMETHOD GetSrc(char * *aSrc); \ ! NS_IMETHOD SetSrc(const char * aSrc); \ ! NS_IMETHOD GetShowControls(PRBool *aShowControls); \ ! NS_IMETHOD SetShowControls(PRBool aShowControls); \ ! NS_IMETHOD GetFullscreen(PRBool *aFullscreen); \ ! NS_IMETHOD SetFullscreen(PRBool aFullscreen); \ ! NS_IMETHOD GetShowlogo(PRBool *aShowlogo); \ ! NS_IMETHOD SetShowlogo(PRBool aShowlogo); \ ! NS_IMETHOD GetPlayState(PRInt32 *aPlayState); \ ! NS_IMETHOD GetControls(nsIScriptableWMPPlugin * *aControls); \ ! NS_IMETHOD OnClick(const char *event); /* Use this macro to declare functions that forward the behavior of this interface to another object. */ #define NS_FORWARD_NSISCRIPTABLEMPLAYERPLUGIN(_to) \ ! NS_IMETHOD Play(void) { return _to Play(); } \ ! NS_IMETHOD PlayAt(double value) { return _to PlayAt(value); } \ ! NS_IMETHOD Pause(void) { return _to Pause(); } \ ! NS_IMETHOD Stop(void) { return _to Stop(); } \ ! NS_IMETHOD Quit(void) { return _to Quit(); } \ ! NS_IMETHOD DoPlay(void) { return _to DoPlay(); } \ ! NS_IMETHOD DoPause(void) { return _to DoPause(); } \ ! NS_IMETHOD FastForward(void) { return _to FastForward(); } \ ! NS_IMETHOD FastReverse(void) { return _to FastReverse(); } \ ! NS_IMETHOD Ff(void) { return _to Ff(); } \ ! NS_IMETHOD Rew(void) { return _to Rew(); } \ ! NS_IMETHOD Rewind(void) { return _to Rewind(); } \ ! NS_IMETHOD Seek(double value) { return _to Seek(value); } \ ! NS_IMETHOD Open(const char *filename) { return _to Open(filename); } \ ! NS_IMETHOD SetVolume(double value) { return _to SetVolume(value); } \ ! NS_IMETHOD GetVolume(double *_retval) { return _to GetVolume(_retval); } \ ! NS_IMETHOD SetFileName(const char *filename) { return _to SetFileName(filename); } \ ! NS_IMETHOD SetIsLooping(PRBool loop) { return _to SetIsLooping(loop); } \ ! NS_IMETHOD GetIsLooping(PRBool *_retval) { return _to GetIsLooping(_retval); } \ ! NS_IMETHOD SetAutoPlay(PRBool autoPlay) { return _to SetAutoPlay(autoPlay); } \ ! NS_IMETHOD GetAutoPlay(PRBool *_retval) { return _to GetAutoPlay(_retval); } \ ! NS_IMETHOD SetHREF(const char *url) { return _to SetHREF(url); } \ ! NS_IMETHOD GetHREF(char **_retval) { return _to GetHREF(_retval); } \ ! NS_IMETHOD SetURL(const char *url) { return _to SetURL(url); } \ ! NS_IMETHOD GetURL(char **_retval) { return _to GetURL(_retval); } \ ! NS_IMETHOD GetMIMEType(char **_retval) { return _to GetMIMEType(_retval); } \ ! NS_IMETHOD GetTime(double *_retval) { return _to GetTime(_retval); } \ ! NS_IMETHOD GetDuration(double *_retval) { return _to GetDuration(_retval); } \ ! NS_IMETHOD GetPercent(double *_retval) { return _to GetPercent(_retval); } \ ! NS_IMETHOD Isplaying(PRBool *_retval) { return _to Isplaying(_retval); } \ ! NS_IMETHOD PlaylistAppend(const char *item) { return _to PlaylistAppend(item); } \ ! NS_IMETHOD PlaylistClear(PRBool *_retval) { return _to PlaylistClear(_retval); } \ ! NS_IMETHOD GetFilename(char * *aFilename) { return _to GetFilename(aFilename); } \ ! NS_IMETHOD SetFilename(const char * aFilename) { return _to SetFilename(aFilename); } \ ! NS_IMETHOD GetSrc(char * *aSrc) { return _to GetSrc(aSrc); } \ ! NS_IMETHOD SetSrc(const char * aSrc) { return _to SetSrc(aSrc); } \ ! NS_IMETHOD GetShowControls(PRBool *aShowControls) { return _to GetShowControls(aShowControls); } \ ! NS_IMETHOD SetShowControls(PRBool aShowControls) { return _to SetShowControls(aShowControls); } \ ! NS_IMETHOD GetFullscreen(PRBool *aFullscreen) { return _to GetFullscreen(aFullscreen); } \ ! NS_IMETHOD SetFullscreen(PRBool aFullscreen) { return _to SetFullscreen(aFullscreen); } \ ! NS_IMETHOD GetShowlogo(PRBool *aShowlogo) { return _to GetShowlogo(aShowlogo); } \ ! NS_IMETHOD SetShowlogo(PRBool aShowlogo) { return _to SetShowlogo(aShowlogo); } \ ! NS_IMETHOD GetPlayState(PRInt32 *aPlayState) { return _to GetPlayState(aPlayState); } \ ! NS_IMETHOD GetControls(nsIScriptableWMPPlugin * *aControls) { return _to GetControls(aControls); } \ ! NS_IMETHOD OnClick(const char *event) { return _to OnClick(event); } /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */ #define NS_FORWARD_SAFE_NSISCRIPTABLEMPLAYERPLUGIN(_to) \ ! NS_IMETHOD Play(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->Play(); } \ ! NS_IMETHOD PlayAt(double value) { return !_to ? NS_ERROR_NULL_POINTER : _to->PlayAt(value); } \ ! NS_IMETHOD Pause(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->Pause(); } \ ! NS_IMETHOD Stop(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->Stop(); } \ ! NS_IMETHOD Quit(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->Quit(); } \ ! NS_IMETHOD DoPlay(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->DoPlay(); } \ ! NS_IMETHOD DoPause(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->DoPause(); } \ ! NS_IMETHOD FastForward(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->FastForward(); } \ ! NS_IMETHOD FastReverse(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->FastReverse(); } \ ! NS_IMETHOD Ff(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->Ff(); } \ ! NS_IMETHOD Rew(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->Rew(); } \ ! NS_IMETHOD Rewind(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->Rewind(); } \ ! NS_IMETHOD Seek(double value) { return !_to ? NS_ERROR_NULL_POINTER : _to->Seek(value); } \ ! NS_IMETHOD Open(const char *filename) { return !_to ? NS_ERROR_NULL_POINTER : _to->Open(filename); } \ ! NS_IMETHOD SetVolume(double value) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetVolume(value); } \ ! NS_IMETHOD GetVolume(double *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetVolume(_retval); } \ ! NS_IMETHOD SetFileName(const char *filename) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetFileName(filename); } \ ! NS_IMETHOD SetIsLooping(PRBool loop) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetIsLooping(loop); } \ ! NS_IMETHOD GetIsLooping(PRBool *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsLooping(_retval); } \ ! NS_IMETHOD SetAutoPlay(PRBool autoPlay) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAutoPlay(autoPlay); } \ ! NS_IMETHOD GetAutoPlay(PRBool *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAutoPlay(_retval); } \ ! NS_IMETHOD SetHREF(const char *url) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetHREF(url); } \ ! NS_IMETHOD GetHREF(char **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHREF(_retval); } \ ! NS_IMETHOD SetURL(const char *url) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetURL(url); } \ ! NS_IMETHOD GetURL(char **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetURL(_retval); } \ ! NS_IMETHOD GetMIMEType(char **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMIMEType(_retval); } \ ! NS_IMETHOD GetTime(double *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTime(_retval); } \ ! NS_IMETHOD GetDuration(double *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDuration(_retval); } \ ! NS_IMETHOD GetPercent(double *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPercent(_retval); } \ ! NS_IMETHOD Isplaying(PRBool *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->Isplaying(_retval); } \ ! NS_IMETHOD PlaylistAppend(const char *item) { return !_to ? NS_ERROR_NULL_POINTER : _to->PlaylistAppend(item); } \ ! NS_IMETHOD PlaylistClear(PRBool *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->PlaylistClear(_retval); } \ ! NS_IMETHOD GetFilename(char * *aFilename) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFilename(aFilename); } \ ! NS_IMETHOD SetFilename(const char * aFilename) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetFilename(aFilename); } \ ! NS_IMETHOD GetSrc(char * *aSrc) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSrc(aSrc); } \ ! NS_IMETHOD SetSrc(const char * aSrc) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSrc(aSrc); } \ ! NS_IMETHOD GetShowControls(PRBool *aShowControls) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetShowControls(aShowControls); } \ ! NS_IMETHOD SetShowControls(PRBool aShowControls) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetShowControls(aShowControls); } \ ! NS_IMETHOD GetFullscreen(PRBool *aFullscreen) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFullscreen(aFullscreen); } \ ! NS_IMETHOD SetFullscreen(PRBool aFullscreen) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetFullscreen(aFullscreen); } \ ! NS_IMETHOD GetShowlogo(PRBool *aShowlogo) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetShowlogo(aShowlogo); } \ ! NS_IMETHOD SetShowlogo(PRBool aShowlogo) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetShowlogo(aShowlogo); } \ ! NS_IMETHOD GetPlayState(PRInt32 *aPlayState) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPlayState(aPlayState); } \ ! NS_IMETHOD GetControls(nsIScriptableWMPPlugin * *aControls) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetControls(aControls); } \ ! NS_IMETHOD OnClick(const char *event) { return !_to ? NS_ERROR_NULL_POINTER : _to->OnClick(event); } #if 0 --- 120,400 ---- { 0x66, 0x66, 0xfb, 0x9f, 0x41, 0x4f, 0x24, 0x65 }} ! class NS_NO_VTABLE NS_SCRIPTABLE nsIScriptableMplayerPlugin : public nsISupports { public: ! NS_DECLARE_STATIC_IID_ACCESSOR(NS_ISCRIPTABLEMPLAYERPLUGIN_IID) /* void Play (); */ ! NS_SCRIPTABLE NS_IMETHOD Play(void) = 0; /* void PlayAt (in double value); */ ! NS_SCRIPTABLE NS_IMETHOD PlayAt(double value) = 0; /* void Pause (); */ ! NS_SCRIPTABLE NS_IMETHOD Pause(void) = 0; /* void Stop (); */ ! NS_SCRIPTABLE NS_IMETHOD Stop(void) = 0; /* void quit (); */ ! NS_SCRIPTABLE NS_IMETHOD Quit(void) = 0; /* void DoPlay (); */ ! NS_SCRIPTABLE NS_IMETHOD DoPlay(void) = 0; /* void DoPause (); */ ! NS_SCRIPTABLE NS_IMETHOD DoPause(void) = 0; /* void FastForward (); */ ! NS_SCRIPTABLE NS_IMETHOD FastForward(void) = 0; /* void FastReverse (); */ ! NS_SCRIPTABLE NS_IMETHOD FastReverse(void) = 0; /* void ff (); */ ! NS_SCRIPTABLE NS_IMETHOD Ff(void) = 0; /* void rew (); */ ! NS_SCRIPTABLE NS_IMETHOD Rew(void) = 0; /* void rewind (); */ ! NS_SCRIPTABLE NS_IMETHOD Rewind(void) = 0; /* void Seek (in double value); */ ! NS_SCRIPTABLE NS_IMETHOD Seek(double value) = 0; /* void Open (in string filename); */ ! NS_SCRIPTABLE NS_IMETHOD Open(const char *filename) = 0; /* void SetVolume (in double value); */ ! NS_SCRIPTABLE NS_IMETHOD SetVolume(double value) = 0; /* double GetVolume (); */ ! NS_SCRIPTABLE NS_IMETHOD GetVolume(double *_retval) = 0; /* void SetFileName (in string filename); */ ! NS_SCRIPTABLE NS_IMETHOD SetFileName(const char *filename) = 0; /* void SetIsLooping (in boolean loop); */ ! NS_SCRIPTABLE NS_IMETHOD SetIsLooping(PRBool loop) = 0; /* boolean GetIsLooping (); */ ! NS_SCRIPTABLE NS_IMETHOD GetIsLooping(PRBool *_retval) = 0; /* void SetAutoPlay (in boolean autoPlay); */ ! NS_SCRIPTABLE NS_IMETHOD SetAutoPlay(PRBool autoPlay) = 0; /* boolean GetAutoPlay (); */ ! NS_SCRIPTABLE NS_IMETHOD GetAutoPlay(PRBool *_retval) = 0; /* void SetHREF (in string url); */ ! NS_SCRIPTABLE NS_IMETHOD SetHREF(const char *url) = 0; /* string GetHREF (); */ ! NS_SCRIPTABLE NS_IMETHOD GetHREF(char **_retval) = 0; /* void SetURL (in string url); */ ! NS_SCRIPTABLE NS_IMETHOD SetURL(const char *url) = 0; /* string GetURL (); */ ! NS_SCRIPTABLE NS_IMETHOD GetURL(char **_retval) = 0; /* string GetMIMEType (); */ ! NS_SCRIPTABLE NS_IMETHOD GetMIMEType(char **_retval) = 0; /* double getTime (); */ ! NS_SCRIPTABLE NS_IMETHOD GetTime(double *_retval) = 0; /* double getDuration (); */ ! NS_SCRIPTABLE NS_IMETHOD GetDuration(double *_retval) = 0; /* double getPercent (); */ ! NS_SCRIPTABLE NS_IMETHOD GetPercent(double *_retval) = 0; /* boolean isplaying (); */ ! NS_SCRIPTABLE NS_IMETHOD Isplaying(PRBool *_retval) = 0; /* void playlistAppend (in string item); */ ! NS_SCRIPTABLE NS_IMETHOD PlaylistAppend(const char *item) = 0; /* boolean playlistClear (); */ ! NS_SCRIPTABLE NS_IMETHOD PlaylistClear(PRBool *_retval) = 0; /* attribute string filename; */ ! NS_SCRIPTABLE NS_IMETHOD GetFilename(char * *aFilename) = 0; ! NS_SCRIPTABLE NS_IMETHOD SetFilename(const char * aFilename) = 0; /* attribute string src; */ ! NS_SCRIPTABLE NS_IMETHOD GetSrc(char * *aSrc) = 0; ! NS_SCRIPTABLE NS_IMETHOD SetSrc(const char * aSrc) = 0; /* attribute boolean ShowControls; */ ! NS_SCRIPTABLE NS_IMETHOD GetShowControls(PRBool *aShowControls) = 0; ! NS_SCRIPTABLE NS_IMETHOD SetShowControls(PRBool aShowControls) = 0; /* attribute boolean fullscreen; */ ! NS_SCRIPTABLE NS_IMETHOD GetFullscreen(PRBool *aFullscreen) = 0; ! NS_SCRIPTABLE NS_IMETHOD SetFullscreen(PRBool aFullscreen) = 0; /* attribute boolean showlogo; */ ! NS_SCRIPTABLE NS_IMETHOD GetShowlogo(PRBool *aShowlogo) = 0; ! NS_SCRIPTABLE NS_IMETHOD SetShowlogo(PRBool aShowlogo) = 0; /* readonly attribute long playState; */ ! NS_SCRIPTABLE NS_IMETHOD GetPlayState(PRInt32 *aPlayState) = 0; /* readonly attribute nsIScriptableWMPPlugin controls; */ ! NS_SCRIPTABLE NS_IMETHOD GetControls(nsIScriptableWMPPlugin * *aControls) = 0; /* void onClick (in string event); */ ! NS_SCRIPTABLE NS_IMETHOD OnClick(const char *event) = 0; }; + NS_DEFINE_STATIC_IID_ACCESSOR(nsIScriptableMplayerPlugin, NS_ISCRIPTABLEMPLAYERPLUGIN_IID) + /* Use this macro when declaring classes that implement this interface. */ #define NS_DECL_NSISCRIPTABLEMPLAYERPLUGIN \ ! NS_SCRIPTABLE NS_IMETHOD Play(void); \ ! NS_SCRIPTABLE NS_IMETHOD PlayAt(double value); \ ! NS_SCRIPTABLE NS_IMETHOD Pause(void); \ ! NS_SCRIPTABLE NS_IMETHOD Stop(void); \ ! NS_SCRIPTABLE NS_IMETHOD Quit(void); \ ! NS_SCRIPTABLE NS_IMETHOD DoPlay(void); \ ! NS_SCRIPTABLE NS_IMETHOD DoPause(void); \ ! NS_SCRIPTABLE NS_IMETHOD FastForward(void); \ ! NS_SCRIPTABLE NS_IMETHOD FastReverse(void); \ ! NS_SCRIPTABLE NS_IMETHOD Ff(void); \ ! NS_SCRIPTABLE NS_IMETHOD Rew(void); \ ! NS_SCRIPTABLE NS_IMETHOD Rewind(void); \ ! NS_SCRIPTABLE NS_IMETHOD Seek(double value); \ ! NS_SCRIPTABLE NS_IMETHOD Open(const char *filename); \ ! NS_SCRIPTABLE NS_IMETHOD SetVolume(double value); \ ! NS_SCRIPTABLE NS_IMETHOD GetVolume(double *_retval); \ ! NS_SCRIPTABLE NS_IMETHOD SetFileName(const char *filename); \ ! NS_SCRIPTABLE NS_IMETHOD SetIsLooping(PRBool loop); \ ! NS_SCRIPTABLE NS_IMETHOD GetIsLooping(PRBool *_retval); \ ! NS_SCRIPTABLE NS_IMETHOD SetAutoPlay(PRBool autoPlay); \ ! NS_SCRIPTABLE NS_IMETHOD GetAutoPlay(PRBool *_retval); \ ! NS_SCRIPTABLE NS_IMETHOD SetHREF(const char *url); \ ! NS_SCRIPTABLE NS_IMETHOD GetHREF(char **_retval); \ ! NS_SCRIPTABLE NS_IMETHOD SetURL(const char *url); \ ! NS_SCRIPTABLE NS_IMETHOD GetURL(char **_retval); \ ! NS_SCRIPTABLE NS_IMETHOD GetMIMEType(char **_retval); \ ! NS_SCRIPTABLE NS_IMETHOD GetTime(double *_retval); \ ! NS_SCRIPTABLE NS_IMETHOD GetDuration(double *_retval); \ ! NS_SCRIPTABLE NS_IMETHOD GetPercent(double *_retval); \ ! NS_SCRIPTABLE NS_IMETHOD Isplaying(PRBool *_retval); \ ! NS_SCRIPTABLE NS_IMETHOD PlaylistAppend(const char *item); \ ! NS_SCRIPTABLE NS_IMETHOD PlaylistClear(PRBool *_retval); \ ! NS_SCRIPTABLE NS_IMETHOD GetFilename(char * *aFilename); \ ! NS_SCRIPTABLE NS_IMETHOD SetFilename(const char * aFilename); \ ! NS_SCRIPTABLE NS_IMETHOD GetSrc(char * *aSrc); \ ! NS_SCRIPTABLE NS_IMETHOD SetSrc(const char * aSrc); \ ! NS_SCRIPTABLE NS_IMETHOD GetShowControls(PRBool *aShowControls); \ ! NS_SCRIPTABLE NS_IMETHOD SetShowControls(PRBool aShowControls); \ ! NS_SCRIPTABLE NS_IMETHOD GetFullscreen(PRBool *aFullscreen); \ ! NS_SCRIPTABLE NS_IMETHOD SetFullscreen(PRBool aFullscreen); \ ! NS_SCRIPTABLE NS_IMETHOD GetShowlogo(PRBool *aShowlogo); \ ! NS_SCRIPTABLE NS_IMETHOD SetShowlogo(PRBool aShowlogo); \ ! NS_SCRIPTABLE NS_IMETHOD GetPlayState(PRInt32 *aPlayState); \ ! NS_SCRIPTABLE NS_IMETHOD GetControls(nsIScriptableWMPPlugin * *aControls); \ ! NS_SCRIPTABLE NS_IMETHOD OnClick(const char *event); /* Use this macro to declare functions that forward the behavior of this interface to another object. */ #define NS_FORWARD_NSISCRIPTABLEMPLAYERPLUGIN(_to) \ ! NS_SCRIPTABLE NS_IMETHOD Play(void) { return _to Play(); } \ ! NS_SCRIPTABLE NS_IMETHOD PlayAt(double value) { return _to PlayAt(value); } \ ! NS_SCRIPTABLE NS_IMETHOD Pause(void) { return _to Pause(); } \ ! NS_SCRIPTABLE NS_IMETHOD Stop(void) { return _to Stop(); } \ ! NS_SCRIPTABLE NS_IMETHOD Quit(void) { return _to Quit(); } \ ! NS_SCRIPTABLE NS_IMETHOD DoPlay(void) { return _to DoPlay(); } \ ! NS_SCRIPTABLE NS_IMETHOD DoPause(void) { return _to DoPause(); } \ ! NS_SCRIPTABLE NS_IMETHOD FastForward(void) { return _to FastForward(); } \ ! NS_SCRIPTABLE NS_IMETHOD FastReverse(void) { return _to FastReverse(); } \ ! NS_SCRIPTABLE NS_IMETHOD Ff(void) { return _to Ff(); } \ ! NS_SCRIPTABLE NS_IMETHOD Rew(void) { return _to Rew(); } \ ! NS_SCRIPTABLE NS_IMETHOD Rewind(void) { return _to Rewind(); } \ ! NS_SCRIPTABLE NS_IMETHOD Seek(double value) { return _to Seek(value); } \ ! NS_SCRIPTABLE NS_IMETHOD Open(const char *filename) { return _to Open(filename); } \ ! NS_SCRIPTABLE NS_IMETHOD SetVolume(double value) { return _to SetVolume(value); } \ ! NS_SCRIPTABLE NS_IMETHOD GetVolume(double *_retval) { return _to GetVolume(_retval); } \ ! NS_SCRIPTABLE NS_IMETHOD SetFileName(const char *filename) { return _to SetFileName(filename); } \ ! NS_SCRIPTABLE NS_IMETHOD SetIsLooping(PRBool loop) { return _to SetIsLooping(loop); } \ ! NS_SCRIPTABLE NS_IMETHOD GetIsLooping(PRBool *_retval) { return _to GetIsLooping(_retval); } \ ! NS_SCRIPTABLE NS_IMETHOD SetAutoPlay(PRBool autoPlay) { return _to SetAutoPlay(autoPlay); } \ ! NS_SCRIPTABLE NS_IMETHOD GetAutoPlay(PRBool *_retval) { return _to GetAutoPlay(_retval); } \ ! NS_SCRIPTABLE NS_IMETHOD SetHREF(const char *url) { return _to SetHREF(url); } \ ! NS_SCRIPTABLE NS_IMETHOD GetHREF(char **_retval) { return _to GetHREF(_retval); } \ ! NS_SCRIPTABLE NS_IMETHOD SetURL(const char *url) { return _to SetURL(url); } \ ! NS_SCRIPTABLE NS_IMETHOD GetURL(char **_retval) { return _to GetURL(_retval); } \ ! NS_SCRIPTABLE NS_IMETHOD GetMIMEType(char **_retval) { return _to GetMIMEType(_retval); } \ ! NS_SCRIPTABLE NS_IMETHOD GetTime(double *_retval) { return _to GetTime(_retval); } \ ! NS_SCRIPTABLE NS_IMETHOD GetDuration(double *_retval) { return _to GetDuration(_retval); } \ ! NS_SCRIPTABLE NS_IMETHOD GetPercent(double *_retval) { return _to GetPercent(_retval); } \ ! NS_SCRIPTABLE NS_IMETHOD Isplaying(PRBool *_retval) { return _to Isplaying(_retval); } \ ! NS_SCRIPTABLE NS_IMETHOD PlaylistAppend(const char *item) { return _to PlaylistAppend(item); } \ ! NS_SCRIPTABLE NS_IMETHOD PlaylistClear(PRBool *_retval) { return _to PlaylistClear(_retval); } \ ! NS_SCRIPTABLE NS_IMETHOD GetFilename(char * *aFilename) { return _to GetFilename(aFilename); } \ ! NS_SCRIPTABLE NS_IMETHOD SetFilename(const char * aFilename) { return _to SetFilename(aFilename); } \ ! NS_SCRIPTABLE NS_IMETHOD GetSrc(char * *aSrc) { return _to GetSrc(aSrc); } \ ! NS_SCRIPTABLE NS_IMETHOD SetSrc(const char * aSrc) { return _to SetSrc(aSrc); } \ ! NS_SCRIPTABLE NS_IMETHOD GetShowControls(PRBool *aShowControls) { return _to GetShowControls(aShowControls); } \ ! NS_SCRIPTABLE NS_IMETHOD SetShowControls(PRBool aShowControls) { return _to SetShowControls(aShowControls); } \ ! NS_SCRIPTABLE NS_IMETHOD GetFullscreen(PRBool *aFullscreen) { return _to GetFullscreen(aFullscreen); } \ ! NS_SCRIPTABLE NS_IMETHOD SetFullscreen(PRBool aFullscreen) { return _to SetFullscreen(aFullscreen); } \ ! NS_SCRIPTABLE NS_IMETHOD GetShowlogo(PRBool *aShowlogo) { return _to GetShowlogo(aShowlogo); } \ ! NS_SCRIPTABLE NS_IMETHOD SetShowlogo(PRBool aShowlogo) { return _to SetShowlogo(aShowlogo); } \ ! NS_SCRIPTABLE NS_IMETHOD GetPlayState(PRInt32 *aPlayState) { return _to GetPlayState(aPlayState); } \ ! NS_SCRIPTABLE NS_IMETHOD GetControls(nsIScriptableWMPPlugin * *aControls) { return _to GetControls(aControls); } \ ! NS_SCRIPTABLE NS_IMETHOD OnClick(const char *event) { return _to OnClick(event); } /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */ #define NS_FORWARD_SAFE_NSISCRIPTABLEMPLAYERPLUGIN(_to) \ ! NS_SCRIPTABLE NS_IMETHOD Play(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->Play(); } \ ! NS_SCRIPTABLE NS_IMETHOD PlayAt(double value) { return !_to ? NS_ERROR_NULL_POINTER : _to->PlayAt(value); } \ ! NS_SCRIPTABLE NS_IMETHOD Pause(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->Pause(); } \ ! NS_SCRIPTABLE NS_IMETHOD Stop(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->Stop(); } \ ! NS_SCRIPTABLE NS_IMETHOD Quit(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->Quit(); } \ ! NS_SCRIPTABLE NS_IMETHOD DoPlay(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->DoPlay(); } \ ! NS_SCRIPTABLE NS_IMETHOD DoPause(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->DoPause(); } \ ! NS_SCRIPTABLE NS_IMETHOD FastForward(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->FastForward(); } \ ! NS_SCRIPTABLE NS_IMETHOD FastReverse(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->FastReverse(); } \ ! NS_SCRIPTABLE NS_IMETHOD Ff(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->Ff(); } \ ! NS_SCRIPTABLE NS_IMETHOD Rew(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->Rew(); } \ ! NS_SCRIPTABLE NS_IMETHOD Rewind(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->Rewind(); } \ ! NS_SCRIPTABLE NS_IMETHOD Seek(double value) { return !_to ? NS_ERROR_NULL_POINTER : _to->Seek(value); } \ ! NS_SCRIPTABLE NS_IMETHOD Open(const char *filename) { return !_to ? NS_ERROR_NULL_POINTER : _to->Open(filename); } \ ! NS_SCRIPTABLE NS_IMETHOD SetVolume(double value) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetVolume(value); } \ ! NS_SCRIPTABLE NS_IMETHOD GetVolume(double *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetVolume(_retval); } \ ! NS_SCRIPTABLE NS_IMETHOD SetFileName(const char *filename) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetFileName(filename); } \ ! NS_SCRIPTABLE NS_IMETHOD SetIsLooping(PRBool loop) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetIsLooping(loop); } \ ! NS_SCRIPTABLE NS_IMETHOD GetIsLooping(PRBool *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsLooping(_retval); } \ ! NS_SCRIPTABLE NS_IMETHOD SetAutoPlay(PRBool autoPlay) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAutoPlay(autoPlay); } \ ! NS_SCRIPTABLE NS_IMETHOD GetAutoPlay(PRBool *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAutoPlay(_retval); } \ ! NS_SCRIPTABLE NS_IMETHOD SetHREF(const char *url) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetHREF(url); } \ ! NS_SCRIPTABLE NS_IMETHOD GetHREF(char **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHREF(_retval); } \ ! NS_SCRIPTABLE NS_IMETHOD SetURL(const char *url) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetURL(url); } \ ! NS_SCRIPTABLE NS_IMETHOD GetURL(char **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetURL(_retval); } \ ! NS_SCRIPTABLE NS_IMETHOD GetMIMEType(char **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMIMEType(_retval); } \ ! NS_SCRIPTABLE NS_IMETHOD GetTime(double *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTime(_retval); } \ ! NS_SCRIPTABLE NS_IMETHOD GetDuration(double *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDuration(_retval); } \ ! NS_SCRIPTABLE NS_IMETHOD GetPercent(double *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPercent(_retval); } \ ! NS_SCRIPTABLE NS_IMETHOD Isplaying(PRBool *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->Isplaying(_retval); } \ ! NS_SCRIPTABLE NS_IMETHOD PlaylistAppend(const char *item) { return !_to ? NS_ERROR_NULL_POINTER : _to->PlaylistAppend(item); } \ ! NS_SCRIPTABLE NS_IMETHOD PlaylistClear(PRBool *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->PlaylistClear(_retval); } \ ! NS_SCRIPTABLE NS_IMETHOD GetFilename(char * *aFilename) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFilename(aFilename); } \ ! NS_SCRIPTABLE NS_IMETHOD SetFilename(const char * aFilename) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetFilename(aFilename); } \ ! NS_SCRIPTABLE NS_IMETHOD GetSrc(char * *aSrc) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSrc(aSrc); } \ ! NS_SCRIPTABLE NS_IMETHOD SetSrc(const char * aSrc) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSrc(aSrc); } \ ! NS_SCRIPTABLE NS_IMETHOD GetShowControls(PRBool *aShowControls) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetShowControls(aShowControls); } \ ! NS_SCRIPTABLE NS_IMETHOD SetShowControls(PRBool aShowControls) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetShowControls(aShowControls); } \ ! NS_SCRIPTABLE NS_IMETHOD GetFullscreen(PRBool *aFullscreen) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFullscreen(aFullscreen); } \ ! NS_SCRIPTABLE NS_IMETHOD SetFullscreen(PRBool aFullscreen) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetFullscreen(aFullscreen); } \ ! NS_SCRIPTABLE NS_IMETHOD GetShowlogo(PRBool *aShowlogo) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetShowlogo(aShowlogo); } \ ! NS_SCRIPTABLE NS_IMETHOD SetShowlogo(PRBool aShowlogo) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetShowlogo(aShowlogo); } \ ! NS_SCRIPTABLE NS_IMETHOD GetPlayState(PRInt32 *aPlayState) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPlayState(aPlayState); } \ ! NS_SCRIPTABLE NS_IMETHOD GetControls(nsIScriptableWMPPlugin * *aControls) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetControls(aControls); } \ ! NS_SCRIPTABLE NS_IMETHOD OnClick(const char *event) { return !_to ? NS_ERROR_NULL_POINTER : _to->OnClick(event); } #if 0 Index: plugin-threads.cpp =================================================================== RCS file: /cvsroot/mplayerplug-in/mplayerplug-in/Source/plugin-threads.cpp,v retrieving revision 1.280 retrieving revision 1.281 diff -C2 -d -r1.280 -r1.281 *** plugin-threads.cpp 13 Jun 2008 03:39:06 -0000 1.280 --- plugin-threads.cpp 17 Feb 2009 14:19:53 -0000 1.281 *************** *** 17,20 **** --- 17,26 ---- // Not used, so commented out // wait(NULL); + pid_t pid; + int status; + + pid = wait(&status); + return; + } Index: plugin-support.cpp =================================================================== RCS file: /cvsroot/mplayerplug-in/mplayerplug-in/Source/plugin-support.cpp,v retrieving revision 1.107 retrieving revision 1.108 diff -C2 -d -r1.107 -r1.108 *** plugin-support.cpp 28 May 2008 14:54:26 -0000 1.107 --- plugin-support.cpp 17 Feb 2009 14:19:53 -0000 1.108 *************** *** 506,512 **** --- 506,516 ---- sendCommand(instance, "pause\n"); sendCommand(instance, "quit\n"); + #ifndef BSD pthread_mutex_lock(&(instance->read_mutex)); + #endif instance->cancelled = 1; + #ifndef BSD pthread_mutex_unlock(&(instance->read_mutex)); + #endif /* count = 0; Index: nsIScriptableMplayerPlugin.xpt =================================================================== RCS file: /cvsroot/mplayerplug-in/mplayerplug-in/Source/nsIScriptableMplayerPlugin.xpt,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 Binary files /tmp/cvs1E3E2h and /tmp/cvskWDhPw differ |
From: Kevin D. <kde...@us...> - 2009-02-17 14:19:59
|
Update of /cvsroot/mplayerplug-in/mplayerplug-in In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv14680 Modified Files: ChangeLog install.sh uninstall.sh Log Message: Merge in some patches from FreeBSD Fix a couple of translation issues Index: uninstall.sh =================================================================== RCS file: /cvsroot/mplayerplug-in/mplayerplug-in/uninstall.sh,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** uninstall.sh 13 May 2008 21:25:59 -0000 1.17 --- uninstall.sh 17 Feb 2009 14:19:52 -0000 1.18 *************** *** 1,4 **** #!/bin/bash ! MOZHOME=/usr/lib/firefox-2.0.0.14 echo "Cleaning up user plugins" --- 1,4 ---- #!/bin/bash ! MOZHOME=/usr/lib64/xulrunner-1.9 echo "Cleaning up user plugins" Index: install.sh =================================================================== RCS file: /cvsroot/mplayerplug-in/mplayerplug-in/install.sh,v retrieving revision 1.35 retrieving revision 1.36 diff -C2 -d -r1.35 -r1.36 *** install.sh 24 Jun 2008 13:13:35 -0000 1.35 --- install.sh 17 Feb 2009 14:19:52 -0000 1.36 *************** *** 10,14 **** LOCALEDIR=${datadir}/locale DESTDIR=$1 ! MOZHOME=/usr/lib/firefox-2.0.0.14/plugins if [ "$DESTDIR" ]; then --- 10,14 ---- LOCALEDIR=${datadir}/locale DESTDIR=$1 ! MOZHOME=/usr/lib64/xulrunner-1.9/plugins if [ "$DESTDIR" ]; then Index: ChangeLog =================================================================== RCS file: /cvsroot/mplayerplug-in/mplayerplug-in/ChangeLog,v retrieving revision 1.575 retrieving revision 1.576 diff -C2 -d -r1.575 -r1.576 *** ChangeLog 19 Sep 2008 12:39:17 -0000 1.575 --- ChangeLog 17 Feb 2009 14:19:50 -0000 1.576 *************** *** 1,3 **** --- 1,5 ---- Development + Merge in some patches from FreeBSD + Fix a couple of translation issues Fix Gentoo bug # 233863, minimum cache setting Add in audio mp4 mime types |
From: Kevin D. <kde...@us...> - 2008-12-09 14:00:59
|
Update of /cvsroot/mplayerplug-in/mplayerplug-in In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv8205 Modified Files: configure configure.in Log Message: Work with xulrunner-sdk Index: configure =================================================================== RCS file: /cvsroot/mplayerplug-in/mplayerplug-in/configure,v retrieving revision 1.87 retrieving revision 1.88 diff -C2 -d -r1.87 -r1.88 *** configure 18 Jun 2008 14:37:02 -0000 1.87 --- configure 9 Dec 2008 14:00:54 -0000 1.88 *************** *** 3266,3269 **** --- 3266,3271 ---- GECKO_DEFINES="-DXPCOM_GLUE -DMOZILLA_STRICT_API" + GECKO_IDLDIR="${GECKO_SDK_PREFIX}/idl" + MOZILLA_HOME="${GECKO_SDK_PREFIX}/bin" fi # Check whether --enable-rpath was given. Index: configure.in =================================================================== RCS file: /cvsroot/mplayerplug-in/mplayerplug-in/configure.in,v retrieving revision 1.86 retrieving revision 1.87 diff -C2 -d -r1.86 -r1.87 *** configure.in 18 Jun 2008 14:37:04 -0000 1.86 --- configure.in 9 Dec 2008 14:00:54 -0000 1.87 *************** *** 44,47 **** --- 44,49 ---- GECKO_DEFINES="-DXPCOM_GLUE -DMOZILLA_STRICT_API" AC_SUBST(GECKO_DEFINES) + GECKO_IDLDIR="${GECKO_SDK_PREFIX}/idl" + MOZILLA_HOME="${GECKO_SDK_PREFIX}/bin" fi AC_ARG_ENABLE(rpath, |
From: Kevin D. <kde...@us...> - 2008-12-08 22:43:09
|
Update of /cvsroot/mplayerplug-in/mplayerplug-in In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv8192 Modified Files: Makefile.in Log Message: Don't delete stuff we need Index: Makefile.in =================================================================== RCS file: /cvsroot/mplayerplug-in/mplayerplug-in/Makefile.in,v retrieving revision 1.40 retrieving revision 1.41 diff -C2 -d -r1.40 -r1.41 *** Makefile.in 6 Dec 2007 18:54:05 -0000 1.40 --- Makefile.in 8 Dec 2008 22:43:02 -0000 1.41 *************** *** 148,152 **** distclean: clean ! $(RM) install.sh uninstall.sh po/Makefile $(RM) config.log config.status config.h Makefile --- 148,152 ---- distclean: clean ! $(RM) po/Makefile $(RM) config.log config.status config.h Makefile |
From: Fang L. <la...@as...> - 2008-07-31 09:05:02
|
Hi, I have complied and installed the latest mplayer plugin 3.55 and the latest mplayer v1.0rc2 on my pc. Both of them work fine while access http://www.quicktime.com/trailers. My PC is Ubuntu7.0.4 with firefox2.0.0.16. However I have two questions on mplayer plugin regarding youtube support. (1) As you might know, videos from m.youtube.com are based on rtsp protocol. However mplayer plugin I installed cannot support rtsp playback from the website. I can only enable rtsp playback using mplayer by following instructions from the document "RTSP issues in firefox". Can mplayer plugin also support rtsp playback online? How to do if it can? (2) Videos from http://www.youtbue.com can be played correctly using plugins from flash player 9. However mplayer can also correctly playback local flv files. So can mplayer plugin support flv playback from website http://www.youtbue.com which is similar to flash player? How to do if it can? Thanks, Laifa ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ This message (including any attachments) is for the named addressee(s)'s use only. It may contain sensitive, confidential, private proprietary or legally privileged information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. Any use, disclosure, copying, or distribution of this message and/or any attachments is strictly prohibited. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
From: Kevin D. <kde...@us...> - 2008-07-12 21:15:31
|
Update of /cvsroot/mplayerplug-in/mplayerplug-in In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv12632 Modified Files: ChangeLog Log Message: Add in audio mp4 mime types Index: ChangeLog =================================================================== RCS file: /cvsroot/mplayerplug-in/mplayerplug-in/ChangeLog,v retrieving revision 1.573 retrieving revision 1.574 diff -C2 -d -r1.573 -r1.574 *** ChangeLog 24 Jun 2008 13:13:35 -0000 1.573 --- ChangeLog 12 Jul 2008 21:15:27 -0000 1.574 *************** *** 1,2 **** --- 1,4 ---- + Development + Add in audio mp4 mime types 3.55 Take patch from gecko-mediaplayer to compile idl file at compile time |
From: Kevin D. <kde...@us...> - 2008-07-12 21:15:31
|
Update of /cvsroot/mplayerplug-in/mplayerplug-in/Source In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv12632/Source Modified Files: plugin-setup.cpp Log Message: Add in audio mp4 mime types Index: plugin-setup.cpp =================================================================== RCS file: /cvsroot/mplayerplug-in/mplayerplug-in/Source/plugin-setup.cpp,v retrieving revision 1.147 retrieving revision 1.148 diff -C2 -d -r1.147 -r1.148 *** plugin-setup.cpp 13 May 2008 21:43:53 -0000 1.147 --- plugin-setup.cpp 12 Jul 2008 21:15:28 -0000 1.148 *************** *** 349,352 **** --- 349,354 ---- "audio/mpeg2:mp2:MPEG audio;" "audio/x-mpeg2:mp2:MPEG audio;" + "audio/mp4:mp4:MPEG 4 audio;" + "audio/x-mp4:mp4:MPEG 4 audio;" "video/mp4:mp4:MPEG 4 Video;" "video/3gpp:mp4,3gp:MPEG 4 Video;", sizeof(MimeTypes)); |
From: Kevin D. <kde...@us...> - 2008-06-24 13:13:43
|
Update of /cvsroot/mplayerplug-in/mplayerplug-in In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv3612 Modified Files: ChangeLog install.sh Log Message: prep 3.55 Index: ChangeLog =================================================================== RCS file: /cvsroot/mplayerplug-in/mplayerplug-in/ChangeLog,v retrieving revision 1.572 retrieving revision 1.573 diff -C2 -d -r1.572 -r1.573 *** ChangeLog 18 Jun 2008 14:37:02 -0000 1.572 --- ChangeLog 24 Jun 2008 13:13:35 -0000 1.573 *************** *** 1,3 **** ! Development Take patch from gecko-mediaplayer to compile idl file at compile time Converted one gtk_ call to g_idle_ event may fix crash in thread on some systems --- 1,3 ---- ! 3.55 Take patch from gecko-mediaplayer to compile idl file at compile time Converted one gtk_ call to g_idle_ event may fix crash in thread on some systems Index: install.sh =================================================================== RCS file: /cvsroot/mplayerplug-in/mplayerplug-in/install.sh,v retrieving revision 1.34 retrieving revision 1.35 diff -C2 -d -r1.34 -r1.35 *** install.sh 18 Jun 2008 14:37:05 -0000 1.34 --- install.sh 24 Jun 2008 13:13:35 -0000 1.35 *************** *** 3,7 **** SHAREDTARGET=mplayerplug-in INSTALL='/usr/bin/install -c' ! prefix=/usr/local exec_prefix=${prefix} sysconfdir=${prefix}/etc --- 3,7 ---- SHAREDTARGET=mplayerplug-in INSTALL='/usr/bin/install -c' ! prefix=/usr exec_prefix=${prefix} sysconfdir=${prefix}/etc |
From: Kevin D. <kde...@us...> - 2008-06-18 14:37:20
|
Update of /cvsroot/mplayerplug-in/mplayerplug-in In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv24862 Modified Files: ChangeLog configure configure.in install.sh Log Message: Take patch from gecko-mediaplayer to compile idl file at compile time Index: configure =================================================================== RCS file: /cvsroot/mplayerplug-in/mplayerplug-in/configure,v retrieving revision 1.86 retrieving revision 1.87 diff -C2 -d -r1.86 -r1.87 *** configure 25 May 2008 12:41:28 -0000 1.86 --- configure 18 Jun 2008 14:37:02 -0000 1.87 *************** *** 10696,10699 **** --- 10696,10702 ---- chmod u+x install.sh uninstall.sh dist.sh + echo "$GECKO_XPIDL -w -m header -I $GECKO_IDLDIR -I Source -e Source/nsIScriptableMplayerPlugin.h Source/nsIScriptableMplayerPlugin.idl" + `$GECKO_XPIDL -w -m header -I $GECKO_IDLDIR -I Source -e Source/nsIScriptableMplayerPlugin.h Source/nsIScriptableMplayerPlugin.idl` + if test $use_x = yes; then echo "**************************************************************" Index: configure.in =================================================================== RCS file: /cvsroot/mplayerplug-in/mplayerplug-in/configure.in,v retrieving revision 1.85 retrieving revision 1.86 diff -C2 -d -r1.85 -r1.86 *** configure.in 25 May 2008 12:41:31 -0000 1.85 --- configure.in 18 Jun 2008 14:37:04 -0000 1.86 *************** *** 238,241 **** --- 238,244 ---- AC_OUTPUT chmod u+x install.sh uninstall.sh dist.sh + echo "$GECKO_XPIDL -w -m header -I $GECKO_IDLDIR -I Source -e Source/nsIScriptableMplayerPlugin.h Source/nsIScriptableMplayerPlugin.idl" + `$GECKO_XPIDL -w -m header -I $GECKO_IDLDIR -I Source -e Source/nsIScriptableMplayerPlugin.h Source/nsIScriptableMplayerPlugin.idl` + if test $use_x = yes; then echo "**************************************************************" Index: ChangeLog =================================================================== RCS file: /cvsroot/mplayerplug-in/mplayerplug-in/ChangeLog,v retrieving revision 1.571 retrieving revision 1.572 diff -C2 -d -r1.571 -r1.572 *** ChangeLog 12 Jun 2008 14:21:13 -0000 1.571 --- ChangeLog 18 Jun 2008 14:37:02 -0000 1.572 *************** *** 1,3 **** --- 1,4 ---- Development + Take patch from gecko-mediaplayer to compile idl file at compile time Converted one gtk_ call to g_idle_ event may fix crash in thread on some systems Fix display issue when pulse audio is selected, and add pulse to options Index: install.sh =================================================================== RCS file: /cvsroot/mplayerplug-in/mplayerplug-in/install.sh,v retrieving revision 1.33 retrieving revision 1.34 diff -C2 -d -r1.33 -r1.34 *** install.sh 13 May 2008 21:25:59 -0000 1.33 --- install.sh 18 Jun 2008 14:37:05 -0000 1.34 *************** *** 3,7 **** SHAREDTARGET=mplayerplug-in INSTALL='/usr/bin/install -c' ! prefix=/usr exec_prefix=${prefix} sysconfdir=${prefix}/etc --- 3,7 ---- SHAREDTARGET=mplayerplug-in INSTALL='/usr/bin/install -c' ! prefix=/usr/local exec_prefix=${prefix} sysconfdir=${prefix}/etc |
From: Kevin D. <kde...@us...> - 2008-06-13 03:39:10
|
Update of /cvsroot/mplayerplug-in/mplayerplug-in/Source In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv10910/Source Modified Files: plugin-threads.cpp Log Message: see if that kills the zombies Index: plugin-threads.cpp =================================================================== RCS file: /cvsroot/mplayerplug-in/mplayerplug-in/Source/plugin-threads.cpp,v retrieving revision 1.279 retrieving revision 1.280 diff -C2 -d -r1.279 -r1.280 *** plugin-threads.cpp 12 Jun 2008 14:21:14 -0000 1.279 --- plugin-threads.cpp 13 Jun 2008 03:39:06 -0000 1.280 *************** *** 13,22 **** extern int errno; - /* Not used, so commented out static void sig_child(int signo) { ! wait(NULL); } ! */ /* --- 13,22 ---- extern int errno; static void sig_child(int signo) { ! // Not used, so commented out ! // wait(NULL); } ! /* *************** *** 233,237 **** } else { // setup signal handler for child ! // signal(SIGCHLD, sig_child); sigemptyset(&newmask); sigaddset(&newmask, SIGCHLD); --- 233,237 ---- } else { // setup signal handler for child ! signal(SIGCHLD, sig_child); sigemptyset(&newmask); sigaddset(&newmask, SIGCHLD); |
From: Kevin D. <kde...@us...> - 2008-06-12 14:21:19
|
Update of /cvsroot/mplayerplug-in/mplayerplug-in/Source In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv29688/Source Modified Files: plugin-setup.h plugin-threads.cpp plugin-ui.cpp Log Message: Converted one gtk_ call to g_idle_ event may fix crash in thread on some systems Index: plugin-ui.cpp =================================================================== RCS file: /cvsroot/mplayerplug-in/mplayerplug-in/Source/plugin-ui.cpp,v retrieving revision 1.254 retrieving revision 1.255 diff -C2 -d -r1.254 -r1.255 *** plugin-ui.cpp 12 Jun 2008 14:01:02 -0000 1.254 --- plugin-ui.cpp 12 Jun 2008 14:21:14 -0000 1.255 *************** *** 3350,3352 **** --- 3350,3367 ---- } + gboolean gtkgui_show_src(void *data) + { + nsPluginInstance *instance; + + if (DEBUG > 1) + printf("in gtkgui_stop\n"); + + instance = (nsPluginInstance *) data; + if (instance == NULL) + return FALSE; + if (GTK_IS_WIDGET(instance->src_event_box)) { + gtk_widget_show(instance->src_event_box); + } + + } #endif // GTK_ENABLED Index: plugin-threads.cpp =================================================================== RCS file: /cvsroot/mplayerplug-in/mplayerplug-in/Source/plugin-threads.cpp,v retrieving revision 1.278 retrieving revision 1.279 diff -C2 -d -r1.278 -r1.279 *** plugin-threads.cpp 28 May 2008 14:54:26 -0000 1.278 --- plugin-threads.cpp 12 Jun 2008 14:21:14 -0000 1.279 *************** *** 2318,2322 **** #ifdef GTK2_ENABLED if (GTK_IS_WIDGET(local_td->instance->src_event_box)) { ! gtk_widget_show(local_td->instance->src_event_box); } #endif --- 2318,2322 ---- #ifdef GTK2_ENABLED if (GTK_IS_WIDGET(local_td->instance->src_event_box)) { ! g_idle_add(gtkgui_show_src,local_td->instance); } #endif Index: plugin-setup.h =================================================================== RCS file: /cvsroot/mplayerplug-in/mplayerplug-in/Source/plugin-setup.h,v retrieving revision 1.68 retrieving revision 1.69 diff -C2 -d -r1.68 -r1.69 *** plugin-setup.h 3 Dec 2007 17:34:07 -0000 1.68 --- plugin-setup.h 12 Jun 2008 14:21:14 -0000 1.69 *************** *** 243,246 **** --- 243,247 ---- gboolean window_visible(GtkWidget *widget,GdkEvent *event,nsPluginInstance * instance); gboolean target_hide_callback(GtkWidget *widget, GdkEvent *event, nsPluginInstance *instance); + gboolean gtkgui_show_src(void *data); #endif int srcToButton(char *url, nsPluginInstance * instance); |