Commit graph

111 commits

Author SHA1 Message Date
Tomas Salfischberger
9bfea3e746 Some changes to image code, thanks to Daniel.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6874 a1c6a512-1295-4272-9138-f99709370657
2005-06-26 15:42:34 +00:00
Daniel Stenberg
20c19dde35 No need to keep code around that we _know_ will cause crashes... Bail out
nicer when certain syntax errors are used with the bitmap option.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6867 a1c6a512-1295-4272-9138-f99709370657
2005-06-25 21:22:18 +00:00
Tomas Salfischberger
af50cae14d Fixed bug: "Not clearing the buffer causes a problem when switching from one WPS to another if they don't use the same image set."
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6866 a1c6a512-1295-4272-9138-f99709370657
2005-06-25 17:34:05 +00:00
Tomas Salfischberger
4fd457a2bf New WPS image code, introducing a new format :)
%xn|filename|x|y| for example: %x0|test.bmp|10|23|
the example will load /.rockbox/test.bmp as image 0 on position 10,23


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6810 a1c6a512-1295-4272-9138-f99709370657
2005-06-22 16:35:56 +00:00
Tomas Salfischberger
6d4b78b12c Image support for the WPS.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6803 a1c6a512-1295-4272-9138-f99709370657
2005-06-22 12:41:59 +00:00
Dave Chapman
961c9a3e41 Added %fc WPS tag to display codec type - moved codectype from track_info struct into mp3info struct, initialise it on MAS platforms, and add it to the WPS.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6748 a1c6a512-1295-4272-9138-f99709370657
2005-06-18 16:24:27 +00:00
Linus Nielsen Feltzing
e83c6f3b24 Max WPS lines now dependent on LCD height
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6593 a1c6a512-1295-4272-9138-f99709370657
2005-06-07 13:46:48 +00:00
Linus Nielsen Feltzing
8a237a829e More audio code restructuring, mostly renaming functions so far
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6246 a1c6a512-1295-4272-9138-f99709370657
2005-04-04 12:06:29 +00:00
Jean-Philippe Bernardy
6e2a8a004d long policy
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5932 a1c6a512-1295-4272-9138-f99709370657
2005-02-12 12:40:35 +00:00
Jörg Hohensohn
fee8617479 multiple choice configuration CONFIG_BACKLIGHT instead of HAVE_BACKLIGHT, allows better control of how to do this per model
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5491 a1c6a512-1295-4272-9138-f99709370657
2004-12-18 10:29:47 +00:00
Jens Arnold
d4e53976d9 Renamed has_new_lcd() to is_new_player(), and got rid of the alias
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5459 a1c6a512-1295-4272-9138-f99709370657
2004-11-22 21:20:54 +00:00
Linus Nielsen Feltzing
804c2005e1 WPS subline times >25.5s caused overflow, since time_mult[] was only 8 bits
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5344 a1c6a512-1295-4272-9138-f99709370657
2004-10-25 13:14:26 +00:00
Jens Arnold
a1a08d0d5f Removed backlight handling remains for platforms with no backlight (Ondio)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5236 a1c6a512-1295-4272-9138-f99709370657
2004-10-09 19:56:27 +00:00
Björn Stenberg
57945b125d Removed the Neo code. Nobody is interested in it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5096 a1c6a512-1295-4272-9138-f99709370657
2004-09-20 08:10:43 +00:00
Jens Arnold
033ba1669b Made local constant arrays static, saving a few bytes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5014 a1c6a512-1295-4272-9138-f99709370657
2004-08-26 20:30:22 +00:00
Jens Arnold
8fb336148f Const policed pointer arguments to functions, part 3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4999 a1c6a512-1295-4272-9138-f99709370657
2004-08-18 01:09:31 +00:00
Linus Nielsen Feltzing
3a203ec68d Patch #911298 by Steve Cundari, adds hour display to WPS and bookmarks
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4878 a1c6a512-1295-4272-9138-f99709370657
2004-07-14 10:18:11 +00:00
Linus Nielsen Feltzing
209210e265 Slightly increased precision in the wps progress bar
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4858 a1c6a512-1295-4272-9138-f99709370657
2004-07-09 04:57:38 +00:00
Linus Nielsen Feltzing
5fd97fa2e9 Removed the option for the progress bar, making it permanently solid
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4852 a1c6a512-1295-4272-9138-f99709370657
2004-07-08 11:10:19 +00:00
Linus Nielsen Feltzing
5f6047075f Patch #985429 by Christi Scarborough, solid progress bar
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4851 a1c6a512-1295-4272-9138-f99709370657
2004-07-08 10:52:09 +00:00
Linus Nielsen Feltzing
32e27d93e8 The status bar now keeps track of the mpeg status, instead of having to call status_set_playmode() all the time
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4805 a1c6a512-1295-4272-9138-f99709370657
2004-06-27 01:05:40 +00:00
Björn Stenberg
bdaf5884ca Moved genre list and access function to id3.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4692 a1c6a512-1295-4272-9138-f99709370657
2004-05-22 01:38:41 +00:00
Linus Nielsen Feltzing
4b3d553b3b Now the next-song WPS feature works
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4686 a1c6a512-1295-4272-9138-f99709370657
2004-05-21 22:17:23 +00:00
Daniel Stenberg
caec53c0d1 next-song support added to WPS, using new tags, and killed some trailing
whitespace


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4643 a1c6a512-1295-4272-9138-f99709370657
2004-05-19 08:30:48 +00:00
Daniel Stenberg
8e11dfc44f Upped the max support number of lines in the WPS to 13.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4614 a1c6a512-1295-4272-9138-f99709370657
2004-05-13 06:41:04 +00:00
Linus Nielsen Feltzing
5483fd0a95 The ID3 browser now shows the correct genre information
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4442 a1c6a512-1295-4272-9138-f99709370657
2004-03-28 07:33:46 +00:00
Björn Stenberg
834ac53c91 Bah, missed the actual battery level. :-)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4424 a1c6a512-1295-4272-9138-f99709370657
2004-03-21 16:25:08 +00:00
Björn Stenberg
802a5a5915 Bug fix: Don't show battery level -1.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4423 a1c6a512-1295-4272-9138-f99709370657
2004-03-21 15:59:41 +00:00
Linus Nielsen Feltzing
4467782864 Patch #881188 by Craigh Sather, fixes battery display updates in WPS
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4326 a1c6a512-1295-4272-9138-f99709370657
2004-03-02 07:56:58 +00:00
Hardeep Sidhu
107ebc5ba9 Modified playlist handling to allow for multiple playlists to be edited at the same time. Added support in playlist viewer for viewing/editing playlists on disk (accessed via ON+PLAY->Playlist->View on a playlist). Added menu in playlist viewer for changing a few settings and saving playlist. Added File Options menu in playlist viewer ON+PLAY menu.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4276 a1c6a512-1295-4272-9138-f99709370657
2004-01-26 17:05:21 +00:00
Daniel Stenberg
d2b625f818 Craig Sather's patch #749974:
Adds the ability to define 2 or more alternating lines on each line of the WPS
and the ability to control how long each alternating line is displayed before
switching to the next one.

