Commit Graph

14 Commits

Author SHA1 Message Date
Stefan Seyfried
10f50617ba CComponentsTimer: allow to set a thread name
Origin commit data
------------------
Commit: 6fdd920e42
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-02-12 (Sun, 12 Feb 2017)
2017-02-12 22:51:01 +01:00
Thilo Graf
ddb8e2f397 CComponentsTimer: try to fix possible uncanceled thread
Origin commit data
------------------
Commit: e9122fbc4b
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-12-29 (Thu, 29 Dec 2016)
2016-12-30 20:33:26 +01:00
Thilo Graf
60ed437f3e 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.


Origin commit data
------------------
Commit: 3cd509aa2d
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-12-27 (Tue, 27 Dec 2016)
2016-12-27 18:18:00 +01:00
Thilo Graf
fc538b2012 CComponentsTimer: add support for nano seconds
To enable nano mode, parameter is_nano must set to true.


Origin commit data
------------------
Commit: d0dd14040f
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-10-20 (Thu, 20 Oct 2016)
2016-10-24 10:31:28 +02:00
Thilo Graf
f5932d9cd8 CComponentsTimer: rework timer class
Origin commit data
------------------
Commit: 4904279fd5
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-04-25 (Mon, 25 Apr 2016)
2016-04-25 10:26:32 +02:00
Thilo Graf
a2587c0d8c ComponentsTimer: ensure slot connect/disconnect dependency from slot state
Origin commit data
------------------
Commit: f4eb9e45ec
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-04-17 (Sun, 17 Apr 2016)
2016-04-18 17:58:02 +02:00
Thilo Graf
72a289a90c 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


Origin commit data
------------------
Commit: 0146511f38
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-11-18 (Wed, 18 Nov 2015)

Origin message was:
------------------
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
ff6e864019 CComponentsTimer: move mySleep call into mutex block, seems was not ok so
Origin commit data
------------------
Commit: 45623aa810
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-02-28 (Sat, 28 Feb 2015)
2015-03-29 22:40:14 +02:00
Thilo Graf
011ed9ca90 CComponentsTimer: move pthread members into startTimer()
Origin commit data
------------------
Commit: 012c699951
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-01-20 (Tue, 20 Jan 2015)
2015-03-29 22:40:10 +02:00
Thilo Graf
e1406d1077 CComponentsTimer: start timer only if interval > 0
Origin commit data
------------------
Commit: 8aa2b6a5ab
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-09-30 (Tue, 30 Sep 2014)
2015-03-29 22:39:50 +02:00
Thilo Graf
bd97f0dbaf CComponentsTimer: log output moved
Log message was shown on each call of startTimer.


Origin commit data
------------------
Commit: eebfc455c6
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-09-30 (Tue, 30 Sep 2014)
2015-03-29 22:39:50 +02:00
Thilo Graf
b2eb512db1 CComponentsTimer: add slot for auto timer start/stop
Connection with OnBeforeRestart ensures closing threads.
Under certain circumstances, eg. running thread, a restart could fail.


Origin commit data
------------------
Commit: 28ef6e147e
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-09-26 (Fri, 26 Sep 2014)
2015-03-29 22:39:49 +02:00
Thilo Graf
83f124eab2 CComponentsTimer: add mutex handling, use neutrino log
Origin commit data
------------------
Commit: cfd1510a5c
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-09-12 (Fri, 12 Sep 2014)
2014-09-25 11:03:03 +04:00
Thilo Graf
aaddd45ee5 CComponents: add new header file cc_signals.h with some basic members
Origin commit data
------------------
Commit: 4731521070
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-08-03 (Sun, 03 Aug 2014)
2014-09-25 10:58:22 +04:00