deb_libcec.git
12 years agocec: more consistent log messages + cosmetics
Lars Op den Kamp [Thu, 10 Nov 2011 17:30:00 +0000 (18:30 +0100)] 
cec: more consistent log messages + cosmetics

12 years agocec: buffer up commands that are received while waiting for an ack. only send 'active...
Lars Op den Kamp [Thu, 10 Nov 2011 17:30:00 +0000 (18:30 +0100)] 
cec: buffer up commands that are received while waiting for an ack. only send 'active source' message for the actual active source

12 years agocec: only set the power status to 'on' for the primary device
Lars Op den Kamp [Thu, 10 Nov 2011 17:30:00 +0000 (18:30 +0100)] 
cec: only set the power status to 'on' for the primary device

12 years agocec: fix parameter parsing in SetVendorId()
Lars Op den Kamp [Thu, 10 Nov 2011 17:30:00 +0000 (18:30 +0100)] 
cec: fix parameter parsing in SetVendorId()

12 years agocec: improved logging. fixed GetVendorId()
Lars Op den Kamp [Thu, 10 Nov 2011 17:30:00 +0000 (18:30 +0100)] 
cec: improved logging. fixed GetVendorId()

12 years agocec: removed the old SetVendorId() from the header and fix device class after faa9cb5...
Lars Op den Kamp [Thu, 10 Nov 2011 17:30:00 +0000 (18:30 +0100)] 
cec: removed the old SetVendorId() from the header and fix device class after faa9cb584b3e49c115e0837d10495f46fea631e0

12 years agocec: changed debug level of 'did not receive ack' from error to debug
Lars Op den Kamp [Thu, 10 Nov 2011 17:30:00 +0000 (18:30 +0100)] 
cec: changed debug level of 'did not receive ack' from error to debug

12 years agocec: moved SetVendorId(const cec_datapacket &packet) to CCECCommandHandler
Lars Op den Kamp [Thu, 10 Nov 2011 17:30:00 +0000 (18:30 +0100)] 
cec: moved SetVendorId(const cec_datapacket &packet) to CCECCommandHandler

12 years agocec: don't poll for a vendor ID in monitoring mode
Lars Op den Kamp [Mon, 7 Nov 2011 23:28:13 +0000 (00:28 +0100)] 
cec: don't poll for a vendor ID in monitoring mode

12 years agocec: set default physical addresses to 0xFFFF for all devices except the TV
Lars Op den Kamp [Sun, 6 Nov 2011 16:40:22 +0000 (17:40 +0100)] 
cec: set default physical addresses to 0xFFFF for all devices except the TV

12 years agocec: opcode 0x80 means the stream path changed, not the physical address
Lars Op den Kamp [Sun, 6 Nov 2011 16:38:55 +0000 (17:38 +0100)] 
cec: opcode 0x80 means the stream path changed, not the physical address

12 years agocec: increase physical address with 0x100 per device
Lars Op den Kamp [Sun, 6 Nov 2011 16:34:50 +0000 (17:34 +0100)] 
cec: increase physical address with 0x100 per device

12 years agocec: added more audio control commands
Lars Op den Kamp [Sun, 6 Nov 2011 16:25:28 +0000 (17:25 +0100)] 
cec: added more audio control commands

12 years agocec: added HandleGiveSystemAudioModeStatus()
Lars Op den Kamp [Sun, 6 Nov 2011 15:29:31 +0000 (16:29 +0100)] 
cec: added HandleGiveSystemAudioModeStatus()

12 years agocec: send the correct device type in TransmitPhysicalAddress()
Lars Op den Kamp [Sun, 6 Nov 2011 15:07:55 +0000 (16:07 +0100)] 
cec: send the correct device type in TransmitPhysicalAddress()

12 years agocec: send a reply from the correct device when the stream path is requested
Lars Op den Kamp [Sun, 6 Nov 2011 14:08:32 +0000 (15:08 +0100)] 
cec: send a reply from the correct device when the stream path is requested

12 years agocec: handle GiveAudioStatus. currently send a feature abort
Lars Op den Kamp [Sun, 6 Nov 2011 13:49:59 +0000 (14:49 +0100)] 
cec: handle GiveAudioStatus. currently send a feature abort

