Nils Wallménius
f443d026ec
FS#10711 by Martin Ritter fixes handling of the 'First Keypress Enables Backlight Only' setting in simulators
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23849 a1c6a512-1295-4272-9138-f99709370657
2009-12-04 22:43:33 +00:00
Rafaël Carré
85fd100079
si4700: revert r22641
...
bits 13:0 must not be modified (except for bit 8 ?)
fixes FM on my Clipv1 (some Clips weren't affected)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23826 a1c6a512-1295-4272-9138-f99709370657
2009-12-03 06:14:30 +00:00
Laurent Gautier
0260852771
Add support for the ipod FM remote to the 4G, Color, 5G, nano 1G with RDS
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23805 a1c6a512-1295-4272-9138-f99709370657
2009-12-01 17:54:40 +00:00
Tomer Shalev
81a91dd46e
Reduce bin size of diacritic characters database
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23787 a1c6a512-1295-4272-9138-f99709370657
2009-11-29 20:47:18 +00:00
Tomer Shalev
c2617dc4ed
Diacritic display enhancements
...
- Use the fact that unicode code currently does not support chars above 0xffff
(see utf8decode()), and change diacritic database's char code type to
unsigned short from int. Also comment out database entries above unsupported
range.
- Use const when possible.
- Iterate over buffer using the buffer's pointer, thus avoiding usage of some
variables, and avoiding multiple access to the same array item.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23776 a1c6a512-1295-4272-9138-f99709370657
2009-11-28 17:07:57 +00:00
Frank Gevaerts
7ccff054ff
Use MULTIDRIVE instead of MULTIVOLUME in sd.c
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23766 a1c6a512-1295-4272-9138-f99709370657
2009-11-26 21:43:26 +00:00
Tomer Shalev
39bfe3153a
Fix diacritic and save some bin size
...
- Fix bug which cause wrong placement of characters in some specific conditions
- Fix multiple similar entries in cache
- Protect against negative x values passed to drawing function
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23765 a1c6a512-1295-4272-9138-f99709370657
2009-11-26 18:09:56 +00:00
Maurus Cuelenaere
d052ced874
Merge branch 'hotswap'
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23759 a1c6a512-1295-4272-9138-f99709370657
2009-11-26 16:57:30 +00:00
Frank Gevaerts
75ce9606a1
Limit character width to 255 pixels
...
Use intermediate variable to fix yellow and red
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23744 a1c6a512-1295-4272-9138-f99709370657
2009-11-24 21:34:24 +00:00
Frank Gevaerts
a68ad9e521
make lcd_bitmap_char more space efficient. This doesn't seem to impact text drawing performance
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23743 a1c6a512-1295-4272-9138-f99709370657
2009-11-24 21:18:26 +00:00
Tomer Shalev
7682cb5ca8
FS#10720 - Support for displaying diacritic characters
...
This commit corrects the display of diacritic characters, which exist in many
languages. Hopefully, it will make Rockbox much more usable for users of these
languages.
Diacritic information (which used to decide whether a given character is
diacritic or not) is taken from the Unicode Standard, Version 5.2.
This feature does not affect drawing performance much, as the diacritic
database is cached (simple MRU mechanism).
There may be room for further performance, footprint, and
code-reuse wise improvements, that could be worked on in the future.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23742 a1c6a512-1295-4272-9138-f99709370657
2009-11-24 20:41:42 +00:00
Torne Wuff
640d98de0f
FS#9721 - No error check after writes in ata.c
...
Patch by Boris Gjenero (dreamlayers). Writes are retried on failure now so this should be safe.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23741 a1c6a512-1295-4272-9138-f99709370657
2009-11-24 18:09:21 +00:00
Torne Wuff
b896e86842
FS#10798 - unify ata_read_sectors and ata_write_sectors
...
Writes will now be retried if they fail, and will be done using multisector transfers which should be faster.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23740 a1c6a512-1295-4272-9138-f99709370657
2009-11-24 18:03:57 +00:00
Teruaki Kawashima
1fe6f13b9c
lcd-bitmap-common.c: Change calculation of the horizontal position in lcd_puts_style_offset() so that the position is independent from the string being printed.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23705 a1c6a512-1295-4272-9138-f99709370657
2009-11-22 15:43:57 +00:00
Frank Gevaerts
3502e70366
Fix Free and Disk size display when SECTOR_SIZE!=512
...
Flyspray: FS#10656
Author: Laurent Papier
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23595 a1c6a512-1295-4272-9138-f99709370657
2009-11-09 22:53:54 +00:00
Karl Kurbjun
4a0dd83971
Fix Red
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23553 a1c6a512-1295-4272-9138-f99709370657
2009-11-07 18:55:50 +00:00
Karl Kurbjun
dcc52f581c
Fix two width calculations
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23552 a1c6a512-1295-4272-9138-f99709370657
2009-11-07 18:48:35 +00:00
Karl Kurbjun
765ff0130a
Add optional viewport clipping, can be enabled with HAVE_VIEWPORT_CLIP. A simulator check is also added to set_viewport that will show an error/note when DEBUGF is enabled.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23551 a1c6a512-1295-4272-9138-f99709370657
2009-11-07 18:38:46 +00:00
Nils Wallménius
070d515049
Fix same bug as in r23531 in two more drivers (wrong masking of wday)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23536 a1c6a512-1295-4272-9138-f99709370657
2009-11-05 17:01:22 +00:00
Robert Kukla
dca5fd1064
RTC read of ds1339 of ds3231 weekday
...
Flyspray: FS #10760
Author: Simon Rothen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23531 a1c6a512-1295-4272-9138-f99709370657
2009-11-05 09:10:03 +00:00
Jeffrey Goode
9d842683eb
Comment out LOGF_ENABLE defines everywhere, replace evil comments
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23497 a1c6a512-1295-4272-9138-f99709370657
2009-11-03 16:25:03 +00:00
Bob Cousins
deb1b0e51c
Improvements to mini2440 audio; change CPU freq to 406MHz
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23495 a1c6a512-1295-4272-9138-f99709370657
2009-11-03 13:50:52 +00:00
Karl Kurbjun
02385cb5b0
M:Robe 500/M66591 USB improvements: Interrupts now work, a bug in odd-length transfers has been fixed. Buffers that are not initially short aligned are also now supported. Enable USB HID mouse mode.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23483 a1c6a512-1295-4272-9138-f99709370657
2009-11-02 04:37:57 +00:00
Bob Cousins
33040275cf
Improvements to mini2440/UDA1341 audio
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23478 a1c6a512-1295-4272-9138-f99709370657
2009-11-01 22:58:08 +00:00
Michael Chicoine
6e54cabd2c
Remove svn:executable from firmware
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23432 a1c6a512-1295-4272-9138-f99709370657
2009-10-31 02:26:40 +00:00
Dominik Wenger
90b576f55e
Many more drivers for mini2440. Now the main binary compiles and runs.
...
Flyspray: FS#10725
Author: Bob Cousins
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23362 a1c6a512-1295-4272-9138-f99709370657
2009-10-26 18:16:58 +00:00
Jens Arnold
17d7f023b7
Save one branch for archs without conditional execution (e.g. coldfire).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23355 a1c6a512-1295-4272-9138-f99709370657
2009-10-26 01:55:19 +00:00
Thomas Martitz
78c956d73b
Make current_vp static and importings from Gigabeat F/X/S lcd drivers as they don't need it anymore.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23354 a1c6a512-1295-4272-9138-f99709370657
2009-10-26 01:44:39 +00:00
Jens Arnold
5365cbe0a5
Color targets: Ported assembler optimised transparent bitmap drawing from Gigabeat S/F/X to all ARM targets (~23..40% speedup). * C optimised transparent bitmap drawing for non-ARM targets and sims. * Use the more compact boundary checking for non-transparent native bitmap drawing as well.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23353 a1c6a512-1295-4272-9138-f99709370657
2009-10-26 01:35:31 +00:00
Thomas Martitz
d85c3ec410
Convert lcd_activation callbacks to use the event system to allow for multiple parallel callbacks (for custom statusbar).
...
Increase maximum event count as we need more (I actually had a report about it during custom statusbar testing).
Removed corresponding functions from the core and plugin api. Bump min version and sort.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23302 a1c6a512-1295-4272-9138-f99709370657
2009-10-20 21:54:59 +00:00
Thomas Martitz
3ad3bec0ad
Use strlcpy instead of a memset&strcpy combo. Guarantees \0-terminaltion and gives a 1-3% speed up.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23284 a1c6a512-1295-4272-9138-f99709370657
2009-10-20 00:09:16 +00:00
Thomas Martitz
137d27af42
Fix a scrolling bug with centered drawing and too long lines.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23282 a1c6a512-1295-4272-9138-f99709370657
2009-10-19 22:49:41 +00:00
Nils Wallménius
f34a841b0c
Revise r23225 a bit, removing the debug_printf function and implementing more generic lcd_(remote)_putsf function(s) instead and use those in more places
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23233 a1c6a512-1295-4272-9138-f99709370657
2009-10-17 18:02:48 +00:00
Rob Purchase
d29114c671
Touchscreen support for newer Cowon D2+ hardware revisions (using TSC200x touchscreen controller).
...
Flyspray: FS#10671
Author: Jonas Aaberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23194 a1c6a512-1295-4272-9138-f99709370657
2009-10-15 20:13:29 +00:00
Rob Purchase
48658eec41
Replace a couple of magic numbers with the appropriate constants.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23138 a1c6a512-1295-4272-9138-f99709370657
2009-10-12 19:00:59 +00:00
Tomer Shalev
736ea79e63
Fix FS#10670 - The first letter of a scrolling line starts to appear at the end
...
of the line
Thanks to Teruaki Kawashima (teru) for providing this solution
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23132 a1c6a512-1295-4272-9138-f99709370657
2009-10-12 16:31:44 +00:00
Tomer Shalev
461903d80e
LCD scrolling - reduce one 'if' nesting level
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23125 a1c6a512-1295-4272-9138-f99709370657
2009-10-12 04:29:47 +00:00
Tomer Shalev
aee6901953
LCD scrolling - fix a typo
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23124 a1c6a512-1295-4272-9138-f99709370657
2009-10-12 04:28:56 +00:00
Rob Purchase
7cfd418a9b
D2: Reduce binsize a bit by using arrays for the PMU initialisation.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23120 a1c6a512-1295-4272-9138-f99709370657
2009-10-11 21:12:06 +00:00
Tomer Shalev
74d3671af2
Revert r23021, since it broke non-RTL scrolling. RTL scrolling still needs fixing
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23118 a1c6a512-1295-4272-9138-f99709370657
2009-10-11 20:49:27 +00:00
Tomer Shalev
d5b076b64a
RTL: Cosmetic changes, no functional change - Rename constants
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23117 a1c6a512-1295-4272-9138-f99709370657
2009-10-11 20:15:22 +00:00
Rob Purchase
6170f01642
D2: The RTC chip needs to be runtime detected.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23112 a1c6a512-1295-4272-9138-f99709370657
2009-10-11 17:46:00 +00:00
Thomas Martitz
a79dc87761
Add a center flag, next to the rtl flag, for viewports. That results in any text being drawn centered. It overrides the RTL flag if set.
...
Simplify splashes and time menu by using it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23105 a1c6a512-1295-4272-9138-f99709370657
2009-10-11 12:21:27 +00:00
Karl Kurbjun
d784507e93
Forgot to add 22kHz
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23090 a1c6a512-1295-4272-9138-f99709370657
2009-10-11 06:10:39 +00:00
Karl Kurbjun
173d854e7f
M:Robe 500: Add support for more audio frequencies, initialize and set the touchscreen PWD pin.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23089 a1c6a512-1295-4272-9138-f99709370657
2009-10-11 06:08:14 +00:00
Rob Purchase
16ada4cb81
Initial support for runtime detection of the PMU used in newer D2+ models (PCF50635). The backlight and battery monitoring should work, but the RTC and touchscreen are not yet implemented.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23078 a1c6a512-1295-4272-9138-f99709370657
2009-10-10 17:35:02 +00:00
Michael Chicoine
a4d62bd329
as3514 RTC driver: correct calculation, fixes FS#10625
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23037 a1c6a512-1295-4272-9138-f99709370657
2009-10-09 09:44:55 +00:00
Mohamed Tarek
7220cbb890
Fix a bug in a bidirectional text scrolling; s->offset doesn't need to be set when backward scrolling starts. This fixes bidirectional scrolling in
...
RTL and for certain file-names in LTR.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23022 a1c6a512-1295-4272-9138-f99709370657
2009-10-09 01:05:40 +00:00
Mohamed Tarek
2282607224
Handle text scrolling in RTL.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23021 a1c6a512-1295-4272-9138-f99709370657
2009-10-09 00:56:37 +00:00
Rob Purchase
292a53da4b
D2: Use a common function for reading ADC values from the PMU
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23007 a1c6a512-1295-4272-9138-f99709370657
2009-10-08 15:47:43 +00:00