Commit graph

29619 commits

Author SHA1 Message Date
Jonathan Gordon
a55982d130 Fix touchscreens so entering the WPS with a skin with no touchregions reverts to grid mode (caused by r30991)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31156 a1c6a512-1295-4272-9138-f99709370657
2011-12-06 10:30:13 +00:00
Boris Gjenero
694502a965 Fix FS#12423 : Rockbox access to /.rockbox/fonts after usb_enable(true). This fixes entry into USB mode on the Archos Recorder V2 and possibly also other targets using a USB to IDE bridge chip. Fred Bauer found this removes the need for a workaround in glyph_cache_save(). I'm including his patch which removes the workaround.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31155 a1c6a512-1295-4272-9138-f99709370657
2011-12-06 00:58:01 +00:00
Nils Wallménius
fb6b28d11c Missed one const.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31154 a1c6a512-1295-4272-9138-f99709370657
2011-12-05 19:35:27 +00:00
Nils Wallménius
a0377bd500 Sprinkle around some static and const.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31153 a1c6a512-1295-4272-9138-f99709370657
2011-12-05 19:23:46 +00:00
Michael Sevakis
906905aa43 Use a macro for aligning PCM chunks instead of explictly coding it each time.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31152 a1c6a512-1295-4272-9138-f99709370657
2011-12-05 13:58:35 +00:00
Jonathan Gordon
6461f74ae4 Try $RBROOT before $HOME when looking for the sdl apps rockbox root dir
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31151 a1c6a512-1295-4272-9138-f99709370657
2011-12-05 12:07:23 +00:00
Tomasz Moń
bac6a70184 Sansa Connect: Revise codec initialization/shutdown.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31149 a1c6a512-1295-4272-9138-f99709370657
2011-12-05 09:53:23 +00:00
Rafaël Carré
4811b516a3 Don't define str(n,i)cmp(i): we don't use those
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31148 a1c6a512-1295-4272-9138-f99709370657
2011-12-04 21:07:12 +00:00
Rafaël Carré
09f6556e22 Compile fix for mingw-w64
Don't build str(n)casecmp as functions if they are already defined by preprocessor

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31147 a1c6a512-1295-4272-9138-f99709370657
2011-12-04 21:07:06 +00:00
Bertrik Sikken
280d9074ab FS#12424 - latvian translation update by Mārtiņš Šimis
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31145 a1c6a512-1295-4272-9138-f99709370657
2011-12-04 20:41:51 +00:00
Dominik Riebeling
38f03d4eae sansapatcher: factor out handling of bundled bootloaders.
Instead of handling bundled bootloaders in the sansapatcher functions leave
that to the caller. This removes the need to have Rockbox Utility specific
parts in sansapatcher. sansa_add_bootloader() now operates on an already loaded
bootloader. For loading a convenience function sansa_read_bootloader() is
added. This also introduces a new check on loading to prevent installing an
e200 bootloader on a c200 (and vice versa).

