deb_libcec.git
12 years agocec: fixed 'unsupported command' marking in CCECBusDevice
Lars Op den Kamp [Fri, 17 Feb 2012 09:53:56 +0000 (10:53 +0100)] 
cec: fixed 'unsupported command' marking in CCECBusDevice

12 years agocec: fixed - directly process commands that have been received, or all the 'request...
Lars Op den Kamp [Fri, 17 Feb 2012 09:53:17 +0000 (10:53 +0100)] 
cec: fixed - directly process commands that have been received, or all the 'request' methods will fail initially

12 years agotabs -> spaces
Lars Op den Kamp [Fri, 17 Feb 2012 01:59:46 +0000 (02:59 +0100)] 
tabs -> spaces

12 years agoplatform: fixed return value from CCondition::Wait()
Lars Op den Kamp [Fri, 17 Feb 2012 01:58:48 +0000 (02:58 +0100)] 
platform: fixed return value from CCondition::Wait()

12 years agocec-config-gui: fixed typo that saved the incorrect base device setting
Lars Op den Kamp [Thu, 16 Feb 2012 19:28:08 +0000 (20:28 +0100)] 
cec-config-gui: fixed typo that saved the incorrect base device setting

12 years agocec: bump version numbers to 1.5, to prepare for the new release
Lars Op den Kamp [Thu, 16 Feb 2012 18:48:02 +0000 (19:48 +0100)] 
cec: bump version numbers to 1.5, to prepare for the new release

12 years agocec: restore the order in the headers
Lars Op den Kamp [Thu, 16 Feb 2012 13:54:21 +0000 (14:54 +0100)] 
cec: restore the order in the headers

12 years agocec: added RescanDevices()/cec_rescan_devices() to the interface, to let libCEC force...
Lars Op den Kamp [Thu, 16 Feb 2012 13:11:09 +0000 (14:11 +0100)] 
cec: added RescanDevices()/cec_rescan_devices() to the interface, to let libCEC force polls to all logical addresses. deprecated GetLibVersion() methods, and added the server version to libcec_configuration. added missing libcec_configuration conversions in LibCecSharp.

12 years agoinstaller: reuse the previous driver installer if it's found
Lars Op den Kamp [Thu, 16 Feb 2012 11:12:42 +0000 (12:12 +0100)] 
installer: reuse the previous driver installer if it's found

12 years agocec: check whether the port is open, not whether libCEC is initialised in Transmit()
Lars Op den Kamp [Thu, 16 Feb 2012 09:57:26 +0000 (10:57 +0100)] 
cec: check whether the port is open, not whether libCEC is initialised in Transmit()

12 years agocec: ensure that the ackmask is always set to 0 when closing the connection and that...
Lars Op den Kamp [Thu, 16 Feb 2012 09:44:27 +0000 (10:44 +0100)] 
cec: ensure that the ackmask is always set to 0 when closing the connection and that the call doesn't block the Close() call

12 years agocec-config-gui: make the progress bar invisible when done. disable the physical addre...
Lars Op den Kamp [Thu, 16 Feb 2012 09:08:13 +0000 (10:08 +0100)] 
cec-config-gui: make the progress bar invisible when done. disable the physical address/hdmi port settings when the address is autodetected.

12 years agocec: moved the autodetect address api call to libcec_configuration. only send power...
Lars Op den Kamp [Thu, 16 Feb 2012 09:07:23 +0000 (10:07 +0100)] 
cec: moved the autodetect address api call to libcec_configuration. only send power up commands to non-tv devices when the power state is not on/transition->on. let players call the power up/power down command.

12 years agocec: removed unneeded client version from the CCECProcessor constructor
Lars Op den Kamp [Thu, 16 Feb 2012 01:13:40 +0000 (02:13 +0100)] 
cec: removed unneeded client version from the CCECProcessor constructor

12 years agocec-config-gui: added implementations for "wake devices" and "standby devices"
Lars Op den Kamp [Thu, 16 Feb 2012 00:59:44 +0000 (01:59 +0100)] 
cec-config-gui: added implementations for "wake devices" and "standby devices"

