1
0
Fork 0
forked from len0rd/rockbox
Commit graph

11528 commits

Author SHA1 Message Date
Tomer Shalev
17e054a9fe Use positive logic in #ifdef hell
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23939 a1c6a512-1295-4272-9138-f99709370657
2009-12-12 07:27:36 +00:00
Tomer Shalev
c9a11d24eb CodeBuster: Replace mapping defines with direct use of PLA_* macros.
Add PLA_MENU as a way to exit to menu
Add PLA_START as a way to validate a combination


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23938 a1c6a512-1295-4272-9138-f99709370657
2009-12-12 07:24:34 +00:00
Tomer Shalev
82a6fb0649 Cowon: Fix wrong pluginlib action
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23937 a1c6a512-1295-4272-9138-f99709370657
2009-12-12 07:21:41 +00:00
Tomer Shalev
d194ddf1ca Cowon D2: Revert some of r23927 (keymap changes), and restore Radio keymappings
to previous state


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23936 a1c6a512-1295-4272-9138-f99709370657
2009-12-12 05:37:55 +00:00
Michael Chicoine
e4d0a0c001 Remove svn:executable
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23932 a1c6a512-1295-4272-9138-f99709370657
2009-12-11 14:50:57 +00:00
Nils Wallménius
c0dc3c7a74 Remove inline asm that hasn't been useful for years, no speed difference
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23928 a1c6a512-1295-4272-9138-f99709370657
2009-12-10 21:43:59 +00:00
Tomer Shalev
75be896c07 Cowon D2: Add some more key mappings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23927 a1c6a512-1295-4272-9138-f99709370657
2009-12-10 21:28:55 +00:00
Jeffrey Goode
033ed87321 Fix yellow: add braces
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23918 a1c6a512-1295-4272-9138-f99709370657
2009-12-10 16:21:29 +00:00
Teruaki Kawashima
19b1fe4e8d plugin.c: It wouldn't make much sense to clear screen right before setting back colors to global settings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23917 a1c6a512-1295-4272-9138-f99709370657
2009-12-10 13:53:38 +00:00
Teruaki Kawashima
6ac0fbb1cb Rework spacerocks:
* Use consistent name for variables/field names.
* Consistent use of field of structures.
* Simplify draw_polygon().
* Add some helper functions.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23916 a1c6a512-1295-4272-9138-f99709370657
2009-12-10 12:53:47 +00:00
Robert Menes
b4a40eb6f3 These are the last plugin keymaps needed for the GoGear SA9200.
Left to add in: a 128x160 backdrop for rockblox to stop errors
when compiling and then to finally enable plugins.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23915 a1c6a512-1295-4272-9138-f99709370657
2009-12-10 01:23:51 +00:00
Frank Gevaerts
4862e28b67 Fix FS#10841. Thanks to Thomas Martitz for spotting what was wrong.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23914 a1c6a512-1295-4272-9138-f99709370657
2009-12-09 20:34:06 +00:00
Robert Menes
9dc1c1a876 More GoGear SA9200 plugin keymaps, plus a fix on mosaique.
Just pluginlib actions and Doom and I'm DONE!! :)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23912 a1c6a512-1295-4272-9138-f99709370657
2009-12-09 18:20:49 +00:00
Andrew Mahone
bafe14db55 Remove some sample functions from codeclib - these were for verifying the generated asm for bs_generic and never intended for use.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23911 a1c6a512-1295-4272-9138-f99709370657
2009-12-09 17:13:06 +00:00
Michael Chicoine
a47601a21d Reuse existing variable instead of creating a new one.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23910 a1c6a512-1295-4272-9138-f99709370657
2009-12-09 17:10:48 +00:00
Michael Chicoine
0fe2b0bf11 Fix red - resolve multiple variable definition
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23909 a1c6a512-1295-4272-9138-f99709370657
2009-12-09 15:42:59 +00:00
Michael Chicoine
887d8180d2 Correct the debug information displayed for SD card to match the CID register layout.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23908 a1c6a512-1295-4272-9138-f99709370657
2009-12-09 15:32:22 +00:00
Teruaki Kawashima
360c536fab Rework spacerocks:
* Move functions to somewhat logical order.
* Make functions static.
* Remove unused functions and constants.
* Make collision check strict.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23907 a1c6a512-1295-4272-9138-f99709370657
2009-12-09 13:17:21 +00:00
Jonathan Gordon
dd9fbbf7c8 fix red checkwps
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23905 a1c6a512-1295-4272-9138-f99709370657
2009-12-09 07:44:08 +00:00
Jonathan Gordon
b2eb44ce0e FS#10824 - viewport/statusbar API rework.
Hopefully the only user visible changes are:
- fm and recording screens go by the statusbar setting (sbs or inbuilt)
- plugins go back to using the theme as they should for menus and lists
- splash screens might get cut a bit... entirely theme and splash dependant.. if there is a problematic one we can look at it later.
- hopefully nothing more than very minor screen flickerings... let me know exactly where they are so they can be fixed

