Avoid unnecessary HEAD request on uncached file.

If a file is not available in the cache immediately sent a GET request. Using a
HEAD request to retrieve the file timestamp on the server is not necessary and
only creates an unnecessary network request.

Change-Id: I358507dcc0c6b837ff47e5fd710b5262d03cb7b0
Remove 64bit warning by using C99 fixed width format specifier.

Change-Id: I422d0a7ca91170b27171178ad6a8d7ff7ac32570
Remove support for RFC850 timestamps.

RFC850 timeformat isn't y2k compliant. Furthermore, parsing turned out to be
broken and it doesn't seem supporting the format is necessary anyway.

Change-Id: I062e636a9e016ff1ac49d2a55f00adb1af182576
Fix FS#12391 : Memory corruption on PP502x after commit_discard_idcache()

In commit_discard_idcache(), cache lines were marked as invalid. When
some cache lines are marked as invalid, memory corruption can occur.
This caused instability when using PP502x ATA DMA because of the many
more calls to that function. Here, commit_discard_idcache() is changed
to avoid the problem. Also, the cache is filled after being enabled to
to ensure there are never any cache lines that aren't marked as valid.

Change-Id: Ia26300acef6b0573c1f40299c496ee5cbda3dac8
Reviewed-on: http://gerrit.rockbox.org/339
Reviewed-by: Szymon Dziok <b0hoon@o2.pl>
Tested-by: Szymon Dziok <b0hoon@o2.pl>
Reviewed-by: Marcin Bukat <marcin.bukat@gmail.com>
Re-enable PP502x ATA DMA

PP502x ATA DMA was disabled in 55fab77 because it caused various
instability on all targets using it. This instability is fixed in
583c948 via FS#12391. Here, ATA DMA is enabled for all PP502x targets
except nano1g and hdd6330. For nano1g, there may be other causes of
instability and more testing is needed. ATA DMA does not work on hdd6330.

Change-Id: I786b9edb19e74e6eb957ab205ea026f0969200ac
Reviewed-on: http://gerrit.rockbox.org/340
Tested-by: David Hooper <dave@beermex.com>
Tested-by: Boris Gjenero <boris.gjenero@gmail.com>
Reviewed-by: Szymon Dziok <b0hoon@o2.pl>
Tested-by: Szymon Dziok <b0hoon@o2.pl>
Reviewed-by: Marcin Bukat <marcin.bukat@gmail.com>
PP: Do not use ATA DMA in bootloader

The build of bootloader with HAVE_ATA_DMA fails because of missing
commit_discard_dcache(). This seems to be bigger problem as
bootloader builds don't call  cache_init() also which seems wrong.
but I know too little about the PP platform to judge.
For now use ATA DMA only in regular builds.

Change-Id: I82873cb1771f5a95ebfbef91ce26744e3abd743c
Deprecate the EXTRA_LIBS variable.

Instead specify explicit library dependencies for codecs and plugins.
gif viewer: remove max frames count constraint

Change-Id: I0be2f86234cfc5fd4ab6bb21fb918e507c608f2f
Reviewed-on: http://gerrit.rockbox.org/380
Reviewed-by: Thomas Martitz <kugel@rockbox.org>
Reviewed-by: Marcin Bukat <marcin.bukat@gmail.com>
Add skip length backwards setting

Change-Id: I442bed5eba49d10b28e15db3f803c37815c7de04
Default sleep timer consistent as a shortcut

Prior to this patch, changing the default sleep timer setting when used
as a shortcut did not update the underlying sleep timer value until the
configuration file was re-read.

The only downside is removing the sleeptimer_duration_cb function means
that the timer is restarted even if you do not change the default
duration.

Change-Id: I178f50cf8658dc64ecb09d6b30223aee0c6d7ad1
Nicer list of sleep timer durations

Change-Id: Idb1ea0c5f39b238feb5ff7c51e36d1457a1725c7
Make back work on the shortcuts screen
tagnavi: remove unused entries, move A to Z up

Change-Id: I0c15619b10167bd5cd56f5f5d042c788d53fe23a
Read night/day configuration depending on time

Change-Id: I83fe23953253c5deb67bb1115a7ecaa33c7dfb10
Forbid deleting the currently playing file

Change-Id: Ic2a069e91362321babccb99bce2311e5c25e7545
Show a now-playing icon on the file list

Change-Id: Ie5b901ddbbb9f0225377b31031f5575ae422c08e