From 8c63e0fd967a7ac037872ca5af378dc92f0410fa Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 27 Nov 2005 18:00:00 +0100 Subject: =?UTF-8?q?Version=201.3.37=20-=20Added=20compiler=20options=20"-f?= =?UTF-8?q?PIC=20-g"=20to=20all=20plugins=20(thanks=20to=20Rolf=20Ahrenber?= =?UTF-8?q?g).=20-=20Fixed=20initializing=20the=20day=20index=20when=20edi?= =?UTF-8?q?ting=20the=20weekday=20parameter=20of=20a=20=20=20repeating=20t?= =?UTF-8?q?imer=20(thanks=20to=20Marco=20Schl=C3=BC=C3=9Fler).=20-=20No=20?= =?UTF-8?q?longer=20removing=20superfluous=20hyphens=20in=20EPG=20data=20-?= =?UTF-8?q?=20would=20become=20too=20=20=20language=20dependent=20to=20han?= =?UTF-8?q?dle=20all=20kinds=20of=20exceptions.=20-=20Modified=20switching?= =?UTF-8?q?=20to=20Dolby=20Digital=20audio=20in=20live=20mode,=20if=20the?= =?UTF-8?q?=20driver=20=20=20and=20firmware=20can=20handle=20live=20DD=20w?= =?UTF-8?q?ithout=20the=20need=20of=20a=20Transfer=20Mode=20(thanks=20=20?= =?UTF-8?q?=20to=20Werner=20Fink).=20Live=20DD=20mode=20requires=20a=20ful?= =?UTF-8?q?l=20featured=20DVB=20card=20and=20a=20=20=20LinuxDVB=20driver?= =?UTF-8?q?=20with=20firmware=20version=200x2622=20or=20higher.=20Older=20?= =?UTF-8?q?versions=20will=20=20=20use=20Transfer=20Mode=20just=20like=20b?= =?UTF-8?q?efore.=20-=20Implemented=20handling=20of=20the=20"CA=20PMT=20Re?= =?UTF-8?q?ply"=20for=20CAMs=20(thanks=20to=20Marco=20=20=20Schl=C3=BC?= =?UTF-8?q?=C3=9Fler=20for=20figuring=20out=20some=20obscure=20length=20by?= =?UTF-8?q?tes=20in=20the=20CA=20PMT=20Reply=20=20=20data=20of=20AlphaCryp?= =?UTF-8?q?t=20CAMs).=20-=20Some=20preparations=20for=20being=20able=20to?= =?UTF-8?q?=20record=20several=20encrypted=20channels=20from=20=20=20the?= =?UTF-8?q?=20same=20transponder=20at=20the=20same=20time=20(or=20record?= =?UTF-8?q?=20and=20view=20different=20encrypted=20=20=20channels),=20prov?= =?UTF-8?q?ided=20the=20CAM=20in=20use=20can=20handle=20this.=20This=20is?= =?UTF-8?q?=20work=20in=20progress=20=20=20and=20isn't=20actively=20used,?= =?UTF-8?q?=20yet.=20-=20Fixed=20SetProgress()=20in=20the=20'skincurses'?= =?UTF-8?q?=20plugin=20in=20case=20Total=20is=200=20(reported=20=20=20by?= =?UTF-8?q?=20Stefan=20Huelswitt).=20-=20Added=20a=20copy=20constructor=20?= =?UTF-8?q?to=20cString=20and=20fixed=20its=20assignment=20operator=20=20?= =?UTF-8?q?=20(thanks=20to=20Holger=20Brunn).=20-=20The=20new=20function?= =?UTF-8?q?=20Skins.QueueMessage()=20can=20be=20called=20from=20a=20backgr?= =?UTF-8?q?ound=20thread=20=20=20to=20queue=20a=20message=20for=20display.?= =?UTF-8?q?=20See=20VDR/skins.h=20for=20details.=20-=20The=20SVDRP=20comma?= =?UTF-8?q?nd=20MESG=20uses=20the=20new=20message=20queueing=20facility,?= =?UTF-8?q?=20so=20MESG=20=20=20commands=20may=20now=20be=20executed=20at?= =?UTF-8?q?=20any=20time,=20and=20the=20message=20will=20be=20displayed=20?= =?UTF-8?q?=20=20(no=20more=20"pending=20message").?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- PLUGINS/src/hello/Makefile | 4 ++-- PLUGINS/src/osddemo/Makefile | 4 ++-- PLUGINS/src/servicedemo/Makefile | 4 ++-- PLUGINS/src/skincurses/HISTORY | 4 ++++ PLUGINS/src/skincurses/Makefile | 4 ++-- PLUGINS/src/skincurses/skincurses.c | 6 +++--- PLUGINS/src/sky/Makefile | 4 ++-- PLUGINS/src/status/Makefile | 4 ++-- PLUGINS/src/svdrpdemo/Makefile | 4 ++-- 9 files changed, 21 insertions(+), 17 deletions(-) (limited to 'PLUGINS') diff --git a/PLUGINS/src/hello/Makefile b/PLUGINS/src/hello/Makefile index 9f35d20..cab396e 100644 --- a/PLUGINS/src/hello/Makefile +++ b/PLUGINS/src/hello/Makefile @@ -1,7 +1,7 @@ # # Makefile for a Video Disk Recorder plugin # -# $Id: Makefile 1.9 2003/12/21 15:47:22 kls Exp $ +# $Id: Makefile 1.10 2005/11/11 13:20:14 kls Exp $ # The official name of this plugin. # This name will be used in the '-P...' option of VDR to load the plugin. @@ -16,7 +16,7 @@ VERSION = $(shell grep 'static const char \*VERSION *=' $(PLUGIN).c | awk '{ pri ### The C++ compiler and options: CXX ?= g++ -CXXFLAGS ?= -O2 -Wall -Woverloaded-virtual +CXXFLAGS ?= -fPIC -g -O2 -Wall -Woverloaded-virtual ### The directory environment: diff --git a/PLUGINS/src/osddemo/Makefile b/PLUGINS/src/osddemo/Makefile index 8116d05..fb7d423 100644 --- a/PLUGINS/src/osddemo/Makefile +++ b/PLUGINS/src/osddemo/Makefile @@ -1,7 +1,7 @@ # # Makefile for a Video Disk Recorder plugin # -# $Id: Makefile 1.3 2003/12/21 15:47:26 kls Exp $ +# $Id: Makefile 1.4 2005/11/11 13:20:14 kls Exp $ # The official name of this plugin. # This name will be used in the '-P...' option of VDR to load the plugin. @@ -16,7 +16,7 @@ VERSION = $(shell grep 'static const char \*VERSION *=' $(PLUGIN).c | awk '{ pri ### The C++ compiler and options: CXX ?= g++ -CXXFLAGS ?= -O2 -Wall -Woverloaded-virtual +CXXFLAGS ?= -fPIC -g -O2 -Wall -Woverloaded-virtual ### The directory environment: diff --git a/PLUGINS/src/servicedemo/Makefile b/PLUGINS/src/servicedemo/Makefile index a7678ff..675a86d 100644 --- a/PLUGINS/src/servicedemo/Makefile +++ b/PLUGINS/src/servicedemo/Makefile @@ -1,7 +1,7 @@ # # Makefile for a Video Disk Recorder plugin # -# $Id: Makefile 1.1 2005/08/21 10:43:12 kls Exp $ +# $Id: Makefile 1.2 2005/11/11 13:20:14 kls Exp $ # The official name of this plugin. # This name will be used in the '-P...' option of VDR to load the plugin. @@ -17,7 +17,7 @@ VERSION = $(shell grep 'static const char \*VERSION *=' $(PLUGIN1).c | awk '{ pr ### The C++ compiler and options: CXX ?= g++ -CXXFLAGS ?= -O2 -Wall -Woverloaded-virtual +CXXFLAGS ?= -fPIC -g -O2 -Wall -Woverloaded-virtual ### The directory environment: diff --git a/PLUGINS/src/skincurses/HISTORY b/PLUGINS/src/skincurses/HISTORY index 3af01cc..80779eb 100644 --- a/PLUGINS/src/skincurses/HISTORY +++ b/PLUGINS/src/skincurses/HISTORY @@ -21,3 +21,7 @@ VDR Plugin 'skincurses' Revision History 2005-10-01: - Added a note about using this skin to the README file. + +2005-11-26: Version 0.0.5 + +- Fixed SetProgress() in case Total is 0. diff --git a/PLUGINS/src/skincurses/Makefile b/PLUGINS/src/skincurses/Makefile index 794863b..6117ee3 100644 --- a/PLUGINS/src/skincurses/Makefile +++ b/PLUGINS/src/skincurses/Makefile @@ -1,7 +1,7 @@ # # Makefile for a Video Disk Recorder plugin # -# $Id: Makefile 1.1 2004/05/29 14:44:58 kls Exp $ +# $Id: Makefile 1.2 2005/11/11 13:20:14 kls Exp $ # The official name of this plugin. # This name will be used in the '-P...' option of VDR to load the plugin. @@ -16,7 +16,7 @@ VERSION = $(shell grep 'static const char \*VERSION *=' $(PLUGIN).c | awk '{ pri ### The C++ compiler and options: CXX ?= g++ -CXXFLAGS ?= -O2 -Wall -Woverloaded-virtual +CXXFLAGS ?= -fPIC -g -O2 -Wall -Woverloaded-virtual ### The directory environment: diff --git a/PLUGINS/src/skincurses/skincurses.c b/PLUGINS/src/skincurses/skincurses.c index ad1a26b..522d7cf 100644 --- a/PLUGINS/src/skincurses/skincurses.c +++ b/PLUGINS/src/skincurses/skincurses.c @@ -3,7 +3,7 @@ * * See the README file for copyright information and how to reach the author. * - * $Id: skincurses.c 1.6 2005/05/16 10:45:12 kls Exp $ + * $Id: skincurses.c 1.7 2005/11/26 13:52:39 kls Exp $ */ #include @@ -11,7 +11,7 @@ #include #include -static const char *VERSION = "0.0.4"; +static const char *VERSION = "0.0.5"; static const char *DESCRIPTION = "A text only skin"; static const char *MAINMENUENTRY = NULL; @@ -500,7 +500,7 @@ void cSkinCursesDisplayReplay::SetMode(bool Play, bool Forward, int Speed) void cSkinCursesDisplayReplay::SetProgress(int Current, int Total) { - int p = OsdWidth * Current / Total; + int p = Total > 0 ? OsdWidth * Current / Total : 0; osd->DrawRectangle(0, 1, p, 1, clrGreen); osd->DrawRectangle(p, 1, OsdWidth, 1, clrWhite); } diff --git a/PLUGINS/src/sky/Makefile b/PLUGINS/src/sky/Makefile index 13d623b..aeeed4d 100644 --- a/PLUGINS/src/sky/Makefile +++ b/PLUGINS/src/sky/Makefile @@ -1,7 +1,7 @@ # # Makefile for a Video Disk Recorder plugin # -# $Id: Makefile 1.3 2003/12/21 15:47:31 kls Exp $ +# $Id: Makefile 1.4 2005/11/11 13:20:14 kls Exp $ # The official name of this plugin. # This name will be used in the '-P...' option of VDR to load the plugin. @@ -16,7 +16,7 @@ VERSION = $(shell grep 'static const char \*VERSION *=' $(PLUGIN).c | awk '{ pri ### The C++ compiler and options: CXX ?= g++ -CXXFLAGS ?= -O2 -Wall -Woverloaded-virtual +CXXFLAGS ?= -fPIC -g -O2 -Wall -Woverloaded-virtual ### The directory environment: diff --git a/PLUGINS/src/status/Makefile b/PLUGINS/src/status/Makefile index 4216e75..d534688 100644 --- a/PLUGINS/src/status/Makefile +++ b/PLUGINS/src/status/Makefile @@ -1,7 +1,7 @@ # # Makefile for a Video Disk Recorder plugin # -# $Id: Makefile 1.7 2003/12/21 15:47:41 kls Exp $ +# $Id: Makefile 1.8 2005/11/11 13:20:14 kls Exp $ # The official name of this plugin. # This name will be used in the '-P...' option of VDR to load the plugin. @@ -16,7 +16,7 @@ VERSION = $(shell grep 'static const char \*VERSION *=' $(PLUGIN).c | awk '{ pri ### The C++ compiler and options: CXX ?= g++ -CXXFLAGS ?= -O2 -Wall -Woverloaded-virtual +CXXFLAGS ?= -fPIC -g -O2 -Wall -Woverloaded-virtual ### The directory environment: diff --git a/PLUGINS/src/svdrpdemo/Makefile b/PLUGINS/src/svdrpdemo/Makefile index 5714bdc..316a6d5 100644 --- a/PLUGINS/src/svdrpdemo/Makefile +++ b/PLUGINS/src/svdrpdemo/Makefile @@ -1,7 +1,7 @@ # # Makefile for a Video Disk Recorder plugin # -# $Id: Makefile 1.1 2005/08/27 11:26:49 kls Exp $ +# $Id: Makefile 1.2 2005/11/11 13:20:14 kls Exp $ # The official name of this plugin. # This name will be used in the '-P...' option of VDR to load the plugin. @@ -16,7 +16,7 @@ VERSION = $(shell grep 'static const char \*VERSION *=' $(PLUGIN).c | awk '{ pri ### The C++ compiler and options: CXX ?= g++ -CXXFLAGS ?= -O2 -Wall -Woverloaded-virtual +CXXFLAGS ?= -fPIC -g -O2 -Wall -Woverloaded-virtual ### The directory environment: -- cgit v1.2.3