deb_libcec.git
13 years agoMerge branch 'master' into release
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

13 years agoadded changelog for v0.7
Lars Op den Kamp [Fri, 14 Oct 2011 15:34:41 +0000 (17:34 +0200)] 
added changelog for v0.7

13 years agocec: send a keypress with 0 duration when a key is pressed and with a duration set...
Lars Op den Kamp [Fri, 14 Oct 2011 14:17:08 +0000 (16:17 +0200)] 
cec: send a keypress with 0 duration when a key is pressed and with a duration set when it's released

13 years agocec: add SetOSDString() to the interface (not supported by all tvs)
Lars Op den Kamp [Fri, 14 Oct 2011 13:59:27 +0000 (15:59 +0200)] 
cec: add SetOSDString() to the interface (not supported by all tvs)

13 years agocec: fixed - 'routing change' is a broadcast message. log routing changes, but don...
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

13 years agocec: log keypresses in the debug log
Lars Op den Kamp [Fri, 14 Oct 2011 10:22:15 +0000 (12:22 +0200)] 
cec: log keypresses in the debug log

13 years agocec: added 'pa' command to cec-client, to change the physical address
Lars Op den Kamp [Fri, 14 Oct 2011 09:15:10 +0000 (11:15 +0200)] 
cec: added 'pa' command to cec-client, to change the physical address

13 years agocec: add SetPhysicalAddress()/cec_set_physical_address() to the interface, so the...
Lars Op den Kamp [Fri, 14 Oct 2011 09:06:24 +0000 (11:06 +0200)] 
cec: add SetPhysicalAddress()/cec_set_physical_address() to the interface, so the HDMI port number to use can be changed

13 years agocec: put the message processing code from WaitForAck() in ParseMessage(). fixes missi...
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

13 years agocec: add 'txn' command to cec-client. same as 'tx', but doesn't wait for ACK before...
Lars Op den Kamp [Fri, 14 Oct 2011 08:21:17 +0000 (10:21 +0200)] 
cec: add 'txn' command to cec-client. same as 'tx', but doesn't wait for ACK before returning

13 years agocec: set initiator and destination first in cec_command::push_back(). fixes 'tx'...
Lars Op den Kamp [Fri, 14 Oct 2011 08:13:10 +0000 (10:13 +0200)] 
cec: set initiator and destination first in cec_command::push_back(). fixes 'tx' command in cec-client

13 years agocec: keep trying to connect while iTimeout isn't reached (default 10 seconds). fixes...
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

13 years agocec: don't call SetActiveView() when reporting the power status. fixes loop which...
Lars Op den Kamp [Fri, 14 Oct 2011 00:10:39 +0000 (02:10 +0200)] 
cec: don't call SetActiveView() when reporting the power status. fixes loop which causes some TVs to report failed connections

13 years agocec: eom was not being parsed when receiving MSGCODE_FRAME_DATA. fixed. thanks again...
Lars Op den Kamp [Thu, 13 Oct 2011 23:59:46 +0000 (01:59 +0200)] 
cec: eom was not being parsed when receiving MSGCODE_FRAME_DATA. fixed. thanks again bob :-)

13 years agocec: add the device type as parameter when sending the physical address. thanks bobo1on1
Lars Op den Kamp [Thu, 13 Oct 2011 23:38:29 +0000 (01:38 +0200)] 
cec: add the device type as parameter when sending the physical address. thanks bobo1on1

13 years agocec: fixed typo in libcec.pc.in
Lars Op den Kamp [Thu, 13 Oct 2011 22:57:24 +0000 (00:57 +0200)] 
cec: fixed typo in libcec.pc.in

13 years agocec: add optional strLib parameter to LoadLibCec(), so the location of the shared...
Lars Op den Kamp [Thu, 13 Oct 2011 22:09:37 +0000 (00:09 +0200)] 
cec: add optional strLib parameter to LoadLibCec(), so the location of the shared library can be specified

13 years agowin32: also sync release target of the visual studio project file
Lars Op den Kamp [Thu, 13 Oct 2011 21:24:00 +0000 (23:24 +0200)] 
win32: also sync release target of the visual studio project file

13 years agocec: only link cec-client against ld. use AC_SEARCH_LIBS instead of AC_CHECK_LIB
Lars Op den Kamp [Thu, 13 Oct 2011 21:11:33 +0000 (23:11 +0200)] 
cec: only link cec-client against ld. use AC_SEARCH_LIBS instead of AC_CHECK_LIB

13 years agocec: use int instead of bool on the public C interface and remove stdbool.h include
Lars Op den Kamp [Thu, 13 Oct 2011 18:25:50 +0000 (20:25 +0200)] 
cec: use int instead of bool on the public C interface and remove stdbool.h include

13 years agowin32: sync visual studio project files. fixed: accidently included windows.h within...
Lars Op den Kamp [Thu, 13 Oct 2011 17:52:34 +0000 (19:52 +0200)] 
win32: sync visual studio project files. fixed: accidently included windows.h within a namespace tag; don't include stdbool.h on windows

