Commit Graph

72 Commits

Author SHA1 Message Date
vanhofen
b4013d8f99 hdd_menu: add key confirmation to hdd-check result
Origin commit data
------------------
Commit: 5b6421b8b0
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-05-21 (Sat, 21 May 2016)

Origin message was:
------------------
- hdd_menu: add key confirmation to hdd-check result
2016-05-21 21:42:27 +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
vanhofen
8e7c58536f hdd_menu: resort filesystem struct, to get ext4 as default value
Origin commit data
------------------
Commit: b07943807e
Author: vanhofen <vanhofen@gmx.de>
Date: 2015-03-02 (Mon, 02 Mar 2015)

Origin message was:
------------------
- hdd_menu: resort filesystem struct, to get ext4 as default value
2015-03-02 12:28:28 +01:00
[CST] Focus
9d673f4af3 Revert "hdd_menu: only offer filesystems with kernel support"
- breaks user-space fs like exfat

This reverts commit 6e6432ad22.


Origin commit data
------------------
Commit: 6d287e46f7
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2015-02-10 (Tue, 10 Feb 2015)
2015-02-10 15:07:28 +03:00
[CST] Focus
3080f9cca0 Revert "hdd_menu: fix is_mounted for device links"
- broken in case readlink do not support -f switch -> filesystem always 'mounted'

This reverts commit 0a1acb6995.


Origin commit data
------------------
Commit: 990e79aa6f
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2015-02-10 (Tue, 10 Feb 2015)
2015-02-10 15:05:05 +03:00
[CST] Focus
a6e566327f Revert "hdd_menu: do not handle the rootfs or fs without kernel support"
This reverts commit 00ab65d5e2.


Origin commit data
------------------
Commit: 342180a28b
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2015-02-10 (Tue, 10 Feb 2015)
2015-02-10 15:04:52 +03:00
Stefan Seyfried
d99c4c0b4b hdd_menu: my_popen() needs waitpid to avoid zombies
Origin commit data
------------------
Commit: d411f6d996
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2015-02-08 (Sun, 08 Feb 2015)
2015-02-09 13:47:32 +01:00
Stefan Seyfried
00ab65d5e2 hdd_menu: do not handle the rootfs or fs without kernel support
Origin commit data
------------------
Commit: f7bb7a70cb
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2015-02-08 (Sun, 08 Feb 2015)
2015-02-09 13:47:32 +01:00
Stefan Seyfried
0a1acb6995 hdd_menu: fix is_mounted for device links
It is possible to mount e.g. '/dev/disk/by-label/ext_drive', but
is_mounted did not handle this case. Fix that.


Origin commit data
------------------
Commit: 415e7351e1
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2015-02-08 (Sun, 08 Feb 2015)
2015-02-09 13:47:32 +01:00
Stefan Seyfried
a6a6c91e29 hdd_menu: also recognize recordingdir if it is a symlink
...like "/media/by-label/foo/movies", no need to reset configuration
in that case


Origin commit data
------------------
Commit: 17395a7fed
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2015-02-08 (Sun, 08 Feb 2015)
2015-02-09 13:47:32 +01:00
Stefan Seyfried
6e6432ad22 hdd_menu: only offer filesystems with kernel support
Origin commit data
------------------
Commit: 141872565e
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2015-02-08 (Sun, 08 Feb 2015)
2015-02-09 13:47:32 +01:00
Stefan Seyfried
e44fa6ac21 mdev_helper/hdd_menu: add udev support
busybox/mdev fills the MDEV variable without /dev/ prefix,
udev fills DEVNAME with /dev/ prefix. Handle both variants.


Origin commit data
------------------
Commit: d04f7406a7
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2015-02-07 (Sat, 07 Feb 2015)
2015-02-09 13:47:32 +01:00
martii
69f917f16d drop explicit CMenuForwarder icon assignments
Conflicts:
	src/gui/3dsetup.cpp
	src/gui/bouquetlist.cpp
	src/gui/hdd_menu.cpp
	src/gui/keybind_setup.cpp
	src/gui/mediaplayer.cpp
	src/gui/mediaplayer_setup.cpp
	src/gui/moviebrowser.cpp
	src/gui/network_setup.cpp
	src/gui/nfs.cpp
	src/gui/osd_setup.cpp
	src/gui/osdlang_setup.cpp
	src/gui/parentallock_setup.cpp
	src/gui/personalize.cpp
	src/gui/proxyserver_setup.cpp
	src/gui/record_setup.cpp
	src/gui/scan_setup.cpp
	src/gui/screensetup.cpp
	src/gui/settings_manager.cpp
	src/gui/timerlist.cpp
	src/gui/update_menue.cpp
	src/gui/vfd_setup.cpp
	src/gui/videosettings.cpp
	src/neutrino_menue.cpp


