Commit graph

1955 commits

Author SHA1 Message Date
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
Felix Arends
d841ca9797 removed backlight-win32.c as it is not needed any more
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1928 a1c6a512-1295-4272-9138-f99709370657
2002-08-22 17:59:20 +00:00
Felix Arends
b1819f64de this makefile works at least for the recorder, we will have to talk about a recorder fix.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1927 a1c6a512-1295-4272-9138-f99709370657
2002-08-22 17:58:24 +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
Felix Arends
c94aa32731 bitswap.s is linked with librockbox as well now
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1925 a1c6a512-1295-4272-9138-f99709370657
2002-08-22 15:01:24 +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
ae3952ec90 make mp3info() better return true on bad mp3 files, also make
getsonglength() return 0 if the length is unknown


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1923 a1c6a512-1295-4272-9138-f99709370657
2002-08-22 07:59:31 +00:00
Daniel Stenberg
22633d66a2 Check the return code from each call to mp3info(), as it might return true
to indicate a bad mp3 file.

TODO: when having a dir full of zero-byte mp3 files and pressing play on
one using the simulator, this'll go crazy.

TO CHECK: I haven't checked how the live target code behaves on this.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1922 a1c6a512-1295-4272-9138-f99709370657
2002-08-22 07:58:18 +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
Robert Hak
09499b54a4 typo
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1920 a1c6a512-1295-4272-9138-f99709370657
2002-08-22 07:03:17 +00:00
Robert Hak
54099ba8c8 various changes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1919 a1c6a512-1295-4272-9138-f99709370657
2002-08-22 07:02:03 +00:00
Robert Hak
9bc41e5026 file got renamed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1918 a1c6a512-1295-4272-9138-f99709370657
2002-08-22 06:52:06 +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