Commit graph

19274 commits

Author SHA1 Message Date
Björn Stenberg
9e3844db07 Updated Fuze button code. FS#9645 by Thomas Martitz.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19629 a1c6a512-1295-4272-9138-f99709370657
2008-12-31 21:02:56 +00:00
Maurus Cuelenaere
5bf0cf5910 Ingenic Jz4740:
* Fix compiling
 * More USB work


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19628 a1c6a512-1295-4272-9138-f99709370657
2008-12-31 18:15:24 +00:00
Frank Gevaerts
a2e80d573c correct wrong logf
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19627 a1c6a512-1295-4272-9138-f99709370657
2008-12-31 17:36:57 +00:00
Maurus Cuelenaere
b6eaf1db1b Fix off-by-one
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19626 a1c6a512-1295-4272-9138-f99709370657
2008-12-31 17:14:24 +00:00
Maurus Cuelenaere
4c793febc8 Commit FS#9733 (multiline logf) by Yoshihisa Uchida
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19625 a1c6a512-1295-4272-9138-f99709370657
2008-12-31 17:01:00 +00:00
Jonathan Gordon
d6def79dca fix the yesno screen which I accidently broke with the last commites
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19624 a1c6a512-1295-4272-9138-f99709370657
2008-12-31 10:02:35 +00:00
Jonathan Gordon
79b3e87004 fix red
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19623 a1c6a512-1295-4272-9138-f99709370657
2008-12-31 06:11:23 +00:00
Jonathan Gordon
e385ee18ce Decouple the statusbar drawing from the rest of the screen drawing. it is not drawn roughly 4x per second automatically.
viewport_Set_defaults() will setup the given viewport with the correct "full screen" dimensions (so start at 0,0 if statusbars are disabled or 0,8 if they are enabled.)
All screens should keep the statusbar enabled, but if you really want to ignore the user setting you can disbaled it with viewportmanager_set_statusbar(false).

This commit also includes some menu/list viewport cleanups from kugel in FS#9603


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19622 a1c6a512-1295-4272-9138-f99709370657
2008-12-31 05:59:26 +00:00
Maurus Cuelenaere
54919ae917 Ingenic Jz4740:
* Clean up header file a bit
  * Add information about the IPU
  * Add original license
  * Add Ingenic Media Extension Instruction Set header file


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19621 a1c6a512-1295-4272-9138-f99709370657
2008-12-31 01:57:07 +00:00
Michael Sevakis
e25505daa4 Hehe. Broke it already in last-second sanitation. Put some bits back.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19620 a1c6a512-1295-4272-9138-f99709370657
2008-12-31 01:54:26 +00:00
Michael Sevakis
2e99b3d931 Gigabeat S: Allow recording from FM. Give FM the same volume range as playback. NOTE: This bumps the si4700 output volume to -0dB so other players with that may need a minor adjustment.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19619 a1c6a512-1295-4272-9138-f99709370657
2008-12-31 01:38:44 +00:00
Maurus Cuelenaere
9ac7af749b Ingenic players:
* Further implement USB driver
 * Add preliminary clock setup
 * Fix USB VID/PID


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19618 a1c6a512-1295-4272-9138-f99709370657
2008-12-31 01:11:04 +00:00
Björn Stenberg
5d3a035cb3 Implemented system_reboot().
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19617 a1c6a512-1295-4272-9138-f99709370657
2008-12-30 23:53:35 +00:00
Björn Stenberg
f59724414b Fixed m200v4 red build.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19616 a1c6a512-1295-4272-9138-f99709370657
2008-12-30 21:56:23 +00:00
Björn Stenberg
93afe5297b Cleaner usb detection.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19615 a1c6a512-1295-4272-9138-f99709370657
2008-12-30 21:17:43 +00:00
Björn Stenberg
f2d2b8c3c7 Added usb_detect() for Clip, Fuze, E200v2 and C200v2.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19614 a1c6a512-1295-4272-9138-f99709370657
2008-12-29 23:32:11 +00:00
Björn Stenberg
679d2c11d1 Added dualboot usb detection for Clip, so OF boots on usb insert.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19613 a1c6a512-1295-4272-9138-f99709370657
2008-12-29 23:31:09 +00:00
Bertrik Sikken
8e22f7f5b0 Make local functions static in codecs, where possible.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19612 a1c6a512-1295-4272-9138-f99709370657
2008-12-29 19:49:48 +00:00
Andrew Mahone
6316e0ff53 Reduce the pictureflow empty slide bitmaps to 8-bit palette images,
as they are already greyscale.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19611 a1c6a512-1295-4272-9138-f99709370657
2008-12-29 17:09:49 +00:00
Jens Arnold
36dfdedf3b Make sure pictureflow always uses the user font, both on colour and greyscale targets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19610 a1c6a512-1295-4272-9138-f99709370657
2008-12-28 22:26:41 +00:00
Björn Stenberg
9ad94b9c35 Use the same poweroff count for clip as for other AMS targets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19609 a1c6a512-1295-4272-9138-f99709370657
2008-12-28 21:58:13 +00:00
Alessio Lenzi
8d6d4fbc3b Updated italian translation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19608 a1c6a512-1295-4272-9138-f99709370657
2008-12-28 21:34:33 +00:00
Jens Arnold
9bf20486a8 Make the greylib text output functions handle unicode. Fixes non-working umlauts etc in greyscale pictureflow.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19607 a1c6a512-1295-4272-9138-f99709370657
2008-12-28 20:12:12 +00:00
Michael Sevakis
11d5350977 Remove register indentation in si4700 debug screen.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19606 a1c6a512-1295-4272-9138-f99709370657
2008-12-28 17:34:44 +00:00
Nils Wallménius
7036d72a40 Move enabling of USB charging from sound_settings_apply to settings_apply
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19605 a1c6a512-1295-4272-9138-f99709370657
2008-12-28 12:37:03 +00:00
Nils Wallménius
34c9b11138 Unbreak the changelog and don't say that releases include fonts, they don't ;)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19604 a1c6a512-1295-4272-9138-f99709370657
2008-12-28 10:16:50 +00:00
Andrew Mahone
081b111138 more pictureflow work:
remove create_bmp entirely, storing scaled covers as-is in cache