These changes will allow building a libsansapatcher for linking with Rockbox
Utility later.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31144 a1c6a512-1295-4272-9138-f99709370657
2011-12-04 19:40:43 +00:00
Dominik Riebeling
38890ac6dc sansapatcher: guard platform specific files.
Use the preprocessor to make platform specific files compile as empty files if
built for a different platform. This removes the need to distinguish in the
Makefile and simplifies creating a libsansapatcher.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31143 a1c6a512-1295-4272-9138-f99709370657
2011-12-04 19:40:35 +00:00
Michael Sevakis
a43df152c2 Collect the 16-bit signed range sample clipping routines scattered about, which can be optimized on armv6 and create firmware/export/dsp-util.h (for lack of better place right now).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31142 a1c6a512-1295-4272-9138-f99709370657
2011-12-04 18:19:39 +00:00
Frank Gevaerts
700e360b61 Reduce stack allocation for remote screendump. The screendump filename is generated and known, so we don't need MAX_PATH.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31140 a1c6a512-1295-4272-9138-f99709370657
2011-12-04 17:17:45 +00:00
Dominik Riebeling
346f1e0fc6 Add double inclusion protection and prepare for use with C++ code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31138 a1c6a512-1295-4272-9138-f99709370657
2011-12-04 13:54:18 +00:00
Dominik Riebeling
2d2fa5c128 Add missing include.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31137 a1c6a512-1295-4272-9138-f99709370657
2011-12-04 13:54:07 +00:00
Tomasz Moń
2ee9facc11 Power management is to be kept in target tree due to being target specific.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31136 a1c6a512-1295-4272-9138-f99709370657
2011-12-04 09:48:10 +00:00
Tomasz Moń
de712eebbd Sansa Connect: Add TPS65021 (Power Management) driver.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31135 a1c6a512-1295-4272-9138-f99709370657
2011-12-04 08:24:08 +00:00
Rafaël Carré
ad0b308265 Clip Zip manual: add platform file
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31134 a1c6a512-1295-4272-9138-f99709370657
2011-12-04 00:14:32 +00:00
Amaury Pouly
d472090d21 fuze+: fix seeking forward/backward keymap, don't know why it was wrong in the first place
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31133 a1c6a512-1295-4272-9138-f99709370657
2011-12-04 00:03:09 +00:00
Szymon Dziok
c31f7d0121 HDD6330: introduce a new button (BUTTON_TAP), based on the hardware support for gestures. From now on some things are accessible by tapping on the vertical scroll strip. Reorganize, fix and remap some of the keymaps, add missing keymap for the recording.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31132 a1c6a512-1295-4272-9138-f99709370657
2011-12-03 23:13:17 +00:00
Rafaël Carré
6b5dff4c7b lcd-16bit: move lcd_bitmap and lcd_bitmap_transparent to common code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31131 a1c6a512-1295-4272-9138-f99709370657
2011-12-03 22:39:08 +00:00
Rafaël Carré
26851eaaa9 lcd-16bit: move common code to lcd-16bit-common.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31130 a1c6a512-1295-4272-9138-f99709370657
2011-12-03 22:19:17 +00:00
Rafaël Carré
1414e83743 lcd_blit_yuv: move to lcd-16bit-common.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31129 a1c6a512-1295-4272-9138-f99709370657
2011-12-03 21:48:34 +00:00
Rafaël Carré
2c523acf3f Clip Zip: fix yuv playback
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31128 a1c6a512-1295-4272-9138-f99709370657
2011-12-03 21:39:39 +00:00
Rafaël Carré
d7802133fd lcd_blit_yuv: move from sdl driver to lcd16bit-common
Declare as weak, so it can be overridden by targets

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31127 a1c6a512-1295-4272-9138-f99709370657
2011-12-03 21:39:33 +00:00
Thomas Jarosch
1d81683e08 Fix red: Mark variable as unused the rockbox way
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31125 a1c6a512-1295-4272-9138-f99709370657
2011-12-03 17:11:54 +00:00
Thomas Jarosch
eea3c1cd94 Remove redundant assigment to "dummy" variable
It was probably in there to silence a gcc warning
about unused variable "dummy".

Detected by cppcheck.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31124 a1c6a512-1295-4272-9138-f99709370657
2011-12-03 17:06:44 +00:00
Amaury Pouly
dd865bcd1e imx233: add control for more clocks, add debug clock debug screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31121 a1c6a512-1295-4272-9138-f99709370657
2011-12-03 15:34:40 +00:00
Tomasz Moń
66c53d528f Sansa Connect: Fix yellow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31120 a1c6a512-1295-4272-9138-f99709370657
2011-12-03 15:21:12 +00:00
Tomasz Moń
5e805f2041 Sansa Connect: Fix GIO initialization and screen wakeup.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31119 a1c6a512-1295-4272-9138-f99709370657
2011-12-03 15:03:44 +00:00
Dominik Riebeling
488ee77ea2 Don't show the full path when building librbspeex.a
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31118 a1c6a512-1295-4272-9138-f99709370657
2011-12-03 13:58:42 +00:00
Dominik Riebeling
7de4f64bb6 Rockbox Utility: build chinachippatcher as library.
Update the chinachip Makefile based on the mkamsboot one, build and link as
library for Rockbox Utility.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31117 a1c6a512-1295-4272-9138-f99709370657
2011-12-03 09:44:21 +00:00
Dominik Riebeling
fd5f16c070 Consolidate libraries list in project file a bit.
Instead of having to mention each library several times (extra targets, target
dependencies, linker flags) create a list of libraries we build directly and
create all other lists from them. Note that libraries get processed in the
order of the list, which is important for linking order. As a result libucl
needs to come last.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31116 a1c6a512-1295-4272-9138-f99709370657
2011-12-03 09:41:48 +00:00
Dominik Riebeling
059cb71c96 Extend return codes for chinachip_patch().
Instead of passing error messages using a callback function (which becomes
awkward when used from a C++ class object) return distinct error codes from
chinachip_patch(). This also removes the kludge to support translations for
Rockbox Utility and moves the strings to translate to the installation class
where they belong.

