mirror of
				https://github.com/vdr-projects/vdr.git
				synced 2025-03-01 10:50:46 +00:00 
			
		
		
		
	Version 1.4.2-1
- Added LC_ALL to the checks for UTF-8 at startup (suggested by Matthias Schwarzott). - Fixed the cTimer::operator=() so that it won't mess up the cListObject's pointers (reported by Alexander Rieger). - Fixed a memory leak in the cTimer::operator=() when using the 'aux' string (reported by Alexander Rieger). - Fixed processing the PDCDescriptor in 'libsi' on big endian systems (thanks to Martin Ostermann). - Fixed handling relative volume settings that unmute the audio in the call to cStatus::MsgSetVolume() (reported by Oliver Endriss).
This commit is contained in:
		
							
								
								
									
										10
									
								
								CONTRIBUTORS
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								CONTRIBUTORS
									
									
									
									
									
								
							@@ -640,6 +640,8 @@ Oliver Endriss <o.endriss@gmx.de>
 | 
			
		||||
 for reporting a problem in extracting APIVERSION with older versions of 'sed'
 | 
			
		||||
 for fixing broken APIVERSION extraction line in 'newplugin'
 | 
			
		||||
 for making VDR no longer stop removing empty directories if an error occurs
 | 
			
		||||
 for reporting a bug in handling relative volume settings that unmute the audio in
 | 
			
		||||
 the call to cStatus::MsgSetVolume()
 | 
			
		||||
 | 
			
		||||
Reinhard Walter Buchner <rw.buchner@freenet.de>
 | 
			
		||||
 for adding some satellites to 'sources.conf'
 | 
			
		||||
@@ -1737,6 +1739,8 @@ Alexander Rieger <Alexander.Rieger@inka.de>
 | 
			
		||||
 for fixing a typo in skins.h
 | 
			
		||||
 for making cSkins::QueueMessage() called from a background thread with an empty
 | 
			
		||||
 message clears all messages that have been previously queued by that thread
 | 
			
		||||
 for reporting that the cTimer::operator=() messes up the cListObject's pointers
 | 
			
		||||
 for reporting a memory leak in the cTimer::operator=() when using the 'aux' string
 | 
			
		||||
 | 
			
		||||
Philip Prindeville <philipp_subx@redfish-solutions.com>
 | 
			
		||||
 for updates to 'sources.conf'
 | 
			
		||||
@@ -1987,3 +1991,9 @@ J
 | 
			
		||||
Tomas Berglund <tomber@telia.com>
 | 
			
		||||
 for reporting a problem with sticky PIDs in CAMs when switching between encrypted
 | 
			
		||||
 channels on the same transponder
 | 
			
		||||
 | 
			
		||||
Matthias Schwarzott <zzam@gentoo.org>
 | 
			
		||||
 for suggesting to add LC_ALL to the checks for UTF-8 at startup
 | 
			
		||||
 | 
			
		||||
Martin Ostermann <martin@familie-ostermann.de>
 | 
			
		||||
 for fixing processing the PDCDescriptor in 'libsi' on big endian systems
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										12
									
								
								HISTORY
									
									
									
									
									
								
							
							
						
						
									
										12
									
								
								HISTORY
									
									
									
									
									
								
							@@ -4895,3 +4895,15 @@ Video Disk Recorder Revision History
 | 
			
		||||
  which made it prefer any device that's already receiving and doesn't require
 | 
			
		||||
  detatching receivers. This change has caused some unwanted behavior, so further
 | 
			
		||||
  testing is necessary.
 | 
			
		||||
 | 
			
		||||
2006-09-03: Version 1.4.2-1
 | 
			
		||||
 | 
			
		||||
- Added LC_ALL to the checks for UTF-8 at startup (suggested by Matthias Schwarzott).
 | 
			
		||||
- Fixed the cTimer::operator=() so that it won't mess up the cListObject's pointers
 | 
			
		||||
  (reported by Alexander Rieger).
 | 
			
		||||
