Commit graph

12159 commits

Author SHA1 Message Date
Jonathan Gordon
99a2299654 allow %pb and %pv (long form) to be put inside conditionals (i.ee not eat the whole line).
If this causes your theme to break you need to add a # after the line.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25616 a1c6a512-1295-4272-9138-f99709370657
2010-04-13 07:32:00 +00:00
Tomer Shalev
886cd3fb85 Text viewer: Fix wrong calculation of bookmark's position (introduced by r25611)
Also change message shown for bookmark operations and add comment


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25614 a1c6a512-1295-4272-9138-f99709370657
2010-04-12 21:15:10 +00:00
Tomer Shalev
1a94554fd7 Text viewer: Fix FS#11190 - Text Viewer shows no Text when skipping to last page
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25612 a1c6a512-1295-4272-9138-f99709370657
2010-04-12 19:28:41 +00:00
Tomer Shalev
305dd65650 Text viewer: Make calculation clearer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25611 a1c6a512-1295-4272-9138-f99709370657
2010-04-12 19:25:28 +00:00
Tomer Shalev
199f3bd7c2 Text viewer: Remove unused max_line_len variable
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25610 a1c6a512-1295-4272-9138-f99709370657
2010-04-12 19:24:05 +00:00
Alexander Levin
bfd53beda4 Mark const return value; correct the comment about valid menu items for the hotkey
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25607 a1c6a512-1295-4272-9138-f99709370657
2010-04-12 16:44:02 +00:00
Yoshihisa Uchida
5209ed44a0 fix yellow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25606 a1c6a512-1295-4272-9138-f99709370657
2010-04-12 12:15:35 +00:00
Yoshihisa Uchida
bc28939e04 viewer plugin: when the alignment is RIGHT, supports WIDE screen.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25605 a1c6a512-1295-4272-9138-f99709370657
2010-04-12 12:02:05 +00:00
Rafaël Carré
2252b2dcec test_codec is SWCODEC only
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25604 a1c6a512-1295-4272-9138-f99709370657
2010-04-12 11:57:39 +00:00
Rafaël Carré
f462c1b109 some test plugins have dependencies
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25603 a1c6a512-1295-4272-9138-f99709370657
2010-04-12 11:09:07 +00:00
Jens Arnold
4f551a00df FS #11153 by Marcin Bukat: Make memory layout for plugins and codecs only depend on SoC for coldfire as well, in preparation for the MPIO HD200 port.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25598 a1c6a512-1295-4272-9138-f99709370657
2010-04-11 20:53:18 +00:00
Andree Buschmann
6999e5debe Use r12 to save 1 register.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25597 a1c6a512-1295-4272-9138-f99709370657
2010-04-11 19:08:44 +00:00
Andree Buschmann
efb702dc9b Add arm assembler for dsp_apply_gain(). Speeds up this routine by 30-40% on PP502x.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25596 a1c6a512-1295-4272-9138-f99709370657
2010-04-11 19:02:43 +00:00
Jeffrey Goode
7d5b23e1f1 Small hotkey code changes for readability
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25589 a1c6a512-1295-4272-9138-f99709370657
2010-04-11 13:17:23 +00:00
Jens Arnold
268c6d1e7f Fix two viewport related charcell bugs: crashes in the yesno screen and the USB screen. This mess should really be fixed properly by enabling viewport management for charcell.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25587 a1c6a512-1295-4272-9138-f99709370657
2010-04-11 12:28:02 +00:00
Jonathan Gordon
a1c0d5597f shuld fix red and yellow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25585 a1c6a512-1295-4272-9138-f99709370657
2010-04-11 11:40:47 +00:00
Jonathan Gordon
4421746357 Rework how progressbars are managed so you can have as many bars in a viewport as you want (!).
Change %pv (volume) to be able to be drawn in the same style as %pb (using a line or a bmp). %pv - no change, %pv|bmp|x|y|width|height| exactly like %pb
DO NOT use %?pv|....| because it will draw when you dont want it to!


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25584 a1c6a512-1295-4272-9138-f99709370657
2010-04-11 11:18:45 +00:00
Yoshihisa Uchida
9d633740a4 viewer plugin: when the setting file loads or saves, converts to new version settings file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25583 a1c6a512-1295-4272-9138-f99709370657
2010-04-11 06:39:37 +00:00
Jeffrey Goode
bbbf5290a5 Bug fix from r25577. Oops.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25582 a1c6a512-1295-4272-9138-f99709370657
2010-04-11 02:32:58 +00:00
Jeffrey Goode
ef30d7ef71 FS#11195, plus. Simplified hotkey struct, thanks alle!
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25581 a1c6a512-1295-4272-9138-f99709370657
2010-04-11 00:32:16 +00:00
Jeffrey Goode
e2eff494a3 Fix yellow: pointer cast
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25578 a1c6a512-1295-4272-9138-f99709370657
2010-04-10 21:53:55 +00:00
Jeffrey Goode
4f3f7dd856 Fix bookmarks for hwcodec targets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25577 a1c6a512-1295-4272-9138-f99709370657
2010-04-10 21:41:01 +00:00
Jeffrey Goode
55064f7b7d New bookmarks contain pitch and speed info. Old bookmarks still work, behavior unchanged.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25576 a1c6a512-1295-4272-9138-f99709370657
2010-04-10 21:17:09 +00:00
Alexander Levin
4702770933 Use the existing type instead of defining an ad hoc one
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25575 a1c6a512-1295-4272-9138-f99709370657
2010-04-10 21:11:19 +00:00
Alexander Levin
4779456c3f Fix typos in comments
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25574 a1c6a512-1295-4272-9138-f99709370657
2010-04-10 20:31:01 +00:00
Alexander Levin
f23251999c Reset the number of lines to 0 when initializing the simple list
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25573 a1c6a512-1295-4272-9138-f99709370657
2010-04-10 20:25:23 +00:00
Alexander Levin
d873f4f474 Use a special constant so that we don't have to care about the actual line numbers
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25572 a1c6a512-1295-4272-9138-f99709370657
2010-04-10 20:11:40 +00:00
Alexander Levin
31959e78d0 Use better names for hotkey related constants; add somecomments (FS#11191)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25570 a1c6a512-1295-4272-9138-f99709370657
2010-04-10 19:43:47 +00:00
Michael Chicoine
e3379ed812 Fix scrolling line artifacts on USB screen - should fix FS#11154
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25569 a1c6a512-1295-4272-9138-f99709370657
2010-04-10 15:55:31 +00:00
Yoshihisa Uchida
0f6e79a227 The version of the setting files are raised.
Settings can be normally read even by the old setting file.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25563 a1c6a512-1295-4272-9138-f99709370657
2010-04-10 08:58:37 +00:00
Jeffrey Goode
853572e946 Corrects bug in r25558 that could have resumed the wrong file under a certain condition.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25560 a1c6a512-1295-4272-9138-f99709370657
2010-04-09 23:19:13 +00:00
Jeffrey Goode
9983a04253 Partial fix for FS#10614. Can now resume from a bookmark even if the bookmark index is wrong.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25558 a1c6a512-1295-4272-9138-f99709370657
2010-04-09 20:08:48 +00:00
Alessio Lenzi
a80d7ce36e Updated italian translation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25557 a1c6a512-1295-4272-9138-f99709370657
2010-04-09 16:43:11 +00:00
Torne Wuff
4290051dd8 Add drive's reported physical sector size to disk debug screen for ATA devices
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25552 a1c6a512-1295-4272-9138-f99709370657
2010-04-09 11:55:57 +00:00
Tomer Shalev
0b476f75f1 Text viewer: When loading settings and prefs font loading fails, not only
refert to the global settings font, but also set the viewer prefs font to that
font, so that when the user re-opens the viewer no warning will appear again,
and also so that when the user selects new font, the currenly used font will be
selected


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25550 a1c6a512-1295-4272-9138-f99709370657
2010-04-09 06:26:33 +00:00
Tomer Shalev
c3f131de06 Text viewer: Handle font loading failures
When font load fails, revert by loading to the previous font or to the global
settings font.

Fixes FS#11185 - Text viewer returns div by 0 if font is missing, renamed or corrupted


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25544 a1c6a512-1295-4272-9138-f99709370657
2010-04-08 21:56:03 +00:00
Jeffrey Goode
7be582b5f5 Fix data abort due to malformed switch code. My bad.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25537 a1c6a512-1295-4272-9138-f99709370657
2010-04-08 14:34:14 +00:00
Jeffrey Goode
936fe29a5a Rename lang strings to something more appropriate
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25535 a1c6a512-1295-4272-9138-f99709370657
2010-04-08 11:21:55 +00:00
Jeffrey Goode
42973f3175 Add lang strings to hotkey setting macros
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25530 a1c6a512-1295-4272-9138-f99709370657
2010-04-08 02:56:32 +00:00
Jeffrey Goode
accc046cbd Hotkey: better settings handling, fewer saved variables, localizable hotkey info list
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25529 a1c6a512-1295-4272-9138-f99709370657
2010-04-08 01:43:50 +00:00
Tomer Shalev
56058c7213 FS#11187 - diacritic.c is in 'drivers' but it does not belong there
- Move diacritic.c to firmware/common
- The function is_diacritic returns bool now


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25526 a1c6a512-1295-4272-9138-f99709370657
2010-04-07 20:41:18 +00:00
Tomer Shalev
c3588daa29 Text viewer: Fix yellow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25519 a1c6a512-1295-4272-9138-f99709370657
2010-04-07 18:14:02 +00:00
Tomer Shalev
8b2ec40a55 FS#11185 - Text viewer returns div by 0 if font is missing, renamed or corrupted
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25517 a1c6a512-1295-4272-9138-f99709370657
2010-04-07 18:06:47 +00:00
Tomer Shalev
2434a92b60 Text viewer: Fix red
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25516 a1c6a512-1295-4272-9138-f99709370657
2010-04-07 17:27:19 +00:00
Tomer Shalev
9e4bd41e41 Text viewer: Fix RTL languages and diacritic characters support
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25515 a1c6a512-1295-4272-9138-f99709370657
2010-04-07 17:22:16 +00:00
Tomer Shalev
8b904e2bb4 Text viewer: Replace macros with inline functions (which are about to be extended in the following commits)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25514 a1c6a512-1295-4272-9138-f99709370657
2010-04-07 17:19:55 +00:00
Tomer Shalev
885863571f Text viewer: Use exact width for lcd_fillrect (no actuall change)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25513 a1c6a512-1295-4272-9138-f99709370657
2010-04-07 17:15:24 +00:00
Tomer Shalev
c8ab419ed7 Text viewer: Make global variables static
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25512 a1c6a512-1295-4272-9138-f99709370657
2010-04-07 17:12:20 +00:00
Tomer Shalev
c56d2b50b3 Text viewer: Fix limit calculation in col_limit() which maximizes overlapping in wide mode
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25511 a1c6a512-1295-4272-9138-f99709370657
2010-04-07 17:11:09 +00:00
Tomer Shalev
eeb0c088fe Text viewer: Fix possible memory corruption
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25510 a1c6a512-1295-4272-9138-f99709370657
2010-04-07 17:06:32 +00:00