Commit graph

19852 commits

Author SHA1 Message Date
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
Jens Arnold
f42b93480e Bring back -fdata-sections that got lost in the make system overhaul (r19146).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20191 a1c6a512-1295-4272-9138-f99709370657
2009-03-03 08:28:50 +00:00
Tom Ross
dcf751e86d FS #9974: Update Walon.lang by Stéphane Quertinmont.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20190 a1c6a512-1295-4272-9138-f99709370657
2009-03-03 05:39:48 +00:00
Tom Ross
8a1f2cef0f Add missing user fields aka fix yellow.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20189 a1c6a512-1295-4272-9138-f99709370657
2009-03-03 02:33:29 +00:00
Jonas Häggqvist
e114601544 Set a few svn:ignore bits
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20188 a1c6a512-1295-4272-9138-f99709370657
2009-03-03 01:58:21 +00:00
Tom Ross
104fb378ec More GSoC related work. Have genlang parse the user field of the lang files. For now, all user strings are core. In the future more users will be added. Add missing user fields to a few phrases in some languages. Genlang will also warn if a phrase is missing the user field or it is unknown. The output format is unchanged.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20187 a1c6a512-1295-4272-9138-f99709370657
2009-03-03 01:38:26 +00:00
Rob Purchase
9f6e117e82 TCC NAND: The BLOCKS_PER_SEGMENT define was actually the number of planes mentioned in the Samsung NAND datasheet. Add this to the nand_id struct, so that it can be runtime detected (required for some D2s to boot). Use the struct directly instead of making a local copy, and format the nand_info table to 80 columns.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20186 a1c6a512-1295-4272-9138-f99709370657
2009-03-02 23:36:12 +00:00
Barry Wardell
3fe6152a1a Make the H10 5GB bootloader able to load the OF again. From FS#9955.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20185 a1c6a512-1295-4272-9138-f99709370657
2009-03-02 22:42:13 +00:00