deb_libcec.git
12 years agoMerge branch 'master' into release
Lars Op den Kamp [Wed, 27 Jun 2012 17:01:37 +0000 (19:01 +0200)] 
Merge branch 'master' into release

12 years agofix OS-X build
Lars Op den Kamp [Wed, 27 Jun 2012 17:01:10 +0000 (19:01 +0200)] 
fix OS-X build

12 years agoMerge branch 'master' into release
Lars Op den Kamp [Wed, 27 Jun 2012 08:30:58 +0000 (10:30 +0200)] 
Merge branch 'master' into release

12 years agoMerge branch 'development'
Lars Op den Kamp [Wed, 27 Jun 2012 08:30:25 +0000 (10:30 +0200)] 
Merge branch 'development'

12 years agoupdated changelog
Lars Op den Kamp [Wed, 27 Jun 2012 00:06:07 +0000 (02:06 +0200)] 
updated changelog

12 years agocec: fixed - copy the class member values of the old handler when creating a new...
Lars Op den Kamp [Tue, 26 Jun 2012 23:45:24 +0000 (01:45 +0200)] 
cec: fixed - copy the class member values of the old handler when creating a new command handler, or a delayed activate source will get lost when the handler is switched

12 years agocec: replace the handler directly after getting the vendor id of a device when regist...
Lars Op den Kamp [Tue, 26 Jun 2012 23:43:58 +0000 (01:43 +0200)] 
cec: replace the handler directly after getting the vendor id of a device when registering a client

12 years agofixed: XBMC Eden for Windows has been built against 1.2.0 and Ubuntu against 1.5...
Lars Op den Kamp [Tue, 26 Jun 2012 19:48:48 +0000 (21:48 +0200)] 
fixed: XBMC Eden for Windows has been built against 1.2.0 and Ubuntu against 1.5.2. We accidently broke the abi between these versions, and this will ensure the upgrade will still work for new users that just install a libCEC upgrade. users that are already using our repository will get a clean build of XBMC, built against the latest libCEC, so this won't cause any problems for them

12 years agoupdated changelog
Lars Op den Kamp [Tue, 26 Jun 2012 16:37:19 +0000 (18:37 +0200)] 
updated changelog

12 years agocec: abi fixes (binary compat with v1.2)
Lars Op den Kamp [Tue, 26 Jun 2012 11:28:44 +0000 (13:28 +0200)] 
cec: abi fixes (binary compat with v1.2)

12 years agocec: fixed - old client versions didn't always provide a valid physical address in...
Lars Op den Kamp [Tue, 26 Jun 2012 09:12:25 +0000 (11:12 +0200)] 
cec: fixed - old client versions didn't always provide a valid physical address in the constructor

12 years agocec: corrected Vizio's vendor id
Lars Op den Kamp [Tue, 26 Jun 2012 08:21:22 +0000 (10:21 +0200)] 
cec: corrected Vizio's vendor id

12 years agocec: added vendor ids for Akai, AOC, Benq, Daewoo, Grundig, Medion, Sharp and Vizio
Lars Op den Kamp [Mon, 25 Jun 2012 23:18:03 +0000 (01:18 +0200)] 
cec: added vendor ids for Akai, AOC, Benq, Daewoo, Grundig, Medion, Sharp and Vizio

12 years agocec: mark the tv as powered up for panasonic once it sends the audiomode request
Lars Op den Kamp [Mon, 25 Jun 2012 14:48:18 +0000 (16:48 +0200)] 
cec: mark the tv as powered up for panasonic once it sends the audiomode request

12 years agoupdated changelog
Lars Op den Kamp [Mon, 25 Jun 2012 11:02:21 +0000 (13:02 +0200)] 
updated changelog

12 years agocec: don't forward the standby opcode more than once every 10 seconds
Lars Op den Kamp [Mon, 25 Jun 2012 10:05:52 +0000 (12:05 +0200)] 
cec: don't forward the standby opcode more than once every 10 seconds

12 years agocec: fixed - commands that were forwarded to clients used the source address of the...
Lars Op den Kamp [Mon, 25 Jun 2012 09:50:42 +0000 (11:50 +0200)] 
cec: fixed - commands that were forwarded to clients used the source address of the message instead of destination address when searching for clients. changed so all directly addressed and broadcast command are forwarded to the correct client