12 years agoLibCecSharp: pass correctly formatted logical address lists
Lars Op den Kamp [Thu, 16 Feb 2012 00:59:06 +0000 (01:59 +0100)] 
LibCecSharp: pass correctly formatted logical address lists

12 years agocec: fix active source switches for the standard CEC implementation. added some log...
Lars Op den Kamp [Thu, 16 Feb 2012 00:58:29 +0000 (01:58 +0100)] 
cec: fix active source switches for the standard CEC implementation. added some log messages. ensure that we don't send data to ourself

12 years agocec: don't hold a lock in CCECBusDevice when calling GetStatus()
Lars Op den Kamp [Thu, 16 Feb 2012 00:04:58 +0000 (01:04 +0100)] 
cec: don't hold a lock in CCECBusDevice when calling GetStatus()

12 years agocec-config-gui: added an update button on the device info window
Lars Op den Kamp [Wed, 15 Feb 2012 21:19:55 +0000 (22:19 +0100)] 
cec-config-gui: added an update button on the device info window

12 years agocec-config-gui: open the connection in the background thread
Lars Op den Kamp [Wed, 15 Feb 2012 19:51:18 +0000 (20:51 +0100)] 
cec-config-gui: open the connection in the background thread

12 years agocec-config-gui: no longer showing modal device info windows
Lars Op den Kamp [Wed, 15 Feb 2012 19:27:05 +0000 (20:27 +0100)] 
cec-config-gui: no longer showing modal device info windows

12 years agocec-config-gui: don't update the log window all the time when it's not the selected tab
Lars Op den Kamp [Wed, 15 Feb 2012 18:39:40 +0000 (19:39 +0100)] 
cec-config-gui: don't update the log window all the time when it's not the selected tab

12 years agocec: added GetPortName() to CUSBCECAdapterCommunication
Lars Op den Kamp [Wed, 15 Feb 2012 18:38:14 +0000 (19:38 +0100)] 
cec: added GetPortName() to CUSBCECAdapterCommunication

12 years agocec: don't lock the mutex when checking for the poll status of a device. this is...
Lars Op den Kamp [Wed, 15 Feb 2012 18:37:41 +0000 (19:37 +0100)] 
cec: don't lock the mutex when checking for the poll status of a device. this is always called from the same thread

12 years agocec: don't do a full reinit when not needed
Lars Op den Kamp [Wed, 15 Feb 2012 18:37:01 +0000 (19:37 +0100)] 
cec: don't do a full reinit when not needed

12 years agoLibCecSharp: delete the internal callback struct when closing the connection
Lars Op den Kamp [Wed, 15 Feb 2012 16:29:36 +0000 (17:29 +0100)] 
LibCecSharp: delete the internal callback struct when closing the connection

12 years agocec-config-gui: cosmetics
Lars Op den Kamp [Wed, 15 Feb 2012 16:28:59 +0000 (17:28 +0100)] 
cec-config-gui: cosmetics

12 years agocec-config-gui: read/write the vendor id override setting
Lars Op den Kamp [Wed, 15 Feb 2012 15:27:06 +0000 (16:27 +0100)] 
cec-config-gui: read/write the vendor id override setting

12 years agocec-config-gui: added the new parameters. cleanup round.
Lars Op den Kamp [Wed, 15 Feb 2012 15:02:26 +0000 (16:02 +0100)] 
cec-config-gui: added the new parameters. cleanup round.

12 years agoLibCecSharp: added the new parameters
Lars Op den Kamp [Wed, 15 Feb 2012 15:01:35 +0000 (16:01 +0100)] 
LibCecSharp: added the new parameters

