Commit Graph

10590 Commits

Author SHA1 Message Date
Stefan Seyfried
046de91ce6 shellwindow: use run_pty() instead of my_popen() 2017-01-29 21:27:45 +01:00
Stefan Seyfried
b623aad5c3 textbox: fix output for BOTTOM mode
If more text is added to a textbox than fits into the window, the last
lines are stripped. In BOTTOM (and non-SCROLL) mode, it makes more sense
to strip the first lines. This is used by shellwindow, e.g. in package
management menu.
2017-01-29 21:27:45 +01:00
Stefan Seyfried
85bb568d02 helpers: add run_pty() function
This runs an external command inside a pty. Running inside a pty,
external commands using stdio(3) will disable stdout buffering when
running from a terminal, which is often desirable.
2017-01-29 21:27:45 +01:00
Stefan Seyfried
9d5fc68b83 shellwindow: use time_monotonic_ms() 2017-01-29 21:27:45 +01:00
Stefan Seyfried
1454d09a75 opkg_manager: avoid the zombie apocalypse, use waitpid() 2017-01-29 21:27:45 +01:00
Stefan Seyfried
fd9387a43c opkg_manager: use system-update script if available
opkg has several problems with complex system updates, especially when
having to update itself and with the package ordering during update
To avoid hard coding the workarounds into neutrino, just call a script
named "system-update" (if available) instead of "opkg upgrade".
This script can be tuned to the specific target and its problems.
2017-01-29 21:27:45 +01:00
Stefan Seyfried
5f93b57d84 hintbox: restore proper handling of up/down keys
When no scrollbar is present, just pass through up/down keys instead
of only canceling the hintbox. This restores the behaviour before
commit dde298b1b7.
Prominent examle is the "channel not available" popup which prevented
further channel switching until canceled.
2017-01-29 21:27:45 +01:00
Jacek Jendrzej
f76dda36df fix uninitialised values 2017-01-29 20:54:35 +01:00
M. Liebmann
bcf478ba67 install.sh: Preserve symlinks at update 2017-01-29 04:31:12 +01:00
Stefan Seyfried
f397d08cd3 Merge remote-tracking branch 'tuxbox/master' 2017-01-29 02:14:32 +01:00
Stefan Seyfried
448b5dc7c7 upkg_manager: comment out stale code 2017-01-29 02:00:50 +01:00
Stefan Seyfried
b37faafc80 opkg_manager: make error messages less cryptic
the errno has nothing to do with the error that happened, so do not use
it for the error message
2017-01-29 01:59:40 +01:00
Stefan Seyfried
9d6bbc4552 opkg_manager: add magic string to reset error flags
... to be used by sytem-update script
2017-01-29 01:58:56 +01:00
Stefan Seyfried
7fd5149f01 opkg_manager: make console output more useful 2017-01-29 01:58:24 +01:00
Stefan Seyfried
0c8d7d7d17 opkg_manager: don't set error flag for shellwindow
The shellwindow exits if the "ok" flag is set to false, aborting further
execution of more commands. This hurts with system-update script.
2017-01-29 01:52:08 +01:00
Stefan Seyfried
37ac394cac shellwindow: reduce update interval 2017-01-29 00:06:26 +01:00
Stefan Seyfried
61bd0c53b7 shellwindow: ensure text is set correctly and only when necessary 2017-01-29 00:03:52 +01:00
Stefan Seyfried
c388c7029e shellwindow: use run_pty() instead of my_popen() 2017-01-28 23:47:01 +01:00
Stefan Seyfried
f1a0cc2351 textbox: fix output for BOTTOM mode
If more text is added to a textbox than fits into the window, the last
lines are stripped. In BOTTOM (and non-SCROLL) mode, it makes more sense
to strip the first lines. This is used by shellwindow, e.g. in package
management menu.
2017-01-28 23:37:45 +01:00
Stefan Seyfried
9d78d7072d helpers: add run_pty() function
This runs an external command inside a pty. Running inside a pty,
external commands using stdio(3) will disable stdout buffering when
running from a terminal, which is often desirable.
2017-01-28 23:17:03 +01:00
Stefan Seyfried
207e03bf6f shellwindow: use time_monotonic_ms() 2017-01-28 22:56:05 +01:00
Jacek Jendrzej
293d32c776 src/gui/lua/lua_curl.cpp set dumb cookie for dumb 403 forbidden 2017-01-28 17:55:14 +01:00
Stefan Seyfried
4dc1efbf2c opkg_manager: avoid the zombie apocalypse, use waitpid() 2017-01-28 14:06:39 +01:00
Stefan Seyfried
904788b992 opkg_manager: use system-update script if available
opkg has several problems with complex system updates, especially when
having to update itself and with the package ordering during update
To avoid hard coding the workarounds into neutrino, just call a script
named "system-update" (if available) instead of "opkg upgrade".
This script can be tuned to the specific target and its problems.
2017-01-28 14:03:27 +01:00
max_10
2f1ceb07e2 - edvbstring: fix utf8 encoding, thx DboxOldie 2017-01-28 09:06:39 +01:00
Jacek Jendrzej
e111bf7418 movieplayer dont chache last realurl for lua script 2017-01-26 11:55:06 +01:00
svenhoefer
4cfff44e29 CTextBox::refreshText: Fix flags for RenderString() v2.0; thx to DboxOldie 2017-01-24 14:41:30 +01:00
Stefan Seyfried
d74afdf6ff hintbox: restore proper handling of up/down keys
When no scrollbar is present, just pass through up/down keys instead
of only canceling the hintbox. This restores the behaviour before
commit dde298b1b7.
Prominent examle is the "channel not available" popup which prevented
further channel switching until canceled.
2017-01-22 23:27:30 +01:00
Stefan Seyfried
a409047714 Merge remote-tracking branch 'tuxbox/master' 2017-01-22 22:59:39 +01:00
GetAway
b5138018b5 gcc-6.2 compil fixes 2017-01-21 14:01:05 +01:00
GetAway
f4e334fa09 fix -Werror=misleading-indentation with newer compiler 2017-01-21 13:58:15 +01:00
M. Liebmann
e5ab37c387 CTextBox::refreshText: Fix flags for RenderString() 2017-01-20 10:36:00 +01:00
Jacek Jendrzej
2abdd1143e src/gui/movieplayer.cpp try to fix livestreamInfo 2017-01-13 18:59:56 +01:00
Jacek Jendrzej
31325875db fix readepg from sectionsdcontrol :supplement to d2ef503028 new try 2017-01-11 22:15:36 +01:00
Sven Höfer
f51af4e599 Merge pull request #7 from Pr0metheus2/patch-1
Update slovak.locale
2017-01-11 18:30:01 +01:00
Thilo Graf
1d8de839d5 CHintBox: add possibility to left hintbox with RC_up and RC_down
RC_up and RC_down are used for text scroll, but most message texts
are small and no scroll mode is required. In case of large texts
it should falling back to scroll mode.
2017-01-11 11:32:32 +01:00
Andrej Tobola
adcc5c4285 Update slovak.locale 2017-01-11 08:24:02 +01:00
Andrej Tobola
c4679651f4 Update slovak.locale 2017-01-11 08:00:28 +01:00
Andrej Tobola
5791e32803 Update slovak.locale
New update, is it submitted in correct way?
2017-01-11 07:44:52 +01:00
Thilo Graf
002cc4c74e CComponentsFrmClock: add missing reinit 2017-01-09 21:28:59 +01:00
Thilo Graf
d0aa901d70 CComponentsFrmClock: disable digit height
Using of digit height is not really required here.
eg. better centering
2017-01-09 20:47:46 +01:00
Sven Höfer
5c4746104f Merge pull request #5 from Ezak91/master
add entry to load saved epg data manual
2017-01-09 20:20:53 +01:00
Marc Szymkowiak
9b2a0d4414 add entry to load saved epg data manual 2017-01-09 19:39:30 +01:00
Thilo Graf
236ca53954 CVolumeHelper: fix info clock position after changed clock osd settings
After increased clock height settings, position of infoclock was wrong.
Old font instance and old width were not changed related to new instance.

TODO: 	It works but procedure with helper class seems is rather elaborate
	and should be thoroughly revised.
	I recommend callbacks via native type save signal/slot handler.
2017-01-08 15:03:25 +01:00
Thilo Graf
ffeb2d6459 CComponentsFrmClock/CInfoClock: simplify font init 2017-01-08 14:39:38 +01:00
Thilo Graf
c60accaeae CHintBox: add overloaded version of setMsgText() with locale parameter 2017-01-05 22:53:47 +01:00
Thilo Graf
10523d8ad4 CHintBox/CMsgBox: reduce minimal dimensions
Better display for smaller texts.
2017-01-05 22:53:44 +01:00
Thilo Graf
a9b8b22339 CComponentsFooter: optimize button position and size
Buttons are now smaller so it should be enough, to center only, if not
please report.
2017-01-05 22:53:31 +01:00
Thilo Graf
60a77d38b3 CComponentsFooter: fix default button font type
Deafult buttonfont is FONT_TYPE_BUTTON_TEXT not FONT_TYPE_MENU_FOOT
2017-01-05 22:19:18 +01:00
Thilo Graf
a5d2c2cb1d CComponentsButton: try to fix fallback for font size
Some conditions were not catched.
2017-01-05 22:19:18 +01:00