Thilo Graf
9ff0512496
CFlashUpdate: change lines for better statement readability
2015-12-28 12:13:43 +01:00
Thilo Graf
b987c9595a
CFlashUpdate: add log output for not found package file
2015-12-28 12:13:43 +01:00
Thilo Graf
68585f1a0d
CFlashUpdate: add filters for packages
2015-12-28 12:13:43 +01:00
Thilo Graf
19dc7ead2d
COPKGManager: optimize error handling
2015-12-28 12:13:42 +01:00
Thilo Graf
9a4863173a
COPKGManager: add more error handlers
2015-12-28 12:13:42 +01:00
Thilo Graf
9ae65d4ec5
COPKGManager: add function to check package size
2015-12-28 12:13:42 +01:00
Thilo Graf
33bf0fd7ba
Locales: add message line for not supported feature
2015-12-28 12:13:42 +01:00
Thilo Graf
7ada20de64
CFile: add filetypes for install and update packages
2015-12-28 12:13:41 +01:00
Thilo Graf
7520fee2ef
COPKGManager: outsource methode for install any package
...
Required for external usage.
2015-12-28 12:13:41 +01:00
Thilo Graf
10debbbfa0
COPKGManager: optimize handling after installation
...
Show a success message only if restart/reboot is required and user
should decide what to do or not.
NOTE: marker file should be generated by opkg package itself
(eg. with preinstall scripts), so it's controlled by the package maintainer!
2015-12-28 12:13:41 +01:00
Thilo Graf
7acdf65e65
COPKGManager: defuse error message for duplicate cache option
2015-12-28 12:13:40 +01:00
Thilo Graf
a6f7043ab1
COPKGManager: add possibilty to check required size before install package
2015-12-28 12:13:40 +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
b3afd24260
COPKGManager: add members to get package infos and optmize update check
2015-12-28 12:13:39 +01:00
Thilo Graf
c3f66e6e06
COPKGManager: fix selection of items on expert mode switch
2015-12-28 12:13:39 +01:00
Thilo Graf
f270a623e2
COPKGManager: use yellow button instead red button in footer
...
Red button already used for upgrades
2015-12-28 12:13:39 +01:00
Thilo Graf
6016ea718c
COPKGManager: add locales for local installation
2015-12-28 12:13:39 +01:00
Thilo Graf
dc3b6caae6
COPKGManager: unified log output
2015-12-28 12:13:38 +01:00
Thilo Graf
1606cf8a30
COPKGManager: remember for last selected update directory
...
Use g_settings to handle local package directory.
Extra settings handler via gui for this directory is not intended. Default update directory
is the same like in flash settings.
2015-12-28 12:13:38 +01:00
Thilo Graf
5eff6a4fb9
COPKGManager: add filter for ipk packages
2015-12-28 12:13:37 +01:00
Thilo Graf
7b178e71f9
COPKGManager: add variable to hold last selected source dir
2015-12-28 12:13:37 +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
3abd9c8e77
COPKGManager: add possibility to install package from single package file
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
524b91a402
COPKGManager: use shell output to generate error messages for gui
2015-12-28 12:13:35 +01:00
Thilo Graf
6feca09a07
locales: remove format tags in opkg manager messages
...
Most messages can shows more details after evaluation of shellmessages.
2015-12-28 12:13:35 +01:00
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