Commit graph

20477 commits

Author SHA1 Message Date
Thomas Martitz
dfb24d6cee CONFIG_BACKLIGHT_FADING is always defined, so better ask for BACKLIGHT_NO_FADING.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20850 a1c6a512-1295-4272-9138-f99709370657
2009-05-04 12:04:29 +00:00
Karl Kurbjun
f9fae86de2 M:Robe 500: Add backlight cleanups and fix power management so that dangerous and shutoff voltages are taken care of, carge discharge curves are better modeled.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20849 a1c6a512-1295-4272-9138-f99709370657
2009-05-04 04:14:52 +00:00
Bertrik Sikken
ad031e903c Make local function static in jpeg_load.c, add missing header file in read_image.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20848 a1c6a512-1295-4272-9138-f99709370657
2009-05-03 07:02:09 +00:00
Karl Kurbjun
a4c428114c Fix red
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20847 a1c6a512-1295-4272-9138-f99709370657
2009-05-03 00:10:59 +00:00
Karl Kurbjun
fe2319372a M:Robe 500 - Fix some of the Keymaps, touchscreen improvements to decrease inacurate reads, add support for dynamic frequency (was running at 87.5 MHz, now it runs at 175 MHz when boosted), disable clock to unneded modules (decreased power by 20 mA), LCD turnoff now works without graphic glitches, battery ADC read now returns scaled voltage, define backlight fading
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20846 a1c6a512-1295-4272-9138-f99709370657
2009-05-02 23:25:55 +00:00
Dominik Riebeling
d5f7dab230 Cleanup and un-gui ZipInstaller class:
- Use signals for updating the progress logger from  ZipInstaller class.
- Move ZipInstaller class to base folder as it doesn't rely on QtGui anymore.
- cleanup debugging output a bit.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20845 a1c6a512-1295-4272-9138-f99709370657
2009-05-02 18:50:31 +00:00
Dominik Riebeling
7cfdd47587 Clean up ProgressLogger state handling:
- use better names for member functions
- don't emit aborted() when exiting a successful log


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20844 a1c6a512-1295-4272-9138-f99709370657
2009-05-02 18:40:04 +00:00
Dave Hooper
b10ba5e8b3 Fix for noise after vorbis skipping introduced in r20783 - thanks to Aoyumi and learman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20843 a1c6a512-1295-4272-9138-f99709370657
2009-05-02 11:26:53 +00:00
Andrew Mahone
d2ffe43e1e Fix red.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20842 a1c6a512-1295-4272-9138-f99709370657
2009-05-02 04:36:24 +00:00
Andrew Mahone
a8912a0c41 PictureFlow JPEG AA support for all non-mono targets (mono targets will need overlay for this).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20841 a1c6a512-1295-4272-9138-f99709370657
2009-05-02 04:06:49 +00:00
Andrew Mahone
3d4c68bb06 Add read_<image>_fd functions to plugin API, add feature_wrappers.h handling for them, and add read_image.[ch] wrapper for reading image files with automatic type detection.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20840 a1c6a512-1295-4272-9138-f99709370657
2009-05-02 03:47:46 +00:00
Andrew Mahone
75f2629778 Add read_jpeg_* to feature_wrappers.h, add import-from-core for jpeg_load.c on mono targets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20839 a1c6a512-1295-4272-9138-f99709370657
2009-05-02 02:39:13 +00:00
Andrew Mahone
b40878043c Fix AA search for file with same basename to test all extensions.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20838 a1c6a512-1295-4272-9138-f99709370657
2009-05-01 23:46:51 +00:00
Andrew Mahone
54e6eb3bda Search for, and load, JPEG album art files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20837 a1c6a512-1295-4272-9138-f99709370657
2009-05-01 23:31:43 +00:00
Andrew Mahone
60d4209383 Add core JPEG reader, adapted from the JPEG plugin's decoder, with some changes to prevent include conflicts between the two decoders.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20836 a1c6a512-1295-4272-9138-f99709370657
2009-05-01 23:24:23 +00:00
Dominik Riebeling
b22516f995 Make sure the global buffers for ipodpatcher and sansapatcher get allocated and freed only once. Fixes segfaults when the bootloader install class was instanciated multiple times.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20835 a1c6a512-1295-4272-9138-f99709370657
2009-05-01 21:35:06 +00:00
Boris Gjenero
f4943b90e6 Fix another FS#10130 issue - Set backlight and button light brightness via the backlight thread to avoid potential concurrency issues.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20834 a1c6a512-1295-4272-9138-f99709370657
2009-05-01 03:18:20 +00:00
Dominik Wenger
3c15e78349 rbutil: correct use of parent ptr in constructor.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20833 a1c6a512-1295-4272-9138-f99709370657
2009-04-30 19:52:34 +00:00
Dominik Riebeling
f679cf91cf Bootloader installation for ipod and sansa: override the scanning with the device pointed to by the mountpoint. This allows selecting the correct player if two of the same brand are connected (FS#10096).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20832 a1c6a512-1295-4272-9138-f99709370657
2009-04-30 19:14:24 +00:00
Alexander Levin
549fc95b8d Remove the (part of the) check that is actually not needed since the 'properties' section is optional
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20831 a1c6a512-1295-4272-9138-f99709370657
2009-04-30 05:07:45 +00:00
Thomas Martitz
23e505b32b Fix reds. libuisimulator.a apparently needs to be linked twice (aka quick fix as I don't know a better solution yet) :/
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20830 a1c6a512-1295-4272-9138-f99709370657
2009-04-29 22:58:56 +00:00
Thomas Martitz
a7f4e1f1c5 Simulate lcd_enable and lcd_sleep in the simulator. Therefore, turn backlight-sim.h into a .c too.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20829 a1c6a512-1295-4272-9138-f99709370657
2009-04-29 22:24:40 +00:00
Alexander Levin
ecd4394f62 Allow to specify DWIDTH at font level making DWIDTH at char level optional (FS#10176 by Yoshihisa Uchida with minor modifications by me)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20828 a1c6a512-1295-4272-9138-f99709370657
2009-04-29 21:51:04 +00:00
Dominik Riebeling
19c2588471 Move Settings class to base.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20827 a1c6a512-1295-4272-9138-f99709370657
2009-04-29 21:36:05 +00:00
Dominik Wenger
2265691102 rbutil: ups, forgot to update the .pro file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20826 a1c6a512-1295-4272-9138-f99709370657
2009-04-29 21:32:53 +00:00
Dominik Wenger
357d35c20e rbutil: move the tts and encoders and its settings interface to base/
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20825 a1c6a512-1295-4272-9138-f99709370657
2009-04-29 21:29:35 +00:00
Dominik Wenger
5b85ef6006 rbutil: completely rework how tts and encoders are configured. (FS#10070)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20824 a1c6a512-1295-4272-9138-f99709370657
2009-04-29 21:27:01 +00:00
Dominik Riebeling
3d2e42ab4c Completely rework RbSettings class.
- use a single member function for accessing a settings value.
- use an enum to figure the correct value in the settings file instead of functions.
- return the settings value as QVariant instead and leave converting to the caller.
- accept QVariant as value when setting values.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20823 a1c6a512-1295-4272-9138-f99709370657
2009-04-29 20:58:47 +00:00
Thomas Martitz
3c5e67516b FS#10151 - e200v2: scrollwheel acceleration by Dustin Skoracki. Improves the scroll wheel acceleration on the e200v2 mainly by not decrementing the counter which which causes the acceleration if a wheel read was missed due to lcd operation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20822 a1c6a512-1295-4272-9138-f99709370657
2009-04-29 20:50:12 +00:00
Michael Giacomelli
0a1baa36b1 Fix FS#10174 by correcting an oversimplification of the AAC window switching code I introduced with the unified IMDCT library. Should significantly improve accuracy for all AAC files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20821 a1c6a512-1295-4272-9138-f99709370657
2009-04-29 17:44:02 +00:00
Thomas Martitz
14731bc3e2 Hopefully fix lcd_sleep() from not be being called for targets without fading at all and being and being called too early for backlight always of on PWM fading targets. Also, clean up the code a bit by renaming the function that initiates fading on PWM.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20820 a1c6a512-1295-4272-9138-f99709370657
2009-04-28 08:57:38 +00:00
Karl Kurbjun
bee99e496f M:Robe 500: Fix red, commit missing work, reduce lcd wakeup time.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20819 a1c6a512-1295-4272-9138-f99709370657
2009-04-28 05:20:31 +00:00
Karl Kurbjun
57ca7ccf36 M:Robe 500: Rearrage TSC2100 reads to make touchscreen more reliable, add hack to get lcd_sleep working/called again, fix the panic handler so that it waits for the power button to be pressed instead of freezing the player
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20818 a1c6a512-1295-4272-9138-f99709370657
2009-04-28 05:07:25 +00:00
Dominik Riebeling
4e747f1c5c If downloading the build information didn't work don't try to populate the version information.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20817 a1c6a512-1295-4272-9138-f99709370657
2009-04-27 21:33:51 +00:00
Dominik Riebeling
a357c202a2 Fix missing include.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20816 a1c6a512-1295-4272-9138-f99709370657
2009-04-27 21:20:09 +00:00
Dominik Riebeling
e993d77a8e Rename display names for Sansas to include "series" to make it more clear that it's not a player model "e200". Change casing of e200 / c200 to lowercase to be in line with the actual print on the player. Include "v1" to be more specific.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20815 a1c6a512-1295-4272-9138-f99709370657
2009-04-27 20:10:48 +00:00
Dominik Riebeling
244ab33298 Fix the includes I forgot when renaming the ZipInstaller class file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20814 a1c6a512-1295-4272-9138-f99709370657
2009-04-27 19:58:24 +00:00
Dominik Riebeling
9104b808fd Rename installzip.{cpp,h} to better reflect the actual class name.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20813 a1c6a512-1295-4272-9138-f99709370657
2009-04-27 19:37:34 +00:00
Thomas Martitz
9adc03949f Revert r20786 as it caused problems with alternating sublines (they need to be reset if gui_wps_refresh() wasn't called for some time, since the subline timeout gets confused). Also, it needs to be set to get the update, since do_full_update will be set to false after track change no matter if an update happened.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20812 a1c6a512-1295-4272-9138-f99709370657
2009-04-27 18:57:51 +00:00
Dominik Riebeling
d111f3b66f Qt always assumes ini files to use Latin1 encoding but the theme site uses utf-8. Explicitly convert texts displayed to the user. Fixes non-ascii characters showing up incorrectly.
Replace some HTML entities for the themes list as that isn't parsed as HTML.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20811 a1c6a512-1295-4272-9138-f99709370657
2009-04-27 17:48:49 +00:00
Dominik Riebeling
40137a9c07 Trim description text before displaying and display newlines as line breaks.
Trim themes titles before displaying in the list to remove stray whitespace.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20810 a1c6a512-1295-4272-9138-f99709370657
2009-04-27 16:07:27 +00:00
Bertrik Sikken
0d6a28edc3 Enable FM radio on the sansa c200v2 (untested).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20809 a1c6a512-1295-4272-9138-f99709370657
2009-04-26 21:28:34 +00:00
Dominik Riebeling
e45a249916 Bump rbutil version to 1.2.1.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20807 a1c6a512-1295-4272-9138-f99709370657
2009-04-26 20:36:25 +00:00
Boris Gjenero
7e3f8e0c08 Remove workaround for FS#10130 from 5G iPod LCD sleep code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20806 a1c6a512-1295-4272-9138-f99709370657
2009-04-26 18:51:14 +00:00
Alex Parker
444080a2b9 Correct error in previous commit - the recording screen is again now only included in the manual if the target can record.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20805 a1c6a512-1295-4272-9138-f99709370657
2009-04-26 14:25:07 +00:00
Alex Parker
3ea02a85c5 Fix order of Recording settings and Manage settings in the manual. Thanks to Grahack in IRC for pointing out.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20804 a1c6a512-1295-4272-9138-f99709370657
2009-04-26 14:20:27 +00:00
Dominik Riebeling
fe1f8d545f Let unzip class accept files created by Info-Zip 3.0 instead of rejecting the files without reporting an error. Seems to not cause negative side effects but further investigation needed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20803 a1c6a512-1295-4272-9138-f99709370657
2009-04-26 13:05:33 +00:00
Dominik Riebeling
f43515eaf7 Update OSDaB Zip class to most current version from the projects svn repo (r7).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20802 a1c6a512-1295-4272-9138-f99709370657
2009-04-26 11:27:23 +00:00
Thomas Martitz
8e8c36019c FS#10126 - lcd_e200v2 cleanup by Michael Chicoine
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20801 a1c6a512-1295-4272-9138-f99709370657
2009-04-26 11:14:19 +00:00
Thomas Martitz
ace509a2ff FS#10158 - e200v2 button delay revisited by Michael Chicoine to fix some weirdnesses with button reading.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20800 a1c6a512-1295-4272-9138-f99709370657
2009-04-26 11:05:53 +00:00