Commit Graph

8598 Commits

Author SHA1 Message Date
Thilo Graf
81f26a327d CComponentsFrmClock: add slot to handle enforced repaint of segments
If clock removed from screen and instance is not destroyed, then we must
ensure repaint of segments after painted background.

This is required if segments are only will paint if
their content was changed and attribut ct_force_text_paint = false.
2017-01-31 16:36:41 +01:00
Thilo Graf
0eb8c7b173 CCDraw: add signal OnAfterPaintBg 2017-01-31 16:36:41 +01:00
Thilo Graf
1120e3a37d CTextBox: rework return control of value of setText() function
value was not clearly, hope i'ts now
2017-01-31 16:36:41 +01:00
Thilo Graf
d31deac545 CTextBox: add attribut 'm_bg_painted'
Shoul help in together with changed text content
to control required text render.
2017-01-31 16:36:41 +01:00
Thilo Graf
ae903ddb2f CTextBox: remove text reinit from reInitToCompareVar()
Will be already done after each text render.
2017-01-31 16:36:41 +01:00
Thilo Graf
9b69803ca4 CTextBox: paint bg always if pixbuffer exists
Should prevent unintended possible overlap on multiple font render.
2017-01-31 16:36:41 +01:00
M. Liebmann
6803a8dff3 Remove obsolete 'contrast_fonts' code from osd menu 2017-01-31 16:36:40 +01:00
M. Liebmann
c62f964dde screensaver: Use black background for the clock 2017-01-31 16:36:40 +01:00
M. Liebmann
97d1d93c93 fontrenderer: Rework rendering for better font presentation
- For the correct use of the changes should be built freetype
   with the following settings:
     #define FT_CONFIG_OPTION_SUBPIXEL_RENDERING
     #define TT_CONFIG_OPTION_SUBPIXEL_HINTING

BS-Patch for freetype 2.5-2.7
-----------------------------
** include/freetype/config/ftoption.h **

-/* #define FT_CONFIG_OPTION_SUBPIXEL_RENDERING */
+#define FT_CONFIG_OPTION_SUBPIXEL_RENDERING

-/* #define TT_CONFIG_OPTION_SUBPIXEL_HINTING */
+#define TT_CONFIG_OPTION_SUBPIXEL_HINTING

BS-Patch for freetype 2.7.1
---------------------------
** include/freetype/config/ftoption.h **

-/* #define FT_CONFIG_OPTION_SUBPIXEL_RENDERING */
+#define FT_CONFIG_OPTION_SUBPIXEL_RENDERING
2017-01-31 16:36:40 +01:00
Thilo Graf
4a288240f2 CTestMenu: fix blink of extended text sample 2017-01-31 16:36:40 +01:00
Thilo Graf
9df86b6c37 CBuildInfo: move InitInfoItems() into exec()
ensures paint of data on each repaint.
2017-01-31 16:36:40 +01:00
Thilo Graf
44eebba080 CCDraw: simplified statement for blink init 2017-01-31 16:36:40 +01:00
Thilo Graf
cced4eba9a CComponentsLabel: Added missing overloaded counterpart to CComponentsText(parent) constructor. 2017-01-31 16:36:40 +01:00
Thilo Graf
2e24663a3f cc_types.h: remove obsolete type enums 2017-01-31 16:36:40 +01:00
Thilo Graf
c42f1240f0 CComponentsText: fix wrong item type 2017-01-31 16:36:40 +01:00
Thilo Graf
58316d2091 CComponentsHeader: fix order inside overloaded methode setCaption()
Stop() was never touched with string version of setCaption()
2017-01-31 16:36:40 +01:00
Jacek Jendrzej
f045fb18e9 src/gui/components/cc_item_progressbar.cpp revert static 2017-01-30 19:26:44 +01:00
Jacek Jendrzej
0056a53321 some inits 2017-01-30 19:04:17 +01:00
Jacek Jendrzej
f4f351e9ba some inits 2017-01-30 17:22:41 +01:00
Thilo Graf
6a3778ba93 CMenuWidget: Forcing removal of details line during removing of hint box. 2017-01-30 11:27:55 +01:00
Thilo Graf
5f0aea48d2 CComponentsDetailLine: remove multiple init of cc_save_bg.
Init is passed with paintFbItems() at the end of paint() methode.
2017-01-30 11:27:49 +01:00
M. Liebmann
6b4a849598 src/gui/opkg_manager.cpp: Fix compiler warning 2017-01-30 07:15:46 +01:00
M. Liebmann
dc4ce280ed CMoviePlayerGui: Bind enable/disable FileTime to enableInfoClock() 2017-01-30 07:15:46 +01:00
svenhoefer
891bc71f9d - streaminfo2: add comment because of broken libcoolstream2 output 2017-01-29 22:31:21 +01:00
GetAway
17b8e684e0 - neutrino: fix umount of netfs-drives in ExitRun() function 2017-01-29 21:27:45 +01:00
Stefan Seyfried
fd52cd5023 upkg_manager: comment out stale code 2017-01-29 21:27:45 +01:00
Stefan Seyfried
3fb3f39be7 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 21:27:45 +01:00
Stefan Seyfried
8a6194a047 opkg_manager: add magic string to reset error flags
... to be used by sytem-update script
2017-01-29 21:27:45 +01:00
Stefan Seyfried
3956f06d3a opkg_manager: make console output more useful 2017-01-29 21:27:45 +01:00
Stefan Seyfried
bbd7667ee9 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 21:27:45 +01:00
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