Commit Graph

7536 Commits

Author SHA1 Message Date
Thilo Graf
0b6893683a COPKGManager: add methodes to get infos and status of packages
Origin commit data
------------------
Commit: 55a027efbf
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-02-04 (Wed, 04 Feb 2015)
2015-12-28 12:13:45 +01:00
Thilo Graf
8a58c63fa8 COPKGManager: optimize memory check before install
Origin commit data
------------------
Commit: 2ca1648070
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-12-30 (Tue, 30 Dec 2014)
2015-12-28 12:13:44 +01:00
Thilo Graf
cdd8aac791 COPKGManager: show message on space error
Origin commit data
------------------
Commit: 28d17802d4
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-12-30 (Tue, 30 Dec 2014)
2015-12-28 12:13:44 +01:00
Thilo Graf
43a85c328c CFlashUpdate: use locales for install and error messages
Origin commit data
------------------
Commit: 362018ed76
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-12-28 (Sun, 28 Dec 2014)
2015-12-28 12:13:44 +01:00
Thilo Graf
401251278e CSoftwareUpdate: show package feature as disabled without support
Origin commit data
------------------
Commit: 936735a77f
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-12-21 (Sun, 21 Dec 2014)
2015-12-28 12:13:43 +01:00
Thilo Graf
c0dfcb2508 CFlashUpdate: add localized messages for installation from default update feature
Origin commit data
------------------
Commit: 58fa104967
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-12-21 (Sun, 21 Dec 2014)
2015-12-28 12:13:43 +01:00
Thilo Graf
11a2548c9f CFlashUpdate: change lines for better statement readability
Origin commit data
------------------
Commit: 9ff0512496
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-12-20 (Sat, 20 Dec 2014)
2015-12-28 12:13:43 +01:00
Thilo Graf
4b6c597a81 CFlashUpdate: add log output for not found package file
Origin commit data
------------------
Commit: b987c9595a
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-12-20 (Sat, 20 Dec 2014)
2015-12-28 12:13:43 +01:00
Thilo Graf
19d094063a CFlashUpdate: add filters for packages
Origin commit data
------------------
Commit: 68585f1a0d
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-12-20 (Sat, 20 Dec 2014)
2015-12-28 12:13:43 +01:00
Thilo Graf
93b412354d COPKGManager: optimize error handling
Origin commit data
------------------
Commit: 19dc7ead2d
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-12-29 (Mon, 29 Dec 2014)
2015-12-28 12:13:42 +01:00
Thilo Graf
da2254897f COPKGManager: add more error handlers
Origin commit data
------------------
Commit: 9a4863173a
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-12-28 (Sun, 28 Dec 2014)
2015-12-28 12:13:42 +01:00
Thilo Graf
c77b075381 COPKGManager: add function to check package size
Origin commit data
------------------
Commit: 9ae65d4ec5
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-12-28 (Sun, 28 Dec 2014)
2015-12-28 12:13:42 +01:00
Thilo Graf
6062e04241 Locales: add message line for not supported feature
Origin commit data
------------------
Commit: 33bf0fd7ba
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-12-21 (Sun, 21 Dec 2014)
2015-12-28 12:13:42 +01:00
Thilo Graf
ecb186b43c CFile: add filetypes for install and update packages
Origin commit data
------------------
Commit: 7ada20de64
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-12-21 (Sun, 21 Dec 2014)
2015-12-28 12:13:41 +01:00
Thilo Graf
7660a6f5ff COPKGManager: outsource methode for install any package
Required for external usage.


Origin commit data
------------------
Commit: 7520fee2ef
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-12-20 (Sat, 20 Dec 2014)
2015-12-28 12:13:41 +01:00
Thilo Graf
b666ea7d49 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!


Origin commit data
------------------
Commit: 10debbbfa0
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-12-19 (Fri, 19 Dec 2014)
2015-12-28 12:13:41 +01:00
Thilo Graf
d1b6b04169 COPKGManager: defuse error message for duplicate cache option
Origin commit data
------------------
Commit: 7acdf65e65
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-12-19 (Fri, 19 Dec 2014)
2015-12-28 12:13:40 +01:00
Thilo Graf
487b64f879 COPKGManager: add possibilty to check required size before install package
Origin commit data
------------------
Commit: a6f7043ab1
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-12-13 (Sat, 13 Dec 2014)
2015-12-28 12:13:40 +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
6a28f2e66c COPKGManager: add members to get package infos and optmize update check
Origin commit data
------------------
Commit: b3afd24260
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-12-19 (Fri, 19 Dec 2014)
2015-12-28 12:13:39 +01:00
Thilo Graf
7eef6ed773 COPKGManager: fix selection of items on expert mode switch
Origin commit data
------------------
Commit: c3f66e6e06
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-05-22 (Fri, 22 May 2015)
2015-12-28 12:13:39 +01:00
Thilo Graf
420a3d27bd COPKGManager: use yellow button instead red button in footer
Red button already used for upgrades