12 years agofixed unused var warning
Lars Op den Kamp [Mon, 25 Jun 2012 09:18:58 +0000 (11:18 +0200)] 
fixed unused var warning

12 years agoupdated changelog
Lars Op den Kamp [Sun, 24 Jun 2012 07:58:06 +0000 (09:58 +0200)] 
updated changelog

12 years agoLibCecSharp: better handling of callbacks
Lars Op den Kamp [Sat, 23 Jun 2012 14:23:47 +0000 (16:23 +0200)] 
LibCecSharp: better handling of callbacks

12 years agoadded a callback for clients that is called when a source is (de)activated, so the...
Lars Op den Kamp [Sat, 23 Jun 2012 08:12:38 +0000 (10:12 +0200)] 
added a callback for clients that is called when a source is (de)activated, so the client can respond to this action, e.g. by starting a media player application

12 years agocec: fixed - windows could get stuck in a loop in case there an error occured while...
Lars Op den Kamp [Fri, 22 Jun 2012 17:51:15 +0000 (19:51 +0200)] 
cec: fixed - windows could get stuck in a loop in case there an error occured while reading registry entries

12 years agocec: fixed missing param
Lars Op den Kamp [Fri, 22 Jun 2012 10:42:15 +0000 (12:42 +0200)] 
cec: fixed missing param

12 years agocec: fixed - set the physical address of each device controlled by a CCECClient if...
Lars Op den Kamp [Fri, 22 Jun 2012 10:28:34 +0000 (12:28 +0200)] 
cec: fixed - set the physical address of each device controlled by a CCECClient if it's valid

12 years agoLibCecSharp: bump client versions to 1.7.1
Lars Op den Kamp [Fri, 22 Jun 2012 10:10:41 +0000 (12:10 +0200)] 
LibCecSharp: bump client versions to 1.7.1

12 years agoLibCecSharp: update the local configuration after connecting
Lars Op den Kamp [Fri, 22 Jun 2012 10:10:13 +0000 (12:10 +0200)] 
LibCecSharp: update the local configuration after connecting

12 years agoLibCecSharp: added missing client and server version 1.7.1
Lars Op den Kamp [Fri, 22 Jun 2012 10:09:29 +0000 (12:09 +0200)] 
LibCecSharp: added missing client and server version 1.7.1

12 years agopin libcec to the same version as libcec1
Lars Op den Kamp [Thu, 21 Jun 2012 15:35:38 +0000 (17:35 +0200)] 
pin libcec to the same version as libcec1

12 years agofixed compiler warning in CCECCommandHandler
Lars Op den Kamp [Thu, 21 Jun 2012 14:34:38 +0000 (16:34 +0200)] 
fixed compiler warning in CCECCommandHandler

12 years agoupdated changelog for 1.7.1 and bumped remaining version numbers
Lars Op den Kamp [Thu, 21 Jun 2012 14:07:28 +0000 (16:07 +0200)] 
updated changelog for 1.7.1 and bumped remaining version numbers

12 years agoMakefile cleanups. don't link cec-client and cec-config against libudev and liblockdev
Lars Op den Kamp [Thu, 21 Jun 2012 13:39:08 +0000 (15:39 +0200)] 
Makefile cleanups. don't link cec-client and cec-config against libudev and liblockdev

12 years agocec: removed dupe code around delayed activate source commands. check for delayed...
Lars Op den Kamp [Thu, 21 Jun 2012 10:28:03 +0000 (12:28 +0200)] 
cec: removed dupe code around delayed activate source commands. check for delayed active source commands every 5 seconds instead of 15 seconds. fixed delayed source switch for panasonic

12 years agocec: reset m_bPowerUpEventReceived in CVLCommandHandler when the device lets us know...
Lars Op den Kamp [Thu, 21 Jun 2012 09:25:58 +0000 (11:25 +0200)] 
cec: reset m_bPowerUpEventReceived in CVLCommandHandler when the device lets us know it went into standby mode. fixes possibly failed active source switches after it succeeded once

12 years agocec: set the power status of a device to 'powered on' after it sends a stream path...
Lars Op den Kamp [Thu, 21 Jun 2012 09:22:27 +0000 (11:22 +0200)] 
cec: set the power status of a device to 'powered on' after it sends a stream path change. can save an unneeded power state update request

