Commit graph

859 commits

Author SHA1 Message Date
Björn Stenberg
505eca76e6 New language/string handling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2327 a1c6a512-1295-4272-9138-f99709370657
2002-09-18 14:08:05 +00:00
Linus Nielsen Feltzing
25316c5417 Added play_selected option
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2323 a1c6a512-1295-4272-9138-f99709370657
2002-09-18 10:13:09 +00:00
Linus Nielsen Feltzing
78ea93d869 Added play_selected option, and moved browse_current
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2322 a1c6a512-1295-4272-9138-f99709370657
2002-09-18 10:12:16 +00:00
Eric Linenberg
8d47c5c329 Philipp's fix .eq loading patch
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2318 a1c6a512-1295-4272-9138-f99709370657
2002-09-17 12:48:56 +00:00
Eric Linenberg
380ca88d4d Philipp's patch to stop food from appearing on a worm
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2317 a1c6a512-1295-4272-9138-f99709370657
2002-09-17 12:39:47 +00:00
Daniel Stenberg
b377086bef a few more translated strings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2316 a1c6a512-1295-4272-9138-f99709370657
2002-09-17 07:45:19 +00:00
Hardeep Sidhu
c2c8d1cd1e Fixed follow playlist bug when current track was in root directory.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2315 a1c6a512-1295-4272-9138-f99709370657
2002-09-17 07:42:21 +00:00
Daniel Stenberg
04adfe2703 swedish translation file, proof of concept
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2314 a1c6a512-1295-4272-9138-f99709370657
2002-09-17 07:21:43 +00:00
Daniel Stenberg
f518b9ea9c initial VERY basic language file
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2313 a1c6a512-1295-4272-9138-f99709370657
2002-09-17 07:21:03 +00:00
Daniel Stenberg
f2873d255a use an unsigned char * for the string
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2312 a1c6a512-1295-4272-9138-f99709370657
2002-09-17 07:20:31 +00:00
Daniel Stenberg
df322a6c30 regenerated with the new genlang
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2311 a1c6a512-1295-4272-9138-f99709370657
2002-09-17 07:20:05 +00:00
Daniel Stenberg
d96b78b5a5 include the language files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2307 a1c6a512-1295-4272-9138-f99709370657
2002-09-17 06:45:22 +00:00
Daniel Stenberg
0bc588cddc First simple steps using possibly translated strings for the main menu.
The lang.h file in CVS is meant to contain the default english strings.
Generate your favourite local one using the proper language file.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2306 a1c6a512-1295-4272-9138-f99709370657
2002-09-17 06:44:10 +00:00
Felix Arends
99e3b2d186 don't need libc any more
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2305 a1c6a512-1295-4272-9138-f99709370657
2002-09-16 21:01:31 +00:00
Felix Arends
6ac83901a5 now compiles with GNUSH v203 as well.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2303 a1c6a512-1295-4272-9138-f99709370657
2002-09-16 19:35:28 +00:00
Eric Linenberg
038df5cdc9 Daniel,
The following patch makes loadable fonts actually work (finally!).
It took me quite a while, but I finally figured out why the sim
worked and the target didn't: the SH1 processor won't read
longwords from a shortword alignment... I had to rev the .fnt
file to version 1.1 (requires remaking *.fnt files) in order
to fix this.  Please apply the following patch completely.
It's diffed against the latest CVS.

I've also attached rockbox-fonts-1.1.tar.gz which includes
known working *.fnt files, including a courB08 system.fnt,
for demonstration.

Now the real work can begin...  Although the new
system.fnt will work fine, if you try going to a really
big font (try copying courB14.fnt to system.fnt), then
you will find that it comes up and works in tree mode,
but will crash the system when going into WPS
mode...  I'm sure this is because of the low-level
lcd_bitmap not clipping properly when given a too-large
bitmap, which the characters become.  I haven't yet
tried to debug the low-level driver.  Of course, it all
works on the sim...

So the apps developers will now have to make sure that
all apps screen sizes may vary according to the loaded font.
The font height can be gotten through the lcd_getfontsize API.

Files patched in fonts-6.patch

1. apps/menu.c - LCD_PROPFONTS error (2nd resubmission on this, please checkin)

2. firmware/font.c - fixes and reformatting.  Please check this in as is,
my vi editor requires more reformatting changes since I left tabs in the
file, these are removed now (2nd resubmission on this, please checkin)

