Commit Graph

29 Commits

Author SHA1 Message Date
Jacek Jendrzej
8638cd73b7 some compil warning fixes 2016-04-22 16:46:21 +02:00
Thilo Graf
467e888458 CShellWindow: use current window color for result button 2016-01-05 15:06:19 +01:00
Stefan Seyfried
f8fc83c496 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>
2016-01-05 15:06:18 +01:00
svenhoefer
a6537c766b CShellWindow: fix textbox position
Signed-off-by: Thilo Graf <dbt@novatux.de>
2016-01-03 21:49:39 +01:00
Thilo Graf
e1e8cb0142 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.
2015-12-28 12:13:50 +01:00
Thilo Graf
5f1708b6e1 CShellWindow: use my_system instead system, avoids possible errors 2015-12-28 12:13:49 +01:00
Thilo Graf
cc49d5a714 CShellWindow: disable not required screean saving on text paint 2015-12-28 12:13:49 +01:00
Thilo Graf
ed5bbdc540 CShellWindow/COPKGManager: handle some error from shell output
TODO: add missing handlers
2015-12-28 12:13:48 +01:00
Thilo Graf
982fbb962e CShellWindow: use slots for ACKNOWLEDGE_EVENT mode results 2015-12-28 12:13:47 +01:00
Thilo Graf
4909844ad6 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
2015-12-28 12:13:40 +01:00
Thilo Graf
f4bc1c8cb7 CShellWindow: reduce window size
In some cases screen could be too small and some lines are cutted.
2015-12-28 12:13:37 +01:00
Thilo Graf
3896d7ceec CShellWindow: add debug output for error ident 2015-12-28 12:13:37 +01:00
Thilo Graf
9f565a2dd0 CShellWindow: use full screen for shell window 2015-12-28 12:13:36 +01:00
Thilo Graf
cd7f4bc79c CShellWindow: use internal debug functionality, set init value for pid 2015-12-28 12:13:36 +01:00
Thilo Graf
04ad939ea7 CShellWindow: optimize error review after error message
Show close button in window, give user possibility to read error listing
before close the window!
2015-12-28 12:13:36 +01:00
Thilo Graf
14779cce55 CShellWindow: evaluate error output for plausible message output 2015-12-28 12:13:35 +01:00
Thilo Graf
dbfa0859cf CShellWindow: clean up constructor/destructor
Most tasks of this class were dispersed in the constructor and destructor.
Tasks are better placed in Members.
2015-12-28 12:13:33 +01:00
Thilo Graf
f41d4cd973 CShellWindow: remove useless framebuffer callings
Not to see here a reason for call of framebuffer methods.
This is already done by textbox object.
2015-12-28 12:13:32 +01:00
Thilo Graf
3408dbd833 CShellWindow: add new enum option ACKNOWLEDGE_MSG
allows to show a messagebox instead a small ok button
2015-12-28 12:13:25 +01:00
Thilo Graf
3f6eaa11a3 CShellWindow: visualize of 'ready'status and simplify paint of 'ok' button 2015-12-28 12:13:25 +01:00
Thilo Graf
c8a4d7f6b9 CShellWindow: handle dynamic window position, additional paint window only if not painted 2015-12-28 12:13:24 +01:00
Stefan Seyfried
701cb24f45 shellwindow: don't update screen if not necessary 2015-02-09 13:47:31 +01:00
Stefan Seyfried
27124e72e1 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
e02972c81c CShellWindow: use my_popen() to avoid leaking fds etc. 2015-02-09 13:47:31 +01:00
svenhoefer
caabe9707c - shellwindow: add timeout 2014-09-11 21:57:18 +02:00
svenhoefer
649d1b1f9d - change RenderString() default to UTF8 2014-06-11 23:07:13 +02:00
svenhoefer
8b91cda918 - change getRenderWidth() default to UTF8 2014-06-11 23:07:00 +02:00
svenhoefer
da7f3b9cb1 - 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
758f3535c8 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
2014-04-15 11:59:12 +02:00