12 years agocec: log string cosmetics in CCECBusDevice. log a source for each packet
Lars Op den Kamp [Sun, 6 Nov 2011 13:14:08 +0000 (14:14 +0100)] 
cec: log string cosmetics in CCECBusDevice. log a source for each packet

12 years agocec: rename SetOSDString() to TransmitOSDString() + more cosmetics
Lars Op den Kamp [Sun, 6 Nov 2011 12:58:07 +0000 (13:58 +0100)] 
cec: rename SetOSDString() to TransmitOSDString() + more cosmetics

12 years agocec: switch to panasonic specific cec implementation if a panasonic device was detected
Lars Op den Kamp [Sun, 6 Nov 2011 12:48:49 +0000 (13:48 +0100)] 
cec: switch to panasonic specific cec implementation if a panasonic device was detected

12 years agocec: cosmetics
Lars Op den Kamp [Sun, 6 Nov 2011 12:47:36 +0000 (13:47 +0100)] 
cec: cosmetics

12 years agocec: renamed all Broadcast...() and Report...() methods to Transmit...()
Lars Op den Kamp [Sun, 6 Nov 2011 12:33:26 +0000 (13:33 +0100)] 
cec: renamed all Broadcast...() and Report...() methods to Transmit...()

12 years agocec: keep a power and menu state pew device
Lars Op den Kamp [Sun, 6 Nov 2011 12:27:42 +0000 (13:27 +0100)] 
cec: keep a power and menu state pew device

12 years agocec: osd string is 13 chars max. don't send more
Lars Op den Kamp [Sun, 6 Nov 2011 11:38:39 +0000 (12:38 +0100)] 
cec: osd string is 13 chars max. don't send more

12 years agocec: send the correct cec version for each device
Lars Op den Kamp [Sun, 6 Nov 2011 11:36:16 +0000 (12:36 +0100)] 
cec: send the correct cec version for each device

12 years agocec: give every device type it's own class
Lars Op den Kamp [Sun, 6 Nov 2011 11:30:31 +0000 (12:30 +0100)] 
cec: give every device type it's own class

12 years agobreak break break
Lars Op den Kamp [Sun, 6 Nov 2011 03:20:25 +0000 (04:20 +0100)] 
break break break

12 years agocec: only set the osd name for the primary device. use default values for others
Lars Op den Kamp [Sun, 6 Nov 2011 03:17:54 +0000 (04:17 +0100)] 
cec: only set the osd name for the primary device. use default values for others

12 years agocec: set a device type and name for each CCECBusDevice
Lars Op den Kamp [Sun, 6 Nov 2011 03:09:22 +0000 (04:09 +0100)] 
cec: set a device type and name for each CCECBusDevice

12 years agocec: added logical address autodetection and let libcec handle multiple types simulta...
Lars Op den Kamp [Sun, 6 Nov 2011 01:59:32 +0000 (02:59 +0100)] 
cec: added logical address autodetection and let libcec handle multiple types simultaniously. for logical address autodetection, you have to use CECInit()/cec_init_typed() instead of CECCreate()/cec_init()

12 years agocec: added PollDevice()/cec_poll_device()
Lars Op den Kamp [Sat, 5 Nov 2011 12:11:33 +0000 (13:11 +0100)] 
cec: added PollDevice()/cec_poll_device()

12 years agocec: added vendor code for pioneer
Lars Op den Kamp [Fri, 4 Nov 2011 20:49:50 +0000 (21:49 +0100)] 
cec: added vendor code for pioneer

12 years agochanged copyright of boblight files with permission of the original author
Lars Op den Kamp [Fri, 4 Nov 2011 19:42:21 +0000 (20:42 +0100)] 
changed copyright of boblight files with permission of the original author

12 years agocec: added vendor detection for panasonic and broadcast active view and set menu...
Lars Op den Kamp [Fri, 4 Nov 2011 19:40:43 +0000 (20:40 +0100)] 
cec: added vendor detection for panasonic and broadcast active view and set menu state when a panasonic device sets the stream path. thanks for the pointer cptcoconut

12 years agocopied debian changelog to /ChangeLog
Lars Op den Kamp [Fri, 4 Nov 2011 08:03:23 +0000 (09:03 +0100)] 
copied debian changelog to /ChangeLog