3. firmware/fonts.h - doc change on .fnt file format, .fnt version
number incremented.

4. firmware/loadfont.c - fixes to load font properly, typedefs
removed.

5. firmware/system.c - lcd_setfont(FONT_SYSFIXED) before
issuing error, otherwise font may not exist.

6. tools/bdf2c - fixes for correct output when filename starts
with a number, as well as when no DEFAULT_CHAR in .bdf
file.  (2nd resubmission on this, please checkin)

7. tools/writerbf.c - fixes for bugfixed fontfile format.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2294 a1c6a512-1295-4272-9138-f99709370657
2002-09-16 03:18:49 +00:00
Robert Hak
8e1a00ccb2 added Lee Marlow's get_option() wrap patch
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2293 a1c6a512-1295-4272-9138-f99709370657
2002-09-14 06:03:51 +00:00
Björn Stenberg
f269b0cf4d Exit on_screen on combination key release.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2292 a1c6a512-1295-4272-9138-f99709370657
2002-09-13 15:54:23 +00:00
Björn Stenberg
8b837a83b4 Draw on_screen as soon as any ON+key is pressed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2291 a1c6a512-1295-4272-9138-f99709370657
2002-09-13 15:27:48 +00:00
Björn Stenberg
8ce651efa0 Added pitch setting screen for recorders. Hold ON in wps to see it. Pitch range is 50-200%
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2290 a1c6a512-1295-4272-9138-f99709370657
2002-09-13 13:14:06 +00:00
Daniel Stenberg
48c23501e9 moved the 12x16 font from the chartables to the bounce code, as that is
now the only code using that font table


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2283 a1c6a512-1295-4272-9138-f99709370657
2002-09-13 06:32:25 +00:00
Daniel Stenberg
93b231c693 Greg Haerr's new loadable font. No more #ifdef font-style, removed old
propfont and loadable font code. New font file format.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2269 a1c6a512-1295-4272-9138-f99709370657
2002-09-12 13:33:59 +00:00
Robert Hak
174f4945f3 adi is stupid improvements
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2266 a1c6a512-1295-4272-9138-f99709370657
2002-09-12 09:20:03 +00:00
Robert Hak
e9d5127eaa efficiency improvement
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2265 a1c6a512-1295-4272-9138-f99709370657
2002-09-12 09:11:59 +00:00
Linus Nielsen Feltzing
0be1d26674 Only handle # comments in file based playlists
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2264 a1c6a512-1295-4272-9138-f99709370657
2002-09-12 07:51:49 +00:00
Hardeep Sidhu
8a1187e80a Renamed "Browse Current" to "Follow Playlist"
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2263 a1c6a512-1295-4272-9138-f99709370657
2002-09-12 06:45:47 +00:00
Eric Linenberg
5d33b5b68f classic snake game by Itai Shaked
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2260 a1c6a512-1295-4272-9138-f99709370657
2002-09-10 15:55:37 +00:00
Hardeep Sidhu
62bec9e0d2 Flush and reload preloaded tracks if playlist changes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2259 a1c6a512-1295-4272-9138-f99709370657
2002-09-10 08:50:40 +00:00
Daniel Stenberg
faf31f0b30 use lcd_update_rect() even on simulators (*crosses fingers*)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2258 a1c6a512-1295-4272-9138-f99709370657
2002-09-10 08:43:01 +00:00
Linus Nielsen Feltzing
331fcf628a Oooops! Players need the set_chanconf() function too
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2254 a1c6a512-1295-4272-9138-f99709370657
2002-09-10 06:24:46 +00:00
Linus Nielsen Feltzing
75d77155dc Added function pointer argument to set_option(). This allows for instantaneous response from the AVC and Channels sound options
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2253 a1c6a512-1295-4272-9138-f99709370657
2002-09-10 05:31:12 +00:00
Björn Stenberg
3b97474978 lcd_puts() now clears to end-of-line
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2252 a1c6a512-1295-4272-9138-f99709370657
2002-09-09 23:57:00 +00:00
Björn Stenberg
50053d11a0 Much expanded wormlet (Philipp Pertermann). Read the manual... :-)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2250 a1c6a512-1295-4272-9138-f99709370657
2002-09-09 23:30:16 +00:00
Björn Stenberg
889197dbf5 Added tracknum and playlist to id3 browser (Magnus Holmgren). Enabled id3 browser on recorder.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2249 a1c6a512-1295-4272-9138-f99709370657
2002-09-09 23:18:44 +00:00
Hardeep Sidhu
ddfa4cb0e5 Go to current song (instead of root) when exiting wps after resume and browse current enabled. Also, if current file is at end of directory listing, show more files on the screen when exiting wps.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2247 a1c6a512-1295-4272-9138-f99709370657
2002-09-09 17:32:15 +00:00
Linus Nielsen Feltzing
066a547288 Now saves channel config
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2245 a1c6a512-1295-4272-9138-f99709370657
2002-09-09 15:25:54 +00:00
Linus Nielsen Feltzing
b10989830c Added channel configuration
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2243 a1c6a512-1295-4272-9138-f99709370657
2002-09-09 15:13:33 +00:00
Eric Linenberg
ecca123dd2 Hardeep's browse current file patch. When hitting stop while playing, you will be on the current song, also this is configurable
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2239 a1c6a512-1295-4272-9138-f99709370657
2002-09-09 14:25:39 +00:00
Felix Arends
1d412e2611 now also build without parameters
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2232 a1c6a512-1295-4272-9138-f99709370657
2002-09-08 20:14:10 +00:00
Felix Arends
a0f32d50ea a new apps makefile for windows (GNUSH) supporting DISABLE_GAMES and different targets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2229 a1c6a512-1295-4272-9138-f99709370657
2002-09-07 19:49:49 +00:00
Björn Stenberg
25f0b3b777 Added support for %d4 to %d9 in the WPS format string.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2226 a1c6a512-1295-4272-9138-f99709370657
2002-09-07 12:34:10 +00:00
Björn Stenberg
94afb54228 Renamed 'load default config' to 'reset settings'. Made it work on recorder.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2225 a1c6a512-1295-4272-9138-f99709370657
2002-09-07 12:28:46 +00:00
Björn Stenberg
11fbddb5b6 Removed hard-coded time display on recorder and added %pb progress bar tag instead.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2218 a1c6a512-1295-4272-9138-f99709370657
2002-09-06 23:17:02 +00:00
Björn Stenberg
77904ab892 Added snow for real.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2216 a1c6a512-1295-4272-9138-f99709370657
2002-09-06 22:30:10 +00:00
Björn Stenberg
451d7f5d37 Renamed menu item 'Screensavers' to more descriptive 'Demos'. Added snow, removed blank and boxes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2215 a1c6a512-1295-4272-9138-f99709370657
2002-09-06 22:28:28 +00:00
Daniel Stenberg
9381765209 To give you all a feeling from the good-old C64 demo scene, press UP or DOWN
and then change the values with LEFT and RIGHT. Enjoy!


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2211 a1c6a512-1295-4272-9138-f99709370657
2002-09-06 12:05:37 +00:00
Daniel Stenberg
0eefad89e5 include options.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2209 a1c6a512-1295-4272-9138-f99709370657
2002-09-06 09:08:23 +00:00
Daniel Stenberg
e28cbaab8a runs smoother-looking on target
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2208 a1c6a512-1295-4272-9138-f99709370657
2002-09-06 09:08:10 +00:00
Linus Nielsen Feltzing
b5965448fb Now includes options.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2207 a1c6a512-1295-4272-9138-f99709370657
2002-09-06 08:31:39 +00:00
Daniel Stenberg
9a8382d2dd undef the defines that used to be set by the makefile, since it'll prevent
a few people to get warnings


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2206 a1c6a512-1295-4272-9138-f99709370657
2002-09-06 08:14:56 +00:00
Daniel Stenberg
6e881b4833 features.h was renamed to options.h since it collided with the system
header file using that name when building the simulator...


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2205 a1c6a512-1295-4272-9138-f99709370657
2002-09-06 07:35:40 +00:00
Justin Heiner
2f9b54b251 Added a 'Load Default Config' menu to the System menu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2204 a1c6a512-1295-4272-9138-f99709370657
2002-09-06 07:00:20 +00:00
Daniel Stenberg
d0cd07237a include features.h for deciding which features to include
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2202 a1c6a512-1295-4272-9138-f99709370657
2002-09-06 06:41:39 +00:00
Daniel Stenberg
d851531d08 meant to control which app features to build-in
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2201 a1c6a512-1295-4272-9138-f99709370657
2002-09-06 06:41:02 +00:00
Justin Heiner
4bd90cc2ca Custom EQ files can now be loaded (*.eq). Docs coming soon :)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2197 a1c6a512-1295-4272-9138-f99709370657
2002-09-06 06:02:02 +00:00
Linus Nielsen Feltzing
3ec0357992 Filters out Stop events from the main menu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2195 a1c6a512-1295-4272-9138-f99709370657
2002-09-06 05:33:57 +00:00
Robert Hak
91e2694d7c Bjorn (Fisher)'s patch to skip the FAT volume ID being shown.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2194 a1c6a512-1295-4272-9138-f99709370657
2002-09-06 04:59:23 +00:00
Daniel Stenberg
dc6526c0f1 uh, fonts can be other heights too ;-)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2190 a1c6a512-1295-4272-9138-f99709370657
2002-09-05 17:59:53 +00:00
Daniel Stenberg
3fdb3607df Credits gone movie-style! ;-)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2189 a1c6a512-1295-4272-9138-f99709370657
2002-09-05 17:58:27 +00:00
Justin Heiner
c4207f1e34 Almost there with the loadable eq. still not ready to use yet though.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2187 a1c6a512-1295-4272-9138-f99709370657
2002-09-05 16:30:07 +00:00
Daniel Stenberg
e4d35f6170 made it move really smooth again and extended the X axis sine table
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2185 a1c6a512-1295-4272-9138-f99709370657
2002-09-05 13:13:01 +00:00
Daniel Stenberg
31a5607e8c include the player dir too
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2184 a1c6a512-1295-4272-9138-f99709370657
2002-09-05 12:53:14 +00:00
Linus Nielsen Feltzing
b19d80992c BUTTON_NONE broke the last_button filter
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2181 a1c6a512-1295-4272-9138-f99709370657
2002-09-05 05:28:15 +00:00
Eric Linenberg
1257733b0a let's see the speed of the scrolling as we set it (made string longer)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2180 a1c6a512-1295-4272-9138-f99709370657
2002-09-05 04:51:43 +00:00
Eric Linenberg
90ca5cf42b Scrolling now goes up to 30
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2179 a1c6a512-1295-4272-9138-f99709370657
2002-09-05 04:47:24 +00:00
Eric Linenberg
c5b645b795 Chris Pimlott's menu patch -- reorgainzes the menus
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2178 a1c6a512-1295-4272-9138-f99709370657
2002-09-05 04:42:12 +00:00
Justin Heiner
e4a27617c0 The beginnings of loadable EQ's from the tree. Ifdef'd as CUSTOM_EQ
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2177 a1c6a512-1295-4272-9138-f99709370657
2002-09-05 01:20:10 +00:00
Justin Heiner
e07a97ed00 Minor update to the last commit
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2176 a1c6a512-1295-4272-9138-f99709370657
2002-09-04 22:32:19 +00:00
Justin Heiner
a425105b66 Added status indicator for charging on Player
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2175 a1c6a512-1295-4272-9138-f99709370657
2002-09-04 22:29:04 +00:00
Daniel Stenberg
88aeb7140c custom wps without an ending newline should still be OK
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2173 a1c6a512-1295-4272-9138-f99709370657
2002-09-04 14:17:41 +00:00
Daniel Stenberg
db6242c719 make the RIGHT button release work again
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2171 a1c6a512-1295-4272-9138-f99709370657
2002-09-04 11:23:15 +00:00
Linus Nielsen Feltzing
18a2dc3eaa Fixed the disappearing shuffle text
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2168 a1c6a512-1295-4272-9138-f99709370657
2002-09-04 05:47:09 +00:00
Justin Heiner
ab21668ae5 re-enabled the lastbutton event for recorder only.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2167 a1c6a512-1295-4272-9138-f99709370657
2002-09-04 05:32:26 +00:00
Eric Linenberg
1ff2543f9e raised the default contrast a few. Works nicely on all models
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2166 a1c6a512-1295-4272-9138-f99709370657
2002-09-04 04:25:20 +00:00
Eric Linenberg
c076b27dfc Added menu wrap. It works on the recorder, but I can't test on the player... hopefully it plays okay!
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2165 a1c6a512-1295-4272-9138-f99709370657
2002-09-04 04:21:10 +00:00
Robert Hak
228ec424a0 lets make lines 80 chars shall we?
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2164 a1c6a512-1295-4272-9138-f99709370657
2002-09-04 04:02:46 +00:00
Robert Hak
8877c66498 minor line fix, line length > 80 chars
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2163 a1c6a512-1295-4272-9138-f99709370657
2002-09-04 03:54:13 +00:00
Eric Linenberg
632bc97ce2 Made menu easier to understand
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2162 a1c6a512-1295-4272-9138-f99709370657
2002-09-04 03:41:26 +00:00
Eric Linenberg
7eb27113c5 Nate Nystrom's FF/RW min speed patch
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2161 a1c6a512-1295-4272-9138-f99709370657
2002-09-04 03:38:37 +00:00
Justin Heiner
ba349223bf wps-display.c
* Made 'Remaining Time' count correctly when doing FF/REW.
    * Fixed bug in player_progressbar that caused Illegal Instruction
      if the FF/Play went past the end of the song.
