Commit graph

267 commits

Author SHA1 Message Date
Jonathan Gordon
d12f81ddd4 fixed the settings action context, time/eq/colour chooser/dbug screens
should all work correctly again


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10670 a1c6a512-1295-4272-9138-f99709370657
2006-08-21 07:03:15 +00:00
Jonathan Gordon
07d3db2dec really fix the yes/no screen now, also id3 viewer shows the status bar
correctly


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10630 a1c6a512-1295-4272-9138-f99709370657
2006-08-17 09:28:04 +00:00
Jonathan Gordon
10af966be2 stop id3 viewer eating keypress on entry
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10626 a1c6a512-1295-4272-9138-f99709370657
2006-08-17 05:40:14 +00:00
Jonathan Gordon
f7db043fbc * fix pitchscreen
* stop yes/no screen eating the first press sometimes
* add enter id3 button from wps in irivier
* update keymap-h10 from Barry Wardell


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10614 a1c6a512-1295-4272-9138-f99709370657
2006-08-16 14:14:16 +00:00
Jonathan Gordon
5e5bfabf67 * fixed the pitch screen key mappings for all targets, targets require a
mapping to access the screen from the wps


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10611 a1c6a512-1295-4272-9138-f99709370657
2006-08-16 13:25:45 +00:00
Magnus Holmgren
45c57e50b2 * Make ID3 info screen usable again (and not exit right after enter), though maybe a few more buttons should cause an exit.\n* Also save a few bytes of code...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10592 a1c6a512-1295-4272-9138-f99709370657
2006-08-15 19:52:03 +00:00
Linus Nielsen Feltzing
224c0a13eb Finally, the new button action system is here, thanks to Jonathan Gordon. Some button mappings have changed and other things may break. Comments should go to the forum, http://forums.rockbox.org/index.php?topic=5829.0 or the mailing list.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10582 a1c6a512-1295-4272-9138-f99709370657
2006-08-15 12:27:07 +00:00
Shachar Liberman
f17e5c04f3 FS#5587 Non-latin languages support update. Translators:Please change
the 48 new LANG_SYSFONT_ strings at the end of your language file if
they don't fit nicely with rockbox's internal font.
(for more info http://www.rockbox.org/twiki/bin/view/Main/NonLatinLanguages)
Developers:Please keep using LANG_SYSFONT strings when reffering to the
internal font. * Hebrew update.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10476 a1c6a512-1295-4272-9138-f99709370657
2006-08-07 21:24:22 +00:00
Kevin Ferrare
f64280ff00 OOPS Forgot remote keys bindings for the ID3 info screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10176 a1c6a512-1295-4272-9138-f99709370657
2006-07-02 16:18:59 +00:00
Kevin Ferrare
f77ac7a6a7 added support remote support for the id3 infos screen (had to slightly change the list engine to use it here as well), corrected a mistake in the french translation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10175 a1c6a512-1295-4272-9138-f99709370657
2006-07-02 12:28:27 +00:00
Jens Arnold
0dd1f8ec11 Work-in-progress rework of charging status reading & display: * Changed several charging related HAVE_* macros into one multi-value CONFIG_CHARGING. * Always use proper macros for charging states. * Battery symbol charging animation now starts from current level on all targets with charging. Two-colour animation kept for non-b&w targets. Round down fill level while charging as before, but round to nearest pixel value for discharging on all targets. * Charging anim fixed on player. * Some code cleanup.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10080 a1c6a512-1295-4272-9138-f99709370657
2006-06-06 22:23:52 +00:00
Thom Johansen
aa1834ef32 Allow pitch ratio to hit top and bottom values when using button repeat.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10027 a1c6a512-1295-4272-9138-f99709370657
2006-05-31 11:38:07 +00:00
Jens Arnold
35aae1ce9a Code policed C99-style variable declarations.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9982 a1c6a512-1295-4272-9138-f99709370657
2006-05-24 07:32:36 +00:00
Peter D'Hoye
93b899d0fe Reworked backdrop handling. Fixes a bug that wasn't in the tracker yet ;)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9970 a1c6a512-1295-4272-9138-f99709370657
2006-05-21 11:00:02 +00:00
Zakk Roberts
35d36585c8 Fix yellow builds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9752 a1c6a512-1295-4272-9138-f99709370657
2006-04-21 06:20:02 +00:00
Zakk Roberts
8a0ea50ee2 Updated pitch screen again. *Back to old behavior of only coming up on ON+UP/DOWN (Archos) or PLAY+UP/DOWN (iriver) - fixes FS#4928. *Button mappings changed: Up/Down = +/- 0.1%; holding Up/Down = +/- 2%; Left/Right = 'temporary' +/- 2% (old behavior). *SWCODEC: pcmbuf_set_low_latency, now you can hear pitch adjustments quicker. *Broke pitchscreen code into two parts; one to draw and one to deal with buttons.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9751 a1c6a512-1295-4272-9138-f99709370657
2006-04-21 06:11:24 +00:00
Hardeep Sidhu
d9f11ac41d Repeat mode should be an integer, not a boolean. Fixes bug #2955.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9743 a1c6a512-1295-4272-9138-f99709370657
2006-04-20 15:41:24 +00:00
Zakk Roberts
a0a01b38e2 Readjusted quickscreen code so that it now actually scales to larger LCDs. Get rid of 'left_right_text' argument - this also means that 'scroll bar' and 'status bar' look better in some languages.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9602 a1c6a512-1295-4272-9138-f99709370657
2006-04-11 06:38:10 +00:00
Zakk Roberts
2f943b054c Enabled the quickscreen for iAudio X5. Globally, REC enters the menu and holding REC enters the quickscreen. Also moved the quickscreen #define to model config files, which simplifies the checking for it and makes checking more consistent. Cleaned up keymappings in quickscreen.h.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9590 a1c6a512-1295-4272-9138-f99709370657
2006-04-10 03:51:17 +00:00
Zakk Roberts
15b2eefd6b Updated quickscreens, now they look better than before while still retaining the ability to scroll - this is about as good as it gets until viewports are implemented. Also enabled the quickscreen for iPods.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9421 a1c6a512-1295-4272-9138-f99709370657
2006-04-02 10:41:16 +00:00
Jens Arnold
de6230153e Missing file from .lang rework
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9399 a1c6a512-1295-4272-9138-f99709370657
2006-04-01 13:41:53 +00:00
Zakk Roberts
c5b63269fc Whoops, the Archos Player/Studio doesn't have the ability to change pitch..
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9176 a1c6a512-1295-4272-9138-f99709370657
2006-03-22 02:44:18 +00:00
Zakk Roberts
5b93eb6f74 Pitch screen now accessible from the WPS context menu for all targets. This means pitch adjustment is now available on the iPods and iAudio X5.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9175 a1c6a512-1295-4272-9138-f99709370657
2006-03-22 02:18:44 +00:00
Linus Nielsen Feltzing
ab1019a1e8 Patch #4843 by Nicolas Pennequin - Correct status bar and backdrop in ID3 info screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9156 a1c6a512-1295-4272-9138-f99709370657
2006-03-21 11:31:53 +00:00
Zakk Roberts
87afd0b050 Reworked pitch screen for easier adjustment and better looks. Added some button definitions for iPods - coming soon to a Sound Settings menu near you...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9146 a1c6a512-1295-4272-9138-f99709370657
2006-03-21 07:59:23 +00:00
Brandon Low
ddf7c70a45 Real Time Clock support in the WPS
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9105 a1c6a512-1295-4272-9138-f99709370657
2006-03-18 22:42:02 +00:00
Zakk Roberts
a3cfdef7c8 Fixed iPod scroll directions for ID3 viewer and corrected semi-misleading comment.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9010 a1c6a512-1295-4272-9138-f99709370657
2006-03-12 02:24:29 +00:00
Brandon Low
63c0d1dd9c Basic battery monitoring for ipod 5g, should work on other ipods as well, but needs testing and stuff. Also improved the RTC driver and moved it to where it belongs, and interrupt protected a bunch of possibly broken i2c. Also start preparing code for ipod charge monitoring. Note: on the 5g, this takes up enough processor time to increase skippiness noticeably in WPS.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8911 a1c6a512-1295-4272-9138-f99709370657
2006-03-05 18:06:06 +00:00
Tomas Salfischberger
625454b690 Patch FS#4744 - This patch maps the "Off" button in the pitch screen to reset the playing speed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8902 a1c6a512-1295-4272-9138-f99709370657
2006-03-04 15:35:29 +00:00
Brandon Low
8d5a6609a3 AB-repeat mode for software codecs. Accessible through menu as a repeat mode, with buttom mappings much like those on other rockbox targets for now.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8409 a1c6a512-1295-4272-9138-f99709370657
2006-01-21 23:43:57 +00:00
Linus Nielsen Feltzing
c993f8c38d Now the quick screen properly sorts the playlist when shuffle is disabled
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8285 a1c6a512-1295-4272-9138-f99709370657
2005-12-23 00:55:01 +00:00
Dave Chapman
b78838d09f Use the abstract SETTINGS_ defines instead of the target-specific BUTTON_ defines for the time/date settings screen - in preparation for H300/iPod RTC support
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8212 a1c6a512-1295-4272-9138-f99709370657
2005-12-10 12:59:54 +00:00
Jens Arnold
dece047e31 Fixed red recorder builds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8165 a1c6a512-1295-4272-9138-f99709370657
2005-12-06 00:53:58 +00:00
Daniel Stenberg
b05eec8b1e Big Code Police raid. Pretty pretty please, we do no macrofy simple
assignments and things just to make them appear as function calls. That makes
code harder to follow. Did some gcc4 warning fixes as well.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8163 a1c6a512-1295-4272-9138-f99709370657
2005-12-05 23:37:14 +00:00
Daniel Stenberg
f981ea93fb kill gcc4 warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8162 a1c6a512-1295-4272-9138-f99709370657
2005-12-05 22:44:42 +00:00
Thom Johansen
5deedc6571 Playback speed changing support for H300.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8153 a1c6a512-1295-4272-9138-f99709370657
2005-12-05 19:04:50 +00:00
Dave Chapman
8c800cf59a Replace references to HAVE_RTC with CONFIG_RTC and remove the HAVE_RTC defines from config-*.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8147 a1c6a512-1295-4272-9138-f99709370657
2005-12-04 15:23:47 +00:00
Thom Johansen
27c658c8a6 Enabled playback speed adjustment support for H1x0. Modified the resampler to do both channels in one pass.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8099 a1c6a512-1295-4272-9138-f99709370657
2005-11-28 22:26:20 +00:00
Jens Arnold
a6d409d9db Replaced the booolean 'Backlight On When Plugged' setting with a complete alternative 'Backlight When Plugged' timeout setting. * Yield during poweroff to make backlight_off() work. * Bumped config version, save your settings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8053 a1c6a512-1295-4272-9138-f99709370657
2005-11-23 20:12:33 +00:00
Kevin Ferrare
f57d0220dd Adapted and commited Markus Kaufhold's remote hold icon on statusbar patch for iriver ; generic logo handler (now it's possible to have a different USB logo on main screen and on remote), made the quickscreen behave as it was before
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8044 a1c6a512-1295-4272-9138-f99709370657
2005-11-22 21:55:05 +00:00
Jens Arnold
be15957c24 Even more const policing.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8042 a1c6a512-1295-4272-9138-f99709370657
2005-11-22 08:46:21 +00:00
Jens Arnold
91f6c3d604 The const police strikes back. Also only include the F3 quickscreen for units with an F3 button.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8041 a1c6a512-1295-4272-9138-f99709370657
2005-11-22 08:44:53 +00:00
Kevin Ferrare
6919d1e3b3 I told you there would be errors
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8040 a1c6a512-1295-4272-9138-f99709370657
2005-11-22 04:15:27 +00:00
Kevin Ferrare
74b6af93b1 Added multi-screen support for quickscreen (mostly rewritten from scratch) and USB screen ; just looking at the hour makes me think it could be buggy
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8039 a1c6a512-1295-4272-9138-f99709370657
2005-11-22 03:38:07 +00:00
Kevin Ferrare
1a1abf25f4 removed old statusbar and buttonbar code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8004 a1c6a512-1295-4272-9138-f99709370657
2005-11-20 01:02:14 +00:00
Christi Scarborough
4c0b83f5e9 Remote WPS support (and some WPS bugfixes) by Stephan Wezel
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7934 a1c6a512-1295-4272-9138-f99709370657
2005-11-17 20:14:59 +00:00
Kevin Ferrare
e991beed6d replaced all the splash calls by gui_sync_splash, added some missing remote key in the playlist viewer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7909 a1c6a512-1295-4272-9138-f99709370657
2005-11-16 15:12:15 +00:00
Dave Chapman
0c0534e297 Add LCD_LIGHTGRAY and LCD_DARKGRAY macros and correctly use LCD_LIGHTGRAY in the old splash screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7837 a1c6a512-1295-4272-9138-f99709370657
2005-11-13 01:15:47 +00:00
Dave Chapman
d22994c79b Use LCD_WHITE macro - this is defined for both greyscale and colour LCDs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7831 a1c6a512-1295-4272-9138-f99709370657
2005-11-12 18:40:43 +00:00
Dave Chapman
85d738346a Use the correct call to lcd_set_background() for colour LCDs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7827 a1c6a512-1295-4272-9138-f99709370657
2005-11-12 15:50:40 +00:00
Magnus Holmgren
415f3bddf6 Oops, forgot to guard a couple of calls to dsp_set_replaygain...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7560 a1c6a512-1295-4272-9138-f99709370657
2005-09-24 15:56:33 +00:00
Magnus Holmgren
4b711c2f72 Iriver: Added new ReplayGain type: track gain if shuffle mode is active, album gain otherwise. Properly apply ReplayGain settings on config file load. Bumped config version, so save your settings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7558 a1c6a512-1295-4272-9138-f99709370657
2005-09-24 15:22:48 +00:00
Linus Nielsen Feltzing
91216a5edc The power thread now monitors the shutdown process and forces a poweroff if it takes more than 8 seconds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7517 a1c6a512-1295-4272-9138-f99709370657
2005-09-14 09:08:26 +00:00
Jens Arnold
ec9b202a92 Reworked handling of MPEG audio frame & file info: * Fixed frame size calculation for layer 1 (all versions) and layer 2 (V2/V2.5). * Exact frame time (expressed as a fraction) for way more precise playtime calculation at 44100/22050/11025Hz sample frequency. * Exact playtime<->position conversion for CBR also used for resume position. * More compact code, long policy.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7505 a1c6a512-1295-4272-9138-f99709370657
2005-09-10 12:28:16 +00:00
Jens Arnold
d6c054575b Renamed CONFIG_HWCODEC and MASNONE to the more appropriate CONFIG_CODEC and SWCODEC, respectively.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7416 a1c6a512-1295-4272-9138-f99709370657
2005-08-29 21:15:27 +00:00
Linus Nielsen Feltzing
d4496efee7 UTF-8 badness removed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7382 a1c6a512-1295-4272-9138-f99709370657
2005-08-21 23:38:51 +00:00
Linus Nielsen Feltzing
0ad617cbf0 Patch #1105616 by Ray Lambert - A-B Repeat for Archos studio/recorder, still not 100% complete, but I wanted to commit it before the 2.5 feature freeze
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7380 a1c6a512-1295-4272-9138-f99709370657
2005-08-21 23:01:12 +00:00
Magnus Holmgren
c0fc2054c2 Show VBR info in the ID3 info screen.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7314 a1c6a512-1295-4272-9138-f99709370657
2005-08-13 08:13:32 +00:00
Magnus Holmgren
eab21c6cb5 Updated ID3 info screen for devices with a bitmapped screen: show a list of all items, rather than item one at a time.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7302 a1c6a512-1295-4272-9138-f99709370657
2005-08-11 18:21:14 +00:00
Magnus Holmgren
988ea2cffc Added support for ID3V2 ReplayGain tags (as written by Foobar). Generalized the replaygain tag parsing a bit, to cut down the code size (APE tags should use this as well, but as it requires larger changes, it will have to wait for another commit). Also fixed a bug in the ID3V2 parser; ISO-8859-1 strings could confuse the main parsing loop (causing bufferpos to come out of sync).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7243 a1c6a512-1295-4272-9138-f99709370657
2005-07-27 11:54:33 +00:00
Magnus Holmgren
8189be1655 Calculate the with of the right string.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7235 a1c6a512-1295-4272-9138-f99709370657
2005-07-24 16:03:44 +00:00
Magnus Holmgren
4a53787992 ReplayGain support for Ogg Vorbis files (also called VorbisGain) added.
Note that there is a small delay from leaving a setting until the change
can be heard (due to audio data buffering).


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7234 a1c6a512-1295-4272-9138-f99709370657
2005-07-24 15:32:28 +00:00
Ryan Jackson
255e1cf79c Changing repeat mode from quick screen now works correctly on iriver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7231 a1c6a512-1295-4272-9138-f99709370657
2005-07-23 19:00:22 +00:00
Jens Arnold
b0e056b5ae More preparations and conversions for colour LCD support.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7195 a1c6a512-1295-4272-9138-f99709370657
2005-07-19 10:33:41 +00:00
Jens Arnold
82ea7c3bac Renamed MAX_LEVEL to LCD_MAX_LEVEL to match the naming scheme. Preparations for colour LCD support.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7194 a1c6a512-1295-4272-9138-f99709370657
2005-07-19 09:24:29 +00:00
Magnus Holmgren
e69c2a9724 Bring back missing information (path, frequency) in the ID3 information screen.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7178 a1c6a512-1295-4272-9138-f99709370657
2005-07-17 11:19:01 +00:00
Jens Arnold
367de4d064 Iriver: Disabled dead charging screen code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7106 a1c6a512-1295-4272-9138-f99709370657
2005-07-11 19:29:54 +00:00
Jens Arnold
7c7dd43ccf Fixed a long-standing bug in the charging screen. The charging screen froze when OFF was pressed. The intention was to powerdown, but this cannot work on archos, so the charging screen must not react on OFF. Made the charging screen react on the ON press instead of the release for better feedback. Bootbox uses SYS_POWEROFF for powering down.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7104 a1c6a512-1295-4272-9138-f99709370657
2005-07-11 19:14:26 +00:00
Hardeep Sidhu
a6abe760a9 Only flush and reload when something is playing. Fixes hang on H1x0 when changing repeat mode before anything has played.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7059 a1c6a512-1295-4272-9138-f99709370657
2005-07-07 23:50:16 +00:00
Jens Arnold
f894a4c269 4-shades greyscale graphics core for iriver H1x0. 4-grey rockbox logo and light grey background in splash() boxes. Simplified the splash() box creation as the new graphics core does clipping. Adapted screendump feature and added flexible preprocessing to construct the bmp header. Rockboy now uses 4-grey mode as well. 4-grey support for win32 simulator. Fixed win32 player sim to not use double bitmap conversion via a recorder-like framebuffer, and correctly display double-height text. X11 simulator temporarily adapted. The display won't be distorted, but it still shows b&w only.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7046 a1c6a512-1295-4272-9138-f99709370657
2005-07-06 22:58:02 +00:00
Michiel Van Der Kolk
1076eb1d27 Check for invalid song data.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7045 a1c6a512-1295-4272-9138-f99709370657
2005-07-06 22:35:21 +00:00
Magnus Holmgren
1e5119b77b Show the same information in the ID3 browser as in the WPS screen; use string version of tags if available, format time in the same way.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7029 a1c6a512-1295-4272-9138-f99709370657
2005-07-05 19:33:33 +00:00
Linus Nielsen Feltzing
6e80ac39a5 New poweroff handling, using the SYS_POWEROFF event, allowing plugins to save their settings before powering off.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7019 a1c6a512-1295-4272-9138-f99709370657
2005-07-05 00:03:18 +00:00
Michiel Van Der Kolk
afe0941ae5 song rating support.. should probably be moved with browse id3 to a "song options" submenu in the wps context menu...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7013 a1c6a512-1295-4272-9138-f99709370657
2005-07-04 22:01:31 +00:00
Daniel Stenberg
9a6a4e79a2 quick scren fixed for h300
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6920 a1c6a512-1295-4272-9138-f99709370657
2005-06-29 13:47:22 +00:00
Christi Scarborough
9e8918b086 Resume rework. With the new resume function, 'Ask' and 'Ask Once' are redundant options, since you can resume after any startup using the resume key. These have been stripped out, and the resume code has been streamlined. A small bug in button handler initialisation has been fixed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6911 a1c6a512-1295-4272-9138-f99709370657
2005-06-29 12:23:09 +00:00
Jens Arnold
7e11acbce9 Second part of graphics api rework. Bitmap drawing and text output converted; some code cleanup and more optimisations.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6906 a1c6a512-1295-4272-9138-f99709370657
2005-06-28 23:15:47 +00:00
Christi Scarborough
37c3d8b610 Quick menu for iRiver: A long press on the PLAY key in the browser or the WPS will take you into the quick menu screen where certain common settings can be adjusted. Works just the same as F2 menu on Archos.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6880 a1c6a512-1295-4272-9138-f99709370657
2005-06-26 20:16:26 +00:00
Hardeep Sidhu
74d082c038 Added new shuffle repeat mode that reshuffles playlist before repeating. Also added new shuffled insert mode that randomly inserts selected track(s) somewhere between current track and end of playlist.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6861 a1c6a512-1295-4272-9138-f99709370657
2005-06-25 04:46:25 +00:00
Jens Arnold
934941294b Core functions taking advantage of the new, optimised lcd_hline() and lcd_vline() functions. Some cleanup.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6859 a1c6a512-1295-4272-9138-f99709370657
2005-06-25 00:28:09 +00:00
Jens Arnold
04daef17a1 First part of graphics api rework. Special functions, parameter handling, pixel functions, lines and filled primitives done for black & white core, main display.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6856 a1c6a512-1295-4272-9138-f99709370657
2005-06-24 22:33:21 +00:00
Jens Arnold
422a141a6e Fix some player build errors.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6837 a1c6a512-1295-4272-9138-f99709370657
2005-06-23 02:20:40 +00:00
Linus Nielsen Feltzing
8b493fa6c4 Leave the ID3 viewer with LEFT as well
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6834 a1c6a512-1295-4272-9138-f99709370657
2005-06-23 01:24:25 +00:00
Jens Arnold
e23348ac8b Shutdown screen is for recorder v1 only.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6831 a1c6a512-1295-4272-9138-f99709370657
2005-06-22 22:22:23 +00:00
Andy
59b78940e8 Center USB logo on all models
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6744 a1c6a512-1295-4272-9138-f99709370657
2005-06-18 09:34:10 +00:00
Jens Arnold
748c751595 Fixed RED builds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6536 a1c6a512-1295-4272-9138-f99709370657
2005-05-30 05:57:19 +00:00
Christian Gmeiner
7477c09b42 Remote LCD: added own backlight timeout stuff
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6533 a1c6a512-1295-4272-9138-f99709370657
2005-05-30 00:00:22 +00:00
Jens Arnold
b9ebe6af0a Better pitch handling.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6503 a1c6a512-1295-4272-9138-f99709370657
2005-05-22 12:45:35 +00:00
Jens Arnold
27abc2a641 (1) Early USB detection on boot, before trying to mount the partitions. Cleaner & quicker; removes the need for the extra USB check at the top of ask_resume() which caused a deadlock in screenshot mode (see patch #1110332). On Ondio, this allows to leave an MMC in the slot when booting with USB connected for instant access. (2) Ondio: Track MMC status, only ask to remove the card if required. Probe MMC status if unknown.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6488 a1c6a512-1295-4272-9138-f99709370657
2005-05-17 22:10:51 +00:00
Jens Arnold
6e37dcf91b Not-so-elegant fix for the simulator builds not defining HAVE_CHARGING.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6413 a1c6a512-1295-4272-9138-f99709370657
2005-05-07 01:49:16 +00:00
Jens Arnold
cd0bb1cbec Ondio: Disabled unused code for time setting and charging splash, saving almost 2 KB binary size.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6412 a1c6a512-1295-4272-9138-f99709370657
2005-05-07 01:30:16 +00:00
Linus Nielsen Feltzing
8a237a829e More audio code restructuring, mostly renaming functions so far
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6246 a1c6a512-1295-4272-9138-f99709370657
2005-04-04 12:06:29 +00:00
Linus Nielsen Feltzing
674eaca5ef Moved the mpeg_sound_xxx() functions to sound.c and renamed them to sound_xxx()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6240 a1c6a512-1295-4272-9138-f99709370657
2005-04-01 13:41:03 +00:00
Jörg Hohensohn
ce51bc4b81 overlooked warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6021 a1c6a512-1295-4272-9138-f99709370657
2005-02-19 16:23:30 +00:00
Jörg Hohensohn
7e1d36f35b Ondio: disk activity indication in USB mode, too
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6020 a1c6a512-1295-4272-9138-f99709370657
2005-02-19 14:45:34 +00:00
Jean-Philippe Bernardy
06f1c0afc6 long policy
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5933 a1c6a512-1295-4272-9138-f99709370657
2005-02-12 12:51:06 +00:00
Jens Arnold
3c348df5ca Changed several places to use button_clear_queue() to empty the button queue. Added the ability to empty the (system's) button queue to the X11 simulatr.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5665 a1c6a512-1295-4272-9138-f99709370657
2005-01-26 22:48:25 +00:00
Björn Stenberg
fc53fd708f Added ID3 database dirfilter
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5574 a1c6a512-1295-4272-9138-f99709370657
2005-01-17 11:37:36 +00:00
Linus Nielsen Feltzing
c8cf5e0e65 You can now leave the quick menus with OFF
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5489 a1c6a512-1295-4272-9138-f99709370657
2004-12-17 11:14:27 +00:00
Jens Arnold
61753a893e Fixed a simulator warning, and disabled some unused code for targets without charging (Ondio)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5453 a1c6a512-1295-4272-9138-f99709370657
2004-11-21 00:44:44 +00:00
Jens Arnold
2996d17736 Animated charging screen for player
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5452 a1c6a512-1295-4272-9138-f99709370657
2004-11-21 00:17:59 +00:00
Jens Arnold
b3e31b9d04 Fix: Properly apply the backlight settings for the charging screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5451 a1c6a512-1295-4272-9138-f99709370657
2004-11-20 22:43:38 +00:00
Linus Nielsen Feltzing
e68ccbd1d8 Added iRiver button codes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5437 a1c6a512-1295-4272-9138-f99709370657
2004-11-19 10:54:59 +00:00
Jens Arnold
1f6c48011c Only voice the MMC remove prompt if voicing is enabled
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5406 a1c6a512-1295-4272-9138-f99709370657
2004-11-12 22:19:29 +00:00
Kjell Ericson
6c2fb55b7d The display is forced in to two row modes for player before showing the splash text
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5311 a1c6a512-1295-4272-9138-f99709370657
2004-10-19 16:17:35 +00:00
Linus Nielsen Feltzing
ae815a0272 Removed the backlight control from the charging screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5255 a1c6a512-1295-4272-9138-f99709370657
2004-10-12 08:42:11 +00:00
Jens Arnold
7f6b640b1e Request to remove MMC before acknowledging USB (Ondio)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5254 a1c6a512-1295-4272-9138-f99709370657
2004-10-12 00:02:51 +00:00
Jens Arnold
ccfa4cd97a Removed car adapter mode for Ondio, and changed the misleading config option HAVE_BATTERIES to the more appropriate HAVE_CHARGING
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5242 a1c6a512-1295-4272-9138-f99709370657
2004-10-10 01:25:32 +00:00
Jörg Hohensohn
593cc00447 a hell of a commit: changed several HAVE_xx configuration flags into multiple choice values (keypad, tuner, CPU, h/w codec)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5126 a1c6a512-1295-4272-9138-f99709370657
2004-09-28 22:13:26 +00:00
Björn Stenberg
6c33c51a4c Redesigned the button handling. The code now uses symbolic function defines instead of checking for specific buttons. This makes it easier to add support for new devices with different button layouts.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5091 a1c6a512-1295-4272-9138-f99709370657
2004-09-19 21:58:37 +00:00
Jörg Hohensohn
d4e527b811 temporary hacks to make it compile with the Ondio (=Player) keypad. No influence for the other platforms.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5060 a1c6a512-1295-4272-9138-f99709370657
2004-09-10 13:19:41 +00:00
Jörg Hohensohn
24c7c04899 adjustment for the Ondio: button driver has an Odio part, for now it has a Player layout. Some fixes in the app code were necessary to remove dependencies of LCD, keypad, this wasn't independent everywhere.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5055 a1c6a512-1295-4272-9138-f99709370657
2004-09-10 10:51:54 +00:00
Jens Arnold
033ba1669b Made local constant arrays static, saving a few bytes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5014 a1c6a512-1295-4272-9138-f99709370657
2004-08-26 20:30:22 +00:00
Jens Arnold
8fb336148f Const policed pointer arguments to functions, part 3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4999 a1c6a512-1295-4272-9138-f99709370657
2004-08-18 01:09:31 +00:00
Linus Nielsen Feltzing
00e384f30a Fix for bug #998515, by Jan Gajdos
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4959 a1c6a512-1295-4272-9138-f99709370657
2004-07-27 07:12:07 +00:00
Linus Nielsen Feltzing
ade5d7b848 First step in revamping the USB event handling, paving the way for the upcoming SYS_POWER_OFF event
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4951 a1c6a512-1295-4272-9138-f99709370657
2004-07-26 16:06:59 +00:00
Linus Nielsen Feltzing
b73caf745f Ignore repeat button events in the shutdown confirmation screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4949 a1c6a512-1295-4272-9138-f99709370657
2004-07-26 07:39:57 +00:00
Linus Nielsen Feltzing
bdbb0ef470 Replaced the poweroff confirmation string with a language ID, and removed the shutdown_screen() function for players
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4941 a1c6a512-1295-4272-9138-f99709370657
2004-07-24 21:35:38 +00:00
Linus Nielsen Feltzing
5b5003dcb1 New feature: clean shutdown if you press OFF twice in the file browser, or select "Shut
off" in the main menu. Players only have the menu option, due to lack of keys.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4940 a1c6a512-1295-4272-9138-f99709370657
2004-07-24 21:26:41 +00:00
Linus Nielsen Feltzing
d0877aff89 splash(): Avoid negative x coordinates if the text doesn't fit
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4914 a1c6a512-1295-4272-9138-f99709370657
2004-07-21 13:58:18 +00:00
Jens Arnold
11888059a8 Const'ed the usb logo
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4903 a1c6a512-1295-4272-9138-f99709370657
2004-07-20 21:49:17 +00:00
Linus Nielsen Feltzing
736a19266d The status bar now keeps track of the mpeg status, instead of having to call status_set_playmode() all the time
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4806 a1c6a512-1295-4272-9138-f99709370657
2004-06-27 01:35:33 +00:00
Jens Arnold
2d446fef06 Fixed lcd_bitmap() to use the bitmap format generated by bmp2rb correctly. Now it works for height > 8. Adapted font transposing & changed some other places to take advantage of that. bounce.c was (apart from fonts) the only routine that used the old format correctly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4620 a1c6a512-1295-4272-9138-f99709370657
2004-05-14 22:55:05 +00:00
Linus Nielsen Feltzing
08ebcad06a The month wasn't spoken in set_time_screen()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4540 a1c6a512-1295-4272-9138-f99709370657
2004-04-21 21:40:26 +00:00
Linus Nielsen Feltzing
1de3dd570d Moved set_time_screen() to screens.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4534 a1c6a512-1295-4272-9138-f99709370657
2004-04-21 06:49:12 +00:00
Linus Nielsen Feltzing
10b92c44b3 First step towards context sensitive and configurable menus, by Brent Coutts
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4370 a1c6a512-1295-4272-9138-f99709370657
2004-03-12 10:20:33 +00:00
Hardeep Sidhu
107ebc5ba9 Modified playlist handling to allow for multiple playlists to be edited at the same time. Added support in playlist viewer for viewing/editing playlists on disk (accessed via ON+PLAY->Playlist->View on a playlist). Added menu in playlist viewer for changing a few settings and saving playlist. Added File Options menu in playlist viewer ON+PLAY menu.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4276 a1c6a512-1295-4272-9138-f99709370657
2004-01-26 17:05:21 +00:00
Daniel Stenberg
1afa395c2f The splash() function's second argument (keymask) is now removed, as it
was not used by any code.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4201 a1c6a512-1295-4272-9138-f99709370657
2004-01-08 09:58:58 +00:00
Jörg Hohensohn
f993365447 Moved the low-level playback functionality into a new, separate module "mp3_playback". This e.g. allows to export a memory playback API to the plugins, opens the door to games with sound, UI sounds, etc.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4192 a1c6a512-1295-4272-9138-f99709370657
2004-01-05 20:42:51 +00:00
Jörg Hohensohn
32c66315c8 oops, before code police arrests me: C++ style comment removed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4187 a1c6a512-1295-4272-9138-f99709370657
2004-01-02 10:12:45 +00:00
Jörg Hohensohn
924972c743 on popular demand: flip screen now in F3 menu, instead of inverse
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4185 a1c6a512-1295-4272-9138-f99709370657
2004-01-01 18:35:47 +00:00
Daniel Stenberg
8e43ccbec6 Initial suppport for building Rockbox for Neo. The Neo has a different
key layout so we need to check for this.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4138 a1c6a512-1295-4272-9138-f99709370657
2003-12-12 13:34:27 +00:00
Björn Stenberg
461d6e347e Added a splash to indicate battery charging if user tries to shut off while plugged in.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4104 a1c6a512-1295-4272-9138-f99709370657
2003-12-04 00:08:25 +00:00
Jörg Hohensohn
eb28d43cd7 for FM and V2: removed the now false voltage reading from charging screen.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4096 a1c6a512-1295-4272-9138-f99709370657
2003-12-03 07:05:13 +00:00
Mats Lidell
49e53c1776 Added adc_read in place for saving simulator builds for
recorder. Please fix appropriately.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3852 a1c6a512-1295-4272-9138-f99709370657
2003-07-20 00:12:21 +00:00
Jörg Hohensohn
20caff2fbf doesn't mess with the charging (let algorithm decide), show charge phase as text, indicate current flow as animation and light, simulator fix
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3848 a1c6a512-1295-4272-9138-f99709370657
2003-07-19 21:43:12 +00:00
Jörg Hohensohn
b5b7304564 Charging screen displays status + animation, "On"-behaviour fixed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3846 a1c6a512-1295-4272-9138-f99709370657
2003-07-18 22:01:13 +00:00
Jörg Hohensohn
5dd17b1857 A very basic charging screen, probably buggy, the pro's would make it much nicer, but it's a starting point.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3841 a1c6a512-1295-4272-9138-f99709370657
2003-07-17 20:29:51 +00:00
Hardeep Sidhu
9e4262081b Added dynamic playlists. ON+PLAY->Playlist on a track, directory, or playlist from file browser to see available options.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3796 a1c6a512-1295-4272-9138-f99709370657
2003-07-01 21:05:43 +00:00
Björn Stenberg
ba371fb595 Added plugin loader. Moved games, demos and the text viewer to loadable plugins. Copy your *.rock files to /.rockbox/rocks/
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3769 a1c6a512-1295-4272-9138-f99709370657
2003-06-29 16:33:04 +00:00
Linus Nielsen Feltzing
a4d6ad77c4 Now the playlist isn't sorted/randomized if no music is playing (fixes the F2-shuffle bug reported by Henry Tremolo)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3707 a1c6a512-1295-4272-9138-f99709370657
2003-05-29 22:48:54 +00:00
Linus Nielsen Feltzing
a4ad4f7ef6 Stevie Oh's F3 menu patch (#729556)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3631 a1c6a512-1295-4272-9138-f99709370657
2003-04-30 01:59:42 +00:00
Linus Nielsen Feltzing
d6aa01bd90 The splash() now doesn't try to output text at negative X positions. This fixes the playlist problems when using french language.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3607 a1c6a512-1295-4272-9138-f99709370657
2003-04-25 01:25:44 +00:00
Björn Stenberg
942bc9449e Only redraw the status line when info actually changed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3588 a1c6a512-1295-4272-9138-f99709370657
2003-04-23 11:26:25 +00:00
Linus Nielsen Feltzing
a91713a216 splash() could draw the line outside the frame buffer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3512 a1c6a512-1295-4272-9138-f99709370657
2003-04-03 00:18:14 +00:00
Robert Hak
202169ed5a remove debug line
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3479 a1c6a512-1295-4272-9138-f99709370657
2003-03-18 22:51:12 +00:00
Daniel Stenberg
078f328544 When you use splash() and a centered output, it will now put the text in
a centered "box" on the screen and will not clear the rest of the screen.
This makes a neat "windows-effect", as can be seen on these demo-shots:

http://www.contactor.se/~dast/splash3.png
http://www.contactor.se/~dast/splash2.png
http://www.contactor.se/~dast/splash.png

Needless to say, current code that "pops-up" information should be moved
to use splash() instead...


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3476 a1c6a512-1295-4272-9138-f99709370657
2003-03-18 16:04:58 +00:00
Daniel Stenberg
87cd59f7e3 power-splash, this should be able to replace most cases where we "splash"
messages for a brief period


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3464 a1c6a512-1295-4272-9138-f99709370657
2003-03-17 21:14:46 +00:00
Daniel Stenberg
7ab2ff550d adjust the splash timer if the wrong key is pressed many times
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3463 a1c6a512-1295-4272-9138-f99709370657
2003-03-17 19:37:01 +00:00
Daniel Stenberg
2517523c30 Hey Linus! Here it is!
Added splash(). Shows a message on screen during a given period, waiting for
the given keymask.

This function word-wraps the input message itself to show it as nicely as
possible. Multi platform function.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3462 a1c6a512-1295-4272-9138-f99709370657
2003-03-17 19:32:12 +00:00