Thomas Martitz
9c0b2479f7
Rockbox as an application: add get_user_file_path().
...
For RaaA it evaluates user paths at runtime. For everything but codecs/plugins it will give the path under $HOME/.config/rockbox.org if write access is needed or if the file/folder in question exists there (otherwise it gives /usr/local/share/rockbox).
This allows for installing themes under $HOME as well as having config.cfg and other important files there while installing the application (and default themes) under /usr/local.
On the DAPs it's a no-op, returing /.rockbox directly.
Not converted to use get_user_file_path() are plugins themselves, because RaaA doesn't build plugins yet.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27656 a1c6a512-1295-4272-9138-f99709370657
2010-08-01 16:15:27 +00:00
Rafaël Carré
2e7d92fef7
mpa: remove bad enum comparison spotted by gcc 4.5.1
...
MAD_FLAG_INCOMPLETE only applies to frame header and isn't an error
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27655 a1c6a512-1295-4272-9138-f99709370657
2010-08-01 16:08:25 +00:00
Rafaël Carré
3bc8fd0824
cmp-plugins-size: continue if a map file is absent/corrupted
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27654 a1c6a512-1295-4272-9138-f99709370657
2010-08-01 15:09:51 +00:00
Jonathan Gordon
9e2cd39d52
Fix FS#11508 - remote LCD targets crash because the remote wps fails to load
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27653 a1c6a512-1295-4272-9138-f99709370657
2010-08-01 11:37:02 +00:00
Bertrik Sikken
befffc877d
More minor const/static/include fixes.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27652 a1c6a512-1295-4272-9138-f99709370657
2010-08-01 11:10:39 +00:00
Jonathan Gordon
52e67f3366
woopsies
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27651 a1c6a512-1295-4272-9138-f99709370657
2010-08-01 10:48:27 +00:00
Jonathan Gordon
bb45110de2
woopsies
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27650 a1c6a512-1295-4272-9138-f99709370657
2010-08-01 10:43:29 +00:00
Jonathan Gordon
6dc4d65aa1
FS#11507 - fix 'track starting/ending' tags, and minor timeout cleanup
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27649 a1c6a512-1295-4272-9138-f99709370657
2010-08-01 10:40:29 +00:00
Bertrik Sikken
38caf2c807
Fix #ifdef in backlight.c from previous commit
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27648 a1c6a512-1295-4272-9138-f99709370657
2010-08-01 10:17:17 +00:00
Bertrik Sikken
3a8e7e644b
Various minor cleanups
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27647 a1c6a512-1295-4272-9138-f99709370657
2010-08-01 10:07:05 +00:00
Bertrik Sikken
9b6d895276
Various minor cleanups for cowon d2
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27646 a1c6a512-1295-4272-9138-f99709370657
2010-08-01 09:33:29 +00:00
Bertrik Sikken
451aa86244
Various minor cleanups for mini2440
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27645 a1c6a512-1295-4272-9138-f99709370657
2010-08-01 08:56:15 +00:00
Andree Buschmann
f971deed6d
Housekeeping for libwmapro. Define some multiple used constants, use more precise value for cos(pi/4).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27644 a1c6a512-1295-4272-9138-f99709370657
2010-07-31 21:07:17 +00:00
Nils Wallménius
8be79a22fd
skinparser lib: even more const correctness, should fix checkwps, again
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27643 a1c6a512-1295-4272-9138-f99709370657
2010-07-31 16:33:34 +00:00
Nils Wallménius
804437af56
skinparser lib: even more const correctness, should fix checkwps
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27642 a1c6a512-1295-4272-9138-f99709370657
2010-07-31 16:30:22 +00:00
Nils Wallménius
597ccddb39
skinparser lib: more const correctness
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27641 a1c6a512-1295-4272-9138-f99709370657
2010-07-31 16:25:41 +00:00
Nils Wallménius
1aaaa9e757
configure: print error when user selects invalid advanced options.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27640 a1c6a512-1295-4272-9138-f99709370657
2010-07-31 14:52:56 +00:00
Bertrik Sikken
76f4c02dc5
Various minor clean-ups for mrobe
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27639 a1c6a512-1295-4272-9138-f99709370657
2010-07-31 13:41:06 +00:00
Bertrik Sikken
38e0918eb5
Fix condition for compiling audiohw_set_monitor (should fix red)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27638 a1c6a512-1295-4272-9138-f99709370657
2010-07-31 13:01:52 +00:00
Alex Parker
d7cb3b13fb
Manual: add some missing theme tags, and close FS#11472.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27637 a1c6a512-1295-4272-9138-f99709370657
2010-07-31 12:47:12 +00:00
Bertrik Sikken
4a8ea6c9d9
Various minor clean-ups for Zen Vision
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27636 a1c6a512-1295-4272-9138-f99709370657
2010-07-31 12:43:38 +00:00
Nils Wallménius
c2529c341d
skinparser lib: some const correctness and marking of local vars as 'static'
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27635 a1c6a512-1295-4272-9138-f99709370657
2010-07-31 11:28:37 +00:00
Bertrik Sikken
c9a3419b9e
Add #include to power-ipod.c, make some variables static in storage.c
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27634 a1c6a512-1295-4272-9138-f99709370657
2010-07-31 10:59:22 +00:00
Bertrik Sikken
028d91aa0c
Let format.c #include its own format.h header file
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27633 a1c6a512-1295-4272-9138-f99709370657
2010-07-31 10:09:55 +00:00
Jonathan Gordon
b3740b7bb6
remove an unused variable
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27632 a1c6a512-1295-4272-9138-f99709370657
2010-07-31 08:58:34 +00:00
Bertrik Sikken
57933f2bc6
Make some global function/variables local (by making them static)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27631 a1c6a512-1295-4272-9138-f99709370657
2010-07-30 23:47:49 +00:00
Robert Bieber
d73c81f912
Theme Editor: Modified buildtargetdb.php to read targets list from tools/builds.pm using includetargets.pl
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27630 a1c6a512-1295-4272-9138-f99709370657
2010-07-30 20:47:25 +00:00
Robert Bieber
66f8c73dcd
Theme Editor: Filled out the tagdb file
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27629 a1c6a512-1295-4272-9138-f99709370657
2010-07-30 19:16:43 +00:00
Rafaël Carré
b0e34a6a6c
AMSv1: Don't modify MPMC_DYNAMIC_CONTROL
...
The last bootloaders already set it correctly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27627 a1c6a512-1295-4272-9138-f99709370657
2010-07-30 12:28:14 +00:00
Nils Wallménius
8082ae089d
libwmapro: fix comment for coldfire fixmul31.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27626 a1c6a512-1295-4272-9138-f99709370657
2010-07-30 09:14:28 +00:00
Robert Bieber
ba41fa537a
Theme Editor: Made auto-complete functional and enabled it by default. Added a small subset of the available tags to the tagdb file, filling it out is todo
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27625 a1c6a512-1295-4272-9138-f99709370657
2010-07-30 08:38:38 +00:00
Robert Bieber
f8dd370ff8
Theme Editor: Began implementing syntax highlighting. What I've accomplished so far isn't particularly useful for anything other than testing, so at the moment it will only function if activated in the preferences dialog
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27624 a1c6a512-1295-4272-9138-f99709370657
2010-07-30 01:26:10 +00:00
Rafaël Carré
5848f5f724
c200v2: mark as unstable
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27622 a1c6a512-1295-4272-9138-f99709370657
2010-07-29 23:37:07 +00:00
Rafaël Carré
fb53804b97
rbutil: c200v2
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27621 a1c6a512-1295-4272-9138-f99709370657
2010-07-29 23:35:42 +00:00
Rafaël Carré
b0db713970
mkamsboot: don't boot OF if USB is plugged (AMSv1 only)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27618 a1c6a512-1295-4272-9138-f99709370657
2010-07-29 23:15:55 +00:00
Andree Buschmann
aa2fca384a
Maintenance and minor speedup of libwmapro. Comment unused arrays, fix comment, remove tabs and introduce WMAPRO_FRACT to wma.h to remove magic numbers. Swap operands of fixmul16-call for minor speedup on ARM (+1%).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27617 a1c6a512-1295-4272-9138-f99709370657
2010-07-29 22:18:04 +00:00
Jonathan Gordon
e63e19b507
Fix Database red, move the cuesheet->token code into the skin engine
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27616 a1c6a512-1295-4272-9138-f99709370657
2010-07-29 13:23:33 +00:00
Nils Wallménius
1de66faa8e
Make codeclib_misc.h include the asm headers to simplify inclusion magic.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27615 a1c6a512-1295-4272-9138-f99709370657
2010-07-29 12:52:04 +00:00
Jonathan Gordon
37d605a578
fix touchscreen errors
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27614 a1c6a512-1295-4272-9138-f99709370657
2010-07-29 12:48:59 +00:00
Jonathan Gordon
2d31d77a8b
FS#11470 - new skin code, finally svn uses the new parser from the theme editor. This means that a skin that passes the editor WILL pass svn and checkwps (unless the target runs out of skin buffer or something.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27613 a1c6a512-1295-4272-9138-f99709370657
2010-07-29 12:37:48 +00:00
Nils Wallménius
e436483b66
libmwapro: use codeclib asm macros for XNPROD31, speeds up decoding of a 55kbps wma pro file by 40% on h300.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27612 a1c6a512-1295-4272-9138-f99709370657
2010-07-29 11:01:30 +00:00
Robert Bieber
89c1a88dc8
Theme Editor: Recent documents/projects that no longer exist are now cleared from the menu
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27611 a1c6a512-1295-4272-9138-f99709370657
2010-07-29 07:38:01 +00:00
Robert Bieber
5106d938c6
Theme Editor: Project Exporter will not check for internal settings keys as files
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27610 a1c6a512-1295-4272-9138-f99709370657
2010-07-29 07:17:12 +00:00
Robert Bieber
b22077cd60
Theme Editor: Renderer now correctly handles special case with only one branch in a conditional
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27609 a1c6a512-1295-4272-9138-f99709370657
2010-07-29 06:41:33 +00:00
Robert Bieber
85040111fe
ThemTheme Editor: Enabled sbs rendering underneath fms documents
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27608 a1c6a512-1295-4272-9138-f99709370657
2010-07-29 06:10:28 +00:00
Nils Wallménius
79ae416b95
libwmapro: coldfire asm for vector_fixmul_scalar, 1% speedup
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27607 a1c6a512-1295-4272-9138-f99709370657
2010-07-28 23:25:45 +00:00
Dominik Riebeling
85f84060c4
Correct OS X post-build bundle copying.
...
Make copying files to the bundle work when building other applications than
Rockbox Utility by replacing a hardcoded workaround.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27606 a1c6a512-1295-4272-9138-f99709370657
2010-07-28 21:05:16 +00:00
Dominik Riebeling
ce1d2bf7b1
Update theme editor app name for OS X bundle.
...
The OS X bundle Info.plist needs to hold the filename of the executable for the
application bundle to work correctly. Update it according to the recent name
change.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27605 a1c6a512-1295-4272-9138-f99709370657
2010-07-28 20:56:20 +00:00
Andree Buschmann
17069799a9
Refactor asm macros in libwmapro's vector_fixmul_() functions. No change to output samples.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27604 a1c6a512-1295-4272-9138-f99709370657
2010-07-28 20:46:51 +00:00
Andree Buschmann
3bb8020f78
Add ARM assembler to libwmapro vector_fixmul_scalar(). Speeds up decoding by 1% on PP5022.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27603 a1c6a512-1295-4272-9138-f99709370657
2010-07-28 19:36:15 +00:00