Commit Graph

8972 Commits

Author SHA1 Message Date
Stefan Seyfried
c09c2942c9 rcinput: add less ugly hack for crappy hd2 driver
Origin commit data
------------------
Commit: d02b29650e
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-02-22 (Wed, 22 Feb 2017)
2017-02-23 15:14:27 +01:00
Stefan Seyfried
8d73a24150 Revert "CRCInput::set_rc_hw: Fix device check for cs hd2"
This reverts commit f44cc16dd8.


Origin commit data
------------------
Commit: f0ab22d8b0
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-02-22 (Wed, 22 Feb 2017)
2017-02-23 15:14:27 +01:00
Stefan Seyfried
89a6533e4e Revert "rcinput: Add exception handling for cs hd2"
This reverts commit c2e76dcd87.

Wrong in so many ways :-)

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

Signed-off-by: M. Liebmann <git@tuxcode.de>


Origin commit data
------------------
Commit: ee9138f065
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-02-22 (Wed, 22 Feb 2017)
2017-02-23 15:14:27 +01:00
vanhofen
daf29c0d9c 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?


Origin commit data
------------------
Commit: c4aaf7678c
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-02-23 (Thu, 23 Feb 2017)

Origin message was:
------------------
- 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
vanhofen
10878bc6e8 rcsim: fix perror message
Origin commit data
------------------
Commit: f0f7aec577
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-02-22 (Wed, 22 Feb 2017)

Origin message was:
------------------
- rcsim: fix perror message
2017-02-22 15:25:04 +01:00
vanhofen
fbec2ca240 controlapi: fix perror message
Origin commit data
------------------
Commit: 7c2e25103f
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-02-22 (Wed, 22 Feb 2017)

Origin message was:
------------------
- controlapi: fix perror message
2017-02-22 15:25:04 +01:00
vanhofen
cea748fec8 rc_input: do always show key-presses in console; ...
by mistake removed in 828e1db714


Origin commit data
------------------
Commit: 056b47c09b
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-02-22 (Wed, 22 Feb 2017)

Origin message was:
------------------
- rc_input: do always show key-presses in console; ...

by mistake removed in 828e1db714
2017-02-22 14:53:25 +01:00
Michael Liebmann
1813c2bc3c CRCInput::setKeyRepeatDelay: Change hardware dependency,
HD2 driver is not so very ugly. ;)


Origin commit data
------------------
Commit: 383af04cb7
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2017-02-22 (Wed, 22 Feb 2017)

Origin message was:
------------------
CRCInput::setKeyRepeatDelay: Change hardware dependency,

 HD2 driver is not so very ugly. ;)
2017-02-22 12:04:58 +01:00
vanhofen
828e1db714 rc_input: we have d_printf, so let's use it
Origin commit data
------------------
Commit: 1eec78ccfd
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-02-22 (Wed, 22 Feb 2017)

Origin message was:
------------------
- rc_input: we have d_printf, so let's use it
2017-02-22 11:50:09 +01:00
vanhofen
96eed0a6fa rc_input: just cosmetics to satisfy syntax-highlighters
Origin commit data
------------------
Commit: d7ed439e53
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-02-22 (Wed, 22 Feb 2017)

Origin message was:
------------------
- rc_input: just cosmetics to satisfy syntax-highlighters
2017-02-22 08:59:56 +01:00
vanhofen
9111e53631 rc_input: rename checkLnkDev() to checkdev_lnk(); ...
just to align form-style to latest changes


Origin commit data
------------------
Commit: 0e435bb389
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-02-22 (Wed, 22 Feb 2017)

Origin message was:
------------------
- rc_input: rename checkLnkDev() to checkdev_lnk(); ...

just to align form-style to latest changes
2017-02-22 08:59:56 +01:00
Michael Liebmann
f44cc16dd8 CRCInput::set_rc_hw: Fix device check for cs hd2
Origin commit data
------------------
Commit: 5cac45ccb8
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2017-02-22 (Wed, 22 Feb 2017)
2017-02-22 06:24:48 +01:00
Stefan Seyfried
b70dc32362 rcinput: remove unused/unimplemented click functions
Origin commit data
------------------
Commit: f45456d7a8
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-02-20 (Mon, 20 Feb 2017)
2017-02-22 06:24:48 +01:00
Stefan Seyfried
380eb92ef1 rcinput: remove now unused (and broken) getFileHandle()
Origin commit data
------------------
Commit: dceb6989a8
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-02-20 (Mon, 20 Feb 2017)
2017-02-22 06:24:48 +01:00
Stefan Seyfried
101ca7cc0a keybind_setup: use rcinput->setKeyRepeatDelay()
Origin commit data
------------------
Commit: 8b8b4ce0e2
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-02-20 (Mon, 20 Feb 2017)
2017-02-22 06:24:48 +01:00
Stefan Seyfried
bb087750ac rcinput: fix set_rc_hw() after dynamic devices patch
...this could use some tests... :-)


