Commit graph

1824 commits

Author SHA1 Message Date
Markus Braun
c7aaca4615 Make use of the fixed lcd_getstringsize() for prop fonts.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1835 a1c6a512-1295-4272-9138-f99709370657
2002-08-21 06:23:23 +00:00
Markus Braun
bcbb8046f8 Fixed lcd_getstringsize() for prop fonts. Now also counts the blank columns
after each character.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1834 a1c6a512-1295-4272-9138-f99709370657
2002-08-21 06:22:02 +00:00
Robert Hak
8167837970 foot.t fogotten
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1833 a1c6a512-1295-4272-9138-f99709370657
2002-08-21 06:08:47 +00:00
Robert Hak
562a0cb70c footer.t forgotten again
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1832 a1c6a512-1295-4272-9138-f99709370657
2002-08-21 06:05:37 +00:00
Markus Braun
a0300f5d7e corrected lcd margins for debug menu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1831 a1c6a512-1295-4272-9138-f99709370657
2002-08-20 22:13:20 +00:00
Björn Stenberg
82e8b0becb Removed warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1830 a1c6a512-1295-4272-9138-f99709370657
2002-08-20 21:28:31 +00:00
Björn Stenberg
3a9e7b5f13 Now updates time display after resume
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1829 a1c6a512-1295-4272-9138-f99709370657
2002-08-20 20:38:50 +00:00
Markus Braun
11d208ca85 calculate the string width for numerical volume display and time display in
status bar.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1828 a1c6a512-1295-4272-9138-f99709370657
2002-08-20 20:32:08 +00:00
Markus Braun
861eac8aea corrected display of values when entering a setting
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1827 a1c6a512-1295-4272-9138-f99709370657
2002-08-20 20:30:32 +00:00
Björn Stenberg
1b05752a3f Always remove double-height when resuming
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1826 a1c6a512-1295-4272-9138-f99709370657
2002-08-20 20:27:36 +00:00
Markus Braun
faacfea055 faster redraw of time display
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1825 a1c6a512-1295-4272-9138-f99709370657
2002-08-20 20:00:44 +00:00
Markus Braun
59429dab9d Define instead of a number.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1824 a1c6a512-1295-4272-9138-f99709370657
2002-08-20 19:40:35 +00:00
Markus Braun
c41dcb9ae9 Now using lcd margins instead of a line offset for displaying status bar.
Needed to support fonts smaller than 8 pixels.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1823 a1c6a512-1295-4272-9138-f99709370657
2002-08-20 19:39:55 +00:00
Markus Braun
5e4c1d2ad8 enabled status bar in menus on recorders
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1822 a1c6a512-1295-4272-9138-f99709370657
2002-08-20 19:37:00 +00:00
Markus Braun
eef970428b added functions to get the current margins
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1821 a1c6a512-1295-4272-9138-f99709370657
2002-08-20 19:33:55 +00:00
Björn Stenberg
65fb5f57dc status_draw() now uses lcd_update_rect()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1820 a1c6a512-1295-4272-9138-f99709370657
2002-08-20 14:33:02 +00:00
Linus Nielsen Feltzing
bfc8d0ac44 Faster, 8-bit bitswap by Magnus Holmgren
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1819 a1c6a512-1295-4272-9138-f99709370657
2002-08-20 14:22:11 +00:00
Daniel Stenberg
ef3a3e7093 use the gcc option -ffreestanding: (quote from the gcc man page)
"A freestanding environment is one in which the standard library may not
exist, and program startup may not necessarily be at "main".  The most obvious
example is an OS kernel."


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1818 a1c6a512-1295-4272-9138-f99709370657
2002-08-20 14:00:42 +00:00
Heikki Hannikainen
3c10db57c6 Use same updated method for delta calculation as powermgmt.c uses (maybe
it should go into a function after all).


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1817 a1c6a512-1295-4272-9138-f99709370657
2002-08-20 13:38:14 +00:00
Justin Heiner
97e4a8fbef Added draw_screen(id3) after volume change. Fixed bug in player WPS ID3 Info screen. It needed dont_go_to_menu = true and menu_button_is_down = false.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1816 a1c6a512-1295-4272-9138-f99709370657
2002-08-20 13:10:43 +00:00
Heikki Hannikainen
bd32dee3b9 Use correct offset (0x14 instead of 0x18) when clearing the RTC user RAM space
when F2 is pressed in RTC RAM viewer.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1815 a1c6a512-1295-4272-9138-f99709370657
2002-08-20 08:43:03 +00:00
Daniel Stenberg
6f4cd6e16a added http:// to a URL, made Q3 spell out that it is for recorders
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1814 a1c6a512-1295-4272-9138-f99709370657
2002-08-20 08:05:40 +00:00
Heikki Hannikainen
84343d8e21 Initial answers based on what I think is probably right - need to be
checked and re-checked by others! I don't know what we can recommend
and what we can not recommend even if we did it ourself.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1813 a1c6a512-1295-4272-9138-f99709370657
2002-08-20 07:51:01 +00:00
Björn Stenberg
c5cc90cbaa Updates
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1812 a1c6a512-1295-4272-9138-f99709370657
2002-08-19 22:59:15 +00:00
Daniel Stenberg
5d0850a371 remade the upcoming battery faq to use the generic faq format
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1811 a1c6a512-1295-4272-9138-f99709370657
2002-08-19 18:00:37 +00:00
Daniel Stenberg
b76bca99a6 added an A and rewrote in the FAQ format to allow it being ASCII and still
get remade into html easily use the other script


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1810 a1c6a512-1295-4272-9138-f99709370657
2002-08-19 17:49:16 +00:00
Daniel Stenberg
983a5b6d70 corrected the lock page URL
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1809 a1c6a512-1295-4272-9138-f99709370657
2002-08-19 17:34:53 +00:00
Daniel Stenberg
54ed3d6ce1 fix links within A-sections too and improve the parser somewhat
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1808 a1c6a512-1295-4272-9138-f99709370657
2002-08-19 15:50:13 +00:00
Daniel Stenberg
4d52ba710a convert the faq more
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1807 a1c6a512-1295-4272-9138-f99709370657
2002-08-19 15:01:42 +00:00
Daniel Stenberg
02cab124c3 updated faq link
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1806 a1c6a512-1295-4272-9138-f99709370657
2002-08-19 14:45:23 +00:00
Daniel Stenberg
3d6df952ec Added support for the unofficial MPEG version 2.5 format that uses a somewhat
different frequency table but the same bitrate table that V2 has.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1805 a1c6a512-1295-4272-9138-f99709370657
2002-08-19 14:15:33 +00:00
Daniel Stenberg
21febdd6eb original copied from http://www.dv.co.yu/mpgscript/mpeghdr.htm
The document explicitly allows redistribution in its unaltered form.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1804 a1c6a512-1295-4272-9138-f99709370657
2002-08-19 14:11:40 +00:00
Daniel Stenberg
5e5f1e247b When shuffle is ENABLED. And you press PLAY in a dir, the selected song
is now the first song to get played. To do this, we first remember which
song that was selected, shuffle the list and then find the selected song
in the shuffled list and play that.