extend accuracy of fade_color and use it for reflection fading

fix rendering issues while working on renderer, it is slower now but
outside edge of cover no longer cuts off top of next cover if it would
be exposed

fix fsin to have real -1.0 - 1.0 range, and have correct zeroes

adjust center margin option range again, now 0-80, since negative
causes rendering glitches

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19603 a1c6a512-1295-4272-9138-f99709370657
2008-12-28 03:35:07 +00:00
Nils Wallménius
9711b1e2e3 Gigabeat S, use saner input volume on the line in used for fm to have fm volume at similar volume as playback. Add a few comments.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19602 a1c6a512-1295-4272-9138-f99709370657
2008-12-27 22:56:29 +00:00
Steve Gotthardt
8852154b4d Fix for FS#9444. Scales balance between current and mute. Mutes channel at 100% balance when volume is muted.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19601 a1c6a512-1295-4272-9138-f99709370657
2008-12-27 20:56:54 +00:00
Michael Sevakis
1fea6f6b22 Make si4700 tuner driver more sane with bit and field defines and entirely hide strange i2c interface from code with write/set/clear/masked functionality. On Gigabeat S use by-the-book busmode selection and GPIO lines. Implement some primitive station detection, debug registers in screen, and misc. changes to tie things together.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19600 a1c6a512-1295-4272-9138-f99709370657
2008-12-27 19:18:50 +00:00
Andrew Mahone
d6bae6c858 FS#8335, with some changes discussed on IRC:
Resize can be turned off (on by default). This will not look good if
covers are larger than the desired size.

Album title config: show at top or bottom, or hide.

Center margin is actual distance, in pixels, between center slide and
adjacent slides. Defaults are now set to show three slides to each side.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19599 a1c6a512-1295-4272-9138-f99709370657
2008-12-27 03:08:38 +00:00
Andrew Mahone
932f30d825 Add support for scaled bitmap loads, and for greylib display, to
pictureflow, as well as several small fixes in the areas modified.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19598 a1c6a512-1295-4272-9138-f99709370657
2008-12-27 00:26:15 +00:00
Vitja Makarov
78d625f840 i7: set low-battery values and enable shutdown on low-battery
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19597 a1c6a512-1295-4272-9138-f99709370657
2008-12-26 19:31:48 +00:00
Michael Sevakis
eaea11230a imx31: Fix a couple small problems with the i2c driver that went unnoticed until FM. Reset addr_count always and stop resetting module before STOP is actually generated. Simplify a tiny bit and remove inactive preprocessor block.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19596 a1c6a512-1295-4272-9138-f99709370657
2008-12-26 16:06:40 +00:00
Andrew Mahone
859ee227ba Add missing greylib scaled bitmap test plugin.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19595 a1c6a512-1295-4272-9138-f99709370657
2008-12-26 10:25:17 +00:00
Nils Wallménius
0f472bcd19 Fix wrong button for exiting calendar
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19594 a1c6a512-1295-4272-9138-f99709370657
2008-12-26 10:14:29 +00:00
Andrew Mahone
9058620849 Make scaler output truly pluggable, add an 8-bit greyscale output to
pluginlib for use with greylib, and add source for a test scaled bmp
viewer using greylib.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19593 a1c6a512-1295-4272-9138-f99709370657
2008-12-26 07:05:13 +00:00
Andrew Mahone
f7fa7e5ad5 Latest work on the bmp on-load scaler:
Macros for calculating size needed for bitmap load and scaling, so that
these can be compile-time constant when their inputs are.

