Commit Graph

7989 Commits

Author SHA1 Message Date
Jacek Jendrzej
1f5778b769 src/gui/widget/msgbox.cpp dont block record msg 2017-02-23 20:41:54 +01:00
M. Liebmann
6b8a7eb5f3 CKeybindSetup: Fix changeNotify call for change repeat_block... 2017-02-23 15:14:27 +01:00
Stefan Seyfried
41e420d35d fb_accel: move hd2 specific parts from fader to fb_accel 2017-02-23 15:14:27 +01:00
Stefan Seyfried
25165a1eaf rcinput: clarify comment regarding hd2 device 2017-02-23 15:14:27 +01:00
Stefan Seyfried
d02b29650e rcinput: add less ugly hack for crappy hd2 driver 2017-02-23 15:14:27 +01:00
Stefan Seyfried
f0ab22d8b0 Revert "CRCInput::set_rc_hw: Fix device check for cs hd2"
This reverts commit 5cac45ccb8.
2017-02-23 15:14:27 +01:00
Stefan Seyfried
ee9138f065 Revert "rcinput: Add exception handling for cs hd2"
This reverts commit 1b79faff78.

Wrong in so many ways :-)

 - The code worked perfectly. But ok, it's easier possible. ;)

Signed-off-by: M. Liebmann <git@tuxcode.de>
2017-02-23 15:14:27 +01:00
svenhoefer
c4aaf7678c - neutrino.cpp: fix compiler warning; ...
msg and data is type long unsigned int, so %lu seems the right format,
but above %lX is used too and it works fine. So, what's the right one?
2017-02-23 12:17:30 +01:00
svenhoefer
f0f7aec577 - rcsim: fix perror message 2017-02-22 15:25:04 +01:00
svenhoefer
7c2e25103f - controlapi: fix perror message 2017-02-22 15:25:04 +01:00
svenhoefer
056b47c09b - rc_input: do always show key-presses in console; ...
by mistake removed in 1eec78ccfd
2017-02-22 14:53:25 +01:00
M. Liebmann
383af04cb7 CRCInput::setKeyRepeatDelay: Change hardware dependency,
HD2 driver is not so very ugly. ;)
2017-02-22 12:04:58 +01:00
svenhoefer
1eec78ccfd - rc_input: we have d_printf, so let's use it 2017-02-22 11:50:09 +01:00
svenhoefer
d7ed439e53 - rc_input: just cosmetics to satisfy syntax-highlighters 2017-02-22 08:59:56 +01:00
svenhoefer
0e435bb389 - rc_input: rename checkLnkDev() to checkdev_lnk(); ...
just to align form-style to latest changes
2017-02-22 08:59:56 +01:00
M. Liebmann
5cac45ccb8 CRCInput::set_rc_hw: Fix device check for cs hd2 2017-02-22 06:24:48 +01:00
Stefan Seyfried
f45456d7a8 rcinput: remove unused/unimplemented click functions 2017-02-22 06:24:48 +01:00
Stefan Seyfried
dceb6989a8 rcinput: remove now unused (and broken) getFileHandle() 2017-02-22 06:24:48 +01:00
Stefan Seyfried
8b8b4ce0e2 keybind_setup: use rcinput->setKeyRepeatDelay() 2017-02-22 06:24:48 +01:00
Stefan Seyfried
41958cc029 rcinput: fix set_rc_hw() after dynamic devices patch
...this could use some tests... :-)
2017-02-22 06:24:48 +01:00
Stefan Seyfried
0df5a8df7f rcinput: add setKeyRepeatDelay() function
this allows to get rid of the broken getFileHandle function later
2017-02-22 06:24:48 +01:00
M. Liebmann
1b79faff78 rcinput: Add exception handling for cs hd2
- Supplement to previous commit
2017-02-22 06:24:48 +01:00
Stefan Seyfried
7b3aa2b181 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-22 06:24:48 +01:00
M. Liebmann
e35969afe2 Fix compiler format warnings 2017-02-22 06:24:48 +01:00
M. Liebmann
d932a1a326 rcinput: Transfer from neutrino-mp for better compatibility 2017-02-22 06:24:48 +01:00
M. Liebmann
0c182785e2 src/system/helpers.cpp: Add function readLink() 2017-02-22 06:24:48 +01:00
M. Liebmann
8bee8b4c6d fb_generic: use more swidth variables in fbCopyArea() 2017-02-21 06:38:48 +01:00
Stefan Seyfried
9385bd8bd9 fb_accel_glfb: fix color palette setting 2017-02-21 06:38:48 +01:00
Stefan Seyfried
418819e261 libtuxtxt: remove unused fd parameter from tuxtx_main() 2017-02-21 06:38:48 +01:00
Stefan Seyfried
dd653288d8 fb_generic: use 32bit pointers instead of 8bit 2017-02-21 06:38:48 +01:00
Stefan Seyfried
7c7d5f08dd 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-21 06:38:48 +01:00
M. Liebmann
cc5a1b3b31 framebuffer: Add fbCopyArea function
- Copies areas within the frame buffer
 - Hardware accelerated function for cs hd2
 - Copying overlapping areas does not always work correctly
   without hardware acceleration
2017-02-20 00:09:46 +01:00
Jacek Jendrzej
e908858c19 try to fix segfault with --enable-cleanup 2017-02-17 12:11:03 +01:00
Jacek Jendrzej
4bfe34bf5d src/driver/scanepg.cpp avoid possible segfault 2017-02-17 11:09:53 +01:00
M. Liebmann
84edb25f3f fb_accel_cs_hd2: add missing getBackBufferPointer() 2017-02-15 18:39:02 +01:00
Stefan Seyfried
20a85c3874 fb_accel_td: add missing getBackBufferPointer()
this fixes tuxtxt rendering problems
2017-02-15 18:38:03 +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
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