set revertMode to None after Zap

Signed-off-by: Littlesat <littlesat99@yahoo.com>
Language: try to set all locale categories

Do not use locale.LC_ALL, because that would cause
none of the categories to be set when one of them
fails.
Because we do not have a full locale, some categories
will be missing.
So just try to set all categories one at a time,
and ignore all errors.
VideoHardware: fix 1080p60 mode string

use 1080p for 60Hz, in line with what we do for
other modes.
AutoDiseqc: skip final confirmation

after AutoDiseqc completes, we return to the tuner
config screen, which gives the opportunity to confirm
(or correct) the results
Harddisk: Support for >2TB disks and parted

If parted is available, it will be used for partitioning. Otherwise,
if the disk is over 2TB, try to install parted. For smaller disks,
use sfdisk if parted isn't available.

Use a GPT partition table for disks over 2TB.

This assures optimal sector alignment (e.g. for flash based devices
and disks with large physical sectors) and should now enable formatting
of 3TB disks from the box.
Harddisk: Remove createMovieFolder

The "movie" folder will automatically created when a recording starts
and wants to write to it. There's no need to have it before that time,
so there's also no reason to put "movie" directories on anything that
happens to get referred by /hdd.

The routine was flawed anyway, as it would create the movie folder on
/hdd but not on the disk that was just formatted. Since a grep on
the function revealed nothing outside Harddisk.py, I removed the
method completely.
Harddisk.py: Cleanup namespace pollution because "from .. import .." is evil

Don't clutter the namespace with imported stuff. It also makes the
code better readable, since "path" may refer to a module or
local variable, while "os.path" is unambiguous.
Harddisk: Remove mountpoint after unmounting (fixes re-mounting)

The mountscript uses mountpoint paths as atomic operation.

When re-initializing a disk, it would not mount back on its old spot,
because the old mountpoint was still there. Remove the mountpoints after
unmounting a device, just like mdev-mount.sh would have done.
epng: cosmetic whitespace, debug messages
filepush: Reduce overly complex filterRecordData and a few others

Since filterRecordData is defined in only one spot, and just to peek
at the data without ever messing with the buffers, simplify the
function's signature, and reduce the handling code to match.

Move the buffer start/end variables to local variables, which removes
the need for a flush() method as well.

Remove large blocks of dead code from dvb.cpp's filterRecordData.
filepush: Faster "stop" and remove unused start() methods

Only one of the start() variants was ever used, removed the other two.

Made the filepush loop more logical: Read first, then write data.
The stop() method sends a signal, which interrupts the read/write in
progress. So after a failed call to write() or read(), check the m_stop
flag first and abort immediately. This should make skipping and so more
responsive.
epng: re-add support for all png types

Port our enigma1 32-bit png mode implementation back to enigma2.
It should already be in for a long time ago but apparently it has
been wiped by a previous dmm merge...
filepush: Also allow interrupting EOF flush

signal may also arrive during the poll() syscall.
idvb: Join stopFile and stopSource into "stop"

Just one is enough. There's only one implementation and one user
for this "interface" anyway.
rawfile: Remove unused 'setfd' method, make close() private

Small step into splitting rawfile into multiple classes. The cached
and uncached version don't have much in common and should be separated.
Revert "Fix typo in a comment for RGB(A) png"

This reverts commit 486d88bacb36ea34b0ef23276000f7d07535428d.
Revert "Fix (again) bad handling of channels with RGB(A) png"

This reverts commit 258b1f64ead5a925fa5b596be8b76bb59bbf6abd.
Revert "Update data/skin_display96.xml"

This reverts commit b26075e4e349df06e435c1593d5c71a501f65246.
Revert "Fix swapped channels with RGB(A) png"

This reverts commit dece770d15e4f7b19e1f1ba5aae1c2006ebd0f2a.
Revert "Fix a memory leak when read a malformed RGB(A) png"

This reverts commit 94c893dd678c0fff407cf8d5750188a693a57fb8.