12 years agocec: get the cached power status of a device in CVLCommandHandler::PowerUpEventReceiv...
Lars Op den Kamp [Thu, 21 Jun 2012 09:16:32 +0000 (11:16 +0200)] 
cec: get the cached power status of a device in CVLCommandHandler::PowerUpEventReceived() instead of the current one, or it might send a CEC command to a device which is expecting a reply to another command

12 years agocec: don't send active source commands when the physical address is invalid or unknown
Lars Op den Kamp [Thu, 21 Jun 2012 08:58:10 +0000 (10:58 +0200)] 
cec: don't send active source commands when the physical address is invalid or unknown

12 years agocec: bump interface version numbers to 1.7.1
Lars Op den Kamp [Wed, 20 Jun 2012 13:40:23 +0000 (15:40 +0200)] 
cec: bump interface version numbers to 1.7.1

12 years agocec: added a vendor command for panasonic that will enable routing of some more butto...
Lars Op den Kamp [Wed, 20 Jun 2012 13:33:36 +0000 (15:33 +0200)] 
cec: added a vendor command for panasonic that will enable routing of some more buttons on the remote (guide, text, ...)

12 years agocec: reply with abort reason 'invalid operand' to vendor commands that we don't under...
Lars Op den Kamp [Wed, 20 Jun 2012 13:32:46 +0000 (15:32 +0200)] 
cec: reply with abort reason 'invalid operand' to vendor commands that we don't understand

12 years agocec: added cec_command::PushArray()
Lars Op den Kamp [Wed, 20 Jun 2012 13:31:46 +0000 (15:31 +0200)] 
cec: added cec_command::PushArray()

12 years agocec-client: don't display debug output by default in 'cec-client -l'
Lars Op den Kamp [Wed, 20 Jun 2012 09:38:27 +0000 (11:38 +0200)] 
cec-client: don't display debug output by default in 'cec-client -l'

12 years agochanged 'couldn't change the ackmask: the connection is closed' into a debug message
Lars Op den Kamp [Wed, 20 Jun 2012 09:30:18 +0000 (11:30 +0200)] 
changed 'couldn't change the ackmask: the connection is closed' into a debug message

12 years agosilence 'unused' warnings
Lars Op den Kamp [Wed, 20 Jun 2012 09:28:00 +0000 (11:28 +0200)] 
silence 'unused' warnings

12 years agocec: changed all Handle...() commands to return a cec_abort_reason and send the corre...
Lars Op den Kamp [Tue, 19 Jun 2012 20:32:43 +0000 (22:32 +0200)] 
cec: changed all Handle...() commands to return a cec_abort_reason and send the correct abort reason to the initiator as a response to directly addressed messages

12 years agocec: fixed - send a feature abort as reply to vendor commands
Lars Op den Kamp [Tue, 19 Jun 2012 18:54:35 +0000 (20:54 +0200)] 
cec: fixed - send a feature abort as reply to vendor commands

12 years agocec: fixed - get the current power status of the TV when activating the source on...
Lars Op den Kamp [Tue, 19 Jun 2012 15:19:53 +0000 (17:19 +0200)] 
cec: fixed - get the current power status of the TV when activating the source on panasonic, not the cached power status. fixes active source messages not being sent, or being delayed

12 years agocec-client: fixed - wrong client version
Lars Op den Kamp [Tue, 19 Jun 2012 14:59:43 +0000 (16:59 +0200)] 
cec-client: fixed - wrong client version

12 years agocec: fixed missing virtual keyword in CCECCommandHandler::GetReplacementDeviceType...
Lars Op den Kamp [Tue, 19 Jun 2012 14:59:12 +0000 (16:59 +0200)] 
cec: fixed missing virtual keyword in CCECCommandHandler::GetReplacementDeviceType(). replace the handler (if needed) in GetHandler()

12 years agocec: display a warning message if libCEC was not compiled with adapter detection...
Lars Op den Kamp [Wed, 13 Jun 2012 08:02:01 +0000 (10:02 +0200)] 
cec: display a warning message if libCEC was not compiled with adapter detection for the target platform

12 years agoMerge branch 'master' into release
Lars Op den Kamp [Mon, 11 Jun 2012 13:49:29 +0000 (15:49 +0200)] 
Merge branch 'master' into release

