Hi,
this version adds one small, but long missing feature, no longer sabotages auto-shutdown and fixes some more or less cosmetic issues. It is available from
http://www.wiesweg-online.de/linux/vdr/vdr-osdteletext-0.5.1.tgz
Here is the detailed changelog:
- show page if it was initially not found but is received later (suggested by Luca Olivetti) - added timeout for user inactivity after which the plugin is closed. Without timeout the plugin would prevent VDR's auto-shutdown mechanism if it remains open. The value is the same as VDR's min user inactivity setup option. (suggested by Peter Bieringer) - fixed gcc4 warnings (thanks to Ville Skyttä) - updated Finnish translation (thanks to Rolf Ahrenberg) - added command line parameter documentation to READMEs - added /var/cache/vdr/osdteletext to the list of recommended cache directories (suggested by Ville Skyttä)
Have fun Marcel
Hi.
Is this an intended change or just a debugging leftover?
--- Makefile (.../release-0.5.0) (Revision 572) +++ Makefile (.../release-0.5.1) (Revision 572) @@ -15,8 +15,8 @@
### The C++ compiler and options:
-# for debugging: -#CXXFLAGS ?= -O0 -g -Wall -Woverloaded-virtual +OPTLEVEL ?= 2 +CXXFLAGS = -O$(OPTLEVEL) -g -Wall -Woverloaded-virtual -fPIC -DPIC
### The directory environment:
Cheers,
Udo
Am Donnerstag 18 August 2005 16:20 schrieb Udo Richter:
Hi.
Is this an intended change or just a debugging leftover?
This is for debugging, and it is intended. I usually only need to recompile single files with -O0 if I need a clean backtrace. I found it more elegant to specifiy an environment variable for this than editing the Makefile (and forgetting to change it back).
Marcel
--- Makefile (.../release-0.5.0) (Revision 572) +++ Makefile (.../release-0.5.1) (Revision 572) @@ -15,8 +15,8 @@
### The C++ compiler and options:
-# for debugging: -#CXXFLAGS ?= -O0 -g -Wall -Woverloaded-virtual +OPTLEVEL ?= 2 +CXXFLAGS = -O$(OPTLEVEL) -g -Wall -Woverloaded-virtual -fPIC -DPIC
### The directory environment:
Cheers,
Udo
Am 16.08.2005 um 16:41 schrieb Marcel Wiesweg:
It is available from
I get some warnings on compiling:
make[1]: Entering directory `/usr/src/vdr-1.3.29/PLUGINS/src/ osdteletext' g++ -O2 -g -Wall -Woverloaded-virtual -fPIC -DPIC -c - DPLUGIN_NAME_I18N='"osdteletext"' -D_GNU_SOURCE -I../../../include -I/ usr/src/linux/include osdteletext.c g++ -O2 -g -Wall -Woverloaded-virtual -fPIC -DPIC -c - DPLUGIN_NAME_I18N='"osdteletext"' -D_GNU_SOURCE -I../../../include -I/ usr/src/linux/include menu.c In file included from menu.c:19: display.h: In function `bool Display::SetBlink(bool)': display.h:49: warning: control reaches end of non-void function `Display::SetBlink(bool)' display.h: In function `bool Display::SetConceal(bool)': display.h:53: warning: control reaches end of non-void function `Display::SetConceal(bool)' g++ -O2 -g -Wall -Woverloaded-virtual -fPIC -DPIC -c - DPLUGIN_NAME_I18N='"osdteletext"' -D_GNU_SOURCE -I../../../include -I/ usr/src/linux/include txtfont.c g++ -O2 -g -Wall -Woverloaded-virtual -fPIC -DPIC -c - DPLUGIN_NAME_I18N='"osdteletext"' -D_GNU_SOURCE -I../../../include -I/ usr/src/linux/include i18n.c g++ -O2 -g -Wall -Woverloaded-virtual -fPIC -DPIC -c - DPLUGIN_NAME_I18N='"osdteletext"' -D_GNU_SOURCE -I../../../include -I/ usr/src/linux/include txtrecv.c g++ -O2 -g -Wall -Woverloaded-virtual -fPIC -DPIC -c - DPLUGIN_NAME_I18N='"osdteletext"' -D_GNU_SOURCE -I../../../include -I/ usr/src/linux/include txtrender.c g++ -O2 -g -Wall -Woverloaded-virtual -fPIC -DPIC -c - DPLUGIN_NAME_I18N='"osdteletext"' -D_GNU_SOURCE -I../../../include -I/ usr/src/linux/include displaybase.c g++ -O2 -g -Wall -Woverloaded-virtual -fPIC -DPIC -c - DPLUGIN_NAME_I18N='"osdteletext"' -D_GNU_SOURCE -I../../../include -I/ usr/src/linux/include display.c In file included from display.c:19: display.h: In function `bool Display::SetBlink(bool)': display.h:49: warning: control reaches end of non-void function `Display::SetBlink(bool)' display.h: In function `bool Display::SetConceal(bool)': display.h:53: warning: control reaches end of non-void function `Display::SetConceal(bool)' g++ -O2 -g -Wall -Woverloaded-virtual -fPIC -DPIC -shared osdteletext.o menu.o txtfont.o i18n.o txtrecv.o txtrender.o displaybase.o display.o -o libvdr-osdteletext.so make[1]: Leaving directory `/usr/src/vdr-1.3.29/PLUGINS/src/osdteletext'
Thats on LinVDR 0.6 with gcc 2.95.
Ciao, Dominique
Dominique Simon wrote:
I get some warnings on compiling:
display.h: In function `bool Display::SetBlink(bool)': display.h:49: warning: control reaches end of non-void function `Display::SetBlink(bool)' display.h: In function `bool Display::SetConceal(bool)': display.h:53: warning: control reaches end of non-void function `Display::SetConceal(bool)' Thats on LinVDR 0.6 with gcc 2.95.
<lengthy rant about GCC 2.95, removed>
You can either ignore this or change some lines in display.h: There are several functions of the form
if (display) return something; else return somethingelse;
Dropping just the word 'else' wont change the function and should fix the warning.
Cheers,
Udo