deb_libcec.git
13 years agowin32: get LibCecSharp.dll directly from the Release dir since it's not copied to...
Lars Op den Kamp [Fri, 18 Nov 2011 23:06:48 +0000 (00:06 +0100)] 
win32: get LibCecSharp.dll directly from the Release dir since it's not copied to the output directory for some reason when creating it from the command line.

13 years agocec: fixed compiler warning after 45de9d9fb1cdefce6ecb53f372a9947480046bba
Lars Op den Kamp [Fri, 18 Nov 2011 22:40:40 +0000 (23:40 +0100)] 
cec: fixed compiler warning after 45de9d9fb1cdefce6ecb53f372a9947480046bba

13 years agoMerge branch 'ghuron/patch-1'. corrected CEC_OPCODE_DEVICE_VENDOR_ID. closes #5
Lars Op den Kamp [Fri, 18 Nov 2011 22:20:30 +0000 (23:20 +0100)] 
Merge branch 'ghuron/patch-1'. corrected CEC_OPCODE_DEVICE_VENDOR_ID. closes #5

13 years agocec: attempt to imitate SL when connected to an LG tv
Lars Op den Kamp [Fri, 18 Nov 2011 22:09:45 +0000 (23:09 +0100)] 
cec: attempt to imitate SL when connected to an LG tv

13 years agoUpdate src/lib/devices/CECBusDevice.cpp
ghuron [Thu, 17 Nov 2011 14:58:31 +0000 (18:58 +0400)] 
Update src/lib/devices/CECBusDevice.cpp

13 years agocec: make add() and clear() camelcased again and re-add the old methods and mark...
Lars Op den Kamp [Tue, 15 Nov 2011 23:54:39 +0000 (00:54 +0100)] 
cec: make add() and clear() camelcased again and re-add the old methods and mark them as deprecated

13 years agocec: rename cec_type_list::Add() and Clear() back to lower case or we'll break XBMC...
Lars Op den Kamp [Tue, 15 Nov 2011 23:37:39 +0000 (00:37 +0100)] 
cec: rename cec_type_list::Add() and Clear() back to lower case or we'll break XBMC compat

13 years agocec: added physical address option to testclient. credits @joshua-nord. closes #3
Lars Op den Kamp [Tue, 15 Nov 2011 23:01:45 +0000 (00:01 +0100)] 
cec: added physical address option to testclient. credits @joshua-nord. closes #3

13 years agocec: missed 1 TODO in LibCecSharp.cpp. copy command parameters in GetNextCommand()
Lars Op den Kamp [Mon, 14 Nov 2011 23:53:40 +0000 (00:53 +0100)] 
cec: missed 1 TODO in LibCecSharp.cpp. copy command parameters in GetNextCommand()

13 years agocosmetics
Lars Op den Kamp [Mon, 14 Nov 2011 23:41:29 +0000 (00:41 +0100)] 
cosmetics

13 years agocec: renamed enum methods. fixes potential macro collision with isset(). thanks davilla
Lars Op den Kamp [Mon, 14 Nov 2011 23:21:18 +0000 (00:21 +0100)] 
cec: renamed enum methods. fixes potential macro collision with isset(). thanks davilla

13 years agocec: added '-s' or '--single-command' to cec-client. starting cec-client with this...
Lars Op den Kamp [Mon, 14 Nov 2011 20:51:47 +0000 (21:51 +0100)] 
cec: added '-s' or '--single-command' to cec-client. starting cec-client with this parameter executes a single command in cec-client and does not power on devices on startup and power them off on exit. this way, you can use cec-client in a shell script. since there's some handshaking involved at startup, this is not very fast. to execute a command and only display the result and any error/warning, execute it with RESULT=`echo command | cec-client -s -d 3` (on linux/osx, win32 batch files are a bit different)

13 years agocec: cosmetics
Lars Op den Kamp [Mon, 14 Nov 2011 20:41:40 +0000 (21:41 +0100)] 
cec: cosmetics

