ypr0: Fix erroneous if condition.

The GPIO device file wasn't closed due to this. This wasn't a big deal
because the device powers off shorty afterwards anyway.

Change-Id: I9a6b4d57d32627157323b4883e47b8812f5dcb4d
ypr0: Align to coding guidelines (no typedef) and remove unused function.

Change-Id: If61e2290f4e0e5c971ece967b7d826624df392df
Samsung YP-R0 LCD improvements

This patch adds to YP-R0 (and other future targets using Linux
framebuffer) the ability to use LCD_ENABLE to save some CPU cycles
while display is powered off.
This patch also changes the way to toggle LCD power: now using
a proper ioctl call, slightly more efficient.

Change-Id: I544de77f5abd4ac1c13d3fe3a6e40a30f7c0bece
Reviewed-on: http://gerrit.rockbox.org/410
Reviewed-by: Thomas Martitz <kugel@rockbox.org>
VGM Codec: Improve time and fade behavior. Tweak minor misc.

Prevents cutoff of tracks, especially short ones:
* Extend looped tracks by fade length to fade at start of loop repeat.
* No fade occurs for non-repeating track only having an intro.
* Uses id3.tail_trim field to store fade duration.

Use libGME built-in elapsed time reporting instead of custom calculation:
* libGME already reports in milliseconds.
* Don't advance time counter when Repeat == One. It just runs the progress
  over the length limit.

Fix a comment about sample rate and set the reported bitrate to be
accurate for 44.1 kHz stereo.

Change-Id: I3ede22bda0f9a941a3fef751f4d678eb0027344c
Update for 3.13

Change-Id: Iba0860682834a9389196276662f8ce67c18312d6
TTS encoders: allow volume range between 0.0 and 2.0.

SAPI only allowed values from 1.0 to 10.0, making it impossible to turn down
the volume of the voice. Increasing the volume by a factor of 10.0 is nothing
that is likely to be useful, so change the upper limit to 2.0 and decrease the
lower limit to 0.0.

Lame allowed values from 0.0 to 1.0, making it impossible to increase the
volume of the voice. Change the upper limit to 2.0 as well.

Change-Id: I8add103f6e4b3c8f1b11ee2c0ea478727bdc99c1
Don't delete ZipInstaller instances directly.

Schedule them for deletion instead of deleting them. That way pending events
can still be handled before the main loop deletes them. Fixes crashes on the
second download during installation.

Change-Id: I7c718dbb0200a64d1aa3bbb6c2839282fb965dec
Don't leak HttpGet objects in ZipInstaller.

When creating a new HttpGet object schedule any old one for deletion instead of
dropping its reference and relying on Qt to clean it up once the parent object
is removed.

Change-Id: I66f2a6f01c6b6ad3a0dce0eb4fd3eacfaf7e733d
ZipInstaller: rename some member variables to be in line with the rest.

Also change the double inclusion protection to match the filename.

Change-Id: I5bb64afdb62c87057867f9f9d683f0df239d2efc
Default to non-GUI configuration for tests.

Change-Id: Iae0cd3ec7a4bb173bf4032b557f9ae7efb64c67d
Prepare new maemo release

Ideally this commit should go on top of the v3.13 branch
since the release is based on the v3.13 code base.

Change-Id: If13cf87463c7a3f7a9c2c96c916c543c9d2ed1a5
Prepare unofficial pandora release

The code is based on the 'v3.13-final' tag.

Change-Id: Id2616ea478f9c9b76bb3307d03d1d043ec81074f
mkimxboot: fix usage

Change-Id: I049908ac0fe65646906999b7e661a64506bd2594
jz4740: a few minor fixes

This was spotted while playing with qemu-jz:
1) rockbox reads TECR and TESR which are described as write-only
   registers. Datasheet doesn't mention what happens if they are
   readed. Apparently this doesn't have fatal side effects.
   It comes down to two defines from jz4740.h
   __tcu_stop_counter(n) and __tcu_start_counter(n) which use
   read-modify-write sequence.

2) rockbox accesses out of bound offset 0xd4 in DMA memspace.
   It comes from dis_irq() in system-jz4740.c. NUM_DMA is 6 but
   DMA channels are 0-5 so (irq <= IRQ_DMA_0 + NUM_DMA)) bound
   check is wrong.

This are *NOT* tested on device.

Change-Id: I29dff6a4f828030877b7d50fbcc98866478b9e3d
Reviewed-on: http://gerrit.rockbox.org/338
Reviewed-by: Bertrik Sikken <bertrik@sikken.nl>
Tested-by: Purling Nayuki <cyq.yzfl@gmail.com>
Reviewed-by: Marcin Bukat <marcin.bukat@gmail.com>
Don't include unwarminder for checkwps, database and warble.

If the host is ARM simply checking the architecture the compiler produces
binaries for will include unwarminder even for the PC tools, breaking them.

Fixes building checkwps and database on ARM hosts. Doesn't fix warble, there
are additional problems with that.

Change-Id: I135b1103a60b9e3720117cde1075b7d73424f384
Remove keyword line.

Change-Id: Ic118b14170bb3eb0237a921f1ffe5c3f50569cc4
rknanoutils: fix stupid mistake

Change-Id: I5267533226d833b20abb3cfd27cc390aef1181e4
autoconf.pl: Add support for build folders with screen resolution (e.g. build-android-320x480).

Change-Id: If2ab767f44db604177a0028e86100633631ca8b8
Add option to temporarily show proxy password.

Change-Id: I9c4394dbe679584a0b0f9b6105714176354adfe6
Encode the password using base64 before storing it to the configuration file.

There are two reasons for this:
- QUrl::toEncoded() has problems with some characters like the colon and @.
  Those are not percent encoded, causing the string getting parsed wrongly when
  reading it back (see FS#12166).
- The password is cleartext in the configuration file.
  While using base64 doesn't provide any real security either it's at
  least better than plaintext.
  Since this program is open source any fixed mechanism to obfuscate /
  encrypt the password isn't much help either since anyone interested in
  the password can look at the sources. The best way would be to
  eventually use host OS functionality to store the password.

Change-Id: I6ac49d68211236e540b6ca16481e0e1c196532b7