Commit Graph

88 Commits

Author SHA1 Message Date
Thilo Graf
11b3307251 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


Origin commit data
------------------
Commit: dde298b1b7
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-04-04 (Mon, 04 Apr 2016)
2016-10-24 10:31:24 +02:00
Michael Liebmann
65c4cfec97 Set correct path for /.version if TARGET_PREFIX is in use.
Origin commit data
------------------
Commit: 312a80bee9
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2016-09-25 (Sun, 25 Sep 2016)
2016-10-01 11:47:59 +02:00
Jacek Jendrzej
1486711d16 some never read compil warning fixes
Origin commit data
------------------
Commit: 0d9fbd5378
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2016-04-24 (Sun, 24 Apr 2016)
2016-04-24 17:18:37 +02:00
Thilo Graf
5fbd710686 CFlashUpdate: remove superfluous paint of progress
This should fix remains on screen of progressbars after
flashing or local updates.


Origin commit data
------------------
Commit: ab29b2fa43
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-01-03 (Sun, 03 Jan 2016)
2016-01-03 16:49:11 +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
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
vanhofen
cf53cd6639 update: localize question of flashing image
Origin commit data
------------------
Commit: ceb3344a70
Author: vanhofen <vanhofen@gmx.de>
Date: 2015-12-23 (Wed, 23 Dec 2015)

Origin message was:
------------------
- update: localize question of flashing image
2015-12-23 10:16:26 +01:00
Michael Liebmann
16e3832728 src/gui/update.cpp: Go back to the expert menu after backup
Origin commit data
------------------
Commit: dd1e02b6e4
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2015-09-22 (Tue, 22 Sep 2015)
2015-09-22 13:41:14 +02:00
Michael Liebmann
bb98d815e2 Apollo/Kronos: Display backup options for 'var' and 'root1'...
...only if are mounted.

- Using /proc/mounts to find correct mountpoint for backup


Origin commit data
------------------
Commit: 885f13f6b0
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2015-09-22 (Tue, 22 Sep 2015)
2015-09-22 13:41:14 +02:00
Michael Liebmann
f3a424cf8f Apollo/Kronos: Use backup with readmtdJFFS2() also for root1 partition
Origin commit data
------------------
Commit: cb4c7431c7
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2015-09-22 (Tue, 22 Sep 2015)
2015-09-22 13:41:14 +02:00
Michael Liebmann
1d5f135331 Apollo/Kronos: Use backup with readmtdJFFS2() also for var partition
Origin commit data
------------------
Commit: 6121e57fbc
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2015-09-22 (Tue, 22 Sep 2015)
2015-09-22 13:41:13 +02:00
Thilo Graf
61656865d0 Merge branch 'cst-next.pre' into cst-next
Origin commit data
------------------
Commit: a58f1621b4
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-04-30 (Thu, 30 Apr 2015)
2015-04-30 09:20:43 +02:00
vanhofen
92960161a9 remove w_max()-calls to define menu-width, because ...
w-max() returns a pixel-value, but menus need a percentage-value.


Origin commit data
------------------
Commit: 9041bff59c
Author: vanhofen <vanhofen@gmx.de>
Date: 2015-04-24 (Fri, 24 Apr 2015)

Origin message was:
------------------
- remove w_max()-calls to define menu-width, because ...

 w-max() returns a pixel-value, but menus need a percentage-value.
2015-04-24 09:11:04 +02:00
Thilo Graf
e1fb2a3185 CFlashUpdate: change name for CFile object for better differ
Origin commit data
------------------
Commit: e58b86f38f
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-12-20 (Sat, 20 Dec 2014)
2015-03-29 22:40:03 +02:00
[CST] Focus
50c59a5ad0 gui/update.cpp: fix image update check,
enable save u-boot menu switch


Origin commit data
------------------
Commit: f04e22befe
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2015-01-09 (Fri, 09 Jan 2015)
2015-01-09 12:42:01 +03:00
[CST] Focus
51fcca6264 gui/update.cpp: add function to check first url for image update;
check update version and timestamp to notify user about updates


Origin commit data
------------------
Commit: a755074c0e
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2014-10-20 (Mon, 20 Oct 2014)
2014-10-20 14:19:37 +04:00
Michael Liebmann
f0f680971d SoftUpdate: Hide "Create image for Tank/Trinity STB" at the Kronos platform
Origin commit data
------------------
Commit: 2e6ad3caa1
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-09-01 (Mon, 01 Sep 2014)
2014-09-01 21:14:09 +02:00
Michael Liebmann
28799374ed CFlashExpert::checkSize: Fix display backupMaxSize & backupRequiredSize
Origin commit data
------------------
Commit: 583931e446
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-01-29 (Wed, 29 Jan 2014)
2014-01-29 21:20:43 +01:00
vanhofen
8d5aa84e20 adapt ShowMsg handling from martii's neutrino-mp
Origin commit data
------------------
Commit: 53f5801d6f
Author: vanhofen <vanhofen@gmx.de>
Date: 2014-01-22 (Wed, 22 Jan 2014)