Origin commit data
------------------
Commit: e84782bc4c
Author: martii <m4rtii@gmx.de>
Date: 2014-02-22 (Sat, 22 Feb 2014)
2014-09-15 11:44:08 +04:00
[CST] Focus
727027345c gui/hdd_menu.cpp: prevent divide by zero
Origin commit data
------------------
Commit: 9b697fb52b
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2014-09-12 (Fri, 12 Sep 2014)
2014-09-12 11:35:58 +04:00
[CST] Focus
2d45ae2c35 gui/hdd_menu.cpp: ask to set recording path after mount (hotplug or format)
Origin commit data
------------------
Commit: 05558331f7
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2014-05-30 (Fri, 30 May 2014)
2014-05-30 14:57:17 +04:00
Jacek Jendrzej
3e5f28fefa src/gui/hdd_menu.cpp: remove '\n' for all msg
Origin commit data
------------------
Commit: 8acad336ba
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2014-05-10 (Sat, 10 May 2014)

Origin message was:
------------------
src/gui/hdd_menu.cpp: remove '\n' for all msg
2014-05-10 19:25:59 +02:00
[CST] Focus
cfcf86f38f gui/hdd_menu.cpp: add question to set record directory to formatted drive;
mark partition used for recording with icon, disable umount


Origin commit data
------------------
Commit: bbcd7330a8
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2014-05-01 (Thu, 01 May 2014)
2014-05-01 19:03:09 +04:00
[CST] Focus
630f60bbce gui/hdd_menu.cpp: add question and show format menu, if plugged device not mounted
Origin commit data
------------------
Commit: 55167990b5
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2014-04-30 (Wed, 30 Apr 2014)
2014-04-30 17:15:25 +04:00
[CST] Focus
47630508ee gui/hdd_menu.cpp: add mount point mkdir, if mdev not used
Origin commit data
------------------
Commit: ea9e950fd3
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2014-04-29 (Tue, 29 Apr 2014)
2014-04-29 13:44:50 +04:00
[CST] Focus
0b24eecd2e gui/hdd_menu.cpp: convert to singleton;
add basic notify about device hotplug/remove


Origin commit data
------------------
Commit: 6be2b32cd3
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2014-04-23 (Wed, 23 Apr 2014)
2014-04-23 17:44:24 +04:00
[CST] Focus
f97cbd209b gui/hdd_menu.cpp: fix menu, if format canceled;
add xfs tools;
change progress messages to commands executed

Conflicts:
	src/gui/hdd_menu.cpp


Origin commit data
------------------
Commit: 9257d21c9e
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2014-04-15 (Tue, 15 Apr 2014)
2014-04-16 18:12:50 +04:00
Jacek Jendrzej
beb6dab48b compil fix withot mdev
Origin commit data
------------------
Commit: b58e9b612c
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2014-04-15 (Tue, 15 Apr 2014)
2014-04-15 15:57:20 +02:00
[CST] Focus
3406e2b5ef gui/hdd_menu.cpp: rework HDD menu, add device mount/umount,
add support for mmc and DVD/BD devices, make easy to add other filesystems mkfs/fsck,
parts based on code (C) martii


Origin commit data
------------------
Commit: 37fb9ddc87
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2014-04-14 (Mon, 14 Apr 2014)
2014-04-14 14:19:09 +04:00
vanhofen
9d4345bed8 hdd_menu: fix hdd_sleep 'off'
Origin commit data
------------------
Commit: ea89eae41e
Author: vanhofen <vanhofen@gmx.de>
Date: 2014-03-06 (Thu, 06 Mar 2014)

Origin message was:
------------------
- hdd_menu: fix hdd_sleep 'off'
2014-03-06 09:59:18 +01:00
Stefan Seyfried
99781688bb hdd_menu: better error message
...when trying to check unsupported file system type