New GUI screen rules:
* Screens assume that the theme (sbs+ui viewport+ maybe background image) are always enabled. They may be disabled on a per display basis, but MUST be re-enabled on exit
* Screens must not be coded in a way that requires a statusbar of any type.. the inbuilt bar will be removed shortly.
ALWAYS RESPECT THE USERS SETTINGS unless the screen requires the full display to fit.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23904 a1c6a512-1295-4272-9138-f99709370657
2009-12-09 07:25:46 +00:00
Andrew Mahone
85aad9b397 Extend av_log2 in codeclib into a generic for scanning for set bits, which can provide either log2 or leading-zero-count output, and can force mapping 0 input to 0 output if needed (otherwise 0 input produces undefined result). Replace av_log2 in lib/codeclib.h, floor_log2 and wl_min_lzc in libfaad/common.c and common.h, and count_leading_zeros in libalac/alac.c with macros using bs_generic.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23903 a1c6a512-1295-4272-9138-f99709370657
2009-12-09 02:24:45 +00:00
Robert Menes
5c584b1168 GoGear SA9200 plugin keymap for snake2. Just get it under
version control now before I forget.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23897 a1c6a512-1295-4272-9138-f99709370657
2009-12-08 13:01:30 +00:00
Maurus Cuelenaere
6e550e2da1 Onda VX777: use POWER button to exit Plasma and Starfield
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23896 a1c6a512-1295-4272-9138-f99709370657
2009-12-08 12:29:25 +00:00
Robert Menes
ed64d91bc2 Yet more GoGear SA9200 plugin keymaps. Almost done!
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23893 a1c6a512-1295-4272-9138-f99709370657
2009-12-07 18:23:25 +00:00
Robert Kukla
2d722a17ec make tpj1022 bootloader compile again
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23892 a1c6a512-1295-4272-9138-f99709370657
2009-12-07 16:12:49 +00:00
Björn Stenberg
355b4c2333 Corrected ondio language wildcards.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23888 a1c6a512-1295-4272-9138-f99709370657
2009-12-07 13:53:55 +00:00
Björn Stenberg
c0740440ac Rename targets to be consistent in all places. (FS #10819). Take 2.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23883 a1c6a512-1295-4272-9138-f99709370657
2009-12-07 12:19:08 +00:00
Nils Wallménius
ee15637749 FS#10834 by Alex Bennee, fixing off-by-one bug in code calling format_track_path
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23879 a1c6a512-1295-4272-9138-f99709370657
2009-12-06 21:11:51 +00:00
Maurus Cuelenaere
51d89e2594 Boomshine:
* simplify some things (no functional changes)
 * increase default and exploded ball size a bit to be more compliant with the original game (and make beating it on big screens a bit easier)
 * whitespace cleanups

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23876 a1c6a512-1295-4272-9138-f99709370657
2009-12-06 15:58:18 +00:00
Teruaki Kawashima
5cdd920d12 Correct checking return value of open in plugins.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23874 a1c6a512-1295-4272-9138-f99709370657
2009-12-06 13:52:28 +00:00
Andrew Mahone
50512cdeac Fix red: av_log2 undefined for ARM_ARCH <= 4, missing codeclib.h includes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23869 a1c6a512-1295-4272-9138-f99709370657
2009-12-06 04:43:23 +00:00
Nils Wallménius
cd22b32450 slightly faster asm av_log2 for armv6 (currently only Gigabeat S)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23868 a1c6a512-1295-4272-9138-f99709370657
2009-12-06 02:03:03 +00:00
Andrew Mahone
491e0978ec Fix yellow: mixed signed/unsigned in conditional.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23867 a1c6a512-1295-4272-9138-f99709370657
2009-12-05 21:53:49 +00:00
Andrew Mahone
2aeb6c781d Slightly improve av_log2 in codeclib on ARMv6.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23866 a1c6a512-1295-4272-9138-f99709370657
2009-12-05 21:32:23 +00:00
Tomer Shalev
0ad1f0e95f Updated Hebrew translation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23863 a1c6a512-1295-4272-9138-f99709370657
2009-12-05 19:23:06 +00:00
Tomer Shalev
5175ce527b Yes/No screen: Add proper message for touchscreen targets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23862 a1c6a512-1295-4272-9138-f99709370657
2009-12-05 19:03:42 +00:00
Tomer Shalev
8846a60a72 Touchscreen mapping: Fix setting context
- Also fix a bug in tree context


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23861 a1c6a512-1295-4272-9138-f99709370657
2009-12-05 18:43:39 +00:00
Tomer Shalev
1ac630e341 Touchscreen button mapping enhancement in WPS context
- Menu:          Top-left
- View Playlist: Bottom-left
- Record:        Long bottom-right
- ID3 screen:    Bottom-right


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23860 a1c6a512-1295-4272-9138-f99709370657
2009-12-05 17:48:38 +00:00
Tomer Shalev
504e300adf Cowon D2: In WPS context, assign BUTTON_POWER to ACTION_WPS_BROWSE
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23859 a1c6a512-1295-4272-9138-f99709370657
2009-12-05 17:45:16 +00:00
Nils Wallménius
b9d7f98f8c Move av_log2 function and asociated table to the codec lib, remove 3 identical implementations, always have LUT in iram (gives a *tiny* speedup on coldfire), make the clz based function return the same value as the non clz based function for 0 input to be safe (slows down flac ~2% on the gigabeat S)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23858 a1c6a512-1295-4272-9138-f99709370657
2009-12-05 16:47:43 +00:00
Tomer Shalev
0651fe572b Touchscreen keymapping enhancements
- Standard context: make center and mid-right the same (long press to get to
        context menu)
- WPS: Top/Bottom middle controls volume
- WPS: Long bottom-left for pitch screen
- WPS: Long bottom-right for ID3 screen


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23857 a1c6a512-1295-4272-9138-f99709370657
2009-12-05 16:42:33 +00:00
Tomer Shalev
2ece18609d Cowon D2: Fix standard keymaps
- ACTION_STD_CONTEXT was wrongly defined
- ACTION_STD_QUICKSCREEN is unreachable


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23856 a1c6a512-1295-4272-9138-f99709370657
2009-12-05 16:04:53 +00:00
Tomer Shalev
3deed0610d On RTL mode, flip + and - buttons (Cowon D2)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23855 a1c6a512-1295-4272-9138-f99709370657
2009-12-05 15:54:05 +00:00
Robert Menes
881eb5eebe A few more GoGear SA9200 plugin keymaps.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23854 a1c6a512-1295-4272-9138-f99709370657
2009-12-05 14:34:47 +00:00
Teruaki Kawashima
7d36e8ee47 spacerocks: Fix indentation and remove trailing spaces. Fix some minor bugs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23853 a1c6a512-1295-4272-9138-f99709370657
2009-12-05 14:08:09 +00:00
Teruaki Kawashima
f48a61f103 boomshine: use theme colour to draw text so that text would be more readable with white background.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23852 a1c6a512-1295-4272-9138-f99709370657
2009-12-05 13:23:16 +00:00
Teruaki Kawashima
237f129651 plasma: clean up button definition.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23851 a1c6a512-1295-4272-9138-f99709370657
2009-12-05 12:47:53 +00:00
Nils Wallménius
f76b5d5490 Fix division by 0 by clamping freq value a little higher, some minor style and whitespace changes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23850 a1c6a512-1295-4272-9138-f99709370657
2009-12-05 01:00:47 +00:00
Teruaki Kawashima
ce63faa8d4 png: Change zoom in/out method and don't center the view on zoom.
Don't recalculate resized width or height each time.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23847 a1c6a512-1295-4272-9138-f99709370657
2009-12-04 13:38:51 +00:00
Tomer Shalev
8db32ddfee Skin parser: Use parse_list() when possible
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23846 a1c6a512-1295-4272-9138-f99709370657
2009-12-04 13:10:06 +00:00