Skip to content

Commit

Permalink
bump to libCEC v2.1.0. closes #125
Browse files Browse the repository at this point in the history
  • Loading branch information
opdenkamp committed Feb 26, 2013
1 parent 6bba6e2 commit 9b56a19
Show file tree
Hide file tree
Showing 14 changed files with 87 additions and 17 deletions.
26 changes: 26 additions & 0 deletions ChangeLog
@@ -1,3 +1,29 @@
libcec (2.1.0-1) unstable; urgency=low

* changed:
* added vendor id for Denon
* LibCECTray: Added ability to send modifiers by nesting commands in
KeyInput.cs. credits: Nate Burr
* rpi: Added /opt/vc/include/interface/vmcs_host/linux to rpi_cflags to fix
building on 'next' firmware branch. credits: Nedim Lisica
* fixed:
* don't send two active source message sequences to philips. issue #118
* don't send deck status updates to philips when activating the source
* update the active source status correctly after a manual switch to
another source. closes #124
* rename cec_audio_status() to cec_audio_get_status() to avoid conflict
with the cec_audio_status enum. This makes the C API compile again.
credits: Dave Chapman
* LibCECTray: Fixed bug with libcec adding the keyup for button commands
and making sure they are still executed. credits: Nate Burr
* rpi: don't wait for a response (and fail) when opening a connection.
issue #109
* rpi: don't try to re-register a logical address when the logical address
isn't registered and we receive a VC_CEC_LOGICAL_ADDR_LOST message from
the firmware. issue #109

-- Pulse-Eight Packaging <packaging@pulse-eight.com> Tue, 22 Jan 2013 02:37:00 +0100

libcec (2.0.5-1) unstable; urgency=low

