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.
filepush: Stop sending data to mux after thread termination

This caused the hangup on the 8000, when paused, it will block
on write(), so just pressing pause and then jumping would hang.
tstools: Separate internal/external methods, remove unused ones

Removed methods defined but never used. Made methods that weren't
used externally protected.
db.cpp: Fix (?) compiler warning 'return without value'

There wasn't a value near the "return", so I assumed that this was the
intention.
Make it explicit who's using rawfile in "cached" mode
servicem2ts.cpp: Remove unused "cached" mode

Probably a copy/paste leftover.
epng: fix gray type and tRNS chunk processing
SoftwareUpdate: Add timestamp of latest image available
servicemp3: properly find basic subtitle files

the code assumed the file extention was always 3 characters but that
is a wrong assumption. So just base it on the existing ext variable.
demux: Don't call fdatasync during flush

See also:
e5355afe82d9de4ab49bac05f2fef5c6f7da4496

flush() is called when the recording is being stopped and the main thread
is usually waiting for it. Let the OS do its work in the background, no
need to keep the user waiting.
refactor code to find images for recorded events in epg

To find out what image to show in epg for timer events the timer list was
scanned twice. One time to determine if the event is part of a recording
(isInTimer()). The second time to find out what part of the event is
recorded (this second one did not take repeated events into account).

The isInTimer() function now returns the recording duration within
the event and a type indicator. This type indicator is:

	1 if only the last part of the event is recoded
        2 if the whole event is recorded
        3 if only a part of event is recorded ( e.g. not type 1 and 4)
        4 if only the first part of the event is recorded.

This type can then be used as inded in an array of pixmaps to signify the
recording.

The users of isInTimer() are changed accordingly.
GraphMultiEpg: support separate background image for recorded events

Evnets that are completely recorde can be given a separate background
image it it exists. This image is searched for in the skin epg
directory:

           <skin>/epg/RecordingEvent.png
gLCDDC: cosmetic white space and extra eDebug to show LCD resolution
solved crash for hide channel list in radio mode

Signed-off-by: Littlesat <littlesat99@yahoo.com>