Origin commit data
------------------
Commit: f270a623e2
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-12-05 (Fri, 05 Dec 2014)
2015-12-28 12:13:39 +01:00
Thilo Graf
195d6e3395 COPKGManager: add locales for local installation
Origin commit data
------------------
Commit: 6016ea718c
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-11-29 (Sat, 29 Nov 2014)
2015-12-28 12:13:39 +01:00
Thilo Graf
5b76d4ccd7 COPKGManager: unified log output
Origin commit data
------------------
Commit: dc3b6caae6
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-11-25 (Tue, 25 Nov 2014)
2015-12-28 12:13:38 +01:00
Thilo Graf
0b67f5bba9 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.


Origin commit data
------------------
Commit: 1606cf8a30
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-11-28 (Fri, 28 Nov 2014)
2015-12-28 12:13:38 +01:00
Thilo Graf
866772900a COPKGManager: add filter for ipk packages
Origin commit data
------------------
Commit: 5eff6a4fb9
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-11-25 (Tue, 25 Nov 2014)
2015-12-28 12:13:37 +01:00
Thilo Graf
283197fb67 COPKGManager: add variable to hold last selected source dir
Origin commit data
------------------
Commit: 7b178e71f9
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-11-25 (Tue, 25 Nov 2014)
2015-12-28 12:13:37 +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
4dde627de0 COPKGManager: add possibility to install package from single package file
Origin commit data
------------------
Commit: 3abd9c8e77
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-11-24 (Mon, 24 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
b8c7102275 COPKGManager: use shell output to generate error messages for gui
Origin commit data
------------------
Commit: 524b91a402
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-11-24 (Mon, 24 Nov 2014)
2015-12-28 12:13:35 +01:00
Thilo Graf
1f91619ca7 locales: remove format tags in opkg manager messages
Most messages can shows more details after evaluation of shellmessages.


Origin commit data
------------------
Commit: 6feca09a07
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-11-24 (Mon, 24 Nov 2014)
2015-12-28 12:13:35 +01:00
Thilo Graf
cfd23aee80 COPKGManager: add member doUpdate()
Origin commit data
------------------
Commit: eb6f972f60
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-11-22 (Sat, 22 Nov 2014)
2015-12-28 12:13:35 +01:00
Thilo Graf
8fa1d4fec0 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!


Origin commit data
------------------
Commit: 6a06d5cdc1
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-11-23 (Sun, 23 Nov 2014)
2015-12-28 12:13:34 +01:00
Thilo Graf
7f5d29ba36 COPKGManager: use my_popen instead popen
popen causes some errors after flash update check


Origin commit data
------------------
Commit: a8376a5f8a
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-11-13 (Thu, 13 Nov 2014)
2015-12-28 12:13:34 +01:00
Thilo Graf
b2f72fe6a4 COPKGManager: add function to get status for new package updates
Origin commit data
------------------
Commit: 6942173bf7
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-11-13 (Thu, 13 Nov 2014)
2015-12-28 12:13:34 +01:00
Thilo Graf
a9c1e0d1c7 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 ...


Origin commit data
------------------
Commit: 77002eb839
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-11-11 (Tue, 11 Nov 2014)
2015-12-28 12:13:34 +01:00
Thilo Graf
0cc37add2e 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.


Origin commit data
------------------
Commit: 1e8d19aeef
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-11-09 (Sun, 09 Nov 2014)
2015-12-28 12:13:33 +01:00
Thilo Graf
c703cab313 COPKGManager: use and apply namespace std
Origin commit data
------------------
Commit: c4e5a9f95c
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-11-10 (Mon, 10 Nov 2014)
2015-12-28 12:13:33 +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
c0a6b6125b COPKGManager: use ACKNOWLEDGE_MSG to show info message
Origin commit data
------------------
Commit: 86e35add16
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-10-05 (Sun, 05 Oct 2014)
2015-12-28 12:13:28 +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
Thilo Graf
8f0b51bc58 CShellWindow: apply clearer enum format declaration
Origin commit data
------------------
Commit: 305511a395
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-10-04 (Sat, 04 Oct 2014)
2015-12-28 12:13:24 +01:00