Commit Graph

37 Commits

Author SHA1 Message Date
Stefan Seyfried
4fc79052ea move gui/color.h includes from headers to cpp files
Origin commit data
------------------
Commit: 648c00f26a
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-02-05 (Sun, 05 Feb 2017)
2017-02-07 17:23:42 +01:00
Stefan Seyfried
f6d5a96838 replace fontrenderer.h include with forward declaration
in order to flatten the build dependency tree further, include
fontrenderer.h directly where needed, in header files a forward
declaration is enough


Origin commit data
------------------
Commit: 2303d94300
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-02-05 (Sun, 05 Feb 2017)
2017-02-07 17:23:42 +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
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
Thilo Graf
11b3307251 CMsgBox: rework msgbox classes with Window class implementation
Replacing messagebox, hintbox_ext and some derivated parts with
basic class hintbox and derivated class CMsgBox. This should unify
window handling and avoids maintain of multiple classes with quasi
same purpose and adds more functionality.

TODO: fix and optimize details


Origin commit data
------------------
Commit: dde298b1b7
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-04-04 (Mon, 04 Apr 2016)
2016-10-24 10:31:24 +02:00
Thilo Graf
a762eeb9ff CShellWindow: add members to set/get commands and get current mode
This allows to use shellwindow objects with existing instance.


Origin commit data
------------------
Commit: e8a758ac61
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-06-29 (Wed, 29 Jun 2016)
2016-07-03 16:35:55 +02:00
Jacek Jendrzej
b06b3db436 some compil warning fixes
Origin commit data
------------------
Commit: 8638cd73b7
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2016-04-22 (Fri, 22 Apr 2016)
2016-04-22 16:46:21 +02:00
Thilo Graf
36c09d7549 CShellWindow: use current window color for result button
Origin commit data
------------------
Commit: 467e888458
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-01-04 (Mon, 04 Jan 2016)
2016-01-05 15:06:19 +01:00
Stefan Seyfried
73ebe87a27 CShellWindow: do not dereference NULL pointers
additionally, try to shorten the debug messages slightly and make the
output more useful in the error case for my_popen()

Signed-off-by: Thilo Graf <dbt@novatux.de>


Origin commit data
------------------
Commit: f8fc83c496
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2016-01-04 (Mon, 04 Jan 2016)
2016-01-05 15:06:18 +01:00
vanhofen
e3861aa7bb CShellWindow: fix textbox position
Signed-off-by: Thilo Graf <dbt@novatux.de>


Origin commit data
------------------
Commit: a6537c766b
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-01-03 (Sun, 03 Jan 2016)
2016-01-03 21:49:39 +01:00
Thilo Graf
e0988607d5 CShellWindow/COPKGManager: rework shell shell mode handling
Modes were handled with bool values inside manager and this is not really
enough. Now we use the real parameters for more flexibility.


Origin commit data
------------------
Commit: e1e8cb0142
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-05-28 (Thu, 28 May 2015)
2015-12-28 12:13:50 +01:00
Thilo Graf
6a119ec623 CShellWindow: use my_system instead system, avoids possible errors
Origin commit data
------------------
Commit: 5f1708b6e1
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-05-25 (Mon, 25 May 2015)
2015-12-28 12:13:49 +01:00
Thilo Graf
2bd047c6a1 CShellWindow: disable not required screean saving on text paint
Origin commit data
------------------
Commit: cc49d5a714
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-05-24 (Sun, 24 May 2015)
2015-12-28 12:13:49 +01:00
Thilo Graf
fac2770a84 CShellWindow/COPKGManager: handle some error from shell output
TODO: add missing handlers


