Commit Graph

137 Commits

Author SHA1 Message Date
Thilo Graf
7289bcfd67 opkg_manager: vizualize available package updates 2021-04-10 15:51:30 +02:00
Thilo Graf
ff4e114876 opkg_manager: move visual update check into own methode 2021-04-10 15:51:30 +02:00
Thilo Graf
fbb92e0b74 opkg-manager: add clean command 2020-11-26 16:17:41 +01:00
Thilo Graf
28a3a51aba Revert "opkg_manager: add current used feed config file"
This reverts commit 39499977c1.

Needs another solution
2020-08-02 21:30:41 +02:00
Thilo Graf
e8808e8130 opkg_manager: show count of available updates after update check 2020-07-17 20:43:25 +02:00
Thilo Graf
39499977c1 opkg_manager: add current used feed config file 2020-07-17 20:43:25 +02:00
Thilo Graf
04e840366a opkg_manager: add option for silent screen
Help to control some screen messages, avoids unintended or disturbing messages,  e.g.
on update checks at background.
2020-01-10 21:59:18 +01:00
Thilo Graf
51c8c07a39 opkg: move showHeader() under show_progress condition 2020-01-10 15:03:07 +01:00
svenhoefer
1abdcd167e - add some mor help keys; fix 5e8a1d0233781d1b4a7494e5be8107ef4094ba85
Conflicts:
	src/neutrino.cpp

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

fix here: a81af7c5065973f9b9c9d71dbe6d8631090a4618
2020-01-05 16:53:14 +01:00
Thilo Graf
ee0f90d083 Icons: change check markers, rename to dialog on/off, add update marker 2018-04-11 17:07:19 +02:00
Stefan Seyfried
25f089db7c opkg_manager: use CTermWindow() 2018-01-13 20:10:31 +01:00
Thilo Graf
01350745c7 COPKGManager: fix path search for ../opkg/info
Since changed TARGET_PREFIX variable, path was wrong and causing
possible long timeout while opening the manager window.
2017-12-23 16:31:47 +01:00
Jacek Jendrzej
6be63f736c Merge branch 'master' into pu/mp 2017-08-23 13:10:49 +02:00
Jacek Jendrzej
ba600f0e5c some inits and never read var 2017-08-23 12:58:26 +02:00
Jacek Jendrzej
f791ee1455 Merge branch 'master' into pu/mp 2017-07-02 17:22:23 +02:00
Jacek Jendrzej
18e1ec060f src/gui/opkg_manager.cpp fix esource leak; supplement to 4bdacf39c8 2017-07-01 10:26:33 +02:00
Stefan Seyfried
48ff7b36a2 Merge remote-tracking branch 'tuxbox/master' 2017-01-30 21:36:09 +01:00
M. Liebmann
6b4a849598 src/gui/opkg_manager.cpp: Fix compiler warning 2017-01-30 07:15:46 +01:00
Stefan Seyfried
fd52cd5023 upkg_manager: comment out stale code 2017-01-29 21:27:45 +01:00
Stefan Seyfried
3fb3f39be7 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
2017-01-29 21:27:45 +01:00
Stefan Seyfried
8a6194a047 opkg_manager: add magic string to reset error flags
... to be used by sytem-update script
2017-01-29 21:27:45 +01:00
Stefan Seyfried
3956f06d3a opkg_manager: make console output more useful 2017-01-29 21:27:45 +01:00
Stefan Seyfried
bbd7667ee9 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.
2017-01-29 21:27:45 +01:00
Stefan Seyfried
1454d09a75 opkg_manager: avoid the zombie apocalypse, use waitpid() 2017-01-29 21:27:45 +01:00
Stefan Seyfried
fd9387a43c 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.
2017-01-29 21:27:45 +01:00
Stefan Seyfried
448b5dc7c7 upkg_manager: comment out stale code 2017-01-29 02:00:50 +01:00
Stefan Seyfried
b37faafc80 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
2017-01-29 01:59:40 +01:00
Stefan Seyfried
9d6bbc4552 opkg_manager: add magic string to reset error flags
... to be used by sytem-update script
2017-01-29 01:58:56 +01:00
Stefan Seyfried
7fd5149f01 opkg_manager: make console output more useful 2017-01-29 01:58:24 +01:00
Stefan Seyfried
0c8d7d7d17 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.
2017-01-29 01:52:08 +01:00
Stefan Seyfried
4dc1efbf2c opkg_manager: avoid the zombie apocalypse, use waitpid() 2017-01-28 14:06:39 +01:00
Stefan Seyfried
904788b992 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.
2017-01-28 14:03:27 +01:00
Stefan Seyfried
c6d7968381 Merge remote-tracking branch 'tuxbox/master' 2016-12-04 18:02:51 +01:00
Thilo Graf
318c64708d COPKGManager: simplify hintbox calls 2016-11-20 22:53:21 +01:00
Thilo Graf
dde298b1b7 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
2016-10-24 10:31:24 +02:00
Stefan Seyfried
74bc08a106 opkg_manager: use "opkg" instead of "opkg-cl"
old releases had "opkg" as compat symlink to -cl, newer releases
only have opkg binary, so change to opkg for broader compatibility
2016-10-22 13:13:28 +02:00
Stefan Seyfried
13ab1ebc8a Merge remote-tracking branch 'tuxbox/master'
* needs compile fixes
* needs additional tests, of course :-)
2016-10-22 11:37:40 +02:00
M. Liebmann
a0a09f1f7c COPKGManager: Fix display description for locally installed packages 2016-10-13 09:53:52 +02:00
M. Liebmann
1f24e5725a COPKGManager::hasOpkgSupport: Disable directory check
If directory /var/lib/opkg resp. /opt/opkg does not exist,
  it is created by opkg itself
