Commit graph

406 commits

Author SHA1 Message Date
Nicolas Pennequin
aa643db434 Oops, forgot to trim down the lines before my previous commit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13988 a1c6a512-1295-4272-9138-f99709370657
2007-07-25 14:24:49 +00:00
Nicolas Pennequin
29407cbe80 Implement feature request FS#7476: Add a "song progress percentage" WPS tag (%px) that can be used in a conditional to create custom progress meters.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13987 a1c6a512-1295-4272-9138-f99709370657
2007-07-25 14:14:47 +00:00
Jonathan Gordon
ffeccda8cd Fix the bug where holding left no longer stopped at the browser root.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13983 a1c6a512-1295-4272-9138-f99709370657
2007-07-25 12:37:09 +00:00
Nicolas Pennequin
34a6c4748c Fix FS#7441: Volume wasn't mapped correctly to the enum cases when using the %?pv WPS tag.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13967 a1c6a512-1295-4272-9138-f99709370657
2007-07-23 17:11:13 +00:00
Jonathan Gordon
fe2b376060 Fix the text for settings which have a different title than what is shown in the menu (i.e scroll options)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13962 a1c6a512-1295-4272-9138-f99709370657
2007-07-23 05:40:45 +00:00
Michael Sevakis
873e0fd1ef Wheel acceleration for e200. A general acceleration interface intended for use on any scroll target and by any code. A general interface to obtain data associated with most recently dequeued button presses and actions. Use #define HAVE_SCROLLWHEEL and set appropriate constants, values in the scroller driver that feel right.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13959 a1c6a512-1295-4272-9138-f99709370657
2007-07-22 21:02:24 +00:00
Nicolas Pennequin
3213d4a0f5 Add a verbosity level command line option to the chackwps tool. This should make life easier for the themes.rockbox.org people.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13958 a1c6a512-1295-4272-9138-f99709370657
2007-07-22 17:17:53 +00:00
Jonathan Gordon
f7675a244b remove the need for action_signalscreenchange().
Fixes problems with targets where the ACTION_STD_CANCEL event is a combo


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13956 a1c6a512-1295-4272-9138-f99709370657
2007-07-22 06:05:53 +00:00
Jonathan Gordon
ca0cc784bc Fix the problem where settings stopped saving automatically
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13929 a1c6a512-1295-4272-9138-f99709370657
2007-07-19 09:17:25 +00:00
Jonathan Gordon
a5278fa3db Rearrange and cleanup settings code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13851 a1c6a512-1295-4272-9138-f99709370657
2007-07-11 05:41:23 +00:00
Steve Bavin
276ff3bceb Copy current track path as a string, not a slightly-oversized block.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13808 a1c6a512-1295-4272-9138-f99709370657
2007-07-06 22:34:18 +00:00
Peter D'Hoye
16b67e5812 Make sure statusbar is updated when time changes. Fixes FS #7388. Moved time variable around and added init of info struct.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13802 a1c6a512-1295-4272-9138-f99709370657
2007-07-05 23:20:58 +00:00
Nicolas Pennequin
3f95ea53b0 Make the time in the statusbar always display --:-- when the RTC isn't set
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13729 a1c6a512-1295-4272-9138-f99709370657
2007-06-28 13:51:44 +00:00
Marianne Arnold
74aabc8381 Make the '%mh' wps tag (to indicate keylock status) available on the Archos targets as well.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13716 a1c6a512-1295-4272-9138-f99709370657
2007-06-25 20:54:11 +00:00
Jonathan Gordon
2d4ee368e3 Fix problems with the list when you change font size
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13680 a1c6a512-1295-4272-9138-f99709370657
2007-06-21 13:21:33 +00:00
Brandon Low
488de5e09c Fix yellow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13657 a1c6a512-1295-4272-9138-f99709370657
2007-06-17 21:29:24 +00:00
Brandon Low
74cbb0a1b2 Give color targets the ability to display each LCD line a different color and use this newfangled ability to provide themable colored file types. See the comments on read_color_theme_file and the sample.colors file provided for how to use this. .colors files go in themes directory for now. This separate line color function should be trivial to add to menus and wpss.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13656 a1c6a512-1295-4272-9138-f99709370657
2007-06-17 21:16:34 +00:00
Brandon Low
9a550524af Make RTC tags display hyphens instead of nothing on non-rtc targets. This makes WPSs that use RTC tags look decent again with the new separated RTC tag style
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13639 a1c6a512-1295-4272-9138-f99709370657
2007-06-16 20:33:30 +00:00
Peter D'Hoye
93af4feae9 Ignore SYS_CHARGER_DISCONNECTED event in yesno screen (other events may need to be filtered as well) as it made the auto-ROLO question close immediatly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13635 a1c6a512-1295-4272-9138-f99709370657
2007-06-16 11:50:42 +00:00
Jonathan Gordon
cfe0f4826a Make the screen draw correctly with the user iconset
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13619 a1c6a512-1295-4272-9138-f99709370657
2007-06-11 13:32:29 +00:00
Jonathan Gordon
57440d5292 Fix a minor annoyance with the last commit where selecting an item could result in having empty space under the list.
Also very very minor code reduction.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13607 a1c6a512-1295-4272-9138-f99709370657
2007-06-10 08:18:19 +00:00
Jonathan Gordon
f4d0f053e6 Really fix FS#7274
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13606 a1c6a512-1295-4272-9138-f99709370657
2007-06-10 07:12:39 +00:00
Jonathan Gordon
f3145ba07c simple fix for FS#7274 - selected item might not be shown when a list is drawn in paged scroll mode
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13602 a1c6a512-1295-4272-9138-f99709370657
2007-06-09 09:41:13 +00:00
Jonathan Gordon
3823486a58 Add a mode the lists which doesnt show the selection marker.
Useful for the debug menus where users shouldn't think pressing select would do anything.



