deb_libcec.git
12 years agocec: fixed - don't keep the mutex locked in CCECProcessor::Initialise()
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()

12 years agocec: fixed reconnect after standby
Lars Op den Kamp [Mon, 23 Jan 2012 18:30:36 +0000 (19:30 +0100)] 
cec: fixed reconnect after standby

12 years agocec: make sure we're not trying to unlock the mutex too many times
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

12 years agocec: reset m_bStop to false in CreateThread()
Lars Op den Kamp [Mon, 23 Jan 2012 15:53:07 +0000 (16:53 +0100)] 
cec: reset m_bStop to false in CreateThread()

12 years agocompletely removed AM_SILENT_RULES
Lars Op den Kamp [Fri, 20 Jan 2012 01:52:05 +0000 (02:52 +0100)] 
completely removed AM_SILENT_RULES

12 years agodon't use AM_SILENT_RULES on darwin
Lars Op den Kamp [Fri, 20 Jan 2012 01:40:01 +0000 (02:40 +0100)] 
don't use AM_SILENT_RULES on darwin

12 years agocec: put the assembly key in AssemblyInfo.cpp
Lars Op den Kamp [Wed, 18 Jan 2012 10:54:49 +0000 (11:54 +0100)] 
cec: put the assembly key in AssemblyInfo.cpp

12 years agocec: move create-installer.cmd to support/
Lars Op den Kamp [Wed, 18 Jan 2012 09:55:23 +0000 (10:55 +0100)] 
cec: move create-installer.cmd to support/

12 years agocec: only target .net 2.0, include all the new stuff in the installer
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

12 years agocec: refactored threading/locking - added windows native instead of pthread-win32...
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

12 years agowin32: fix compilation after the last commit
Lars Op den Kamp [Sat, 14 Jan 2012 01:05:54 +0000 (02:05 +0100)] 
win32: fix compilation after the last commit

12 years agocec: stick some interfaces before the pthread stuff, so we can add other implementati...
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

12 years agowin32: sign .net 2.0 assemblies with a default key
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

12 years agowin32: removed unneeded Stdafx. cleaned up targets
Lars Op den Kamp [Fri, 13 Jan 2012 19:13:48 +0000 (20:13 +0100)] 
win32: removed unneeded Stdafx. cleaned up targets

12 years agocec: added a .NET framework 2.0 version of LibCecSharp: LibCecSharp.Net2.dll
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

12 years agofixed typo in the changelog
Lars Op den Kamp [Thu, 12 Jan 2012 22:48:07 +0000 (23:48 +0100)] 
fixed typo in the changelog

12 years agocec: updated changelog and version numbers for v1.4.0
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

12 years agocec: fix win32 compilation (new parameter)
Lars Op den Kamp [Thu, 12 Jan 2012 21:01:44 +0000 (22:01 +0100)] 
cec: fix win32 compilation (new parameter)

12 years agocec: add a void* parameter to the callback methods, that can be set when enabling...
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

12 years agocec: fix linux compilation
Lars Op den Kamp [Thu, 12 Jan 2012 17:21:10 +0000 (18:21 +0100)] 
cec: fix linux compilation

12 years agocec: use callback methods in CecSharpClient
Lars Op den Kamp [Thu, 12 Jan 2012 16:52:50 +0000 (17:52 +0100)] 
cec: use callback methods in CecSharpClient

12 years agocec: fixed typo in AssemblyInfo.cs that prevented CecSharpTester from compiling
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

12 years agocec: added callbacks to LibCecSharp
Lars Op den Kamp [Thu, 12 Jan 2012 16:51:17 +0000 (17:51 +0100)] 
cec: added callbacks to LibCecSharp

12 years agocec: added typedefs for the callback methods
Lars Op den Kamp [Thu, 12 Jan 2012 16:27:43 +0000 (17:27 +0100)] 
cec: added typedefs for the callback methods

12 years agocec: rewrote an assignment within a condition, so the silly vs compiler understands...
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

12 years agocec: use callback methods in cec-client
Lars Op den Kamp [Thu, 12 Jan 2012 11:30:54 +0000 (12:30 +0100)] 
cec: use callback methods in cec-client

