Commit Graph

21 Commits

Author SHA1 Message Date
Thilo Graf
caface0a88 CComponentsTimer: try to fix timing on non cst hardware
On hd51 and pc hardware was observed full visual timeout progress in message boxes.
Timeoout was displayed always without visible progress.
This should fix this.
2017-11-23 16:37:48 +01:00
Jacek Jendrzej
bdd23e0ece fix stack buffer underflow 2017-09-21 18:46:21 +02:00
Jacek Jendrzej
b1f820aa44 fix start clock supplement to d30bd0ea26 2017-09-19 12:40:02 +02:00
Jacek Jendrzej
513850f915 try to fix tm thread 2017-09-14 12:09:40 +02:00
Thilo Graf
6e9e4de638 CComponentsTimer: exec OnTimer cleanup after stopped thread
Users reported about crashes, but I could not verify them by myself.

Supplement to: c0fe5d2402
2017-05-29 22:25:59 +02:00
Thilo Graf
c0fe5d2402 CComponentsTimer: ensure cleanup of OnTimer signal while sopping timer 2017-05-27 17:27:04 +02:00
Thilo Graf
dbc4a487e4 CComponentsTimer: use sleep() instead mySleep()
Had some problems with mySleep() related to select() which was used
inside mySleep()
2017-04-13 23:36:34 +02:00
Stefan Seyfried
6fdd920e42 CComponentsTimer: allow to set a thread name 2017-02-12 22:51:01 +01:00
Thilo Graf
e9122fbc4b CComponentsTimer: try to fix possible uncanceled thread 2016-12-30 20:33:26 +01:00
Thilo Graf
3cd509aa2d CComponentsTimer: disconnecting slots before stop timer thread, show error
Disconnecting of slots before stop threads ensures disconnecting
also on thread errors and keeps timer slots clear.
2016-12-27 18:18:00 +01:00
Thilo Graf
d0dd14040f CComponentsTimer: add support for nano seconds
To enable nano mode, parameter is_nano must set to true.
2016-10-24 10:31:28 +02:00
Thilo Graf
4904279fd5 CComponentsTimer: rework timer class 2016-04-25 10:26:32 +02:00
Thilo Graf
f4eb9e45ec ComponentsTimer: ensure slot connect/disconnect dependency from slot state 2016-04-18 17:58:02 +02:00
Thilo Graf
0146511f38 components: rework classes
- outsourced some classes cc_item.cpp/h, cc_draw.cpp/h
- added extra methodes for simple use of some basic components extra.cpp/h
- rework clock handling: use timer class, reworked members for
  enable/disable clock with external timer events,
  tryed to fix some display issues related with infoclock and
  time osd clock in moviebrowser, channellist, menuus
- reworked hide/kill handling, removed parameter for hide(), try to use
  cached backgrounds for other constallations, paint cache, image cache (all beta)
- reworked shadow/frame handling, add shadow modes for left/right
  arrangement, TODO: repaint for existant instances required
- reworked color gradient assignment (beta)

... Note: I had a data crash in my local git tree
and i tryed to restore my historie, but most was lost. Therefore here
the commit is large
2015-12-27 14:42:27 +01:00
Thilo Graf
45623aa810 CComponentsTimer: move mySleep call into mutex block, seems was not ok so 2015-03-29 22:40:14 +02:00
Thilo Graf
012c699951 CComponentsTimer: move pthread members into startTimer() 2015-03-29 22:40:10 +02:00
Thilo Graf
8aa2b6a5ab CComponentsTimer: start timer only if interval > 0 2015-03-29 22:39:50 +02:00
Thilo Graf
eebfc455c6 CComponentsTimer: log output moved
Log message was shown on each call of startTimer.
2015-03-29 22:39:50 +02:00
Thilo Graf
28ef6e147e CComponentsTimer: add slot for auto timer start/stop
Connection with OnBeforeRestart ensures closing threads.
Under certain circumstances, eg. running thread, a restart could fail.
2015-03-29 22:39:49 +02:00
Thilo Graf
cfd1510a5c CComponentsTimer: add mutex handling, use neutrino log 2014-09-25 11:03:03 +04:00
Thilo Graf
4731521070 CComponents: add new header file cc_signals.h with some basic members 2014-09-25 10:58:22 +04:00