git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13588 a1c6a512-1295-4272-9138-f99709370657
2007-06-07 12:14:31 +00:00
Nicolas Pennequin
887b31c01a Add some more explicit defines for my previous commit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13561 a1c6a512-1295-4272-9138-f99709370657
2007-06-05 14:57:07 +00:00
Nicolas Pennequin
b5f4d90b4b Make the bitmap loading code handle the progressbar and backdrop bitmaps in a slightly more generic way. This hopefully simplifies the code a bit and should make adding special bitmaps less painful.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13560 a1c6a512-1295-4272-9138-f99709370657
2007-06-05 10:42:41 +00:00
Jonathan Gordon
fea88888f0 Fix most (all) known list wierdness bugs, hopefully simplifies the code a bit, plenty of room for optimizing, but wanted to get it working first. (fixes FS#7255 and possibly others)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13556 a1c6a512-1295-4272-9138-f99709370657
2007-06-05 02:57:43 +00:00
Jonathan Gordon
20a8a9a3c8 Move the old api out of the core and into the plugin lib.
ew plugins shuold use the new api and not this one.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13537 a1c6a512-1295-4272-9138-f99709370657
2007-06-03 04:06:58 +00:00
Nils Wallménius
fbdbd2112c Fix warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13525 a1c6a512-1295-4272-9138-f99709370657
2007-05-30 18:08:29 +00:00
Nils Wallménius
f46657ec5a Move the setvol wrapper function to misc.c and use it in more places instead of doing the same checks everywhere
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13524 a1c6a512-1295-4272-9138-f99709370657
2007-05-30 17:57:32 +00:00
Jonathan Gordon
dfb071d92e Last list commit for a while. fix the multi-item lists at the very end of the list
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13523 a1c6a512-1295-4272-9138-f99709370657
2007-05-30 09:25:59 +00:00
Jonathan Gordon
0178568325 fix non-paged scrolling aroun the ends of lists
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13522 a1c6a512-1295-4272-9138-f99709370657
2007-05-30 09:11:59 +00:00
Jonathan Gordon
5983e7fa42 few more list anomolys fixed..
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13521 a1c6a512-1295-4272-9138-f99709370657
2007-05-30 08:29:44 +00:00
Jonathan Gordon
155e3d33d6 Fix the last (?) of the selction wierdness, this time when moving at the begining of the list
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13520 a1c6a512-1295-4272-9138-f99709370657
2007-05-30 02:08:35 +00:00
Dave Chapman
f0d4fc6c6b Commit my patch from FS#7179 - a standalone command-line checkwps tool. To build, just type "make checkwps" in tools and run it with "checkwps wpsname.wps".
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13517 a1c6a512-1295-4272-9138-f99709370657
2007-05-29 19:00:36 +00:00
Jonathan Gordon
6fd3d96309 fix selection wierdness when scrolling down at the end of lists
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13514 a1c6a512-1295-4272-9138-f99709370657
2007-05-29 13:06:41 +00:00
Jonathan Gordon
20202017f4 Really fix FS#7230 this time.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13513 a1c6a512-1295-4272-9138-f99709370657
2007-05-29 12:28:02 +00:00
Jonathan Gordon
195ac12296 Fix FS#7230 - the second line in a multi-line item could be the selected item
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13512 a1c6a512-1295-4272-9138-f99709370657
2007-05-29 12:16:31 +00:00
Nicolas Pennequin
6579818b43 Add the possibility to store cuesheets in /.rockbox/cue. The code will look for a cuesheet there in case there wasn't one in the same folder as the audio file. This is to reduce the clutter created by one cuesheet per audio file in some places.
Also some duplicate code was replaced by a function call.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13508 a1c6a512-1295-4272-9138-f99709370657
2007-05-28 23:18:31 +00:00
Jonathan Gordon
42698e4e47 Accept FS#6798 - scan acceleration for the lists.
Settings are in display > scrolling


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13499 a1c6a512-1295-4272-9138-f99709370657
2007-05-27 15:08:56 +00:00
Nils Wallménius
e1374b0536 Oops, remove accidentally left in, commented out code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13492 a1c6a512-1295-4272-9138-f99709370657
2007-05-24 22:43:54 +00:00
Nils Wallménius
c2a77563c2 Remove dead code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13488 a1c6a512-1295-4272-9138-f99709370657
2007-05-24 19:03:26 +00:00
Nicolas Pennequin
392d07902f Oops, next file info should be dynamic.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13456 a1c6a512-1295-4272-9138-f99709370657
2007-05-21 14:04:38 +00:00
Nicolas Pennequin
5cc98efddc Add %fk and %Fk WPS tags : (next) file audio frequency in KHz (rewrite of FS#6393 to adapt it to the tokenizer).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13455 a1c6a512-1295-4272-9138-f99709370657
2007-05-21 13:41:43 +00:00
Nicolas Pennequin
9d5e376fc3 Allow the day of month (%cm) and day of week (%cu and %cw) RTC tags to be used in enums.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13454 a1c6a512-1295-4272-9138-f99709370657
2007-05-21 12:54:07 +00:00
Michael Sevakis
8f659ae8d3 Use bitmasks to define which inputs are available. Makes it easier to remove old assumptions of which are available. Inspired by e200 being unique in having FM Radio and Mic but no Line. Doesn't remove the assumption that Mic is available or that one of Mic and/or Line is available just to avoid excessive #ifdef'ing until needed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13448 a1c6a512-1295-4272-9138-f99709370657
2007-05-20 20:26:36 +00:00
Nils Wallménius
f31e123133 Remove unused function and unused header
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13424 a1c6a512-1295-4272-9138-f99709370657
2007-05-19 19:54:11 +00:00
Nicolas Pennequin
4a6ab0d031 Commit FS#7164 (request is FS#6780) : Improve WPS volume enumeration. It is now the following : %?pv<Mute|...|...|0 dB|Above 0 dB>. It almost doesn't changes anything for most WPSs but adds some new possibilities. Keep in mind that some targets don't go above 0 dB so the last case might be unused.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13387 a1c6a512-1295-4272-9138-f99709370657
2007-05-14 14:33:43 +00:00
Jonathan Gordon
c9ed673c81 only show the cursor for the first line of the selected item (if selection is more than one line). doesnt effect inverted cursor mode
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13375 a1c6a512-1295-4272-9138-f99709370657
2007-05-12 14:13:23 +00:00
Michael Sevakis
1c59b101df SWCODEC Playback: Seriously mess with it and get rid of (at least some ;) race conditions.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13361 a1c6a512-1295-4272-9138-f99709370657
2007-05-08 22:56:12 +00:00