Commit graph

557 commits

Author SHA1 Message Date
Daniel Stenberg
71a07bebe6 modified the playlist system slightly:
playlist_peek() returns info relative the current index
playlist_next() advances the index back or forth

(this breaks the build, mpeg fixes are pending)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2022 a1c6a512-1295-4272-9138-f99709370657
2002-08-28 09:22:44 +00:00
Björn Stenberg
8ef71bafff Made LCD_PROPFONTS and LOADABLE_FONTS mutually exclusive
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2020 a1c6a512-1295-4272-9138-f99709370657
2002-08-28 06:42:43 +00:00
Linus Nielsen Feltzing
db22700d32 Added -DLCD_PROPFONTS
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2019 a1c6a512-1295-4272-9138-f99709370657
2002-08-28 06:14:16 +00:00
Linus Nielsen Feltzing
a0d098bdce Added REPEAT to UP/DOWN keys in the time/date setting
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2018 a1c6a512-1295-4272-9138-f99709370657
2002-08-28 06:12:53 +00:00
Linus Nielsen Feltzing
6df3565f49 Corrected a comment
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2017 a1c6a512-1295-4272-9138-f99709370657
2002-08-28 05:34:28 +00:00
Björn Stenberg
af406a1f6d Made LCD_PROPFONTS default on recorder
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2016 a1c6a512-1295-4272-9138-f99709370657
2002-08-27 22:49:13 +00:00
Justin Heiner
415a2e76f5 Fixed a little problem coming out of the Player's ID3 info screen. You had to press menu twice to get to the menu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1991 a1c6a512-1295-4272-9138-f99709370657
2002-08-27 06:32:53 +00:00
Justin Heiner
a7a46c70dd Update to CUSTOM_WPS. Now has an If/Else ability. Also updated the docs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1990 a1c6a512-1295-4272-9138-f99709370657
2002-08-27 01:05:19 +00:00
Björn Stenberg
457b8a0a67 Added configurable disk spindown. The disk will also now not spin down while you are running around in the dir browser or pressing buttons in the wps.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1987 a1c6a512-1295-4272-9138-f99709370657
2002-08-26 13:21:14 +00:00
Linus Nielsen Feltzing
446828b2fb Removed the LEFT key from dbg_ports() to be able to debug the analog key levels even for the LEFT key
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1980 a1c6a512-1295-4272-9138-f99709370657
2002-08-26 10:06:33 +00:00
Björn Stenberg
e67958ba86 Adapted wormlet to code standard and added it to simulators.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1978 a1c6a512-1295-4272-9138-f99709370657
2002-08-26 09:21:59 +00:00
Hardeep Sidhu
f8c87e6c50 When toggling shuffle from on to off while a playlist is playing, update the current playlist index to the new index of the current song
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1977 a1c6a512-1295-4272-9138-f99709370657
2002-08-26 08:25:52 +00:00
Eric Linenberg
b0a3984c5a Philpp Petermann's game wormlet
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1975 a1c6a512-1295-4272-9138-f99709370657
2002-08-26 03:32:39 +00:00
Eric Linenberg
9a47cc4e7c Philpp Petermann's game wormlet: add to game menu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1974 a1c6a512-1295-4272-9138-f99709370657
2002-08-26 03:30:55 +00:00
Eric Linenberg
2bf41efe31 Philpp Petermann's tetris patch: save score after ending game
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1972 a1c6a512-1295-4272-9138-f99709370657
2002-08-26 03:29:13 +00:00
Hardeep Sidhu
36c11657bf Reduced max ffw/rew step size to 255s because we are storing the value in 1 byte
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1971 a1c6a512-1295-4272-9138-f99709370657
2002-08-25 05:14:54 +00:00
Björn Stenberg
26a50afc8a global_settings are not for runtime state variables!
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1967 a1c6a512-1295-4272-9138-f99709370657
2002-08-24 11:13:35 +00:00
Björn Stenberg
165f33467c Experimental code is not to be enabled by default
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1966 a1c6a512-1295-4272-9138-f99709370657
2002-08-24 11:00:55 +00:00
Justin Heiner
bd510c2d2b Damned CR/LF again. I need to get a better editor than notepad
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1964 a1c6a512-1295-4272-9138-f99709370657
2002-08-24 08:36:47 +00:00
Justin Heiner
5301881adc Update to the Custom WPS. Now actually works, can be fed any string, uses %xx instead of just %x, and more! It's #define'd out in settings.h - Needs to be enabled to use it. PLAYER ONLY
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1963 a1c6a512-1295-4272-9138-f99709370657
2002-08-24 06:57:24 +00:00
Björn Stenberg
62847edbe7 Don't display wps until there is data to display (or we'll get the annoying 'end of song list' screen.)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1961 a1c6a512-1295-4272-9138-f99709370657
2002-08-23 22:49:32 +00:00
Björn Stenberg
f1bf9e7286 Now doesn't try to play non-mp3/m3u files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1960 a1c6a512-1295-4272-9138-f99709370657
2002-08-23 22:15:51 +00:00
Björn Stenberg
3df58d30e1 Removed typedef
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1958 a1c6a512-1295-4272-9138-f99709370657
2002-08-23 20:04:31 +00:00
Daniel Stenberg
c1fe36f36f prevent the "end of (song) list" getting displayed if there's an mpeg
playing or pending to get played.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1956 a1c6a512-1295-4272-9138-f99709370657
2002-08-23 13:27:17 +00:00
Daniel Stenberg
ab9a94e289 a menu warning fix
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1955 a1c6a512-1295-4272-9138-f99709370657
2002-08-23 13:04:16 +00:00
Daniel Stenberg
49984facc1 properly remember DISK_CHANGE status and return that to menu parents,
also when coming back from the USB screen set back the status bar state
before redrawing the menu.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1953 a1c6a512-1295-4272-9138-f99709370657
2002-08-23 12:57:00 +00:00
Linus Nielsen Feltzing
d7c85e434b Removed the secret features in dbg_ports()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1952 a1c6a512-1295-4272-9138-f99709370657
2002-08-23 12:55:17 +00:00
Daniel Stenberg
a1935f3d45 it is madness having this a separate makefile
anyway, up-to-date


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1951 a1c6a512-1295-4272-9138-f99709370657
2002-08-23 12:52:07 +00:00
Daniel Stenberg
cd8a9a043f Menu for menu functions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1950 a1c6a512-1295-4272-9138-f99709370657
2002-08-23 12:47:59 +00:00
Daniel Stenberg
aa458aa9d8 MENU_DISK_CHANGED is the new value for telling disk content might have
changed


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1949 a1c6a512-1295-4272-9138-f99709370657
2002-08-23 12:41:25 +00:00
Daniel Stenberg
b285076925 Remade the menu system slightly. All functions invoked from menus now use
the Menu typedef as return type, and *ALL* menus that intercept USB connect
can then return MENU_REFRESH_DIR so that the parent (any parent really) that
do file or dir-accesses knows that and can do the refresh. If no refresh
is needed by the parent, MENU_OK is returned.