- Fixed a memory leak in the cTimer::operator=() when using the 'aux' string
 | 
			
		||||
  (reported by Alexander Rieger).
 | 
			
		||||
- Fixed processing the PDCDescriptor in 'libsi' on big endian systems (thanks to
 | 
			
		||||
  Martin Ostermann).
 | 
			
		||||
- Fixed handling relative volume settings that unmute the audio in the call to
 | 
			
		||||
  cStatus::MsgSetVolume() (reported by Oliver Endriss).
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										4
									
								
								config.h
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								config.h
									
									
									
									
									
								
							@@ -4,7 +4,7 @@
 | 
			
		||||
 * See the main source file 'vdr.c' for copyright information and
 | 
			
		||||
 * how to reach the author.
 | 
			
		||||
 *
 | 
			
		||||
 * $Id: config.h 1.267 2006/08/26 14:16:34 kls Exp $
 | 
			
		||||
 * $Id: config.h 1.268 2006/09/01 12:59:35 kls Exp $
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#ifndef __CONFIG_H
 | 
			
		||||
@@ -21,7 +21,7 @@
 | 
			
		||||
 | 
			
		||||
// VDR's own version number:
 | 
			
		||||
 | 
			
		||||
#define VDRVERSION  "1.4.2"
 | 
			
		||||
#define VDRVERSION  "1.4.2-1"
 | 
			
		||||
#define VDRVERSNUM   10402  // Version * 10000 + Major * 100 + Minor
 | 
			
		||||
 | 
			
		||||
// The plugin API's version number:
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										3
									
								
								device.c
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								device.c
									
									
									
									
									
								
							@@ -4,7 +4,7 @@
 | 
			
		||||
 * See the main source file 'vdr.c' for copyright information and
 | 
			
		||||
 * how to reach the author.
 | 
			
		||||
 *
 | 
			
		||||
 * $Id: device.c 1.136 2006/08/26 14:11:03 kls Exp $
 | 
			
		||||
 * $Id: device.c 1.137 2006/09/03 10:13:25 kls Exp $
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#include "device.h"
 | 
			
		||||