2016-10-13 09:53:52 +02:00
Thilo Graf
33135a5bc5 COPKGManager: generate a readable string for installation time 2016-03-03 09:52:18 +01:00
Jacek Jendrzej
7db16952f6 (performance) Prefer prefix ++/-- operators for non-primitive types 2016-02-16 13:02:10 +01:00
Thilo Graf
c9a2b46b3b COPKGManager: add define for feed setup, default disabled at the moment.
Is still not matured. User or Imageproviders should do this manually.
btw. : input window for paths or url's is limited and can't handle long names.
Rework of input window is required.
2016-02-16 09:39:05 +01:00
Stefan Seyfried
70b7f74362 replace __FILE__ with __file__ 2016-01-14 22:29:00 +01:00
Stefan Seyfried
fa05d6a415 fix debug output printf type warnings 2016-01-14 22:28:59 +01:00
Stefan Seyfried
25e6f0e820 replace __FILE__ with __file__ 2016-01-10 19:34:31 +01:00
Stefan Seyfried
b53fbaf327 Merge remote-tracking branch 'cst-next' 2016-01-08 19:52:41 +01:00
Stefan Seyfried
0d6fd4c7d7 opkg_manager: make progress reports on startup more practical
Signed-off-by: Thilo Graf <dbt@novatux.de>
2016-01-05 15:06:18 +01:00
Stefan Seyfried
45707de09e opkg_manager: do not read package list twice on start
checkUpdates() already gets the package list and the list of
upgradables, so it is unnecessary to do this again immediately
afterwards.

Signed-off-by: Thilo Graf <dbt@novatux.de>
2016-01-05 15:06:18 +01:00
Stefan Seyfried
fb5265e0fa opkg_manager: explicitly clear pkg_map in destructor
Signed-off-by: Thilo Graf <dbt@novatux.de>
2016-01-05 15:06:18 +01:00
Stefan Seyfried
8f0e74a3bf opkg_manager: fix invalid match with -foo$ "regex"
Signed-off-by: Thilo Graf <dbt@novatux.de>
2016-01-05 15:06:18 +01:00