deb_libcec.git
13 years agoMerge branch 'master' into release
Lars Op den Kamp [Wed, 5 Oct 2011 22:20:34 +0000 (00:20 +0200)] 
Merge branch 'master' into release

13 years agochangelog updated for release v0.4.3
Lars Op den Kamp [Wed, 5 Oct 2011 22:19:51 +0000 (00:19 +0200)] 
changelog updated for release v0.4.3

13 years agowin32: updated visual studio project files
Lars Op den Kamp [Wed, 5 Oct 2011 22:12:53 +0000 (00:12 +0200)] 
win32: updated visual studio project files

13 years agowin32: fix uint8_t -> uint16_t argument
Lars Op den Kamp [Wed, 5 Oct 2011 21:52:05 +0000 (23:52 +0200)] 
win32: fix uint8_t -> uint16_t argument

13 years agocec: fix reconnect
Lars Op den Kamp [Wed, 5 Oct 2011 21:14:12 +0000 (23:14 +0200)] 
cec: fix reconnect

13 years agocec: fix some threading related bugs, like trying to join with a detached thread...
Lars Op den Kamp [Wed, 5 Oct 2011 21:13:48 +0000 (23:13 +0200)] 
cec: fix some threading related bugs, like trying to join with a detached thread. give each thread it's own condition. fixes deadlock on exit

13 years agocec: forgot the physical address when doing the int parameters, resulting in a wronly...
Lars Op den Kamp [Tue, 4 Oct 2011 22:12:37 +0000 (00:12 +0200)] 
cec: forgot the physical address when doing the int parameters, resulting in a wronly reported physical address

13 years agoMerge branch 'master' into release
Lars Op den Kamp [Tue, 4 Oct 2011 21:48:29 +0000 (23:48 +0200)] 
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

13 years agoupdated changelog for v0.4.1
Lars Op den Kamp [Tue, 4 Oct 2011 21:48:10 +0000 (23:48 +0200)] 
updated changelog for v0.4.1

13 years agocec: fix the last commit on linux
Lars Op den Kamp [Tue, 4 Oct 2011 21:39:37 +0000 (23:39 +0200)] 
cec: fix the last commit on linux

13 years agocec: fixed int parameter sizes and some signed/unsigned warnings. will need to be...
Lars Op den Kamp [Tue, 4 Oct 2011 21:19:09 +0000 (23:19 +0200)] 
cec: fixed int parameter sizes and some signed/unsigned warnings. will need to be synced with linux

13 years agowin32: sync visual studio project files. increased warning level to 4. added Release...
Lars Op den Kamp [Tue, 4 Oct 2011 21:16:59 +0000 (23:16 +0200)] 
win32: sync visual studio project files. increased warning level to 4. added Release target

13 years agocec: check whether m_port isn't NULL in ReadFromDevice
Lars Op den Kamp [Tue, 4 Oct 2011 18:59:47 +0000 (20:59 +0200)] 
cec: check whether m_port isn't NULL in ReadFromDevice

13 years agocec : stop the processor thread and delete the CSerialPort instance on exit. zzzz
Lars Op den Kamp [Tue, 4 Oct 2011 18:51:39 +0000 (20:51 +0200)] 
cec : stop the processor thread and delete the CSerialPort instance on exit. zzzz

13 years agocec: mutex in CSerialPort
Lars Op den Kamp [Tue, 4 Oct 2011 18:48:02 +0000 (20:48 +0200)] 
cec: mutex in CSerialPort

13 years agocec: fix segfault on exit
Lars Op den Kamp [Tue, 4 Oct 2011 18:31:56 +0000 (20:31 +0200)] 
cec: fix segfault on exit

13 years agorenamed libPlatform -> platform. stuck everything from libCEC in the CEC namespace...
Lars Op den Kamp [Tue, 4 Oct 2011 17:55:18 +0000 (19:55 +0200)] 
renamed libPlatform -> platform. stuck everything from libCEC in the CEC namespace to avoid namespace polution

13 years agoMerge branch 'master' into release
Lars Op den Kamp [Mon, 3 Oct 2011 22:54:29 +0000 (00:54 +0200)] 
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()

13 years agocec: bumped interface version to 4 stay in sync with the lib version. added changelog...
Lars Op den Kamp [Mon, 3 Oct 2011 22:49:53 +0000 (00:49 +0200)] 
cec: bumped interface version to 4 stay in sync with the lib version. added changelog for libcec v0.4

13 years agowin32: sync visual studio project files
Lars Op den Kamp [Mon, 3 Oct 2011 22:36:55 +0000 (00:36 +0200)] 
win32: sync visual studio project files

13 years agocec: fixed return value of StopThread()
Lars Op den Kamp [Mon, 3 Oct 2011 22:36:40 +0000 (00:36 +0200)] 
cec: fixed return value of StopThread()

13 years agocec: split up CEC processing and the public interface. removed obsolete methods from...
Lars Op den Kamp [Mon, 3 Oct 2011 22:22:27 +0000 (00:22 +0200)] 
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

13 years agocec: renamed CCommunication -> CAdapterCommunication
Lars Op den Kamp [Mon, 3 Oct 2011 19:54:29 +0000 (21:54 +0200)] 
cec: renamed CCommunication -> CAdapterCommunication

13 years agocec: extracted a thread class. fixed bug: pthread_cond_wait was called without the...
Lars Op den Kamp [Mon, 3 Oct 2011 19:40:00 +0000 (21:40 +0200)] 
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.