Backward compatible with the current WPS specification language (existing WPS
files will display the same as they do now).

His HTML version of the docs is found at:

http://home.pacbell.net/csath/rockbox/details.html


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4229 a1c6a512-1295-4272-9138-f99709370657
2004-01-14 07:59:06 +00:00
Daniel Stenberg
8e43ccbec6 Initial suppport for building Rockbox for Neo. The Neo has a different
key layout so we need to check for this.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4138 a1c6a512-1295-4272-9138-f99709370657
2003-12-12 13:34:27 +00:00
Björn Stenberg
0d2237402e Buffer overrun fix by Craigh Sather (#852494)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4106 a1c6a512-1295-4272-9138-f99709370657
2003-12-04 14:06:00 +00:00
Björn Stenberg
f6b6db4167 Don't show battery meter until a proper power reading has been done
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4042 a1c6a512-1295-4272-9138-f99709370657
2003-11-19 14:14:41 +00:00
Linus Nielsen Feltzing
c6f234a4cc WPS files now supports comments
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4014 a1c6a512-1295-4272-9138-f99709370657
2003-11-04 13:46:37 +00:00
Hardeep Sidhu
143da86b02 Take statusbar into account when updating a line
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3924 a1c6a512-1295-4272-9138-f99709370657
2003-08-06 16:16:21 +00:00
Hardeep Sidhu
9e4262081b Added dynamic playlists. ON+PLAY->Playlist on a track, directory, or playlist from file browser to see available options.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3796 a1c6a512-1295-4272-9138-f99709370657
2003-07-01 21:05:43 +00:00
Björn Stenberg
8498a48496 Generalized id3v2 parsing code. Added support for the composer frame and free-form genre and tracknum frames. (Patch #706111 by Thomas Paul Diffenbach)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3727 a1c6a512-1295-4272-9138-f99709370657
2003-06-04 15:09:35 +00:00
Björn Stenberg
7bc69aa084 Fixed %pp for shuffled dirs (patch #700465)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3726 a1c6a512-1295-4272-9138-f99709370657
2003-06-04 14:18:47 +00:00
Linus Nielsen Feltzing
c4cdc75ceb Better error handling when loading WPS config file
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3632 a1c6a512-1295-4272-9138-f99709370657
2003-04-30 02:55:23 +00:00
Björn Stenberg
942bc9449e Only redraw the status line when info actually changed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3588 a1c6a512-1295-4272-9138-f99709370657
2003-04-23 11:26:25 +00:00
Björn Stenberg
86587527f5 Added caption backlight: Turns on backlight briefly at the start and end of each track.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3585 a1c6a512-1295-4272-9138-f99709370657
2003-04-23 09:17:34 +00:00
Björn Stenberg
51d8b15617 Clear resume when a playlist has ended
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3520 a1c6a512-1295-4272-9138-f99709370657
2003-04-09 11:55:04 +00:00
Linus Nielsen Feltzing
156632db32 Oooops, I checked in the wrong version.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3504 a1c6a512-1295-4272-9138-f99709370657
2003-04-01 15:55:22 +00:00
Linus Nielsen Feltzing
ed2e9e04b0 Displays 0 VBR bitrate as ? instead of 0kbit/s
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3503 a1c6a512-1295-4272-9138-f99709370657
2003-04-01 15:32:03 +00:00
Linus Nielsen Feltzing
ed2312eec6 wps-display() now tries to inform the user if the LCD is too old for full line progress bar on the Player
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3456 a1c6a512-1295-4272-9138-f99709370657
2003-03-17 00:57:39 +00:00
Björn Stenberg
5a208d5ae5 Added wps tag %pv - current playing volume.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3414 a1c6a512-1295-4272-9138-f99709370657
2003-03-10 15:56:14 +00:00
Björn Stenberg
7ebebafe0e Treat empty id3 strings as non-existing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3405 a1c6a512-1295-4272-9138-f99709370657
2003-03-10 14:02:52 +00:00
Daniel Stenberg
70720e719d Craig Sather's patch #696996 that corrects various things for the %pf
progress bar for players.

All details on this fix was mentioned by Craig here:

http://sourceforge.net/tracker/index.php?func=detail&aid=696996&group_id=44306&atid=439120


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3390 a1c6a512-1295-4272-9138-f99709370657
2003-03-05 23:01:55 +00:00
Kjell Ericson
8856b86519 We declare variables at start of functions (code police)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3354 a1c6a512-1295-4272-9138-f99709370657
2003-02-27 14:20:08 +00:00