12 years agoMerge branch 'release'
Lars Op den Kamp [Fri, 4 Nov 2011 08:02:57 +0000 (09:02 +0100)] 
Merge branch 'release'

12 years agofixed typo in the changelog
Lars Op den Kamp [Thu, 3 Nov 2011 23:30:31 +0000 (00:30 +0100)] 
fixed typo in the changelog

12 years agoMerge branch 'master' into release
Lars Op den Kamp [Thu, 3 Nov 2011 23:15:11 +0000 (00:15 +0100)] 
Merge branch 'master' into release

12 years agoupdated changelog for v1.0
Lars Op den Kamp [Thu, 3 Nov 2011 23:14:45 +0000 (00:14 +0100)] 
updated changelog for v1.0

12 years agowin32: added version info
Lars Op den Kamp [Thu, 3 Nov 2011 22:55:28 +0000 (23:55 +0100)] 
win32: added version info

12 years agocec: made the Get...Version() methods const
Lars Op den Kamp [Thu, 3 Nov 2011 22:05:26 +0000 (23:05 +0100)] 
cec: made the Get...Version() methods const

12 years agocec: set lib interface version back to 1.0 and rename GetLibVersion() to GetLibVersio...
Lars Op den Kamp [Thu, 3 Nov 2011 21:57:39 +0000 (22:57 +0100)] 
cec: set lib interface version back to 1.0 and rename GetLibVersion() to GetLibVersionMajor() and GetMinVersion() to GetMinLibVersion()

12 years agobumped to lib version 1.0.0 and follow the proper versioning guideline from now on :-)
Lars Op den Kamp [Thu, 3 Nov 2011 21:01:38 +0000 (22:01 +0100)] 
bumped to lib version 1.0.0 and follow the proper versioning guideline from now on :-)

12 years agoremoved libboost-dev from build depends
Lars Op den Kamp [Thu, 3 Nov 2011 21:00:56 +0000 (22:00 +0100)] 
removed libboost-dev from build depends

12 years agocec: don't hack around the issue that samsung's vendor specific keypresses aren't...
Lars Op den Kamp [Thu, 3 Nov 2011 19:35:36 +0000 (20:35 +0100)] 
cec: don't hack around the issue that samsung's vendor specific keypresses aren't sending release events, but just push a translated keypress directly

12 years agocec: added GetLibVersionMinor()/cec_get_lib_version_minor() and set the minor version...
Lars Op den Kamp [Thu, 3 Nov 2011 19:25:36 +0000 (20:25 +0100)] 
cec: added GetLibVersionMinor()/cec_get_lib_version_minor() and set the minor version number to 1

12 years agoremoved boost dep from the README
Lars Op den Kamp [Thu, 3 Nov 2011 19:17:40 +0000 (20:17 +0100)] 
removed boost dep from the README

12 years agocec: removed no longer needed cleanup code in ~CLibCEC
Lars Op den Kamp [Thu, 3 Nov 2011 19:14:30 +0000 (20:14 +0100)] 
cec: removed no longer needed cleanup code in ~CLibCEC

12 years agocec: samsung's vendor specific remote keypresses don't send key releases. added call...
Lars Op den Kamp [Thu, 3 Nov 2011 00:10:23 +0000 (01:10 +0100)] 
cec: samsung's vendor specific remote keypresses don't send key releases. added call to AddKey() directly after the keypress

12 years agocec: always reset the button press time in CLibCEC::AddKey()
Lars Op den Kamp [Thu, 3 Nov 2011 00:05:08 +0000 (01:05 +0100)] 
cec: always reset the button press time in CLibCEC::AddKey()

12 years agowin32: removed download-deps.cmd
Lars Op den Kamp [Thu, 3 Nov 2011 00:03:40 +0000 (01:03 +0100)] 
win32: removed download-deps.cmd

12 years agocec: and reverted the previous commit again (partially) cause it wouldn't compile...
Lars Op den Kamp [Wed, 2 Nov 2011 23:42:51 +0000 (00:42 +0100)] 
cec: and reverted the previous commit again (partially) cause it wouldn't compile on windows.