12 years agoMerge branch 'development'
Lars Op den Kamp [Mon, 11 Jun 2012 13:30:12 +0000 (15:30 +0200)] 
Merge branch 'development'

12 years agoupdated changelog
Lars Op den Kamp [Sun, 10 Jun 2012 11:40:25 +0000 (13:40 +0200)] 
updated changelog

12 years agocec: fixed missing firmware version and build date in cec-client -l / GetDeviceInform...
Lars Op den Kamp [Sun, 10 Jun 2012 11:34:08 +0000 (13:34 +0200)] 
cec: fixed missing firmware version and build date in cec-client -l / GetDeviceInformation()

12 years agocec: open libcec.so.1 instead of libcec.so in cecloader.h. credits @coling. github...
Lars Op den Kamp [Sun, 10 Jun 2012 10:42:41 +0000 (12:42 +0200)] 
cec: open libcec.so.1 instead of libcec.so in cecloader.h. credits @coling. github issue #30. cosmetics: dlerror() already shows the name of the lib it tried to load. removed dupe log entry

12 years agoupdated changelog
Lars Op den Kamp [Sun, 10 Jun 2012 09:45:09 +0000 (11:45 +0200)] 
updated changelog

12 years agodebian: build source v1 packages to simplify test builds
Lars Op den Kamp [Sun, 10 Jun 2012 09:42:55 +0000 (11:42 +0200)] 
debian: build source v1 packages to simplify test builds

12 years agocec: TransmitImageViewOn() and TransmitActiveSource() always returned true, even...
Lars Op den Kamp [Sun, 10 Jun 2012 09:40:37 +0000 (11:40 +0200)] 
cec: TransmitImageViewOn() and TransmitActiveSource() always returned true, even if sending the command failed, so the retry for failed source activations was never triggered

12 years agocec: get the vendor id of the TV before allocating logical addresses, so we can deter...
Lars Op den Kamp [Sun, 10 Jun 2012 09:14:45 +0000 (11:14 +0200)] 
cec: get the vendor id of the TV before allocating logical addresses, so we can determine if the TV supports the requested device type directly. for panasonic, this means that a playback device will be allocated directly, instead of allocating a recording device first and switching to playback device afterwards, which may possibly confuse the tv

12 years agocec: don't respond with a feature abort to opcode play messages. bugzid: 873
Lars Op den Kamp [Tue, 5 Jun 2012 09:55:07 +0000 (11:55 +0200)] 
cec: don't respond with a feature abort to opcode play messages. bugzid: 873

12 years agoupdated README
Lars Op den Kamp [Mon, 4 Jun 2012 08:58:50 +0000 (10:58 +0200)] 
updated README

12 years agocec: also send a menu state update when activating the source in CVLCommandHandler...
Lars Op den Kamp [Mon, 4 Jun 2012 08:49:23 +0000 (10:49 +0200)] 
cec: also send a menu state update when activating the source in CVLCommandHandler. should fix keypress routing for panasonic

12 years agobump version numbers to 1.7.0 and updated changelog
Lars Op den Kamp [Mon, 4 Jun 2012 08:35:28 +0000 (10:35 +0200)] 
bump version numbers to 1.7.0 and updated changelog

12 years agocec: changed - libcec_configuration.bAutodetectAddress is now read-only, and will...
Lars Op den Kamp [Mon, 4 Jun 2012 08:16:29 +0000 (10:16 +0200)] 
cec: changed - libcec_configuration.bAutodetectAddress is now read-only, and will be set to 1 by libCEC if the PA was autodetected. changed the order in CCECClient::SetPhysicalAddress() so it first checks whether a PA override is set in libcec_configuration.iPhysicalAddress, then checks whether the address can be detected, and if both failed it'll use the HDMI port + base device setting

12 years agocec: attempt to get the edid from nvidia's driver on linux via /proc/acpi/video/NGFX...
Lars Op den Kamp [Mon, 4 Jun 2012 07:38:31 +0000 (09:38 +0200)] 
cec: attempt to get the edid from nvidia's driver on linux via /proc/acpi/video/NGFX/HDMI/EDID