13 years agotimeout parameter removed from Close()/cec_close(). return type changed to void....
Lars Op den Kamp [Mon, 3 Oct 2011 11:09:25 +0000 (13:09 +0200)] 
timeout parameter removed from Close()/cec_close(). return type changed to void. added cec_destroy() method

13 years agofixed return value check of m_communication->Write()
Lars Op den Kamp [Mon, 3 Oct 2011 10:52:24 +0000 (12:52 +0200)] 
fixed return value check of m_communication->Write()

13 years agowin32: added new files to the libcec vs2010 project
Lars Op den Kamp [Mon, 3 Oct 2011 10:51:18 +0000 (12:51 +0200)] 
win32: added new files to the libcec vs2010 project

13 years agocec: removed timeout parameter from Transmit()
Lars Op den Kamp [Sun, 2 Oct 2011 23:43:53 +0000 (01:43 +0200)] 
cec: removed timeout parameter from Transmit()

13 years agocec: created a separate reader thread and fixed the 'lock timeout' bug
Lars Op den Kamp [Sun, 2 Oct 2011 23:29:58 +0000 (01:29 +0200)] 
cec: created a separate reader thread and fixed the 'lock timeout' bug

13 years agocec: change the default argument of PowerOnDevices() to CECDEVICE_TV. deprecate Power...
Lars Op den Kamp [Sun, 2 Oct 2011 19:30:03 +0000 (21:30 +0200)] 
cec: change the default argument of PowerOnDevices() to CECDEVICE_TV. deprecate PowerOffDevices(). use StandbyDevices() instead

13 years agotestclient: use CECDEVICE_TV instead of the default argument (CECDEVICE_BROADCAST...
Lars Op den Kamp [Sun, 2 Oct 2011 18:51:04 +0000 (20:51 +0200)] 
testclient: use CECDEVICE_TV instead of the default argument (CECDEVICE_BROADCAST) for PowerOnDevices() and PowerOffDevices()

13 years agoMerge branch 'master' into release
Lars Op den Kamp [Sun, 2 Oct 2011 10:11:18 +0000 (12:11 +0200)] 
Merge branch 'master' into release

13 years agoadded changelog for release v0.3
Lars Op den Kamp [Sun, 2 Oct 2011 10:10:36 +0000 (12:10 +0200)] 
added changelog for release v0.3

13 years agocec: check whether the specified path in the parameter of CCECDetect::FindDevices...
Lars Op den Kamp [Sat, 1 Oct 2011 15:39:00 +0000 (17:39 +0200)] 
cec: check whether the specified path in the parameter of CCECDetect::FindDevices() matches the devices that are found (if that parameter is provided)

13 years agocec: the CEC adapter will now also be autodetected on wjndows
Lars Op den Kamp [Sat, 1 Oct 2011 14:39:23 +0000 (16:39 +0200)] 
cec: the CEC adapter will now also be autodetected on wjndows

13 years agoMerge branch 'master' into release
Lars Op den Kamp [Thu, 29 Sep 2011 23:35:42 +0000 (01:35 +0200)] 
Merge branch 'master' into release

13 years agoupdated changelog and version for v0.2
Lars Op den Kamp [Thu, 29 Sep 2011 23:34:49 +0000 (01:34 +0200)] 
updated changelog and version for v0.2

13 years agocec: add a Close() method to the interface
Lars Op den Kamp [Thu, 29 Sep 2011 21:27:28 +0000 (23:27 +0200)] 
cec: add a Close() method to the interface

13 years agocec: fix the command buffer
Lars Op den Kamp [Thu, 29 Sep 2011 20:31:13 +0000 (22:31 +0200)] 
cec: fix the command buffer

13 years agocec: forgot to initialise m_maxSize in CecBuffer
Lars Op den Kamp [Thu, 29 Sep 2011 20:03:07 +0000 (22:03 +0200)] 
cec: forgot to initialise m_maxSize in CecBuffer

13 years agocec: added CEC command that were received by the adapter in a buffer that can be...
Lars Op den Kamp [Thu, 29 Sep 2011 19:53:47 +0000 (21:53 +0200)] 
cec: 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

13 years agocec: fix compilation on windows after interface changes
Lars Op den Kamp [Thu, 29 Sep 2011 16:57:31 +0000 (18:57 +0200)] 
cec: fix compilation on windows after interface changes

13 years agocec: fixed setting the ackmask. deprecated SetAckMask()/cec_set_ack_mask(). use SetLo...
Lars Op den Kamp [Thu, 29 Sep 2011 15:44:15 +0000 (17:44 +0200)] 
cec: 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

13 years agocec: added optional logical and physical address parameters to LoadLibCec()/cec_init...
Lars Op den Kamp [Thu, 29 Sep 2011 12:32:04 +0000 (14:32 +0200)] 
cec: 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.

13 years agocec: fix hardcoded ackmask in SetAckMast(). set a shorter display name in the test...
Lars Op den Kamp [Wed, 28 Sep 2011 23:42:46 +0000 (01:42 +0200)] 
cec: fix hardcoded ackmask in SetAckMast(). set a shorter display name in the test client. the previous one was too long and being rejected

13 years agoinitial commit containing libcec v0.1. see README for details.
Lars Op den Kamp [Wed, 28 Sep 2011 22:52:53 +0000 (00:52 +0200)] 
initial commit containing libcec v0.1. see README for details.