12 years agocec: added callback methods to libCEC. enable them by calling EnableCallbacks(ICECCal...
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

12 years agocec: use the given timeout when trying to open a connection to the CEC adapter
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

12 years agocec: added the vendor id for Sony
Lars Op den Kamp [Wed, 11 Jan 2012 01:10:27 +0000 (02:10 +0100)] 
cec: added the vendor id for Sony

12 years agocec: don't transmit physical addresses while holding a lock in CCECProcessor
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

12 years agocec: always refresh the power state of a device when it hasn't been updated for 30...
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

12 years agocec: don't hold a lock when sending an active source message. fixes potential deadlock
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

12 years agocec: unload libCEC when the lib version is invalid
Lars Op den Kamp [Tue, 10 Jan 2012 10:55:40 +0000 (11:55 +0100)] 
cec: unload libCEC when the lib version is invalid

12 years agodisable debug output of package builds
Lars Op den Kamp [Tue, 10 Jan 2012 09:53:45 +0000 (10:53 +0100)] 
disable debug output of package builds

12 years agocec: enable automake silent rules by default
Lars Op den Kamp [Tue, 10 Jan 2012 09:52:48 +0000 (10:52 +0100)] 
cec: enable automake silent rules by default

12 years agocec: add -Wno-missing-field-initializers to CXXFLAGS
Lars Op den Kamp [Tue, 10 Jan 2012 09:22:30 +0000 (10:22 +0100)] 
cec: add -Wno-missing-field-initializers to CXXFLAGS

12 years agocec: silence all 'unused' compiler warnings
Lars Op den Kamp [Tue, 10 Jan 2012 09:15:16 +0000 (10:15 +0100)] 
cec: silence all 'unused' compiler warnings

12 years agoMerge pull request #16 from finson/65894f58514a9ab61ae20e45cfde06c9d45600e4
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.

12 years agoRename LibCECC implementation of GetMinLibVersion call to match the prototype in...
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>
12 years agoupdated changelog and bumped version numbers to 1.3.2
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

12 years agocec: don't send deck status updates when sending an active source message by default
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

12 years agocec: don't send deck status updates when sending an active source message for samsung
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

12 years agocec: get the physical address of the target device before without holding a lock...
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()

12 years agoRevert "cec: use CCECCommandHandler::ActivateSource() instead of TransmitActiveSource...
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.

12 years agocec: forgot to save before committing
Lars Op den Kamp [Tue, 3 Jan 2012 15:08:18 +0000 (16:08 +0100)] 
cec: forgot to save before committing

12 years agocec: hold a lock in CCECProcessor::SetHDMIPort()
Lars Op den Kamp [Tue, 3 Jan 2012 14:50:48 +0000 (15:50 +0100)] 
cec: hold a lock in CCECProcessor::SetHDMIPort()

12 years agocec: use CCECCommandHandler::ActivateSource() instead of TransmitActiveSource() in...
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()

12 years agorevert the previous commit. CCECCommandHandler::ActivateSource() already sends the...
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.

12 years agocec: transmit the menu state when activating the panasonic handler
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

12 years agocec: don't make libCEC the active source when changing the physical address. don...
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

12 years agocec: don't switch handlers when not needed
Lars Op den Kamp [Tue, 3 Jan 2012 13:00:33 +0000 (14:00 +0100)] 
cec: don't switch handlers when not needed

12 years agocec: only switch handlers once when using the generic handler
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

12 years agocec: don't send a deck status update when sending an active source message for panaso...
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

12 years agocec: replace the command handler directly after receiving a changed vendor id. change...
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

12 years agocec: added a script that tests some basic functions of the CEC adapter: /support...
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

12 years agoadded pkg-config to the dependencies list. issue #15
Lars Op den Kamp [Fri, 30 Dec 2011 15:08:05 +0000 (16:08 +0100)] 
added pkg-config to the dependencies list. issue #15

12 years agoupdated README. closes #14
Lars Op den Kamp [Fri, 30 Dec 2011 15:04:10 +0000 (16:04 +0100)] 
updated README. closes #14

12 years agocec: place in libudev include in an extern C block. fixes compilations on older libud...
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

12 years agocec: added changelog for v1.3.1
Lars Op den Kamp [Thu, 29 Dec 2011 02:09:30 +0000 (03:09 +0100)] 
cec: added changelog for v1.3.1

12 years agocec: update the power status of a device when it's set to CEC_POWER_STATUS_IN_TRANSIT...
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

12 years agocec: set the expectedResponse parameter in all the Request...() methods in CCECComman...
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

12 years agocec: add an 'expectedResponse' parameter to CCECCommandHandler::Transmit()
Lars Op den Kamp [Thu, 29 Dec 2011 01:44:30 +0000 (02:44 +0100)] 
cec: add an 'expectedResponse' parameter to CCECCommandHandler::Transmit()

12 years agocec: clean up and fix the LG command handler
Lars Op den Kamp [Thu, 29 Dec 2011 00:37:14 +0000 (01:37 +0100)] 
cec: clean up and fix the LG command handler

12 years agocec: move some stuff that doesn't transmit messages from CSLCommandHandler::InitHandl...
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

12 years agocec: fixed typo in CCECCommandHandler::Transmit()
Lars Op den Kamp [Wed, 28 Dec 2011 02:07:21 +0000 (03:07 +0100)] 
cec: fixed typo in CCECCommandHandler::Transmit()

12 years agocec: put a call to ReplaceHandlers() back in CCECProcessor::Process(). only call...
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

12 years agocec: don't wait for a response when not needed
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

12 years agocec: don't hold a lock while waiting for a response. fixes failed libCEC inits and...
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

12 years agocec: fix win32 build
Lars Op den Kamp [Tue, 27 Dec 2011 20:14:52 +0000 (21:14 +0100)] 
cec: fix win32 build

12 years agocec: let CCECProcessor replace the command handlers
Lars Op den Kamp [Tue, 27 Dec 2011 19:22:53 +0000 (20:22 +0100)] 
cec: let CCECProcessor replace the command handlers

12 years agocec: cleanups/fixes in the LG command handler
Lars Op den Kamp [Tue, 27 Dec 2011 19:15:44 +0000 (20:15 +0100)] 
cec: cleanups/fixes in the LG command handler

12 years agocec: don't replace a command handler when it's being used
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

12 years agocec: add a bRecursive parameter to the constructor of CMutex
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

12 years agoRevert "cec: fixed typo which prevented LG TVs from connecting sometimes". This broke...
Lars Op den Kamp [Fri, 23 Dec 2011 01:14:59 +0000 (02:14 +0100)] 
Revert "cec: fixed typo which prevented LG TVs from connecting sometimes". This broke TV power on

This reverts commit e81c6777aada2aea5bff91fb88a8194d61ae4cd6.

12 years agocec: remove m_writeMutex in CCECBusDevice
Lars Op den Kamp [Fri, 23 Dec 2011 01:01:29 +0000 (02:01 +0100)] 
cec: remove m_writeMutex in CCECBusDevice

12 years agocec: use a recursive mutex
Lars Op den Kamp [Fri, 23 Dec 2011 00:59:09 +0000 (01:59 +0100)] 
cec: use a recursive mutex

12 years agocec: fixed typo which prevented LG TVs from connecting sometimes
Lars Op den Kamp [Thu, 22 Dec 2011 23:47:15 +0000 (00:47 +0100)] 
cec: fixed typo which prevented LG TVs from connecting sometimes

12 years agocec: cleaned up processor thread start
Lars Op den Kamp [Thu, 22 Dec 2011 21:35:57 +0000 (22:35 +0100)] 
cec: cleaned up processor thread start

12 years agocec: forgot the return value in HanldeFeatureAbort()
Lars Op den Kamp [Thu, 22 Dec 2011 00:08:50 +0000 (01:08 +0100)] 
cec: forgot the return value in HanldeFeatureAbort()

12 years agocec: fix handler init
Lars Op den Kamp [Wed, 21 Dec 2011 23:55:45 +0000 (00:55 +0100)] 
cec: fix handler init

12 years agocec: simplify CCECProcessor::SetHDMIPort()
Lars Op den Kamp [Wed, 21 Dec 2011 23:37:49 +0000 (00:37 +0100)] 
cec: simplify CCECProcessor::SetHDMIPort()

12 years agocec: don't try to do anything before the processor thread has started
Lars Op den Kamp [Wed, 21 Dec 2011 23:25:33 +0000 (00:25 +0100)] 
cec: don't try to do anything before the processor thread has started

12 years agocec: don't keep trying the same command/request after receiving a feature abort message
Lars Op den Kamp [Wed, 21 Dec 2011 23:21:29 +0000 (00:21 +0100)] 
cec: don't keep trying the same command/request after receiving a feature abort message

12 years agocec: disable background polling. let the client request this info when needed
Lars Op den Kamp [Wed, 21 Dec 2011 22:54:19 +0000 (23:54 +0100)] 
cec: disable background polling. let the client request this info when needed

12 years agocec: pass bWait in CCECProcessor::TransmitKeypress() and TransmitKeyRelease()
Lars Op den Kamp [Wed, 21 Dec 2011 22:50:10 +0000 (23:50 +0100)] 
cec: pass bWait in CCECProcessor::TransmitKeypress() and TransmitKeyRelease()

12 years agocosmetics
Lars Op den Kamp [Wed, 21 Dec 2011 22:49:03 +0000 (23:49 +0100)] 
cosmetics

12 years agocec: copy libcec.dll to the XBMC installation dir when XBMC is found
Buildserver [Wed, 21 Dec 2011 10:16:31 +0000 (11:16 +0100)] 
cec: copy libcec.dll to the XBMC installation dir when XBMC is found

12 years agocec: missing return statement in CCECCommandHandler::InitHandler()
Lars Op den Kamp [Tue, 20 Dec 2011 23:29:46 +0000 (00:29 +0100)] 
cec: missing return statement in CCECCommandHandler::InitHandler()

12 years agocec: transmit an active source message when transmitting the physical address
Lars Op den Kamp [Tue, 20 Dec 2011 23:27:42 +0000 (00:27 +0100)] 
cec: transmit an active source message when transmitting the physical address

12 years agocec: don't transmit active source messages when the physical address is still 0xFFFF
Lars Op den Kamp [Tue, 20 Dec 2011 23:11:19 +0000 (00:11 +0100)] 
cec: don't transmit active source messages when the physical address is still 0xFFFF

12 years agocec: don't init the default handler before the physical address is known
Lars Op den Kamp [Tue, 20 Dec 2011 22:42:21 +0000 (23:42 +0100)] 
cec: don't init the default handler before the physical address is known

12 years agocec: set the power state to 'powered on' by default
Lars Op den Kamp [Tue, 20 Dec 2011 22:27:18 +0000 (23:27 +0100)] 
cec: set the power state to 'powered on' by default

12 years agocec: init the default handler after starting up. sets the active source and menu...
Lars Op den Kamp [Tue, 20 Dec 2011 22:13:34 +0000 (23:13 +0100)] 
cec: init the default handler after starting up. sets the active source and menu state to active

12 years agocec: don't send the power up/down keypress to listeners when in the initial device...
Lars Op den Kamp [Tue, 20 Dec 2011 21:54:19 +0000 (22:54 +0100)] 
cec: don't send the power up/down keypress to listeners when in the initial device state (powered off). fixes unexpected shutdown in XBMC when connecting to the CEC adapter

12 years agocec: handle the bWait parameter in TransmitKeypress() and TransmitKeyRelease()
Lars Op den Kamp [Tue, 20 Dec 2011 21:53:08 +0000 (22:53 +0100)] 
cec: handle the bWait parameter in TransmitKeypress() and TransmitKeyRelease()

12 years agocec: send a 'menu state activated' command when starting up. bugzid: 113
Lars Op den Kamp [Tue, 20 Dec 2011 20:08:38 +0000 (21:08 +0100)] 
cec: send a 'menu state activated' command when starting up. bugzid: 113

12 years agocec: change the previously unused boolean parameter in volume control methods to...
Lars Op den Kamp [Tue, 20 Dec 2011 20:04:52 +0000 (21:04 +0100)] 
cec: change the previously unused boolean parameter in volume control methods to bSendRelease, and only send a key release when it's true. default to true

12 years agofixed typo in the changelog version
Lars Op den Kamp [Fri, 9 Dec 2011 12:47:28 +0000 (13:47 +0100)] 
fixed typo in the changelog version

12 years agocec: fixed - set power state to powered off when a device handled by libcec is made...
Lars Op den Kamp [Fri, 9 Dec 2011 12:28:37 +0000 (13:28 +0100)] 
cec: fixed - set power state to powered off when a device handled by libcec is made inactive. transmit an active source message and the deck status when made active

12 years agocec: fixed - transmit an active source message when the stream path has been set...
Lars Op den Kamp [Fri, 9 Dec 2011 11:36:04 +0000 (12:36 +0100)] 
cec: fixed - transmit an active source message when the stream path has been set to a device that is handled by libcec