Lars Op den Kamp [Wed, 3 Oct 2012 13:11:20 +0000 (15:11 +0200)]
fixed - don't wait for a response when sending a reply, so we don't block message handling
Lars Op den Kamp [Wed, 3 Oct 2012 12:52:45 +0000 (14:52 +0200)]
removed unused maxTries from CCECAdapterMessage
Lars Op den Kamp [Wed, 3 Oct 2012 11:57:10 +0000 (13:57 +0200)]
fixed - some messages from the adapter were marked as response while they weren't
Lars Op den Kamp [Wed, 3 Oct 2012 08:41:25 +0000 (10:41 +0200)]
sync LibCecSharp
Lars Op den Kamp [Tue, 2 Oct 2012 23:28:02 +0000 (01:28 +0200)]
updated debian package files
Lars Op den Kamp [Tue, 2 Oct 2012 23:01:48 +0000 (01:01 +0200)]
bump to v2.0.0
Lars Op den Kamp [Tue, 2 Oct 2012 22:43:30 +0000 (00:43 +0200)]
enable silent rules by default
Lars Op den Kamp [Tue, 2 Oct 2012 22:41:16 +0000 (00:41 +0200)]
bump so version
Lars Op den Kamp [Tue, 2 Oct 2012 22:40:35 +0000 (00:40 +0200)]
updated documentation, bumped version number defines
Lars Op den Kamp [Tue, 2 Oct 2012 22:40:10 +0000 (00:40 +0200)]
update client applications
Lars Op den Kamp [Tue, 2 Oct 2012 22:18:22 +0000 (00:18 +0200)]
removed deref from callback method params. fixes C compilation. breaking API change
Lars Op den Kamp [Tue, 2 Oct 2012 22:01:10 +0000 (00:01 +0200)]
removed deprecated constructor. cosmetics
Lars Op den Kamp [Tue, 2 Oct 2012 11:59:46 +0000 (13:59 +0200)]
bump to v2.0.0-pre. don't build cec-config.exe on windows (there's a gui version)
Lars Op den Kamp [Tue, 2 Oct 2012 11:07:09 +0000 (13:07 +0200)]
more missing docs
Lars Op den Kamp [Tue, 2 Oct 2012 10:24:42 +0000 (12:24 +0200)]
added more documentation
Lars Op den Kamp [Mon, 1 Oct 2012 11:44:11 +0000 (13:44 +0200)]
added FirmwareBuildDate, CECVersion and AdapterType to LibCecSharp's configuration too
Lars Op den Kamp [Mon, 1 Oct 2012 10:57:43 +0000 (12:57 +0200)]
updated documentation, formatting
Lars Op den Kamp [Fri, 28 Sep 2012 16:06:03 +0000 (18:06 +0200)]
removed deprecated methods and fields
Lars Op den Kamp [Fri, 28 Sep 2012 12:30:59 +0000 (14:30 +0200)]
cleanup xmldoc after building
Lars Op den Kamp [Fri, 28 Sep 2012 12:12:12 +0000 (14:12 +0200)]
added xmldocs to the installer
Lars Op den Kamp [Fri, 28 Sep 2012 12:10:27 +0000 (14:10 +0200)]
added xmldoc for LibCecSharp
Lars Op den Kamp [Fri, 28 Sep 2012 12:09:04 +0000 (14:09 +0200)]
updated documentation
Lars Op den Kamp [Fri, 28 Sep 2012 09:48:10 +0000 (11:48 +0200)]
Lars Op den Kamp [Fri, 21 Sep 2012 18:19:33 +0000 (20:19 +0200)]
fixed - set the message state to ADAPTER_MESSAGE_STATE_ERROR when receiving an error reply
Lars Op den Kamp [Fri, 21 Sep 2012 18:06:27 +0000 (20:06 +0200)]
silence some warnings. closes #47
Lars Op den Kamp [Fri, 21 Sep 2012 11:21:35 +0000 (13:21 +0200)]
added combo key handling, based on the implementation from @ashwinkp, but with support for all adapters and OS'es now. closes #32
Lars Op den Kamp [Fri, 21 Sep 2012 10:45:33 +0000 (12:45 +0200)]
moved code that handles the previous keypress
Lars Op den Kamp [Thu, 20 Sep 2012 15:23:55 +0000 (17:23 +0200)]
removed double check in cec-config
Lars Op den Kamp [Thu, 20 Sep 2012 15:20:55 +0000 (17:20 +0200)]
added signal handlers to cec-client and cec-config. closes #45
Lars Op den Kamp [Thu, 20 Sep 2012 10:51:00 +0000 (12:51 +0200)]
Revert "Make cectypes.h compile under C.". This will have to wait and be fixed properly in version 2.0 because fixing this will break backwards compat
This reverts commit
b20860402ff0b01b741aeafe106b4451345d6609.
Lars Op den Kamp [Wed, 19 Sep 2012 09:39:27 +0000 (02:39 -0700)]
Merge pull request #51 from warped-rudi/master-updates
Two minor extensions / fixes
warped-rudi [Mon, 3 Sep 2012 20:43:00 +0000 (22:43 +0200)]
cec: added vendor id Loewe
warped-rudi [Mon, 17 Sep 2012 15:22:00 +0000 (17:22 +0200)]
testclient: fixed vendor id always shown as zero
Lars Op den Kamp [Wed, 12 Sep 2012 13:29:44 +0000 (06:29 -0700)]
Merge pull request #46 from iKenndac/
b20860402ff0b01b741aeafe106b4451345d6609
Make cectypes.h compile under C
Daniel Kennett [Fri, 17 Aug 2012 16:43:08 +0000 (18:43 +0200)]
Make cectypes.h compile under C.
Lars Op den Kamp [Tue, 11 Sep 2012 12:44:22 +0000 (14:44 +0200)]
Merge branch 'development'
Lars Op den Kamp [Thu, 6 Sep 2012 08:58:23 +0000 (10:58 +0200)]
updated changelog
Lars Op den Kamp [Thu, 6 Sep 2012 08:57:16 +0000 (10:57 +0200)]
transmit an active source message after <set stream path> to a device that's handled by libCEC. closes #43
Lars Op den Kamp [Wed, 5 Sep 2012 15:05:42 +0000 (17:05 +0200)]
removed support/cec-flash-device.sh
Lars Op den Kamp [Wed, 5 Sep 2012 15:05:08 +0000 (17:05 +0200)]
bump version numbers to 1.9.0
Lars Op den Kamp [Wed, 5 Sep 2012 14:54:46 +0000 (16:54 +0200)]
updated changelog for 1.9.0
Lars Op den Kamp [Wed, 5 Sep 2012 14:42:37 +0000 (16:42 +0200)]
panasonic: send out an active source message when the tv started up because it sometimes doesn't request this
Lars Op den Kamp [Wed, 5 Sep 2012 14:30:36 +0000 (16:30 +0200)]
make cec-client include cecloader.h from our project, not from system
Lars Op den Kamp [Wed, 5 Sep 2012 13:07:02 +0000 (15:07 +0200)]
rpi: only notify libCEC that we lost our LA when the connection was initialised
Lars Op den Kamp [Wed, 5 Sep 2012 13:05:19 +0000 (15:05 +0200)]
stall outgoing messages when the logical address was lost, until we got a new address
Lars Op den Kamp [Wed, 5 Sep 2012 12:59:39 +0000 (14:59 +0200)]
allocate a new address in a background thread when the communication interface reports that the logical address was lost
Lars Op den Kamp [Wed, 5 Sep 2012 12:13:16 +0000 (14:13 +0200)]
extract logical address assignment from CCECProcessor::RegisterClient()
Josef Fruehwirth [Sat, 18 Aug 2012 12:07:04 +0000 (14:07 +0200)]
Retry m_port->Read(..) if an EINTR errror occurs instead of closing the connection. closes #38
Lars Op den Kamp [Wed, 5 Sep 2012 09:26:35 +0000 (11:26 +0200)]
rpi: handle vendor specific remote control presses. closes #42
Lars Op den Kamp [Wed, 5 Sep 2012 09:15:09 +0000 (11:15 +0200)]
rpi: handle VC_CEC_LOGICAL_ADDR_LOST in the rpi communication class itself, don't try to re-register the client, as it will lead to problem (such as a deadlock when the vid of the tv isn't known). closes #41. closes #34
Lars Op den Kamp [Mon, 3 Sep 2012 15:26:04 +0000 (17:26 +0200)]
rpi: handle VC_CEC_LOGICAL_ADDR_LOST. re-register the client when this happens, so a new LA is assigned
Lars Op den Kamp [Mon, 3 Sep 2012 15:18:30 +0000 (17:18 +0200)]
added HandleLogicalAddressLost() callback to IAdapterCommunication
Lars Op den Kamp [Fri, 31 Aug 2012 11:19:34 +0000 (13:19 +0200)]
updated driver installer
Lars Op den Kamp [Fri, 31 Aug 2012 11:12:56 +0000 (13:12 +0200)]
fixed duplicate entries check in CUSBCECAdapterDetection. cosmetics
Lars Op den Kamp [Thu, 30 Aug 2012 18:06:36 +0000 (20:06 +0200)]
added device detection support for composite usb devices on windows. needs the windows ddk, and it's expected to be found in C:\WinDDK\7600.16385.1
Lars Op den Kamp [Wed, 29 Aug 2012 12:35:41 +0000 (14:35 +0200)]
updated windows driver inf
Lars Op den Kamp [Wed, 29 Aug 2012 11:36:24 +0000 (13:36 +0200)]
only match one interface, not all three when detecting devices on linux and darwin
Lars Op den Kamp [Wed, 29 Aug 2012 11:31:16 +0000 (13:31 +0200)]
also match to pid 0x1002 in CUSBCECAdapterDetection
Lars Op den Kamp [Wed, 29 Aug 2012 10:27:12 +0000 (12:27 +0200)]
restrict the cdc part in the driver inf file to interface 0 for pid 0x1002
Lars Op den Kamp [Fri, 10 Aug 2012 08:55:48 +0000 (10:55 +0200)]
added the type of adapter to libcec_configuration, and display the type in cec-client -l. fixed missing cec_version updates in libcec_configuration
Lars Op den Kamp [Fri, 10 Aug 2012 08:10:16 +0000 (10:10 +0200)]
moved cec_adapter_messagecode from cectypes.h to USBCECAdapterMessage.h
Lars Op den Kamp [Mon, 6 Aug 2012 10:34:38 +0000 (12:34 +0200)]
Merge branch 'development'
Lars Op den Kamp [Fri, 3 Aug 2012 00:50:27 +0000 (02:50 +0200)]
win32: fixed signed/unsigned warning
Lars Op den Kamp [Fri, 3 Aug 2012 00:28:40 +0000 (02:28 +0200)]
bumped version numbers to 1.8.1, updated changelog
Lars Op den Kamp [Thu, 2 Aug 2012 23:35:54 +0000 (01:35 +0200)]
windows: update the error message when an error occurs while writing to the serial port
Lars Op den Kamp [Thu, 2 Aug 2012 17:26:23 +0000 (19:26 +0200)]
fixed - deleted a couple of lines too many in
045b2e29de7d187e8586fa3f6b59b9c6470efd31
Lars Op den Kamp [Thu, 2 Aug 2012 17:22:20 +0000 (19:22 +0200)]
cec: fixed - null ptr deref after 'cec-client -l'
Lars Op den Kamp [Thu, 2 Aug 2012 17:14:18 +0000 (19:14 +0200)]
cec: fixed - delayed source switch time was reset, resulting in an attempt every second until it succeeded
Lars Op den Kamp [Thu, 2 Aug 2012 16:57:53 +0000 (18:57 +0200)]
p8: don't disable controlled mode when switching to monitoring mode
Lars Op den Kamp [Thu, 2 Aug 2012 16:26:20 +0000 (18:26 +0200)]
cec: fixed - ensure that the vendor commands are always sent for panasonic, and that the deck status for lg isn't reset. fixes some buttons not working after a second or delayed source switch
Lars Op den Kamp [Thu, 2 Aug 2012 15:47:51 +0000 (17:47 +0200)]
cec: added guard so ReplaceHandler() doesn't accidently try to replace a handler for the broadcast address
Lars Op den Kamp [Thu, 2 Aug 2012 15:47:09 +0000 (17:47 +0200)]
cec: wait until the commandhandler is replaced before registering a client, so we don't register a client and replace it directly afterwards if the tv doesn't support the device type
Lars Op den Kamp [Thu, 2 Aug 2012 15:19:56 +0000 (17:19 +0200)]
cec: ensure that the command handler of the tv is replaced before registering a client, or it might result in a double eeprom write attempt
Lars Op den Kamp [Thu, 2 Aug 2012 10:11:05 +0000 (12:11 +0200)]
p8: match to the response provided by the firmware when checking responses (added in firmware v2 rev6). do delayed eeprom writes async, not in process, or it'll block processing of other input
Lars Op den Kamp [Fri, 27 Jul 2012 18:02:53 +0000 (20:02 +0200)]
Merge branch 'development'
Lars Op den Kamp [Fri, 27 Jul 2012 15:14:35 +0000 (17:14 +0200)]
p8: updated 'last firmware date' version so users see a popup when not using the latest version
Lars Op den Kamp [Wed, 25 Jul 2012 11:04:12 +0000 (13:04 +0200)]
added support for the Raspberry Pi. this needs a recent firmware for the Pi. libCEC's configure script will check whether the version is correct
Lars Op den Kamp [Wed, 25 Jul 2012 11:06:23 +0000 (13:06 +0200)]
updated changelog (release)
Lars Op den Kamp [Wed, 25 Jul 2012 10:33:07 +0000 (12:33 +0200)]
updated README with a link to the FAQ page
Lars Op den Kamp [Wed, 25 Jul 2012 10:24:19 +0000 (12:24 +0200)]
sync LibCecSharp
Lars Op den Kamp [Wed, 25 Jul 2012 10:03:44 +0000 (12:03 +0200)]
fixed typo in CUSBCECAdapterCommunication
Lars Op den Kamp [Wed, 25 Jul 2012 09:45:15 +0000 (11:45 +0200)]
p8: fixed - always set controlled mode to false when unregistering the last client. fixes 30 second timeout before controlled mode gets deactivated
Lars Op den Kamp [Wed, 25 Jul 2012 09:32:15 +0000 (11:32 +0200)]
p8: fixed - updated the cached device type setting properly when persisting new settings. correct return value from WriteEEPROM(). lock a mutex when updating the state
Lars Op den Kamp [Tue, 3 Jul 2012 08:34:17 +0000 (10:34 +0200)]
LibCecSharp: fixed - set the primary LA in CecLogicalAddresses
added GetLibInfo()/cec_get_lib_info() to the interface, that shows how libCEC was compiled and with which features included. added cec-client -i / cec-client --info
added ToString(cec_user_control_code_key) to the interface
added cecVersion to libcec_configuration, that configures the spec version that libCEC will use for devices it controls. defaults to v1.4
header cleanups, cleaned locks around callbacks, added CAdapterFactory, to create IAdapterCommunication instances, added --debug, --enable-optimisation
fixed: disallow sending CEC_OPCODE_SET_STREAM_PATH - not allowed by the CEC spec
fixed: when an image view source message was received from another device, then libCEC incorrectly marked that device as active source internally.
fixed: persist the configuration in the eeprom after initialising the client. fixes wrong/old settings being used in autonomous mode, which broke the wake on cec funtion
fixed: don't use a CTryLockObject in ReplaceHandler, but a standard lock and wait
fixed: unregister a registered client in RegisterClient() before requesting the vendorid, so the device members get reset. don't call ReplaceHander() another time, since GetVendorId() already doe$
fixed: don't try to write to the eeprom more than once within 30 seconds, and schedule another write if more than one change came in within the 30 seconds
Lars Op den Kamp [Wed, 27 Jun 2012 17:01:10 +0000 (19:01 +0200)]
fix OS-X build
Lars Op den Kamp [Wed, 27 Jun 2012 08:30:25 +0000 (10:30 +0200)]
Merge branch 'development'
Lars Op den Kamp [Wed, 27 Jun 2012 00:06:07 +0000 (02:06 +0200)]
updated changelog
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
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
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
Lars Op den Kamp [Tue, 26 Jun 2012 16:37:19 +0000 (18:37 +0200)]
updated changelog
Lars Op den Kamp [Tue, 26 Jun 2012 11:28:44 +0000 (13:28 +0200)]
cec: abi fixes (binary compat with v1.2)
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
Lars Op den Kamp [Tue, 26 Jun 2012 08:21:22 +0000 (10:21 +0200)]
cec: corrected Vizio's vendor id
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
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
Lars Op den Kamp [Mon, 25 Jun 2012 11:02:21 +0000 (13:02 +0200)]
updated changelog
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
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
Lars Op den Kamp [Mon, 25 Jun 2012 09:18:58 +0000 (11:18 +0200)]
fixed unused var warning