12 years agocec: added PA detection via ADL for AMD, and attempt to get the PA from the registry...
Lars Op den Kamp [Fri, 1 Jun 2012 16:01:16 +0000 (18:01 +0200)] 
cec: added PA detection via ADL for AMD, and attempt to get the PA from the registry on windows if it fails.

12 years agocec-client: only active the source when reconnecting if libcec was the active source...
Lars Op den Kamp [Fri, 1 Jun 2012 08:29:06 +0000 (10:29 +0200)] 
cec-client: only active the source when reconnecting if libcec was the active source before closing the connection

12 years agocec: don't unregister clients in CLibCEC when disconnecting, but only in CCECProcesso...
Lars Op den Kamp [Fri, 1 Jun 2012 08:27:37 +0000 (10:27 +0200)] 
cec: don't unregister clients in CLibCEC when disconnecting, but only in CCECProcessor. fixes reconnect after close

12 years agocec: MSGCODE_TIMEOUT_ERROR is a response to a transmission
Lars Op den Kamp [Thu, 31 May 2012 22:31:49 +0000 (00:31 +0200)] 
cec: MSGCODE_TIMEOUT_ERROR is a response to a transmission

12 years agocec: hold a lock when changing the ackmask in CUSBCECAdapterCommunication::Open
Lars Op den Kamp [Thu, 31 May 2012 22:30:07 +0000 (00:30 +0200)] 
cec: hold a lock when changing the ackmask in CUSBCECAdapterCommunication::Open

12 years agocec: retry 'activate source' every 10 seconds if it failed
Lars Op den Kamp [Thu, 31 May 2012 21:06:42 +0000 (23:06 +0200)] 
cec: retry 'activate source' every 10 seconds if it failed

12 years agocec: don't respond with a poll from the broadcast address when receiving in CSLComman...
Lars Op den Kamp [Thu, 31 May 2012 20:51:38 +0000 (22:51 +0200)] 
cec: don't respond with a poll from the broadcast address when receiving in CSLCommandHandler::HandleDeviceVendorId(), but use the primary LA of the client as source instead

12 years agocec: moved ToString() methods and some other type related methods to CCECTypeUtils
Lars Op den Kamp [Thu, 31 May 2012 20:34:22 +0000 (22:34 +0200)] 
cec: moved ToString() methods and some other type related methods to CCECTypeUtils

12 years agocec: safe deletes for members
Lars Op den Kamp [Thu, 31 May 2012 19:50:48 +0000 (21:50 +0200)] 
cec: safe deletes for members

12 years agoLibCecSharp: don't use an int but a CecUserControlCode in a CecKeypress
Lars Op den Kamp [Wed, 30 May 2012 09:39:53 +0000 (11:39 +0200)] 
LibCecSharp: don't use an int but a CecUserControlCode in a CecKeypress

12 years agoplatform: added tcp server sockets for posix
Lars Op den Kamp [Mon, 21 May 2012 12:45:39 +0000 (14:45 +0200)] 
platform: added tcp server sockets for posix

12 years agoMerge branch 'master' into release
Lars Op den Kamp [Sat, 26 May 2012 09:26:18 +0000 (11:26 +0200)] 
Merge branch 'master' into release

12 years agoupdated debian/control to replace libcec (<< 1.6)
Lars Op den Kamp [Sat, 26 May 2012 09:23:50 +0000 (11:23 +0200)] 
updated debian/control to replace libcec (<< 1.6)

12 years agoMerge branch 'master' into release
Lars Op den Kamp [Thu, 17 May 2012 12:31:23 +0000 (14:31 +0200)] 
Merge branch 'master' into release

12 years agoplatform: fix win32 compilation error
Lars Op den Kamp [Thu, 17 May 2012 12:30:19 +0000 (14:30 +0200)] 
platform: fix win32 compilation error

12 years agoMerge branch 'master' into release
Lars Op den Kamp [Thu, 17 May 2012 11:36:25 +0000 (13:36 +0200)] 
Merge branch 'master' into release

12 years agoadded missing hardy rules and source version
Lars Op den Kamp [Thu, 17 May 2012 11:35:54 +0000 (13:35 +0200)] 
added missing hardy rules and source version

12 years agoMerge branch 'master' into release
Lars Op den Kamp [Thu, 17 May 2012 11:02:42 +0000 (13:02 +0200)] 
Merge branch 'master' into release

