Commit graph

28602 commits

Author SHA1 Message Date
Thomas Martitz
ffee46a8b1 Fix yellow. Shouldn't have reordered struct members here.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30031 a1c6a512-1295-4272-9138-f99709370657
2011-06-20 19:33:08 +00:00
Thomas Martitz
1a86aab1a2 Remove unused code path from playlist_create_ex().
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30030 a1c6a512-1295-4272-9138-f99709370657
2011-06-20 19:33:03 +00:00
Thomas Martitz
316f9a0238 tagtree: Refactor memory allocation to local functions.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30029 a1c6a512-1295-4272-9138-f99709370657
2011-06-20 19:32:56 +00:00
Thomas Martitz
19d08c2664 Move struct search_instruction into struct menu root, as they're not allocated or used independently.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30028 a1c6a512-1295-4272-9138-f99709370657
2011-06-20 19:32:52 +00:00
Thomas Martitz
7b374b43b5 Use enum themable_icons in struct file_type and struct filetype (who made those names?).
It's the correct type and should save some memory due to struct padding (on eabi).

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30027 a1c6a512-1295-4272-9138-f99709370657
2011-06-20 19:32:48 +00:00
Thomas Martitz
26ec41b028 Move buffer.h to firmware/include.h to replace a useless malloc header.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30026 a1c6a512-1295-4272-9138-f99709370657
2011-06-20 19:32:43 +00:00
Andree Buschmann
8d7eb5d59e Submit final part of FS#12154. Optimization for WM8758 used in iPod Video: Significantly reduce popping noise during startup. Additionally improve crosstalk, THD and noise level. Thanks to Seheon Ryu.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30025 a1c6a512-1295-4272-9138-f99709370657
2011-06-20 18:52:31 +00:00
Andree Buschmann
f0c032a523 Submit first part of FS#12154. Whitespace removal and correction of several defines in WM8758 driver according to data sheet, no functional change. Thanks to Seheon Ryu.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30024 a1c6a512-1295-4272-9138-f99709370657
2011-06-20 18:37:51 +00:00
Miika Pekkarinen
f2ef42c1da Fixed a changelog export/import problem with tagcache where <CR> or <LF>
characters in a tag could cause the parser fail to import a track
statistics correctly. Now line feeds are escaped properly and carriage
returns ignored on import.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30021 a1c6a512-1295-4272-9138-f99709370657
2011-06-20 15:53:33 +00:00
Jens Arnold
c56cca261a Fix non-working .talk clips on hwcodec (follow-up to r28672 and r29432): .talk clips
must be evaluated as MP3. Also fix supported formats: hwcodec doesn't support MP1.



git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30019 a1c6a512-1295-4272-9138-f99709370657
2011-06-19 22:34:40 +00:00
Jens Arnold
91ce4b2a60 Optional dual-boot support in iAudio X5 and M5 bootloader, based on FS#5289.
In order to enable it, #define HAVE_DUALBOOT when building the bootloader.
Do not use the automatically created x5_fw.bin or m5_fw.bin, but use mkboot
to create a new firmware file from an OF x5_fw.bin resp. m5_fw.bin and
bootloader.bin.

The dual-boot bootloader boots the OF when pressing Play (main or remote) for
more than 3 seconds. Hold it a bit longer because the OF also checks buttons.
Short press boots rockbox.

As a bonus, the Play button read (for hold check) is done a bit earlier for
single-boot mode as well.



