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
Daniel Stenberg
56fc041976
bobTHC removed at request
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1976 a1c6a512-1295-4272-9138-f99709370657
2002-08-26 08:05:00 +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
Hardeep Sidhu
f9914b77d4
Don't seek in buffer if data is being loaded. This fixes the track silence when ffw/rew while data is being loaded.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1973 a1c6a512-1295-4272-9138-f99709370657
2002-08-26 03:30:31 +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
Hardeep Sidhu
c674415a16
Make sure there is sufficient data in buffer before resuming after ffw.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1970 a1c6a512-1295-4272-9138-f99709370657
2002-08-25 05:11:25 +00:00
Hardeep Sidhu
e60a999ca0
Fixed minor bug in previous change: 0 is a valid sector
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1969 a1c6a512-1295-4272-9138-f99709370657
2002-08-24 18:36:08 +00:00
Hardeep Sidhu
f9e7ed4694
Data at end of file was not being read if last sector fell on cluster boundary
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1968 a1c6a512-1295-4272-9138-f99709370657
2002-08-24 17:00:10 +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
Heikki Hannikainen
adbe4eddf9
Make close() check for a valid fd and set errno accordingly.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1965 a1c6a512-1295-4272-9138-f99709370657
2002-08-24 09:47:54 +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
Robert Hak
11f2c3c225
fixed spacing
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1962 a1c6a512-1295-4272-9138-f99709370657
2002-08-24 03:52:01 +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
10fc53c75f
Updated developer info
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1959 a1c6a512-1295-4272-9138-f99709370657
2002-08-23 20:49:12 +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
Robert Hak
ee609dcfbb
Can the Player font be modified added
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1957 a1c6a512-1295-4272-9138-f99709370657
2002-08-23 13:59:44 +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
7c3dd40ed2
menu fix
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1954 a1c6a512-1295-4272-9138-f99709370657
2002-08-23 13:01:36 +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
Linus Nielsen Feltzing
51d9ae63ca
Missing break in the SYS_USB_CONNECTED case
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1944 a1c6a512-1295-4272-9138-f99709370657
2002-08-23 09:36:49 +00:00
Daniel Stenberg
af341158db
bad bad bad snprintf() overflow the buffer if the string passed in with a
...
%s didn't fit within the buffer!
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1943 a1c6a512-1295-4272-9138-f99709370657
2002-08-23 08:29:44 +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
57392acd18
the simulator code now deals better with playlist_next() returning NULL
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1941 a1c6a512-1295-4272-9138-f99709370657
2002-08-23 07:56:36 +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
Hardeep Sidhu
e255798f44
Fixed a flaw in the ffw/rew logic for large vbr files
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1939 a1c6a512-1295-4272-9138-f99709370657
2002-08-23 06:36:32 +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
Hardeep Sidhu
754651efdd
Reset mp3buf_swapwrite when selecting next track that is already in buffer. This should fix the track silence bug. Also, when seeking to end of file, leave some bytes at the end so that the transition to the next track is done correctly. This should fix the few seconds repeat at beginning of next song.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1934 a1c6a512-1295-4272-9138-f99709370657
2002-08-22 23:01:25 +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
Björn Stenberg
518e1ec1e4
New measurements show ATA_SLEEP saves us 30-40 mA over ATA_STANDBY.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1932 a1c6a512-1295-4272-9138-f99709370657
2002-08-22 21:53:10 +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
3da55ac420
added some people
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1930 a1c6a512-1295-4272-9138-f99709370657
2002-08-22 20:42:49 +00:00
Daniel Stenberg
e666ce933a
when we want to open a file, we want the exact specified file name, not
...
just one that starts with our given string...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1929 a1c6a512-1295-4272-9138-f99709370657
2002-08-22 20:13:21 +00:00