wps.c
    * Removed 'if(lastbutton!=BUTTON_LEFT)' from track changes.
      It was causing tracks to not change unless button was pressed
      numerous times quickly :-)
    * For player, changed BUTTON_STOP to BUTTON_STOP | BUTTON_REL.
      Since stop is also the key to turn the device off, we don't want
      it to go to the dir browser unless the stop button is released.
settings_menu.c
    * Changed the minimum disk spindown time to 3 seconds, due to
      reported problems if set below that.
makefile.vc6
    * Fixed the VC makefile to work with both Recorder & Player again.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2159 a1c6a512-1295-4272-9138-f99709370657
2002-09-04 01:51:09 +00:00
Björn Stenberg
0ad2010865 Added dir filter toggle (mp3/m3u) to F2 quick-set screen.
Added UpArrow and DownArrow icons.
Simplified dir reload handling in tree.c


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2158 a1c6a512-1295-4272-9138-f99709370657
2002-09-03 20:47:23 +00:00
Justin Heiner
4498b5e9a3 Changed Player Tree-Icon display to not show any icon for unknown files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2155 a1c6a512-1295-4272-9138-f99709370657
2002-09-03 16:37:12 +00:00
Björn Stenberg
abe11fd910 Added quick-set screens to F2 (play modes) and F3 (screen settings) in dir browser and wps. Fixed minor propfont issues in lcd.c. Exported icons outside of icons.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2154 a1c6a512-1295-4272-9138-f99709370657
2002-09-03 15:58:47 +00:00
Björn Stenberg
a3ea73782f Ignore prev/next up unless last button was down
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2152 a1c6a512-1295-4272-9138-f99709370657
2002-09-03 11:25:45 +00:00
Björn Stenberg
c521ed128d Added Randy Wood's ROLO
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2149 a1c6a512-1295-4272-9138-f99709370657
2002-09-03 09:44:08 +00:00
Linus Nielsen Feltzing
c3a1bd2fce Smarter handling of custom chars
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2147 a1c6a512-1295-4272-9138-f99709370657
2002-09-03 09:39:30 +00:00
Linus Nielsen Feltzing
10452d285b Now we have file type icons on the player, thanks to Justin Heiner
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2144 a1c6a512-1295-4272-9138-f99709370657
2002-09-03 07:53:51 +00:00
Linus Nielsen Feltzing
1cbc8826e9 Wrong order of icons
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2143 a1c6a512-1295-4272-9138-f99709370657
2002-09-03 07:51:15 +00:00
Linus Nielsen Feltzing
0b63760045 New player directory with icons
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2142 a1c6a512-1295-4272-9138-f99709370657
2002-09-03 07:39:55 +00:00
Eric Linenberg
d1bcc58290 added the last 51 leves I have been working on to make 101 levels. I know this adds a bunch of bulk to the firmware (about 20k), but I just wanted to get them out there. In the future we can do ./rockbox/slevels with the default levels or something like that. There may be some bugs in these levels, but that is for you to find.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2141 a1c6a512-1295-4272-9138-f99709370657
2002-09-03 03:41:38 +00:00
Eric Linenberg
7d627acc05 fixed up a bunch of the levels
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2140 a1c6a512-1295-4272-9138-f99709370657
2002-09-03 03:23:07 +00:00
Eric Linenberg
146ad6dfc5 added better WPS icon and an icon for mod/ajz files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2139 a1c6a512-1295-4272-9138-f99709370657
2002-09-03 01:07:31 +00:00
Björn Stenberg
90851c5492 Clear button queue when leaving menu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2135 a1c6a512-1295-4272-9138-f99709370657
2002-09-02 14:50:37 +00:00
Björn Stenberg
0976b57c49 Fixed broken build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2134 a1c6a512-1295-4272-9138-f99709370657
2002-09-02 13:32:31 +00:00
Daniel Stenberg
69c87cafad Put Randy up there in the neon lights.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2133 a1c6a512-1295-4272-9138-f99709370657
2002-09-02 13:18:12 +00:00
Björn Stenberg
1a682bedad Renamed "wps.config" to "default.wps".
Added *.wps loading from dir browser.
Added ugly 'wps' icon. :-)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2131 a1c6a512-1295-4272-9138-f99709370657
2002-09-02 12:46:32 +00:00
Daniel Stenberg
71e7ace595 up-to-date with CREDITS
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2126 a1c6a512-1295-4272-9138-f99709370657
2002-09-02 09:05:50 +00:00
Daniel Stenberg
ba3ca9f4fd added those gnush makefiles
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2123 a1c6a512-1295-4272-9138-f99709370657
2002-09-02 07:15:29 +00:00
Björn Stenberg
40d866bd9e Fixed build errors
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2113 a1c6a512-1295-4272-9138-f99709370657
2002-09-01 20:08:08 +00:00
Björn Stenberg
26964fd957 Merged Magnus Holmgren's wps.config code.
Moved wps.config from root to /.rockbox dir.
Removed WPS display setting.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2111 a1c6a512-1295-4272-9138-f99709370657
2002-09-01 19:50:45 +00:00
Robert Hak
862f479bec we don't need HAS_LCD_BITMAP
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2110 a1c6a512-1295-4272-9138-f99709370657
2002-09-01 17:14:17 +00:00
Björn Stenberg
407bfb04f1 Added repeat for ENTER and EXIT
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2108 a1c6a512-1295-4272-9138-f99709370657
2002-09-01 14:49:56 +00:00
Mats Lidell
616b93ddd5 Strange ifdef for SIMULATOR removed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2107 a1c6a512-1295-4272-9138-f99709370657
2002-09-01 14:21:01 +00:00
Robert Hak
0f6d09d7e5 added USE_GAMES
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2106 a1c6a512-1295-4272-9138-f99709370657
2002-09-01 05:47:38 +00:00
Robert Hak
1bcdb239c7 now use USE_GAMES
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2105 a1c6a512-1295-4272-9138-f99709370657
2002-08-31 23:41:17 +00:00
Robert Hak
d97423527f corrected for games define
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2103 a1c6a512-1295-4272-9138-f99709370657
2002-08-31 23:07:11 +00:00
Robert Hak
8b1085d4d1 *** empty log message ***
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2102 a1c6a512-1295-4272-9138-f99709370657
2002-08-31 23:05:36 +00:00
Robert Hak
e0248c5b5c didnt make use of HAVE_LCD_BITMAP
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2101 a1c6a512-1295-4272-9138-f99709370657
2002-08-31 22:55:40 +00:00
Robert Hak
620bb0e3dd we didn't use LCD_BITMAP
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2100 a1c6a512-1295-4272-9138-f99709370657
2002-08-31 22:53:43 +00:00
Robert Hak
1b9109aba2 USE_SCREENSAVERS define added so that we can build w/o Screensavers for the recorders if we want
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2097 a1c6a512-1295-4272-9138-f99709370657
2002-08-31 20:57:53 +00:00
Björn Stenberg
883adb5bfc Removed busy loops.
Replaced unnecessary snprintfs.
Added plenty of whitespace.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2096 a1c6a512-1295-4272-9138-f99709370657
2002-08-31 12:49:01 +00:00
Björn Stenberg
d7339c4a94 Removed sim warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2095 a1c6a512-1295-4272-9138-f99709370657
2002-08-31 11:54:19 +00:00
Justin Heiner
1c00dd8212 whoops, got rid of player_progressbar
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2094 a1c6a512-1295-4272-9138-f99709370657
2002-08-31 05:32:38 +00:00
Justin Heiner
4a72e643da Attempt at fixing reds in sims
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2093 a1c6a512-1295-4272-9138-f99709370657
2002-08-31 05:24:32 +00:00
Justin Heiner
b5025a8c40 USB Related:
Consolidated some more of the USB code in the WPS.
    Have backlight turn offf when USB Connected.