12 years agocec: replaced Sleep() in CAdapterCommunication::Process() by sched_yield()
Lars Op den Kamp [Wed, 2 Nov 2011 23:21:19 +0000 (00:21 +0100)] 
cec: replaced Sleep() in CAdapterCommunication::Process() by sched_yield()

12 years agocec: always wait for a signal in CCECProcessor::Transmit()
Lars Op den Kamp [Wed, 2 Nov 2011 23:15:35 +0000 (00:15 +0100)] 
cec: always wait for a signal in CCECProcessor::Transmit()

12 years agocec: drop shared_ptr and use a normal pointer. removed boost dependency
Lars Op den Kamp [Wed, 2 Nov 2011 23:13:09 +0000 (00:13 +0100)] 
cec: drop shared_ptr and use a normal pointer. removed boost dependency

12 years agoMerge branch 'release'
Lars Op den Kamp [Tue, 1 Nov 2011 22:46:03 +0000 (23:46 +0100)] 
Merge branch 'release'

12 years agoupdated changelog
Lars Op den Kamp [Tue, 1 Nov 2011 22:32:16 +0000 (23:32 +0100)] 
updated changelog

12 years agoadded libboost-dev to the build dependencies for debian/ubuntu packages
Lars Op den Kamp [Tue, 1 Nov 2011 22:30:18 +0000 (23:30 +0100)] 
added libboost-dev to the build dependencies for debian/ubuntu packages

12 years agoMerge branch 'release'
Lars Op den Kamp [Tue, 1 Nov 2011 22:25:59 +0000 (23:25 +0100)] 
Merge branch 'release'

12 years agofixed typo in changelog
Lars Op den Kamp [Tue, 1 Nov 2011 22:16:40 +0000 (23:16 +0100)] 
fixed typo in changelog

12 years agoMerge branch 'master' into release
Lars Op den Kamp [Tue, 1 Nov 2011 22:08:52 +0000 (23:08 +0100)] 
Merge branch 'master' into release

  * interface changes:
    * added GetDevicePowerStatus()/cec_get_device_power_status()
    * added GetDeviceVendorId()/cec_get_device_vendor_id()
    * added GetDeviceMenuLanguage()/cec_get_device_menu_language()
    * added GetDeviceCecVersion()/cec_get_device_cec_version()
    * added SwitchMonitoring()/cec_switch_monitoring() to the interface. when
  monitoring is enabled, the device will only log the data it received,
  but will not respond to any message
    * removed timeout parameter in Transmit() and included the ack timeout in
  the cec_command struct
    * made the vendor id -> vendor name translation available
    * made CEC_LOG levels powers of 2
    * introduced CEC_LOG_TRAFFIC log level
  * fixed:
    * set the correct ackmask on startup
    * wait for ack while keeping a lock
    * wait for the processor thread to start before continueing on startup
    * wait for messages to be transmitted before continueing in
  CCECProcessor::Transmit()
    * only set the logical address once when it has changed
    * correct source for broadcast messages
    * win32: create Release type installer
  * changed:
    * make all reads and write in CAdapterCommunication go through buffers.
    * poll for a vendor ID of connected devices and switch to a non-standard
  CEC implementation if needed.
    * added vendor detection of Samsung and LG devices
    * handle samsung remote command 'return'
  * cec-client:
    * added -la and --logical-address to the command line params
    * added -d and --log-level params to cec-client
    * added -sf and --short-log-file, which only log the actual messages, not
  the level and timestamp
    * added -f and --log-file parameters to cec-client
    * added option to change the log level to cec-client

12 years agoupdated changelog for v0.8
Lars Op den Kamp [Tue, 1 Nov 2011 22:00:31 +0000 (23:00 +0100)] 
updated changelog for v0.8

12 years agocosmetics in README
Lars Op den Kamp [Tue, 1 Nov 2011 21:27:39 +0000 (22:27 +0100)] 
cosmetics in README

12 years agoREADME updated
Lars Op den Kamp [Tue, 1 Nov 2011 21:24:36 +0000 (22:24 +0100)] 
README updated

12 years agocec: re-enabled AddCommand(). debug leftover
Lars Op den Kamp [Tue, 1 Nov 2011 21:00:42 +0000 (22:00 +0100)] 
cec: re-enabled AddCommand(). debug leftover