Origin commit data
------------------
Commit: ed5bbdc540
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-05-23 (Sat, 23 May 2015)
2015-12-28 12:13:48 +01:00
Thilo Graf
5b8ffae117 CShellWindow: use slots for ACKNOWLEDGE_EVENT mode results
Origin commit data
------------------
Commit: 982fbb962e
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-03-24 (Tue, 24 Mar 2015)
2015-12-28 12:13:47 +01:00
Thilo Graf
c1ff8c9d5f COPKGManager: add member to handle line of shell lines
prepared for use as callback in shell window class, currently
it is not possible to get line output from shellwindow object, this
should help soon

also added ne locales


Origin commit data
------------------
Commit: 4909844ad6
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-12-10 (Wed, 10 Dec 2014)
2015-12-28 12:13:40 +01:00
Thilo Graf
e77de2da0d CShellWindow: reduce window size
In some cases screen could be too small and some lines are cutted.


Origin commit data
------------------
Commit: f4bc1c8cb7
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-03-21 (Sat, 21 Mar 2015)
2015-12-28 12:13:37 +01:00
Thilo Graf
e6be3e3c53 CShellWindow: add debug output for error ident
Origin commit data
------------------
Commit: 3896d7ceec
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-12-28 (Sun, 28 Dec 2014)
2015-12-28 12:13:37 +01:00
Thilo Graf
8805f5d07d CShellWindow: use full screen for shell window
Origin commit data
------------------
Commit: 9f565a2dd0
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-05-22 (Fri, 22 May 2015)
2015-12-28 12:13:36 +01:00
Thilo Graf
58ab2d52e4 CShellWindow: use internal debug functionality, set init value for pid
Origin commit data
------------------
Commit: cd7f4bc79c
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-11-25 (Tue, 25 Nov 2014)
2015-12-28 12:13:36 +01:00
Thilo Graf
b49751bbf6 CShellWindow: optimize error review after error message
Show close button in window, give user possibility to read error listing
before close the window!


Origin commit data
------------------
Commit: 04ad939ea7
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-11-24 (Mon, 24 Nov 2014)
2015-12-28 12:13:36 +01:00
Thilo Graf
6091f9c155 CShellWindow: evaluate error output for plausible message output
Origin commit data
------------------
Commit: 14779cce55
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-11-24 (Mon, 24 Nov 2014)
2015-12-28 12:13:35 +01:00
Thilo Graf
a11d4719a3 CShellWindow: clean up constructor/destructor
Most tasks of this class were dispersed in the constructor and destructor.
Tasks are better placed in Members.


Origin commit data
------------------
Commit: dbfa0859cf
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-10-05 (Sun, 05 Oct 2014)
2015-12-28 12:13:33 +01:00
Thilo Graf
942006e6e7 CShellWindow: remove useless framebuffer callings
Not to see here a reason for call of framebuffer methods.
This is already done by textbox object.


Origin commit data
------------------
Commit: f41d4cd973
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-10-05 (Sun, 05 Oct 2014)
2015-12-28 12:13:32 +01:00
Thilo Graf
4848747bb4 CShellWindow: add new enum option ACKNOWLEDGE_MSG
allows to show a messagebox instead a small ok button


Origin commit data
------------------
Commit: 3408dbd833
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-10-05 (Sun, 05 Oct 2014)
2015-12-28 12:13:25 +01:00
Thilo Graf
93dca289a6 CShellWindow: visualize of 'ready'status and simplify paint of 'ok' button
Origin commit data
------------------
Commit: 3f6eaa11a3
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-10-04 (Sat, 04 Oct 2014)
2015-12-28 12:13:25 +01:00
Thilo Graf
42210fb77c CShellWindow: handle dynamic window position, additional paint window only if not painted
Origin commit data
------------------
Commit: c8a4d7f6b9
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-10-04 (Sat, 04 Oct 2014)
2015-12-28 12:13:24 +01:00
Stefan Seyfried
4f0aa4d103 shellwindow: don't update screen if not necessary
Origin commit data
------------------
Commit: 701cb24f45
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2015-02-01 (Sun, 01 Feb 2015)
2015-02-09 13:47:31 +01:00
Stefan Seyfried
52fbb87595 shellwindow: fix line reading code
In case of partially read lines, the last complete line before was
discarded. Fix this, simplify the code and make it code work at all
for lines longer than 1023 bytes (went into endless loop before).


