Commit Graph

9418 Commits

Author SHA1 Message Date
Stefan Seyfried
edab27be92 shellwindow: reduce update interval 2017-01-29 21:27:45 +01:00
Stefan Seyfried
d372892ef5 shellwindow: ensure text is set correctly and only when necessary 2017-01-29 21:27:45 +01:00
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
Jacek Jendrzej
293d32c776 src/gui/lua/lua_curl.cpp set dumb cookie for dumb 403 forbidden 2017-01-28 17:55:14 +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
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