Origin commit data
------------------
Commit: 64a61f5aa2
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2014-02-23 (Sun, 23 Feb 2014)
2014-03-01 21:17:11 +01:00
Stefan Seyfried
37eb35403c hdd_menu: improve error resilience in getFmtType()
Origin commit data
------------------
Commit: a25bc90d7b
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2014-03-01 (Sat, 01 Mar 2014)
2014-03-01 21:16:29 +01:00
Michael Liebmann
230c7e7770 hddmenu: Support ext4 for formating disk
- Support ext4 for formating disk (require /sbin/mkfs.ext4)
- Support ext4 for check disk (require /sbin/fsck.ext4 or /sbin/e2fsck)
- Display disk format in menu (require /sbin/blkid)
- 'ext4' and 'display disk format' disabled when required files not present


Origin commit data
------------------
Commit: 7c5d29a687
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-02-21 (Fri, 21 Feb 2014)
2014-02-21 00:02:46 +01:00
martii
4bae7ef436 gui/hdd_menu: correct option count
Origin commit data
------------------
Commit: 6895281091
Author: martii <m4rtii@gmx.de>
Date: 2014-02-12 (Wed, 12 Feb 2014)
2014-02-12 21:06:18 +01:00
[CST] Focus
9fcec0d30d gui/hdd_menu.cpp: disable 1min sleep option;
fix restore hotplug for mdev system


Origin commit data
------------------
Commit: 8020de8bfe
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2014-02-12 (Wed, 12 Feb 2014)
2014-02-12 16:47:28 +04: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
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
martii
cd5ab72c03 gui/hdd_menu: cleanup (untested)
Signed-off-by: Jacek Jendrzej <crashdvb@googlemail.com>


Origin commit data
------------------
Commit: 993b21bf7a
Author: martii <m4rtii@gmx.de>
Date: 2013-12-25 (Wed, 25 Dec 2013)
2013-12-25 12:08:21 +01:00
martii
e4222d9171 gui/hdd_menu: Permit AAM if hd-idle is installed, but don't show the configuration option if there's only the busybox hdparm variant available.
Signed-off-by: Jacek Jendrzej <crashdvb@googlemail.com>


Origin commit data
------------------
Commit: 4b44d47acf
Author: martii <m4rtii@gmx.de>
Date: 2013-12-24 (Tue, 24 Dec 2013)
2013-12-25 12:08:21 +01:00
martii
21a2f49992 gui/hdd_menu: use hd-idle instead of hdparm, if available
Signed-off-by: Jacek Jendrzej <crashdvb@googlemail.com>


Origin commit data
------------------
Commit: 7341dce214
Author: martii <m4rtii@gmx.de>
Date: 2013-12-24 (Tue, 24 Dec 2013)
2013-12-25 12:08:21 +01:00
vanhofen
bf0b8f31ab hdd_menu: create destination before mount
Origin commit data
------------------
Commit: 97cb0248f8
Author: vanhofen <vanhofen@gmx.de>
Date: 2013-11-22 (Fri, 22 Nov 2013)

Origin message was:
------------------
- hdd_menu: create destination before mount
2013-11-22 12:44:05 +01:00
vanhofen
ba6a667595 helpers.cpp: port safe_mkdir() from martii
Origin commit data
------------------
Commit: 57267a28aa
Author: vanhofen <vanhofen@gmx.de>
Date: 2013-11-22 (Fri, 22 Nov 2013)

Origin message was:
------------------
- helpers.cpp: port safe_mkdir() from martii
2013-11-22 12:35:20 +01:00
defans
eac5453db1 small fix, possible segfault in hddmenu
Origin commit data
------------------
Commit: 9b71f720ea
Author: defans <defans@bluepeercrew.us>
Date: 2013-11-09 (Sat, 09 Nov 2013)
2013-11-09 13:32:45 +01:00
vanhofen
42dad1439c change plugin_hdd_dir to a more suitable setting
auto-create plugin_hdd_dir


Origin commit data
------------------
Commit: 7ccb3ef387
Author: vanhofen <vanhofen@gmx.de>
Date: 2013-10-07 (Mon, 07 Oct 2013)

Origin message was:
------------------
- change plugin_hdd_dir to a more suitable setting

 auto-create plugin_hdd_dir