12 years agoMerge branch 'development'
Lars Op den Kamp [Thu, 17 May 2012 11:01:15 +0000 (13:01 +0200)] 
Merge branch 'development'

12 years agosync changelog for build
Lars Op den Kamp [Thu, 17 May 2012 11:00:16 +0000 (13:00 +0200)] 
sync changelog for build

12 years agocec: fixed - correct initiator for keypresses
Lars Op den Kamp [Thu, 17 May 2012 10:56:08 +0000 (12:56 +0200)] 
cec: fixed - correct initiator for keypresses

12 years agosync the /debian dir with the one in precise (with a couple of changes), because...
Lars Op den Kamp [Wed, 16 May 2012 08:38:00 +0000 (10:38 +0200)] 
sync the /debian dir with the one in precise (with a couple of changes), because the package name was changed in debian/ubuntu, and the upgrades we provide weren't pulled because of that. provides a transitional libcec -> libcec1 package

12 years agoMerge remote branch 'libcec-public/master'
Lars Op den Kamp [Tue, 15 May 2012 12:18:03 +0000 (14:18 +0200)] 
Merge remote branch 'libcec-public/master'

12 years agoMerge branch 'master' into release
Lars Op den Kamp [Tue, 15 May 2012 10:31:27 +0000 (12:31 +0200)] 
Merge branch 'master' into release

12 years agoupdated README
Lars Op den Kamp [Tue, 15 May 2012 10:31:07 +0000 (12:31 +0200)] 
updated README

12 years agoplatform: fixed initial value of m_thread in CThread
Lars Op den Kamp [Tue, 15 May 2012 10:04:43 +0000 (12:04 +0200)] 
platform: fixed initial value of m_thread in CThread

12 years agoadded changelog and bumped version numbers for 1.6.3
Lars Op den Kamp [Mon, 14 May 2012 20:39:50 +0000 (22:39 +0200)] 
added changelog and bumped version numbers for 1.6.3

12 years agocec: don't use the pid in dev_lock()/dev_unlock() calls
Lars Op den Kamp [Mon, 14 May 2012 20:26:12 +0000 (22:26 +0200)] 
cec: don't use the pid in dev_lock()/dev_unlock() calls

12 years agoreplaced 2 more occurences of Close() by m_port->Close()
Lars Op den Kamp [Mon, 14 May 2012 20:06:33 +0000 (22:06 +0200)] 
replaced 2 more occurences of Close() by m_port->Close()

12 years agoclose the port connection if a command couldn't be written. this will trigger an...
Lars Op den Kamp [Mon, 14 May 2012 20:04:12 +0000 (22:04 +0200)] 
close the port connection if a command couldn't be written. this will trigger an alert in the reader thread, and exit that thread

12 years agocec: some optimisations/cosmetics in CCECCommandHandler after the latest changes.
Lars Op den Kamp [Mon, 14 May 2012 19:53:01 +0000 (21:53 +0200)] 
cec: some optimisations/cosmetics in CCECCommandHandler after the latest changes.

12 years agoMerge remote branch 'libcec-public/master'
Lars Op den Kamp [Mon, 14 May 2012 18:32:28 +0000 (20:32 +0200)] 
Merge remote branch 'libcec-public/master'

Conflicts:
src/lib/platform/threads/threads.h

12 years agocec: documentation for the new CCECClient and made methods protected that are only...
Lars Op den Kamp [Mon, 14 May 2012 17:59:03 +0000 (19:59 +0200)] 
cec: documentation for the new CCECClient and made methods protected that are only called by CCECProcessor

12 years agofixed: somenow not initializing this pointer crashes us in libpthread
Bob van Loosen [Mon, 14 May 2012 17:54:53 +0000 (19:54 +0200)] 
fixed: somenow not initializing this pointer crashes us in libpthread

12 years agocec: serial port locking on linux
Lars Op den Kamp [Mon, 14 May 2012 14:57:46 +0000 (16:57 +0200)] 
cec: serial port locking on linux

12 years agocec: display an alert message in case the connection couldn't be opened because of...
Lars Op den Kamp [Mon, 14 May 2012 13:57:43 +0000 (15:57 +0200)] 
cec: display an alert message in case the connection couldn't be opened because of permission errors, or if the port is busy