Re: [ANNOUNCE] VDR developer version 2.1.10

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

congrats for the first 15 years - go for the second quarter... ;

Thank you VERY! Much for the additional key config for binary skip - I really missed that one in 2.1.9.

I've two hotfixes for 2.1.10 and shofthddevice and dbus2vdr regarding PixmapMemory. It's git format-patch, so you can either use "patch" or "git am".

Cheers, Ingo

Am 11. Februar 2015 12:15:27 MEZ, schrieb Klaus Schmidinger <Klaus.Schmidinger@xxxxxxx>:
VDR developer version 2.1.10 is now available at

ftp://ftp.tvdr.de/vdr/Developer/vdr-2.1.10.tar.bz2

A 'diff' against the previous version is available at

ftp://ftp.tvdr.de/vdr/Developer/vdr-2.1.9-2.1.10.diff

MD5 checksums:

889f053463e2720f1ad6517cc19e82f6 vdr-2.1.10.tar.bz2
c126fb89a79db55867ae9d9a869569aa vdr-2.1.9-2.1.10.diff

Approaching version 2.2.0:
==========================

I have decided to release one more developer version because there were
complaints about missing functionality from the "jumpingseconds" and
"binary skip" patches regarding the Green/Yellow and Prev/Next keys, and
I didn't want to cause another "patch frenzy" in this newly refurbished
area of VDR. The other (more important) reason for this additional
developer release was the change in the return value of cOsd::RenderPixmaps(),
which is very important for plugins that implement their own version of
cPixmap, e.g. for use with fast graphics hardware.

If there are no more serious bug reports, the final version 2.2.0 of VDR
shall be released on February 19, 2015, which marks the 15th anniversary
of VDR.
So please test this developer version intensely and report any problems
you might encounter as soon as possible.

The following language files still have the given number of untranslated texts:

ar.po: 54
ca_ES.po: 54
cs_CZ.po: 54
da_DK.po: 187
el_GR.po: 250
es_ES.po: 54
et_EE.po: 3
fi_FI.po: 3
hr_HR.po: 187
hu_HU.po: 4
it_IT.po: 3
lt_LT.po: 3
mk_MK.po: 3
nn_NO.po: 315
pl_PL.po: 54
pt_PT.po: 82
ro_RO.po: 3
ru_RU.po: 54
sk_SK.po: 54
sl_SI.po: 55
sr_RS.po: 54
sv_SE.po: 54
tr_TR.po: 187
uk_UA.po: 3
zh_CN.po: 54

If nobody takes care of these, they will remain untranslated in version 2.2.0.

DEADLINE FOR SUBMITTING TRANSLATIONS IS WEDNESDAY, FEBRUARY 18!


The changes since version 2.1.9:

- Updated the Finnish OSD texts (thanks to Rolf Ahrenberg).
- Updated the Macedonian OSD texts (thanks to Dimitar Petrovski).
- Updated the Romanian OSD texts (thanks to Lucian Muresan).
- Updated the Ukrainian OSD texts (thanks to Yarema Aka Knedlyk).
- Added "#REMOTE=LIRC" to Make.config.template (suggested by Martin Dauskardt).
- Updated the Estonian OSD texts (thanks to Arthur Konovalov).
- Increased the width of the left text column in the Setup menus to avoid cutting
off German texts.
- Added an empty target to the Makefile to make sure the sub-make for libsi is always
called (thanks to Sören Moch).
- Updated the Italian OSD texts (thanks to Diego Pierotto and Nino Gerbino).
- Updated the Lithuanian OSD texts (thanks to Valdemaras Pipiras).
- The new options "Setup/Replay/Skip distance with Green/Yellow keys" and
"Setup/Replay/Skip distance with Green/Yellow keys in repeat" can be used to
configure the number of seconds to skip when pressing these keys once or pressing
and holding them (based on a patch from Matthias Senzel, originally from Tobias
Faust).
- The new option "Setup/Replay/Use Prev/Next keys for adaptive skipping" can be used
to change the behavior of these keys during replay. They normally jump between
editing marks, but with this option set to 'yes' they will do adaptive skipping.
- The new command line option --chartab can be used to set the default character
table to use for strings in the DVB data stream that don't begin with a proper
character table indicator (suggested by Christopher Reimer). The old mechanism
of using the environment variable VDR_CHARSET_OVERRIDE still works, but is now
deprecated and may be removed in a future version. The value given in the --chartab
option takes precedence over that in VDR_CHARSET_OVERRIDE.
- cOsd::RenderPixmaps() now returns a pointer to cPixmap instead of cPixmapMemory
(suggested by Thomas Reufer). This is necessary to allow plugins with derived
cPixmap implementations to use this function. Plugins that use this function
with cPixmapMemory now need to add a dynamic cast to the call, as in

