Andree Buschmann
a3541c07de
Disable unneeded parts of mpc's file-I/O interface.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27024 a1c6a512-1295-4272-9138-f99709370657
2010-06-21 18:45:34 +00:00
Thomas Martitz
4e26db3f35
I shouldn't have touched backlight.c at all :\ Also fix the yellow in peakmeter.c
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27022 a1c6a512-1295-4272-9138-f99709370657
2010-06-21 17:26:50 +00:00
Thomas Martitz
637010541a
Fix yellows and reds (one was a type, the other was rather incorrect before already)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27021 a1c6a512-1295-4272-9138-f99709370657
2010-06-21 17:10:22 +00:00
Thomas Martitz
35e8b1429a
Rockbox as an application: Replace many occurences of #ifdef SIMULATOR with #if (CONFIG_PLATFORM & PLATFORM_HOSTED) (or equivalently).
...
The simulator defines PLATFORM_HOSTED, as RaaA will do (RaaA will not define SIMULATOR).
The new define is to (de-)select code to compile on hosted platforms generally.
Should be no functional change to targets or the simulator.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27019 a1c6a512-1295-4272-9138-f99709370657
2010-06-21 16:53:00 +00:00
Frank Gevaerts
9e5846e7fc
Fix include file
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27017 a1c6a512-1295-4272-9138-f99709370657
2010-06-21 16:39:55 +00:00
Frank Gevaerts
3c78cb35e8
Remove plugin-specific defines from the pdbox makefile, and add them to m_pd.h, which is the global pdbox header. This makes sure that the defines are set during depency generation so dependencies are correct.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27016 a1c6a512-1295-4272-9138-f99709370657
2010-06-21 16:34:13 +00:00
Jonathan Gordon
49dac9ae04
Make the title area go up one level in the lists again. This Doesnt work if you have the title in a seperate viewport in the sbs, but that isnt really a problem because if you are doing that there is a good chance you will setup a region for that press anyway
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27015 a1c6a512-1295-4272-9138-f99709370657
2010-06-21 14:57:44 +00:00
Jonathan Gordon
ec7937b2f8
close the viewers.config file fd
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27014 a1c6a512-1295-4272-9138-f99709370657
2010-06-21 14:24:38 +00:00
Jonathan Gordon
adc9cb1adc
Allow the progressbar and volume touch regions to be reverse by prepending them with ! (so full is the left/top instead of right/bottom)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27013 a1c6a512-1295-4272-9138-f99709370657
2010-06-21 12:43:08 +00:00
Mohamed Tarek
e481e887db
Add a patch file in libwmapro to make it easier to add the library and the decoder to the main build and modify README.rockbox accordingly.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27012 a1c6a512-1295-4272-9138-f99709370657
2010-06-21 12:38:08 +00:00
Michael Sparmann
9092f7aa45
Don't leak a file handle if nvram.bin is <8 bytes in size
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27011 a1c6a512-1295-4272-9138-f99709370657
2010-06-21 12:34:28 +00:00
Mohamed Tarek
8eeec17041
Remove the stubbed main() from wmaprodec.c since it's useless now and remove Makefile for the same reason.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27010 a1c6a512-1295-4272-9138-f99709370657
2010-06-21 12:29:48 +00:00
Jonathan Gordon
c201772940
Fix the hotkey touch region in the wps
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27009 a1c6a512-1295-4272-9138-f99709370657
2010-06-21 12:14:16 +00:00
Mohamed Tarek
e576315c7e
Fix reds. (Actually removed wmapro from main build, which was added in a previous commit)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27008 a1c6a512-1295-4272-9138-f99709370657
2010-06-21 11:08:33 +00:00
Mohamed Tarek
816fca820c
Wrote apps/codecs/wmapro.c and modified libwmapro to make the codec work in the sim. Neither libwmapro nor wmapro.c have been added to the main build yet, codecs.make should be edited to compile both with rockbox.
...
current status of the decoder :
- Plays and seeks in the sim
- Still in floating point
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27006 a1c6a512-1295-4272-9138-f99709370657
2010-06-21 10:48:34 +00:00
Jonathan Gordon
a398c2846a
Touchregion support for the Base Skin and FM Skins. display obviously needs to be in stylus mode for this to work. Just about all screens should be mostly useable if your sbs has the next/prev/select/cancel/menu regions defined.
...
Plenty of room to add new action abilities if they are wanted.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27004 a1c6a512-1295-4272-9138-f99709370657
2010-06-21 06:04:19 +00:00
Rafaël Carré
a2ab719d57
debug menu: avoid using constant variables in array initialization
...
gcc fails to consider indexes as constant when building with -O0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27002 a1c6a512-1295-4272-9138-f99709370657
2010-06-21 00:03:15 +00:00
Rafaël Carré
298316d192
text_viewer: cleanup & bugfix
...
cleanup:
- don't use enum in struct / return values
- don't use a getter for preferences but a global pointer
- explicitely make enums start at 0
- use static tables for header/footer settings
- remove unneeded memset before strlcpy
- use static buffer allocation, not dynamic
- check header/footer preferences before using the callbacks
- don't include font filename in archos player preferences (break
file format)
bugfix:
- statically allocate old preferences in tv_set_preferences()
Sometimes I can read a file on Clipv2, but it still aborts quite often
refs: FS#11399
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26998 a1c6a512-1295-4272-9138-f99709370657
2010-06-20 21:53:47 +00:00
Jens Arnold
2f67cdc3e8
Make unnecessarily static local variables non-static. It's more efficient, and it also fixes the weird lines with EABI on ARM7TDMI, although it doesn't explain them.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26995 a1c6a512-1295-4272-9138-f99709370657
2010-06-20 16:33:00 +00:00
Jonathan Gordon
8a798179fc
woops, this chaneg too
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26992 a1c6a512-1295-4272-9138-f99709370657
2010-06-20 13:21:41 +00:00
Jonathan Gordon
eada0907ff
fix ffwd/rewind on touchscreen targets using regions
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26991 a1c6a512-1295-4272-9138-f99709370657
2010-06-20 13:17:24 +00:00
Andree Buschmann
dc8af759ce
Fix FS#11416. Resuming mpc was broken since r26032 due to false assumption of amount of buffered data.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26990 a1c6a512-1295-4272-9138-f99709370657
2010-06-20 13:02:31 +00:00
Michael Chicoine
c2f41ff80f
FS#11418 by Peter Lecky: Slovak language update
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26980 a1c6a512-1295-4272-9138-f99709370657
2010-06-20 05:27:03 +00:00
Rafaël Carré
694bc2a093
minesweeper: bugfixes / code improvements
...
dont make out of array accesses to the minefield
dont flag positions already known
avoid using the same name for local & global variables
don't use modulo but only 1 conditional add/sub
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26956 a1c6a512-1295-4272-9138-f99709370657
2010-06-19 08:06:31 +00:00
Rafaël Carré
cefd1856af
ACTION_FM_QUICKSCREEN is unused
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26944 a1c6a512-1295-4272-9138-f99709370657
2010-06-18 22:42:40 +00:00
Rafaël Carré
b6a1ac9837
clip recording keymap changes, thanks to dfkt
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26943 a1c6a512-1295-4272-9138-f99709370657
2010-06-18 22:42:35 +00:00
Rafaël Carré
7eee9387db
radio keymap: enable fuze/clip buttons
...
fuze was accidentally deleted in r25964
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26941 a1c6a512-1295-4272-9138-f99709370657
2010-06-18 22:14:45 +00:00
Rafaël Carré
94f18b1f9f
clip+ keymap: revert r26396
...
software hold is now on home+select and quickscreen on long home like on
other clips
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26938 a1c6a512-1295-4272-9138-f99709370657
2010-06-18 20:03:39 +00:00
Maurus Cuelenaere
6be8306ae0
Fix error: assignment of read-only variable 'list_width'
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26923 a1c6a512-1295-4272-9138-f99709370657
2010-06-18 14:45:44 +00:00
Maurus Cuelenaere
4c4285df9a
Simplify check in gui_synclist_do_touchscreen(), no functional changes.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26922 a1c6a512-1295-4272-9138-f99709370657
2010-06-18 14:41:49 +00:00
Teruaki Kawashima
926aae8161
reorder apps/plugins/lib/SOURCES.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26919 a1c6a512-1295-4272-9138-f99709370657
2010-06-18 13:49:36 +00:00
Nils Wallménius
273d05906d
libmad: Optimize away 2 instructions from coldfire III_imdct, no measurable speed difference.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26918 a1c6a512-1295-4272-9138-f99709370657
2010-06-18 13:47:37 +00:00
Teruaki Kawashima
be7e835d92
use int instead of enum.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26916 a1c6a512-1295-4272-9138-f99709370657
2010-06-18 13:33:22 +00:00
Rafaël Carré
bfd8d023db
FS#11347 by me: *dir LUA functions: luadir module
...
mkdir and rmdir are now in this module and not in the rockbox API
implements the 'dir' iterator to browse directories
Based on LuaFileSystem : http://www.keplerproject.org/luafilesystem
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26913 a1c6a512-1295-4272-9138-f99709370657
2010-06-18 13:10:14 +00:00
Maurus Cuelenaere
d8cef9c078
Lua: document rocklib_aux.pl a bit, so it's easier to find out about it when stumbling over a CC error in rocklib_aux.c
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26912 a1c6a512-1295-4272-9138-f99709370657
2010-06-18 12:28:34 +00:00
Maurus Cuelenaere
952d9bc038
Lua: make actions.lua, buttons.lua and rocklib_aux.c depend on it generators
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26911 a1c6a512-1295-4272-9138-f99709370657
2010-06-18 12:28:30 +00:00
Marcin Bukat
341653e3af
HD200 - calibrate lcdlinear[] matrix
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26910 a1c6a512-1295-4272-9138-f99709370657
2010-06-18 11:58:26 +00:00
Michael Sevakis
2b640ba4b8
Switch iPod 3G to use EABI toolchain. Make necessary threading changes to avoid use of stack after switching to idle stack.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26898 a1c6a512-1295-4272-9138-f99709370657
2010-06-17 20:15:58 +00:00
Rafaël Carré
c0bd4173aa
Make sure files which aren't windows-specific use \n line endings only
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26893 a1c6a512-1295-4272-9138-f99709370657
2010-06-17 16:59:51 +00:00
Nils Wallménius
3d2b1cfa6e
ARMv6 vector mutiplication asm, speeds up vorbis decoding about 0.1MHz on gigabeat S.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26892 a1c6a512-1295-4272-9138-f99709370657
2010-06-17 16:49:39 +00:00
Nils Wallménius
b6c17c2c82
Delete some duplicate inline asm macros since they now live in the codeclib.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26891 a1c6a512-1295-4272-9138-f99709370657
2010-06-17 16:01:20 +00:00
Nils Wallménius
10719ef649
test_codec: print crc's that start with 0 properly.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26890 a1c6a512-1295-4272-9138-f99709370657
2010-06-17 15:27:42 +00:00
Nils Wallménius
7afea91560
ARMv6 versions of X(N)PROD31 macros and MULT32 macro. Saves about 1MHz or 3% decoding vorbis on gigabeat S.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26889 a1c6a512-1295-4272-9138-f99709370657
2010-06-17 15:24:23 +00:00
Bertrik Sikken
ff8e76e9e5
The mystery FM chip in some Sansa Clip+ players has been identified as a RDA5802, so rename files and functions. Also fix several bugs.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26871 a1c6a512-1295-4272-9138-f99709370657
2010-06-16 20:29:08 +00:00
Marcin Bukat
23b9df2890
Add interpolation so output file contains lcdlinear[] matrix dump
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26869 a1c6a512-1295-4272-9138-f99709370657
2010-06-16 09:12:46 +00:00
Bertrik Sikken
fcea117d21
Support for mystery FM chip in some Sansa Clip+, FS #11403 by me
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26864 a1c6a512-1295-4272-9138-f99709370657
2010-06-15 20:57:48 +00:00
Nils Wallménius
da4e6b1ace
Manually cleaned up version of FS#11358 by Hinrik Örn Sigurðsson
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26858 a1c6a512-1295-4272-9138-f99709370657
2010-06-15 16:33:59 +00:00
Rafaël Carré
518d3fcc77
test_disk: print return values in case of error
...
Also print the requested read/write size
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26855 a1c6a512-1295-4272-9138-f99709370657
2010-06-15 08:55:28 +00:00
Jonathan Gordon
9a7a542de2
first step of making touch regions usable in all skins, not just the WPS.. no user viewable changes just yet
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26854 a1c6a512-1295-4272-9138-f99709370657
2010-06-15 08:38:23 +00:00
Steve Bavin
dddd15746f
FS#10336 - Simplify list redrawing to improve voicing when scrolling to top/bottom.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26853 a1c6a512-1295-4272-9138-f99709370657
2010-06-15 07:08:35 +00:00