Commit graph

65 commits

Author SHA1 Message Date
Jens Arnold
2993ae69b5 Simplified and uniform volume handling: * Volume setting in dB on all targets, within the 'natural' range defined by the respective DAC (limited to -100..+12 dB for archos Recorders and Ondios in order to avoid 4 chars being displayed in the status bar). 0 dB means line level on all targets. * No more artificial volume limiting for Iriver and Player, settings always represent true values. Removed the various sound scaling options. * Bumped config version so save your settings. Also make sure to adjust the volume after loading a .cfg, then save the .cfg again, otherwise the volume will be out of range (a flaw in the .cfg loader).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8197 a1c6a512-1295-4272-9138-f99709370657
2005-12-07 23:07:07 +00:00
Magnus Holmgren
149f31ca66 Forgot to add an extra BOM check. Probably killed a few gcc4 warnings too.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8195 a1c6a512-1295-4272-9138-f99709370657
2005-12-07 21:18:54 +00:00
Magnus Holmgren
1cce533678 Patch #1367059 by _FireFly_: New wps loader. The wps buffer size can be reduced now, but it isn't done in this patch. Note that %wd, %we, %x| and %xl now need to be on a line on their own.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8193 a1c6a512-1295-4272-9138-f99709370657
2005-12-07 20:42:06 +00:00
Dave Chapman
ddbf4e51aa Prevent numerical settings from wrapping - patch by Stephan Wezel
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8192 a1c6a512-1295-4272-9138-f99709370657
2005-12-07 15:37:21 +00:00
Dave Chapman
e9a635c99c H300: Enable quick menu in WPS (patch #1375178)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8187 a1c6a512-1295-4272-9138-f99709370657
2005-12-07 10:42:46 +00:00
Marcoen Hirschberg
b0fee17d6e waiting is over: initial unicode commit
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8169 a1c6a512-1295-4272-9138-f99709370657
2005-12-06 13:27:15 +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
Jens Arnold
f667b87ec9 Fixed non-working WPS on the player. Removed some TABs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8151 a1c6a512-1295-4272-9138-f99709370657
2005-12-05 02:07:13 +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
Dave Chapman
5009c9c1b8 Split the HAVE_RTC define into HAVE_RTC, HAVE_RTC_RAM and CONFIG_RTC - in preparation for targets (H300, iPod) which have a clock (HAVE_RTC) but no general purpose RAM available for settings data (HAVE_RTC_RAM). CONFIG_RTC is used to specify the low-level driver required.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8144 a1c6a512-1295-4272-9138-f99709370657
2005-12-04 13:05:56 +00:00
Thom Johansen
d5af4b0f48 Use a more proper define. Sorry about that.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8106 a1c6a512-1295-4272-9138-f99709370657
2005-11-29 01:51:41 +00:00
Thom Johansen
d34c9e3806 Playback speed fix: forgot to commit this file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8105 a1c6a512-1295-4272-9138-f99709370657
2005-11-29 01:48:00 +00:00
Christi Scarborough
9589324082 Quick screen patch by _firefly_
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8065 a1c6a512-1295-4272-9138-f99709370657
2005-11-25 21:22:28 +00:00
Kevin Ferrare
b737775b32 fix for the quick screen, now remote is working properly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8061 a1c6a512-1295-4272-9138-f99709370657
2005-11-24 00:33:00 +00:00
Jens Arnold
548755adf1 Fixed disk icon display in remote status bar on iriver. * Rolled back led.c changes, introducing a changed #if condition only. Reduces code size on targets with real controllable LED.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8059 a1c6a512-1295-4272-9138-f99709370657
2005-11-24 00:10:14 +00:00
Kevin Ferrare
40cc43a7b6 Commited George Styles's patch which added multi-screen support to the delete menu (gui_yesno)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8045 a1c6a512-1295-4272-9138-f99709370657
2005-11-22 22:19:08 +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
fd02642ee0 Fixed truncated option strings for numeric settings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8043 a1c6a512-1295-4272-9138-f99709370657
2005-11-22 11:31:28 +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
Jens Arnold
49a0a945ac Win32 simulator now supports iPod Color. Fixed screendump() to correctly work for iPod simulators on big endian machines. Removed duplicate button definitions.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8035 a1c6a512-1295-4272-9138-f99709370657
2005-11-22 01:15:31 +00:00
Jens Arnold
b51f7dfc9b Backlight handling: * Added 'Caption Backlight' and 'Backlight On When Charging' for the iriver remote LCD. * Enabled the backlight code for the simulator, and prepared backlight simulation. It's only a stub atm, writing messages to the console window. * Added tick task handling to the simulators for this to work. * Code cleanup in backlight.c, less dead code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8034 a1c6a512-1295-4272-9138-f99709370657
2005-11-21 23:55:39 +00:00
Jens Arnold
bccfae0a58 Fixed crash with early USB. The USB screen already uses some of the new GUI code, so we have to init before. Fixed problem with gui_syncstatusbar_init() drawing the status bar(s) right away.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8030 a1c6a512-1295-4272-9138-f99709370657
2005-11-21 18:39:18 +00:00
Christi Scarborough
5124844e32 rwps support for boxes theme. Increased image buffer size by a factor of 2.5x. (boxes - for all your WPS stress testing needs.)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8017 a1c6a512-1295-4272-9138-f99709370657
2005-11-21 02:04:47 +00:00
Kevin Ferrare
0d9c7b5bcb Applied Stephan Wezel's patch for the new wps %wd/%we tags (disable/enable statusbar in wps mode independantly from the global setting)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8015 a1c6a512-1295-4272-9138-f99709370657
2005-11-20 22:13:52 +00:00
Kevin Ferrare
c6601489d4 I must have been ON crack
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8007 a1c6a512-1295-4272-9138-f99709370657
2005-11-20 02:10:12 +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
Anton Oleynikov
2c836341ed new icons for radio status
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8002 a1c6a512-1295-4272-9138-f99709370657
2005-11-19 20:45:32 +00:00
Linus Nielsen Feltzing
5745e4106c Fixed bad CR/LF handling in the WPS parser
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8001 a1c6a512-1295-4272-9138-f99709370657
2005-11-19 20:35:40 +00:00
Dave Chapman
fe772405be iPod: First attempt to implement sensible button mappings. Changes to all targets to replace a small number of references to raw button codes (BUTTON_???) with their abstract equivalents.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7983 a1c6a512-1295-4272-9138-f99709370657
2005-11-19 03:19:12 +00:00
Linus Nielsen Feltzing
d06bd609e0 Removed a warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7971 a1c6a512-1295-4272-9138-f99709370657
2005-11-18 22:25:33 +00:00
Linus Nielsen Feltzing
a5fae9816d Fixed a WPS parsing bug where it would interpret stray x chars as %x tags
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7967 a1c6a512-1295-4272-9138-f99709370657
2005-11-18 19:43:30 +00:00
Christi Scarborough
32a43e2ee6 When fixing things is it better to do it in a way that causes them to actually work. Some more bugs in wpsbuild.pl squashed. Also, themes moved to the main menu. Resetting to default themes now works properly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7965 a1c6a512-1295-4272-9138-f99709370657
2005-11-18 15:33:05 +00:00
Linus Nielsen Feltzing
eb148c0168 Fixed a bug in the WPS which ate the first non-bitmap line after a bitmap tag
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7959 a1c6a512-1295-4272-9138-f99709370657
2005-11-18 10:43:40 +00:00
Daniel Stenberg
ff0bae0c7a not static
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7957 a1c6a512-1295-4272-9138-f99709370657
2005-11-18 09:58:43 +00:00
Linus Nielsen Feltzing
313cfc000b Correctly auto-save bookmarks when powering off in the WPS
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7955 a1c6a512-1295-4272-9138-f99709370657
2005-11-18 09:43:42 +00:00
Daniel Stenberg
09fce707c1 Missing file headers put back. Code within 80 cols. Code policed indenting
and style. Simplified struct levels. #if 0'ed unused functions. Made private
stuff static.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7954 a1c6a512-1295-4272-9138-f99709370657
2005-11-18 09:03:25 +00:00
Daniel Stenberg
fe2c40aedb private function made static
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7953 a1c6a512-1295-4272-9138-f99709370657
2005-11-18 08:57:32 +00:00
Kevin Ferrare
8719f0913a generic multi-screen support for yes/no screens (like the one when reseting settings or when firmware has changed)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7951 a1c6a512-1295-4272-9138-f99709370657
2005-11-18 02:07:02 +00:00
Linus Nielsen Feltzing
bba039d22b Removed the percent symbol from the volume and battery WPS tags
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7947 a1c6a512-1295-4272-9138-f99709370657
2005-11-17 23:27:42 +00:00
Christi Scarborough
f8cc3211a6 And the rest of the files too
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7935 a1c6a512-1295-4272-9138-f99709370657
2005-11-17 20:20:01 +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
Jens Arnold
5b2cba17aa Changed the LCD_COLOR pixel value format to packed RGB (unsigned int). Now all LCDs with depth > 1 use the same datatype. Added macros for easy pixel value definition.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7912 a1c6a512-1295-4272-9138-f99709370657
2005-11-16 21:09:23 +00:00
Kevin Ferrare
15046f99b3 show/hide icons now works properly in playlist viewer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7911 a1c6a512-1295-4272-9138-f99709370657
2005-11-16 17:23:49 +00:00
Kevin Ferrare
6a53c33a8b fixed the warning and changed playlist max entries in buffer to 200 as it was before
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7902 a1c6a512-1295-4272-9138-f99709370657
2005-11-16 02:55:26 +00:00
Kevin Ferrare
8517ed8939 Multi screen support for playlist viewer, some fixes in other gui files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7901 a1c6a512-1295-4272-9138-f99709370657
2005-11-16 02:12:25 +00:00
Dave Chapman
64e5239b4c iPod: Add placeholder button definitions - these need reviewing when the button usage for the iPod is decided
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7830 a1c6a512-1295-4272-9138-f99709370657
2005-11-12 16:07:17 +00:00
Jens Arnold
edf5a70e27 Replaced the common for(i = 0; i < NB_SCREENS; i++) loop with a macro that just expands to i = 0; instead of the for() loop if NB_SCREENS == 1. Reduces binary size on platforms with only one screen.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7805 a1c6a512-1295-4272-9138-f99709370657
2005-11-09 22:47:15 +00:00
Kevin Ferrare
f7c97522a8 Fixed the icon for unknown file types on the archos Player, and the bug when removing the last file on the screen in filetree, added some code for playlists integration with multi-screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7800 a1c6a512-1295-4272-9138-f99709370657
2005-11-09 01:17:57 +00:00