Commit Graph

7250 Commits

Author SHA1 Message Date
Thilo Graf
eb6f972f60 COPKGManager: add member doUpdate() 2015-12-28 12:13:35 +01:00
Thilo Graf
6a06d5cdc1 COPKGManager: use fclose instead pclose
my_popen returns a stream pointed to a file descriptor

NOTE: documentation for some bent functions in helpers.cpp would be nice!
2015-12-28 12:13:34 +01:00
Thilo Graf
a8376a5f8a COPKGManager: use my_popen instead popen
popen causes some errors after flash update check
2015-12-28 12:13:34 +01:00
Thilo Graf
6942173bf7 COPKGManager: add function to get status for new package updates 2015-12-28 12:13:34 +01:00
Thilo Graf
77002eb839 COPKGManager: allow update and usage of multiple package sources
This allows to use more than one package adress via config file.
Example configuration in /etc/opkg/opkg.conf:
...
src packages http://www.yourserver.org/pkgs/packages
src local 192.168.1.2/pkgs/local
...

After Update, all packeges will be listed in the manager list and can
be installed, updated ...
2015-12-28 12:13:34 +01:00
Thilo Graf
1e8d19aeef COPKGManager: use general options for cache, temp dir and logging
cache dir option not required assigned in config file.

Note: existing option "cache" in opkg config file must be removed now, otherwise
it could hail error log messages and gui package listing could be garbled!
Not nice now, but it's one step for an unified configure handling.
2015-12-28 12:13:33 +01:00
Thilo Graf
c4e5a9f95c COPKGManager: use and apply namespace std 2015-12-28 12:13:33 +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
86e35add16 COPKGManager: use ACKNOWLEDGE_MSG to show info message 2015-12-28 12:13:28 +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
Thilo Graf
305511a395 CShellWindow: apply clearer enum format declaration 2015-12-28 12:13:24 +01:00
Thilo Graf
c70c234394 COPKGManager: add member showError to show handled error message on screen 2015-12-28 12:13:24 +01:00
Thilo Graf
35345e2c7e COPKGManager: use plausible message title
Here we have errors, so we should use plausible titles for message box
2015-12-28 12:13:23 +01:00
Thilo Graf
2d3b3006d0 COPKGManager: craete directory /tmp/.opkg on opkg manager init
This directory can be useful for usage in opkg config as cache directory

option cache /tmp/.opkg
2015-12-28 12:13:23 +01:00
Thilo Graf
0b3576b4a7 Screensaver: add option to show current time instead images 2015-12-27 22:26:23 +01:00
Thilo Graf
ff667dfef3 Screeansaver: add optional random images 2015-12-27 19:46:14 +01:00
Thilo Graf
6952d85ae9 CCDraw: add signals into paintFbItems() 2015-12-27 14:42:32 +01:00
Thilo Graf
4875f81491 CPersonalizeGui: try to fix wrong active mode after changed settings
By treating of notifier methods or generally changed personalization
settings of items, the values of "active" and "current_active" may differ
and although that could be active = true, current_active = false, or
vice versa. After restart of neutrino it would not conspicuous because
activ and current_active will be equated.
Otherwise it can happen, the modified items could be displayed
in wrong mode at runtime.
This try should fix this by writing the values from the current
settings into the current_active variable.
2015-12-27 14:42:32 +01:00
Thilo Graf
b86586bf68 CStreamInfo2: try to fix wrong text colors
Text color was not matching for background color. In some constellations
with theme settings, text is not really good readable.
COL_MENUCONTENT_... requires COL_MENUCONTENT_TEXT, not COL_INFOBAR_TEXT
2015-12-27 14:42:32 +01:00
M. Liebmann
f111ccc98e CInfoViewerBB: try to fix missing sys scales in infoviewer
Signed-off-by: M. Liebmann <tuxcode.bbg@gmail.com>
Signed-off-by: Thilo Graf <dbt@novatux.de>
2015-12-27 14:42:31 +01:00
Thilo Graf
0d05ca9743 CInfoClock: remove shadow in transparent mode 2015-12-27 14:42:31 +01:00
Thilo Graf
6339ce481d CCDraw: try to separate parameter paint_bg from shadow paint 2015-12-27 14:42:31 +01:00
Thilo Graf
f3d624b2bc CPersonalizeGui: try to fix disabled observer item
This should avoid disabling observer items inside personalize menu,
because it's possible to lock out an observer item itself.
In This case it's not possible to
enable this item on runtime. Neutrino restart is required.

This effect was observed in mode_ts if an user has tried to change
settings for tv/radio switch. If all three items were disabled, it was
not possible to enable observed items.

