Commit Graph

9006 Commits

Author SHA1 Message Date
Thilo Graf
ddca089698 CComponentsText: add explicit kill methode and add ct_force_text_paint
After hide or kill text will does not paint without ct_force_text_paint,
so it is required to add this.


Origin commit data
------------------
Commit: 4c71edbd3c
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-23 (Mon, 23 Jan 2017)
2017-01-31 16:36:42 +01:00
Thilo Graf
3a56bbfb24 CComponentsExtTextForm: init with gradient support and sl_repaint slot
Origin commit data
------------------
Commit: cbeecab801
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-23 (Mon, 23 Jan 2017)
2017-01-31 16:36:41 +01:00
Thilo Graf
3bb81b5b73 CComponentsForm: add some usefull slots/signal to help paint backgrounds
Requried to paint form items only on changed contents and on repaint


Origin commit data
------------------
Commit: 5c8aa90e01
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-24 (Tue, 24 Jan 2017)
2017-01-31 16:36:41 +01:00
Thilo Graf
ee901f19d2 CCDraw: add new attribut force_paint_bg
should help for some repaint actions


Origin commit data
------------------
Commit: 384e98c089
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-24 (Tue, 24 Jan 2017)
2017-01-31 16:36:41 +01:00
Thilo Graf
2ffd5ab3d4 CComponentsText: fix order of paint init
Origin commit data
------------------
Commit: 8bd4633cb4
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-24 (Tue, 24 Jan 2017)
2017-01-31 16:36:41 +01:00
Thilo Graf
1690a9ae75 CTestMenu: fix icon container
was not removed from screen


Origin commit data
------------------
Commit: b2f1226324
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-24 (Tue, 24 Jan 2017)
2017-01-31 16:36:41 +01:00
Thilo Graf
2748077074 Experimental try to rework isPainted()
Origin commit data
------------------
Commit: 26eb4d079b
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-19 (Thu, 19 Jan 2017)
2017-01-31 16:36:41 +01:00
Thilo Graf
ef6f65cbfb CTextBox: fix m_old_cText update after text paint
refreshText() executes loop also for text with more than one line
and m_old_cText attribut should be updated only if loop is ready. Otherwise
in text boxes with more than one line, only first line would be painted.


Origin commit data
------------------
Commit: 2f24e98252
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-24 (Tue, 24 Jan 2017)
2017-01-31 16:36:41 +01:00
Thilo Graf
d35dd47eaa 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.


Origin commit data
------------------
Commit: 81f26a327d
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-18 (Wed, 18 Jan 2017)
2017-01-31 16:36:41 +01:00
Thilo Graf
dea324de47 CCDraw: add signal OnAfterPaintBg
Origin commit data
------------------
Commit: 0eb8c7b173
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-18 (Wed, 18 Jan 2017)
2017-01-31 16:36:41 +01:00
Thilo Graf
cd3239a523 CTextBox: rework return control of value of setText() function
value was not clearly, hope i'ts now


Origin commit data
------------------
Commit: 1120e3a37d
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-17 (Tue, 17 Jan 2017)
2017-01-31 16:36:41 +01:00
Thilo Graf
f3fa638e29 CTextBox: add attribut 'm_bg_painted'
Shoul help in together with changed text content
to control required text render.


Origin commit data
------------------
Commit: d31deac545
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-24 (Tue, 24 Jan 2017)
2017-01-31 16:36:41 +01:00
Thilo Graf
a70f4d2974 CTextBox: remove text reinit from reInitToCompareVar()
Will be already done after each text render.


Origin commit data
------------------
Commit: ae903ddb2f
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-16 (Mon, 16 Jan 2017)
2017-01-31 16:36:41 +01:00
Thilo Graf
02ee99fe00 CTextBox: paint bg always if pixbuffer exists
Should prevent unintended possible overlap on multiple font render.


Origin commit data
------------------
Commit: 9b69803ca4
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-10 (Tue, 10 Jan 2017)
2017-01-31 16:36:41 +01:00
Michael Liebmann
a4326eaf79 Remove obsolete 'contrast_fonts' code from osd menu
Origin commit data
------------------
Commit: 6803a8dff3
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2017-01-24 (Tue, 24 Jan 2017)
2017-01-31 16:36:40 +01:00
Michael Liebmann
d64cc8c88a screensaver: Use black background for the clock
Origin commit data
------------------
Commit: c62f964dde
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2017-01-24 (Tue, 24 Jan 2017)
2017-01-31 16:36:40 +01:00
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
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
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
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
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
Michael Liebmann
61da024d6b install.sh: Preserve symlinks at update
Origin commit data
------------------
Commit: bcf478ba67
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2017-01-29 (Sun, 29 Jan 2017)
2017-01-29 04:31:12 +01:00
Jacek Jendrzej
5ef04827b2 src/gui/lua/lua_curl.cpp set dumb cookie for dumb 403 forbidden
Origin commit data
------------------
Commit: 293d32c776
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2017-01-28 (Sat, 28 Jan 2017)
2017-01-28 17:55:14 +01:00