Origin message was:
------------------
- adapt ShowMsg handling from martii's neutrino-mp
2014-01-22 12:37:21 +01:00
vanhofen
8a02f4f089 adapt ShowHint handling from martii's neutrino-mp
Origin commit data
------------------
Commit: 6995e1a765
Author: vanhofen <vanhofen@gmx.de>
Date: 2014-01-22 (Wed, 22 Jan 2014)

Origin message was:
------------------
- adapt ShowHint handling from martii's neutrino-mp
2014-01-22 12:11:52 +01:00
Michael Liebmann
3e96126769 SNeutrinoSettings: convert more char[...] configuration values to std::string
Origin commit data
------------------
Commit: 004aa84e32
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-01-18 (Sat, 18 Jan 2014)
2014-01-19 20:57:37 +01:00
Michael Liebmann
1918153c0a Preparing the menu classes for Lua Part #2
- Remove CMenuForwarderNonLocalized
- Add overloaded function CMenuForwarder for non local
 THX Martii


Origin commit data
------------------
Commit: b41819190d
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-01-16 (Thu, 16 Jan 2014)

Origin message was:
------------------
Preparing the menu classes for Lua Part #2

- Remove CMenuForwarderNonLocalized
- Add overloaded function CMenuForwarder for non local
 THX Martii
2014-01-19 20:57:37 +01:00
Michael Liebmann
37e4b0bda8 Preparing the menu classes for Lua Part #1
- Remove CNonLocalizedMenuSeparator
- Add overloaded function CMenuSeparator for non local
 THX Martii


Origin commit data
------------------
Commit: 2c9c9debcc
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-01-16 (Thu, 16 Jan 2014)

Origin message was:
------------------
Preparing the menu classes for Lua Part #1

- Remove CNonLocalizedMenuSeparator
- Add overloaded function CMenuSeparator for non local
 THX Martii
2014-01-19 20:57:37 +01:00
martii
ce44d1641a convert most char[...] configuration values to std::string
Signed-off-by: Jacek Jendrzej <crashdvb@googlemail.com>


Origin commit data
------------------
Commit: cbc9299df8
Author: martii <m4rtii@gmx.de>
Date: 2013-06-11 (Tue, 11 Jun 2013)
2013-12-25 12:08:14 +01:00
[CST] Focus
529f87c7d1 gui/update.cpp: fix memleak
Origin commit data
------------------
Commit: a438c0548b
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-11-29 (Fri, 29 Nov 2013)
2013-11-29 17:27:10 +04:00
Stefan Seyfried
68e18e35d3 fix format string warnings
Origin commit data
------------------
Commit: 630c66330d
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2013-11-10 (Sun, 10 Nov 2013)
2013-11-13 10:38:27 +01:00
vanhofen
788daa5ad3 locale: remove confusing string 'squashFS'
Origin commit data
------------------
Commit: c239f7af95
Author: vanhofen <vanhofen@gmx.de>
Date: 2013-10-23 (Wed, 23 Oct 2013)

Origin message was:
------------------
- locale: remove confusing string 'squashFS'
2013-10-23 10:41:47 +02:00
Michael Liebmann
cb7221a3d5 Fix compiler warnings (-Wconversion)
Origin commit data
------------------
Commit: b645b644b0
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-10-08 (Tue, 08 Oct 2013)
2013-10-10 01:58:37 +02:00
Michael Liebmann
04451904b4 neutrino: Fit various functions to the changed at get_fs_usage()
Origin commit data
------------------
Commit: 4ee8fded80
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-10-08 (Tue, 08 Oct 2013)
2013-10-10 01:58:37 +02:00
Michael Liebmann
c24b0bb9ad CFlashExpert::showMTDSelector(): Fixed typo at 'disable write uboot'
Origin commit data
------------------
Commit: 00a194990e
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-10-01 (Tue, 01 Oct 2013)
2013-10-01 20:42:01 +02:00
Michael Liebmann
8e76619dbf CFlashExpertSetup: Disable backup u-boot
Origin commit data
------------------
Commit: 96fd0ef59d
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-09-29 (Sun, 29 Sep 2013)
2013-09-29 11:44:07 +02:00
Michael Liebmann
354a7b479e CFlashExpert: Exclude 'env' from write flash
Origin commit data
------------------
Commit: 4cb2465665
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-09-29 (Sun, 29 Sep 2013)
2013-09-29 11:42:53 +02:00
Michael Liebmann
212d44e02c CFlashExpert: Use findMTDNumberFromName() to find mtdnumber
Origin commit data
------------------
Commit: b25b1c4fb5
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-09-28 (Sat, 28 Sep 2013)
2013-09-28 07:29:57 +02:00
Michael Liebmann
3e016e5e81 Image backup apollo Part #6
- Menu option for including kernel/uldr/u-boot in the image backup
- Menu option for creating an image with a different erasesize
 Tank <=> Trinity


