Commit Graph

9569 Commits

Author SHA1 Message Date
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
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
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
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
3ecb94fc21 fontrenderer.cpp: Use additional percentage height offset.
Different font types could have different glyph heights,
Therfore static values seems not really senseful.
eg. chars like ÄÁÂÅÈÉÊËÌÍÎÏÑÒÓÕÖÙÛÜÝ could paint over defined height,

Note: 	However, depending of implementations, the font image may change.
	Most likely this must be adapted to some parts.
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
Thilo Graf
5014a272e5 CNeutrinoApp: try to fix display intro settings message
Message was not really visible on startup. Contents of InitZapper()
seems to have prevented this.
2017-01-05 22:19:05 +01:00
svenhoefer
98ab8a083e - locale: update slovak; thx to Pr0metheus 2017-01-05 08:42:14 +01:00
M. Liebmann
617075c30e src/driver/pictureviewer/png.cpp: Fix -Wclobbered compiler warning 2017-01-03 16:45:16 +01:00
Jacek Jendrzej
950963146a src/timerd/timermanager.cpp dont unlock on other errors 2017-01-03 15:56:58 +01:00
Jacek Jendrzej
80728520f6 src/eitd/edvbstring.cpp init array 2017-01-03 15:38:04 +01:00
svenhoefer
b48c657991 - infoviewer_bb: use OFFSET defines in getBBIconInfo() 2017-01-02 23:51:12 +01:00
M. Liebmann
79d9b88ae1 src/driver/pictureviewer/png.cpp: Add support for gray scale PNGs...
...with alpha channel
2017-01-01 23:09:54 +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
4b4c295289 locales: add locales for buttontext settings
supplement to: 0bf74271652982ff69f378589ee3b8409dce003f
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
Jacek Jendrzej
df89326f60 supplement to 853c0d1b68 2016-12-30 17:04:11 +01:00
svenhoefer
db06238cd5 - streaminfo2: just code cosmetics; no binary changes 2016-12-30 08:22:24 +01:00