13 years agowin32: removed .suo file
Lars Op den Kamp [Mon, 14 Nov 2011 20:34:25 +0000 (21:34 +0100)] 
win32: removed .suo file

13 years agocec: added a C++ CLR wrapper for libCEC, so libCEC can be used by any .NET language...
Lars Op den Kamp [Sun, 13 Nov 2011 19:47:14 +0000 (20:47 +0100)] 
cec: added a C++ CLR wrapper for libCEC, so libCEC can be used by any .NET language and ported the basics of cec-client over to C#.

13 years agocec: bump version numbers and added changelog for bugfix release 1.2
Lars Op den Kamp [Sat, 12 Nov 2011 12:38:34 +0000 (13:38 +0100)] 
cec: bump version numbers and added changelog for bugfix release 1.2

13 years agocec: fixed typo in 3557c68d1c9f4ce0191163a4ab48b6c5cec68488 and create a 'broadcast...
Lars Op den Kamp [Sat, 12 Nov 2011 11:37:19 +0000 (12:37 +0100)] 
cec: fixed typo in 3557c68d1c9f4ce0191163a4ab48b6c5cec68488 and create a 'broadcast/unregistered' bus device too

13 years agocec: pass the deck_control command to libcec listeners
Lars Op den Kamp [Sat, 12 Nov 2011 11:28:41 +0000 (12:28 +0100)] 
cec: pass the deck_control command to libcec listeners

13 years agocec: push_escaped should only accept uint8_t
Lars Op den Kamp [Sat, 12 Nov 2011 00:33:15 +0000 (01:33 +0100)] 
cec: push_escaped should only accept uint8_t

13 years agocec: check whether the initiator is valid in CCECProcessor::ParseCommand(). fixes...
Lars Op den Kamp [Fri, 11 Nov 2011 22:52:47 +0000 (23:52 +0100)] 
cec: check whether the initiator is valid in CCECProcessor::ParseCommand(). fixes possible segfault when parsing invalid data

13 years agocec: updated changelog
Lars Op den Kamp [Fri, 11 Nov 2011 22:36:41 +0000 (23:36 +0100)] 
cec: updated changelog

13 years agocec: fixed return value in CCECProcessor::SetStreamPath(), which prevented active...
Lars Op den Kamp [Fri, 11 Nov 2011 22:35:11 +0000 (23:35 +0100)] 
cec: fixed return value in CCECProcessor::SetStreamPath(), which prevented active source and menu state from being sent

13 years agoMerge branch 'release'
Lars Op den Kamp [Fri, 11 Nov 2011 19:55:46 +0000 (20:55 +0100)] 
Merge branch 'release'

13 years agocec: updated changelog for new package
Lars Op den Kamp [Fri, 11 Nov 2011 17:57:39 +0000 (18:57 +0100)] 
cec: updated changelog for new package

13 years agocec: forgot to update the minor version number in the header
Lars Op den Kamp [Fri, 11 Nov 2011 17:56:09 +0000 (18:56 +0100)] 
cec: forgot to update the minor version number in the header

13 years agocec: added the last commit to the changelog
Lars Op den Kamp [Fri, 11 Nov 2011 17:15:26 +0000 (18:15 +0100)] 
cec: added the last commit to the changelog

13 years agocec: transmit the menu state as (active) when the stream path is set
Lars Op den Kamp [Fri, 11 Nov 2011 17:05:30 +0000 (18:05 +0100)] 
cec: transmit the menu state as (active) when the stream path is set

13 years agocec: updated changelog for v1.1.0
Lars Op den Kamp [Fri, 11 Nov 2011 16:43:09 +0000 (17:43 +0100)] 
cec: updated changelog for v1.1.0

13 years agocec: bump version number to 1.1.0
Lars Op den Kamp [Fri, 11 Nov 2011 14:51:12 +0000 (15:51 +0100)] 
cec: bump version number to 1.1.0

13 years agocec: start with menu activated or keypresses won't be passed
Lars Op den Kamp [Fri, 11 Nov 2011 13:23:02 +0000 (14:23 +0100)] 
cec: start with menu activated or keypresses won't be passed