As a side effect info messages won't be passed to Rockbox Utility anymore, but
the details of the patching progress aren't of that much interest for the user
anyway.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31115 a1c6a512-1295-4272-9138-f99709370657
2011-12-03 09:41:44 +00:00
Dominik Riebeling
07da9ce5ea Split up chinachippatcher.
Move the command line tool parts out for simpler building as library.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31114 a1c6a512-1295-4272-9138-f99709370657
2011-12-03 09:39:11 +00:00
Rafaël Carré
bd691efae9 Sansa Clip Zip: enable all plugins
use too big graphics when needed (some plugins will be ugly)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31113 a1c6a512-1295-4272-9138-f99709370657
2011-12-02 20:28:20 +00:00
Rafaël Carré
444b17626f mkamsboot: make clip zip boot OF when pressing left button
pressing vol- to boot OF is still possible

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31112 a1c6a512-1295-4272-9138-f99709370657
2011-12-02 18:31:40 +00:00
Rafaël Carré
ab76a0db28 mkamsboot/dualboot: use arm-elf-eabi cross compiler by default
also allows user to change it with CROSS_COMPILE=xxx

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31111 a1c6a512-1295-4272-9138-f99709370657
2011-12-02 18:31:36 +00:00
Boris Gjenero
8687c5cebb Fix FS#11675 : LED resistor calculator does not wait for keypress. Thanks to Michael Chicoine for reporting the bug.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31107 a1c6a512-1295-4272-9138-f99709370657
2011-12-02 01:58:07 +00:00
Tomasz Moń
7c0977b878 Sansa Connect Simulator: Fix button sizes, add hold button support
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31106 a1c6a512-1295-4272-9138-f99709370657
2011-12-01 14:18:28 +00:00
Torne Wuff
8b9d6bdd1f Add a gitattributes file for the migration.
When we start using git, we will be doing automatic line ending conversion
in a nice uniform way: everything is expected to have LFs, rather than the
current odd patchwork of svn:eol-style attributes.

This .gitattributes file configures git to normalise all line endings to LF
on checkin in files it believes are text (and its heuristics appear to be
very good). It also explicitly declares a number of file types to be binary
(which both disables line ending conversion for them and also prevents git
attempting to display a textual diff of them).

I have already normalised all files in the repository now to have the correct
line endings, so this should not do anything bad for anyone who is already
using git.



git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31104 a1c6a512-1295-4272-9138-f99709370657
2011-12-01 14:14:59 +00:00
Torne Wuff
30e2a6d58d Convert one more file to LF line endings.
Unset svn:eol-style=CRLF on this vbs file and convert it to LF line endings.
VBScript is perfectly happy to run with LFs and this removes the last
inconsistent line ending in our repo :)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31103 a1c6a512-1295-4272-9138-f99709370657
2011-12-01 13:51:34 +00:00
Tomasz Moń
39f4408b63 Sansa Connect: Make simulator compile. UI-sansaconnect.bmp by Martin Sägmüller (based on press image).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31102 a1c6a512-1295-4272-9138-f99709370657
2011-12-01 13:41:59 +00:00
Thomas Martitz
f0bab2ff9a Address some weaknesses and bugs of buflib_compact() and make the code prettier. Thanks to Boris Gjenero for his great investigation.
Flyspray: FS#12409
Author: myself

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31101 a1c6a512-1295-4272-9138-f99709370657
2011-12-01 07:02:18 +00:00
Amaury Pouly
a299212af3 imx233: add power debug screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31100 a1c6a512-1295-4272-9138-f99709370657
2011-11-30 18:47:31 +00:00
Amaury Pouly
c871076c20 mkimxboot: remove an unecessary include that will prevent compilation of rbutil
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31099 a1c6a512-1295-4272-9138-f99709370657
2011-11-30 18:44:58 +00:00
Amaury Pouly
374a08ab31 fuze+: update keymap and touchpad driver based on FS#12405 with minor modifications. Thanks to Jean-Louis Biasini.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31098 a1c6a512-1295-4272-9138-f99709370657
2011-11-30 18:39:22 +00:00
Michael Chicoine
d6a397d4d0 Text viewer plugin: Fix info viewport font not being set to user selected font
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31096 a1c6a512-1295-4272-9138-f99709370657
2011-11-30 03:06:41 +00:00
Andree Buschmann
bdaac8ba04 Rockbox does not support encrypted ADX. Clearly state this in the manual and the debug messages.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31094 a1c6a512-1295-4272-9138-f99709370657
2011-11-29 20:36:11 +00:00