Lars Op den Kamp [Fri, 14 Oct 2011 15:35:27 +0000 (17:35 +0200)]
Merge branch 'master' into release
* 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
Lars Op den Kamp [Fri, 14 Oct 2011 10:52:30 +0000 (12:52 +0200)]
cec: 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
Lars Op den Kamp [Fri, 14 Oct 2011 08:51:29 +0000 (10:51 +0200)]
cec: put the message processing code from WaitForAck() in ParseMessage(). fixes missing incoming message logging of non-data messages when not waiting for an ACK
Lars Op den Kamp [Fri, 14 Oct 2011 00:23:11 +0000 (02:23 +0200)]
cec: 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
Merge branch 'master' into release
* 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
cec: sync visual studio project files. removed pthreadVC2d.dll / .lib (we're not going to debug pthread). don't return a struct but set the values in a struct passed as a param in cec_command::format().
cec: removed dupe m_bRunning properties. wait until a thread is started before returning from CreateThread(). shorter read times, so the comm mutex doesn't stay locked too long.
libcec v0.5 (WIP)
* 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
Merge branch 'master' into release
* 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
Merge branch 'master' into release
* 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()
cec: split up CEC processing and the public interface. removed obsolete methods from the interface. set minimal required interface version to 3 before releasing. clean ups, cosmetics. renamed some more files to be more descriptive
cec: extracted a thread class. 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. removed some obsolete code.