Reduce size of bayer dither by chopping all but first row of dither
matrix, and replacing 2D lookup with 1D lookup and small calculation.

Move some functions not related to actual bmp file loading out of bmp.c.

A smaller brightness() for mono targets, and a higher-quality one for
greyscale targets, both replacing the division by 10 with a shift.

Port of the linear and area scalers to greyscale targets, this costs
some binsize but produces better output even when dithered to 2bpp.

Move duplicated row output code from inside vertical scalers to a
separate row output function.

Move some multiplies out of the line scaler, for a small speedup and
code size reduction, as well as a small improvement in accuracy for the
upscaling case.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19592 a1c6a512-1295-4272-9138-f99709370657
2008-12-26 07:03:22 +00:00
Mustapha Senhaji
7428c7cc5b Add Ryan Press, Craig Elliot and Kenderes Tamas to the credits file for FS#8624
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19591 a1c6a512-1295-4272-9138-f99709370657
2008-12-25 12:15:07 +00:00
Mustapha Senhaji
8cd726e208 Remove a last junk that was unintentionaly added to english file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19590 a1c6a512-1295-4272-9138-f99709370657
2008-12-25 11:48:28 +00:00
Michael Giacomelli
0e783b062e Update the API version too.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19589 a1c6a512-1295-4272-9138-f99709370657
2008-12-25 04:24:47 +00:00
Michael Giacomelli
1f52f406cb Fix more
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19588 a1c6a512-1295-4272-9138-f99709370657
2008-12-25 03:35:38 +00:00
Michael Giacomelli
da41c0ef0c Fix junk added to language file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19587 a1c6a512-1295-4272-9138-f99709370657
2008-12-25 03:32:29 +00:00
Michael Giacomelli
e25f1f9f2a Hopefully fix read.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19586 a1c6a512-1295-4272-9138-f99709370657
2008-12-25 03:23:22 +00:00
Michael Giacomelli
70e9c7aed3 Commit FS#8624 by Linus Nielsen, Ryan Press, Craig Elliott, and Kenderes Tamas. Adds preliminary support for numerous accessories that use the ipod serial port on the dock connector. See IpodAccessories for a list of tested devices.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19585 a1c6a512-1295-4272-9138-f99709370657
2008-12-25 01:46:16 +00:00
Michael Sevakis
f921f74873 Gigabeat S: Fix a divide by zero in runtime estimation caused by using actual charger current. Use default constant for now.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19584 a1c6a512-1295-4272-9138-f99709370657
2008-12-24 23:54:57 +00:00
Michael Sevakis
4f2bc16f5c Gigabeat S: Simplify and use a thermistor lookup table (ADC value => deg C) . Saves some binsize.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19583 a1c6a512-1295-4272-9138-f99709370657
2008-12-24 23:36:33 +00:00
Michael Sevakis
377b42b63b H10 can distinguish USB and MAIN charger input so return proper flags. H100s were misconfigured and should use CHARGING_SIMPLE. Comment more on what charging types mean in config.h.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19582 a1c6a512-1295-4272-9138-f99709370657
2008-12-24 19:36:37 +00:00
Michael Sevakis
9b8f56f35c Oops. Fix precompiler condition to be for all CONFIG_CHARGING != 0 (as it should be).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19581 a1c6a512-1295-4272-9138-f99709370657
2008-12-24 17:42:07 +00:00
Michael Sevakis
24e2d8671d Fix red and yellow.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19580 a1c6a512-1295-4272-9138-f99709370657
2008-12-24 17:28:01 +00:00