Commit Graph

9385 Commits

Author SHA1 Message Date
Michael Liebmann
de73bdf3d4 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


Origin commit data
------------------
Commit: 97d1d93c93
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2017-01-24 (Tue, 24 Jan 2017)

Origin message was:
------------------
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
59298d77d3 CTestMenu: fix blink of extended text sample
Origin commit data
------------------
Commit: 4a288240f2
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-23 (Mon, 23 Jan 2017)
2017-01-31 16:36:40 +01:00
Thilo Graf
40d08c4a7c CBuildInfo: move InitInfoItems() into exec()
ensures paint of data on each repaint.


Origin commit data
------------------
Commit: 9df86b6c37
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-23 (Mon, 23 Jan 2017)
2017-01-31 16:36:40 +01:00
Thilo Graf
7f7babeb52 CCDraw: simplified statement for blink init
Origin commit data
------------------
Commit: 44eebba080
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-23 (Mon, 23 Jan 2017)
2017-01-31 16:36:40 +01:00
Thilo Graf
ab0232f641 CComponentsLabel: Added missing overloaded counterpart to CComponentsText(parent) constructor.
Origin commit data
------------------
Commit: cced4eba9a
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-23 (Mon, 23 Jan 2017)
2017-01-31 16:36:40 +01:00
Thilo Graf
428788c8a4 cc_types.h: remove obsolete type enums
Origin commit data
------------------
Commit: 2e24663a3f
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-23 (Mon, 23 Jan 2017)
2017-01-31 16:36:40 +01:00
Thilo Graf
916f9fb9fe CComponentsText: fix wrong item type
Origin commit data
------------------
Commit: c42f1240f0
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-23 (Mon, 23 Jan 2017)
2017-01-31 16:36:40 +01:00
Thilo Graf
92d570b18d CComponentsHeader: fix order inside overloaded methode setCaption()
Stop() was never touched with string version of setCaption()


Origin commit data
------------------
Commit: 58316d2091
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-21 (Sat, 21 Jan 2017)
2017-01-31 16:36:40 +01:00
Jacek Jendrzej
7be5c2b3bf src/gui/components/cc_item_progressbar.cpp revert static
Origin commit data
------------------
Commit: f045fb18e9
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2017-01-30 (Mon, 30 Jan 2017)
2017-01-30 19:26:44 +01:00
Jacek Jendrzej
794fb2d032 some inits
Origin commit data
------------------
Commit: 0056a53321
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2017-01-30 (Mon, 30 Jan 2017)
2017-01-30 19:04:17 +01:00
Jacek Jendrzej
c30af8edf8 some inits
Origin commit data
------------------
Commit: f4f351e9ba
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2017-01-30 (Mon, 30 Jan 2017)
2017-01-30 17:22:41 +01:00
vanhofen
07d4f472a6 neutrino: move infoicons start to infoclock start; again ...
Origin commit data
------------------
Commit: 0ed26def10
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-01-30 (Mon, 30 Jan 2017)

Origin message was:
------------------
- neutrino: move infoicons start to infoclock start; again ...
2017-01-30 16:48:28 +01:00
vanhofen
c64c3f48c6 Merge branch 'pu/font' of https://github.com/tuxbox-neutrino/gui-neutrino into ni/tuxbox
Origin commit data
------------------
Commit: fa6cac3836
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-01-30 (Mon, 30 Jan 2017)
2017-01-30 16:33:02 +01:00
vanhofen
e28f6df00a Merge branch 'master' of https://github.com/tuxbox-neutrino/gui-neutrino into ni/tuxbox
Conflicts:
	src/gui/components/cc_detailsline.cpp
	src/gui/movieplayer.cpp
	src/gui/osd_setup.cpp
	src/neutrino.cpp


Origin commit data
------------------
Commit: 609d466302
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-01-30 (Mon, 30 Jan 2017)
2017-01-30 16:32:43 +01:00
Thilo Graf
bfba1692ca Merge branch 'master' into pu/font
Origin commit data
------------------
Commit: 3a0aaa6c29
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-30 (Mon, 30 Jan 2017)
2017-01-30 12:23:51 +01:00
Thilo Graf
f0e520d0f3 CMenuWidget: ensure repaint of all header content if it is already painted
TODO: 	This should be controlled inside header base class.
	paint() method seems suitable.
	I Will try to implement it soon.


Origin commit data
------------------
Commit: a72f3a7867
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-30 (Mon, 30 Jan 2017)
2017-01-30 12:21:10 +01:00
Thilo Graf
b29b69a39b CMenuWidget: Forcing removal of details line during removing of hint box.
Origin commit data
------------------
Commit: 6a3778ba93
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-30 (Mon, 30 Jan 2017)
2017-01-30 11:27:55 +01:00
Thilo Graf
39eb60eedc CComponentsDetailLine: remove multiple init of cc_save_bg.
Init is passed with paintFbItems() at the end of paint() methode.


