Commit graph

21194 commits

Author SHA1 Message Date
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
Karl Kurbjun
9660a8589c M:Robe 500: Fix simulator build and include some small changes for the 640x480 setup.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21914 a1c6a512-1295-4272-9138-f99709370657
2009-07-17 04:29:34 +00:00
Karl Kurbjun
c97a3bf180 M:Robe 500: Start of interrupt support.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21913 a1c6a512-1295-4272-9138-f99709370657
2009-07-17 03:44:01 +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
Dave Chapman
715d8c63d9 Add auto-detection of Nano 2G LCD type, and an initial attempt at lcd_update() for the second lcd type. This lcd_update works, but not reliably.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21905 a1c6a512-1295-4272-9138-f99709370657
2009-07-16 18:03:09 +00:00
Dave Chapman
f8ec7e4ad4 Add some notes describing how the bin2note exploit works
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21904 a1c6a512-1295-4272-9138-f99709370657
2009-07-16 17:40:55 +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
Dominik Riebeling
844b2147ee FS#10439: Português Brasileiro Translation for Rockbox Utility by Adilson Xavier.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21902 a1c6a512-1295-4272-9138-f99709370657
2009-07-16 08:32:56 +00:00
Thomas Martitz
009733c51d Fix Philips sa9200 red (HAVE_LCD_SLEEP is not defined in the bootloader so there's also no lcd_sleep()).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21901 a1c6a512-1295-4272-9138-f99709370657
2009-07-16 07:35:10 +00:00
Dave Chapman
0270e4c591 Get the Nano2G bootloader running - it now runs and displays a logo on one type of Nano2G LCD.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21900 a1c6a512-1295-4272-9138-f99709370657
2009-07-16 00:57:02 +00:00
Dave Chapman
c30d509f34 Correct the bmp2rb option for native bitmaps on the Nano2G
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21898 a1c6a512-1295-4272-9138-f99709370657
2009-07-16 00:38:50 +00:00
Dave Chapman
a677e1ba26 Oops, r21896 used the wrong #if check. Thanks to Thomas Martitz for spotting
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21897 a1c6a512-1295-4272-9138-f99709370657
2009-07-16 00:19:39 +00:00
Dave Chapman
c969047fea The S5L8701 has the LCD controller in a different place.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21896 a1c6a512-1295-4272-9138-f99709370657
2009-07-16 00:12:46 +00:00
Dave Chapman
02f5a001fe Working LCD driver for half the Nano2Gs. It now appears that there are two types of LCD though.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21895 a1c6a512-1295-4272-9138-f99709370657
2009-07-16 00:00:16 +00:00
Jens Arnold
989021ed3c Apply some ARMv6 optimisations to YUV blitting. Speeds up mpegplayer on Gigabeat S by ~2% in undithered and ~7.5% in dithered mode.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21889 a1c6a512-1295-4272-9138-f99709370657
2009-07-15 22:14:21 +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
Dave Chapman
0d484bad5e Introduce S5L8701 CONFIG_CPU definition for Nano2G and a new CPU_S5L870X "family" define - the 8700 and 8701 are proving to be different. Also move all the cpu-specific defines earlier in config.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21886 a1c6a512-1295-4272-9138-f99709370657
2009-07-15 21:34:31 +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
Jonathan Gordon
fb63808c55 display the volume as a number when its changing in the cabbie theme on the clip
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21877 a1c6a512-1295-4272-9138-f99709370657
2009-07-15 04:20:17 +00:00
Andrew Mahone
54715e6d07 Small fix for asmdefs, make sure $var is cleared the line after it is read, so that value *must* follow label immediately.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21876 a1c6a512-1295-4272-9138-f99709370657
2009-07-14 21:52:22 +00:00
Rob Purchase
75b27eaacc Guard the Timeout API declarations with the correct #ifdef
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21869 a1c6a512-1295-4272-9138-f99709370657
2009-07-14 20:04:26 +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
5905b0be3e Missed one strncpy call
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21864 a1c6a512-1295-4272-9138-f99709370657
2009-07-14 14:15:33 +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
Andrew Mahone
fec4206f39 Handle sh and m68k compiler's output correctly in asmdefs2file
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21859 a1c6a512-1295-4272-9138-f99709370657
2009-07-14 11:39:21 +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
286c333c1c Adapt manual to the changes in jewels (part of FS#10193)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21855 a1c6a512-1295-4272-9138-f99709370657
2009-07-14 09:03:59 +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
Thomas Martitz
0e2a93369e Try to make configure respect the TMPDIR environment variable.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21849 a1c6a512-1295-4272-9138-f99709370657
2009-07-13 21:50:25 +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