Robert Kukla
ae08eeb4ff
remove runtime detection of h1x0 series RTC MOD, but leave driver code
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12554 a1c6a512-1295-4272-9138-f99709370657
2007-03-03 00:11:20 +00:00
Robert Kukla
50b5ee4781
FS#6419 - driver for H1x0 series RTC Mod with runtime detection
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12520 a1c6a512-1295-4272-9138-f99709370657
2007-02-28 13:20:36 +00:00
Jens Arnold
51223e5395
Introduced LCD_FBHEIGHT in addition to the already existing LCD_FBWIDTH to ease framebuffer handling a bit. Added equivalent definitions for the remote LCD.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12419 a1c6a512-1295-4272-9138-f99709370657
2007-02-20 19:31:34 +00:00
Jonathan Gordon
9a6f419775
CONFIG_CHARGING
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12384 a1c6a512-1295-4272-9138-f99709370657
2007-02-18 05:32:06 +00:00
Magnus Holmgren
14ba91eaa9
A few more bookmark code tweaks. Also improves how the bookmark selection screen is displayed on Archos players.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12350 a1c6a512-1295-4272-9138-f99709370657
2007-02-17 13:36:44 +00:00
Jens Arnold
67eb154146
Removed 'mode' parameter from creat(). It wasn't pure posix anyway, it was ignored on target and mixed into 'oflags' in the simulator. * Simplified io.c a bit by defining a dummy O_BINARY for OSes which don't have that.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12179 a1c6a512-1295-4272-9138-f99709370657
2007-02-01 23:08:15 +00:00
Dominik Riebeling
ea37d4c072
Use the svn revision number for version information too, version string is now "r<revision>-<builddate> unless there is a static version file (e.g. created by tools/release).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12090 a1c6a512-1295-4272-9138-f99709370657
2007-01-22 23:09:07 +00:00
Björn Stenberg
8cece5a745
Added fade to car adapter mode pause
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11951 a1c6a512-1295-4272-9138-f99709370657
2007-01-08 21:25:46 +00:00
Jonathan Gordon
d152b6492a
update the runtime screen and move it to the inf menu instead of debug
...
menu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11817 a1c6a512-1295-4272-9138-f99709370657
2006-12-19 12:26:03 +00:00
Jonathan Gordon
6efad93713
revert my previous commit, Save your settings manually to a .cfg if you
...
are worried about settings not taking effect.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11816 a1c6a512-1295-4272-9138-f99709370657
2006-12-19 12:03:20 +00:00
Jonathan Gordon
6f4f589164
Force saving settings to disk on shutdown. Better an extra disk write
...
than losing settings (this shouldnt be needed, so a better fix is being
looked into)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11814 a1c6a512-1295-4272-9138-f99709370657
2006-12-19 11:05:07 +00:00
Jens Arnold
314f3b58f1
More static'ing, and a few fixes resulting from that.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11737 a1c6a512-1295-4272-9138-f99709370657
2006-12-12 22:22:21 +00:00
Jonathan Gordon
6581146eb1
Fix dircache not saving the last size (Caused the Scanning disk splash
...
to show every bot).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11734 a1c6a512-1295-4272-9138-f99709370657
2006-12-12 10:45:34 +00:00
Michael Sevakis
0d768a37f9
SWCODEC Recording: 1) Fix minor bug of not subtracting line aligment adjustment from buffer size. 2) Handle stop and pause better and let pcmrec thread lock the DMA as that could cause prerecording to get disabled internally 3) Make sure to snapshot DMA write index to ensure compiler doesn't perform multiple access when calculating available data (probably just paranoia on my part) 4) Handle USB connect in recording thread a little better by resetting hardware to defaults after closing 5) Make power managment stop recording properly when powering off (ie. no yield() from interrupt handler! :)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11685 a1c6a512-1295-4272-9138-f99709370657
2006-12-07 19:34:26 +00:00
Jonathan Gordon
4049d44b03
dont allow the ata callbacks to be run less than once every 30s unless
...
explicitly forced to.
The sleep_after param is only true in the Q_SLEEP event, so its uneeded,
so removed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11599 a1c6a512-1295-4272-9138-f99709370657
2006-11-26 09:53:42 +00:00
Magnus Holmgren
ea7992455a
Make the updated %rg tag match playback behaviour (fall back to track gain if album gain requested but not available). Share the mode decision logic with playback code and simplify the %rg tag handling.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11532 a1c6a512-1295-4272-9138-f99709370657
2006-11-15 20:26:33 +00:00
Barry Wardell
8d2711b7d2
Improved power management (FS#3001). Shutdown rockbox when the battery gets to a level where the device doesn't function properly. Calculate remaining charging time while charging (rather than remaining running time). Show "Low Battery" and "Battery Empty" warnings. Also fixes FS#4786.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11507 a1c6a512-1295-4272-9138-f99709370657
2006-11-11 01:18:57 +00:00
Jonathan Gordon
0d941425b9
call call_ata_idle_notifys on clean shutdown, this should work, but
...
threads with possible callbacks should deal with shutdown/usb
themselves.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11480 a1c6a512-1295-4272-9138-f99709370657
2006-11-09 12:36:50 +00:00
Michael Sevakis
0f5cb94aa4
Big Patch adds primarily: Samplerate and format selection to recording for SWCODEC. Supprort for samplerates changing in playback (just goes with the recording part inseparably). Samplerates to all encoders. Encoders can be configured individually on a menu specific to the encoder in the recording menu. File creation is delayed until flush time to reduce spinups when splitting. Misc: statusbar icons for numbers are individual digits to display any number. Audio buffer was rearranged to maximize memory available to recording and properly reinitialized when trashed. ColdFire PCM stuff moved to target tree to avoid a complicated mess when adding samplerate switching. Some needed API changes and to neaten up growing gap between hardware and software codecs.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11452 a1c6a512-1295-4272-9138-f99709370657
2006-11-06 18:07:30 +00:00
Jonathan Gordon
710ccb7b48
ifdef all the tagcache code, allows rombox to be compiled again, Thanks Austin Appel
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11338 a1c6a512-1295-4272-9138-f99709370657
2006-10-25 10:17:57 +00:00
Miika Pekkarinen
a1ac743453
Implement fast_readline as a function and use it for tagtree also.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11301 a1c6a512-1295-4272-9138-f99709370657
2006-10-21 20:37:33 +00:00
Linus Nielsen Feltzing
da153da0be
Patch #5166 by Robert Keevil - Last.fm logging
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11269 a1c6a512-1295-4272-9138-f99709370657
2006-10-19 09:42:58 +00:00
Miika Pekkarinen
53d662b33c
Don't try to fade unless audio is playing.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11257 a1c6a512-1295-4272-9138-f99709370657
2006-10-18 12:59:13 +00:00
Miika Pekkarinen
6938f56093
Fade out audio on shutdown if enabled.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11256 a1c6a512-1295-4272-9138-f99709370657
2006-10-18 12:54:23 +00:00
Jens Arnold
ceac1733c5
Fixed screendump for iPod Mini.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11088 a1c6a512-1295-4272-9138-f99709370657
2006-09-29 06:22:43 +00:00
Linus Nielsen Feltzing
537c7546f9
Patch #4899 by Robert Keevil - Automatic pause on iPod when removing the headphones
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11057 a1c6a512-1295-4272-9138-f99709370657
2006-09-26 10:03:56 +00:00
Miika Pekkarinen
6ee82e702c
Properly shutdown audio playback early and flush system, including not
...
hanging tagcache. Fixed also tagcache line buffer running out when
importing a changelog with very long lines.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11030 a1c6a512-1295-4272-9138-f99709370657
2006-09-23 10:29:14 +00:00
Peter D'Hoye
c4a59a290b
eeprom driver for the h3x0 series, cleaned up the h1x0 series driver a bit, added debug entry for h3x0 that allows to write to the eeprom
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10597 a1c6a512-1295-4272-9138-f99709370657
2006-08-15 22:54:06 +00:00
Rani Hod
c9f59e6f75
Accepted FS #5772 by Michael Sevakis
...
1. X5 lcd sleep
2. #define HAVE_LCD_ENABLE
3. add "backlight (on hold switch)" setting, adapted from FS #5735
Note that the while(1) yield ==> asm("halt") part is NOT commited here,
I prefer it would be discussed separately.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10489 a1c6a512-1295-4272-9138-f99709370657
2006-08-08 22:03:56 +00:00
Miika Pekkarinen
954b732654
Initial support and use for EEPROM memory on H120 & H140 players when
...
Rockbox firmware has been flashed over original firmware (not yet
possible to do). Dircache & tagcache serialization for fast bootup
without the need to scan disk when Rockbox is in flash.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10464 a1c6a512-1295-4272-9138-f99709370657
2006-08-05 20:19:10 +00:00
Jens Arnold
a048346fa7
Rockbox logo adjusted to the correct iriver remote LCD size, and rockbox logo for the upcoming X5 remote LCD driver, by Marianne Arnold.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10334 a1c6a512-1295-4272-9138-f99709370657
2006-07-26 23:47:29 +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
Jens Arnold
542d9b5942
Greyscale ipods: Fixed screendump for the (not-so-) new framebuffer format.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9873 a1c6a512-1295-4272-9138-f99709370657
2006-05-03 21:26:38 +00:00
Jens Arnold
5074ec0037
Clear all screens before the shutdown splash.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9786 a1c6a512-1295-4272-9138-f99709370657
2006-04-24 06:34:45 +00:00
Miika Pekkarinen
3b31346103
Commit tagcache in background when possible (at least dircache enabled).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9686 a1c6a512-1295-4272-9138-f99709370657
2006-04-16 17:32:54 +00:00
Dave Chapman
95538f6949
First attempt at generating and using .h files from bitmaps using bmp2rb. The .h files are generated for both the core bitmaps and the plugins, but are only currently being used in the core.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8759 a1c6a512-1295-4272-9138-f99709370657
2006-02-21 01:23:30 +00:00
Jens Arnold
da5cef6330
Proper screendump for greyscale iPods.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8735 a1c6a512-1295-4272-9138-f99709370657
2006-02-19 12:31:04 +00:00
Dave Chapman
1e7043a20b
Initial attempt at using bmp2rb in the build system. Don't forget to re-run configure
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8418 a1c6a512-1295-4272-9138-f99709370657
2006-01-22 21:30:32 +00:00
Brandon Low
3249f3eb87
Fix red builds more
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8394 a1c6a512-1295-4272-9138-f99709370657
2006-01-19 20:44:57 +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
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
Jens Arnold
4205407b8a
Cleanup of the screendump routine. More similar operation for the various LCD depths, and a bit smaller code.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8074 a1c6a512-1295-4272-9138-f99709370657
2005-11-26 23:50:24 +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
Dave Chapman
664a4189b2
Use LCD_PIXELFORMAT instead of CONFIG_LCD in screen_dump()
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7978 a1c6a512-1295-4272-9138-f99709370657
2005-11-19 02:14:16 +00:00
Jens Arnold
b0a4b3e2b0
Fixed the 16bit screendump to work with either endianess and use the 16 bit BMP format.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7920 a1c6a512-1295-4272-9138-f99709370657
2005-11-17 00:13:07 +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
07480a7c9d
Add logos for iPod color and Nano
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7889 a1c6a512-1295-4272-9138-f99709370657
2005-11-15 02:19:02 +00:00
Linus Nielsen Feltzing
2dd518a59b
H300 logo
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7878 a1c6a512-1295-4272-9138-f99709370657
2005-11-14 20:46:48 +00:00
Dave Chapman
b27ecbd629
Implement screen_dump() function for 16-bit colour displays
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7847 a1c6a512-1295-4272-9138-f99709370657
2005-11-13 16:13:00 +00:00
Jens Arnold
05042affc7
Core: A graphics framework can now register a hook function to extend the core screendump routine. * Grayscale library: (1) Changed the screendump routine into a hook, and implemented it for H1x0. (2) The planar pixel setting routines now use one register less. Fixes build problem with developer builds (frame pointers enabled) on coldfire.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7574 a1c6a512-1295-4272-9138-f99709370657
2005-10-01 10:20:55 +00:00