12 years agocec: only mark error messages as error when waiting for transmit_succeeded
Lars Op den Kamp [Tue, 1 Nov 2011 20:50:23 +0000 (21:50 +0100)] 
cec: only mark error messages as error when waiting for transmit_succeeded

12 years agocec: signal as started after setting the ackmask
Lars Op den Kamp [Tue, 1 Nov 2011 20:37:42 +0000 (21:37 +0100)] 
cec: signal as started after setting the ackmask

12 years agocec: moved SetAckMask() back to CCECProcessor, so the result can be processed properly
Lars Op den Kamp [Tue, 1 Nov 2011 19:38:28 +0000 (20:38 +0100)] 
cec: moved SetAckMask() back to CCECProcessor, so the result can be processed properly

12 years agocec: pass unexpected replies to ParseMessage() in WaitForTransmitSucceeded(). added...
Lars Op den Kamp [Tue, 1 Nov 2011 18:39:55 +0000 (19:39 +0100)] 
cec: pass unexpected replies to ParseMessage() in WaitForTransmitSucceeded(). added some extra sleeps

12 years agocec: only send unhandled and selected commands to the command buffer
Lars Op den Kamp [Tue, 1 Nov 2011 00:45:38 +0000 (01:45 +0100)] 
cec: only send unhandled and selected commands to the command buffer

12 years agocec: operator= for cec_datapacket and cec_command
Lars Op den Kamp [Tue, 1 Nov 2011 00:22:14 +0000 (01:22 +0100)] 
cec: operator= for cec_datapacket and cec_command

12 years agocec: fixed typo which led to a wrong return value in GetDeviceMenuLanguage()
Lars Op den Kamp [Mon, 31 Oct 2011 23:04:28 +0000 (00:04 +0100)] 
cec: fixed typo which led to a wrong return value in GetDeviceMenuLanguage()

12 years agocec: show the command as string instead of int when an unexpected command was received.
Lars Op den Kamp [Mon, 31 Oct 2011 19:55:59 +0000 (20:55 +0100)] 
cec: show the command as string instead of int when an unexpected command was received.

12 years agocec: renamed WaitForAck() to WaitForTransmitSucceeded(), because it waits for the...
Lars Op den Kamp [Mon, 31 Oct 2011 19:47:19 +0000 (20:47 +0100)] 
cec: renamed WaitForAck() to WaitForTransmitSucceeded(), because it waits for the TRANSMISSION_SUCCEEDED message, not for an ack from the CEC device. we'll add that later

12 years agocec: cleaned up logging
Lars Op den Kamp [Mon, 31 Oct 2011 19:35:58 +0000 (20:35 +0100)] 
cec: cleaned up logging

12 years agocec: removed framebuffer in CCECProcessor. any other packet is an unexpected reply
Lars Op den Kamp [Mon, 31 Oct 2011 00:40:13 +0000 (01:40 +0100)] 
cec: removed framebuffer in CCECProcessor. any other packet is an unexpected reply

12 years agocec: don't use shared_ptr when not needed in CCECProcessor
Lars Op den Kamp [Sun, 30 Oct 2011 22:40:48 +0000 (23:40 +0100)] 
cec: don't use shared_ptr when not needed in CCECProcessor

12 years agowin32: don't include the .pdb in the installer. only include include/cec*
Lars Op den Kamp [Sun, 30 Oct 2011 21:00:01 +0000 (22:00 +0100)] 
win32: don't include the .pdb in the installer. only include include/cec*

12 years agowin32: bump version numbers to 8
Lars Op den Kamp [Sun, 30 Oct 2011 20:57:16 +0000 (21:57 +0100)] 
win32: bump version numbers to 8

12 years agowin32: create Release type installer
Lars Op den Kamp [Sun, 30 Oct 2011 20:55:34 +0000 (21:55 +0100)] 
win32: create Release type installer

12 years agocec: only log new power status when it actually changed
Lars Op den Kamp [Sun, 30 Oct 2011 20:32:38 +0000 (21:32 +0100)] 
cec: only log new power status when it actually changed

12 years agocec: refresh device statuses by default
Lars Op den Kamp [Sun, 30 Oct 2011 19:01:04 +0000 (20:01 +0100)] 
cec: refresh device statuses by default

