libcec (1.3-1) unstable; urgency=low * changed/added: * make libudev optional. if libudev is not available on linux, adapter autodetection will also not be available. fixes compilation on Hardy/ATV1 * added a C++ CLR wrapper for libCEC, so libCEC can be used by any .NET language * added vendor support for LG * added vendor support for Philips * added vendor support for Yamaha * added vendor support for Onkyo * added 'scan' command to cec-client, that displays info about devices on the bus. made all ToString() methods available on the interface. * 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) * added HDMI port ('-p' or '--port') and base device ('-b' or '--base') to cec-client's parameters * handle image view on and text view on * handle routing information and report physical address opcodes * handle audio status updates * send ping and bootloader commands via the output queue * scan the CEC bus for devices when starting libcec * pass all commands that are directed at libcec to listeners * interface changes: * added GetActiveSource()/cec_get_active_source() * added IsActiveSource()/cec_is_active_source() * added GetDevicePhysicalAddress()/cec_get_device_physical_address() * added GetDeviceOSDName()/cec_get_osd_name() * added SendKeypress()/cec_send_keypress() and SendKeyRelease()/ cec_send_key_release() * added VolumeUp()/cec_volume_up(), VolumeDown()/cec_volume_down(), MuteAudio()/cec_mute_audio() * added GetActiveDevices()/cec_get_active_devices(), IsActiveDevice()/ cec_is_active_device(), IsActiveDeviceType()/cec_is_active_device_type(). * added SetHDMIPort()/cec_set_hdmi_port(). devices are now detected on load and when a device with the same physical address is detected, libcec will use the selected hdmi port on that device. should fix source selection on other devices, like an amplifier * added a hook in libcec for physical address autodetection * fixed: * don't request the physical address from the tv (it's always 0x0000) * set the proper ackmask before doing anything else * don't unlock the transmit mutex in CCECProcessor while waiting for an answer * fix device polling * refactor CEC read/write. keep a single lock for all writes, not one per device * ignore other data while waiting for a response * retry failed tranmissions * don't delete a message before it's been sent when starting the bootloader * or when sending a ping * fixed possible segfault when switching the command handler after a vendor * id changed * handle audio opcodes correctly * inactive source should be directly addressed at the TV * don't report a changed physical address when it hasn't changed * routing information sets the stream path, not the physical address * don't scan the whole bus in CCECProcessor::IsActiveDeviceType() * don't request the vendor id from devices that are handled by libcec * mark device status as present when a command was received from a device * always send a power on command in CCECBusDevice::PowerOn() * don't request updates statusses unless needed * report physical address sends 3 parameters, not 2. check whether the device type is correct * devices can send vendor commands from other vendors, so don't assume the device is of a certain vendor when it sends commands with a vendor id * thread safety fixes. bugzid: 19 * clear any previous input when opening a connection to the adapter. bugzid: 54 * use the correct source address in CSLCommandHandler::HandleVendorCommand() * uncorrected CEC_OPCODE_DEVICE_VENDOR_ID. closes #5 * renamed enum methods. fixes potential macro collision with isset(). thanks davilla * don't change the active device when receiving stream path changed messages. fixes wrong source selection when powering after the TV. -- Pulse-Eight Packaging Fri, 09 Dec 2011 12:16:00 +0100 libcec (1.2-1) unstable; urgency=low * bugfixes: * pass the deck_control command to libcec listeners * check whether the initiator is valid in CCECProcessor::ParseCommand(). fixes possible segfault when parsing invalid data -- Pulse-Eight Packaging Sat, 12 Nov 2011 13:36:00 +0100 libcec (1.1-3) unstable; urgency=low * fixed return value in CCECProcessor::SetStreamPath(), which prevented active source and menu state from being sent -- Pulse-Eight Packaging Fri, 11 Nov 2011 23:36:00 +0100 libcec (1.1-2) unstable; urgency=low * forgot to update the headers to v1.1 -- Pulse-Eight Packaging Fri, 11 Nov 2011 18:56:00 +0100 libcec (1.1-1) unstable; urgency=low * interface changes: * 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() * added SetActiveSource()/cec_set_active_source() to the interface. deprecated SetActiveView()/cec_set_active_view() * added SetMenuState() * added PollDevice()/cec_poll_device() * removed duplicate method SetActiveSource() / SetActiveView() * added SetDeckControlMode() and SetDeckInfo() * fixed: * 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. * added vendor code for pioneer * osd string is 13 chars max. don't send more * send the correct cec version for each device * switch to panasonic specific cec implementation if a panasonic device was detected * send the correct device type in TransmitPhysicalAddress() * send a reply from the correct device when the stream path is requested * opcode 0x80 means the stream path changed, not the physical address * don't poll for a vendor ID in monitoring mode * fixed parameter parsing in SetVendorId() * buffer up commands that are received while waiting for an ack. only send 'active source' message for the actual active source * win32: prepend the com port path with '\\.\', so com ports > 9 can be accessed. thanks smolesen * audio systems cannot be an active source, so don't transmit active source message from this device * only send 'active source' when powered on * only set the osd name for the primary device. use default values for others * increase physical address with 0x100 per device * win32: removed unneeded afxres.h include in the resource files, which is not present when using studio express. thanks Ghuron * fixed C headers * mark the active source as active and other devices as inactive * set the power status to 'on' when receiving CEC_USER_CONTROL_CODE_POWER * transmit the menu state as (active) when the stream path is set * changed: * changed copyright of boblight files with permission of the original author * partial handling of audio related opcodes * more consistent log messages * set a device type and name for each CCECBusDevice * keep a power and menu state per device * renamed all Broadcast...() and Report...() methods to Transmit...() * renamed SetOSDString() to TransmitOSDString() * changed debug level of 'did not receive ack' from error to debug * only set the power status to 'on' for the primary device * moved method decriptions from cecc.h to cec.h * 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 * handle CEC_OPCODE_STANDBY * handle CEC_OPCODE_ACTIVE_SOURCE * always start in standby mode and let the tv (or other device) send the power on command * renamed the last few enums * handle deck related opcodes. * added TransmitVendorId(), but only transmit the id if it's not set to 'unknown' -- Pulse-Eight Packaging Fri, 11 Nov 2011 17:42:00 +0100 libcec (1.0-1) unstable; urgency=low * interface changes: * set lib interface version back to 1.0 and rename GetLibVersion() to GetLibVersionMajor() and GetMinVersion() to GetMinLibVersion() * added GetLibVersionMinor()/cec_get_lib_version_minor() and set the minor version number to 1 * fixed: * samsung's vendor specific remote keypresses don't send key releases. added call to AddKey() directly after the keypress * always reset the button press time in CLibCEC::AddKey() * always wait for a signal in CCECProcessor::Transmit() * changed: * drop shared_ptr and use a normal pointer. removed boost dependency -- Pulse-Eight Packaging Fri, 04 Nov 2011 00:14:00 +0100 libcec (0.8-2) unstable; urgency=low * added 'libboost-dev' to build deps -- Pulse-Eight Packaging Tue, 01 Nov 2011 23:31:00 +0100 libcec (0.8-1) unstable; urgency=low * 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 -- Pulse-Eight Packaging Tue, 01 Nov 2011 22:58:00 +0100 libcec (0.7-1) unstable; urgency=low * send a keypress with 0 duration when a key is pressed and with a duration set when it's released * added SetOSDString() to the interface (not supported by all tvs) * fixed: 'routing change' is a broadcast message. log routing changes, but don't send a 'set active view' message, so the active input won't be changed * log keypresses in the debug log * added 'pa' command to cec-client, to change the physical address * added SetPhysicalAddress()/cec_set_physical_address() to the interface, so the HDMI port number to use can be changed * fixed: put the message processing code from WaitForAck() in ParseMessage(). fixes missing incoming message logging of non-data messages when not waiting for an ACK * added 'txn' command to cec-client. same as 'tx', but doesn't wait for ACK before returning * fixed: set initiator and destination first in cec_command::push_back(). fixes 'tx' command in cec-client * fixed: keep trying to connect while iTimeout isn't reached (default 10 seconds). fixes exit with a 'permission denied' error when the device isn't ready yet. remove CEC_SETTLE_DOWN_TIME * fixed: don't call SetActiveView() when reporting the power status. fixes loop which causes some TVs to report failed connections * fixed: eom was not being parsed when receiving MSGCODE_FRAME_DATA. fixed. * fixed: add the device type as parameter when sending the physical address. thanks bobo1on1 * fixed: typo in libcec.pc.in * added optional strLib parameter to LoadLibCec(), so the location of the shared library can be specified * only link cec-client against ld. use AC_SEARCH_LIBS instead of AC_CHECK_LIB * use int instead of bool on the public C interface and remove stdbool.h include * renamed: CECExports.h => cec.h, CECExportsC.h => cecc.h, CECLoader.h => cecloader.h, CECTypes.h => cectypes.h * updated debian package. split up libcec and libcec-dev * fixed: changed to use dlopen instead of static linkage. shuffled headers a bit. bumped interface to version 7 * removed 'rt' from libraries. it's not needed (anymore) * fixed: reset the active view after a routing change. issue #1 * fixed: changed attached license to be GPLv2 instead of GPLv3 this was an error as libCEC is licensed GPLv2 not GPLv3 thanks @garbear * added contributors link -- Pulse-Eight Packaging Fri, 14 Oct 2011 17:34:00 +0200 libcec (0.6-1) unstable; urgency=low * bumped interface version to 6 * fixed packet output (reporting the OSD name correctly now) * refactored packet structs: split up in cec commands and adapter messages * fixed i/o timings * added Darwin support (thanks Davilla!) * fixed WaitForAck() * fixed possible deadlock when starting a new thread * implemented vendor id and device class parsing. full detection will follow * added "on" and "standby" commands to the test client * retransmit packets if needed * fix GetTimeMs() on linux * added timestamp to log messages -- Pulse-Eight Packaging Sun, 09 Oct 2011 15:15:00 +0200 libcec (0.5-1) unstable; urgency=low * bumped interface version to 5 * don't pass std::string and std::vector accross the interface * fixed heap corruption crashes on windows * fixed some memory leaks * reset all structs to default values before doing with them -- Pulse-Eight Packaging Fri, 07 Oct 2011 22:00:00 +0200 libcec (0.4-3) unstable; urgency=low * fixed reconnect * fixed some threading related bugs * fixed deadlock on exit * fixed wrongly reported physical address -- Pulse-Eight Packaging Thu, 06 Oct 2011 00:19:00 +0200 libcec (0.4-2) unstable; urgency=low * fixed int parameter sizes and some signed/unsigned warnings * check whether m_port isn't NULL in ReadFromDevice * stop the processor thread and delete the CSerialPort instance on exit * added mutex in CSerialPort * fix segfault on exit * renamed libPlatform -> platform. * stuck everything from libCEC in the CEC namespace to avoid namespace polution -- Pulse-Eight Packaging Tue, 04 Oct 2011 23:45:00 +0200 libcec (0.4-1) unstable; urgency=low * bumped interface version to 4 * timeout parameter removed from Close()/cec_close(). return type changed to void * added cec_destroy() method * removed timeout parameter from Transmit() * change the default argument of PowerOnDevices() to CECDEVICE_TV * removed PowerOffDevices(). use StandbyDevices() instead * removed obsolete methods from the interface * fixed bug: pthread_cond_wait was called without the mutex locked * fixed possible deadlock: don't send messages and wait for an ack with the mutex locked in CCECParser * created a separate reader thread and fixed the 'lock timeout' bug * testclient: use CECDEVICE_TV instead of the default argument (CECDEVICE_BROADCAST) for PowerOnDevices() and PowerOffDevices() -- Pulse-Eight Packaging Tue, 04 Oct 2011 00:48:00 +0200 libcec (0.3-1) unstable; urgency=low * added device detection support for Windows -- Pulse-Eight Packaging Sun, 02 Oct 2011 12:09:33 +0200 libcec (0.2-1) unstable; urgency=low * added a Close() method to the interface * Added CEC command that were received by the adapter in a buffer that can be read by a client with GetNextCommand()/cec_get_next_command(). added a 'help' command to the test client, that displays all available commands * Fixed setting the ackmask. deprecated SetAckMask()/cec_set_ack_mask(). use SetLogicalAddress()/cec_set_logical_address() instead. add 'la' command to the testclient to set the logical address of the cec adapter * Added optional logical and physical address parameters to LoadLibCec()/cec_init() on the interface. fixed wrongly placed namespace close tag in CECExports.h. updated interface documentation. bumped interface version to 2. * fixed hardcoded ackmask in SetAckMast(). set a shorter display name in the test client. the previous one was too long and being rejected -- Pulse-Eight Packaging Fri, 28 Sep 2011 01:33:00 +0200 libcec (0.1-1) unstable; urgency=low * Initial release v0.1 -- Pulse-Eight Packaging Wed, 28 Sep 2011 23:55:48 +0200