Commit graph

10553 commits

Author SHA1 Message Date
Thomas Martitz
5c9fe52629 Commit part of FS#9873 - Utilise buttons for playlisting
It adds a shortcut (combo or button) to directly go from the wps to the playlist viewer. The combos could possibly be improved on some targets, but I tried to keep a tad bit of consistency (was hardly possible).
I also added a corresponding touchscreen region and adapted cabbiev2.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22003 a1c6a512-1295-4272-9138-f99709370657
2009-07-22 22:10:25 +00:00
Thomas Martitz
23e46b3d98 touchscreen regions:
a) check for trailing '|' so that it doesn't match wrong strings (a not-yet-existing "playlist" would match the existing "play")
b) don't recalculate the array length in each iteration

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21998 a1c6a512-1295-4272-9138-f99709370657
2009-07-22 21:14:47 +00:00
Frank Gevaerts
308522b60e Decrease the text buffer a tiny bit to make it fit again on archos. This really should use plugin_get_buffer() (and possibly plugin_get_audio_buffer() for big files) though.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21996 a1c6a512-1295-4272-9138-f99709370657
2009-07-21 21:19:42 +00:00
Johannes Schwarz
49866a762e Add a standard menu, add highscore table and clean up the code in spacerocks (part of FS#10193)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21995 a1c6a512-1295-4272-9138-f99709370657
2009-07-21 17:29:46 +00:00
Teruaki Kawashima
3f7dfeed3a text_editor: don't set filename "/" before input new filename so that user can easily create copy in same directory.
select new last line if last line is cut/deleted or concatenated to above line.
fix bugs when changes are not saved (FS#9692, patch by Johannes Linke).

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21994 a1c6a512-1295-4272-9138-f99709370657
2009-07-21 14:35:29 +00:00
Peter D'Hoye
1a4b0cadd6 By Wincent Balin: add a new (better) memory allocation library for pdbox. Next commit will remove dbestfit and make pdbox use this one.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21993 a1c6a512-1295-4272-9138-f99709370657
2009-07-21 14:01:51 +00:00
Peter D'Hoye
c8195d80bf By Wincent Balin: Cleaned up unneeded prototypes in s_path.c (ongoing FS #10416)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21992 a1c6a512-1295-4272-9138-f99709370657
2009-07-21 11:59:04 +00:00
Karl Kurbjun
83cf0df563 Snake2: Add support for 640x480 screens
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21991 a1c6a512-1295-4272-9138-f99709370657
2009-07-21 04:22:19 +00:00
Karl Kurbjun
70deae01ff Star, Flipit, Rockblox, Sokoban, Wormlet: Add support for 640x480 screens
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21990 a1c6a512-1295-4272-9138-f99709370657
2009-07-21 03:52:59 +00:00
Michael Giacomelli
debfd39882 Commited the wrong thing, fix zeroing in cook.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21989 a1c6a512-1295-4272-9138-f99709370657
2009-07-21 03:47:41 +00:00
Michael Giacomelli
c062259216 Rearrange loop to avoid one branch per iteration.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21988 a1c6a512-1295-4272-9138-f99709370657
2009-07-21 03:40:53 +00:00
Karl Kurbjun
bebd3f735b Pegbox: Add support for 640x480 screens
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21987 a1c6a512-1295-4272-9138-f99709370657
2009-07-21 02:58:13 +00:00
Jonathan Gordon
c46669a230 fix FS#10453 - the cuesheet changes broke playback on swcodec, rework it so it uses the audio buffer instead of a temp buffer from the start (which also removes one pretty big memcpy)
also remove the audio_filename from the cuesheet struct as its useless


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21982 a1c6a512-1295-4272-9138-f99709370657
2009-07-20 15:50:26 +00:00
Jonathan Gordon
8e7f9fe595 woops, remove that sim code which I forgot to remove from the older versions of the patch... ordinarily I would have just said fix red, but that would have been boring, and because rasher asked so nicley that we stop it, I thought I'd do him the curtosy... this is also part of my on going goal to increase global warming using the Rockbox botnet^H^H^H^H^H^Hbuild system... also, maybe its bed time?
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21979 a1c6a512-1295-4272-9138-f99709370657
2009-07-20 05:28:36 +00:00
Jonathan Gordon
24b136f62d rework cuesheet support:
swcodec: search for a .cue during buffering (with the possibility of adding embedded cuesheets later)
hwcodec: search for a .cue when the id3 info for the current track is requested for the first time (disk should be spining so non issue)

major beenfit from this is simplofy cuesheet handling code a bit... if mp3entry.cuesheet != NULL then there is a valid cuesheet.. no need to worry about if its enabled and preloaded.
There is the possibility of putting the next/prev subtrack handling inside the playback code (as well as the id3 updating stuff (see FS#9789 for more info), but thats probably not a good idea.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21978 a1c6a512-1295-4272-9138-f99709370657
2009-07-20 05:18:18 +00:00
Karl Kurbjun
4c4fb82d9c Fix Onda
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21977 a1c6a512-1295-4272-9138-f99709370657
2009-07-19 23:53:47 +00:00
Karl Kurbjun
24a7e384ec M:Robe 500: Add Rockbox logo for 640x480 and 480x640.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21976 a1c6a512-1295-4272-9138-f99709370657
2009-07-19 23:39:06 +00:00
Karl Kurbjun
8f5264e618 Jewels: Add graphics for 640x480 screens.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21966 a1c6a512-1295-4272-9138-f99709370657
2009-07-19 14:58:50 +00:00
Johannes Schwarz
5efd23fbc7 Replace bitmap menu with a standard menu, add highscore table, save last achieved level and add difficulty (part of FS#10193)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21964 a1c6a512-1295-4272-9138-f99709370657
2009-07-18 23:26:50 +00:00
Dave Hooper
7a3845b753 Simplify my previous change, don't need separate defines for ipod
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21962 a1c6a512-1295-4272-9138-f99709370657
2009-07-18 21:08:38 +00:00
Antonius Hellmann
974a48004a correct bottom viewport height calculation in the recording screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21961 a1c6a512-1295-4272-9138-f99709370657
2009-07-18 16:43:43 +00:00
Johannes Schwarz
99f5299996 Commit FS#10350, prevents to save an unchanged highscore and move the function show_highscore to the lib
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21960 a1c6a512-1295-4272-9138-f99709370657
2009-07-18 15:16:24 +00:00
Teruaki Kawashima
03cb2b83ae set YOFS to 0 for portrait LCDs.
set NUM_SCORES to 5 for all targets.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21959 a1c6a512-1295-4272-9138-f99709370657
2009-07-18 13:51:07 +00:00
Maurus Cuelenaere
36c32ad328 Make the CPU boost log scroll if lines are too big.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21958 a1c6a512-1295-4272-9138-f99709370657
2009-07-18 13:33:12 +00:00
Frank Gevaerts
49bca7f978 re-add the usb_core.h include. r21953 was a bit too aggressive
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21957 a1c6a512-1295-4272-9138-f99709370657
2009-07-18 13:27:41 +00:00
Maurus Cuelenaere
fbc8cde3a9 Fix warning when compiling with logf() enabled
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21956 a1c6a512-1295-4272-9138-f99709370657
2009-07-18 13:23:15 +00:00
Frank Gevaerts
e409fba7f8 Flyspray: FS#10326
Author: Tomer Shalev

Adds a USB HID sample application, a plugin tha allows to send HID commands while connected in non-storage mode.
This also removes the HID stuff in the debug menu. Testing is now easily doable from the plugin
Also general HID updates


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21953 a1c6a512-1295-4272-9138-f99709370657
2009-07-18 12:58:29 +00:00
Maurus Cuelenaere
06bb5ea004 Fix PDbox compilation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21952 a1c6a512-1295-4272-9138-f99709370657
2009-07-18 12:38:17 +00:00
Dave Hooper
e5472c91cc Make clix playable on ipod by fixing keymap (so up doesn't quit), button repeat logic (so holding down select doesn't repeatedly fire select events), and not clearing button queue so repeat/release events get detected
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21951 a1c6a512-1295-4272-9138-f99709370657
2009-07-18 12:33:13 +00:00
Karl Kurbjun
d58e358477 Clix: Add support for screen widths larger than 480
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21947 a1c6a512-1295-4272-9138-f99709370657
2009-07-18 04:38:33 +00:00
Karl Kurbjun
86b1f4e287 Brickmania, Chessbox, Blackjack, and Solitaire: Add support for 640x480 and 480x640 screens
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21946 a1c6a512-1295-4272-9138-f99709370657
2009-07-18 04:16:50 +00:00
Karl Kurbjun
f2c45dc369 Bubbles: Make new screen support a bit more generic and add support for 640x480 and 480x640 screen sizes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21945 a1c6a512-1295-4272-9138-f99709370657
2009-07-18 03:47:03 +00:00
Karl Kurbjun
8a1cda66f0 Brickmania: Correct a bug in the ball/brick collision (large screens (640x480) did not collide with the bottom row of bricks)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21944 a1c6a512-1295-4272-9138-f99709370657
2009-07-18 01:57:06 +00:00
Karl Kurbjun
1c746e5b9e Brickmania: Make the defines dependent on screen size generic calculations
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21943 a1c6a512-1295-4272-9138-f99709370657
2009-07-18 01:42:27 +00:00
Mohamed Tarek
6f4294219e Generic codec-extradata parsing, in preparation for addition of AAC/RM.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21941 a1c6a512-1295-4272-9138-f99709370657
2009-07-18 00:29:19 +00:00
Michael Giacomelli
6539b535ad Optimize overlap_math by only doing shifting if theres gain, and moving the check for sign outside of the for loop. 3% speedup on PP5024.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21940 a1c6a512-1295-4272-9138-f99709370657
2009-07-18 00:24:54 +00:00
Michael Giacomelli
b957f7214b Rearrange the MDCT library lookup tables so that codecs can access them. Access them in cook. Remove old cook trig tables. Replace old 32x16 bit fixed point multiply code with faster ASM ARM/Coldfire versions using full 32 bit precision. Improves performance signficantly on PP5024 (~200% realtime for a 64k file) while saving a lot of memory and improving accuracy.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21939 a1c6a512-1295-4272-9138-f99709370657
2009-07-17 23:53:40 +00:00
Rafaël Carré
bdb5974c0e Revert r21912 : "Storage API : remove undeeded target-specific functions"
After a discussion mixed on mailing list and irc, it was agreed that
more abstraction for plugins is better (so developers don't have to add
a check to HAVE_DISK_STORAGE when writing disk-specific code)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21923 a1c6a512-1295-4272-9138-f99709370657
2009-07-17 16:34:34 +00:00
Maurus Cuelenaere
1dc0c46d93 Lua IOlib: when opening files for writing/appending, check if they exist and if not, add O_CREAT.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21918 a1c6a512-1295-4272-9138-f99709370657
2009-07-17 11:09:51 +00:00
Andrew Mahone
749c2b79d9 Remove ldrd from ARMv5 JPEG IDCT, remove old debug code selecting ARMv5 code for one function even when building for ARMv6.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21917 a1c6a512-1295-4272-9138-f99709370657
2009-07-17 09:20:58 +00:00
Jens Arnold
82dc91a102 Don't use ldrd/strd on ARMv5 since not all revisions support them and the gain from using them is minimal (basically code size only).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21916 a1c6a512-1295-4272-9138-f99709370657
2009-07-17 09:17:54 +00:00
Karl Kurbjun
867eb5feb3 Jewels: Simplify support for new target screen sizes. Just adding new bitmaps for the target should now be enough.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21915 a1c6a512-1295-4272-9138-f99709370657
2009-07-17 05:08:08 +00:00
Rafaël Carré
8eba69f91b Storage API : remove undeeded target-specific functions
storage_sleep, storage_spin, storage_spindown are only defined if #defiend (HAVE_DISK_STORAGE), not for MMC/ATA/SD
remove already unneeded nand_disk_is_active, nand_soft_reset

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21912 a1c6a512-1295-4272-9138-f99709370657
2009-07-17 00:09:14 +00:00
Mohamed Tarek
20f8666b89 Remove a call to av_clip() which limits the PCM output of the decoder to 16-bit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21911 a1c6a512-1295-4272-9138-f99709370657
2009-07-16 23:09:28 +00:00
Robert Kukla
23cf0977cd remove references to pegbox bitmaps that were removed in r21907 (problem not detected by build system)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21910 a1c6a512-1295-4272-9138-f99709370657
2009-07-16 22:55:39 +00:00
Mohamed Tarek
cfd8b1444b Remove an overlooked, unused float from struct COOKContext.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21909 a1c6a512-1295-4272-9138-f99709370657
2009-07-16 22:42:11 +00:00
Robert Menes
701021b487 FS#10438: New language - Ukrainian by Mykhailo Radzievskyl.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21908 a1c6a512-1295-4272-9138-f99709370657
2009-07-16 21:21:33 +00:00
Johannes Schwarz
d13b8a5e82 Remove unused menu bitmaps from pegbox since r21867
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21907 a1c6a512-1295-4272-9138-f99709370657
2009-07-16 19:34:04 +00:00
Teruaki Kawashima
38754e7a9e fix wrong score recording.
change menu a bit. now game is saved by default when quit, and not saved when "Quit without Saving" is selected.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21903 a1c6a512-1295-4272-9138-f99709370657
2009-07-16 14:00:28 +00:00
Jens Arnold
27f5cdaad8 Gigabeat S can do dithered YUV blitting too, so put it into the plugin API and enable it in mpegplayer.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21888 a1c6a512-1295-4272-9138-f99709370657
2009-07-15 22:02:42 +00:00