git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30018 a1c6a512-1295-4272-9138-f99709370657
2011-06-19 17:23:18 +00:00
Dominik Riebeling
e9e0cf5908 Manual: add search box to HTML output.
To allow easy searching the HTML (multi page) output add a search box that
queries Google. The Google search will get restricted to the location the
manual is stored. Google seems to happily accept a subfolder when specifying a
domain to search. For this to work the search box has to be created dynamically
with the help of a bit JavaScript.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30017 a1c6a512-1295-4272-9138-f99709370657
2011-06-19 15:43:41 +00:00
Miika Pekkarinen
8d9b9d247b Removed redundant copy of tagcache master_header structure stored in
memory. One of these headers (current_tcmh) was not loaded in when
tagcache state was initialized from a hibernated state file (flashed
H1xx targets). That caused internal serial number to start always from
zero, rendering "recently played tracks" query not working as expected.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30016 a1c6a512-1295-4272-9138-f99709370657
2011-06-19 14:36:26 +00:00
Dominik Riebeling
19f2456712 Manual: Simplify Makefile htlatex call a bit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30015 a1c6a512-1295-4272-9138-f99709370657
2011-06-19 09:41:13 +00:00
Dominik Riebeling
edaeb1954e Manual: Add version information to page footer.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30014 a1c6a512-1295-4272-9138-f99709370657
2011-06-19 09:41:09 +00:00
Dominik Riebeling
5862612205 Add script to spellcheck the manual LaTeX sources.
This script wraps around aspell and calls it for the file passed on the command
line or runs aspell on all TeX files found in the manual folder (except
preamble.tex). aspell is called interactively. Note: there is currently no way
to interrupt checking if running on the complete folder.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30013 a1c6a512-1295-4272-9138-f99709370657
2011-06-19 09:41:03 +00:00
Magnus Holmgren
6c8ef19dfd FS#12161: Correct the gapless processing for AAC, so that it doesn't remove too much from the start of a track. Also simplify the logic a bit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30012 a1c6a512-1295-4272-9138-f99709370657
2011-06-18 15:11:30 +00:00
Bertrik Sikken
21685577c7 FS#12162 - Second June update of Czech language by Marek Salaba
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30011 a1c6a512-1295-4272-9138-f99709370657
2011-06-17 23:36:49 +00:00
Amaury Pouly
2cf3313382 fuze+: add more clocking code, add dma code, add ssp code, add stub usb code, update storage to SD + MMC, beginning of the driver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30010 a1c6a512-1295-4272-9138-f99709370657
2011-06-17 22:30:58 +00:00
Michael Sevakis
d4800fa385 Coldfire: Fix the modification of IMR. Interrupts must be masked at the core level at at least the level of the interrupt being masked. Not following the datasheet and relying strictly on and/or_l causes unhandled 'Levelx' exceptions (showing itself quite often in PCM mixer work which more greatly stresses PCM lockout).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30009 a1c6a512-1295-4272-9138-f99709370657
2011-06-17 03:09:47 +00:00
Rafaël Carré
7b605f0416 Fix 'unused-but-set-variable' warnings (doom, lua)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30008 a1c6a512-1295-4272-9138-f99709370657
2011-06-17 00:14:58 +00:00
Jonathan Gordon
142725ebc9 Fix FS#12158 - Make the "Mode: " line in the radio menu voice.
Translators need to verify the voice string, dumbly copied from the dest string

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30007 a1c6a512-1295-4272-9138-f99709370657
2011-06-16 13:28:15 +00:00
Michael Hohmuth
851cac848a Prevent out-of-bounds array access when a tagnavi config file defines too many %format specifications
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30006 a1c6a512-1295-4272-9138-f99709370657
2011-06-14 20:54:26 +00:00
Bertrik Sikken
4456abb601 FS#12157 - Little June update of Czech language by Marek Salaba
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30005 a1c6a512-1295-4272-9138-f99709370657
2011-06-14 20:02:43 +00:00
Thomas Martitz
d43e8ea5a2 Slightly more typesafe ALIGN_DOWN/UP macros.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30004 a1c6a512-1295-4272-9138-f99709370657
2011-06-14 14:21:43 +00:00
Amaury Pouly
50be1a8c4c sbtools: add support for the mode command (rarely used) and explicit env variable to skip version check
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30003 a1c6a512-1295-4272-9138-f99709370657
2011-06-13 21:46:29 +00:00
Bertrik Sikken
dfeab73f55 FS#12156 - Update Galician translation by Ismael Castiñeira Álvarez
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30002 a1c6a512-1295-4272-9138-f99709370657
2011-06-13 21:39:07 +00:00
Magnus Holmgren
de81c733bd Update Swedish translation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30001 a1c6a512-1295-4272-9138-f99709370657
2011-06-13 17:37:35 +00:00
Thomas Martitz
3b18158688 Fix FS#11387 - PictureFlow runs jerkily while playing music on Nano2G after the recent feature addition
The problem r26713 addressed was not caused by missing yields but by too high
priority of the background loader thread. Undoing the yield() change and decreasing
the priority fixes the audio drop as well but doesn't cause jerkiness.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30000 a1c6a512-1295-4272-9138-f99709370657
2011-06-13 16:50:10 +00:00
Dominik Riebeling
b843abef86 Manual: update copyright year. We are still working on this.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29999 a1c6a512-1295-4272-9138-f99709370657
2011-06-13 16:33:58 +00:00
Bertrik Sikken
e533635012 FS#12155 - Update espanol.lang Spanish translation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29998 a1c6a512-1295-4272-9138-f99709370657
2011-06-13 16:16:40 +00:00
Jonathan Gordon
038fc8a66e Fix the %cs tag for the pitchscreen and playlist viewer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29997 a1c6a512-1295-4272-9138-f99709370657
2011-06-13 07:33:20 +00:00
Nils Wallménius
3b04a85245 Remove a couple of dead inits and assignments found by the clang-static-analyzer.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29996 a1c6a512-1295-4272-9138-f99709370657
2011-06-12 22:17:45 +00:00
Thomas Jarosch
4e8bed2933 Work around missing EOVERFLOW define on cygwin/mingw.
According to the mighty google, stat() will just return
an incorrect file size for files > 2 GB on cygwin.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29995 a1c6a512-1295-4272-9138-f99709370657
2011-06-12 12:12:18 +00:00
Dominik Riebeling
1d1fa41b20 Remove Manual option from configure script.
Building the manual requires to use the manual make target, and it can be
invoked from a normal build configuration. Having a separate configure option
isn't necessary anymore.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29994 a1c6a512-1295-4272-9138-f99709370657
2011-06-12 11:40:20 +00:00
Dominik Riebeling
a3ed2c1552 Support installing the Android toolchain on Cygwin and OS X.
Update the download URLs to the most recent versions of SDK and NDK, the
previously used r09 of the SDK isn't available at that location anymore, and
differentiate between host platforms.

