Frank Gevaerts
69a4117c1d
Add working USB HID driver, by Tomer Shalev (part of his GSoC work).
...
This needs support for usb interrupt transfers, so there are some changes in various USB drivers as well (only usb-drv-arc supports it at this point, others won't have working HID yet).
HID is disabled for now, as the apps/ part is not included yet.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20962 a1c6a512-1295-4272-9138-f99709370657
2009-05-16 15:30:09 +00:00
Marianne Arnold
e435e4d976
New 'clock present' WPS tag: The tag checks for the presence of the clock hardware and can be used unconditionally (returning a 'c') or in a conditional. You can specify what to display if a target has the clock (the true case) and an alternative for targets without. This can be useful for e.g. the greyscale 160x128 WPSs or the Archos ones which work on players with and without the hardware. - Add the new tag to the WPS tag description in the manual. Change the headline to the less technical 'Time and Date' as per the discussion in IRC.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20961 a1c6a512-1295-4272-9138-f99709370657
2009-05-16 11:22:41 +00:00
Dominik Riebeling
1af18d52af
Support building beastpatcher with MinGW.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20960 a1c6a512-1295-4272-9138-f99709370657
2009-05-16 10:51:20 +00:00
Andrew Mahone
203e4b38cd
FS#9971 superdom fixes from Teruaki Kawashima.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20959 a1c6a512-1295-4272-9138-f99709370657
2009-05-16 08:20:54 +00:00
Andrew Mahone
f7ec9c0fad
Clean up albumart.c a bit, reducing use of USE_JPEG_COVER inside search_albumart_files to only around the folder.jpg test and a strlen call. 0 delta vs previous code for #undef HAVE_JPEG.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20958 a1c6a512-1295-4272-9138-f99709370657
2009-05-16 08:20:47 +00:00
Andrew Mahone
cfc022bbfc
Add include to pluginlib_jpeg_mem.c to prevent warning noise with -Wmissing-prototypes.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20957 a1c6a512-1295-4272-9138-f99709370657
2009-05-16 08:20:41 +00:00
Alexander Levin
98bcb0a8a8
Define a symbol and use it instead of repeating the condition
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20956 a1c6a512-1295-4272-9138-f99709370657
2009-05-16 07:34:36 +00:00
Alexander Levin
e7ab26535a
Make variables static where possible
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20955 a1c6a512-1295-4272-9138-f99709370657
2009-05-16 06:59:29 +00:00
Andrew Mahone
fd7002ae6c
Attempt to fix yellow on sims (can't reproduce on my system).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20954 a1c6a512-1295-4272-9138-f99709370657
2009-05-16 02:06:22 +00:00
Andrew Mahone
4cd86c0e94
Use new buflib extensions to avoid static allocation for track list, by shifting space out of the buffer and freeing slides as needed.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20953 a1c6a512-1295-4272-9138-f99709370657
2009-05-16 00:45:13 +00:00
Andrew Mahone
c909878f94
Extend buflib to support shifting space out off the buffer for other use, and returning space to the buffer.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20952 a1c6a512-1295-4272-9138-f99709370657
2009-05-16 00:45:08 +00:00
Andrew Mahone
d59bff092d
FS#10201, skip folder.jpg in search_albumart_files if size_string is not empty.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20951 a1c6a512-1295-4272-9138-f99709370657
2009-05-15 23:26:37 +00:00
Dave Chapman
da3dc455f6
Change the type of read_uint32be to uint32_t and ensure all variables passed to that function are also of that type. No functional changes, but makes read_uint32be consistent with the other read_* functions and prevents warning in the upcoming RealAudio metadata parser.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20950 a1c6a512-1295-4272-9138-f99709370657
2009-05-15 22:45:03 +00:00
Robert Menes
a96ce3ba52
I had the file priority mixed up.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20949 a1c6a512-1295-4272-9138-f99709370657
2009-05-15 21:41:15 +00:00
Robert Menes
345c70f8e4
Credit where credit's due. :)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20948 a1c6a512-1295-4272-9138-f99709370657
2009-05-15 21:30:04 +00:00
Robert Menes
7d5477c355
I think we should also make mention of support BMP
...
and JPEG files as well. Taken from the wiki and
originally written by Nick Sant (evilnick).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20947 a1c6a512-1295-4272-9138-f99709370657
2009-05-15 21:28:52 +00:00
Robert Menes
a1c9174a6a
Make a mention of the now-supported JPEG album art in the manual.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20946 a1c6a512-1295-4272-9138-f99709370657
2009-05-15 21:21:59 +00:00
Alex Parker
e56030a40d
Apply FS#10204 by Wookey (yes, his real name :)) - Add the subline tags to the WPS Tags summary appendix.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20945 a1c6a512-1295-4272-9138-f99709370657
2009-05-15 21:17:21 +00:00
Thomas Martitz
dad292c3ef
Fix splash on greyscale (was showing only a black or grey box, no text) by reverting to lcd_set_foreground(). That does a bit more on greyscale than just setting the current's viewports fg_pattern :/
...
It will still only apply to the viewport used for splash, so no need to restore the old foreground.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20944 a1c6a512-1295-4272-9138-f99709370657
2009-05-15 15:27:32 +00:00
Thomas Martitz
f4aa7428ea
Fix FS#10197 by setting the viewport before calculating the string size.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20943 a1c6a512-1295-4272-9138-f99709370657
2009-05-15 14:53:06 +00:00
Karl Kurbjun
d8c7285b2a
M:Robe 500: Commit some minor changes and some keymap changes (short press power takes you out of the WPS)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20942 a1c6a512-1295-4272-9138-f99709370657
2009-05-15 13:43:30 +00:00
Alexander Levin
3eb6da3c1d
Remove unneeded function call (radio_load_presets does clear the memory)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20941 a1c6a512-1295-4272-9138-f99709370657
2009-05-15 07:56:15 +00:00
Andrew Mahone
5bb30c25fd
Sort by and display disc number in PictureFlow, increase MAX_TRACKS to 128, prevent display of garbage tracklist on failure.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20940 a1c6a512-1295-4272-9138-f99709370657
2009-05-15 06:46:05 +00:00
Jonathan Gordon
13cc654cea
More touchscreen additions, quickscreen, browser, context menu, skip fwd/back buttons in the mr500 wps (a "button bar" will pop up for 2.5s when the screen is touched.)
...
icons by Johannes Voggenthaler
pitch screen icon is there but not used because that screen isnt fixed for the touhscreen yet
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20939 a1c6a512-1295-4272-9138-f99709370657
2009-05-15 06:02:50 +00:00
Andrew Mahone
ad5d665620
Clean up create_track_index, fixing FS#9333, and use tagcache-provided length instead of strlen.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20938 a1c6a512-1295-4272-9138-f99709370657
2009-05-15 05:44:54 +00:00
Jonathan Gordon
c1267dc700
allow the user to change the shuffle and repeat modes from the touchscreen, update the mr500 default wps to show how to do it (hint, press the shuffle/rep icon)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20937 a1c6a512-1295-4272-9138-f99709370657
2009-05-15 05:36:16 +00:00
Jonathan Gordon
33d08e8315
fix red... who went and changed the remote defines?! :p
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20936 a1c6a512-1295-4272-9138-f99709370657
2009-05-15 05:23:59 +00:00
Jonathan Gordon
d48f1a0a45
get the quickscreen working on the mr500. hold "mode" on the remote to get to it, then you can use the 4 directions on the remote, or the touchscreen to change the values. "mode" will exit, as will pressing in the top or middle of the main screen
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20935 a1c6a512-1295-4272-9138-f99709370657
2009-05-15 05:08:28 +00:00
Andrew Mahone
6df03c6d53
Fix version.sh when it's run outside of the git working directory.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20934 a1c6a512-1295-4272-9138-f99709370657
2009-05-15 01:14:48 +00:00
Andrew Mahone
1de930227b
Attempt to make version.sh a little more resistant to producing spurious "modified" status on git repositories.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20933 a1c6a512-1295-4272-9138-f99709370657
2009-05-15 00:57:35 +00:00
Andrew Mahone
216424a27f
Fix the lock contention stall during cover art load, by adding a separate modify mutex for the buffer. Operations that modify contents of a buffer entry can still proceed, but ones that add or remove buffer entries, or move them
...
in memory, will still block. Some members of struct memory_handle also need an earlier init in bufopen to make sure that buffer stats aren't trashed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20932 a1c6a512-1295-4272-9138-f99709370657
2009-05-15 00:14:38 +00:00
Mohamed Tarek
1775866fd3
Move bswap.h up from libavutil/ and remove libavutil/
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20931 a1c6a512-1295-4272-9138-f99709370657
2009-05-14 21:30:44 +00:00
Alexander Levin
52a4b48bbf
Set the font to FONT_UI after exiting a plugin (FS#10132). This makes the core Rockbox more like a sand box for plugins (less to care about in plugins).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20930 a1c6a512-1295-4272-9138-f99709370657
2009-05-14 18:22:24 +00:00
Rafaël Carré
49c25816f0
Sansa AMS i2c : fix 2 problems identified by Jack Halpin & Bertrik Sikken
...
i2c clock frequency uses pclk as reference, not plla
i2c clock divider is only 10 bits, not 16
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20929 a1c6a512-1295-4272-9138-f99709370657
2009-05-14 09:36:56 +00:00
Thomas Martitz
1123115559
Rockblox: Show Highscore list on 176x220 (e200). The space between the score and level is ommitted, since there's no room (the L is sufficient as seperator).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20928 a1c6a512-1295-4272-9138-f99709370657
2009-05-13 17:45:07 +00:00
Magnus Holmgren
04c2df541b
Support longer tags on targets with 'enough' memory (more than 2 MB RAM).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20927 a1c6a512-1295-4272-9138-f99709370657
2009-05-13 17:23:02 +00:00
Alexander Levin
b98ac048df
Remove the HAVE_RADIO_REGION from the platform config since it's already defined in the tuner driver's header
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20926 a1c6a512-1295-4272-9138-f99709370657
2009-05-13 16:38:21 +00:00
Rafaël Carré
e1f343afc7
Sansa Fuze : Fix r20680/FS#10075 (long HOME to exit plugins)
...
Some plugins were forgotten : mpegplayer, test_fps, test_scanrate
Some plugins use button_status() and can't use BUTTON_REL or BUTTON_REPEAT flags
rockblox1d : use single press BUTTON_HOME
doom : use single press BUTTON_HOME and BUTTON_POWER to open doors
I may have forgotten some plugins, I didn't test them one by one
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20925 a1c6a512-1295-4272-9138-f99709370657
2009-05-13 08:27:36 +00:00
Rafaël Carré
8033342d0f
Sansa AMS : remove mci_set_clock_divider()
...
Inline the 2 uses, and use a preprocessor sanity check for identification frequency
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20924 a1c6a512-1295-4272-9138-f99709370657
2009-05-13 08:27:33 +00:00
Rafaël Carré
adb978a44d
Sansa AMS: Various fixes/enhancements for clock frequencies
...
Fix CGU_DBOP setting
Set PCLK to the exact frequency (62MHz, not the maximal frequency)
Use a better comment for CLK_DIV macro
Use preprocessor safety checks for clock divider sizes to avoid future mistakes (not for SD_IDENT frequency since that check is handled by mci_set_clock_divider)
Use maximal IDE frequency of 66MHz (like OF), not 90MHz like written in AS3525 datasheet. The IDE chip is somehow linked to internal storage, and a too high frequency could affect the storage driver.
Use the same DBOP frequency of 32MHz for all models (like OF, verified clip, fuze, e200v2 and m200v4), compromise between performance and battery life could be added in the future for each target
Performance increase on Sansa Fuze with DBOP freq. set to 64MHz: +12% fps for lcd_update, +1% fps for yuv
Thanks to daytona955 on the forums for his help
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20923 a1c6a512-1295-4272-9138-f99709370657
2009-05-13 08:27:20 +00:00
Mohamed Tarek
49ba646d57
-Remove all dynamic allocations, hence remove cook_decode_close() which was basically
...
needed for freeing allocated memory.
-Remove any ffmpeg-specific attributes (av_const,av_always_inline .. etc.).
-Move some math functions to cook_fixpoint.h - libavutil/common.h is no longer
needed.
-Remove libavutil/mem.[c/h], libavutil/common.h and libavutil/internal.h.
-Fix a warning in cookdata_fixpoint.h.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20922 a1c6a512-1295-4272-9138-f99709370657
2009-05-12 20:50:35 +00:00
Dave Chapman
49fccaf2d9
FS#9730 by Torne Wuff - support installing Rockbox in the firmware partition in place of the main Apple firmware. This image is only loaded if no rockbox.ipod is found so does not affect current behaviour. The advantage is a small increase in boottime. This patch also adds documentation to bootloader/ipod.c in the form of a comment describing the booting behaviour.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20921 a1c6a512-1295-4272-9138-f99709370657
2009-05-12 20:41:44 +00:00
Rafaël Carré
c58aaee55f
Sansa Clip : remove unused variable xoffset from lcd driver
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20920 a1c6a512-1295-4272-9138-f99709370657
2009-05-12 13:24:13 +00:00
Rafaël Carré
b1d03ccee7
FS#10118 & FS#10165 : lcd_blit_yuv() for Sansa Fuze & Sansa e200v2
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20919 a1c6a512-1295-4272-9138-f99709370657
2009-05-12 13:22:39 +00:00
Mohamed Tarek
f2c18d6922
-Remove calls to av_log() and use DEBUGF/printf instead, thuse removing
...
libavutil/log.[c/h] and libavutil/avutil.h.
-Take necessary defines to bitstream.h from libavutil/intreadwrite.h to
remove the latter.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20918 a1c6a512-1295-4272-9138-f99709370657
2009-05-12 13:21:34 +00:00
Mohamed Tarek
950c4747e3
Remove bytestream.h and and a related comment from cook.h
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20917 a1c6a512-1295-4272-9138-f99709370657
2009-05-12 12:30:33 +00:00
Andrew Mahone
c7f1347d8f
Undo overlay test change which should not have been committed, should return PictureFlow to working during playback on non-Archos targets.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20916 a1c6a512-1295-4272-9138-f99709370657
2009-05-11 23:53:32 +00:00
Mohamed Tarek
0cb3ad58b3
-Took cook_random() from an old cook.c revision [6 mar 2007], which is a
...
simple RNG, to eliminate the need for lfg.c/h.
-Remove lfg.c/h and md5.c/h as they are no longer needed and use the
more common form of my name in docs/COMMITTERS.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20915 a1c6a512-1295-4272-9138-f99709370657
2009-05-11 23:35:50 +00:00
Frank Gevaerts
685cee87be
fix send_command_result() size checking for the SCSI_REQUEST_SENSE case (thanks to Tomer Shalev, FS#10203)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20914 a1c6a512-1295-4272-9138-f99709370657
2009-05-11 23:00:56 +00:00
Thomas Martitz
deb6b81ebe
Don't go back to the settings after selecting a .cfg via the theme or cfg browser, as it's done for fonts.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20913 a1c6a512-1295-4272-9138-f99709370657
2009-05-11 22:50:48 +00:00