Origin commit data
------------------
Commit: 5f0aea48d2
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-30 (Mon, 30 Jan 2017)
2017-01-30 11:27:49 +01:00
Michael Liebmann
13a0c4cb0c Merge branch 'master' into pu/font
Origin commit data
------------------
Commit: 914abdb485
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2017-01-30 (Mon, 30 Jan 2017)
2017-01-30 07:16:35 +01:00
Michael Liebmann
5f07ea6118 src/gui/opkg_manager.cpp: Fix compiler warning
Origin commit data
------------------
Commit: 6b4a849598
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2017-01-30 (Mon, 30 Jan 2017)
2017-01-30 07:15:46 +01:00
Michael Liebmann
8300ae9620 CMoviePlayerGui: Bind enable/disable FileTime to enableInfoClock()
Origin commit data
------------------
Commit: dc4ce280ed
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2017-01-30 (Mon, 30 Jan 2017)
2017-01-30 07:15:46 +01:00
vanhofen
1d873df948 Merge branch 'pu/font' of https://github.com/tuxbox-neutrino/gui-neutrino into ni/tuxbox
Conflicts:
	src/gui/volumebar.cpp


Origin commit data
------------------
Commit: cd8b9f9b04
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-01-29 (Sun, 29 Jan 2017)
2017-01-29 22:37:31 +01:00
vanhofen
5f7c69b604 Merge branch 'master' of https://github.com/tuxbox-neutrino/gui-neutrino into ni/tuxbox
Conflicts:
	src/gui/streaminfo2.cpp


Origin commit data
------------------
Commit: 0538176850
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-01-29 (Sun, 29 Jan 2017)
2017-01-29 22:34:42 +01:00
vanhofen
9c4cba3a57 streaminfo2: add comment because of broken libcoolstream2 output
Origin commit data
------------------
Commit: 891bc71f9d
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-01-29 (Sun, 29 Jan 2017)

Origin message was:
------------------
- streaminfo2: add comment because of broken libcoolstream2 output
2017-01-29 22:31:21 +01:00
Thilo Graf
07e46bcfa7 CVolume: replace repaintVolScale() with paint()
paint() contains repaintVolScale()


Origin commit data
------------------
Commit: a163d5b17b
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-29 (Sun, 29 Jan 2017)

Origin message was:
------------------
CVolume: replace repaintVolScale() with paint()

paint() contains repaintVolScale()
2017-01-29 21:52:52 +01:00
Thilo Graf
b6ca81bb97 CVolumeBar: add missing paint() methode, avoid multiple iitem instances
Origin commit data
------------------
Commit: 54e8802397
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-29 (Sun, 29 Jan 2017)
2017-01-29 21:52:52 +01:00
Thilo Graf
0f221bb46f CVolumeBar: use OFFSET_INNER_SMALL instead static value for item offset
Origin commit data
------------------
Commit: 8e9be4ab60
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-29 (Sun, 29 Jan 2017)
2017-01-29 21:52:52 +01:00
Thilo Graf
f21e21d7d2 CVolumeBar: use CORNER_RADIUS_MID
cornerRad() is not really the best solution.
Inner items are fit with full height and should use the same value.


Origin commit data
------------------
Commit: e1d5eb7aea
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-28 (Sat, 28 Jan 2017)
2017-01-29 21:52:52 +01:00
Thilo Graf
d37290eb96 CVolumeBar: don't use digit height
height is wrong and calculations for digit positions could be confused


Origin commit data
------------------
Commit: c2c592a991
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-28 (Sat, 28 Jan 2017)
2017-01-29 21:52:52 +01:00
Thilo Graf
06b5acf1a7 CMenuWidget: add missing hide() for details line
Details_line was not removed in all constellations when menu was closed.
Sample: open main menue and select an entry with connect-line, eg. plugins,
press key to come into submenu, then go back to main menue and close
menu with home key, result: it's possible that line is still on screen.


Origin commit data
------------------
Commit: a3ee3351b5
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-27 (Fri, 27 Jan 2017)
2017-01-29 21:52:52 +01:00
Thilo Graf
7f910e91a2 CComponentsText: add signal OnBeforePaint into text paint() methode
Origin commit data
------------------
Commit: 7395cd2685
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-27 (Fri, 27 Jan 2017)
2017-01-29 21:52:52 +01:00
Thilo Graf
34952348f5 CComponentsText: add missing parameters to kill() methode
Origin commit data
------------------
Commit: f93a321c92
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-27 (Fri, 27 Jan 2017)
2017-01-29 21:52:52 +01:00
vanhofen
0b128dec6d Merge branch 'master' into pu/font
Origin commit data
------------------
Commit: 8c0c273de0
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-01-29 (Sun, 29 Jan 2017)
2017-01-29 21:42:58 +01:00
vanhofen
ae640b35c1 Merge branch 'master' of https://github.com/tuxbox-neutrino/gui-neutrino into ni/tuxbox
Conflicts:
	src/neutrino.cpp