This will have some interesting side effects if the song ends up for example
last in the shuffled list when we consider not always doing repeat-all as
then it'll reach the end of the playlist after one song.

We could optionally put the selected song first in the playlist and then
shuffle all the rest, as that would possibly be closer to what people will
assume it will do.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1803 a1c6a512-1295-4272-9138-f99709370657
2002-08-19 12:45:01 +00:00
Björn Stenberg
43bcd823b7 Pause now works again (I broke it with my mpeg_is_playing() fix...)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1802 a1c6a512-1295-4272-9138-f99709370657
2002-08-19 12:38:27 +00:00
Björn Stenberg
9315282b1e Fall back to fixed font if loadable font is not present
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1801 a1c6a512-1295-4272-9138-f99709370657
2002-08-19 12:03:02 +00:00
Felix Arends
111597ba02 fixed missing APPSVERSION definition
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1800 a1c6a512-1295-4272-9138-f99709370657
2002-08-19 12:02:34 +00:00
Daniel Stenberg
047b8d7819 some FAQ battery questions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1799 a1c6a512-1295-4272-9138-f99709370657
2002-08-19 11:44:04 +00:00
Björn Stenberg
34486b7860 Merged Hardeep's resume fix. Also mpeg_is_playing() now returns true even when paused (broke some other code).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1798 a1c6a512-1295-4272-9138-f99709370657
2002-08-19 11:00:29 +00:00
Björn Stenberg
f210606c8f Expanded resume options: off/ask/on
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1797 a1c6a512-1295-4272-9138-f99709370657
2002-08-19 10:57:55 +00:00
Justin Heiner
c0ea4a7d1d Added Smart(tm) ID3 displaying to the new 1 Line ID3. If no ID3 is available, it will display the filename instead
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1796 a1c6a512-1295-4272-9138-f99709370657
2002-08-19 08:11:23 +00:00
Daniel Stenberg
8c78975300 made it output valid C code even if given a filename that starts with a
dot, also made the width and height get written as proper #defines in the
output C source.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1795 a1c6a512-1295-4272-9138-f99709370657
2002-08-19 08:04:48 +00:00
Justin Heiner
eac3cfd8a7 More of the new 1 Line ID3 for the player
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1794 a1c6a512-1295-4272-9138-f99709370657
2002-08-19 07:27:04 +00:00
Justin Heiner
20955979ca Added a 1 Line ID3 display for player that displays the PlaylistPos: Artist - Title on the first line and time on the 2nd line. NOTE: WPS Display saved settings will be loaded incorrectly on the player the first time. Rearranged the WPS Settings menu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1793 a1c6a512-1295-4272-9138-f99709370657
2002-08-19 07:26:07 +00:00
Justin Heiner
0d04073576 Minor change in display of previous volume display patch
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1792 a1c6a512-1295-4272-9138-f99709370657
2002-08-17 00:41:36 +00:00
Justin Heiner
80743ff20c WPS in player now displays volume level while changing it
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1791 a1c6a512-1295-4272-9138-f99709370657
2002-08-17 00:23:36 +00:00
Justin Heiner
152c023f95 Fixed ID3 Scrolling problem (player) when FF/RW in ID3 display mode
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1790 a1c6a512-1295-4272-9138-f99709370657
2002-08-16 23:41:10 +00:00
Björn Stenberg
7113ec01b3 Fixed bad resume_index in dirs with both folders and files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1789 a1c6a512-1295-4272-9138-f99709370657
2002-08-16 15:23:57 +00:00
Björn Stenberg
52dc182b81 Fixed double-height problem and broken fwd/rew.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1788 a1c6a512-1295-4272-9138-f99709370657
2002-08-16 15:06:50 +00:00
Björn Stenberg
6224cdb166 Added resume. Works in dirs and playlists, shuffled or not. Resumes mid-song, but press pause on players before you shutdown so they get a chance to store the position on disk. Recorders use RTC ram. Todo: Time display is wrong after mid-track resume and ffd/rew is not handled.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1787 a1c6a512-1295-4272-9138-f99709370657
2002-08-16 14:41:47 +00:00
Daniel Stenberg
085e774675 reverted Felix Arends' mistake
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1786 a1c6a512-1295-4272-9138-f99709370657
2002-08-16 14:14:37 +00:00