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
207e03bf6f
shellwindow: use time_monotonic_ms()
2017-01-28 22:56:05 +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
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
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
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
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
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
Thilo Graf
753cfda243
CBEChannelWidget/CBEBouquetWidget: use explicit footer font
...
Default button font type in footer is button text type and not footer font.
Faces of buttons are still disabled and not visible here,
therefore this should be ok at the moment.
2017-01-05 22:19:18 +01:00
Thilo Graf
4a03eb6980
CComponentsButton: fix height comparsion
...
comparsion with itself
2017-01-05 22:19:18 +01:00
Thilo Graf
64b2f94dd7
CMovieBrowser: fix possible compiler warning
...
-misleading-indentatio
2017-01-05 22:19:08 +01:00
svenhoefer
b48c657991
- infoviewer_bb: use OFFSET defines in getBBIconInfo()
2017-01-02 23:51:12 +01:00
Thilo Graf
b335408913
CComponentsButton: try to fix font size in buttons
...
Some text in button chains had different font sizes. To see in some
Messageboxes.
2016-12-30 20:33:26 +01:00
Thilo Graf
b98319cb91
CComponentsHeader/CComponentsFooter: prevent crash on changed font settings
...
Default fonts for header and footer must be handled too.
After font settings changes these objects could be invalid.
Default fonts have invalid pointers after font changes too. Extra reset is required.
2016-12-30 20:33:26 +01:00
Thilo Graf
6a3b07152f
CComponentsWindow: use FONT_TYPE_BUTTON_TEXT instead FONT_TYPE_MENU_FOOT
...
Buttton text is not the same like footer text.
2016-12-30 20:33:26 +01:00
Thilo Graf
e9122fbc4b
CComponentsTimer: try to fix possible uncanceled thread
2016-12-30 20:33:26 +01:00
Thilo Graf
65ac231940
settings: add explicit button font
...
Fonts for menu foot and button font are not not necessarily the same thing.
TODO: locales
2016-12-30 20:33:26 +01:00
Thilo Graf
4cdae3fdf6
CComponentsHeader: declare l_font, s_font as global
...
Useful for init in header sub classes. So its possible to use
other prefined size mode fonts
2016-12-30 20:33:26 +01:00
Thilo Graf
2889fbd70d
CComponentsButton: rename cc_btn_capt -> cc_btn_text
...
More plausible
2016-12-30 20:33:26 +01:00
svenhoefer
db06238cd5
- streaminfo2: just code cosmetics; no binary changes
2016-12-30 08:22:24 +01:00
Jacek Jendrzej
c0564ec574
some dead assignment
2016-12-29 18:51:06 +01:00
Jacek Jendrzej
0ed24632b7
some dead assignment
2016-12-29 18:41:25 +01:00
svenhoefer
95c619ad88
Revert "- moviebrowser: fix crash; disable non-existing movie directories"
...
This reverts commit 615c4f360a
, because
this forces user to re-enable these directories manually.
2016-12-29 00:47:35 +01:00
svenhoefer
888bfb6687
- themes: allow progressbar-settings in themes
2016-12-29 00:47:34 +01:00
Thilo Graf
8dc96ec830
CStringInput: unify init handler inside constructors, fix message title
...
Alternative solution for: remove possible display of NONEXISTANT_LOCALE
4e853d98c2
Locales are used for setting keys and passed with notifies for
observer objects. It seems this is not really a good idea in some
constellations.
2016-12-27 18:25:43 +01:00
Thilo Graf
b9eeaf74dc
Revert "CStringInput: remove possible display of NONEXISTANT_LOCALE"
...
This reverts commit 4e853d98c2
.
Conflicts:
src/gui/widget/stringinput.cpp
2016-12-27 18:18:00 +01:00
Thilo Graf
3cd509aa2d
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.
2016-12-27 18:18:00 +01:00
Thilo Graf
26ec29dc79
CMsgBox: remove debug output
...
Not longer required.
2016-12-27 18:18:00 +01:00
svenhoefer
6370ceb010
- osd-setup: allow higher osd-timeouts; up to 240 sec. now
2016-12-27 14:21:29 +01:00
Jacek Jendrzej
1372a1aff9
supplement to a0f0df7f17
2016-12-26 18:20:35 +01:00
Jacek Jendrzej
a0f0df7f17
widget/stringinput: fix compare
2016-12-24 14:58:07 +01:00
Thilo Graf
3d6a0c381a
CKeyboardInput: remove possible display of NONEXISTANT_LOCALE
...
This should fix possible incorrect titles with content of
NONEXISTANT_LOCALE with lua script handler
2016-12-23 21:05:15 +01:00
Thilo Graf
4e853d98c2
CStringInput: remove possible display of NONEXISTANT_LOCALE
...
This should fix possible incorrect titles with content of
NONEXISTANT_LOCALE with lua script handler
2016-12-23 21:03:11 +01:00
Thilo Graf
22a7006644
megbox.cpp/h: add overloaded version of ShowMsg() with string/locale combination
...
Constellation was missed.
2016-12-23 20:51:39 +01:00
Thilo Graf
c92fa3f0f4
menue.cpp: CChangeObserver add overloaded changeNotify() with string param
2016-12-23 20:46:30 +01:00
Thilo Graf
114bba2ab7
CMenuWidget: add menu name reinit
...
Ensures correct display of menu name while runtime.
For example: it's required on changed language settings, otherwise we have
old language in menu head.
2016-12-22 23:49:01 +01:00
Jacek Jendrzej
7fee7784ae
src/gui/lua/lua_curl.cpp ACCEPT_ENCODING for gzip compressed data, need build libcurl with --with-zlib
2016-12-22 23:09:07 +01:00
Thilo Graf
b714998065
CHintBox: small cosmetics for initial positions
...
This should have no effect, because calculation of position and dimensions
is mostly dependency from message text. So this is only formality.
2016-12-22 10:01:53 +01:00