Note: while the script now can install the toolchain on Cygwin building for
Android on Cygwin does not work.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29993 a1c6a512-1295-4272-9138-f99709370657
2011-06-11 20:22:14 +00:00
Thomas Jarosch
a87e395edf RaaA / sim: Don't abort directory read if we encounter files larger than 2 GB in a directory
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29992 a1c6a512-1295-4272-9138-f99709370657
2011-06-10 16:29:55 +00:00
Thomas Jarosch
986a92fe66 Pandora port: Automate rockbox.pnd (=binary archive) build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29991 a1c6a512-1295-4272-9138-f99709370657
2011-06-09 20:58:03 +00:00
Thomas Jarosch
6c571361ff Pandora port: Fix rockbox share directory path (it has to end on /rockbox)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29990 a1c6a512-1295-4272-9138-f99709370657
2011-06-09 20:28:44 +00:00
Amaury Pouly
4cfb5da35b sbtools: always check the result of getenv against NULL, use strcasecmp instead of strcmp more greater flexibility
Thanks TheLemonMan for spotting that.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29989 a1c6a512-1295-4272-9138-f99709370657
2011-06-09 09:39:21 +00:00
Amaury Pouly
2d2246ed7d sbtoelf: add environment command to ignore format version checks (some files do not match it seems)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29988 a1c6a512-1295-4272-9138-f99709370657
2011-06-09 09:21:32 +00:00
Nils Wallménius
f2e7c05c22 libtremor: comment out unused struct member.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29987 a1c6a512-1295-4272-9138-f99709370657
2011-06-09 06:46:44 +00:00
Torne Wuff
754b1572fb Remove superfluous executable bits on a bunch of files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29986 a1c6a512-1295-4272-9138-f99709370657
2011-06-08 14:22:03 +00:00
Nils Wallménius
d5ceb4ce2b codeclib: make selective inclusion of macros and inline functions from the codeclib_misc.h header easier and clean out some old libtremor stuff.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29985 a1c6a512-1295-4272-9138-f99709370657
2011-06-08 10:35:27 +00:00
Bertrik Sikken
6672766dfe rda5802: don't use the si4700-specific exceptions for putting the tuner to sleep
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29984 a1c6a512-1295-4272-9138-f99709370657
2011-06-07 21:07:49 +00:00
Nils Wallménius
331b23d15b FS#12144, Use -fPIC -fvisibility=hidden only for plugins on sim and app builds and enable it for 32 bit too. Fixes linking errors on simbuilds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29983 a1c6a512-1295-4272-9138-f99709370657
2011-06-07 11:56:23 +00:00
Michael Hohmuth
f9f96325e2 FS#12107: Remove track-number guessing code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29982 a1c6a512-1295-4272-9138-f99709370657
2011-06-06 23:03:31 +00:00
Michael Hohmuth
6a0021cf20 FS#12132 patch 5: check_clauses: Optimizations.
* There's no need to reset the buffer argument to
  check_against_clauses to 0 when it's not needed.  We can always
  initialize str = buf and only change it on a RAM search hit.

* Do not memset buffer to 0 -- it's sufficient to make sure the
  retrieved tag string is zero-terminated.

* Factor out a call to check_virtual_tags from two branches of an if
  statement.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29981 a1c6a512-1295-4272-9138-f99709370657
2011-06-06 22:49:07 +00:00
Michael Hohmuth
b3a7f39c66 FS#12132 patch 4: Added a comment for the tagcache_search.type field.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29980 a1c6a512-1295-4272-9138-f99709370657
2011-06-06 22:49:02 +00:00
Michael Hohmuth
564a8ed1fd FS#12132 patch 3: Rename read_numeric_tag to find_tag, as it is indeed
used for nonnumeric tags as well.

Optimization for the nonnumeric case: Only numerics are ever updated,
so there's no need to scan the command queue for updates to nonnumeric
tags.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29979 a1c6a512-1295-4272-9138-f99709370657
2011-06-06 22:48:57 +00:00