Commit graph

19859 commits

Author SHA1 Message Date
Jens Arnold
9eeead922a Optimize hline, fillrect and mono bitmap drawing for chunky displays (16 bit colour and greylib). Speeds up text rendering by 20..45% on colour coldfire, by 30..50% on colour ARM, and is noticeable in archos pictureflow.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20242 a1c6a512-1295-4272-9138-f99709370657
2009-03-08 17:22:17 +00:00
Thomas Martitz
87d1744e91 Fix playlist "Insert" a bit.
If insert was used to create a new playlist (e.g. inserting without audio playing), the insert position wasn't updated. Thus, the playlist created was in reversed order (except for the first song).
This was the reason "Insert last" was actually used as Insert in this case. BUT, this one doesn't update the insert position eiterh, but the order of the songs is fine, at least (due to appending).
Now, insert always updates the insert position properly, so that the aforementioned bugs are fixed. Insert is always used now.
Other impact: If you create a playlist using insert, every subsequent insert will append songs at the end of the playlist,if you start playback pressing select on songs, every subsequent insert will insert after the current track.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20241 a1c6a512-1295-4272-9138-f99709370657
2009-03-08 17:18:18 +00:00
Magnus Holmgren
99cb21f7aa Ondio SP needed the same fix as Ondio FM. Thanks to Marianne Arnold for pointing it out (and nagging me about it :).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20240 a1c6a512-1295-4272-9138-f99709370657
2009-03-08 16:48:08 +00:00
Alexander Levin
bded5db2d9 Introduced new options for convbdf that specify how the ascent/descent is allowed to grow to avoid glyph clipping.
The syntax is (for ascent, descent is similar): N[%][!]. E.g. -a3 allows ascent to become 3 pixels greater; -a3! forces ascent to become 3 px greater; -a20% allows ascent to grow 20% from what is specified in the font.
By default, ascent/descent are not allowed to grow.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20239 a1c6a512-1295-4272-9138-f99709370657
2009-03-08 16:23:14 +00:00
Bertrik Sikken
66cf3a3329 Clean up some #includes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20238 a1c6a512-1295-4272-9138-f99709370657
2009-03-08 16:10:40 +00:00
Magnus Holmgren
34c7cd5dd2 Move the multivolume definition to a better place for the Ondio FM to fix the red.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20237 a1c6a512-1295-4272-9138-f99709370657
2009-03-08 14:40:26 +00:00
Magnus Holmgren
30f3855078 Fix FS#9980: Bookmarking didn't work in the root of a volume (e.g., an SD card).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20236 a1c6a512-1295-4272-9138-f99709370657
2009-03-08 13:57:10 +00:00
Magnus Holmgren
f4515c3082 Add setjmp/longjmp for ARM and ColdFire to the codec lib, and use it in the Vorbis codec to better handle out of memory conditions (to exit rather than crash; the AAC codec could use it too). setjmp/longjmp comes from newlib 1.17.0 with a few minor changes (combine parts of some files, remove support for some architectures, change some ifdef's).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20235 a1c6a512-1295-4272-9138-f99709370657
2009-03-08 12:48:58 +00:00
Jens Arnold
3f69bb2b1d Bugfix: Text styles are not drawmodes, so stop storing them in the vieport's drawmode field. They're only used locally anyway.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20234 a1c6a512-1295-4272-9138-f99709370657
2009-03-08 12:42:33 +00:00
Alexander Levin
03dcedbbea Changed the comment to more accurately reflect how it works
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20233 a1c6a512-1295-4272-9138-f99709370657
2009-03-08 11:32:02 +00:00
Dominik Riebeling
e05e7932f3 Some HttpGet cleanup: use references when setting options.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20232 a1c6a512-1295-4272-9138-f99709370657
2009-03-08 09:06:05 +00:00
Alexander Levin
537ee27384 Unify printing of warnings/errors/info messages
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20231 a1c6a512-1295-4272-9138-f99709370657
2009-03-07 22:09:00 +00:00
Dominik Riebeling
10b26554ce Update year in about box -- we are still working on this.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20230 a1c6a512-1295-4272-9138-f99709370657
2009-03-07 19:02:14 +00:00
Jens Arnold
87a22b2930 Revert the static'ing, as it causes crashes/freezes. Needs investigation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20229 a1c6a512-1295-4272-9138-f99709370657
2009-03-07 13:22:28 +00:00
Jens Arnold
c99446dd89 Made all local functions static, saving ~500 bytes of binsize on coldfire and SH1, and ~150 bytes on ARM. * Removed an unused static inline function.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20228 a1c6a512-1295-4272-9138-f99709370657
2009-03-07 13:00:09 +00:00
Michael Sevakis
44c15ee923 Fix FS#9949 - Song not playing, noise instead. Stale code was left from before transferring in segments and one calculation was just wrong for limiting trasfer size. Make buffer aligning consistent, change <= 0 on size_t variable to == 0 and remove pointless limit on overall buffer size.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20227 a1c6a512-1295-4272-9138-f99709370657
2009-03-07 05:21:58 +00:00
Mark Arigo
da1ca5177f Make Philips SA9200 build again
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20226 a1c6a512-1295-4272-9138-f99709370657
2009-03-07 04:41:37 +00:00
Jonas Häggqvist
a88d5f045f Remove some more debug output. Add an option to strip binaries. Fix quoting at the zip stage.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20225 a1c6a512-1295-4272-9138-f99709370657
2009-03-07 02:36:13 +00:00
Jens Arnold
9a6d91940c Mono targets: Make sure the splash screen uses white on black and the logo doesn't look inverted.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20224 a1c6a512-1295-4272-9138-f99709370657
2009-03-07 01:22:49 +00:00
Jens Arnold
5e313256b2 Performance tweaks for SH1. No changes for coldfire and ARM, apart from changing a bunch of signed shifts to unsigned shifts.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20223 a1c6a512-1295-4272-9138-f99709370657
2009-03-07 00:16:27 +00:00
Alexander Levin
031ac442c5 Only print clip warnings in verbose mode
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20222 a1c6a512-1295-4272-9138-f99709370657
2009-03-06 23:32:08 +00:00
Alexander Levin
2af0b60aaa Remove the check since it can fail if the chars to process were limited per command line options.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20221 a1c6a512-1295-4272-9138-f99709370657
2009-03-06 23:18:47 +00:00
Jonas Häggqvist
3884266ead "Commit" the deleted file...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20220 a1c6a512-1295-4272-9138-f99709370657
2009-03-06 23:01:10 +00:00
Alexander Levin
cbcef6700c Revamp of the bitmap allocation for the fonts. Implements the idea from FS#9907 (reallocate when maxwidth grows), but does it correctly. Also gets rid of the warning "DWIDTH spec > ..." which is irritating since the bounding box header of the font is not required to specify the MAX width.
Also replaced TABs with spaces.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20219 a1c6a512-1295-4272-9138-f99709370657
2009-03-06 22:50:47 +00:00
Dominik Riebeling
c8a60784d0 Bump rbutil version to 1.1, remove the m (milestone) prefix and show the version number first in the about dialog.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20217 a1c6a512-1295-4272-9138-f99709370657
2009-03-06 22:18:22 +00:00
Jonas Häggqvist
750b84887a Don't skip the cleanup I commented out for debugging and build all targets if no specific targets are specified.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20216 a1c6a512-1295-4272-9138-f99709370657
2009-03-06 18:59:34 +00:00
Jonas Häggqvist
a32b73e9c3 Smarten up the w32sims.pl script and rename it to sims.pl, since it does all sorts of sims now.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20215 a1c6a512-1295-4272-9138-f99709370657
2009-03-06 18:11:51 +00:00
Thomas Martitz
2b6e4adbd2 Fix FS#9977 - Thanks to Brian Sutherland for intensive testing and effort
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20214 a1c6a512-1295-4272-9138-f99709370657
2009-03-06 15:21:58 +00:00
Andrew Mahone
6f030a01c9 add the needed plugin API exports for pictureflow to hwcodec, use the audio buffer if plugin buffer is too small, build on any target with bitmap + tagcache
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20213 a1c6a512-1295-4272-9138-f99709370657
2009-03-06 01:08:02 +00:00
Andrew Mahone
cc5689c153 pictureflow: use correct priority to free slides when extending cache on right, catch and handle failure to find a slide to free
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20212 a1c6a512-1295-4272-9138-f99709370657
2009-03-06 00:38:50 +00:00
Alexander Levin
5aca36115f Use plaint int here since it's also used for the other fields
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20211 a1c6a512-1295-4272-9138-f99709370657
2009-03-05 23:09:19 +00:00
Alexander Levin
2bbfd6f4ff Provide better stats (print the total number of glyphs as well)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20210 a1c6a512-1295-4272-9138-f99709370657
2009-03-05 23:06:00 +00:00
Dominik Riebeling
cf25649597 Update german translation and drop obsolete strings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20209 a1c6a512-1295-4272-9138-f99709370657
2009-03-05 23:03:23 +00:00
Frank Gevaerts
ca41779fc6 Use total_sectors in ata_get_info() instead of calculating it all over again. This should fix LBA48 issues.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20208 a1c6a512-1295-4272-9138-f99709370657
2009-03-05 22:14:51 +00:00
Alexander Levin
7c93b5cb60 Correct the char's bby and bbh if it's clipped
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20207 a1c6a512-1295-4272-9138-f99709370657
2009-03-05 21:27:55 +00:00
Jens Arnold
0c69a83253 Remove no longer used stuff.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20206 a1c6a512-1295-4272-9138-f99709370657
2009-03-05 07:40:10 +00:00
Jens Arnold
f82c944912 Use a static pattern rule to restrict the dependency on [pluginname].o to single-file plugins. This allows the pattern rule for %.rock (with all dependencies defined elsewhere) to pick up multi-file plugins with no [pluginname].o file, and get rid of the duplication in (doom|midi|reversi).make.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20205 a1c6a512-1295-4272-9138-f99709370657
2009-03-04 23:41:58 +00:00
Alexander Levin
67c6f6048e Clip the glyphs that wouldn't be correctly rendered by Rockbox thus avoiding "noise" in glyphs. See also the attachment in FS#9931 for the list of
the "offending" fonts. Further steps would be to decide how such fonts can be handled better.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20204 a1c6a512-1295-4272-9138-f99709370657
2009-03-04 21:42:26 +00:00
Andrew Mahone
d8b6a950c6 FS#9919 pictureflow cache rework, footprint reduction, buflib use
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20203 a1c6a512-1295-4272-9138-f99709370657
2009-03-04 21:23:49 +00:00
Andrew Mahone
b727de604d FS#9916 buflib plugin memory allocator
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20202 a1c6a512-1295-4272-9138-f99709370657
2009-03-04 21:11:12 +00:00
Bertrik Sikken
e54c1cc9a2 Revert r20200, it was incorrect. The feature 'serial_port' refers to serial ports that can be configured. Possibly the feature should be renamed instead.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20201 a1c6a512-1295-4272-9138-f99709370657
2009-03-04 21:01:14 +00:00
Bertrik Sikken
5322258061 Make the 'serial_port' feature depend on HAVE_SERIAL instead of IPOD_ACCESSORY_PROTOCOL
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20200 a1c6a512-1295-4272-9138-f99709370657
2009-03-04 19:44:58 +00:00
Jens Arnold
08b643ee57 Fix update rectangle calculation. This caused the black artifacts outside the screen area introduced with backlight simulation for colour targets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20199 a1c6a512-1295-4272-9138-f99709370657
2009-03-04 18:46:08 +00:00
Bertrik Sikken
4f87abf90a Cosmetic fix: remove duplicate semicolons
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20198 a1c6a512-1295-4272-9138-f99709370657
2009-03-04 18:15:06 +00:00
Jens Arnold
23e28f2b0c Overlooked one place where the 'archive created' warning needs to be suppressed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20197 a1c6a512-1295-4272-9138-f99709370657
2009-03-04 07:38:42 +00:00
Tom Ross
273c035f80 FS #9978: Walon.lang update by Stéphane Quertinmont
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20196 a1c6a512-1295-4272-9138-f99709370657
2009-03-03 20:21:38 +00:00
Karl Kurbjun
4993ec2a6e GigabeatFX: Change the way that the LCD copy routine works: Do the copy and translation in one step.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20195 a1c6a512-1295-4272-9138-f99709370657
2009-03-03 18:10:22 +00:00
Karl Kurbjun
096eb687a6 Get the volume controls working on the M:Robe 500 along with some minor code changes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20194 a1c6a512-1295-4272-9138-f99709370657
2009-03-03 18:05:22 +00:00
Bertrik Sikken
1fb8242d96 Simplify generic_i2c, removing the link between i2c address and i2c interface, adding the concept of an i2c bus index.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20193 a1c6a512-1295-4272-9138-f99709370657
2009-03-03 18:00:17 +00:00
Alessio Lenzi
527b2dd270 Updated italian translation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20192 a1c6a512-1295-4272-9138-f99709370657
2009-03-03 10:33:26 +00:00