2013-10-07 17:22:52 +02:00
vanhofen
5cb849b07f change logo_hdd_dir to a more suitable setting
auto-create logo_hdd_dir


Origin commit data
------------------
Commit: 4f1f1b6b86
Author: vanhofen <vanhofen@gmx.de>
Date: 2013-10-07 (Mon, 07 Oct 2013)

Origin message was:
------------------
- change logo_hdd_dir to a more suitable setting

 auto-create logo_hdd_dir
2013-10-07 17:21:25 +02:00
Stefan Seyfried
aaafe212c6 hdd_menu: avoid compiler warning
Signed-off-by: Thilo Graf <dbt@novatux.de>


Origin commit data
------------------
Commit: a94d9ea8f8
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2013-09-28 (Sat, 28 Sep 2013)
2013-10-01 14:00:20 +02:00
Stefan Seyfried
4e796251c9 hdd_menu: use proper tune2fs call
call the my_system with the proper number of parameters instead
of relying on specifics of the getopt() used by tune2fs, now that
there is no limitation on the number of my_system arguments anymore

Signed-off-by: Jacek Jendrzej <crashdvb@googlemail.com>


Origin commit data
------------------
Commit: 5dbf45896f
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2013-03-03 (Sun, 03 Mar 2013)
2013-03-05 12:04:57 +01:00
Stefan Seyfried
9c0fbe8943 helpers: improve my_system function
Instead of hardcoding the maximum number of arguments to the
my_system helper, pass a variable argument list.
The function is deliberately source-incompatible with the old
implementation (as opposed to a variant with a sentinel NULL
argument, which would be compatible) to find all users and to
make sure that new future users of this function are not
overlooked during merges with other branches.

Signed-off-by: Jacek Jendrzej <crashdvb@googlemail.com>


Origin commit data
------------------
Commit: 988a8ebec2
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2013-03-03 (Sun, 03 Mar 2013)
2013-03-05 11:58:49 +01:00
Stefan Seyfried
80a87017f3 neutrino: fix 32<->64bit format string warnings
use portable C99 format string macros for 64bit types to
fix many warnings when compiling for 64bit architectures,
add some (int) casts for size_t


Origin commit data
------------------
Commit: 4dbeb3a31e
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-11-03 (Sat, 03 Nov 2012)
2013-02-21 15:47:18 +01:00
Jacek Jendrzej
8c27ae6270 use my_system instead of system
Origin commit data
------------------
Commit: bb2efeb45b
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2012-10-02 (Tue, 02 Oct 2012)
2012-10-02 12:42:31 +02:00
Jacek Jendrzej
2ce35cb6ce move safe_mkdir & check_dir to system-helpers
Origin commit data
------------------
Commit: dfa3231469
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2012-09-11 (Tue, 11 Sep 2012)
2012-09-11 20:34:53 +02:00
Jacek Jendrzej
9868a4308b remove doubles include
Origin commit data
------------------
Commit: a3bfab0bcd
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2012-09-11 (Tue, 11 Sep 2012)
2012-09-11 20:31:33 +02:00
[CST] Focus
3a37c3eeb5 gui/hdd_menu.cpp: add hints
Origin commit data
------------------
Commit: e96802a371
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-07-12 (Thu, 12 Jul 2012)
2012-07-12 10:32:19 +04:00
[CST] Focus
b5f3f2afd1 mymenu.h: move non-common options to corresponding files
Origin commit data
------------------
Commit: 03f31b80e9
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-06-06 (Wed, 06 Jun 2012)
2012-06-06 14:28:18 +04:00
[CST] Focus
107b67851d gui/hdd_menu.cpp: fix memleaks when using CMenuForwarder;
disable hdd menu when recording


Origin commit data
------------------
Commit: 609b448682
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-05-04 (Fri, 04 May 2012)
2012-05-04 14:40:38 +04:00
Thilo Graf
9936b7cdf4 neutrino hdd setup: if no drive was found, ensure that no drive is selectable
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@2038 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Commit: 8b5f0b845c
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-01-06 (Fri, 06 Jan 2012)

Origin message was:
------------------
*neutrino hdd setup: if no drive was found, ensure that no drive is selectable

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@2038 e54a6e83-5905-42d5-8d5c-058d10e6a962
2012-01-05 23:39:08 +00:00