Commit graph

23197 commits

Author SHA1 Message Date
Torne Wuff
6e9af8bd44 Add strlcat to core to match strlcpy (also add to plugin api). Some uses of strcat could probably do with being changed to this.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24141 a1c6a512-1295-4272-9138-f99709370657
2010-01-02 13:31:46 +00:00
Karl Kurbjun
7746f94496 Brickmania: Change the drawing/collision detection to simplify position management.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24140 a1c6a512-1295-4272-9138-f99709370657
2010-01-02 04:51:32 +00:00
Karl Kurbjun
3db58cfb38 Fix red.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24139 a1c6a512-1295-4272-9138-f99709370657
2010-01-02 04:00:03 +00:00
Karl Kurbjun
bac8b7bcae Brickmania: Scale bitmaps with the high-res bricks to fit them to the LCD width for the Gigabeat F/X/S.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24138 a1c6a512-1295-4272-9138-f99709370657
2010-01-02 03:49:11 +00:00
Tomer Shalev
74251d3dd8 FS#10886 - Hebrew glyphs for 08-Rockfont.bdf
This patch adds Hebrew glyphs for the 08-Rockfont font.
This font is the default font for all targets with LCD_HEIGHT<=64
The glyphs are copied from the Liquid Font Family for Very Small Displays
(Liquid Mean).
Henrik Theiling, the author of this font, explicitly approved to integrate his
font into Rockbox (thanks!).


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24137 a1c6a512-1295-4272-9138-f99709370657
2010-01-01 23:31:09 +00:00
Bertrik Sikken
5c4ef78cc9 Simplify some expressions using the ? operator
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24136 a1c6a512-1295-4272-9138-f99709370657
2010-01-01 22:47:25 +00:00
Mohamed Tarek
e35a15cf54 Make the delete_handler function return the actual result, instead of just 'false'.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24135 a1c6a512-1295-4272-9138-f99709370657
2010-01-01 21:23:17 +00:00
Amaury Pouly
839007872a FS#9409: fix rename which didn't close file handles on error and enventually cause cut/paste to fail between volumes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24134 a1c6a512-1295-4272-9138-f99709370657
2010-01-01 20:41:29 +00:00
Rafaël Carré
2392bb4199 FS#10047 : Clipv2
Reuse some code from Clip (LCD) and a lot of code from AS3525
Add a new CPU type : AS3525v2, identical to AS3525 except it's an ARMv5 (arm926-ejs)
SD code still not working
For an unknown reason LCD doesn't work anymore (to be investigated)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24131 a1c6a512-1295-4272-9138-f99709370657
2009-12-31 19:15:20 +00:00
Andrew Mahone
822abc1236 Add 31/31-bit unsigned division in apps/codecs/lib/udiv_arm.S, with 2 cycles / iteration, falling back to previous 32-bit, 3 cycle / iteration code when needed (well under 1% of divisions in sample file). APE normal sample is now 96.90% realtime, approx 1.3% improved vs svn. TODO: unify divisor normalization for both trial subtraction routines, possibly use divisor bits to select 31- vs 32-bit division.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24130 a1c6a512-1295-4272-9138-f99709370657
2009-12-31 08:32:15 +00:00
Andrew Mahone
becdbaa12d Enable and initialize VFP on imx31. VFP state is not saved on thread change, and it is initialized for scalar operations, rounding toward zero, with exception/error handling and "correct" handling of NaN and denormal values disabled. In this mode it should still be usable for integer divisions (by casting operands to double and result to int or unsigned).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24129 a1c6a512-1295-4272-9138-f99709370657
2009-12-31 08:32:05 +00:00
Alexander Levin
ccb6441913 Fix a typo in comment
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24128 a1c6a512-1295-4272-9138-f99709370657
2009-12-30 19:10:22 +00:00
Antoine Cellerier
d2e9828a28 Add bitmaps for correct and wrong flags when showing the full board. (Feel free to change the graphics)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24127 a1c6a512-1295-4272-9138-f99709370657
2009-12-30 19:00:33 +00:00
Antoine Cellerier
3358f0e925 Clicking on a discovered tile with its number of adjacent mines already flagged now clicks on all adjacent undiscovered and unflagged tiles.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24126 a1c6a512-1295-4272-9138-f99709370657
2009-12-30 16:15:01 +00:00
Rafaël Carré
4c01e05c63 Do not try to generate dependencies of lua files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24125 a1c6a512-1295-4272-9138-f99709370657
2009-12-30 13:30:32 +00:00
Maurus Cuelenaere
074b2504e4 Checkwps: use script for getting the targets instead of hardcoded file (fixes checkwps due to target renaming)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24122 a1c6a512-1295-4272-9138-f99709370657
2009-12-29 21:49:44 +00:00
Tomer Shalev
e15a0c9118 WPS: Use helper function to parse int value on album-art directive
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24121 a1c6a512-1295-4272-9138-f99709370657
2009-12-29 18:14:31 +00:00
Tomer Shalev
98676a9107 FS#10879 - Cabbie: Fix usage of spaces to position strings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24120 a1c6a512-1295-4272-9138-f99709370657
2009-12-28 20:10:24 +00:00
Tomer Shalev
3ddfa0f2d6 Return NULL istead of 0 in function which returns a pointer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24119 a1c6a512-1295-4272-9138-f99709370657
2009-12-27 20:26:12 +00:00
Bertrik Sikken
9879cc6523 Rename wps/cabbiev2.128x64x1.clip.wps to wps/cabbiev2.128x64x1.sansaclip.wps to match recent target renames.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24118 a1c6a512-1295-4272-9138-f99709370657
2009-12-27 16:57:47 +00:00
Tomer Shalev
5210cdc2e3 Cabbie 320x240: Fix usage of spaces to position strings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24117 a1c6a512-1295-4272-9138-f99709370657
2009-12-26 20:53:12 +00:00
Jens Arnold
099ab1f731 ARM <= v5: Tiny optimisation exploiting the location of the table.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24116 a1c6a512-1295-4272-9138-f99709370657
2009-12-26 13:22:51 +00:00
Jens Arnold
60012e195f Make TTS options actually work (fix variable name).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24115 a1c6a512-1295-4272-9138-f99709370657
2009-12-25 18:35:15 +00:00
Jens Arnold
b5ca489be9 Properly append advanced build options so that 'make reconf' works without requests (one more manual reconfiguration required).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24114 a1c6a512-1295-4272-9138-f99709370657
2009-12-25 18:33:47 +00:00
Michael Chicoine
b3bb0ca27d Fix warnings on logf build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24113 a1c6a512-1295-4272-9138-f99709370657
2009-12-25 18:27:26 +00:00
Mark Arigo
6908cc5235 Merry Christmas Gogear HDD6330 owners! This is the start of the HDD6330 port. At the moment, it's essentially a copy of the HDD1630 port with a minimal LCD driver. The touchpad doesn't work as expected, but you can still kind of navigate and listen to music/radio.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24112 a1c6a512-1295-4272-9138-f99709370657
2009-12-25 04:05:01 +00:00
Frank Gevaerts
4a85eb7d9f Fix windows sim builds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24111 a1c6a512-1295-4272-9138-f99709370657
2009-12-24 23:17:13 +00:00
Frank Gevaerts
3c3c2aab74 Fix building simulators (at least on linux. cygwin and mingw might need more work)
Also bump the plugin api version


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24110 a1c6a512-1295-4272-9138-f99709370657
2009-12-24 17:32:22 +00:00
Amaury Pouly
081da63d09 Add support for errno in plugins.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24109 a1c6a512-1295-4272-9138-f99709370657
2009-12-24 17:07:20 +00:00
Jonathan Gordon
eeb1f3e25e Accept FS#8321 by Lee Kang Hyuk
something about the wrong track being selected with a long playlist and playing the last song.. i dunno... its important to set the title of the lists before setting the selection anyway


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24108 a1c6a512-1295-4272-9138-f99709370657
2009-12-24 07:13:04 +00:00
Jens Arnold
9e45b27e08 Assembler optimised bitreverse for ARM, again a little bit faster and smaller. * Separated 'x' and 'ret' gives gcc a bit more freedom regarding register allocation (except on coldfire where it doesn't matter).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24107 a1c6a512-1295-4272-9138-f99709370657
2009-12-23 23:44:56 +00:00
Frank Gevaerts
5509372f03 Make read() and write() return -1/EISDIR on directories
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24106 a1c6a512-1295-4272-9138-f99709370657
2009-12-23 22:13:37 +00:00
Frank Gevaerts
e0263b166c only get the file pointer if fd is actually valid.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24105 a1c6a512-1295-4272-9138-f99709370657
2009-12-23 21:51:29 +00:00
Alexander Levin
6216627559 Describe how 'delete current file' works
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24104 a1c6a512-1295-4272-9138-f99709370657
2009-12-23 21:47:45 +00:00
Alexander Levin
b57fe483be Improve typesetting and fix a typo
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24103 a1c6a512-1295-4272-9138-f99709370657
2009-12-23 20:05:29 +00:00
Nils Wallménius
87ecc7020e Improved bitrev with approach suggested by Jens Arnold, gives 0.5%-1% speedup for tremor decoding on sansa c200 (PP) and a tiny speedup on coldfire as well
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24102 a1c6a512-1295-4272-9138-f99709370657
2009-12-23 18:05:11 +00:00
Dominik Riebeling
92eb0c1841 Rename player sections to match the platform section.
- The platforms section holds all players that should be considered as available. Correct mismatches.
- Correct a couple of buildserver and configure modelnames that still used old values.

Fixes several supported players not showing up in the configuration.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24101 a1c6a512-1295-4272-9138-f99709370657
2009-12-23 17:19:03 +00:00
Karl Kurbjun
d9484b9251 Brickmania: Improve screen collision detection.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24100 a1c6a512-1295-4272-9138-f99709370657
2009-12-23 03:52:50 +00:00
Maurus Cuelenaere
c0ee84d37e Fix FM radio on VX777 (by Giovanni Zilli)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24099 a1c6a512-1295-4272-9138-f99709370657
2009-12-22 22:33:51 +00:00
Nils Wallménius
61ca868be2 Fix example command line for profile_reader.pl
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24098 a1c6a512-1295-4272-9138-f99709370657
2009-12-22 09:41:12 +00:00
Jonathan Gordon
5113f5a9f6 Fix FS#10368 - add some recursion protection in the "view playlist catalogue" context menu options. Its not exactly pretty, but this shouldnt happen often. It would be nicer to actually hide the menu item, but slightly difficult to do
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24097 a1c6a512-1295-4272-9138-f99709370657
2009-12-22 06:08:41 +00:00
Nils Wallménius
7b24423180 Use optimised byteswap function in bitrev for a tiny speedup on coldfire and pp and about 1-2% speedup on gigabeat s (due to the armv6 rev instruction)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24095 a1c6a512-1295-4272-9138-f99709370657
2009-12-21 19:52:01 +00:00
Johannes Schwarz
4ed7b0b8a0 blackjack: improve the menu and the buttons
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24094 a1c6a512-1295-4272-9138-f99709370657
2009-12-21 19:11:15 +00:00
Teruaki Kawashima
8ef2248f7c jpeg,png: Change "Off: Quit." to "Show Menu: Quit." so that the message is less confusable.
fix bug plug_buf is always false in simulator even when plugin buffer is used.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24093 a1c6a512-1295-4272-9138-f99709370657
2009-12-21 15:20:33 +00:00
Teruaki Kawashima
a2fc641570 properties,shortcuts_view: enable the theme while showing list.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24092 a1c6a512-1295-4272-9138-f99709370657
2009-12-21 13:32:43 +00:00
Bryan Childs
847ac057af Clarify action of Select button in WPS screen in the manual
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24091 a1c6a512-1295-4272-9138-f99709370657
2009-12-21 08:58:49 +00:00
Jonathan Gordon
ae08a21b42 Fix FS#10215 - peakmeter updates breaks scrolling lines in conditionally enalbed viewports... fix is to not disable conditional viewports during these updates which are *only* touching the pm token anyway
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24090 a1c6a512-1295-4272-9138-f99709370657
2009-12-21 06:35:31 +00:00
Jonathan Gordon
6643a3bc74 Fix FS#9660 - make warn on playlist erase work correctly when creating a new playlist from the database (a bit of a hack, but not bad enough to outright reject)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24089 a1c6a512-1295-4272-9138-f99709370657
2009-12-21 05:44:00 +00:00
Jonathan Gordon
65f18a7044 fix yello
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24088 a1c6a512-1295-4272-9138-f99709370657
2009-12-21 05:32:23 +00:00
Jonathan Gordon
9d1832cfba fix FS#10870 - slightly change the viewportmanager theme undo-er to be able to force an update even if the theme isnt being toggled from off to on which caused WPS artifacts when leaving the WPS if the theme was enabled
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24087 a1c6a512-1295-4272-9138-f99709370657
2009-12-21 05:19:12 +00:00