Origin commit data
------------------
Commit: d00cb6f8ec
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-09-24 (Tue, 24 Sep 2013)

Origin message was:
------------------
Image backup apollo Part #6

- Menu option for including kernel/uldr/u-boot in the image backup
- Menu option for creating an image with a different erasesize
 Tank <=> Trinity
2013-09-27 06:44:43 +02:00
Michael Liebmann
4bffdaa95b Image backup apollo Part #5
- Rework handling devtable
- Use file for devtable '/var/tuxbox/config/devtable.txt'
- If file is empty or does not exist, will default entries
 '/dev/console' and '/dev/null' creates


Origin commit data
------------------
Commit: 9188c78751
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-09-24 (Tue, 24 Sep 2013)

Origin message was:
------------------
Image backup apollo Part #5

- Rework handling devtable
- Use file for devtable '/var/tuxbox/config/devtable.txt'
- If file is empty or does not exist, will default entries
 '/dev/console' and '/dev/null' creates
2013-09-27 06:44:43 +02:00
Michael Liebmann
5fb5b497ae Image backup apollo Part #4
- Check of available disk space before image creation


Origin commit data
------------------
Commit: 23163e7897
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-09-22 (Sun, 22 Sep 2013)
2013-09-27 06:44:41 +02:00
Michael Liebmann
1b32725b15 src/system/mtdutils: Creation devtable moved to update.cpp
Origin commit data
------------------
Commit: 66b078cb92
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-09-22 (Sun, 22 Sep 2013)
2013-09-27 06:44:41 +02:00
Michael Liebmann
03371d7c80 Image backup apollo Part #3
- Add ".256k" string to imagename for tank boxes


Origin commit data
------------------
Commit: acea9818b8
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-09-21 (Sat, 21 Sep 2013)
2013-09-27 06:44:39 +02:00
Michael Liebmann
786fd14316 Image backup apollo Part #1
- Use src/system/mtdutils for image creation


Origin commit data
------------------
Commit: d4ca6a552e
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-09-21 (Sat, 21 Sep 2013)
2013-09-27 06:44:36 +02:00
Michael Liebmann
1a4b568ceb CFlashExpert: Add return value to showMTDSelector() & showFileSelector()
Origin commit data
------------------
Commit: 720f52c0a0
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-09-26 (Thu, 26 Sep 2013)
2013-09-27 06:44:33 +02:00
Michael Liebmann
72207b6d56 gui/update.cpp: disable apply settings on apollo, as non-working at the moment
Origin commit data
------------------
Commit: df2fab4ceb
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-08-21 (Wed, 21 Aug 2013)
2013-08-21 06:32:18 +02:00
Michael Liebmann
26ecade694 Softupdate: Skip checkSize() when update_dir=/tmp on non apollo platform
- supplement to 87fef9c895


Origin commit data
------------------
Commit: 8eacdd6e09
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-08-20 (Tue, 20 Aug 2013)
2013-08-21 06:32:10 +02:00
Michael Liebmann
b77b1a38bd Softupdate: Fix filename for local update
Origin commit data
------------------
Commit: 9b12442b5d
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-08-20 (Tue, 20 Aug 2013)
2013-08-21 06:32:10 +02:00
Michael Liebmann
87fef9c895 Softupdate: Check the available disk space when reading the flash
Origin commit data
------------------
Commit: a3762416af
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-08-20 (Tue, 20 Aug 2013)
2013-08-20 02:55:56 +02:00
Michael Liebmann
36b3fd0a99 Softupdate: Use user-defined file names
for apply settings and saving partitions from the flash.


Origin commit data
------------------
Commit: bc069b0a84
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-08-08 (Thu, 08 Aug 2013)
2013-08-20 02:55:54 +02:00
Michael Liebmann
3b56d80cce gui/update.cpp: disable "systemFS with settings" menu item on apollo,
as non-working at the moment


Origin commit data
------------------
Commit: 0cc83a6a9f
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-08-17 (Sat, 17 Aug 2013)
2013-08-17 20:56:26 +02:00
[CST] Focus
aa3fa4f480 gui/update.cpp: download different image for different system fs erase size
Origin commit data
------------------
Commit: 8ade9f656b
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-08-05 (Mon, 05 Aug 2013)
2013-08-06 15:16:54 +04:00