cPixmapMemory *pm = dynamic_cast<cPixmapMemory *>(RenderPixmaps()));

They also need to call DestroyPixmap(pm) instead of "delete pm" to properly release
the resulting pixmap after use.
The dvbhddevice plugin has been modified accordingly.
- A cPixmap with a negative layer no longer marks any portion of the OSD's view port
as "dirty" when drawing on it. This may improve performance when drawing on a
hidden pixmap, because it avoids unnecessary refreshes of the OSD.
- Added a missing initialization of "panning" to the constructor of cPixmapMemory.
- Updated the Dutch OSD texts (thanks to Erik Oomen).
- Updated the French OSD texts (thanks to Régis Bossut).
- Fixed the German translation of "Zap timeout".

Have fun!

Klaus



vdr mailing list
vdr@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr

--
Das Wetter am Campingplatz des Flugplatzes Ruppiner Land:
http://nvertigo.bplaced.de/wetter/
--
Bitte denkt über die Verwendung von PGP nach!
Privatsphäre ist ein Grundrecht.
From a9940e0f5a946ce34260a6583fc8b62835957b64 Mon Sep 17 00:00:00 2001
From: Nvertigo <nvertigo67@xxxxxxxxx>
Date: Wed, 11 Feb 2015 14:41:07 +0100
Subject: [PATCH] hotfix for 2.1.10.

---
 osd.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/osd.c b/osd.c
index 431afde..b0c4356 100644
--- a/osd.c
+++ b/osd.c
@@ -62,7 +62,7 @@ void cDBusOsd::Flush(void)
     int x, y;
     const uint8_t *pixel;
     png::image<png::rgba_pixel> *pngfile;
-    while (cPixmapMemory *pm = RenderPixmaps()) {
+    while (cPixmapMemory *pm = dynamic_cast<cPixmapMemory *>(RenderPixmaps())) {
           /*write = true;*/
           vp = &pm->ViewPort();
           vx = vp->X();
@@ -83,7 +83,7 @@ void cDBusOsd::Flush(void)
 
           counter++;
           delete pngfile;
-          delete pm;
+          DestroyPixmap(pm);
           }
   }
 #endif
-- 
2.0.5

From 29d7b5f437b38266afe8405b209adcc777466dc3 Mon Sep 17 00:00:00 2001
From: Nvertigo <nvertigo67@xxxxxxxxx>
Date: Wed, 11 Feb 2015 14:37:16 +0100
Subject: [PATCH] hotfix for 2.1.10

---
 softhddevice.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/softhddevice.cpp b/softhddevice.cpp
index b3467a5..a744052 100644
--- a/softhddevice.cpp
+++ b/softhddevice.cpp
@@ -496,7 +496,7 @@ void cSoftOsd::Flush(void)
     }
 
     LOCK_PIXMAPS;
-    while ((pm = RenderPixmaps())) {
+    while ((pm = dynamic_cast<cPixmapMemory *>(RenderPixmaps()))) {
 	int x;
 	int y;
 	int w;
@@ -513,7 +513,7 @@ void cSoftOsd::Flush(void)
 #endif
 	OsdDrawARGB(x, y, w, h, pm->Data());
 
-	delete pm;
+	DestroyPixmap(pm);
     }
     Dirty = 0;
 }
-- 
2.0.5

_______________________________________________
vdr mailing list
vdr@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr

[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux