Commit Graph

9829 Commits

Author SHA1 Message Date
Stefan Seyfried
f308ca649a keybind_setup: use rcinput->setKeyRepeatDelay() 2017-02-20 20:25:57 +01:00
Stefan Seyfried
57fa882b81 rcinput: fix set_rc_hw() after dynamic devices patch
...this could use some tests... :-)
2017-02-20 20:22:32 +01:00
Stefan Seyfried
7a6dd0c46e rcinput: add setKeyRepeatDelay() function
this allows to get rid of the broken getFileHandle function later
2017-02-20 20:20:54 +01:00
Stefan Seyfried
98557462ef rcinput: use a dynamic list of input devices
Instead of the fixed, static list of input devices, scan /dev/input/ for
proper event devices. A "good" input device is one that supports the
EVIOCGBIT ioctl and at least the EV_KEY event type.
This probably needs further fixes, e.g. in repeat rate setting code.
2017-02-19 23:16:09 +01:00
Stefan Seyfried
50cf26441f tuxtxt: remove dead code, unnecessary header includes 2017-02-19 18:14:57 +01:00
Stefan Seyfried
98b7904a47 tuxtxt: remove old, unused input code 2017-02-19 18:04:50 +01:00
Stefan Seyfried
dce9f53654 fb_accel_glfb: fix color palette setting 2017-02-19 17:57:59 +01:00
Stefan Seyfried
39bb1c5cad tuxtxt: remove old framebuffer device code 2017-02-19 14:34:44 +01:00
Stefan Seyfried
e906fc70e3 tuxtxt: remove unused dmx variable 2017-02-19 12:09:03 +01:00
Stefan Seyfried
eb3fa7f2af libtuxtxt: remove unused fd parameter from tuxtx_main() 2017-02-19 11:52:37 +01:00
Stefan Seyfried
b10cd6a973 acinclude: move AC_SYS_LARGEFILE after AC_CANONICAL_*
no idea why, but detection of 64bit largefile flags fails otherwise in
some setups
2017-02-19 11:30:11 +01:00
Stefan Seyfried
73dc5eea71 fb_generic: use 32bit pointers instead of 8bit 2017-02-19 11:29:20 +01:00
Stefan Seyfried
a6fc59ad6c fb_generic: add swidth variable, "stride in fb_pixel_t units"
this should allow to use fb_pixel_t pointer arithmetics more often
instead of byte pointers
2017-02-15 20:30:52 +01:00
Stefan Seyfried
1d9d81d448 Merge remote-tracking branch 'tuxbox/master' 2017-02-15 20:26:44 +01:00
M. Liebmann
84edb25f3f fb_accel_cs_hd2: add missing getBackBufferPointer() 2017-02-15 18:39:02 +01:00
Stefan Seyfried
c977c98217 tuxtxt: convert to int-pointer arithmetic, work with all framebuffers
This converts the drawing code from byte-pointer to fb_pixel_t-pointer
arithmetic, making the calculations more obvious and probably more
efficient.
Additionally, the color tables are now generated in a way that it should
work regardless of the frame buffer color format. Allows to remove a few
hardware specific #ifdefs.
2017-02-15 18:38:03 +01:00
M. Liebmann
5612baaff7 libtuxtxt: Transfer from neutrino-mp for better compatibility 2017-02-15 18:38:03 +01:00
Stefan Seyfried
20a85c3874 fb_accel_td: add missing getBackBufferPointer()
this fixes tuxtxt rendering problems
2017-02-15 18:38:03 +01:00
Stefan Seyfried
f51278b094 tuxtxt: convert to int-pointer arithmetic, work with all framebuffers
This converts the drawing code from byte-pointer to fb_pixel_t-pointer
arithmetic, making the calculations more obvious and probably more
efficient.
Additionally, the color tables are now generated in a way that it should
work regardless of the frame buffer color format. Allows to remove a few
hardware specific #ifdefs.
2017-02-15 00:31:26 +01:00
Stefan Seyfried
3413af4236 fb_accel_td: add missing getBackBufferPointer()
this fixes tuxtxt rendering problems
2017-02-15 00:10:59 +01:00
M. Liebmann
e8ec4540ca fb_generic: make blitBox2FB virtual 2017-02-14 20:01:55 +01:00
M. Liebmann
de80748cac fb_generic.h: Add missing function add_gxa_sync_marker()
- is required for cs hd1
2017-02-14 20:01:55 +01:00
Stefan Seyfried
e1e2052edb system/helpers: disable GetWidth4FB_HW_ACC()
...will be removed later
2017-02-14 20:01:55 +01:00
Stefan Seyfried
c9e1072b94 remove hardware specific code from gui
Use the framebuffer's getWidth4FB_HW_ACC() instead of system/helpers.
The use in cc_item_picture was guarded by a hardware #ifdef, use
needAlign4Blit() instead.

This needs testing on the affected hardware, which I do not have :-)
2017-02-14 20:01:55 +01:00
Stefan Seyfried
b6909fb815 implement getWidth4FB_HW_ACC in fb_accel class
This helper to determine alignment for hardware blitting is now in
system/helpers.h, where it does not really belong. Put it into the
framebuffer class instead. Framebuffers that don't need it will just
get a dummy function, the cs_hd2 framebuffer gets the real thing.
Also add a bool function that indicates the need for alignment.
2017-02-14 20:01:55 +01:00
Stefan Seyfried
7fdc4c7178 fb_generic: remove hardware specific #ifdef 2017-02-14 20:01:55 +01:00
Stefan Seyfried
62ee5185b5 acinclude: only set default model to hd1 if boxtype=coolstream 2017-02-14 20:01:55 +01:00
Stefan Seyfried
9ed6cfe859 lcdd (tripledragon): remove bogus warning message 2017-02-14 00:17:03 +01:00
Stefan Seyfried
c95601630a system/helpers: disable GetWidth4FB_HW_ACC()
...will be removed later
2017-02-14 00:15:11 +01:00
Stefan Seyfried
a5333b4ec1 remove hardware specific code from gui
Use the framebuffer's getWidth4FB_HW_ACC() instead of system/helpers.
The use in cc_item_picture was guarded by a hardware #ifdef, use
needAlign4Blit() instead.

This needs testing on the affected hardware, which I do not have :-)
2017-02-14 00:14:30 +01:00
Stefan Seyfried
05d1732cea implement getWidth4FB_HW_ACC in fb_accel class
This helper to determine alignment for hardware blitting is now in
system/helpers.h, where it does not really belong. Put it into the
framebuffer class instead. Framebuffers that don't need it will just
get a dummy function, the cs_hd2 framebuffer gets the real thing.
Also add a bool function that indicates the need for alignment.
2017-02-14 00:09:33 +01:00
Stefan Seyfried
bedee6b4c3 fb_generic: remove hardware specific #ifdef 2017-02-14 00:06:47 +01:00
Thilo Graf
690ac7c428 CMovieBrowser: vizualize progress for loading of youtube vidoes 2017-02-13 10:05:34 +01:00
Thilo Graf
0aa261d911 cYTFeedParser: add signal OnLoadVideoInfo
Required for visualized progress display.
2017-02-13 10:03:38 +01:00
Thilo Graf
2727e3f7f0 CImageInfo: fix y position of infotext
Minitv was not considered.
When font size very small, infotext could be overlapping
with minitv window. This should fix this.
2017-02-13 09:09:46 +01:00
Thilo Graf
a907afdc7c CMovieBrowser: visualize progress during load movies
TODO: youtube load
2017-02-13 09:02:43 +01:00
Thilo Graf
45e77707f0 CProgressWindow: add documentation for Doxygen 2017-02-13 09:02:43 +01:00
Thilo Graf
a3c93f4236 CProgressWindow: use using namespace for std and sigc
Makes more clearly
2017-02-13 09:02:43 +01:00
Thilo Graf
842c8e79bb CProgressWindow: add possibility to show progress via signal 2017-02-13 09:02:43 +01:00
Thilo Graf
547238bfdd CProgressWindow: allow variable max value, allow define dimensions 2017-02-13 09:02:43 +01:00
Stefan Seyfried
80c961d5f4 acinclude: only set default model to hd1 if boxtype=coolstream 2017-02-13 00:03:58 +01:00
svenhoefer
4d68318447 - sectionsd: add missing include of system/set_threadname.h 2017-02-12 23:29:32 +01:00
svenhoefer
ba4b67436c - test_menu: add missing include of gui/components/cc_timer.h 2017-02-12 23:27:18 +01:00
Stefan Seyfried
ec40cf7986 fb_generic: add sanity check and missing mark() to painIcon8 2017-02-12 22:59:11 +01:00
Stefan Seyfried
ff0d98bcc3 streamts: don't overflow receive buffer, better diag message 2017-02-12 22:58:58 +01:00
Stefan Seyfried
7384e2155e neutrino: move start of standby epgscan forward
this avoids that cpufreq is set to standby value before epgscan is
started, resulting in poor performance
2017-02-12 22:57:52 +01:00
Stefan Seyfried
6604178485 remove spurious newlines from debug output 2017-02-12 22:57:32 +01:00
Stefan Seyfried
5188f721c4 set useful thread names for all spawned threads 2017-02-12 22:55:36 +01:00
Stefan Seyfried
6fdd920e42 CComponentsTimer: allow to set a thread name 2017-02-12 22:51:01 +01:00
Stefan Seyfried
58c6dbf469 cc: reduce impact of cc_draw header from 161 to 4 files 2017-02-12 22:50:44 +01:00