Origin commit data
------------------
Commit: 4ace56d488
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-01-29 (Sun, 29 Jan 2017)
2017-01-29 21:30:01 +01:00
GetAway
511a31dffc neutrino: fix umount of netfs-drives in ExitRun() function
Origin commit data
------------------
Commit: 17b8e684e0
Author: GetAway <get-away@t-online.de>
Date: 2017-01-29 (Sun, 29 Jan 2017)

Origin message was:
------------------
- neutrino: fix umount of netfs-drives in ExitRun() function
2017-01-29 21:27:45 +01:00
Stefan Seyfried
cb60c1659d upkg_manager: comment out stale code
Origin commit data
------------------
Commit: fd52cd5023
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-01-29 (Sun, 29 Jan 2017)
2017-01-29 21:27:45 +01:00
Stefan Seyfried
5f0ada1b64 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


Origin commit data
------------------
Commit: 3fb3f39be7
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-01-29 (Sun, 29 Jan 2017)
2017-01-29 21:27:45 +01:00
Stefan Seyfried
9e0daa2de8 opkg_manager: add magic string to reset error flags
... to be used by sytem-update script


Origin commit data
------------------
Commit: 8a6194a047
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-01-29 (Sun, 29 Jan 2017)
2017-01-29 21:27:45 +01:00
Stefan Seyfried
4bb0c81b9c opkg_manager: make console output more useful
Origin commit data
------------------
Commit: 3956f06d3a
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-01-29 (Sun, 29 Jan 2017)
2017-01-29 21:27:45 +01:00
Stefan Seyfried
bbc7db1692 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.


Origin commit data
------------------
Commit: bbd7667ee9
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-01-29 (Sun, 29 Jan 2017)
2017-01-29 21:27:45 +01:00
Stefan Seyfried
b1a0ea6024 shellwindow: reduce update interval
Origin commit data
------------------
Commit: edab27be92
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-01-29 (Sun, 29 Jan 2017)
2017-01-29 21:27:45 +01:00
Stefan Seyfried
1956eb6bba shellwindow: ensure text is set correctly and only when necessary
Origin commit data
------------------
Commit: d372892ef5
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-01-29 (Sun, 29 Jan 2017)
2017-01-29 21:27:45 +01:00
Stefan Seyfried
199bf36a28 shellwindow: use run_pty() instead of my_popen()
Origin commit data
------------------
Commit: 046de91ce6
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-01-29 (Sun, 29 Jan 2017)
2017-01-29 21:27:45 +01:00
Stefan Seyfried
f17233f682 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.


Origin commit data
------------------
Commit: b623aad5c3
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-01-29 (Sun, 29 Jan 2017)
2017-01-29 21:27:45 +01:00
Stefan Seyfried
d7d787a05c 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.


Origin commit data
------------------
Commit: 85bb568d02
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-01-29 (Sun, 29 Jan 2017)
2017-01-29 21:27:45 +01:00
Stefan Seyfried
43a9c2f71d shellwindow: use time_monotonic_ms()
Origin commit data
------------------
Commit: 9d5fc68b83
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-01-29 (Sun, 29 Jan 2017)
2017-01-29 21:27:45 +01:00
Stefan Seyfried
a56e85336d opkg_manager: avoid the zombie apocalypse, use waitpid()
Origin commit data
------------------
Commit: 1454d09a75
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-01-29 (Sun, 29 Jan 2017)
2017-01-29 21:27:45 +01:00
Stefan Seyfried
145e85ba56 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.


Origin commit data
------------------
Commit: fd9387a43c
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-01-29 (Sun, 29 Jan 2017)
2017-01-29 21:27:45 +01:00
Stefan Seyfried
e32ff6b40a 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 11b3307251.
Prominent examle is the "channel not available" popup which prevented
further channel switching until canceled.


Origin commit data
------------------
Commit: 5f93b57d84
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-01-29 (Sun, 29 Jan 2017)
2017-01-29 21:27:45 +01:00
Jacek Jendrzej
542ba9679a fix uninitialised values
Origin commit data
------------------
Commit: f76dda36df
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2017-01-29 (Sun, 29 Jan 2017)
2017-01-29 20:54:35 +01:00