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
Jens Arnold
0a2197b846
Further ARMv6 imdct optimisation, ~5.5% speedup.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21884 a1c6a512-1295-4272-9138-f99709370657
2009-07-15 20:36:31 +00:00
Maurus Cuelenaere
be54b7f6a2
Revert r21863 partly: fixes Lua
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21883 a1c6a512-1295-4272-9138-f99709370657
2009-07-15 15:16:55 +00:00
Johannes Schwarz
0e5942ffea
Tiny bug fix for help text in pegbox
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21882 a1c6a512-1295-4272-9138-f99709370657
2009-07-15 15:15:48 +00:00
Johannes Schwarz
b018f89049
Fix a bug in lib display_text.h, which inserts a unwanted blank line
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21881 a1c6a512-1295-4272-9138-f99709370657
2009-07-15 15:14:17 +00:00
Johannes Schwarz
04ab67d431
Replace bitmap menu with a standard menu, clean up the code and remove corrupt save game
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21867 a1c6a512-1295-4272-9138-f99709370657
2009-07-14 17:58:41 +00:00
Johannes Schwarz
a6be0ae094
Make the progress bar in game mode puzzle shows the level process (part of FS#10139)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21866 a1c6a512-1295-4272-9138-f99709370657
2009-07-14 17:40:48 +00:00
Antonius Hellmann
c92652ecb1
Collect encoder data chunks (usually < 1kB) before writing to disk. The reduced number of ci->write() calls give a nice write speedup to the mp3 encoder.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21865 a1c6a512-1295-4272-9138-f99709370657
2009-07-14 16:52:18 +00:00
Nils Wallménius
3d4701a6e4
FS#10080
...
* Move strncpy() from core to the pluginlib
* Introduce strlcpy() and use that instead in most places (use memcpy in a few) in core and some plugins
* Drop strncpy() from the codec api as no codec used it
* Bump codec and plugin api versions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21863 a1c6a512-1295-4272-9138-f99709370657
2009-07-14 13:57:45 +00:00
Alessio Lenzi
c2900a1bac
Updated italian translation.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21862 a1c6a512-1295-4272-9138-f99709370657
2009-07-14 13:12:17 +00:00
Teruaki Kawashima
c72b23ad2e
use lib display text to display help messages (FS#10099).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21861 a1c6a512-1295-4272-9138-f99709370657
2009-07-14 13:03:17 +00:00
Teruaki Kawashima
e37f9f1691
add a way to quit without saving game.
...
some cosmetic fixes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21860 a1c6a512-1295-4272-9138-f99709370657
2009-07-14 12:07:53 +00:00
Johannes Schwarz
9d7a1e457f
Combine the two menus, improve highscore list, automatically save game, improve help text (buttons are missing yet) and clean up the code in jewels (part of FS#10139)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21858 a1c6a512-1295-4272-9138-f99709370657
2009-07-14 11:12:09 +00:00
Jens Arnold
8cc169cb28
Silence the gcc 4.4.0 warning by making this code look like it was probably meant to be. I'm not 100% sure this is correct - latest prboom doesn't have that fix.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21857 a1c6a512-1295-4272-9138-f99709370657
2009-07-14 10:15:58 +00:00
Johannes Schwarz
af99a8544f
Change buttons in pegbox for Fuze (part of FS#10193)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21856 a1c6a512-1295-4272-9138-f99709370657
2009-07-14 09:13:30 +00:00
Johannes Schwarz
394e1346ff
try to make buttons in jewels more unified (part of FS#10193)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21854 a1c6a512-1295-4272-9138-f99709370657
2009-07-14 08:13:24 +00:00
Magnus Holmgren
fd6afc05f8
Remove a function accidentally added back in r21841.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21853 a1c6a512-1295-4272-9138-f99709370657
2009-07-14 07:53:57 +00:00
Robert Keevil
eea149bd13
FS#10436 - add the Sansa View to the build system. The bootloader builds but doesn't do anything useful yet.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21848 a1c6a512-1295-4272-9138-f99709370657
2009-07-13 21:09:39 +00:00
Jens Arnold
5f6998bde9
Fix cook on big endian targets. get_uint*be() is already endian agnostic due to reading
...
single bytes, so the "big endian" version was plain wrong.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21846 a1c6a512-1295-4272-9138-f99709370657
2009-07-13 19:19:05 +00:00
Thomas Martitz
25371a1bfd
FS#10235 - "(fuze) pacbox keymap change" by Ralph Soto.
...
Fixes pacbox' keymapping for direction and changes accessing the menu to short home.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21843 a1c6a512-1295-4272-9138-f99709370657
2009-07-13 18:34:10 +00:00
Magnus Holmgren
5e2f11ad65
Import Vorbis seeking improvements from Tremor SVN.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21841 a1c6a512-1295-4272-9138-f99709370657
2009-07-13 15:23:07 +00:00
Alexander Levin
23ea8a53a1
Slightly reduce the bin size by using ushort instead of int in arrays
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21840 a1c6a512-1295-4272-9138-f99709370657
2009-07-13 14:48:02 +00:00
Alexander Levin
f448fa4655
Correctly compute the array size regardless of the element type
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21839 a1c6a512-1295-4272-9138-f99709370657
2009-07-13 14:20:39 +00:00
Jens Arnold
afad93ae02
Fix another file for r12 being a scratch register. Overlooked earlier because this file used
...
literal 'r13' instead of 'sp'. Changed 'r13' to 'sp' for consistency.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21838 a1c6a512-1295-4272-9138-f99709370657
2009-07-13 13:15:28 +00:00
Maurus Cuelenaere
c039d39a56
Make clix more usable on touchscreen targets
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21837 a1c6a512-1295-4272-9138-f99709370657
2009-07-13 12:16:06 +00:00
Mohamed Tarek
b5b9cb031d
Modified the code for seeking to speed it up a bit. Instead of searching
...
the file for the required timestamp, we seek directly to a calcualted
position. If we go to a point beyond the desired seek_time, we seek back
in blocks (normally one or two blocks to the back) to get the required
block.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21836 a1c6a512-1295-4272-9138-f99709370657
2009-07-13 10:06:19 +00:00
Andrew Mahone
f35db90efa
Reorder some operands to increase frequency of multiply early termination on TDMI targets, reorder some operations to try to reduce stalls.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21834 a1c6a512-1295-4272-9138-f99709370657
2009-07-13 04:50:02 +00:00
Michael Giacomelli
15dc0750be
Put COOKContext struct into IRAM. Speeds up decoding by 6MHz on PP5024 at the cost of 30.5 kbytes of IRAM.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21833 a1c6a512-1295-4272-9138-f99709370657
2009-07-13 01:59:32 +00:00
Andrew Mahone
668a769ca4
Add new asmdefs mechanism for exporting information only available to the C compiler for use in asm files, and use it in arm jpeg idct. See apps/apps.make, apps/core_asmdefs.c, and apps/recorder/jpeg_idct_arm.S for details.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21831 a1c6a512-1295-4272-9138-f99709370657
2009-07-13 00:40:35 +00:00
Jens Arnold
36eeecbe9a
* Fix overlooked r12 usage possibility in mpegplayer ARM idct
...
* ARM dualcore: Don't save r12 in switch_thread_core()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21830 a1c6a512-1295-4272-9138-f99709370657
2009-07-12 22:43:24 +00:00
Peter D'Hoye
40c6e7d282
Update Dutch langfile
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21827 a1c6a512-1295-4272-9138-f99709370657
2009-07-12 22:06:06 +00:00
Peter D'Hoye
c133c6a964
Another patch by Wincent Balin (from the FS #10416 series): get rid of some warnings. PDBox now builds without any error or warning.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21819 a1c6a512-1295-4272-9138-f99709370657
2009-07-12 19:18:59 +00:00
Peter D'Hoye
4bcd8475cb
PDBox: One file with stuff is enough....
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21818 a1c6a512-1295-4272-9138-f99709370657
2009-07-12 18:52:35 +00:00
Peter D'Hoye
66a0492ab7
More work on PDBox by Wincent Balin. The PDBox plug-in is now working with the pdpod_test.pd file from the PureData.zip archive
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21816 a1c6a512-1295-4272-9138-f99709370657
2009-07-12 18:44:26 +00:00
Peter D'Hoye
a3a8708cdf
Patch by Wincent Balin: convert pdbox from app to viewer
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21815 a1c6a512-1295-4272-9138-f99709370657
2009-07-12 17:53:25 +00:00
Alexander Levin
76e6291780
Unify semitone and cent macros and make the formula a bit more obvious
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21814 a1c6a512-1295-4272-9138-f99709370657
2009-07-12 17:14:01 +00:00
Mohamed Tarek
ff7c0cd7c5
Silence warnings to fix yellows for now.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21810 a1c6a512-1295-4272-9138-f99709370657
2009-07-12 15:11:22 +00:00
Teruaki Kawashima
2a972ff440
set svn:keywords property
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21809 a1c6a512-1295-4272-9138-f99709370657
2009-07-12 15:04:56 +00:00