13 years agofixed darwin lib name
davilla [Thu, 13 Oct 2011 06:39:48 +0000 (02:39 -0400)] 
fixed darwin lib name

13 years agorenamed: CECExports.h => cec.h, CECExportsC.h => cecc.h, CECLoader.h => cecloader...
Lars Op den Kamp [Wed, 12 Oct 2011 22:27:38 +0000 (00:27 +0200)] 
renamed: CECExports.h => cec.h, CECExportsC.h => cecc.h, CECLoader.h => cecloader.h, CECTypes.h => cectypes.h

13 years agoupdated debian package. split up libcec and libcec-dev
Lars Op den Kamp [Wed, 12 Oct 2011 21:07:16 +0000 (23:07 +0200)] 
updated debian package. split up libcec and libcec-dev

13 years agocec: changed to use dlopen instead of static linkage. shuffled headers a bit. bumped...
Lars Op den Kamp [Wed, 12 Oct 2011 19:10:17 +0000 (21:10 +0200)] 
cec: changed to use dlopen instead of static linkage. shuffled headers a bit. bumped interface to version 7

13 years agoremoved 'rt' from libraries. it's not needed (anymore)
Lars Op den Kamp [Tue, 11 Oct 2011 23:08:29 +0000 (01:08 +0200)] 
removed 'rt' from libraries. it's not needed (anymore)

13 years agocec: reset the active view after a routing change. issue #1
Lars Op den Kamp [Tue, 11 Oct 2011 23:02:37 +0000 (01:02 +0200)] 
cec: reset the active view after a routing change. issue #1

13 years agoCEC_SETTLE_DOWN_TIME 1000->1500. fixes 'permission denied' when accessing the adapter...
Lars Op den Kamp [Tue, 11 Oct 2011 22:46:45 +0000 (00:46 +0200)] 
CEC_SETTLE_DOWN_TIME 1000->1500. fixes 'permission denied' when accessing the adapter right after inserting it

13 years agofixed: changed attached license to be GPLv2 instead of GPLv3 this was an error as...
Martin Ellis [Tue, 11 Oct 2011 20:03:37 +0000 (22:03 +0200)] 
fixed: changed attached license to be GPLv2 instead of GPLv3 this was an error as libCEC is licensed GPLv2 not GPLv3 thanks @garbear

13 years agoAdded contributors link
Martin Ellis [Tue, 11 Oct 2011 11:25:43 +0000 (13:25 +0200)] 
Added contributors link

13 years agoMerge branch 'master' into release
Lars Op den Kamp [Sun, 9 Oct 2011 17:31:22 +0000 (19:31 +0200)] 
Merge branch 'master' into release

13 years agocec: added installer for windows. requires Visual Studio / Visual C++ 2010, NSIS...
Lars Op den Kamp [Sun, 9 Oct 2011 17:06:37 +0000 (19:06 +0200)] 
cec: added installer for windows. requires Visual Studio / Visual C++ 2010, NSIS and WinDDK.

13 years agoMerge branch 'master' into release
Lars Op den Kamp [Sun, 9 Oct 2011 13:22:44 +0000 (15:22 +0200)] 
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

13 years agoupdated changelog for release v0.6. updated lib version numbers
Lars Op den Kamp [Sun, 9 Oct 2011 13:15:42 +0000 (15:15 +0200)] 
updated changelog for release v0.6. updated lib version numbers