Origin commit data
------------------
Commit: 27124e72e1
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2015-02-01 (Sun, 01 Feb 2015)

Origin message was:
------------------
shellwindow: fix line reading code

In case of partially read lines, the last complete line before was
discarded. Fix this, simplify the code and make it code work at all
for lines longer than 1023 bytes (went into endless loop before).
2015-02-09 13:47:31 +01:00
Stefan Seyfried
eb1d033730 CShellWindow: use my_popen() to avoid leaking fds etc.
Origin commit data
------------------
Commit: e02972c81c
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2015-02-01 (Sun, 01 Feb 2015)
2015-02-09 13:47:31 +01:00
vanhofen
78bd385f78 shellwindow: add timeout
Origin commit data
------------------
Commit: caabe9707c
Author: vanhofen <vanhofen@gmx.de>
Date: 2014-09-11 (Thu, 11 Sep 2014)

Origin message was:
------------------
- shellwindow: add timeout
2014-09-11 21:57:18 +02:00
vanhofen
98c0a441d8 change RenderString() default to UTF8
Origin commit data
------------------
Commit: 649d1b1f9d
Author: vanhofen <vanhofen@gmx.de>
Date: 2014-06-11 (Wed, 11 Jun 2014)

Origin message was:
------------------
- change RenderString() default to UTF8
2014-06-11 23:07:13 +02:00
vanhofen
3bba3094e2 change getRenderWidth() default to UTF8
Origin commit data
------------------
Commit: 8b91cda918
Author: vanhofen <vanhofen@gmx.de>
Date: 2014-06-11 (Wed, 11 Jun 2014)

Origin message was:
------------------
- change getRenderWidth() default to UTF8
2014-06-11 23:07:00 +02:00
vanhofen
4f57f066d9 drop obsolete code around FONT_TYPE_GAMELIST
these fonts are not needed since gamelist/scriptlist
 are painted with menu-widget


Origin commit data
------------------
Commit: da7f3b9cb1
Author: vanhofen <vanhofen@gmx.de>
Date: 2014-05-02 (Fri, 02 May 2014)

Origin message was:
------------------
- drop obsolete code around FONT_TYPE_GAMELIST

 these fonts are not needed since gamelist/scriptlist
 are painted with menu-widget
2014-05-02 22:28:36 +02:00
Thilo Graf
2e64a88b0a OPKG-Manager: add opkg manager feature
Signed-off-by: Markus Volk <f_l_k@gmx.net>
Signed-off-by: Thilo Graf <dbt@novatux.de>

Opkg is a lightweight package management system based on Ipkg.

For usage with Neutrino, installed opkg programms opkg-cl and opkg-key
are required and can be find in service update menu,
otherwise this feature is not available.

With this feature it is possible to select packages for install and remove
via gui-menu.

See also:
OPKG-Website
- http://bitbucket.org/opkg/opkg for more details.

Tuxbox:
- http://wiki.tuxbox.org/Neutrino-MP Entwicklungsumgebung#OPKG-Pakete
- http://wiki.tuxbox.org.Neutrino-HD Entwicklungsumgebung:OPKG-SystemInstall

Buildsystems with opkg support:
- http://gitorious.org/neutrino-hd/buildsystem-cs
- http://sourceforge.net/p/bstuff/bs4cs/
- Yocto

OPKG-Manager Neutrino:
- picked from http://gitorious.org/neutrino-mp/martiis-neutrino-mp include shellwindow feature by martii
- update License text
- add missing icon
- use macros to get opkg binaries
- use matching buttons in footer, menu button is already reserved to left menu


Origin commit data
------------------
Commit: 758f3535c8
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-04-13 (Sun, 13 Apr 2014)
2014-04-15 11:59:12 +02:00