Commit graph

180 commits

Author SHA1 Message Date
Linus Nielsen Feltzing
b8ff5f8971 Added MP3 buffer margin setting
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2939 a1c6a512-1295-4272-9138-f99709370657
2002-12-05 13:09:51 +00:00
Robert Hak
657a2f3d1c correction to make 'playlists' display option work
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2895 a1c6a512-1295-4272-9138-f99709370657
2002-12-02 04:46:19 +00:00
Robert Hak
0789d42400 updateing a build failure (ata_power_off) and first attempt to add 'playlist only' file display
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2894 a1c6a512-1295-4272-9138-f99709370657
2002-11-30 09:42:13 +00:00
Daniel Stenberg
39c54749e3 use the proper #ifdef HAVE_ATA_POWER_OFF
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2890 a1c6a512-1295-4272-9138-f99709370657
2002-11-29 07:05:46 +00:00
Björn Stenberg
2b77b4fdd5 Added option to enable/disable disk poweroff (for diagnostic purposes)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2888 a1c6a512-1295-4272-9138-f99709370657
2002-11-28 22:46:19 +00:00
Linus Nielsen Feltzing
fd0cc3b2b1 Phil Pertermann's dB peak meter patch
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2774 a1c6a512-1295-4272-9138-f99709370657
2002-10-29 12:09:15 +00:00
Robert Hak
da407264c2 fixing a yellow build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2751 a1c6a512-1295-4272-9138-f99709370657
2002-10-26 05:46:53 +00:00
Robert Hak
5a9e8929cd battery/volume status can be displayed numerically
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2750 a1c6a512-1295-4272-9138-f99709370657
2002-10-26 05:26:23 +00:00
Justin Heiner
0af59de733 Got rid of a screen clear in the settings reset menu that made the question disappear
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2711 a1c6a512-1295-4272-9138-f99709370657
2002-10-18 07:58:31 +00:00
Robert Hak
c88751ffa5 resume ask once option added
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2672 a1c6a512-1295-4272-9138-f99709370657
2002-10-16 07:25:33 +00:00
Daniel Stenberg
f22851f61e the simulator simulates rtc now, no need for extra #ifdefs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2654 a1c6a512-1295-4272-9138-f99709370657
2002-10-15 12:10:50 +00:00
Markus Braun
22a7a2d7d3 Added 12 hour clock to status bar on recorders.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2621 a1c6a512-1295-4272-9138-f99709370657
2002-10-14 12:50:20 +00:00
Robert Hak
8f4c5040a0 stupid wrong include
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2616 a1c6a512-1295-4272-9138-f99709370657
2002-10-14 11:55:20 +00:00
Robert Hak
ea8a4cfc2f corrected inability to reset settings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2611 a1c6a512-1295-4272-9138-f99709370657
2002-10-14 09:12:52 +00:00
Björn Stenberg
a6d0abb602 Repeat off/all/one toggle. By Hardeep Sidhu.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2498 a1c6a512-1295-4272-9138-f99709370657
2002-10-04 08:48:20 +00:00
Uwe Freese
ecfc88bb79 Yes/No/Ask instead of On/Off/Ask
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2493 a1c6a512-1295-4272-9138-f99709370657
2002-10-03 15:02:14 +00:00
Linus Nielsen Feltzing
40ffbb1a89 Resetting settings in the menu now applies the settings as well
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2486 a1c6a512-1295-4272-9138-f99709370657
2002-10-03 09:31:01 +00:00
Daniel Stenberg
c43b36c70c backlight when charging now is for players and simulators too
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2466 a1c6a512-1295-4272-9138-f99709370657
2002-10-01 11:12:57 +00:00
Daniel Stenberg
b95fe1afc6 Mark A. Hillebrand's patch that offers a new setting that if enabled, keeps
the backlight on all the time while the charger is connected.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2464 a1c6a512-1295-4272-9138-f99709370657
2002-10-01 10:59:36 +00:00
Daniel Stenberg
f7c3ffa537 peakmeter is lcd-bitmap only
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2438 a1c6a512-1295-4272-9138-f99709370657
2002-09-27 10:18:48 +00:00
Linus Nielsen Feltzing
bb572c4412 Philip Pertermanns peak meter
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2436 a1c6a512-1295-4272-9138-f99709370657
2002-09-27 09:31:31 +00:00
Björn Stenberg
a7dcf912e1 Merged 'mp3 filter' and 'show hidden files' into a single filter option.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2405 a1c6a512-1295-4272-9138-f99709370657
2002-09-24 19:12:09 +00:00
Björn Stenberg
b1b8bd4dd1 Moved on_screen, f2_screen, f3_screen and handle_usb (renamed usb_screen) to a new file: screens.c.
typedef Menu replaced with a bool.
All code now calls usb_screen() for usb handling.
Nearly all code now deals with USB connect/disconnect properly.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2401 a1c6a512-1295-4272-9138-f99709370657
2002-09-24 17:22:12 +00:00
Linus Nielsen Feltzing
083a6dbc4e Auto-poweroff, by Lee Marlow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2374 a1c6a512-1295-4272-9138-f99709370657
2002-09-23 11:42:48 +00:00
Markus Braun
ba93850ee3 Fixed time/date setting for new font system.
Enbled time/date setting in simulator.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2363 a1c6a512-1295-4272-9138-f99709370657
2002-09-21 14:21:31 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Justin Heiner
b986a5c6b7 Added ability to have a Custom WPS Display on the Player. See the commited doc for the tag specification
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1903 a1c6a512-1295-4272-9138-f99709370657
2002-08-22 02:24:14 +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
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
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
Markus Braun
b70d575343 removed entry for status bar
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1767 a1c6a512-1295-4272-9138-f99709370657
2002-08-15 14:12:12 +00:00
Linus Nielsen Feltzing
3ed34a6227 New backlight settings with always-off
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1766 a1c6a512-1295-4272-9138-f99709370657
2002-08-15 13:56:06 +00:00
Björn Stenberg
0570497e3a Added fast forward and rewind (without sound). Patch by Hardeep Sidhu.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1741 a1c6a512-1295-4272-9138-f99709370657
2002-08-14 19:23:34 +00:00
Linus Nielsen Feltzing
638184f1a2 Added LCD contrast setting
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1710 a1c6a512-1295-4272-9138-f99709370657
2002-08-13 11:10:11 +00:00
Markus Braun
2012acf0a8 changed display format for time/date setting menu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1646 a1c6a512-1295-4272-9138-f99709370657
2002-08-09 13:50:58 +00:00
Markus Braun
3181f68eff Added a time/date setting
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1645 a1c6a512-1295-4272-9138-f99709370657
2002-08-09 12:38:45 +00:00
Markus Braun
de8fbf00a8 Added status bar to file browser and wps
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1582 a1c6a512-1295-4272-9138-f99709370657
2002-08-07 10:35:26 +00:00
Linus Nielsen Feltzing
517ea2fa18 API changes due to the RAM-based playlists
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1560 a1c6a512-1295-4272-9138-f99709370657
2002-08-06 13:10:25 +00:00
Heikki Hannikainen
6eb4254dfa Added battery charger for the recorder and a power management debugger.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1547 a1c6a512-1295-4272-9138-f99709370657
2002-08-06 10:52:51 +00:00
Daniel Stenberg
360ae3ebdc Magnus Holmgren's fix that now enables us to toggle shuffle on/off from the
menu and it'll "take effect" immediately when needing to reload the playlist.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1526 a1c6a512-1295-4272-9138-f99709370657
2002-08-02 13:20:03 +00:00
Linus Nielsen Feltzing
c132c48677 Loudness, Superbass and sorting patch by Heikki Hannikainen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1401 a1c6a512-1295-4272-9138-f99709370657
2002-07-22 16:39:17 +00:00
Björn Stenberg
6b25f79af0 Settings are now saved in RTC RAM on Recorder (Heikki Hannikainen).
Introduced debug menu (Heikki Hannikainen).
Cleaned up settings API.
Added scroll_speed init.
Moved dbg_ports() and dbg_rtc() from firmware/debug.c to apps/debug_menu.c
Made panic buffer static.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1347 a1c6a512-1295-4272-9138-f99709370657
2002-07-15 11:02:12 +00:00
Björn Stenberg
60b356ea25 Abstracted settings user interface into set_bool, set_int and set_option.
Removed the unnecessary menu entry ids.
Made playlist_shuffle and scroll_speed proper global settings.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1220 a1c6a512-1295-4272-9138-f99709370657
2002-06-27 01:08:11 +00:00
Björn Stenberg
47d46e37f5 Corrected declaration
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1173 a1c6a512-1295-4272-9138-f99709370657
2002-06-25 09:10:13 +00:00
Björn Stenberg
e3aa46b63c Fixed compiler error, removed unnecessary sprintf
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1170 a1c6a512-1295-4272-9138-f99709370657
2002-06-25 08:58:15 +00:00
Jerome Kuptz
4032f2ed76 added menu support for selecting wps settings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1168 a1c6a512-1295-4272-9138-f99709370657
2002-06-25 08:41:18 +00:00
Robert Hak
84a6ba2891 moved general settings to a submenu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1161 a1c6a512-1295-4272-9138-f99709370657
2002-06-24 21:39:48 +00:00