* changed:
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
@@ -1,5 +1,5 @@
AC_PREREQ(2.59)
AC_INIT([libcec], [2:0:0], [http://libcec.pulse-eight.com/])
AC_INIT([libcec], [2:1:0], [http://libcec.pulse-eight.com/])
AC_CONFIG_HEADERS([config.h])
AH_TOP([#pragma once])

Expand Down
26 changes: 26 additions & 0 deletions debian/changelog
@@ -1,3 +1,29 @@
libcec (2.1.0-1) unstable; urgency=low

* changed:
* added vendor id for Denon
* LibCECTray: Added ability to send modifiers by nesting commands in
KeyInput.cs. credits: Nate Burr
* rpi: Added /opt/vc/include/interface/vmcs_host/linux to rpi_cflags to fix
building on 'next' firmware branch. credits: Nedim Lisica
* fixed:
* don't send two active source message sequences to philips. issue #118
* don't send deck status updates to philips when activating the source
* update the active source status correctly after a manual switch to
another source. closes #124
* rename cec_audio_status() to cec_audio_get_status() to avoid conflict
with the cec_audio_status enum. This makes the C API compile again.
credits: Dave Chapman
* LibCECTray: Fixed bug with libcec adding the keyup for button commands
and making sure they are still executed. credits: Nate Burr
* rpi: don't wait for a response (and fail) when opening a connection.
issue #109
* rpi: don't try to re-register a logical address when the logical address
isn't registered and we receive a VC_CEC_LOGICAL_ADDR_LOST message from
the firmware. issue #109

-- Pulse-Eight Packaging <packaging@pulse-eight.com> Tue, 22 Jan 2013 02:37:00 +0100

libcec (2.0.5-1) unstable; urgency=low

* changed:
Expand Down
8 changes: 5 additions & 3 deletions include/cectypes.h
Expand Up @@ -307,7 +307,7 @@ namespace CEC {
/*!
* libCEC's minor version number
*/
#define CEC_LIB_VERSION_MINOR 0
#define CEC_LIB_VERSION_MINOR 1

#define MSGSTART 0xFF
#define MSGEND 0xFE
Expand Down Expand Up @@ -1399,7 +1399,8 @@ typedef enum cec_client_version
CEC_CLIENT_VERSION_2_0_3 = 0x2003,
CEC_CLIENT_VERSION_2_0_4 = 0x2004,
CEC_CLIENT_VERSION_2_0_5 = 0x2005,
CEC_CLIENT_VERSION_CURRENT = 0x2005
CEC_CLIENT_VERSION_2_1_0 = 0x2100,
CEC_CLIENT_VERSION_CURRENT = 0x2100
} cec_client_version;

typedef enum cec_server_version
Expand Down Expand Up @@ -1427,7 +1428,8 @@ typedef enum cec_server_version
CEC_SERVER_VERSION_2_0_3 = 0x2003,
CEC_SERVER_VERSION_2_0_4 = 0x2004,
CEC_SERVER_VERSION_2_0_5 = 0x2005,
CEC_SERVER_VERSION_CURRENT = 0x2005
CEC_SERVER_VERSION_2_1_0 = 0x2100,
CEC_SERVER_VERSION_CURRENT = 0x2100
} cec_server_version;

struct libcec_configuration
Expand Down
2 changes: 1 addition & 1 deletion project/libCEC.nsi
Expand Up @@ -7,7 +7,7 @@
!include "LogicLib.nsh"
!include "x64.nsh"

Name "Pulse-Eight libCEC version 2.0.5"
Name "Pulse-Eight libCEC version 2.1.0"
OutFile "..\build\libCEC-installer.exe"

XPStyle on
Expand Down
Binary file modified project/libcec.rc
Binary file not shown.
Binary file modified project/testclient.rc
Binary file not shown.
2 changes: 1 addition & 1 deletion src/CecSharpTester/CecSharpClient.cs
Expand Up @@ -43,7 +43,7 @@ public CecSharpClient()
Config = new LibCECConfiguration();
Config.DeviceTypes.Types[0] = CecDeviceType.RecordingDevice;
Config.DeviceName = "CEC Tester";
Config.ClientVersion = CecClientVersion.Version2_0_5;
Config.ClientVersion = CecClientVersion.Version2_1_0;
Config.SetCallbacks(this);
LogLevel = (int)CecLogLevel.All;

Expand Down
4 changes: 2 additions & 2 deletions src/CecSharpTester/Properties/AssemblyInfo.cs
Expand Up @@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2.0.5.0")]
[assembly: AssemblyFileVersion("2.0.5.0")]
[assembly: AssemblyVersion("2.1.0.0")]
[assembly: AssemblyFileVersion("2.1.0.0")]
2 changes: 1 addition & 1 deletion src/LibCecSharp/AssemblyInfo.cpp
Expand Up @@ -13,7 +13,7 @@ using namespace System::Security::Permissions;
[assembly:AssemblyTrademarkAttribute("")];
[assembly:AssemblyCultureAttribute("")];

[assembly:AssemblyVersionAttribute("2.0.5.0")];
[assembly:AssemblyVersionAttribute("2.1.0.0")];

[assembly:ComVisible(false)];
[assembly:CLSCompliantAttribute(true)];
Expand Down
22 changes: 17 additions & 5 deletions src/LibCecSharp/CecSharpTypes.h
Expand Up @@ -1187,7 +1187,11 @@ namespace CecSharp
/// <summary>
/// v2.0.5
/// </summary>
Version2_0_5 = 0x2005
Version2_0_5 = 0x2005,
/// <summary>
/// v2.1.0
/// </summary>
Version2_1_0 = 0x2100
};

/// <summary>
Expand Down Expand Up @@ -1286,7 +1290,11 @@ namespace CecSharp
/// <summary>
/// v2.0.5
/// </summary>
Version2_0_5 = 0x2005
Version2_0_5 = 0x2005,
/// <summary>
/// v2.1.0
/// </summary>
Version2_1_0 = 0x2100
};

/// <summary>
Expand All @@ -1309,7 +1317,11 @@ namespace CecSharp
/// <summary>
/// Raspberry Pi
/// </summary>
RaspberryPi = 0x100
RaspberryPi = 0x100,
/// <summary>
/// TDA995x
/// </summary>
TDA995x = 0x200
};

/// <summary>
Expand Down Expand Up @@ -1673,8 +1685,8 @@ namespace CecSharp
PhysicalAddress = CEC_DEFAULT_PHYSICAL_ADDRESS;
BaseDevice = (CecLogicalAddress)CEC_DEFAULT_BASE_DEVICE;
HDMIPort = CEC_DEFAULT_HDMI_PORT;
ClientVersion = CecClientVersion::VersionPre1_5;
ServerVersion = CecServerVersion::VersionPre1_5;
ClientVersion = CecClientVersion::Version2_1_0;
ServerVersion = CecServerVersion::Version2_1_0;
TvVendor = CecVendorId::Unknown;

GetSettingsFromROM = false;
Expand Down
4 changes: 2 additions & 2 deletions src/LibCecTray/Properties/AssemblyInfo.cs
Expand Up @@ -31,5 +31,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2.0.5.0")]
[assembly: AssemblyFileVersion("2.0.5.0")]
[assembly: AssemblyVersion("2.1.0.0")]
[assembly: AssemblyFileVersion("2.1.0.0")]
2 changes: 1 addition & 1 deletion src/LibCecTray/controller/CECController.cs
Expand Up @@ -438,7 +438,7 @@ private LibCECConfiguration Config
{
if (_config == null)
{
_config = new LibCECConfiguration { DeviceName = "CEC Tray", ClientVersion = CecClientVersion.Version2_0_5 };
_config = new LibCECConfiguration { DeviceName = "CEC Tray", ClientVersion = CecClientVersion.Version2_1_0 };
_config.DeviceTypes.Types[0] = CecDeviceType.RecordingDevice;
_config.SetCallbacks(this);

Expand Down
4 changes: 4 additions & 0 deletions src/lib/CECTypeUtils.h
Expand Up @@ -569,6 +569,8 @@ namespace CEC
return "2.0.4";
case CEC_CLIENT_VERSION_2_0_5:
return "2.0.5";
case CEC_CLIENT_VERSION_2_1_0:
return "2.1.0";
default:
return "Unknown";
}
Expand Down Expand Up @@ -624,6 +626,8 @@ namespace CEC
return "2.0.4";
case CEC_SERVER_VERSION_2_0_5:
return "2.0.5";
case CEC_SERVER_VERSION_2_1_0:
return "2.1.0";
default:
return "Unknown";
}
Expand Down

0 comments on commit 9b56a19

Please sign in to comment.