@@ -779,6 +779,7 @@ void cDevice::SetVolume(int Volume, bool Absolute)
 | 
			
		||||
  int OldVolume = volume;
 | 
			
		||||
  volume = min(max(Absolute ? Volume : volume + Volume, 0), MAXVOLUME);
 | 
			
		||||
  SetVolumeDevice(volume);
 | 
			
		||||
  Absolute |= mute;
 | 
			
		||||
  cStatus::MsgSetVolume(Absolute ? volume : volume - OldVolume, Absolute);
 | 
			
		||||
  if (volume > 0) {
 | 
			
		||||
     mute = false;
 | 
			
		||||
 
 | 
			
		||||
@@ -10,7 +10,7 @@
 | 
			
		||||
 *   the Free Software Foundation; either version 2 of the License, or     *
 | 
			
		||||
 *   (at your option) any later version.                                   *
 | 
			
		||||
 *                                                                         *
 | 
			
		||||
 *   $Id: headers.h 1.7 2006/05/28 14:25:30 kls Exp $
 | 
			
		||||
 *   $Id: headers.h 1.8 2006/09/02 20:25:16 kls Exp $
 | 
			
		||||
 *                                                                         *
 | 
			
		||||
 ***************************************************************************/
 | 
			
		||||
 | 
			
		||||
@@ -1534,15 +1534,9 @@ struct descr_dsng {
 | 
			
		||||
struct descr_pdc {
 | 
			
		||||
   u_char descriptor_tag                         :8;
 | 
			
		||||
   u_char descriptor_length                      :8;
 | 
			
		||||
#if BYTE_ORDER == BIG_ENDIAN
 | 
			
		||||
   u_char pil2                                   :8;
 | 
			
		||||
   u_char pil1                                   :8;
 | 
			
		||||
   u_char pil0                                   :8;
 | 
			
		||||
#else
 | 
			
		||||
   u_char pil0                                   :8;
 | 
			
		||||
   u_char pil1                                   :8;
 | 
			
		||||
   u_char pil2                                   :8;
 | 
			
		||||
#endif
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
/* 0x6A ac3_descriptor */
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										23
									
								
								timers.c
									
									
									
									
									
								
							
							
						
						
									
										23
									
								
								timers.c
									
									
									
									
									
								
							@@ -4,7 +4,7 @@
 | 
			
		||||
 * See the main source file 'vdr.c' for copyright information and
 | 
			
		||||
 * how to reach the author.
 | 
			
		||||
 *
 | 
			
		||||
 * $Id: timers.c 1.62 2006/08/05 12:03:36 kls Exp $
 | 
			
		||||
 * $Id: timers.c 1.63 2006/09/02 10:20:36 kls Exp $
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#include "timers.h"
 | 
			
		||||
@@ -90,11 +90,24 @@ cTimer::~cTimer()
 | 
			
		||||
 | 
			
		||||
cTimer& cTimer::operator= (const cTimer &Timer)
 | 
			
		||||
{
 | 
			
		||||
  memcpy(this, &Timer, sizeof(*this));
 | 
			
		||||
  if (aux)
 | 
			
		||||
     aux = strdup(aux);
 | 
			
		||||
  event = NULL;
 | 
			
		||||
  startTime    = Timer.startTime;
 | 
			
		||||
  stopTime     = Timer.stopTime;
 | 
			
		||||
  lastSetEvent = 0;
 | 
			
		||||
  recording    = Timer.recording;
 | 
			
		||||
  pending      = Timer.pending;
 | 
			
		||||
  inVpsMargin  = Timer.inVpsMargin;
 | 
			
		||||
  flags        = Timer.flags;
 | 
			
		||||
  channel      = Timer.channel;
 | 
			
		||||
  day          = Timer.day;
 | 
			
		||||
  weekdays     = Timer.weekdays;
 | 
			
		||||
  start        = Timer.start;
 | 
			
		||||
  stop         = Timer.stop;
 | 
			
		||||
  priority     = Timer.priority;
 | 
			
		||||
  lifetime     = Timer.lifetime;
 | 
			
		||||
  strncpy(file, Timer.file, sizeof(file));
 | 
			
		||||
  free(aux);
 | 
			
		||||
  aux = Timer.aux ? strdup(Timer.aux) : NULL;
 | 
			
		||||
  event = NULL;
 | 
			
		||||
  return *this;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										3
									
								
								vdr.c
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								vdr.c
									
									
									
									
									
								
							@@ -22,7 +22,7 @@
 | 
			
		||||
 *
 | 
			
		||||
 * The project's page is at http://www.cadsoft.de/vdr
 | 
			
		||||
 *
 | 
			
		||||
 * $Id: vdr.c 1.278 2006/08/05 10:46:38 kls Exp $
 | 
			
		||||
 * $Id: vdr.c 1.279 2006/09/01 12:57:44 kls Exp $
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#include <getopt.h>
 | 
			
		||||
@@ -450,6 +450,7 @@ int main(int argc, char *argv[])
 | 
			
		||||
  // Check for UTF-8 and exit if present - asprintf() will fail if it encounters 8 bit ASCII codes
 | 
			
		||||
  char *LangEnv;
 | 
			
		||||
  if ((LangEnv = getenv("LANG"))     != NULL && strcasestr(LangEnv, "utf") ||
 | 
			
		||||
      (LangEnv = getenv("LC_ALL"))   != NULL && strcasestr(LangEnv, "utf") ||
 | 
			
		||||
      (LangEnv = getenv("LC_CTYPE")) != NULL && strcasestr(LangEnv, "utf")) {
 | 
			
		||||
     fprintf(stderr, "vdr: please turn off UTF-8 before starting VDR\n");
 | 
			
		||||
     return 2;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user