From 7e316a2f39ded0dfe46661cc4007f5c20c58da96 Mon Sep 17 00:00:00 2001 From: Lars Op den Kamp Date: Fri, 3 Aug 2012 02:28:40 +0200 Subject: [PATCH] bumped version numbers to 1.8.1, updated changelog --- ChangeLog | 26 ++++++++++++++++++ debian/changelog | 26 ++++++++++++++++++ include/cec.h | 2 +- include/cectypes.h | 6 ++-- 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 | 6 ++-- src/cec-config-gui/CecConfigGUI.cs | 2 +- src/cec-config-gui/Properties/AssemblyInfo.cs | 4 +-- src/cec-config/cec-config.cpp | 2 +- src/lib/CECTypeUtils.h | 4 +++ src/testclient/main.cpp | 2 +- 16 files changed, 74 insertions(+), 14 deletions(-) diff --git a/ChangeLog b/ChangeLog index 12e2792..5c43fc2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,29 @@ +libcec (1.8.2-1) unstable; urgency=low + + * changed/added: + * p8: match to the response provided by the firmware when checking + responses (added in firmware v2 rev6) + + * fixed: + * windows: update the error message when an error occurs while writing to + the serial port + * delayed source switch time was reset, resulting in an attempt every + second until it succeeded + * ensure that the vendor commands are always sent for panasonic, and that + the deck status for lg isn't reset. fixes some buttons not working after + a second or delayed source switch + * added guard so ReplaceHandler() doesn't accidently try to replace a + handler for the broadcast address + * wait until the commandhandler is replaced before registering a client, + so we don't register a client and replace it directly afterwards if the + tv doesn't support the device type + * ensure that the command handler of the tv is replaced before registering + a client, or it might result in a double eeprom write attempt + * p8: don't disable controlled mode when switching to monitoring mode + * p8: do delayed eeprom writes async or it'll block processing other input + + -- Pulse-Eight Packaging Tue, 3 Aug 2012 02:35:00 +0100 + libcec (1.8.1-1) unstable; urgency=low * changed/added: diff --git a/debian/changelog b/debian/changelog index 12e2792..5c43fc2 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,29 @@ +libcec (1.8.2-1) unstable; urgency=low + + * changed/added: + * p8: match to the response provided by the firmware when checking + responses (added in firmware v2 rev6) + + * fixed: + * windows: update the error message when an error occurs while writing to + the serial port + * delayed source switch time was reset, resulting in an attempt every + second until it succeeded + * ensure that the vendor commands are always sent for panasonic, and that + the deck status for lg isn't reset. fixes some buttons not working after + a second or delayed source switch + * added guard so ReplaceHandler() doesn't accidently try to replace a + handler for the broadcast address + * wait until the commandhandler is replaced before registering a client, + so we don't register a client and replace it directly afterwards if the + tv doesn't support the device type + * ensure that the command handler of the tv is replaced before registering + a client, or it might result in a double eeprom write attempt + * p8: don't disable controlled mode when switching to monitoring mode + * p8: do delayed eeprom writes async or it'll block processing other input + + -- Pulse-Eight Packaging Tue, 3 Aug 2012 02:35:00 +0100 + libcec (1.8.1-1) unstable; urgency=low * changed/added: diff --git a/include/cec.h b/include/cec.h index 807bcd9..bd56fff 100644 --- a/include/cec.h +++ b/include/cec.h @@ -36,7 +36,7 @@ #include "cectypes.h" -#define LIBCEC_VERSION_CURRENT CEC_SERVER_VERSION_1_8_0 +#define LIBCEC_VERSION_CURRENT CEC_SERVER_VERSION_1_8_1 namespace CEC { diff --git a/include/cectypes.h b/include/cectypes.h index 794e124..4656141 100644 --- a/include/cectypes.h +++ b/include/cectypes.h @@ -1230,7 +1230,8 @@ typedef enum cec_client_version CEC_CLIENT_VERSION_1_7_0 = 0x1700, CEC_CLIENT_VERSION_1_7_1 = 0x1701, CEC_CLIENT_VERSION_1_7_2 = 0x1702, - CEC_CLIENT_VERSION_1_8_0 = 0x1800 + CEC_CLIENT_VERSION_1_8_0 = 0x1800, + CEC_CLIENT_VERSION_1_8_1 = 0x1801 } cec_client_version; typedef enum cec_server_version @@ -1247,7 +1248,8 @@ typedef enum cec_server_version CEC_SERVER_VERSION_1_7_0 = 0x1700, CEC_SERVER_VERSION_1_7_1 = 0x1701, CEC_SERVER_VERSION_1_7_2 = 0x1702, - CEC_SERVER_VERSION_1_8_0 = 0x1800 + CEC_SERVER_VERSION_1_8_0 = 0x1800, + CEC_SERVER_VERSION_1_8_1 = 0x1801 } cec_server_version; typedef struct libcec_configuration diff --git a/project/cec-config.rc b/project/cec-config.rc index be84610b70b362d685b2929de1e9a8273473d396..93552147730f07000451dd895b4e3bc0c5b50d2d 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 0ee2868b392d0258a520fcbbb3a2928d5d0f4f4a..8d5a34be7089d9cc62ff08fc277b04e49e4f1d37 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/CecSharpClient.cs b/src/CecSharpTester/CecSharpClient.cs index 843823c..0d58134 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.Version1_8_0; + Config.ClientVersion = CecClientVersion.Version1_8_1; Config.SetCallbacks(this); LogLevel = (int)CecLogLevel.All; diff --git a/src/CecSharpTester/Properties/AssemblyInfo.cs b/src/CecSharpTester/Properties/AssemblyInfo.cs index d941918..7161761 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("1.8.0.0")] -[assembly: AssemblyFileVersion("1.8.0.0")] +[assembly: AssemblyVersion("1.8.1.0")] +[assembly: AssemblyFileVersion("1.8.1.0")] diff --git a/src/LibCecSharp/AssemblyInfo.cpp b/src/LibCecSharp/AssemblyInfo.cpp index 1640d3c..8cfa0ad 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("1.8.0.0")]; +[assembly:AssemblyVersionAttribute("1.8.1.0")]; [assembly:ComVisible(false)]; [assembly:CLSCompliantAttribute(true)]; diff --git a/src/LibCecSharp/CecSharpTypes.h b/src/LibCecSharp/CecSharpTypes.h index 0ba3c04..7b02c0d 100644 --- a/src/LibCecSharp/CecSharpTypes.h +++ b/src/LibCecSharp/CecSharpTypes.h @@ -370,7 +370,8 @@ namespace CecSharp Version1_7_0 = 0x1700, Version1_7_1 = 0x1701, Version1_7_2 = 0x1702, - Version1_8_0 = 0x1800 + Version1_8_0 = 0x1800, + Version1_8_1 = 0x1801 }; public enum class CecServerVersion @@ -387,7 +388,8 @@ namespace CecSharp Version1_7_0 = 0x1700, Version1_7_1 = 0x1701, Version1_7_2 = 0x1702, - Version1_8_0 = 0x1800 + Version1_8_0 = 0x1800, + Version1_8_1 = 0x1801 }; public ref class CecAdapter diff --git a/src/cec-config-gui/CecConfigGUI.cs b/src/cec-config-gui/CecConfigGUI.cs index a57ac35..7521b09 100644 --- a/src/cec-config-gui/CecConfigGUI.cs +++ b/src/cec-config-gui/CecConfigGUI.cs @@ -28,7 +28,7 @@ namespace CecConfigGui Config.DeviceTypes.Types[0] = CecDeviceType.RecordingDevice; Config.DeviceName = "CEC Config"; Config.GetSettingsFromROM = true; - Config.ClientVersion = CecClientVersion.Version1_8_0; + Config.ClientVersion = CecClientVersion.Version1_8_1; Callbacks = new CecCallbackWrapper(this); Config.SetCallbacks(Callbacks); LoadXMLConfiguration(ref Config); diff --git a/src/cec-config-gui/Properties/AssemblyInfo.cs b/src/cec-config-gui/Properties/AssemblyInfo.cs index d47600b..91c1763 100644 --- a/src/cec-config-gui/Properties/AssemblyInfo.cs +++ b/src/cec-config-gui/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("1.8.0.0")] -[assembly: AssemblyFileVersion("1.8.0.0")] +[assembly: AssemblyVersion("1.8.1.0")] +[assembly: AssemblyFileVersion("1.8.1.0")] diff --git a/src/cec-config/cec-config.cpp b/src/cec-config/cec-config.cpp index fbfdd36..d7775e9 100644 --- a/src/cec-config/cec-config.cpp +++ b/src/cec-config/cec-config.cpp @@ -159,7 +159,7 @@ bool OpenConnection(cec_device_type type = CEC_DEVICE_TYPE_RECORDING_DEVICE) g_config.Clear(); snprintf(g_config.strDeviceName, 13, "CEC-config"); g_config.callbackParam = NULL; - g_config.clientVersion = (uint32_t)CEC_CLIENT_VERSION_1_6_2; + g_config.clientVersion = (uint32_t)CEC_CLIENT_VERSION_1_8_1; g_callbacks.CBCecLogMessage = &CecLogMessage; g_callbacks.CBCecKeyPress = &CecKeyPress; g_callbacks.CBCecCommand = &CecCommand; diff --git a/src/lib/CECTypeUtils.h b/src/lib/CECTypeUtils.h index f088796..7a50d9e 100644 --- a/src/lib/CECTypeUtils.h +++ b/src/lib/CECTypeUtils.h @@ -545,6 +545,8 @@ namespace CEC return "1.7.2"; case CEC_CLIENT_VERSION_1_8_0: return "1.8.0"; + case CEC_CLIENT_VERSION_1_8_1: + return "1.8.1"; default: return "Unknown"; } @@ -580,6 +582,8 @@ namespace CEC return "1.7.2"; case CEC_SERVER_VERSION_1_8_0: return "1.8.0"; + case CEC_SERVER_VERSION_1_8_1: + return "1.8.1"; default: return "Unknown"; } diff --git a/src/testclient/main.cpp b/src/testclient/main.cpp index 97bdcc6..e594eaf 100644 --- a/src/testclient/main.cpp +++ b/src/testclient/main.cpp @@ -47,7 +47,7 @@ using namespace CEC; using namespace std; using namespace PLATFORM; -#define CEC_CONFIG_VERSION CEC_CLIENT_VERSION_1_8_0; +#define CEC_CONFIG_VERSION CEC_CLIENT_VERSION_1_8_1; #include -- 2.34.1