Origin commit data
------------------
Commit: 41958cc029
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-02-20 (Mon, 20 Feb 2017)
2017-02-22 06:24:48 +01:00
Stefan Seyfried
862ced36e4 rcinput: add setKeyRepeatDelay() function
this allows to get rid of the broken getFileHandle function later


Origin commit data
------------------
Commit: 0df5a8df7f
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-02-20 (Mon, 20 Feb 2017)
2017-02-22 06:24:48 +01:00
Michael Liebmann
c2e76dcd87 rcinput: Add exception handling for cs hd2
- Supplement to previous commit


Origin commit data
------------------
Commit: 1b79faff78
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2017-02-22 (Wed, 22 Feb 2017)
2017-02-22 06:24:48 +01:00
Stefan Seyfried
b6f7b80b2a 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.


Origin commit data
------------------
Commit: 7b3aa2b181
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-02-19 (Sun, 19 Feb 2017)
2017-02-22 06:24:48 +01:00
Michael Liebmann
31c041a325 Fix compiler format warnings
Origin commit data
------------------
Commit: e35969afe2
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2017-02-22 (Wed, 22 Feb 2017)
2017-02-22 06:24:48 +01:00
Michael Liebmann
1574c4b76f rcinput: Transfer from neutrino-mp for better compatibility
Origin commit data
------------------
Commit: d932a1a326
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2017-02-22 (Wed, 22 Feb 2017)
2017-02-22 06:24:48 +01:00
Michael Liebmann
1ea4c44450 src/system/helpers.cpp: Add function readLink()
Origin commit data
------------------
Commit: 0c182785e2
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2017-02-22 (Wed, 22 Feb 2017)
2017-02-22 06:24:48 +01:00
Michael Liebmann
91c174e733 fb_generic: use more swidth variables in fbCopyArea()
Origin commit data
------------------
Commit: 8bee8b4c6d
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2017-02-21 (Tue, 21 Feb 2017)
2017-02-21 06:38:48 +01:00
Stefan Seyfried
08e4d55f88 tuxtxt: remove dead code, unnecessary header includes
Origin commit data
------------------
Commit: cdc9935b83
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-02-19 (Sun, 19 Feb 2017)
2017-02-21 06:38:48 +01:00
Stefan Seyfried
5709592f5d tuxtxt: remove old, unused input code
Origin commit data
------------------
Commit: 291eaa0450
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-02-19 (Sun, 19 Feb 2017)
2017-02-21 06:38:48 +01:00
Stefan Seyfried
ec8a58e2a0 fb_accel_glfb: fix color palette setting
Origin commit data
------------------
Commit: 9385bd8bd9
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-02-19 (Sun, 19 Feb 2017)
2017-02-21 06:38:48 +01:00
Stefan Seyfried
95d1629a50 tuxtxt: remove old framebuffer device code
Origin commit data
------------------
Commit: b3a79a3a33
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-02-19 (Sun, 19 Feb 2017)
2017-02-21 06:38:48 +01:00
Stefan Seyfried
b94eb7dd30 tuxtxt: remove unused dmx variable
Origin commit data
------------------
Commit: dfddc62d0c
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-02-19 (Sun, 19 Feb 2017)
2017-02-21 06:38:48 +01:00
Stefan Seyfried
8c63d840c5 libtuxtxt: remove unused fd parameter from tuxtx_main()
Origin commit data
------------------
Commit: 418819e261
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-02-19 (Sun, 19 Feb 2017)
2017-02-21 06:38:48 +01:00
Stefan Seyfried
caef43db36 acinclude: move AC_SYS_LARGEFILE after AC_CANONICAL_*
no idea why, but detection of 64bit largefile flags fails otherwise in
some setups


Origin commit data
------------------
Commit: f94f960e85
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-02-19 (Sun, 19 Feb 2017)
2017-02-21 06:38:48 +01:00
Stefan Seyfried
712cc8f86d fb_generic: use 32bit pointers instead of 8bit
Origin commit data
------------------
Commit: dd653288d8
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-02-19 (Sun, 19 Feb 2017)
2017-02-21 06:38:48 +01:00
Stefan Seyfried
0f4ed6c34a 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