13 years agocec: sync visual studio project files. removed pthreadVC2d.dll / .lib (we're not...
Lars Op den Kamp [Sun, 9 Oct 2011 12:36:27 +0000 (14:36 +0200)] 
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().

13 years agocec: more cleanups. split up cec_adapter_message and cec_command. use cec_command...
Lars Op den Kamp [Sun, 9 Oct 2011 10:55:37 +0000 (12:55 +0200)] 
cec: more cleanups. split up cec_adapter_message and cec_command. use cec_command over the interface. bump interface version to 6

13 years agocec: moved some logic to the cec_packet struct. fix package output
Lars Op den Kamp [Sun, 9 Oct 2011 09:42:14 +0000 (11:42 +0200)] 
cec: moved some logic to the cec_packet struct. fix package output

13 years agocec: split up buffer and comm mutex again in CAdapterCommunication
Lars Op den Kamp [Sun, 9 Oct 2011 08:47:45 +0000 (10:47 +0200)] 
cec: split up buffer and comm mutex again in CAdapterCommunication

13 years agoenable darwin support
davilla [Sun, 9 Oct 2011 02:31:09 +0000 (22:31 -0400)] 
enable darwin support

13 years agoadd darwin support
davilla [Sun, 9 Oct 2011 02:30:29 +0000 (22:30 -0400)] 
add darwin support

13 years agofixed, classes with virtual methods must have a virtual destructor
davilla [Sun, 9 Oct 2011 02:27:11 +0000 (22:27 -0400)] 
fixed, classes with virtual methods must have a virtual destructor

13 years agoRevert "cec: fix timeout"
Lars Op den Kamp [Sat, 8 Oct 2011 18:29:36 +0000 (20:29 +0200)] 
Revert "cec: fix timeout"

This reverts commit 48787f390d45671622aa74a05a9235a08577345d.

13 years agocec: fix timeout
Lars Op den Kamp [Sat, 8 Oct 2011 18:22:59 +0000 (20:22 +0200)] 
cec: fix timeout

13 years agocec: only report the menu state when the parameter is CEC_MENU_REQUEST_TYPE_QUERY
Lars Op den Kamp [Sat, 8 Oct 2011 16:43:02 +0000 (18:43 +0200)] 
cec: only report the menu state when the parameter is CEC_MENU_REQUEST_TYPE_QUERY

13 years agocec: fix wait for ack
Lars Op den Kamp [Sat, 8 Oct 2011 16:30:12 +0000 (18:30 +0200)] 
cec: fix wait for ack

13 years agocec: send abort message when receiving opcode deck status
Lars Op den Kamp [Sat, 8 Oct 2011 15:44:34 +0000 (17:44 +0200)] 
cec: send abort message when receiving opcode deck status

13 years agocec: log message cosmetics
Lars Op den Kamp [Sat, 8 Oct 2011 15:39:14 +0000 (17:39 +0200)] 
cec: log message cosmetics

13 years agocec: parse and store the vendor id and device class of devices. only the vendor ID...
Lars Op den Kamp [Sat, 8 Oct 2011 15:36:04 +0000 (17:36 +0200)] 
cec: parse and store the vendor id and device class of devices. only the vendor ID of Samsung (240) is currently detected.

13 years agocec: fix possible deadlock when starting a new thread
Lars Op den Kamp [Sat, 8 Oct 2011 15:34:23 +0000 (17:34 +0200)] 
cec: fix possible deadlock when starting a new thread

13 years agocec: retransmit if needed. wait long enough for an ack message
Lars Op den Kamp [Sat, 8 Oct 2011 10:36:05 +0000 (12:36 +0200)] 
cec: retransmit if needed. wait long enough for an ack message

13 years agocec: add 'on' and 'standby' command to the test client
Lars Op den Kamp [Sat, 8 Oct 2011 10:16:06 +0000 (12:16 +0200)] 
cec: add 'on' and 'standby' command to the test client

13 years agocec: show the opcode as hex instead of decimal in the log when storing a command...
Lars Op den Kamp [Sat, 8 Oct 2011 09:52:27 +0000 (11:52 +0200)] 
cec: show the opcode as hex instead of decimal in the log when storing a command in the buffer

13 years agocec: fix GetTimeMs() on linux. add time in ms since startup to log messages
Lars Op den Kamp [Sat, 8 Oct 2011 09:29:52 +0000 (11:29 +0200)] 
cec: fix GetTimeMs() on linux. add time in ms since startup to log messages

13 years agocec: don't stop waiting for MSGCODE_COMMAND_ACCEPTED when another command was received
Lars Op den Kamp [Sat, 8 Oct 2011 08:53:07 +0000 (10:53 +0200)] 
cec: don't stop waiting for MSGCODE_COMMAND_ACCEPTED when another command was received

13 years agoMerge branch 'master' into release
Lars Op den Kamp [Sat, 8 Oct 2011 01:25:59 +0000 (03:25 +0200)] 
Merge branch 'master' into release

13 years agofixed changelog version number
Lars Op den Kamp [Sat, 8 Oct 2011 01:25:37 +0000 (03:25 +0200)] 
fixed changelog version number

13 years agoMerge branch 'master' into release
Lars Op den Kamp [Sat, 8 Oct 2011 01:22:15 +0000 (03:22 +0200)] 
Merge branch 'master' into release

13 years agocec: shorter lock times. copy currentframe while locked before processing it
Lars Op den Kamp [Sat, 8 Oct 2011 01:17:16 +0000 (03:17 +0200)] 
cec: shorter lock times. copy currentframe while locked before processing it

13 years agocec: clear the input buffer when parsing
Lars Op den Kamp [Sat, 8 Oct 2011 00:54:11 +0000 (02:54 +0200)] 
cec: clear the input buffer when parsing

13 years agocec: send opcode_image_view_on instead of text_view_on
Lars Op den Kamp [Sat, 8 Oct 2011 00:25:55 +0000 (02:25 +0200)] 
cec: send opcode_image_view_on instead of text_view_on

13 years agocec: removed dupe m_bRunning properties. wait until a thread is started before return...
Lars Op den Kamp [Fri, 7 Oct 2011 23:39:35 +0000 (01:39 +0200)] 
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.

13 years agolibcec v0.5 (WIP)
Lars Op den Kamp [Fri, 7 Oct 2011 21:05:40 +0000 (23:05 +0200)] 
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

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