Lars Op den Kamp [Sun, 29 Jan 2012 17:03:32 +0000 (18:03 +0100)]
cec: transmit 'menu state activated' after the stream path has been set to a device that is handled by libCEC. should fix remote commands not working properly on Panasonic TVs and after another source has been active. bugzid: 233
Lars Op den Kamp [Sat, 28 Jan 2012 12:02:01 +0000 (13:02 +0100)]
cec: clean ups and only include what we need from lib/platform.
Lars Op den Kamp [Fri, 27 Jan 2012 20:08:38 +0000 (21:08 +0100)]
cec: add formating parameters to PrintToStdOut()
Lars Op den Kamp [Fri, 27 Jan 2012 20:01:13 +0000 (21:01 +0100)]
cec: set the ackmask to 0x0 when trying to find a free logical address
Lars Op den Kamp [Fri, 27 Jan 2012 12:07:46 +0000 (13:07 +0100)]
cec: bump version numbers for bugfix release 1.4.2
Lars Op den Kamp [Fri, 27 Jan 2012 00:13:53 +0000 (01:13 +0100)]
cec: try to ping the device and grab the firmware version until the connect timeout runs out. fixes failed reconnect after standby, when the adapter is still being initialised
Lars Op den Kamp [Wed, 25 Jan 2012 23:27:36 +0000 (00:27 +0100)]
typo (tab/spaces) in the changelog
Lars Op den Kamp [Wed, 25 Jan 2012 22:32:19 +0000 (23:32 +0100)]
updated changelog and version numbers for v1.4.1
Lars Op den Kamp [Wed, 25 Jan 2012 19:47:46 +0000 (20:47 +0100)]
cec: retry to get the firmware version when it failed. wait for active tranmission to finish when opening a connection to the adapter. fixes initialisation errors
Lars Op den Kamp [Wed, 25 Jan 2012 19:27:53 +0000 (20:27 +0100)]
cec: renamed WaitForTransmitSucceeded() to WaitForAck(). don't wait for an ack when the transmission failed
Lars Op den Kamp [Wed, 25 Jan 2012 19:13:52 +0000 (20:13 +0100)]
cec: retry the ping adapter command when starting libCEC. set the default transmit timeout properly instead of using 0. fixes possible infinite loop in CAdapterCommunication::WaitForTransmitSucceeded()
Lars Op den Kamp [Wed, 25 Jan 2012 18:43:41 +0000 (19:43 +0100)]
cec: don't request the firmware version when the adapter didn't respond to a ping
Lars Op den Kamp [Wed, 25 Jan 2012 18:41:21 +0000 (19:41 +0100)]
cec: added a little extra warning in support/cec-flash-device.sh
Lars Op den Kamp [Wed, 25 Jan 2012 18:31:33 +0000 (19:31 +0100)]
cec: fixed - only the key release events were sent, not keypresses, which appeared in clients as laggy keypresses
Lars Op den Kamp [Wed, 25 Jan 2012 15:45:31 +0000 (16:45 +0100)]
cec: fixed possible deadlock because of a negative timeout in CAdapterCommunication::WaitForTransmitSucceeded()
Lars Op den Kamp [Wed, 25 Jan 2012 14:49:05 +0000 (15:49 +0100)]
cec: sync win32
Lars Op den Kamp [Wed, 25 Jan 2012 14:14:27 +0000 (15:14 +0100)]
cec: simplified AddLog() method
Lars Op den Kamp [Wed, 25 Jan 2012 13:20:11 +0000 (14:20 +0100)]
cec: fixed error message in cec-client (unable to open the device on port ...)
Lars Op den Kamp [Wed, 25 Jan 2012 13:17:33 +0000 (14:17 +0100)]
cec: added a firmware flash script for linux. usage: ./support/cec-flash-device.sh /path/to/firware.hex
Lars Op den Kamp [Wed, 25 Jan 2012 11:33:30 +0000 (12:33 +0100)]
cec: don't send any CEC commands after entering bootloader mode in cec-client
Lars Op den Kamp [Wed, 25 Jan 2012 11:21:46 +0000 (12:21 +0100)]
cec: fixed return value from CAdapterCommunication::Write() when CCECAdapterMessage::expectControllerAck is false
Lars Op den Kamp [Wed, 25 Jan 2012 11:12:19 +0000 (12:12 +0100)]
cec: exit cec-client after entering bootloader mode
Lars Op den Kamp [Wed, 25 Jan 2012 10:41:26 +0000 (11:41 +0100)]
cec: check whether the adapter responds when connecting to it and report the firmware version of the adapter after connecting
Lars Op den Kamp [Wed, 25 Jan 2012 10:07:44 +0000 (11:07 +0100)]
cec: fixed - MSGCODE_START_BOOTLOADER doesn't respond with MSGCODE_COMMAND_ACCEPTED
Lars Op den Kamp [Tue, 24 Jan 2012 23:15:11 +0000 (00:15 +0100)]
cec: move WaitForTransmissionSucceeded() to CAdapterCommunication and wait for MSGCODE_COMMAND_ACCEPTED too when pinging the adapter, starting the bootloader and setting the ackmask
Lars Op den Kamp [Tue, 24 Jan 2012 10:40:42 +0000 (11:40 +0100)]
cec: moved WaitForTransmitSucceeded() to CAdapterCommunication
Lars Op den Kamp [Tue, 24 Jan 2012 10:20:27 +0000 (11:20 +0100)]
cec: moved all adapter related code to src/lib/adapter, camelcased CAdapterMessage methods, removed unneeded m_startCondition in CAdapterCommunication (this is handled by CThread now), cosmetics. win32 needs to be synced after this
Lars Op den Kamp [Mon, 23 Jan 2012 23:39:08 +0000 (00:39 +0100)]
cec: fixed - don't keep the mutex locked in CCECProcessor::Initialise()
Lars Op den Kamp [Mon, 23 Jan 2012 18:30:36 +0000 (19:30 +0100)]
cec: fixed reconnect after standby
Lars Op den Kamp [Mon, 23 Jan 2012 18:30:12 +0000 (19:30 +0100)]
cec: make sure we're not trying to unlock the mutex too many times
Lars Op den Kamp [Mon, 23 Jan 2012 15:53:07 +0000 (16:53 +0100)]
cec: reset m_bStop to false in CreateThread()
Lars Op den Kamp [Fri, 20 Jan 2012 01:52:05 +0000 (02:52 +0100)]
completely removed AM_SILENT_RULES
Lars Op den Kamp [Fri, 20 Jan 2012 01:40:01 +0000 (02:40 +0100)]
don't use AM_SILENT_RULES on darwin
Lars Op den Kamp [Wed, 18 Jan 2012 10:54:49 +0000 (11:54 +0100)]
cec: put the assembly key in AssemblyInfo.cpp
Lars Op den Kamp [Wed, 18 Jan 2012 09:55:23 +0000 (10:55 +0100)]
cec: move create-installer.cmd to support/
Lars Op den Kamp [Wed, 18 Jan 2012 01:13:32 +0000 (02:13 +0100)]
cec: only target .net 2.0, include all the new stuff in the installer
Lars Op den Kamp [Sun, 15 Jan 2012 13:32:26 +0000 (14:32 +0100)]
cec: refactored threading/locking - added windows native instead of pthread-win32, so we can compile native x64 too
Lars Op den Kamp [Sat, 14 Jan 2012 01:05:54 +0000 (02:05 +0100)]
win32: fix compilation after the last commit
Lars Op den Kamp [Fri, 13 Jan 2012 23:49:42 +0000 (00:49 +0100)]
cec: stick some interfaces before the pthread stuff, so we can add other implementations too
Lars Op den Kamp [Fri, 13 Jan 2012 19:17:38 +0000 (20:17 +0100)]
win32: sign .net 2.0 assemblies with a default key
Lars Op den Kamp [Fri, 13 Jan 2012 19:13:48 +0000 (20:13 +0100)]
win32: removed unneeded Stdafx. cleaned up targets
Lars Op den Kamp [Fri, 13 Jan 2012 13:25:52 +0000 (14:25 +0100)]
cec: added a .NET framework 2.0 version of LibCecSharp: LibCecSharp.Net2.dll
Lars Op den Kamp [Thu, 12 Jan 2012 22:48:07 +0000 (23:48 +0100)]
fixed typo in the changelog
Lars Op den Kamp [Thu, 12 Jan 2012 21:02:12 +0000 (22:02 +0100)]
cec: updated changelog and version numbers for v1.4.0
Lars Op den Kamp [Thu, 12 Jan 2012 21:01:44 +0000 (22:01 +0100)]
cec: fix win32 compilation (new parameter)
Lars Op den Kamp [Thu, 12 Jan 2012 19:55:02 +0000 (20:55 +0100)]
cec: add a void* parameter to the callback methods, that can be set when enabling them and will be passed to each call
Lars Op den Kamp [Thu, 12 Jan 2012 17:21:10 +0000 (18:21 +0100)]
cec: fix linux compilation
Lars Op den Kamp [Thu, 12 Jan 2012 16:52:50 +0000 (17:52 +0100)]
cec: use callback methods in CecSharpClient
Lars Op den Kamp [Thu, 12 Jan 2012 16:51:58 +0000 (17:51 +0100)]
cec: fixed typo in AssemblyInfo.cs that prevented CecSharpTester from compiling
Lars Op den Kamp [Thu, 12 Jan 2012 16:51:17 +0000 (17:51 +0100)]
cec: added callbacks to LibCecSharp
Lars Op den Kamp [Thu, 12 Jan 2012 16:27:43 +0000 (17:27 +0100)]
cec: added typedefs for the callback methods
Lars Op den Kamp [Thu, 12 Jan 2012 11:41:05 +0000 (12:41 +0100)]
cec: rewrote an assignment within a condition, so the silly vs compiler understands it too. fixes win32 compilation
Lars Op den Kamp [Thu, 12 Jan 2012 11:30:54 +0000 (12:30 +0100)]
cec: use callback methods in cec-client
Lars Op den Kamp [Thu, 12 Jan 2012 11:30:07 +0000 (12:30 +0100)]
cec: added callback methods to libCEC. enable them by calling EnableCallbacks(ICECCallbacks *callbacks) / cec_enable_callbacks(ICECCallbacks *callbacks). after this method is called, the GetNext...() methods will not return any data
Lars Op den Kamp [Wed, 11 Jan 2012 01:18:34 +0000 (02:18 +0100)]
cec: use the given timeout when trying to open a connection to the CEC adapter
Lars Op den Kamp [Wed, 11 Jan 2012 01:10:27 +0000 (02:10 +0100)]
cec: added the vendor id for Sony
Lars Op den Kamp [Wed, 11 Jan 2012 00:52:37 +0000 (01:52 +0100)]
cec: don't transmit physical addresses while holding a lock in CCECProcessor
Lars Op den Kamp [Wed, 11 Jan 2012 00:42:55 +0000 (01:42 +0100)]
cec: always refresh the power state of a device when it hasn't been updated for 30 seconds
Lars Op den Kamp [Wed, 11 Jan 2012 00:27:49 +0000 (01:27 +0100)]
cec: don't hold a lock when sending an active source message. fixes potential deadlock
Lars Op den Kamp [Tue, 10 Jan 2012 10:55:40 +0000 (11:55 +0100)]
cec: unload libCEC when the lib version is invalid
Lars Op den Kamp [Tue, 10 Jan 2012 09:53:45 +0000 (10:53 +0100)]
disable debug output of package builds
Lars Op den Kamp [Tue, 10 Jan 2012 09:52:48 +0000 (10:52 +0100)]
cec: enable automake silent rules by default
Lars Op den Kamp [Tue, 10 Jan 2012 09:22:30 +0000 (10:22 +0100)]
cec: add -Wno-missing-field-initializers to CXXFLAGS
Lars Op den Kamp [Tue, 10 Jan 2012 09:15:16 +0000 (10:15 +0100)]
cec: silence all 'unused' compiler warnings
Lars Op den Kamp [Sun, 8 Jan 2012 22:58:41 +0000 (14:58 -0800)]
Merge pull request #16 from finson/
65894f58514a9ab61ae20e45cfde06c9d45600e4
Resolve difference between method name in LibCECC.cpp and cecc.h.
Doug Johnson [Wed, 4 Jan 2012 22:47:36 +0000 (14:47 -0800)]
Rename LibCECC implementation of GetMinLibVersion call to match the prototype in cecc.h.
Signed-off-by: Doug Johnson <finson@whidbey.com>
Lars Op den Kamp [Tue, 3 Jan 2012 21:55:00 +0000 (22:55 +0100)]
updated changelog and bumped version numbers to 1.3.2
Lars Op den Kamp [Tue, 3 Jan 2012 17:01:12 +0000 (18:01 +0100)]
cec: don't send deck status updates when sending an active source message by default
Lars Op den Kamp [Tue, 3 Jan 2012 16:57:40 +0000 (17:57 +0100)]
cec: don't send deck status updates when sending an active source message for samsung
Lars Op den Kamp [Tue, 3 Jan 2012 16:18:03 +0000 (17:18 +0100)]
cec: get the physical address of the target device before without holding a lock in CCECProcessor::SetHDMIPort()
Lars Op den Kamp [Tue, 3 Jan 2012 15:08:36 +0000 (16:08 +0100)]
Revert "cec: use CCECCommandHandler::ActivateSource() instead of TransmitActiveSource() in CCECProcessor::SetActiveSource()"
This reverts commit
f26ea36763c4e7cca87a128e87326670699700da.
Lars Op den Kamp [Tue, 3 Jan 2012 15:08:18 +0000 (16:08 +0100)]
cec: forgot to save before committing
Lars Op den Kamp [Tue, 3 Jan 2012 14:50:48 +0000 (15:50 +0100)]
cec: hold a lock in CCECProcessor::SetHDMIPort()
Lars Op den Kamp [Tue, 3 Jan 2012 14:30:17 +0000 (15:30 +0100)]
cec: use CCECCommandHandler::ActivateSource() instead of TransmitActiveSource() in CCECProcessor::SetActiveSource()
Lars Op den Kamp [Tue, 3 Jan 2012 14:20:34 +0000 (15:20 +0100)]
revert the previous commit. CCECCommandHandler::ActivateSource() already sends the menu state
This reverts commit
a2396302c1ce78f95090bfa30ccabc5d4c377b64.
Lars Op den Kamp [Tue, 3 Jan 2012 13:36:31 +0000 (14:36 +0100)]
cec: transmit the menu state when activating the panasonic handler
Lars Op den Kamp [Tue, 3 Jan 2012 13:27:15 +0000 (14:27 +0100)]
cec: don't make libCEC the active source when changing the physical address. don't send active source messages on startup, when not the active source. fixes unwanted device power ups
Lars Op den Kamp [Tue, 3 Jan 2012 13:00:33 +0000 (14:00 +0100)]
cec: don't switch handlers when not needed
Lars Op den Kamp [Tue, 3 Jan 2012 12:58:03 +0000 (13:58 +0100)]
cec: only switch handlers once when using the generic handler
Lars Op den Kamp [Sun, 1 Jan 2012 22:24:41 +0000 (23:24 +0100)]
cec: don't send a deck status update when sending an active source message for panasonic TVs
Lars Op den Kamp [Sun, 1 Jan 2012 21:25:05 +0000 (22:25 +0100)]
cec: replace the command handler directly after receiving a changed vendor id. change the primary type from recording device to playback device for panasonic TVs
Lars Op den Kamp [Fri, 30 Dec 2011 16:00:18 +0000 (17:00 +0100)]
cec: added a script that tests some basic functions of the CEC adapter: /support/cec-test-device.sh
Lars Op den Kamp [Fri, 30 Dec 2011 15:08:05 +0000 (16:08 +0100)]
added pkg-config to the dependencies list. issue #15
Lars Op den Kamp [Fri, 30 Dec 2011 15:04:10 +0000 (16:04 +0100)]
updated README. closes #14
Lars Op den Kamp [Fri, 30 Dec 2011 14:28:38 +0000 (15:28 +0100)]
cec: place in libudev include in an extern C block. fixes compilations on older libudev versions (e.g. on Hardy). closes #2. credits @fbuenemann
Lars Op den Kamp [Thu, 29 Dec 2011 02:09:30 +0000 (03:09 +0100)]
cec: added changelog for v1.3.1
Lars Op den Kamp [Thu, 29 Dec 2011 01:48:16 +0000 (02:48 +0100)]
cec: update the power status of a device when it's set to CEC_POWER_STATUS_IN_TRANSITION_STANDBY_TO_ON
Lars Op den Kamp [Thu, 29 Dec 2011 01:47:18 +0000 (02:47 +0100)]
cec: set the expectedResponse parameter in all the Request...() methods in CCECCommandHandler
Lars Op den Kamp [Thu, 29 Dec 2011 01:44:30 +0000 (02:44 +0100)]
cec: add an 'expectedResponse' parameter to CCECCommandHandler::Transmit()
Lars Op den Kamp [Thu, 29 Dec 2011 00:37:14 +0000 (01:37 +0100)]
cec: clean up and fix the LG command handler
Lars Op den Kamp [Wed, 28 Dec 2011 10:58:56 +0000 (11:58 +0100)]
cec: move some stuff that doesn't transmit messages from CSLCommandHandler::InitHandler() to the constructor
Lars Op den Kamp [Wed, 28 Dec 2011 02:07:21 +0000 (03:07 +0100)]
cec: fixed typo in CCECCommandHandler::Transmit()
Lars Op den Kamp [Wed, 28 Dec 2011 02:03:25 +0000 (03:03 +0100)]
cec: put a call to ReplaceHandlers() back in CCECProcessor::Process(). only call InitHandler() from ReplaceHandlers() when fully initialised
Lars Op den Kamp [Wed, 28 Dec 2011 01:41:19 +0000 (02:41 +0100)]
cec: don't wait for a response when not needed
Lars Op den Kamp [Wed, 28 Dec 2011 01:32:34 +0000 (02:32 +0100)]
cec: don't hold a lock while waiting for a response. fixes failed libCEC inits and slow responses
Lars Op den Kamp [Tue, 27 Dec 2011 20:14:52 +0000 (21:14 +0100)]
cec: fix win32 build
Lars Op den Kamp [Tue, 27 Dec 2011 19:22:53 +0000 (20:22 +0100)]
cec: let CCECProcessor replace the command handlers
Lars Op den Kamp [Tue, 27 Dec 2011 19:15:44 +0000 (20:15 +0100)]
cec: cleanups/fixes in the LG command handler
Lars Op den Kamp [Tue, 27 Dec 2011 19:15:08 +0000 (20:15 +0100)]
cec: don't replace a command handler when it's being used
Lars Op den Kamp [Tue, 27 Dec 2011 19:13:41 +0000 (20:13 +0100)]
cec: add a bRecursive parameter to the constructor of CMutex