Somewhat biggish commit this close to 1.3, but we need to sort out this
refresh-after-usb-connected business.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1948 a1c6a512-1295-4272-9138-f99709370657
2002-08-23 12:32:52 +00:00
Robert Hak
ad4a92eb87 stupid tabs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1947 a1c6a512-1295-4272-9138-f99709370657
2002-08-23 11:37:40 +00:00
Robert Hak
f27fecb076 minor style fixes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1946 a1c6a512-1295-4272-9138-f99709370657
2002-08-23 11:31:19 +00:00
Markus Braun
d58dab8dd8 restore was allwas true. Set it to false when last restore request was
handled.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1945 a1c6a512-1295-4272-9138-f99709370657
2002-08-23 11:06:14 +00:00
Daniel Stenberg
e6261734a0 two fixes at once:
1. If the WPS is popped up but the mpeg thread can't play any song, we must
   make sure to update the screen to display the "end of playlist" thing.

2. When having reached the "end of playlist" state, pressing LEFT caused a
   crash (due to a NULL pointer being used).


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1942 a1c6a512-1295-4272-9138-f99709370657
2002-08-23 08:06:39 +00:00
Daniel Stenberg
3625dedcce playlist_next() now returns NULL on excessive 'step' amounts
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1940 a1c6a512-1295-4272-9138-f99709370657
2002-08-23 07:33:35 +00:00
Justin Heiner
0a3589d129 OK, a (hopefully) successful attempt at getting rid of the yellows that I created by removing the other yellows
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1938 a1c6a512-1295-4272-9138-f99709370657
2002-08-23 02:45:39 +00:00
Justin Heiner
edf6b80547 Forgot to #ifdef something
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1937 a1c6a512-1295-4272-9138-f99709370657
2002-08-23 02:26:22 +00:00
Justin Heiner
d6a0f6ccd9 Fixed a problem with my #define CUSTOM_WPS - It didn't lower the menu items to 4 from 5
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1936 a1c6a512-1295-4272-9138-f99709370657
2002-08-23 02:19:47 +00:00
Justin Heiner
2630245cb9 Added NSauzede's patch to detect USB while in a Menu. It also adds the USB icon to the player while in USB mode.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1935 a1c6a512-1295-4272-9138-f99709370657
2002-08-23 02:17:00 +00:00
Daniel Stenberg
634551ffeb statusbar bug fix when going to the menu from the dir browser
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1933 a1c6a512-1295-4272-9138-f99709370657
2002-08-22 22:53:12 +00:00
Daniel Stenberg
a8e89fd693 when we want to stop the scroll and clear the screen, it is a lot better
to first pause the scroll (stop puts back text on screen) and then clear
the screen.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1931 a1c6a512-1295-4272-9138-f99709370657
2002-08-22 21:45:22 +00:00
Daniel Stenberg
053d904645 Bill Napier's patch slightly remodelled. This adds a setting called
"Show hidden files" that if enabled will show files with the hidden
attribute and/or starting with a dot in the dir browser. If the setting
is set to Off, files/dirs starting with a dot or that have the hidden
attribute set will be... yes, hidden.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1926 a1c6a512-1295-4272-9138-f99709370657
2002-08-22 15:47:30 +00:00
Justin Heiner
1a8f34bfa9 Changed CUSTOM_WPS to be a define-only feature until it is more complete. To include it, simply uncomment the #define CUSTOM_WPS line in wps.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1924 a1c6a512-1295-4272-9138-f99709370657
2002-08-22 14:19:47 +00:00
Daniel Stenberg
487662a67c fix file name pointer usage, clean the buffer faster, don't use extra
variable


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1921 a1c6a512-1295-4272-9138-f99709370657
2002-08-22 07:12:45 +00:00
Justin Heiner
ad14c5b14e Flipped a line to make it work
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1917 a1c6a512-1295-4272-9138-f99709370657
2002-08-22 06:38:20 +00:00
Justin Heiner
6dd8b83507 Attempt at fixing reds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1916 a1c6a512-1295-4272-9138-f99709370657
2002-08-22 06:25:14 +00:00
Daniel Stenberg
11714aceab fixed compiler error
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1914 a1c6a512-1295-4272-9138-f99709370657
2002-08-22 05:30:07 +00:00
Justin Heiner
70a203341f Added conditional Title-Artist to appease PsycoXul :-) It's bound to %h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1913 a1c6a512-1295-4272-9138-f99709370657
2002-08-22 04:03:57 +00:00
Justin Heiner
b10017e3e8 Added %% as an available tag to the Custom WPS. Displays % when used
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1909 a1c6a512-1295-4272-9138-f99709370657
2002-08-22 03:02:59 +00:00