menu.c:
    LINE_X was set wrong for player.
settings_menu.c / wps-display.c:
    Added 1 Line ID3+. Has progress bar & Kbps.
    Renamed some of the WPS options to be more readable.
wps.c / wps-display.c
    Fixed problem with FF/REW when 'Remaining Time' is on.
    Added %pb to the WPS mix. Player progress bar thingy.
    Thanks to whoever fixed my PLAYER_PROGRESS function :-)
    Changed how volume changes on player (works better now).
    General cleanup of Custom WPS code.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2091 a1c6a512-1295-4272-9138-f99709370657
2002-08-31 04:58:35 +00:00
Markus Braun
51ca48ba0d Set lcd margins only if we return from main_menu().
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2089 a1c6a512-1295-4272-9138-f99709370657
2002-08-30 20:41:03 +00:00
Markus Braun
b8660c4120 Killed warning.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2088 a1c6a512-1295-4272-9138-f99709370657
2002-08-30 19:52:33 +00:00
Markus Braun
4e4dfc0848 Fixed time display in statusbar.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2087 a1c6a512-1295-4272-9138-f99709370657
2002-08-30 19:44:58 +00:00
Justin Heiner
5bade50b6a Fix for display of WPS settings in the menu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2086 a1c6a512-1295-4272-9138-f99709370657
2002-08-30 17:29:16 +00:00
Markus Braun
77ef07c3f5 Killed warning.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2085 a1c6a512-1295-4272-9138-f99709370657
2002-08-30 14:03:17 +00:00
Markus Braun
000c2db035 Added scrollbar to tree view and menus.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2084 a1c6a512-1295-4272-9138-f99709370657
2002-08-30 13:49:32 +00:00
Heikki Hannikainen
4b0e8b0b56 Added char rockboxdir[] containing the directory /.rockbox/ where we should
start storing wps config files, fonts and other data/config files.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2083 a1c6a512-1295-4272-9138-f99709370657
2002-08-30 13:24:03 +00:00
Daniel Stenberg
99b69bf7d9 Psyco Dedman's player progress-bar fix
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2082 a1c6a512-1295-4272-9138-f99709370657
2002-08-30 13:08:37 +00:00
Mats Lidell
62613fc376 id3->album is checked for null before use.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2081 a1c6a512-1295-4272-9138-f99709370657
2002-08-30 13:04:54 +00:00
Markus Braun
e6c7c841b9 Corrected bit masks for time setting menu.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2080 a1c6a512-1295-4272-9138-f99709370657
2002-08-30 11:14:52 +00:00
Björn Stenberg
6131a3cc0d Moved display portions of wps.c into new file: wps-display.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2079 a1c6a512-1295-4272-9138-f99709370657
2002-08-30 11:04:41 +00:00
Mats Lidell
648bbfa1ae Bad ifdef removed. Open handles simulator filesystem.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2078 a1c6a512-1295-4272-9138-f99709370657
2002-08-30 09:23:25 +00:00
Mats Lidell
ec0da2f1f8 Simulator reads wps config from file too.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2077 a1c6a512-1295-4272-9138-f99709370657
2002-08-30 08:50:40 +00:00
Justin Heiner
9b62c23d8f Got rid of the old WPS, and use Custom WPS as the method of WPS updating. Also working on a player progress bar (using a custom character). That is now able to be #included with -DPLAYER_PROGRESS in the apps/Makefile
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2074 a1c6a512-1295-4272-9138-f99709370657
2002-08-30 07:11:18 +00:00
Justin Heiner
87f53249b2 Added %pr to CUSTOM_WPS to display remaining time in song.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2072 a1c6a512-1295-4272-9138-f99709370657
2002-08-30 03:08:02 +00:00
Justin Heiner
bd1ddf6d5a update to my update
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2071 a1c6a512-1295-4272-9138-f99709370657
2002-08-30 02:22:42 +00:00
Justin Heiner
0492d624b0 Another update to Zagor's commit
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2070 a1c6a512-1295-4272-9138-f99709370657
2002-08-30 02:08:36 +00:00
Justin Heiner
7e11b62d19 Fixed a couple of problems with Zagor's commit, along with some of my own CUSTOM_WPS problems
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2069 a1c6a512-1295-4272-9138-f99709370657
2002-08-30 01:34:56 +00:00
Björn Stenberg
1c4f60f7cb Removed warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2068 a1c6a512-1295-4272-9138-f99709370657
2002-08-30 00:58:55 +00:00
Björn Stenberg
b665c72fb4 Fixed player build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2067 a1c6a512-1295-4272-9138-f99709370657
2002-08-30 00:56:09 +00:00
Björn Stenberg
b847a7b296 Added status_draw() to set_playmode().
Moved rtc reading from icons.c code to status.c
Added boundary checks for time display values.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2066 a1c6a512-1295-4272-9138-f99709370657
2002-08-30 00:39:31 +00:00
Björn Stenberg
87a4ed5731 Refactored. States are now handled in separate functions instead of using state variables.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2064 a1c6a512-1295-4272-9138-f99709370657
2002-08-30 00:31:00 +00:00
Heikki Hannikainen
a487ef2acd With proportional fonts on the recorder, the scroll speed indicator in scroll
speed setting was not long enough to actually start scrolling 8-)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2063 a1c6a512-1295-4272-9138-f99709370657
2002-08-29 19:32:09 +00:00
Hardeep Sidhu
0227b96812 Don't resume when song is already paused and user selects previous
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2061 a1c6a512-1295-4272-9138-f99709370657
2002-08-29 16:20:33 +00:00
Justin Heiner
8097ee6af1 Custom WPS update - works for recorder and player now. Also updated how the WPS refreshes the screen when using Custom WPS
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2046 a1c6a512-1295-4272-9138-f99709370657
2002-08-29 05:41:35 +00:00
Eric Linenberg
de14e53c66 update to the ff/rw options accelerate options
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2045 a1c6a512-1295-4272-9138-f99709370657
2002-08-29 04:50:39 +00:00
Eric Linenberg
65240761fb Nate Nystrom's ff/rw acceleration patch
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2044 a1c6a512-1295-4272-9138-f99709370657
2002-08-28 19:34:07 +00:00
Justin Heiner
7d808a83e4 Added basic handling of \r\n (ignores it) to the Custom WPS
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2043 a1c6a512-1295-4272-9138-f99709370657
2002-08-28 18:03:20 +00:00
Justin Heiner
a9b2208723 Centered the ROCKbox! logo in the player
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2042 a1c6a512-1295-4272-9138-f99709370657
2002-08-28 18:01:55 +00:00
Markus Braun
b23823e8f2 Added a scrollbar with sizable knob for directory browsing etc.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2041 a1c6a512-1295-4272-9138-f99709370657
2002-08-28 14:25:56 +00:00
Markus Braun
85e936b8a3 No longer use the *_PIXEL macros.
Added a scrollbar with sizable knob for directory browsing etc.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2040 a1c6a512-1295-4272-9138-f99709370657
2002-08-28 14:24:59 +00:00
Markus Braun
257a2f890a Changed the lcd_drawrect() api.
No longer use the *_PIXEL macros.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2039 a1c6a512-1295-4272-9138-f99709370657
2002-08-28 14:23:57 +00:00
Markus Braun
aad11165dc Changed the lcd_drawrect() api.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2038 a1c6a512-1295-4272-9138-f99709370657
2002-08-28 14:22:40 +00:00
Dave Chapman
4368a7378a syntax error fix
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2036 a1c6a512-1295-4272-9138-f99709370657
2002-08-28 14:03:55 +00:00
Dave Chapman
8d12946d03 allow mp2 and mpa as valid file extensions and rename TREE_ATTR_MP3 to TREE_ATTR_MPA
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2035 a1c6a512-1295-4272-9138-f99709370657
2002-08-28 13:58:19 +00:00
Björn Stenberg
1f4e4d339c Reverted back to monospace again. Let's not rock the boat until people can change it themselves (i.e. loadable fonts).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2032 a1c6a512-1295-4272-9138-f99709370657
2002-08-28 11:54:41 +00:00
Linus Nielsen Feltzing
ccfef0480b First attempt to use the new playlist API
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2024 a1c6a512-1295-4272-9138-f99709370657
2002-08-28 10:21:32 +00:00
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