From 20fd14a9ecc2c22f7181f73c412df65a34da3b4b Mon Sep 17 00:00:00 2001 From: Lars Op den Kamp Date: Thu, 11 Oct 2012 15:48:52 +0200 Subject: [PATCH] bump to 2.0.1 and updated changelog --- ChangeLog | 37 ++++++++++++++++++ debian/changelog | 37 ++++++++++++++++++ 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/Properties/AssemblyInfo.cs | 4 +- src/LibCecSharp/AssemblyInfo.cpp | 2 +- src/LibCecSharp/CecSharpTypes.h | 12 +++++- src/LibCecTray/Properties/AssemblyInfo.cs | 4 +- src/lib/CECTypeUtils.h | 4 ++ src/testclient/main.cpp | 2 +- 13 files changed, 97 insertions(+), 9 deletions(-) diff --git a/ChangeLog b/ChangeLog index 82e7880..ccb10d2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,40 @@ +libcec (2.0.2-1) unstable; urgency=low + + * changed/added: + * missing from the previous changelog: added support for the CuBox TDA995x + credits: warped-rudi + * lower retry timeout for source switches + * cec-client: wait for the source switch to finish when cec-client is + called with the -s switch + * request the power status of the TV directly after registering a new + client + * fixed: + * don't keep trying to send 'image view on' commands to the TV when no TV + is connected, and just send the 'set active source' command. fixes source + switch and debug log spam for people without a TV connected + * don't keep waiting for an updated power status from the TV for Panasonic, + but request a status update once every 5 seconds, or we can possibly wait + forever for the tv to send it + * log what we received exactly when logging FIXME + * typo in CVLCommandHandler::VendorPreActivateSourceHook. bugzid: 1087 + * if we failed to get the physical address of the device that we are + connected to in the config, then try to use the address that was + persisted in the eeprom before resetting to the default value, 1.0.0.0. + closes #50. + * don't update the device status of unregistered/broadcast + * log all device status changes + * CCECClient::IsLibCECActiveSource returns false now while the active + source command is pending + * log failed acks and other errors in the debug log again + * don't send 'image view on' when the TV is already powering up + * reset the delayed source switch timeout properly, so we don't spam + commands every second + * don't change the device status when sending a delayed source switch + * don't send out commands to a device that is marked as not present or + handled by libCEC + + -- Pulse-Eight Packaging Thu, 11 Oct 2012 15:48:00 +0100 + libcec (2.0.1-1) unstable; urgency=low * changed/added: diff --git a/debian/changelog b/debian/changelog index 82e7880..ccb10d2 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,40 @@ +libcec (2.0.2-1) unstable; urgency=low + + * changed/added: + * missing from the previous changelog: added support for the CuBox TDA995x + credits: warped-rudi + * lower retry timeout for source switches + * cec-client: wait for the source switch to finish when cec-client is + called with the -s switch + * request the power status of the TV directly after registering a new + client + * fixed: + * don't keep trying to send 'image view on' commands to the TV when no TV + is connected, and just send the 'set active source' command. fixes source + switch and debug log spam for people without a TV connected + * don't keep waiting for an updated power status from the TV for Panasonic, + but request a status update once every 5 seconds, or we can possibly wait + forever for the tv to send it + * log what we received exactly when logging FIXME + * typo in CVLCommandHandler::VendorPreActivateSourceHook. bugzid: 1087 + * if we failed to get the physical address of the device that we are + connected to in the config, then try to use the address that was + persisted in the eeprom before resetting to the default value, 1.0.0.0. + closes #50. + * don't update the device status of unregistered/broadcast + * log all device status changes + * CCECClient::IsLibCECActiveSource returns false now while the active + source command is pending + * log failed acks and other errors in the debug log again + * don't send 'image view on' when the TV is already powering up + * reset the delayed source switch timeout properly, so we don't spam + commands every second + * don't change the device status when sending a delayed source switch + * don't send out commands to a device that is marked as not present or + handled by libCEC + + -- Pulse-Eight Packaging Thu, 11 Oct 2012 15:48:00 +0100 + libcec (2.0.1-1) unstable; urgency=low * changed/added: diff --git a/include/cec.h b/include/cec.h index 1b0019b..d10f433 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_0 +#define LIBCEC_VERSION_CURRENT CEC_SERVER_VERSION_2_0_1 namespace CEC { diff --git a/include/cectypes.h b/include/cectypes.h index 158772d..f68007b 100644 --- a/include/cectypes.h +++ b/include/cectypes.h @@ -1374,6 +1374,7 @@ typedef enum cec_client_version CEC_CLIENT_VERSION_1_9_0 = 0x1900, CEC_CLIENT_VERSION_1_99_0 = 0x1990, CEC_CLIENT_VERSION_2_0_0 = 0x2000, + CEC_CLIENT_VERSION_2_0_1 = 0x2001, } cec_client_version; typedef enum cec_server_version @@ -1396,6 +1397,7 @@ typedef enum cec_server_version CEC_SERVER_VERSION_1_9_0 = 0x1900, CEC_SERVER_VERSION_1_99_0 = 0x1990, CEC_SERVER_VERSION_2_0_0 = 0x2000, + CEC_SERVER_VERSION_2_0_1 = 0x2001, } cec_server_version; struct libcec_configuration diff --git a/project/cec-config.rc b/project/cec-config.rc index 8927346fb6504637f061b04a5451ced071ca5c9c..bc1299da66e7e33e3d1a4130ad1735bddef5d756 100644 GIT binary patch delta 48 zcmZ1=xj=G*A2XxjWPfHuM#IgG%-lfE=3X{WCT2qhy~*;dl9O3Dg(k1#h2y<=nsawp5PN=|;pA+-4! H#~fw=X8#U$ delta 52 zcmZpYY?9pI$INIj*`L{v(O`2Uvp6%W0fQcc!Q_SPx|>h2y<=nsawp5PN=|;pA+-4! H#~fw=W_}KG diff --git a/project/testclient.rc b/project/testclient.rc index b7f8c08cf5572dde4344636fcda3dcc91567f987..1d6382b69816b2092cbb7248fbed00136a96c25c 100644 GIT binary patch delta 50 zcmbOyIZtwfA2XxjWPfHuM#IgG%!16!h75X>sA7B;Re1uJa2_~@l1IIdM07v=^ A@&Et; delta 50 zcmbOyIZtwfA2XxDWPfHuMuW|b%!16!1`K+WsA7B;Re1uJa2_~@l1IIdM07rui A?f?J) diff --git a/src/CecSharpTester/Properties/AssemblyInfo.cs b/src/CecSharpTester/Properties/AssemblyInfo.cs index 2b249ff..799111d 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.0.0")] -[assembly: AssemblyFileVersion("2.0.0.0")] +[assembly: AssemblyVersion("2.0.1.0")] +[assembly: AssemblyFileVersion("2.0.1.0")] diff --git a/src/LibCecSharp/AssemblyInfo.cpp b/src/LibCecSharp/AssemblyInfo.cpp index ed06b3b..bb64ab4 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.0.0")]; +[assembly:AssemblyVersionAttribute("2.0.1.0")]; [assembly:ComVisible(false)]; [assembly:CLSCompliantAttribute(true)]; diff --git a/src/LibCecSharp/CecSharpTypes.h b/src/LibCecSharp/CecSharpTypes.h index fb14a54..908b3fc 100644 --- a/src/LibCecSharp/CecSharpTypes.h +++ b/src/LibCecSharp/CecSharpTypes.h @@ -1163,7 +1163,11 @@ namespace CecSharp /// /// v2.0.0 /// - Version2_0_0 = 0x2000 + Version2_0_0 = 0x2000, + /// + /// v2.0.1 + /// + Version2_0_1 = 0x2001 }; /// @@ -1242,7 +1246,11 @@ namespace CecSharp /// /// v2.0.0 /// - Version2_0_0 = 0x2000 + Version2_0_0 = 0x2000, + /// + /// v2.0.1 + /// + Version2_0_1 = 0x2001 }; /// diff --git a/src/LibCecTray/Properties/AssemblyInfo.cs b/src/LibCecTray/Properties/AssemblyInfo.cs index 8c25663..80c33c6 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("1.7.2.0")] -[assembly: AssemblyFileVersion("1.7.2.0")] +[assembly: AssemblyVersion("2.0.1.0")] +[assembly: AssemblyFileVersion("2.0.1.0")] diff --git a/src/lib/CECTypeUtils.h b/src/lib/CECTypeUtils.h index 6662182..5d34b46 100644 --- a/src/lib/CECTypeUtils.h +++ b/src/lib/CECTypeUtils.h @@ -557,6 +557,8 @@ namespace CEC return "2.0.0-pre"; case CEC_CLIENT_VERSION_2_0_0: return "2.0.0"; + case CEC_CLIENT_VERSION_2_0_1: + return "2.0.1"; default: return "Unknown"; } @@ -602,6 +604,8 @@ namespace CEC return "2.0.0-pre"; case CEC_CLIENT_VERSION_2_0_0: return "2.0.0"; + case CEC_CLIENT_VERSION_2_0_1: + return "2.0.1"; default: return "Unknown"; } diff --git a/src/testclient/main.cpp b/src/testclient/main.cpp index 986884e..24ddde5 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_0; +#define CEC_CONFIG_VERSION CEC_CLIENT_VERSION_2_0_1; #include "../../include/cecloader.h" -- 2.34.1