Commit graph

19295 commits

Author SHA1 Message Date
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
Michael Sevakis
3157e13956 Simplify powermgmt thread loops so it calls functions turn (no more power_thread_sleep). Do other target-friendly simplifications, generic battery switch handling and split sim-specific code. Whoever can, please verify charging on the Archos Recorder (due to change in the charger duty cycle code).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19579 a1c6a512-1295-4272-9138-f99709370657
2008-12-24 16:58:41 +00:00
Alessio Lenzi
0f9729739f Updated italian translation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19578 a1c6a512-1295-4272-9138-f99709370657
2008-12-24 15:36:59 +00:00
Michael Giacomelli
3e7bdb9c24 Fix mistake in c200v2 button driver noticed by Thomas Maritiz.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19577 a1c6a512-1295-4272-9138-f99709370657
2008-12-24 04:53:45 +00:00
Jonathan Gordon
f5be029854 Fix one of the warnings which the ubuntu 8.10 servers are throwing..
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19576 a1c6a512-1295-4272-9138-f99709370657
2008-12-24 04:44:28 +00:00
Michael Giacomelli
68e24d3a16 Commit updated mkamsboot for c200v2 patching. Tested and seems to be working using USB for dualboot.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19575 a1c6a512-1295-4272-9138-f99709370657
2008-12-24 04:23:52 +00:00
Michael Giacomelli
c97f640060 Commit FS#9679 by Thomas Martitz. Adds c200v2 to the target tree. Has some buttons defined, a bootloader, and stubs for most drivers.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19574 a1c6a512-1295-4272-9138-f99709370657
2008-12-24 04:10:18 +00:00
Mark Arigo
be26da8662 Remove some unused code in the Philips SA9200 port.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19573 a1c6a512-1295-4272-9138-f99709370657
2008-12-24 03:45:32 +00:00
Marianne Arnold
bd43105436 Update German translation. Based on FS#9669 by Kaspar Rothenfusser (add him to CREDITS too, hopefully correct spelling) with additional tweaks by Tom Ross and me.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19567 a1c6a512-1295-4272-9138-f99709370657
2008-12-23 20:28:50 +00:00
Bertrik Sikken
641e4fd885 Fix inverted de-emphasis bit for si470x FM chip.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19566 a1c6a512-1295-4272-9138-f99709370657
2008-12-23 18:22:00 +00:00
Jonas Häggqvist
3c8ac8f186 Updated Portuguese translation by Rui Araújo (FS#9700).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19564 a1c6a512-1295-4272-9138-f99709370657
2008-12-23 17:16:59 +00:00
Jens Arnold
d3bfc1a443 No need to have a separate voice string for the Player here, as voice isn't displayed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19562 a1c6a512-1295-4272-9138-f99709370657
2008-12-23 08:53:10 +00:00
Jonas Häggqvist
81781abd63 Language updates:
- Fix hebrew by me, should be safe.
 - Korean update by Sanggon Lee (FS#9690).
 - Walloon fixes by Stephane Quertinmont (FS#9698).
 - Russian update by Anton Veretenenko (FS#9676).
 - Greek update by Alexander Spyridakis (FS#9699).


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19560 a1c6a512-1295-4272-9138-f99709370657
2008-12-23 07:51:45 +00:00
Bertrik Sikken
51322432a0 Update si4700 FM driver:
* implement 16-bit register cache and use #defines for registers
* add support for enabling the internal oscillator (needed for AMS sansas)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19559 a1c6a512-1295-4272-9138-f99709370657
2008-12-22 19:41:57 +00:00
Michael Sevakis
2712871057 Gigabeat S: Enable keyboard line editing and morse code input.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19558 a1c6a512-1295-4272-9138-f99709370657
2008-12-22 18:52:54 +00:00
Jens Arnold
ed945e31c1 Slight speedup for the APE filters. Most noticeable on coldfire (+3.5% for -c2000), but also helps on the arm targets (+0.9% for -c2000 on PP5002). This transformation is oveflow safe, as absres < 2^24 is guaranteed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19556 a1c6a512-1295-4272-9138-f99709370657
2008-12-22 08:33:49 +00:00
Mark Arigo
1124713acb Enable the RTC on the Philips HDD16x0. The RTC is a PCF8563, but it's register compatible with the E8564. Thanks to Anton Veretenenko.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19555 a1c6a512-1295-4272-9138-f99709370657
2008-12-22 02:44:08 +00:00
Jens Arnold
dca9f42cdf Fix decoding of stereo frames with silence in only one channel. * Make the standalone decoder contain debugging information.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19552 a1c6a512-1295-4272-9138-f99709370657
2008-12-21 23:49:02 +00:00
Michael Sevakis
9ea8840b29 Fix red.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19551 a1c6a512-1295-4272-9138-f99709370657
2008-12-21 20:31:31 +00:00
Michael Sevakis
491ed5ed6a Gigabeat S: Make tuner_power have the expected behavior (return old state). Static i2c node structure and add fmradio_i2c_enable to the fmradio i2c API for those that can implement it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19550 a1c6a512-1295-4272-9138-f99709370657
2008-12-21 19:39:11 +00:00
Vitja Makarov
19413fc806 iaudio7: add battery voltage monitoring
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19549 a1c6a512-1295-4272-9138-f99709370657
2008-12-21 19:16:54 +00:00
Michael Sevakis
f6789a7d73 Fix red. Remove stale comment.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19548 a1c6a512-1295-4272-9138-f99709370657
2008-12-21 18:27:59 +00:00
Michael Sevakis
5667682dd2 Gigabeat S: Implement charging and power control to charge from AC or USB. Hold MENU while plugging USB cable to charge from USB without connecting. Under Windows, plugging USB for charging only but not connecting still needs to be properly handled (driver popup issue) but it will charge when connected normally-- no issue under Linux. Some accomodating changes made to powermgmt.c will soon be made nicer.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19547 a1c6a512-1295-4272-9138-f99709370657
2008-12-21 18:10:36 +00:00
Jonas Häggqvist
c3c15cce88 Fix the last problem in the Korean translation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19545 a1c6a512-1295-4272-9138-f99709370657
2008-12-21 17:46:34 +00:00
Jonas Häggqvist
caecd934db Some more fixes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19544 a1c6a512-1295-4272-9138-f99709370657
2008-12-21 17:38:14 +00:00
Jonas Häggqvist
e46266c767 Hopefully fix the Korean language and the yellow by restoring some phrases and removing a few.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19543 a1c6a512-1295-4272-9138-f99709370657
2008-12-21 17:24:45 +00:00
Frank Gevaerts
af805be6cb revert accidental commit of unrelated files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19539 a1c6a512-1295-4272-9138-f99709370657
2008-12-21 16:32:13 +00:00
Frank Gevaerts
c88cd20ab2 merge 19488 back from the 3.1 branch
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19538 a1c6a512-1295-4272-9138-f99709370657
2008-12-21 16:30:09 +00:00
Frank Gevaerts
54c1c770cb Add changelog (merge from 3.1 branch)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19536 a1c6a512-1295-4272-9138-f99709370657
2008-12-21 16:26:35 +00:00
Frank Gevaerts
abff31b2db Add fixes and improvements that were only applied to the 3.0 branch
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19529 a1c6a512-1295-4272-9138-f99709370657
2008-12-21 16:00:57 +00:00