VDR developer version 1.7.28 is now available at
ftp://ftp.tvdr.de/vdr/Developer/vdr-1.7.28.tar.bz2
A 'diff' against the previous version is available at
ftp://ftp.tvdr.de/vdr/Developer/vdr-1.7.27-1.7.28.diff
MD5 checksums:
3ccff2dcc42d112e23dd64f2c39f02f1 vdr-1.7.28.tar.bz2 7249ead4aca4b24e53d49d11c67e1613 vdr-1.7.27-1.7.28.diff
WARNING: ========
This is a *developer* version. Even though *I* use it in my productive environment. I strongly recommend that you only use it under controlled conditions and for testing and debugging.
The new default skin "LCARS" displays the signal strengths and qualities of all devices in its main menu. For devices that have an stb0899 frontend chip (like the TT-budget S2-3200) retrieving this information from the driver is rather slow, which results in a sluggish response to user input in the main menu. To speed this up you may want to apply the patches from
ftp://ftp.tvdr.de/vdr/Developer/Driver-Patches
to the LinuxDVB driver source.
The changes since version 1.7.27:
- Fixed cPixmapMemory::DrawEllipse() for quadrants -1 and -4. - Fixed getting the maximum short channel name length in case there are no short names at all (reported by Derek Kelly). - The new function cDevice::DeviceType() returns a string identifying the type of the given device. - Now limiting the number of characters of a channel's (short) name to 16 in the schedules menus, to keep that column from getting overly wide in case there is a channel with a very long name that has no short name. - Fixed EPG scan on systems with only a single DVB device that use software output (reported by Juergen Lock). - Skins can now inquire the menu category for which their cSkinDisplayMenu is currently being used. This can be done either through a call to cSkinDisplayMenu::MenuCategory() or by reimplementing cSkinDisplayMenu::SetMenuCategory(). This information allows a skin to use special icons or decorations for the various types of menus in VDR. - The new setup option "DVB/Standard compliance" can be used to switch between different variations of the DVB standard (thanks to Rolf Ahrenberg). Currently there is "DVB" (for the original DVB standard) and "ANSI/SCTE", which is used to properly handle certain private stream types. - The disk usage is no longer automatically added to the title of the main and "Recordings" menus. This has always been a mekeshift solution and it is now up to the individual skin if, where and how it wants to display this information. A skin can use the new cVideoDiskUsage class to implement such a display. For compatibility, the default skins "Classic VDR", "ST:TNG Panels" and "Text mode" (i.e. curses) have been changed to behave like before. Other skins may want to display the disk usage in totally different ways. - A cOsdMenu can now handle skins that display different numbers of items in the various menu categories. - OSD and skin are now reinitialized after a plugin setup page has been confirmed, to have them react immediately in case any change to a plugin's setup parameter has an effect on the OSD. - The Timers list is now marked as modified whenever a recording starts or ends. - Fixed cDevice::StillPicture(), making sure it doesn't call the derived class's function if no buffer has been allocated (reported by Marcus Roscher). - Fixed the SVDRP command UPDR, which didn't update the global recordings list (reported by Lars Hanisch). - cControl::Control() now has an additional boolean parameter, which can be set to true to get the current player control even if it is hidden. - The new functions cControl::GetRecording() and cControl::GetHeader() can be used to retrieve information about what the current player is playing. - Fixed a possible high CPU load when pausing replay (thanks to Reinhard Nissl). - Fixed character comparisons in cSubtitleObject::DecodeCharacterString() (reported by Reinhard Mantey). - Renamed the function cString::sprintf(const char *fmt, va_list &ap) to vsprintf(), because it might inadvertently be called with a 'char *' as the second argument on some compilers and cause a crash (reported by Sundararaj Reel). - Removed the "bondedMasterFailed" mechanism from cDvbTuner, because it caused problems with the EPG scan in case a transponder is not receivable in a setup with bonded devices (reported by Michael Schneider). - Making sure setup strings don't contain any newline characters (thanks to Joachim Wilke). - The new member function cSkinDisplayReplay::SetRecording() allows a skin to display more information about the currently played recording. - Fixed a mismatched 'delete' in cSchedules::SetEpgDataFileName() (thanks to Reinhard Mantey). - The DrawText() functions of the OSD now accept the new alignment flag taBorder, which triggers keeping a proper distance from the edge that taLeft or taRight aligns to. - Fixed checking for UTF-8 support in cFont::Bidi() (reported by Torsten Lang). - If a recording has no info file, the 'title' of the recording's info is now set to the recording's name. - cVector::Clear() now reinitializes any previously used members. - Fixed resetting CAMs (thanks to Marco Skambraks). - The new function RgbShade() (include osd.h) can be used to generate a brighter or darker version of a given color. - The new class cSortedTimers can be used to quickly get a list of all timers, sorted by their start time. - The new skin "LCARS" is an enhanced version of the "ST:TNG" skin (which is still there in its original layout, for those who don't like the LCARS skin, or can't use it due to OSD limitations). The LCARS skin utilizes the new "menu category" feature to display additional information on the main menu page. It shows upcoming timers and the system's devices, as well as which device is recording which timers. The upper pane of the main menu displays the programme data in live and replay mode, and a progress bar. An indicator on the right side of the device list shows which device is currently used for live viewing, and whether it is in transfer mode. The individual device displays show the device number, the device type, which CAM (if any ) is currently assigned to the device, and the signal strength and quality. On the left side of the OSD there is a permanent display of the current date and time, the disk usage and the system load. "LCARS" is the new default skin of VDR. It requires at least a 4bpp (16 color) full screen OSD, but you can still operate it if your OSD can handle only fewer colors (in which case you may want to switch to the "ST:TNG" or "Classic VDR" skin). - Finally removed the code marked with __RECORDING_H_DEPRECATED_DIRECT_MEMBER_ACCESS and LEGACY_CRECEIVER. - Now making sure that the "small font" is never larger than the "osd font". - Fixed font handling with fontconfig 2.9.0 or newer (thanks to Joerg Bornkessel). - Extended the interface to the script that gets called for recordings, so that in the "edited" case it also provides the name of the original recording (thanks to Christian Richter). - Added DeleteEvent() to the EPG handler interface, so that an EPG handler can trigger deleting of an event (thanks to Christian Kaiser). - Speeded up opening menus on systems with many (several thousands) of recordings, by caching the information whether a recording is stored on the video directory file system within the cRecording data (based on a patch from Torsten Lang).
Have fun!
Klaus
Am Sonntag, 3. Juni 2012, 12:44:24 schrieb Klaus Schmidinger:
VDR developer version 1.7.28 is now available
the patch did not apply cleanly, so I untarred the full archive into a new place and copied my old working Make.config
timers.c: In constructor ‘cSortedTimers::cSortedTimers()’: timers.c:832: error: class ‘cSortedTimers’ does not have any field named ‘cVector’
On 03.06.2012 14:26, Wolfgang Rohdewald wrote:
Am Sonntag, 3. Juni 2012, 12:44:24 schrieb Klaus Schmidinger:
VDR developer version 1.7.28 is now available
the patch did not apply cleanly,
It applies cleanly here to a fresh version 1.7.27 directory. You may need to add '-p1' to the patch call, as in
patch -p1 < vdr-1.7.27-1.7.28.diff
so I untarred the full archive into a new place and copied my old working Make.config
timers.c: In constructor ‘cSortedTimers::cSortedTimers()’: timers.c:832: error: class ‘cSortedTimers’ does not have any field named ‘cVector’
I don't get such an error message here.
Klaus
On 03.06.2012 14:41, Klaus Schmidinger wrote:
On 03.06.2012 14:26, Wolfgang Rohdewald wrote:
Am Sonntag, 3. Juni 2012, 12:44:24 schrieb Klaus Schmidinger:
VDR developer version 1.7.28 is now available
so I untarred the full archive into a new place and copied my old working Make.config
timers.c: In constructor ‘cSortedTimers::cSortedTimers()’: timers.c:832: error: class ‘cSortedTimers’ does not have any field named ‘cVector’
I don't get such an error message here.
g++ -g -O3 -Wall -Werror=overloaded-virtual -Wno-parentheses -c -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DREMOTE_KBD -DLIRC_DEVICE="/var/run/lirc/lircd" -D_GNU_SOURCE -DVIDEODIR="/video" -DCONFDIR="/video" -DPLUGINDIR="./PLUGINS/lib" -DLOCDIR="./locale" -I/usr/include/freetype2 transfer.c timers.c: In constructor »cSortedTimers::cSortedTimers()«: timers.c:832: Fehler: Klasse »cSortedTimers« hat keinen Feldnamen »cVector« make: *** [timers.o] Fehler 1 make: *** Warte auf noch nicht beendete Prozesse...
Same error here :-( .
stefan@jarada /home/nfs/extra/src/video/DVB/vdr-1.7.28.jarada $ g++ --version g++ (Gentoo 4.4.5 p1.3, pie-0.4.5) 4.4.5 Copyright (C) 2010 Free Software Foundation, Inc. Dies ist freie Software; die Kopierbedingungen stehen in den Quellen. Es gibt KEINE Garantie; auch nicht für MARKTGÄNGIGKEIT oder FÜR SPEZIELLE ZWECKE.
Stefan Lucke
stefan@jarada /home/nfs/extra/src/video/DVB/vdr-1.7.28.jarada $ g++ --version g++ (Gentoo 4.4.5 p1.3, pie-0.4.5) 4.4.5
why dont you upgrade to latest stable gcc in gentoo
gcc-4.5.3-r2
then?
On 03.06.2012 12:44, Klaus Schmidinger wrote:
VDR developer version 1.7.28 is now available at
ftp://ftp.tvdr.de/vdr/Developer/vdr-1.7.28.tar.bz2
A 'diff' against the previous version is available at
ftp://ftp.tvdr.de/vdr/Developer/vdr-1.7.27-1.7.28.diff
... The changes since version 1.7.27:
...
- Added DeleteEvent() to the EPG handler interface, so that an EPG handler can trigger
deleting of an event (thanks to Christian Kaiser).
This change has shown not to be as useful es expected. It will therefore be revoked in version 1.7.29 and replaced with HandledExternally(). I'm posting the attached patch from Jörg Wendel vdr-ml@jwendel.de as a preview of version 1.7.29 to make sure nobody uses the obsolete DeleteEvents() function.
Klaus
On 04.06.2012 16:51, Ville Skyttä wrote:
On 2012-06-03 13:44, Klaus Schmidinger wrote:
- Renamed the function cString::sprintf(const char *fmt, va_list&ap) to vsprintf(),
Hm, I don't see this change actually implemented in the source...?
Are you sure you're looking at the right files?
Here's an excerpt from the diff:
--- vdr-1.7.27/svdrp.c 2012-03-04 13:05:56.000000000 +0100 +++ vdr-1.7.28/svdrp.c 2012-05-12 13:55:18.000000000 +0200 @@ -432,7 +432,7 @@ if (Code != 0) { va_list ap; va_start(ap, fmt); - cString buffer = cString::sprintf(fmt, ap); + cString buffer = cString::vsprintf(fmt, ap); va_end(ap); const char *s = buffer; while (s && *s) { --- vdr-1.7.27/thread.c 2009-04-13 15:50:39.000000000 +0200 +++ vdr-1.7.28/thread.c 2012-05-08 13:15:57.000000000 +0200 @@ -239,7 +239,7 @@ if (Description) { va_list ap; va_start(ap, Description); - description = strdup(cString::sprintf(Description, ap)); + description = strdup(cString::vsprintf(Description, ap)); va_end(ap); } } --- vdr-1.7.27/tools.c 2012-02-18 16:30:35.000000000 +0100 +++ vdr-1.7.28/tools.c 2012-05-12 15:29:20.000000000 +0200 @@ -958,7 +958,7 @@ return cString(buffer, true); }
-cString cString::sprintf(const char *fmt, va_list &ap) +cString cString::vsprintf(const char *fmt, va_list &ap) { char *buffer; if (!fmt || vasprintf(&buffer, fmt, ap) < 0) { --- vdr-1.7.27/tools.h 2012-02-29 11:41:00.000000000 +0100 +++ vdr-1.7.28/tools.h 2012-05-20 15:58:06.000000000 +0200 @@ -177,7 +177,7 @@ cString &operator=(const char *String); cString &Truncate(int Index); ///< Truncate the string at the given Index (if Index is < 0 it is counted from the end of the string). static cString sprintf(const char *fmt, ...) __attribute__ ((format (printf, 1, 2))); - static cString sprintf(const char *fmt, va_list &ap); + static cString vsprintf(const char *fmt, va_list &ap); };
ssize_t safe_read(int filedes, void *buffer, size_t size);
Klaus
On 2012-06-04 17:58, Klaus Schmidinger wrote:
On 04.06.2012 16:51, Ville Skyttä wrote:
On 2012-06-03 13:44, Klaus Schmidinger wrote:
- Renamed the function cString::sprintf(const char *fmt, va_list&ap) to vsprintf(),
Hm, I don't see this change actually implemented in the source...?
Are you sure you're looking at the right files?
I was, and I wasn't :)
http://git.gekrumbel.de/vdr.git?p=vdr.git;a=commitdiff;h=c80ddbc27b8c7b2a7b6...
Looks like the gekrumbel.de git tree (which is what I _was_ looking at) is missing at least this change.
Hello
Am Montag, 4. Juni 2012 schrieb Ville Skyttä:
On 2012-06-04 17:58, Klaus Schmidinger wrote:
On 04.06.2012 16:51, Ville Skyttä wrote:
On 2012-06-03 13:44, Klaus Schmidinger wrote:
- Renamed the function cString::sprintf(const char *fmt, va_list&ap) to
vsprintf(),
Hm, I don't see this change actually implemented in the source...?
Are you sure you're looking at the right files?
I was, and I wasn't :)
http://git.gekrumbel.de/vdr.git?p=vdr.git;a=commitdiff;h=c80ddbc27b8c7b2a7b 6ed822330da069d5cd3b68
Looks like the gekrumbel.de git tree (which is what I _was_ looking at) is missing at least this change.
It was my fault. Please apologize :)
I corrected the wrong commit into that (and the other) git tree. It was late yesterday evening after I came back home and apparently I've been to tired to do it right :)
You get a forced update with the next pull.
Kind regards Dieter
VDR developer version 1.7.28 is now available at
.
"LCARS" is the new default skin of VDR. It requires at least a 4bpp (16 color) full screen OSD, but you can still operate it if your OSD can handle only fewer colors (in which case you may want to switch to the "ST:TNG" or "Classic VDR" skin).
* QA Notice: Package triggers severe warnings which indicate that it * may exhibit random runtime failures. * skinlcars.c:518:39: warning: passing NULL to non-pointer argument 2 of ‘cString ChannelString(const cChannel*, int)’ [-Wconversion-null]
on compile with gcc-4.7.1
On 07/09/12 18:57, Joerg Bornkessel wrote:
"LCARS" is the new default skin of VDR. It requires at least a 4bpp (16 color) full screen OSD, but you can still operate it if your OSD can handle only fewer colors (in which case you may want to switch to the "ST:TNG" or "Classic VDR" skin).
- QA Notice: Package triggers severe warnings which indicate that it
may exhibit random runtime failures.
- skinlcars.c:518:39: warning: passing NULL to non-pointer argument 2 of ‘cString ChannelString(const cChannel*, int)’ [-Wconversion-null]
I do not know if that is related, but I noticed that the LCARS skin sometimes fails to show the recording name in the progress display (the one thet shows up when you press OK during playback).
Carsten.
On 09.07.2012 19:06, Carsten Koch wrote:
On 07/09/12 18:57, Joerg Bornkessel wrote:
"LCARS" is the new default skin of VDR. It requires at least a 4bpp (16 color) full screen OSD, but you can still operate it if your OSD can handle only fewer colors (in which case you may want to switch to the "ST:TNG" or "Classic VDR" skin).
- QA Notice: Package triggers severe warnings which indicate that it
- may exhibit random runtime failures.
- skinlcars.c:518:39: warning: passing NULL to non-pointer argument 2 of ‘cString ChannelString(const cChannel*, int)’ [-Wconversion-null]
I do not know if that is related, but I noticed that the LCARS skin sometimes fails to show the recording name in the progress display (the one thet shows up when you press OK during playback).
I don't think this is related, because these are totally different code areas. Is this problem reproducible?
Klaus
On 07/09/12 22:30, Klaus Schmidinger wrote:
On 09.07.2012 19:06, Carsten Koch wrote:
but I noticed that the LCARS skin sometimes fails to show the recording name in the progress display (the one that shows up when you press OK during playback).
I don't think this is related, because these are totally different code areas. Is this problem reproducible?
Not really. I was hoping it might be related to the recording name (length or content), but when the problem occured again, I stopped and re-started the playback and then the name display was OK.
Carsten.
On 09.07.2012 18:57, Joerg Bornkessel wrote:
VDR developer version 1.7.28 is now available at
.
"LCARS" is the new default skin of VDR. It requires at least a 4bpp (16 color) full screen OSD, but you can still operate it if your OSD can handle only fewer colors (in which case you may want to switch to the "ST:TNG" or "Classic VDR" skin).
- QA Notice: Package triggers severe warnings which indicate that it
may exhibit random runtime failures.
- skinlcars.c:518:39: warning: passing NULL to non-pointer argument 2 of ‘cString ChannelString(const cChannel*, int)’ [-Wconversion-null]
on compile with gcc-4.7.1
This has already been reported (I assume by someone on vdr-portal.de, because I don't have a name associated with this fix ;-).
--- skinlcars.c 2012/06/04 08:53:57 2.5 +++ skinlcars.c 2012/06/04 09:35:43 2.6 @@ -515,7 +515,7 @@ else if (Number) ChNumber = cString::sprintf("%d-", Number); else - ChName = ChannelString(NULL, NULL); + ChName = ChannelString(NULL, 0); osd->DrawText(xc00, yc00, ChNumber, Theme.Color(clrChannelFrameFg), frameColor, tallFont, xc02 - xc00, yc02 - yc00, taTop | taRight | taBorder); osd->DrawText(xc03, yc00, ChName, Theme.Color(clrChannelName), Theme.Color(clrBackground), tallFont, xi - xc03 - lineHeight, 0, taTop | taLeft); lastSignalDisplay = 0;
Klaus
On 09.07.2012 18:57, Joerg Bornkessel wrote:
VDR developer version 1.7.28 is now available at
.
"LCARS" is the new default skin of VDR. It requires at least a 4bpp (16 color) full screen OSD, but you can still operate it if your OSD can handle only fewer colors (in which case you may want to switch to the "ST:TNG" or "Classic VDR" skin).
- QA Notice: Package triggers severe warnings which indicate that it
may exhibit random runtime failures.
- skinlcars.c:518:39: warning: passing NULL to non-pointer argument 2 of ‘cString ChannelString(const cChannel*, int)’ [-Wconversion-null]
on compile with gcc-4.7.1
This has already been reported (I assume by someone on vdr-portal.de, because I don't have a name associated with this fix ;-).
oops, didn't read it, leaved before; to much blabla about the lcars scin ;)
anyway, works with you fix