13 years agocec: added SetMenuState()
Lars Op den Kamp [Fri, 11 Nov 2011 12:51:09 +0000 (13:51 +0100)] 
cec: added SetMenuState()

13 years agocec: added some more audio related opcode handling. added TransmitVendorId(), but...
Lars Op den Kamp [Fri, 11 Nov 2011 11:13:39 +0000 (12:13 +0100)] 
cec: added some more audio related opcode handling. added TransmitVendorId(), but only transmit the id if it's not set to 'unknown'. transmit an abort message when a vendor specific command was received

13 years agoremoved: comments about default parameters
bobo1on1 [Fri, 11 Nov 2011 01:02:48 +0000 (02:02 +0100)] 
removed: comments about default parameters
fixed: iPhysicalAddress was uint16_t in the prototype and uint8_t in the function definition, apart from this being wrong, it also caused cec_init to be linked as a C++ function even though it's inside an extern "C" {} block

13 years agocec: added SetDeckControlMode() and SetDeckInfo(). handle deck related opcodes. proba...
Lars Op den Kamp [Fri, 11 Nov 2011 00:45:57 +0000 (01:45 +0100)] 
cec: added SetDeckControlMode() and SetDeckInfo(). handle deck related opcodes. probably needs some further tweaking

13 years agocec: fix some C header. still not actually tested this
Lars Op den Kamp [Thu, 10 Nov 2011 23:59:33 +0000 (00:59 +0100)] 
cec: fix some C header. still not actually tested this

13 years agocec: and rename them in the methods that use them too...
Lars Op den Kamp [Thu, 10 Nov 2011 23:35:44 +0000 (00:35 +0100)] 
cec: and rename them in the methods that use them too...

13 years agocec: renamed the last few enums
Lars Op den Kamp [Thu, 10 Nov 2011 23:34:12 +0000 (00:34 +0100)] 
cec: renamed the last few enums

13 years agocec: added ToString(cec_version)
Lars Op den Kamp [Thu, 10 Nov 2011 20:35:21 +0000 (21:35 +0100)] 
cec: added ToString(cec_version)

13 years agocec: added documentation of the methods in cecloader.h and added 'deprecated' to...
Lars Op den Kamp [Thu, 10 Nov 2011 19:42:29 +0000 (20:42 +0100)] 
cec: added documentation of the methods in cecloader.h and added 'deprecated' to the old load methods

13 years agowin32: removed unneeded afxres.h include in the resource files, which is not present...
Lars Op den Kamp [Thu, 10 Nov 2011 19:35:32 +0000 (20:35 +0100)] 
win32: removed unneeded afxres.h include in the resource files, which is not present when using studio express. thanks Ghuron

13 years agowin32: added win32 version of LibCecInit()
Lars Op den Kamp [Thu, 10 Nov 2011 19:34:34 +0000 (20:34 +0100)] 
win32: added win32 version of LibCecInit()

13 years agocec: fixed some int conversions that made the win32 build because it's configured...
Lars Op den Kamp [Thu, 10 Nov 2011 19:34:16 +0000 (20:34 +0100)] 
cec: fixed some int conversions that made the win32 build because it's configured to stop building on compiler warnings

13 years agowin32: sync visual studio project files
Lars Op den Kamp [Thu, 10 Nov 2011 19:32:41 +0000 (20:32 +0100)] 
win32: sync visual studio project files

13 years agocec: only send 'active source' when powered on
Lars Op den Kamp [Thu, 10 Nov 2011 17:30:00 +0000 (18:30 +0100)] 
cec: only send 'active source' when powered on

13 years agocec: always start in standby mode and let the tv (or other device) send the power...
Lars Op den Kamp [Thu, 10 Nov 2011 17:30:00 +0000 (18:30 +0100)] 
cec: always start in standby mode and let the tv (or other device) send the power on command

13 years agocec: audio systems cannot be an active source, so don't transmit active source messag...
Lars Op den Kamp [Thu, 10 Nov 2011 17:30:00 +0000 (18:30 +0100)] 
cec: audio systems cannot be an active source, so don't transmit active source message from this device

