Commit Graph

20 Commits

Author SHA1 Message Date
Jacek Jendrzej
8337c2402b fix stack buffer underflow
Origin commit data
------------------
Commit: bdd23e0ece
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2017-09-21 (Thu, 21 Sep 2017)
2017-09-21 18:46:21 +02:00
Jacek Jendrzej
462626f9eb fix start clock supplement to 0f9284bf91
Origin commit data
------------------
Commit: b1f820aa44
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2017-09-19 (Tue, 19 Sep 2017)
2017-09-19 12:40:02 +02:00
Jacek Jendrzej
f598fd51d3 try to fix tm thread
Origin commit data
------------------
Commit: 513850f915
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2017-09-14 (Thu, 14 Sep 2017)
2017-09-14 12:09:40 +02:00
Thilo Graf
77cd7c8ef0 CComponentsTimer: exec OnTimer cleanup after stopped thread
Users reported about crashes, but I could not verify them by myself.

Supplement to: 8f7b23ad19


Origin commit data
------------------
Commit: 6e9e4de638
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-05-29 (Mon, 29 May 2017)
2017-05-29 22:25:59 +02:00
Thilo Graf
8f7b23ad19 CComponentsTimer: ensure cleanup of OnTimer signal while sopping timer
Origin commit data
------------------
Commit: c0fe5d2402
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-05-27 (Sat, 27 May 2017)
2017-05-27 17:27:04 +02:00
Thilo Graf
fe82b8acb8 CComponentsTimer: use sleep() instead mySleep()
Had some problems with mySleep() related to select() which was used
inside mySleep()


Origin commit data
------------------
Commit: dbc4a487e4
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-04-11 (Tue, 11 Apr 2017)
2017-04-13 23:36:34 +02:00
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