Origin commit data
------------------
Commit: 7c7d5f08dd
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-02-15 (Wed, 15 Feb 2017)
2017-02-21 06:38:48 +01:00
Michael Liebmann
8cad1eb1a8 tuxtxt: Use hw blitting with fbCopyArea() for cs hd2
Origin commit data
------------------
Commit: b7110faaf6
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2017-02-19 (Sun, 19 Feb 2017)
2017-02-20 00:09:46 +01:00
Michael Liebmann
6fa6152445 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


Origin commit data
------------------
Commit: cc5a1b3b31
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2017-02-19 (Sun, 19 Feb 2017)

Origin message was:
------------------
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
fdf8abc174 try to fix segfault with --enable-cleanup
Origin commit data
------------------
Commit: e908858c19
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2017-02-17 (Fri, 17 Feb 2017)
2017-02-17 12:11:03 +01:00
Jacek Jendrzej
144fbcba14 src/driver/scanepg.cpp avoid possible segfault
Origin commit data
------------------
Commit: 4bfe34bf5d
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2017-02-17 (Fri, 17 Feb 2017)
2017-02-17 11:09:53 +01:00
Michael Liebmann
f2e312a727 fb_accel_cs_hd2: add missing getBackBufferPointer()
Origin commit data
------------------
Commit: 84edb25f3f
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2017-02-15 (Wed, 15 Feb 2017)
2017-02-15 18:39:02 +01:00
Stefan Seyfried
00e83ba596 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.


Origin commit data
------------------
Commit: c977c98217
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-02-15 (Wed, 15 Feb 2017)
2017-02-15 18:38:03 +01:00
Michael Liebmann
47c93ee999 libtuxtxt: Transfer from neutrino-mp for better compatibility
Origin commit data
------------------
Commit: 5612baaff7
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2017-02-15 (Wed, 15 Feb 2017)
2017-02-15 18:38:03 +01:00
Stefan Seyfried
ed8d0ba5c5 fb_accel_td: add missing getBackBufferPointer()
this fixes tuxtxt rendering problems


Origin commit data
------------------
Commit: 20a85c3874
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-02-15 (Wed, 15 Feb 2017)
2017-02-15 18:38:03 +01:00
Michael Liebmann
bef9e4166a fb_generic: make blitBox2FB virtual
Origin commit data
------------------
Commit: e8ec4540ca
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2017-02-14 (Tue, 14 Feb 2017)
2017-02-14 20:01:55 +01:00
Michael Liebmann
4228150845 fb_generic.h: Add missing function add_gxa_sync_marker()
- is required for cs hd1


Origin commit data
------------------
Commit: de80748cac
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2017-02-14 (Tue, 14 Feb 2017)
2017-02-14 20:01:55 +01:00
Stefan Seyfried
fb65402fa0 system/helpers: disable GetWidth4FB_HW_ACC()
...will be removed later


Origin commit data
------------------
Commit: e1e2052edb
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-02-14 (Tue, 14 Feb 2017)
2017-02-14 20:01:55 +01:00
Stefan Seyfried
ee986e0e2f 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 :-)


Origin commit data
------------------
Commit: c9e1072b94
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-02-14 (Tue, 14 Feb 2017)
2017-02-14 20:01:55 +01:00
Stefan Seyfried
78419473da 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.


Origin commit data
------------------
Commit: b6909fb815
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-02-14 (Tue, 14 Feb 2017)
2017-02-14 20:01:55 +01:00
Stefan Seyfried
15dfa3449a fb_generic: remove hardware specific #ifdef
Origin commit data
------------------
Commit: 7fdc4c7178
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-02-14 (Tue, 14 Feb 2017)
2017-02-14 20:01:55 +01:00
Stefan Seyfried
2823bb29b6 acinclude: only set default model to hd1 if boxtype=coolstream
Origin commit data
------------------
Commit: 62ee5185b5
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-02-13 (Mon, 13 Feb 2017)
2017-02-14 20:01:55 +01:00
Thilo Graf
68b4639ac9 CMovieBrowser: vizualize progress for loading of youtube vidoes
Origin commit data
------------------
Commit: 690ac7c428
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-02-13 (Mon, 13 Feb 2017)
2017-02-13 10:05:34 +01:00
Thilo Graf
e662a4fa4e cYTFeedParser: add signal OnLoadVideoInfo
Required for visualized progress display.


Origin commit data
------------------
Commit: 0aa261d911
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-02-13 (Mon, 13 Feb 2017)
2017-02-13 10:03:38 +01:00
Thilo Graf
78e96b7b5a 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.


Origin commit data
------------------
Commit: 2727e3f7f0
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-02-13 (Mon, 13 Feb 2017)
2017-02-13 09:09:46 +01:00