From 83715833d53e092ac0438bd8e916c4468cc03a1f Mon Sep 17 00:00:00 2001 From: Lars Op den Kamp Date: Wed, 31 Oct 2012 12:05:53 +0100 Subject: [PATCH] bump version number to 2.0.3 and updated changelog --- ChangeLog | 32 ++++++++++++++++++ debian/changelog | 32 ++++++++++++++++++ include/cec.h | 2 +- include/cectypes.h | 2 ++ project/cec-config.rc | Bin 3232 -> 3232 bytes project/libcec.rc | Bin 3202 -> 3202 bytes project/testclient.rc | Bin 3230 -> 3230 bytes src/CecSharpTester/CecSharpClient.cs | 2 +- src/CecSharpTester/Properties/AssemblyInfo.cs | 4 +-- src/LibCecSharp/AssemblyInfo.cpp | 2 +- src/LibCecSharp/CecSharpTypes.h | 12 +++++-- src/LibCecTray/Properties/AssemblyInfo.cs | 4 +-- src/LibCecTray/controller/CECController.cs | 2 +- src/lib/CECTypeUtils.h | 4 +++ src/testclient/main.cpp | 2 +- 15 files changed, 89 insertions(+), 11 deletions(-) diff --git a/ChangeLog b/ChangeLog index 983d006..21bcb6d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,35 @@ +libcec (2.0.3-1) unstable; urgency=low + + * changed: + * log unhandled vendor remote keycodes in the log, so they get logged + without debugging enabled + * fixed: + * handling of active route changes. github issue #56 and issue #58 + * new combo key handling broke samsung's vendor specific remote buttons. + github issue #54 + * don't try to set controlled mode when using firmware version 1 and crash. + github issue #76 + * fix for LG models that send a vendor key up after a normal key down. + github issue #71 + * some TVs send keypresses to us without making us the active source. mark + us as active source when this happens. github issue #71 + * LG doesn't send routing changes, and marks the TV as active source when + switching to another source that's not been selected in the simplink menu + instead. this change keeps libCEC marked as powered on and keep the deck + state set to CEC_DECK_INFO_OTHER_STATUS_LG. fixes keypresses not working + after switching to another source and back to libCEC's hdmi port via the + source select menu instead of the simplink menu. github issue #71 + * don't respond with an abort message when receiving a vendor remote button + command + * respond with CEC_ABORT_REASON_INVALID_OPERAND when receiving a keypress + without a parameter + * typo in stop+pause combo key that prevented one of the keys from working + * rpi: log what data we received exactly when we receive an response from + the pi's firmware that doesn't match any command that we sent. issue #77 + * cubox: added adapter ID interface + + -- Pulse-Eight Packaging Wed, 31 Oct 2012 11:50:00 +0100 + libcec (2.0.2-2) unstable; urgency=medium * fixed: diff --git a/debian/changelog b/debian/changelog index 983d006..21bcb6d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,35 @@ +libcec (2.0.3-1) unstable; urgency=low + + * changed: + * log unhandled vendor remote keycodes in the log, so they get logged + without debugging enabled + * fixed: + * handling of active route changes. github issue #56 and issue #58 + * new combo key handling broke samsung's vendor specific remote buttons. + github issue #54 + * don't try to set controlled mode when using firmware version 1 and crash. + github issue #76 + * fix for LG models that send a vendor key up after a normal key down. + github issue #71 + * some TVs send keypresses to us without making us the active source. mark + us as active source when this happens. github issue #71 + * LG doesn't send routing changes, and marks the TV as active source when + switching to another source that's not been selected in the simplink menu + instead. this change keeps libCEC marked as powered on and keep the deck + state set to CEC_DECK_INFO_OTHER_STATUS_LG. fixes keypresses not working + after switching to another source and back to libCEC's hdmi port via the + source select menu instead of the simplink menu. github issue #71 + * don't respond with an abort message when receiving a vendor remote button + command + * respond with CEC_ABORT_REASON_INVALID_OPERAND when receiving a keypress + without a parameter + * typo in stop+pause combo key that prevented one of the keys from working + * rpi: log what data we received exactly when we receive an response from + the pi's firmware that doesn't match any command that we sent. issue #77 + * cubox: added adapter ID interface + + -- Pulse-Eight Packaging Wed, 31 Oct 2012 11:50:00 +0100 + libcec (2.0.2-2) unstable; urgency=medium * fixed: diff --git a/include/cec.h b/include/cec.h index ba12a87..7d14a47 100644 --- a/include/cec.h +++ b/include/cec.h @@ -36,7 +36,7 @@ #include "cectypes.h" -#define LIBCEC_VERSION_CURRENT CEC_SERVER_VERSION_2_0_2 +#define LIBCEC_VERSION_CURRENT CEC_SERVER_VERSION_2_0_3 namespace CEC { diff --git a/include/cectypes.h b/include/cectypes.h index 6b7f73c..1357e6d 100644 --- a/include/cectypes.h +++ b/include/cectypes.h @@ -1376,6 +1376,7 @@ typedef enum cec_client_version CEC_CLIENT_VERSION_2_0_0 = 0x2000, CEC_CLIENT_VERSION_2_0_1 = 0x2001, CEC_CLIENT_VERSION_2_0_2 = 0x2002, + CEC_CLIENT_VERSION_2_0_3 = 0x2003, } cec_client_version; typedef enum cec_server_version @@ -1400,6 +1401,7 @@ typedef enum cec_server_version CEC_SERVER_VERSION_2_0_0 = 0x2000, CEC_SERVER_VERSION_2_0_1 = 0x2001, CEC_SERVER_VERSION_2_0_2 = 0x2002, + CEC_SERVER_VERSION_2_0_3 = 0x2003, } cec_server_version; struct libcec_configuration diff --git a/project/cec-config.rc b/project/cec-config.rc index 7a9da22b6c09b69028e223b21d4a2bc581028c0a..def8b1f69a03934bb26d7195c4d6be8b6b983fdf 100644 GIT binary patch delta 48 zcmZ1=xj=G*A2XxzWPfHuM&r$m%-lfE=3X{WCT3#>y~*;dl9O3Dg(k1#h2y<=nsawp5PN=|;pA+-4! H#~fw=XaNp> delta 52 zcmZpYY?9pI$INIn*`L{v(P(ocvp6%W5rZCs!Q_SPx|>h2y<=nsawp5PN=|;pA+-4! H#~fw=XMhfR diff --git a/project/testclient.rc b/project/testclient.rc index abb8ee4b4e592f709bed20989f032dc76a324f85..0da16c66d9248a654b58bccc7715febf413ddac1 100644 GIT binary patch delta 50 zcmbOyIZtwfA2XxzWPfHuM&r$m%!16!#teFssA7B;Re1uJa2_~@l1IIdM07&Qz A`Tzg` delta 50 zcmbOyIZtwfA2XxTWPfHuMx)J*%!16!MhtqBsA7B;Re1uJa2_~@l1IIdM07!8R A_5c6? diff --git a/src/CecSharpTester/CecSharpClient.cs b/src/CecSharpTester/CecSharpClient.cs index cd9b0e9..63a2e23 100644 --- a/src/CecSharpTester/CecSharpClient.cs +++ b/src/CecSharpTester/CecSharpClient.cs @@ -43,7 +43,7 @@ namespace CecSharpClient Config = new LibCECConfiguration(); Config.DeviceTypes.Types[0] = CecDeviceType.RecordingDevice; Config.DeviceName = "CEC Tester"; - Config.ClientVersion = CecClientVersion.Version2_0_2; + Config.ClientVersion = CecClientVersion.Version2_0_3; Config.SetCallbacks(this); LogLevel = (int)CecLogLevel.All; diff --git a/src/CecSharpTester/Properties/AssemblyInfo.cs b/src/CecSharpTester/Properties/AssemblyInfo.cs index 23128fc..ad7143f 100644 --- a/src/CecSharpTester/Properties/AssemblyInfo.cs +++ b/src/CecSharpTester/Properties/AssemblyInfo.cs @@ -32,5 +32,5 @@ using System.Runtime.InteropServices; // 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.2.0")] -[assembly: AssemblyFileVersion("2.0.2.0")] +[assembly: AssemblyVersion("2.0.3.0")] +[assembly: AssemblyFileVersion("2.0.3.0")] diff --git a/src/LibCecSharp/AssemblyInfo.cpp b/src/LibCecSharp/AssemblyInfo.cpp index fe944b5..fa6b40b 100644 --- a/src/LibCecSharp/AssemblyInfo.cpp +++ b/src/LibCecSharp/AssemblyInfo.cpp @@ -13,7 +13,7 @@ using namespace System::Security::Permissions; [assembly:AssemblyTrademarkAttribute("")]; [assembly:AssemblyCultureAttribute("")]; -[assembly:AssemblyVersionAttribute("2.0.2.0")]; +[assembly:AssemblyVersionAttribute("2.0.3.0")]; [assembly:ComVisible(false)]; [assembly:CLSCompliantAttribute(true)]; diff --git a/src/LibCecSharp/CecSharpTypes.h b/src/LibCecSharp/CecSharpTypes.h index e183be3..bf42996 100644 --- a/src/LibCecSharp/CecSharpTypes.h +++ b/src/LibCecSharp/CecSharpTypes.h @@ -1171,7 +1171,11 @@ namespace CecSharp /// /// v2.0.2 /// - Version2_0_2 = 0x2002 + Version2_0_2 = 0x2002, + /// + /// v2.0.3 + /// + Version2_0_3 = 0x2003 }; /// @@ -1258,7 +1262,11 @@ namespace CecSharp /// /// v2.0.2 /// - Version2_0_2 = 0x2002 + Version2_0_2 = 0x2002, + /// + /// v2.0.3 + /// + Version2_0_3 = 0x2003 }; /// diff --git a/src/LibCecTray/Properties/AssemblyInfo.cs b/src/LibCecTray/Properties/AssemblyInfo.cs index aad28dd..8bc2245 100644 --- a/src/LibCecTray/Properties/AssemblyInfo.cs +++ b/src/LibCecTray/Properties/AssemblyInfo.cs @@ -31,5 +31,5 @@ using System.Runtime.InteropServices; // 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.2.0")] -[assembly: AssemblyFileVersion("2.0.2.0")] +[assembly: AssemblyVersion("2.0.3.0")] +[assembly: AssemblyFileVersion("2.0.3.0")] diff --git a/src/LibCecTray/controller/CECController.cs b/src/LibCecTray/controller/CECController.cs index ebce4ba..f4dc434 100644 --- a/src/LibCecTray/controller/CECController.cs +++ b/src/LibCecTray/controller/CECController.cs @@ -438,7 +438,7 @@ namespace LibCECTray.controller { if (_config == null) { - _config = new LibCECConfiguration { DeviceName = "CEC Tray", ClientVersion = CecClientVersion.Version2_0_2 }; + _config = new LibCECConfiguration { DeviceName = "CEC Tray", ClientVersion = CecClientVersion.Version2_0_3 }; _config.DeviceTypes.Types[0] = CecDeviceType.RecordingDevice; _config.SetCallbacks(this); diff --git a/src/lib/CECTypeUtils.h b/src/lib/CECTypeUtils.h index 239fc66..ee3ddb3 100644 --- a/src/lib/CECTypeUtils.h +++ b/src/lib/CECTypeUtils.h @@ -561,6 +561,8 @@ namespace CEC return "2.0.1"; case CEC_CLIENT_VERSION_2_0_2: return "2.0.2"; + case CEC_CLIENT_VERSION_2_0_3: + return "2.0.3"; default: return "Unknown"; } @@ -610,6 +612,8 @@ namespace CEC return "2.0.1"; case CEC_SERVER_VERSION_2_0_2: return "2.0.2"; + case CEC_SERVER_VERSION_2_0_3: + return "2.0.3"; default: return "Unknown"; } diff --git a/src/testclient/main.cpp b/src/testclient/main.cpp index 2050ee9..d73d4cb 100644 --- a/src/testclient/main.cpp +++ b/src/testclient/main.cpp @@ -48,7 +48,7 @@ using namespace CEC; using namespace std; using namespace PLATFORM; -#define CEC_CONFIG_VERSION CEC_CLIENT_VERSION_2_0_2; +#define CEC_CONFIG_VERSION CEC_CLIENT_VERSION_2_0_3; #include "../../include/cecloader.h" -- 2.34.1