Amaury Pouly
8ac77fe466
as3525v2-usb: fix bug in ep listing macro, rewrite EP0 handling using a state
...
There was a stupid bug in endpoint listing which caused random cancelling of EP0 transfers. The new scheme to handle EP0 transfers should avoid an unexpected setup packet which might cause a deadlock or confuse the core.
There is still an issue with the cancel_transfers function is still.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27178 a1c6a512-1295-4272-9138-f99709370657
2010-06-29 18:58:09 +00:00
Rafaël Carré
8056313781
Fuze: USB HID keymap copy/pasted from e200
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27177 a1c6a512-1295-4272-9138-f99709370657
2010-06-29 17:28:54 +00:00
Nils Wallménius
7c716d6eac
Clean up a leftover preprocessor symbol and improve the workaround for the 'arm-elf and static functions in iram' quirk so it doesn't affect builds with eabi toolchain (only affects nano2g).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27176 a1c6a512-1295-4272-9138-f99709370657
2010-06-29 14:57:52 +00:00
Teruaki Kawashima
5af120f1cb
some improvements for simple viewer.
...
* displays a scrollbar if there is more text than currently displayed.
* enables to scroll text by scrollwheel.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27175 a1c6a512-1295-4272-9138-f99709370657
2010-06-29 13:33:19 +00:00
Yoshihisa Uchida
470226dbbf
text viewer: some members of preferences change to bool. And simplify menu setting functions.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27174 a1c6a512-1295-4272-9138-f99709370657
2010-06-29 12:23:41 +00:00
Yoshihisa Uchida
25f44c2e1f
text viewer: move and delete #include.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27173 a1c6a512-1295-4272-9138-f99709370657
2010-06-29 11:37:58 +00:00
Yoshihisa Uchida
07d03729ff
text_viewer: callback functions are changed to the function that returns int value.
...
And the text viewer quits when the problem occurs by callback functions.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27172 a1c6a512-1295-4272-9138-f99709370657
2010-06-29 11:05:36 +00:00
Michael Sevakis
7195f3a30c
r27159 broke mpegplayer but not the mpa codec because its libmad init wasn't also updated to be compatible with the changes. Fix that.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27171 a1c6a512-1295-4272-9138-f99709370657
2010-06-29 10:07:04 +00:00
Michael Sevakis
d164678738
Gigabeat S: The forced shutoff voltage level can be lowered a tiny bit it seems.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27170 a1c6a512-1295-4272-9138-f99709370657
2010-06-29 07:29:42 +00:00
Robert Bieber
3313ab8bb1
Theme Editor: Implemented conditional rendering, most conditionals should work correctly now
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27169 a1c6a512-1295-4272-9138-f99709370657
2010-06-29 07:15:41 +00:00
Robert Bieber
449a895372
Theme Editor: Beginning to work on conditional rendering, just made fix to line following code to speed up horizontal scrolling
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27168 a1c6a512-1295-4272-9138-f99709370657
2010-06-29 06:14:36 +00:00
Robert Bieber
aa13a5377c
Theme Editor: Rearranged and separated tag execution and rendering code
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27167 a1c6a512-1295-4272-9138-f99709370657
2010-06-29 05:23:22 +00:00
Alexander Levin
942e427ef0
Simplify the 'blind' macro and imrove spacing where it's used
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27166 a1c6a512-1295-4272-9138-f99709370657
2010-06-28 22:39:45 +00:00
Yoshihisa Uchida
cf6554d891
text viewer: tv_window doesn't depend on the layout of the text viewer.
...
And display functions change the following.
- some functions change to static functions.
- fix the problem that font_changing flag is invalid value.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27165 a1c6a512-1295-4272-9138-f99709370657
2010-06-28 11:17:47 +00:00
Tobias Diedrich
31cf6d5013
Enable HID support, clean up usb-drv-as3525.c a bit, add a workaround for weird Linux behaviour (don't have Windows to test with), we don't need to set up USB_PHY_EPx_INFO (OF doesn't bother either).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27164 a1c6a512-1295-4272-9138-f99709370657
2010-06-28 09:46:13 +00:00
Andree Buschmann
df238bcaf5
Remove unneeded libmad files from build.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27163 a1c6a512-1295-4272-9138-f99709370657
2010-06-28 06:28:05 +00:00
Michael Chicoine
908271594a
Part of FS#11367 by me: e200v2 enable line out
...
Should also work for Fuzev1, although not tested. Connect dock after booting Rockbox. Connecting dock with power off will boot into OF.
TODO: enable/disable line out based on dock connection status, add additional devices (Fuzev2 and c200v2)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27162 a1c6a512-1295-4272-9138-f99709370657
2010-06-27 23:27:54 +00:00
Amaury Pouly
48b3de028e
as3525v2-usb: rework ep listing&xfers cancelling, implement speed reporting, first try at implementing disconnection
...
There is still a problem after the set address request which makes the driver working randomly.
I still didn't manage do get a proper disconnect interrupt.
From time to time, when unplugging cable, neither rockbox nor usb driver reports disconnect even.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27161 a1c6a512-1295-4272-9138-f99709370657
2010-06-27 22:06:30 +00:00
Andree Buschmann
c6ced1c466
Comment further unused code in libmad.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27160 a1c6a512-1295-4272-9138-f99709370657
2010-06-27 18:59:54 +00:00
Andree Buschmann
4c026f0c7f
Comment unused code in libmad. Clean up initialization and memset'ing of decoder arrays.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27159 a1c6a512-1295-4272-9138-f99709370657
2010-06-27 18:11:07 +00:00
Bertrik Sikken
9e86287946
Sansa clip+: prevent an unnecessary OF database refresh when using the wake-up alarm with a uSD card inserted (probably works for other AMSv2 targets too)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27158 a1c6a512-1295-4272-9138-f99709370657
2010-06-27 16:39:50 +00:00
Nils Wallménius
99517d6319
Fix inline asm argument. Shouldn't have much impact in practice but might save a load if gcc is clever.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27157 a1c6a512-1295-4272-9138-f99709370657
2010-06-27 15:15:46 +00:00
Teruaki Kawashima
1a3b93cf7d
FS#10925 by myself: add touchscreen support for virtual keyboard.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27156 a1c6a512-1295-4272-9138-f99709370657
2010-06-27 14:03:59 +00:00
Yoshihisa Uchida
668914b597
fix yellow.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27155 a1c6a512-1295-4272-9138-f99709370657
2010-06-27 11:45:12 +00:00
Yoshihisa Uchida
b5a26851e0
text viewer: display functions more changes.
...
- font functions move to tv_display.
- modify tv_init_display() and add tv_finalize_display().
- viewport functions are changed from global to static.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27154 a1c6a512-1295-4272-9138-f99709370657
2010-06-27 11:36:37 +00:00
Andree Buschmann
96233f9cf7
Refacture libmad's synthesis filter via macro usage. Comment unused special synthesis filter for half bandwidth.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27153 a1c6a512-1295-4272-9138-f99709370657
2010-06-27 11:21:44 +00:00
Yoshihisa Uchida
1ed3aba4f2
text viewer: simplify display functions.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27152 a1c6a512-1295-4272-9138-f99709370657
2010-06-27 08:08:33 +00:00
Tobias Diedrich
4b18976496
udelay between command and data write seems to get rid of the display glitches on C200v2
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27151 a1c6a512-1295-4272-9138-f99709370657
2010-06-27 03:24:56 +00:00
Tobias Diedrich
04f9aa8e55
Include usb-target.h for usb_remove_int().
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27150 a1c6a512-1295-4272-9138-f99709370657
2010-06-27 03:10:20 +00:00
Tobias Diedrich
d538db0259
Add one second timeout for USB enumeration, so we don't get stuck in USB mode if it's just a charger.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27149 a1c6a512-1295-4272-9138-f99709370657
2010-06-27 03:04:44 +00:00
Tobias Diedrich
eefe273ce6
DBOP noise on C200v2 goes away if we precharge long enough.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27148 a1c6a512-1295-4272-9138-f99709370657
2010-06-27 02:50:24 +00:00
Tobias Diedrich
ac40959c48
Swap ccache and
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27147 a1c6a512-1295-4272-9138-f99709370657
2010-06-26 21:55:09 +00:00
Frank Gevaerts
7db309cad3
Move two remaining lines to the Text layer
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27146 a1c6a512-1295-4272-9138-f99709370657
2010-06-26 19:47:20 +00:00
Alex Parker
51671e4c45
Give the lrcplayer manual entry a good seeing to.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27145 a1c6a512-1295-4272-9138-f99709370657
2010-06-26 15:26:38 +00:00
Alex Parker
a30c5a0a4d
Correct spelling in the lrcviewer plugin. UK English please!
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27144 a1c6a512-1295-4272-9138-f99709370657
2010-06-26 15:26:33 +00:00
Yoshihisa Uchida
c72d1a656b
fix red.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27143 a1c6a512-1295-4272-9138-f99709370657
2010-06-26 12:27:43 +00:00
Yoshihisa Uchida
17383c2691
text viewer: some modify text viewer's layout and preferences.
...
- layout: hader, footer and horizontal_scrollbar add padding.
- add member 'statusbar' in tv_preferences.
- delete HD_SBAR/HD_BOTH/FT_SBAR/FT_BOTH.
- deletes the function to check header_mode/footer_mode.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27142 a1c6a512-1295-4272-9138-f99709370657
2010-06-26 12:17:01 +00:00
Michael Sevakis
e0bb92f00f
Should clear up rest of red. Add a required #define in the config for c200. Fix up some preprocessing directives. Hope it's all taken care of now.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27141 a1c6a512-1295-4272-9138-f99709370657
2010-06-26 10:37:41 +00:00
Michael Sevakis
c3eca575b6
Fix red. Thought I had REC_SAMPR_DEFAULT covered if not otherwise specified as different than 44.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27140 a1c6a512-1295-4272-9138-f99709370657
2010-06-26 10:17:18 +00:00
Michael Sevakis
b15a523870
e200v1/c200v1: Implement limited samplerate switching. Rates 24kHz and below are being a bear as far as minor crackling at higher amplitude-- leave them out for the time being since no solution is currently evident. 48, 44, 32 (rec rates 24, 22, 16) seem perfectly fine. I'm betting c200 is ok to include because it uses the same setup as e200.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27139 a1c6a512-1295-4272-9138-f99709370657
2010-06-26 10:07:17 +00:00
Yoshihisa Uchida
ac622c6d67
text viewer: reworks screen access logics and some bugs fix.
...
- screen access logics separte from tv_window. (new tv_display.[ch])
- using multi screen api.
- (bug fix) the head of the each line is not normally displayed when the alignment is RIGHT.
- (bug fix) unnecessary blank line is not displayed. (a part of FS#11400).
- (bug fix) the order by which callback functions were called was not correct. (FIFO->FILO)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27138 a1c6a512-1295-4272-9138-f99709370657
2010-06-26 09:14:53 +00:00
Robert Bieber
be70fd89be
Theme Editor: Added an edit menu with a find/replace function (copied from an LGPL library)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27137 a1c6a512-1295-4272-9138-f99709370657
2010-06-26 07:59:23 +00:00
Robert Bieber
5300c7014d
Theme Editor: Added Show Viewports option to device configuration panel, implemented simple rendering of info tags from device configuration
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27136 a1c6a512-1295-4272-9138-f99709370657
2010-06-26 05:51:07 +00:00
Robert Bieber
c32728c91c
Theme Editor: Began integrating device configuration panel with renderer
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27135 a1c6a512-1295-4272-9138-f99709370657
2010-06-26 05:18:21 +00:00
Marianne Arnold
d93164d6c9
Manual SVGs: move one line that still was on the wrong layer to its correct place in the e200 drawing. Let all colour targets show a black background behind the logo as they do during boot in reality.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27134 a1c6a512-1295-4272-9138-f99709370657
2010-06-25 21:42:42 +00:00
Marianne Arnold
3dcf678428
Target SVGs: Put arrows that explain scrollwheel movement onto the 'Text' layer if it hadn't been done previosly.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27133 a1c6a512-1295-4272-9138-f99709370657
2010-06-25 21:13:03 +00:00
Marianne Arnold
a07b471f69
Add 'Text' layer for labels in the following SVGs: Iaudio M3 and M5, Cowon D2, M:Robe 500 and Sansa Clip. Also set svn:mime-type to 'image/svg+xml' for all SVGs.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27132 a1c6a512-1295-4272-9138-f99709370657
2010-06-25 20:34:08 +00:00
Björn Stenberg
a6ef57152a
Renamed button description layer to 'Text'.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27131 a1c6a512-1295-4272-9138-f99709370657
2010-06-25 19:55:59 +00:00
Rafaël Carré
d9ae5674a7
lcd-m6sp.c: remove \r
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27130 a1c6a512-1295-4272-9138-f99709370657
2010-06-25 13:32:57 +00:00
Robert Bieber
33595878aa
Theme Editor: Added a reset zoom button, made icons for all the zoom buttons
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27129 a1c6a512-1295-4272-9138-f99709370657
2010-06-25 06:56:15 +00:00