12 years agocec: make the vendor name available on the interface
Lars Op den Kamp [Sun, 30 Oct 2011 17:11:25 +0000 (18:11 +0100)] 
cec: make the vendor name available on the interface

12 years agocec: fixec - don't deadlock when a command wasn't sent
Lars Op den Kamp [Sun, 30 Oct 2011 16:42:08 +0000 (17:42 +0100)] 
cec: fixec - don't deadlock when a command wasn't sent

12 years agocec: fixed - ensure that the ackmask is set
Lars Op den Kamp [Sun, 30 Oct 2011 16:36:06 +0000 (17:36 +0100)] 
cec: fixed - ensure that the ackmask is set

12 years agocec: added some guards
Lars Op den Kamp [Sun, 30 Oct 2011 16:13:01 +0000 (17:13 +0100)] 
cec: added some guards

12 years agowin32: fix build
Lars Op den Kamp [Sun, 30 Oct 2011 15:21:04 +0000 (16:21 +0100)] 
win32: fix build

12 years agowin32: fix boost download
Lars Op den Kamp [Sun, 30 Oct 2011 15:12:35 +0000 (16:12 +0100)] 
win32: fix boost download

12 years agowin32: download boost deps from xbmc.org
Lars Op den Kamp [Sun, 30 Oct 2011 15:04:13 +0000 (16:04 +0100)] 
win32: download boost deps from xbmc.org

12 years agocec: check for enable_shared_from_this.hpp
Lars Op den Kamp [Sun, 30 Oct 2011 14:31:29 +0000 (15:31 +0100)] 
cec: check for enable_shared_from_this.hpp

12 years agocec: don't set the physical address to 0
Lars Op den Kamp [Sun, 30 Oct 2011 14:28:39 +0000 (15:28 +0100)] 
cec: don't set the physical address to 0

12 years agocec: added GetDevicePowerStatus()/cec_get_device_power_status()
Lars Op den Kamp [Sun, 30 Oct 2011 13:31:22 +0000 (14:31 +0100)] 
cec: added GetDevicePowerStatus()/cec_get_device_power_status()

12 years agocec: added GetDeviceVendorId()/cec_get_device_vendor_id()
Lars Op den Kamp [Sun, 30 Oct 2011 13:07:55 +0000 (14:07 +0100)] 
cec: added GetDeviceVendorId()/cec_get_device_vendor_id()

12 years agocec: store all commands in the command buffer, so they can be processed by libcec...
Lars Op den Kamp [Sun, 30 Oct 2011 12:31:39 +0000 (13:31 +0100)] 
cec: store all commands in the command buffer, so they can be processed by libcec clients

12 years agocec: added GetDeviceMenuLanguage()/cec_get_device_menu_language()
Lars Op den Kamp [Sun, 30 Oct 2011 12:26:37 +0000 (13:26 +0100)] 
cec: added GetDeviceMenuLanguage()/cec_get_device_menu_language()

12 years agocec: add GetDeviceCecVersion()/cec_get_device_cec_version() to the interface. mostly...
Lars Op den Kamp [Sun, 30 Oct 2011 11:31:27 +0000 (12:31 +0100)] 
cec: add GetDeviceCecVersion()/cec_get_device_cec_version() to the interface. mostly as a test for two-way device communication

12 years agocec: fixed - wait for ack while keeping a lock
Lars Op den Kamp [Sun, 30 Oct 2011 10:31:29 +0000 (11:31 +0100)] 
cec: fixed - wait for ack while keeping a lock

12 years agocec: fixed - wait for the processor thread to start before continueing
Lars Op den Kamp [Sun, 30 Oct 2011 10:28:39 +0000 (11:28 +0100)] 
cec: fixed - wait for the processor thread to start before continueing

12 years agocec: set the correct ackmask on startup
Lars Op den Kamp [Sun, 30 Oct 2011 10:22:11 +0000 (11:22 +0100)] 
cec: set the correct ackmask on startup

12 years agocec: include the ack timeout in the cec_command struct
Lars Op den Kamp [Sun, 30 Oct 2011 09:44:17 +0000 (10:44 +0100)] 
cec: include the ack timeout in the cec_command struct