NOTE: I think it's not a good idea to enable certain items in main menu or
full sub menus like settings in mode_ts. ...
What should a user do with that during watch a movie? Play with tuner settings, bouquet-, network-, drive settings etc.?
Some users could cause harm, therefore I can't recommend to hold this current state.
2015-12-27 14:42:31 +01:00
Thilo Graf
7659dd4642 CComponentsWindow: add member setWindowHeaderTextColor()
To modifiy header text color.
2015-12-27 14:42:30 +01:00
Thilo Graf
8e99559d90 CComponentsWindow: add method to set header color 2015-12-27 14:42:30 +01:00
Thilo Graf
da786ac384 CImageInfo: try to fix paint button paint
Handling with background and frame was changed
2015-12-27 14:42:30 +01:00
Thilo Graf
23f67513b7 neutrino.h: remove unused methode switchClockOnOff() 2015-12-27 14:42:30 +01:00
Thilo Graf
83026f1ff1 CEpgData: try to fix channellogo scale in header 2015-12-27 14:42:30 +01:00
Thilo Graf
42102d432d CUserMenu: using native callback to ensure paint for info clock after hide of this menu window
menu->hide() handler comes too early, nice to see if clock is transparent.
2015-12-27 14:42:29 +01:00
Thilo Graf
1446f15d4b CMovieBrowser: try to fix paint of channellogo, and screenshot preview
Logo was not hided before next logo was painted.
Screenshot was lost after scrolling in movieinfo section (called with
yellow button)
2015-12-27 14:42:29 +01:00
Thilo Graf
0f7985c95c CAudioPlayerGui:try to fix infocklock view in audioplayer.
after closed screensaver, infoclock was painted. That looks not good.
This should fix this.
2015-12-27 14:42:29 +01:00
Thilo Graf
58337b71f1 CTimeOSD: disable setHeight() in CTimeOSD, height is bound to settings 2015-12-27 14:42:29 +01:00
Thilo Graf
6c8bd66801 CScreenSaver: add signal/slot handler OnBeforeStart(), try to fix infoclock
In some constelations it is not required to enable infoclock after close
screensaver. So it is possible to cotrol this from other objects.
2015-12-27 14:42:28 +01:00
Thilo Graf
d77b7b2995 tmp revert: remove osd setup for gradients 2015-12-27 14:42:28 +01:00
Thilo Graf
7b28c80b74 lua instances: adopt for last rebases with splitted lua source files
TODO: check/fix lua functionality, not tested yet
2015-12-27 14:42:28 +01:00
Thilo Graf
77518102f8 CMenuWidget: rework cc modules implementation
- don't create header instance on every widget paint.
- remove parameters from hide(), not needed anymore
- add signal/slot OnBeforePaint(), OnAfterHide()
- try to fix infoclock handling
- add member ResetModules()
- allow separator to paint with gradient
2015-12-27 14:42:28 +01:00
Thilo Graf
523b273af8 Colors: init global color gradient implementation 2015-12-27 14:42:27 +01:00
Thilo Graf
86b4c81cab CBEChannelWidget/CBEChannelSelectWidget: remove setShadowOnOff()
Name and function was changed
2015-12-27 14:42:27 +01:00
Thilo Graf
0146511f38 components: rework classes
- outsourced some classes cc_item.cpp/h, cc_draw.cpp/h
- added extra methodes for simple use of some basic components extra.cpp/h
- rework clock handling: use timer class, reworked members for
  enable/disable clock with external timer events,
  tryed to fix some display issues related with infoclock and
  time osd clock in moviebrowser, channellist, menuus
- reworked hide/kill handling, removed parameter for hide(), try to use
  cached backgrounds for other constallations, paint cache, image cache (all beta)
- reworked shadow/frame handling, add shadow modes for left/right
  arrangement, TODO: repaint for existant instances required
- reworked color gradient assignment (beta)

... Note: I had a data crash in my local git tree
and i tryed to restore my historie, but most was lost. Therefore here
the commit is large
2015-12-27 14:42:27 +01:00
Thilo Graf
a2171dad4a CTextBox: add/modify methodes for screen handlings
- split hasChanged() into hasChangedPos(), hasChangedDim()
- add return value bool to enableBackgroundPaint(), enableSaveScreen()
- add clearScreenBuffer(), for unified usage in destructor and functions
- add OnAfterRefresh() as a signal/slot handler, this allows to use
  external methodes as callbacks after painted text
2015-12-27 14:42:26 +01:00
max10
a886d49565 fix src/system/helpers.cpp: PRIx64 2015-12-27 14:20:17 +01:00
Jacek Jendrzej
322b58a598 fix compil fix change 64 to 32 2015-12-27 13:58:32 +01:00
Jacek Jendrzej
c565223bc7 src/gui/streaminfo2.cpp fix box width 2015-12-26 19:13:17 +01:00
Jacek Jendrzej
fba05d0e80 src/gui/streaminfo2.cpp change sprintf to snprintf (fix possible segfault) 2015-12-26 18:37:26 +01:00
Jacek Jendrzej
93e302211e src/gui/imageinfo.cpp fix heap-use-after-free 2015-12-26 17:36:58 +01:00
Jacek Jendrzej
ddb3c15d4b some gcc5 compil fixes 2015-12-26 17:03:42 +01:00
M. Liebmann
31f2f1275a CLuaInstance: Fixes occasional problems when exiting the movie player
Reduces debug output in curl
2015-12-25 07:51:09 +01:00