Magnus Holmgren
f733ec194f
Fix for FS#10492, by Aoyumi: Data abort errors when playing some Vorbis files.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22653 a1c6a512-1295-4272-9138-f99709370657
2009-09-07 19:39:51 +00:00
Thomas Martitz
649b50cba1
Set list_need_reinit to false somewhere too.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22652 a1c6a512-1295-4272-9138-f99709370657
2009-09-07 17:40:43 +00:00
Thomas Martitz
2eb1cb6f82
Fix buttonbar handling/theme changed handling in lists.
...
The lists need to copy to a local parent if a list passes NULL as parent in the init. This was before the commit of custom ui vp, but I removed it since I (wrongly) thought using the ui vp as parent would be fine. Let the viewportmanager fire a event in case when a theme-related setting changed and simply the handling in the lists code.
However the buttonbar handling didn't work before anyway, since list code didn't know if the buttonbar was active (it asked a variable which was always false....).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22651 a1c6a512-1295-4272-9138-f99709370657
2009-09-07 17:37:06 +00:00
Karl Kurbjun
47611321c0
M:Robe 500: Fix glitches when using DMA for LCD updates.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22650 a1c6a512-1295-4272-9138-f99709370657
2009-09-07 17:12:57 +00:00
Karl Kurbjun
0633a9aaac
Plasma: Add hardware support for 256 color palette mode.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22649 a1c6a512-1295-4272-9138-f99709370657
2009-09-07 14:00:38 +00:00
Jonathan Gordon
18286d3cc5
stupid yellow.... I'm going to bed
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22648 a1c6a512-1295-4272-9138-f99709370657
2009-09-07 07:58:55 +00:00
Jonathan Gordon
8bf50ecf48
add a bit more debug info for skins... show the subimage id in the display image token's debug line
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22647 a1c6a512-1295-4272-9138-f99709370657
2009-09-07 07:51:58 +00:00
Jonathan Gordon
fe2f042670
rework AA load/display handling in the skins to get them working in viewports again
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22646 a1c6a512-1295-4272-9138-f99709370657
2009-09-07 02:36:56 +00:00
Maurus Cuelenaere
8898339fcf
Lua plugin: fix bad behaviour for io.open(path, 'w')
...
Author: Christophe Gragnic
Patch: FS#10592
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22645 a1c6a512-1295-4272-9138-f99709370657
2009-09-06 21:41:48 +00:00
Jonathan Gordon
3fa1684301
move the CONFIG_LED #define out into config.h as all but 3 targets actually have a real one (and apparently lots had it #defined in a !SIMULATOR block! )
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22644 a1c6a512-1295-4272-9138-f99709370657
2009-09-06 17:12:09 +00:00
Jonathan Gordon
ef7018a7ff
fix red :)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22643 a1c6a512-1295-4272-9138-f99709370657
2009-09-06 16:54:43 +00:00
Jonathan Gordon
9f4f5dbc26
Make the e200 compile the vled for the sim... other targets are probably doing the same thing so find out which.. commit will be immediatly followed to fixd red
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22642 a1c6a512-1295-4272-9138-f99709370657
2009-09-06 16:54:04 +00:00
Bertrik Sikken
66499ecad0
Sansa c200v2: fix si4700 tuner initialisation to make it work for the c200v2
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22641 a1c6a512-1295-4272-9138-f99709370657
2009-09-06 14:52:38 +00:00
Dominik Wenger
fc79569c33
rbutil: correct several name entrys in the rbutil.ini file.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22640 a1c6a512-1295-4272-9138-f99709370657
2009-09-06 14:23:17 +00:00
Teruaki Kawashima
d41e698ea0
brickmania, blackjack, jewels, bubbles: Remove save file only if player resumed the game loaded from the file.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22639 a1c6a512-1295-4272-9138-f99709370657
2009-09-06 14:14:22 +00:00
Thomas Martitz
c17037a802
Factor out/generalise the function that checks whether a point is within a viewport to, and use it in the wps' touchregion code. This corrects the check that was done there.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22638 a1c6a512-1295-4272-9138-f99709370657
2009-09-05 23:57:09 +00:00
Thomas Martitz
a17d06ccc3
Improve and simplify touchscreen handling of the quickscreen in absolut mode - and implement handling for the top item.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22637 a1c6a512-1295-4272-9138-f99709370657
2009-09-05 23:32:16 +00:00
Thomas Martitz
9c938a23b9
Don't forget the touchscreen targets!
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22636 a1c6a512-1295-4272-9138-f99709370657
2009-09-05 19:04:23 +00:00
Bertrik Sikken
533c29b2f2
Sansa c200v2: update DBOP button reading mechanism, this enables readout of the volume buttons, rec and hold button.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22635 a1c6a512-1295-4272-9138-f99709370657
2009-09-05 18:56:59 +00:00
Thomas Martitz
4034e0b47f
Put the quickscreen viewports onto the stack (saving a tiny bit of ram), and simplify the preparing and drawing functions a bit.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22634 a1c6a512-1295-4272-9138-f99709370657
2009-09-05 18:52:44 +00:00
Thomas Martitz
dee9277a09
Fix FS#9842 by stopping scrolling before leaving the yesno screen.
...
Seems there are more of this scrolling problems around. In this case it's a rather old bug actually.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22633 a1c6a512-1295-4272-9138-f99709370657
2009-09-05 18:10:41 +00:00
Thomas Martitz
50c3c76b13
Fix FS#10588 by stopping scrolling in the radio screen instead of blindy relying on list code (which doesn't just stop scrolling entirely for the whole screen anymore).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22632 a1c6a512-1295-4272-9138-f99709370657
2009-09-05 14:38:35 +00:00
Thomas Martitz
42e6638420
Fix bug in viewports preparation (screen.lcdwidth() isn't really proper for this in times of custom ui vp), and stop all scrolling before exiting (fixes FS#10584).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22631 a1c6a512-1295-4272-9138-f99709370657
2009-09-05 14:38:29 +00:00
Teruaki Kawashima
f85e53f114
remove extra 1 element in arrays. use same counter for both manual and auto fire. break long lines.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22630 a1c6a512-1295-4272-9138-f99709370657
2009-09-05 13:02:21 +00:00
Dominik Riebeling
2417023652
Make mkamsboot Makefile operate silent per default.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22629 a1c6a512-1295-4272-9138-f99709370657
2009-09-05 08:54:52 +00:00
Thomas Martitz
e91fe1e543
Increase the button delays slightly to aid against sporadic missreads of the hold button an sporadic blue pixels on the display.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22628 a1c6a512-1295-4272-9138-f99709370657
2009-09-05 03:50:11 +00:00
Thomas Martitz
46c719aac8
Make the Fuze usable again by inserting a few delays in the lcd functions, core rockbox should be fine now. NOTE: *After exiting* plugins (e.g. doom, plasma, pictureflow) which do heavy lcd updates, the Fuze still fails (backlight goes off) -- I have no idea how that happens yet, Unless I find a fix for that within the next few days, I'm probably going to revert one/both of the lcd speedup commits.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22627 a1c6a512-1295-4272-9138-f99709370657
2009-09-05 03:50:04 +00:00
Mark Arigo
bcb3d52582
Fix display bug in the Samsung YH-920 on partial lcd updates.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22626 a1c6a512-1295-4272-9138-f99709370657
2009-09-05 00:46:49 +00:00
Alexander Levin
3c3d39e836
Fix typos in the comment
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22625 a1c6a512-1295-4272-9138-f99709370657
2009-09-04 22:00:30 +00:00
Dominik Wenger
4d86861ce5
rbutil: modify buildsystem so you can build outside of the rbutilqt directoy. (similar to the normal buildsystem). Attention: Spaces in the path will cause errors.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22624 a1c6a512-1295-4272-9138-f99709370657
2009-09-04 21:31:17 +00:00
Dominik Riebeling
4dd44bffb0
Explicitly set CC to prevent make trying to use cc instead. Fixes build issues on w32.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22623 a1c6a512-1295-4272-9138-f99709370657
2009-09-04 19:54:18 +00:00
Thomas Martitz
3c47d94668
Alright, it seems I got scroll_stop() wrong. Using the viewport that's set before doing all the puts_scroll* calls seems to work.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22622 a1c6a512-1295-4272-9138-f99709370657
2009-09-04 16:34:55 +00:00
Nils Wallménius
0cb6803227
Const police raid\!
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22621 a1c6a512-1295-4272-9138-f99709370657
2009-09-04 16:04:02 +00:00
Vitja Makarov
b5e39c15a5
iaudio7: Implement udelay, mostly based on D2 port, except Z-clock initialization
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22620 a1c6a512-1295-4272-9138-f99709370657
2009-09-04 09:36:53 +00:00
Jonathan Gordon
4b4e5e9265
fix checkwps
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22619 a1c6a512-1295-4272-9138-f99709370657
2009-09-04 06:24:13 +00:00
Jonathan Gordon
d466cb9beb
minor line handling fixes, be smarter (well dumber actually) about increasing the size of the tokens array, that loop isnt the only place the data->num_tokens variable gets increased... also add one last WPS_NO_TOKEN token to the end to make sure we dont accidently overrun into the next skin on the last line of a skin.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22618 a1c6a512-1295-4272-9138-f99709370657
2009-09-04 06:17:38 +00:00
Karl Kurbjun
ae181ca0ca
Clock: Fix rendering.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22617 a1c6a512-1295-4272-9138-f99709370657
2009-09-04 04:13:38 +00:00
Karl Kurbjun
067172ae54
Explain the stride and fix the player.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22616 a1c6a512-1295-4272-9138-f99709370657
2009-09-04 01:28:50 +00:00
Karl Kurbjun
25123570c7
Fix STRIDE macro for multiscreen and add stride support for picture lib.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22615 a1c6a512-1295-4272-9138-f99709370657
2009-09-04 00:46:24 +00:00
Jonathan Gordon
f6025186fd
stop a potential crash caused by r22438
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22614 a1c6a512-1295-4272-9138-f99709370657
2009-09-04 00:41:38 +00:00
Thomas Martitz
2ab627d309
Change r22610 a bit. The new parent viewport isn't really suitable.
...
The new parent might be smaller than the previous one, causing the old list to not stop scrolling. Full-screen stop scrolling isn't correct either though, so we pick the currnet ui viewport to stop scrolling.
This was actually a bug (attempted to fix in r22610) discovered in the custom statusbar patch, where the lists stopped the statusbar text from scrolling.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22613 a1c6a512-1295-4272-9138-f99709370657
2009-09-04 00:40:50 +00:00
Karl Kurbjun
3f2e28b0f5
Sim: Add support for vertical stride.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22612 a1c6a512-1295-4272-9138-f99709370657
2009-09-04 00:38:01 +00:00
Magnus Holmgren
7f03af08fa
Quick fix to allow certain MP3 files to play. If a Xing or Info header didn't properly set both the frame count and byte count, then the bitrate was set to zero, preventing playback. Better to use the bitrate of the first audio frame in this case. (More sanity checking of the frame count should perhaps be done.)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22611 a1c6a512-1295-4272-9138-f99709370657
2009-09-03 21:14:13 +00:00
Thomas Martitz
af2dcbb8e1
Don't stop scrolling for the whole display, but only in the actual list parent viewport.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22610 a1c6a512-1295-4272-9138-f99709370657
2009-09-03 13:38:52 +00:00
Rob Purchase
36ae569532
Make the left quickscreen item work in touchscreen grid mode.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22609 a1c6a512-1295-4272-9138-f99709370657
2009-09-02 20:05:01 +00:00
Karl Kurbjun
0ba0fbb3e7
Pictureflow: Fix define
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22608 a1c6a512-1295-4272-9138-f99709370657
2009-09-02 12:04:11 +00:00
Vitja Makarov
9131b16938
i7: Notify the backlight driver when the HOLD button is toggled, same as D2
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22607 a1c6a512-1295-4272-9138-f99709370657
2009-09-02 12:03:37 +00:00
Jonathan Gordon
8f76e7ff8f
rename wps_[sub]line to skin_[sub]line
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22606 a1c6a512-1295-4272-9138-f99709370657
2009-09-02 06:23:01 +00:00
Karl Kurbjun
a363507a43
Fix collision detection for invadrox
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22605 a1c6a512-1295-4272-9138-f99709370657
2009-09-02 03:44:04 +00:00
Karl Kurbjun
f0becad4a1
Pictureflow: Add support for vertical strides.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22604 a1c6a512-1295-4272-9138-f99709370657
2009-09-02 03:32:50 +00:00