13 years agocec: show the power status as string instead of int
Lars Op den Kamp [Thu, 10 Nov 2011 17:30:00 +0000 (18:30 +0100)] 
cec: show the power status as string instead of int

13 years agocec: added SetActiveSource()/cec_set_active_source() to the interface. deprecated...
Lars Op den Kamp [Thu, 10 Nov 2011 17:30:00 +0000 (18:30 +0100)] 
cec: added SetActiveSource()/cec_set_active_source() to the interface. deprecated SetActiveView()/cec_set_active_view()

13 years agocec: set the power status to 'on' when receiving CEC_USER_CONTROL_CODE_POWER
Lars Op den Kamp [Thu, 10 Nov 2011 17:30:00 +0000 (18:30 +0100)] 
cec: set the power status to 'on' when receiving CEC_USER_CONTROL_CODE_POWER

13 years agocec: fixed handling of CEC_OPCODE_SET_STREAM_PATH
Lars Op den Kamp [Thu, 10 Nov 2011 17:30:00 +0000 (18:30 +0100)] 
cec: fixed handling of CEC_OPCODE_SET_STREAM_PATH

13 years agocec: handle CEC_OPCODE_ACTIVE_SOURCE
Lars Op den Kamp [Thu, 10 Nov 2011 17:30:00 +0000 (18:30 +0100)] 
cec: handle CEC_OPCODE_ACTIVE_SOURCE

13 years agocec: mark the active source as active and other devices as inactive. removed duplicat...
Lars Op den Kamp [Thu, 10 Nov 2011 17:30:00 +0000 (18:30 +0100)] 
cec: mark the active source as active and other devices as inactive. removed duplicate method SetActiveSource() / SetActiveView()

13 years agocec: moved TransmitDeckStatus() to CCECPlaybackDevice
Lars Op den Kamp [Thu, 10 Nov 2011 17:30:00 +0000 (18:30 +0100)] 
cec: moved TransmitDeckStatus() to CCECPlaybackDevice

13 years agocec: only send a power on command when a device isn't on already and set the power...
Lars Op den Kamp [Thu, 10 Nov 2011 17:30:00 +0000 (18:30 +0100)] 
cec: only send a power on command when a device isn't on already and set the power state to CEC_POWER_STATUS_IN_TRANSITION_STANDBY_TO_ON while powering on

13 years agocec: set power status to on when the stream path changed to something else than 0
Lars Op den Kamp [Thu, 10 Nov 2011 17:30:00 +0000 (18:30 +0100)] 
cec: set power status to on when the stream path changed to something else than 0

13 years agocec: handle CEC_OPCODE_STANDBY
Lars Op den Kamp [Thu, 10 Nov 2011 17:30:00 +0000 (18:30 +0100)] 
cec: handle CEC_OPCODE_STANDBY

13 years agocec: separate 'last command sent' and 'last active' in CCECBusDevice
Lars Op den Kamp [Thu, 10 Nov 2011 17:30:00 +0000 (18:30 +0100)] 
cec: separate 'last command sent' and 'last active' in CCECBusDevice

13 years agocec: moved method decriptions from cecc.h to cec.h
Lars Op den Kamp [Thu, 10 Nov 2011 17:30:00 +0000 (18:30 +0100)] 
cec: moved method decriptions from cecc.h to cec.h

13 years agowin32: prepend the com port path with '\\.\', so com ports > 9 can be accessed. thank...
Lars Op den Kamp [Thu, 10 Nov 2011 17:30:00 +0000 (18:30 +0100)] 
win32: prepend the com port path with '\\.\', so com ports > 9 can be accessed. thanks smolesen

13 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

13 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

13 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

13 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()

13 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()

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

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

13 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()

13 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

13 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

13 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

13 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

13 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

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

13 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...()

13 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

13 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

13 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

13 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

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

13 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

13 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

13 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()

13 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()

13 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

13 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

13 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

13 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

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

13 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

13 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

13 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

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

13 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