12 years agocec: added poweroff devices parameter to the config (instead of a boolean parameter...
Lars Op den Kamp [Wed, 15 Feb 2012 15:00:56 +0000 (16:00 +0100)] 
cec: added poweroff devices parameter to the config (instead of a boolean parameter). changed the power on parameter into activate source.

12 years agocec: added a callback that is called when libCEC's configuration changed.
Lars Op den Kamp [Wed, 15 Feb 2012 12:07:28 +0000 (13:07 +0100)] 
cec: added a callback that is called when libCEC's configuration changed.

12 years agocec: don't reset the "adapter message sent" event
Lars Op den Kamp [Wed, 15 Feb 2012 10:00:33 +0000 (11:00 +0100)] 
cec: don't reset the "adapter message sent" event

12 years agocec: transmit a keypress and key release as power on command when the target device...
Lars Op den Kamp [Wed, 15 Feb 2012 01:55:06 +0000 (02:55 +0100)] 
cec: transmit a keypress and key release as power on command when the target device isn't the TV

12 years agocec-config-gui: updated labels, added 'not implemented' warning for the button config...
Lars Op den Kamp [Wed, 15 Feb 2012 01:48:39 +0000 (02:48 +0100)] 
cec-config-gui: updated labels, added 'not implemented' warning for the button config, leave unimplemented inputs disabled

12 years agocec-config-gui: added some basic test commands and device information
Lars Op den Kamp [Tue, 14 Feb 2012 19:06:04 +0000 (20:06 +0100)] 
cec-config-gui: added some basic test commands and device information

12 years agocec: return the anynet return keycode directly instead of translating it to 'return...
Lars Op den Kamp [Tue, 14 Feb 2012 16:56:48 +0000 (17:56 +0100)] 
cec: return the anynet return keycode directly instead of translating it to 'return' for v1.5.0+ clients

12 years agocec: added SetConfiguration()/cec_set_configuration() to the interface
Lars Op den Kamp [Tue, 14 Feb 2012 16:33:00 +0000 (17:33 +0100)] 
cec: added SetConfiguration()/cec_set_configuration() to the interface

12 years agoLibCecSharp: set the callback methods in libcec to NULL before closing the connection...
Lars Op den Kamp [Tue, 14 Feb 2012 14:44:50 +0000 (15:44 +0100)] 
LibCecSharp: set the callback methods in libcec to NULL before closing the connection, since these might already have been destroyed in .NET

12 years agocec: ensure that there always is at least one device type set
Lars Op den Kamp [Tue, 14 Feb 2012 14:40:28 +0000 (15:40 +0100)] 
cec: ensure that there always is at least one device type set

12 years agocec-config-gui: read the configuration before initialising libCEC
Lars Op den Kamp [Tue, 14 Feb 2012 13:42:24 +0000 (14:42 +0100)] 
cec-config-gui: read the configuration before initialising libCEC

12 years agocec-config-gui: added a button configuration panel. currently only shows all cec...
Lars Op den Kamp [Tue, 14 Feb 2012 13:20:16 +0000 (14:20 +0100)] 
cec-config-gui: added a button configuration panel. currently only shows all cec keys and select the correct row when a key is pressed

12 years agocec-config-gui: added log level configuration and a 'save' and 'clear' button for...
Lars Op den Kamp [Tue, 14 Feb 2012 11:42:13 +0000 (12:42 +0100)] 
cec-config-gui: added log level configuration and a 'save' and 'clear' button for the log

12 years agocec-config-gui: don't enable the 'connected device' selection when there's only one...
Lars Op den Kamp [Tue, 14 Feb 2012 11:01:53 +0000 (12:01 +0100)] 
cec-config-gui: don't enable the 'connected device' selection when there's only one device

12 years agoplatform: added CCondition::Wait() without a timeout for windows. fixes compilation...
Lars Op den Kamp [Tue, 14 Feb 2012 10:39:56 +0000 (11:39 +0100)] 
platform: added CCondition::Wait() without a timeout for windows. fixes compilation on windows

12 years agoplatform: let CTimeout return uint32_t instead of uint64_t. fixes compilation warning
Lars Op den Kamp [Tue, 14 Feb 2012 10:39:20 +0000 (11:39 +0100)] 
platform: let CTimeout return uint32_t instead of uint64_t. fixes compilation warning

12 years agocec: add an option to wake multiple devices via the initial configuration
Lars Op den Kamp [Tue, 14 Feb 2012 01:14:50 +0000 (02:14 +0100)] 
cec: add an option to wake multiple devices via the initial configuration

12 years agocec: allow to override the TV vendor id via the initial configuration
Lars Op den Kamp [Tue, 14 Feb 2012 01:09:49 +0000 (02:09 +0100)] 
cec: allow to override the TV vendor id via the initial configuration

12 years agocec-config: always set the hdmi port number and device, or v1.4- clients won't work...
Lars Op den Kamp [Tue, 14 Feb 2012 01:04:59 +0000 (02:04 +0100)] 
cec-config: always set the hdmi port number and device, or v1.4- clients won't work properly

12 years agocec: send power state 'standby->on' before 'on' for SL
Lars Op den Kamp [Tue, 14 Feb 2012 00:43:03 +0000 (01:43 +0100)] 
cec: send power state 'standby->on' before 'on' for SL

12 years agocec: cleanups in ActivateSource() and CSLCommandHandler
Lars Op den Kamp [Mon, 13 Feb 2012 23:29:26 +0000 (00:29 +0100)] 
cec: cleanups in ActivateSource() and CSLCommandHandler

12 years agocec: fix the initial hdmi port setting
Lars Op den Kamp [Mon, 13 Feb 2012 19:45:35 +0000 (20:45 +0100)] 
cec: fix the initial hdmi port setting

12 years agocec: fix SL reconnect when the source has been switched before standby
Lars Op den Kamp [Mon, 13 Feb 2012 19:40:47 +0000 (20:40 +0100)] 
cec: fix SL reconnect when the source has been switched before standby

12 years agocec: also send 'image view on' before setting the active source
Lars Op den Kamp [Mon, 13 Feb 2012 19:21:20 +0000 (20:21 +0100)] 
cec: also send 'image view on' before setting the active source

12 years agocec: added defines for SL vendor command 02
Lars Op den Kamp [Mon, 13 Feb 2012 18:16:56 +0000 (19:16 +0100)] 
cec: added defines for SL vendor command 02

12 years agocec: don't send power on, acitve source and standby commands by default in cec-client
Lars Op den Kamp [Mon, 13 Feb 2012 17:42:18 +0000 (18:42 +0100)] 
cec: don't send power on, acitve source and standby commands by default in cec-client

12 years agocec: implemented power up for LG devices other than a TV
Lars Op den Kamp [Mon, 13 Feb 2012 17:07:24 +0000 (18:07 +0100)] 
cec: implemented power up for LG devices other than a TV

12 years agocec: poll the next device when the current is handled by libCEC. check the vendor...
Lars Op den Kamp [Mon, 13 Feb 2012 17:06:49 +0000 (18:06 +0100)] 
cec: poll the next device when the current is handled by libCEC. check the vendor id of a device before sending a power on command

12 years agocec: just send the vendor id in InitHandler()
Lars Op den Kamp [Mon, 13 Feb 2012 16:19:06 +0000 (17:19 +0100)] 
cec: just send the vendor id in InitHandler()

12 years agocec: replace the handler for the primary device directly after setting the type to LG
Lars Op den Kamp [Mon, 13 Feb 2012 13:44:42 +0000 (14:44 +0100)] 
cec: replace the handler for the primary device directly after setting the type to LG

12 years agocec: protect the SL state vars with a mutex
Lars Op den Kamp [Mon, 13 Feb 2012 12:36:00 +0000 (13:36 +0100)] 
cec: protect the SL state vars with a mutex

12 years agocec: added a couple of debug lines
Lars Op den Kamp [Mon, 13 Feb 2012 12:22:42 +0000 (13:22 +0100)] 
cec: added a couple of debug lines

12 years agocec: send the physical address before sending the vendor id in the SL handler
Lars Op den Kamp [Mon, 13 Feb 2012 12:05:00 +0000 (13:05 +0100)] 
cec: send the physical address before sending the vendor id in the SL handler

12 years agocec: send power state 'standby->on' to the tv when initing the SL handler
Lars Op den Kamp [Mon, 13 Feb 2012 12:01:14 +0000 (13:01 +0100)] 
cec: send power state 'standby->on' to the tv when initing the SL handler

12 years agocec: don't send 'image view on' when calling SetActiveSource()
Lars Op den Kamp [Mon, 13 Feb 2012 11:56:16 +0000 (12:56 +0100)] 
cec: don't send 'image view on' when calling SetActiveSource()

12 years agocec: don't send menu state updates to LG
Lars Op den Kamp [Mon, 13 Feb 2012 11:41:20 +0000 (12:41 +0100)] 
cec: don't send menu state updates to LG

12 years agocec: only let SL bug out when the power state is requested twice in 5 seconds. don...
Lars Op den Kamp [Mon, 13 Feb 2012 09:28:14 +0000 (10:28 +0100)] 
cec: only let SL bug out when the power state is requested twice in 5 seconds. don't allow to send active source message when SL isn't initialised

12 years agoplatform: added an Init() method in CTimeout, so it can be reset
Lars Op den Kamp [Mon, 13 Feb 2012 02:02:55 +0000 (03:02 +0100)] 
platform: added an Init() method in CTimeout, so it can be reset

12 years agocec: only replace handlers in the background thread in CCECProcessor. don't keep...
Lars Op den Kamp [Mon, 13 Feb 2012 01:27:20 +0000 (02:27 +0100)] 
cec: only replace handlers in the background thread in CCECProcessor. don't keep the mutex locked

12 years agocec: don't keep the mutex in CCECBusDevice locked in TransmitImageViewOn()
Lars Op den Kamp [Mon, 13 Feb 2012 01:23:58 +0000 (02:23 +0100)] 
cec: don't keep the mutex in CCECBusDevice locked in TransmitImageViewOn()

12 years agocec: send LG's vendor id to broadcast, not the tv
Lars Op den Kamp [Mon, 13 Feb 2012 00:09:11 +0000 (01:09 +0100)] 
cec: send LG's vendor id to broadcast, not the tv

12 years agocec: reconnect SL after TV standby
Lars Op den Kamp [Sun, 12 Feb 2012 19:32:30 +0000 (20:32 +0100)] 
cec: reconnect SL after TV standby

12 years agocec: vendor command 05 -> TransmitVendorCommandSetDeviceMode
Lars Op den Kamp [Sun, 12 Feb 2012 19:10:10 +0000 (20:10 +0100)] 
cec: vendor command 05 -> TransmitVendorCommandSetDeviceMode

12 years agocec: more SL hacks
Lars Op den Kamp [Sun, 12 Feb 2012 19:01:44 +0000 (20:01 +0100)] 
cec: more SL hacks

12 years agocec: more LG loop fix hacks
Lars Op den Kamp [Sun, 12 Feb 2012 16:20:09 +0000 (17:20 +0100)] 
cec: more LG loop fix hacks

12 years agocec: stop replying to power status requests from LG when the power state is 'on'
Lars Op den Kamp [Sun, 12 Feb 2012 14:42:03 +0000 (15:42 +0100)] 
cec: stop replying to power status requests from LG when the power state is 'on'

12 years agocec: fix loop when initialising LG
Lars Op den Kamp [Sun, 12 Feb 2012 14:34:53 +0000 (15:34 +0100)] 
cec: fix loop when initialising LG

12 years agocec: don't send 'image view on' to LG unless needed, or the tv will get caught in...
Lars Op den Kamp [Sun, 12 Feb 2012 14:04:07 +0000 (15:04 +0100)] 
cec: don't send 'image view on' to LG unless needed, or the tv will get caught in a loop

12 years agocec: lg expects the device type on 89:05. set deck status 0x20 only for recorders
Lars Op den Kamp [Sat, 11 Feb 2012 21:24:28 +0000 (22:24 +0100)] 
cec: lg expects the device type on 89:05. set deck status 0x20 only for recorders

12 years agocec: send feature abort to LG devices when they send a vendor id. start with status...
Lars Op den Kamp [Sat, 11 Feb 2012 20:57:26 +0000 (21:57 +0100)] 
cec: send feature abort to LG devices when they send a vendor id. start with status 'in transition standby to on' for LG

12 years agocec: don't try to lock the transmit mutex when deleting a command handler
Lars Op den Kamp [Sat, 11 Feb 2012 20:46:09 +0000 (21:46 +0100)] 
cec: don't try to lock the transmit mutex when deleting a command handler

12 years agocec: fix 104125dc8316fb58253c34f417ded1e85b22c9f8
Lars Op den Kamp [Sat, 11 Feb 2012 20:28:58 +0000 (21:28 +0100)] 
cec: fix 104125dc8316fb58253c34f417ded1e85b22c9f8

12 years agocec: don't keep the mutex locked in CCECBusDevice when calling InitHandler
Lars Op den Kamp [Sat, 11 Feb 2012 20:06:33 +0000 (21:06 +0100)] 
cec: don't keep the mutex locked in CCECBusDevice when calling InitHandler

12 years agocec: prevent possible deadlock when closing the connection in CUSBCECAdapterCommunica...
Lars Op den Kamp [Sat, 11 Feb 2012 20:02:32 +0000 (21:02 +0100)] 
cec: prevent possible deadlock when closing the connection in CUSBCECAdapterCommunication::Close()

12 years agocec: keep the 'busy state' of the command handler in CCECBusDevice
Lars Op den Kamp [Sat, 11 Feb 2012 20:01:02 +0000 (21:01 +0100)] 
cec: keep the 'busy state' of the command handler in CCECBusDevice

12 years agocec: and now proper predicates
Lars Op den Kamp [Sat, 11 Feb 2012 18:50:50 +0000 (19:50 +0100)] 
cec: and now proper predicates

12 years agoRevert "platform: added predicate in CCondition"
Lars Op den Kamp [Sat, 11 Feb 2012 17:55:28 +0000 (18:55 +0100)] 
Revert "platform: added predicate in CCondition"

This reverts commit 41c655b6ba019bd5c342be9fcfa8c34fad0178ef.

12 years agoplatform: fixed return values of socket operations in lib/platform
Lars Op den Kamp [Sat, 11 Feb 2012 01:40:56 +0000 (02:40 +0100)] 
platform: fixed return values of socket operations in lib/platform

12 years agoplatform: added predicate in CCondition
Lars Op den Kamp [Sat, 11 Feb 2012 01:26:37 +0000 (02:26 +0100)] 
platform: added predicate in CCondition

12 years agocec: fix linux compilation and warning after the recent changes
Lars Op den Kamp [Fri, 10 Feb 2012 23:31:30 +0000 (00:31 +0100)] 
cec: fix linux compilation and warning after the recent changes

12 years agocec-config-gui: display the detected menu language
Lars Op den Kamp [Fri, 10 Feb 2012 20:15:01 +0000 (21:15 +0100)] 
cec-config-gui: display the detected menu language

12 years agocec-config-gui: added some tooltips
Lars Op den Kamp [Fri, 10 Feb 2012 20:00:20 +0000 (21:00 +0100)] 
cec-config-gui: added some tooltips

12 years agodeleted the signed driver from the tree, since that doesn't work. let the installer...
Lars Op den Kamp [Fri, 10 Feb 2012 19:43:12 +0000 (20:43 +0100)] 
deleted the signed driver from the tree, since that doesn't work. let the installer create a new signed driver on the production build system

12 years agoadded the new config tool to the installer
Lars Op den Kamp [Fri, 10 Feb 2012 19:19:17 +0000 (20:19 +0100)] 
added the new config tool to the installer

12 years agocec: added a .net CEC configuration tool
Lars Op den Kamp [Fri, 10 Feb 2012 18:52:25 +0000 (19:52 +0100)] 
cec: added a .net CEC configuration tool

12 years agocec: added GetLogicalAddresses() and SetStreamPath() to LibCecSharp
Lars Op den Kamp [Fri, 10 Feb 2012 11:53:11 +0000 (12:53 +0100)] 
cec: added GetLogicalAddresses() and SetStreamPath() to LibCecSharp

12 years agocec: use the new "config constructor" in CecSharpClient
Lars Op den Kamp [Fri, 10 Feb 2012 11:45:11 +0000 (12:45 +0100)] 
cec: use the new "config constructor" in CecSharpClient

12 years agocec: don't override callback methods in the new LibCecSharp constructor
Lars Op den Kamp [Fri, 10 Feb 2012 11:44:34 +0000 (12:44 +0100)] 
cec: don't override callback methods in the new LibCecSharp constructor

12 years agocec: create a default device type config in LibCecSharp
Lars Op den Kamp [Fri, 10 Feb 2012 11:44:11 +0000 (12:44 +0100)] 
cec: create a default device type config in LibCecSharp

12 years agocec: added the new config persistence methods to LibCecSharp
Lars Op den Kamp [Fri, 10 Feb 2012 11:33:56 +0000 (12:33 +0100)] 
cec: added the new config persistence methods to LibCecSharp