Commit Graph

9770 Commits

Author SHA1 Message Date
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
Stefan Seyfried
48ff7b36a2 Merge remote-tracking branch 'tuxbox/master' 2017-01-30 21:36:09 +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
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