summaryrefslogtreecommitdiff
path: root/apps/misc.c (follow)
Commit message (Collapse)AuthorAge
* Fix a bug that would cause a hang when shutting down from the recording ↵Michael Sevakis2007-07-25
| | | | | | screen during prerecording. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13974 a1c6a512-1295-4272-9138-f99709370657
* Accept FS#7134 - Sansa: external sd card support by Antonius Hellmann with ↵Michael Sevakis2007-06-30
| | | | | | some tweaks. All testers have given the green light. (Now for the RED ?? ;). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13741 a1c6a512-1295-4272-9138-f99709370657
* Shutdown and powermanagement cleanup: * Use the proper function for ↵Jens Arnold2007-06-29
| | | | | | determining whether the battery level is safe, and get rid of the extra one. Low battery warning now appears at 10% or less. * Don't delay shutdown artificially by 3 seconds due to low/critical battery warning. * Shutdown at critical battery level: Skip all disk-hitting housekeeping, make sure dircache stops, and don't mark disk as clean in eeprom. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13734 a1c6a512-1295-4272-9138-f99709370657
* A patch by Robert Keevil that's been in the tracker way to long, fixes FS ↵Peter D'Hoye2007-06-24
| | | | | | #6213: Audioscrobbler incorrectly submits last song git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13699 a1c6a512-1295-4272-9138-f99709370657
* Give color targets the ability to display each LCD line a different color ↵Brandon Low2007-06-17
| | | | | | and use this newfangled ability to provide themable colored file types. See the comments on read_color_theme_file and the sample.colors file provided for how to use this. .colors files go in themes directory for now. This separate line color function should be trivial to add to menus and wpss. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13656 a1c6a512-1295-4272-9138-f99709370657
* Move the setvol wrapper function to misc.c and use it in more places instead ↵Nils Wallménius2007-05-30
| | | | | | of doing the same checks everywhere git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13524 a1c6a512-1295-4272-9138-f99709370657
* fix typo in the last commit: lcd_setfont -> lcd_remote_setfontMarcoen Hirschberg2007-04-12
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13125 a1c6a512-1295-4272-9138-f99709370657
* If credits.rock isnt loadable manually show the logo and version.Jonathan Gordon2007-04-12
| | | | | | | Hopefully fixes FS#6799 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13124 a1c6a512-1295-4272-9138-f99709370657
* Stop/shutdown logic rework in browsers and menus. Recorder V1: Double-Off ↵Jens Arnold2007-04-09
| | | | | | shutdown is now possible from menus and sub-browsers as well. Player, other targets which are always powered during charging: Attempted shutdown from menu with charger plugged now displays the charging splash. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13079 a1c6a512-1295-4272-9138-f99709370657
* Now charcell displays require lcd_update() for updating the main lcd content ↵Jens Arnold2007-04-06
| | | | | | like bitmap displays. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13050 a1c6a512-1295-4272-9138-f99709370657
* Oops again, use correct variable types for storing file date and timePeter D'Hoye2007-04-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13039 a1c6a512-1295-4272-9138-f99709370657
* Use date and time rather than size and starting cluster to detect ↵Peter D'Hoye2007-04-05
| | | | | | installation of a new version git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13038 a1c6a512-1295-4272-9138-f99709370657
* Fix automatic rolo on new version for archos. Introduces new define in ↵Peter D'Hoye2007-04-05
| | | | | | config files for bootfile location. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13036 a1c6a512-1295-4272-9138-f99709370657
* Don't check for bootfile changes on devices that use OF for USB (and thus ↵Peter D'Hoye2007-03-30
| | | | | | reboot) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12974 a1c6a512-1295-4272-9138-f99709370657
* Check if a new version got installed after usb disconnect and ask if user ↵Peter D'Hoye2007-03-30
| | | | | | wants to reboot. Causes disk spinup before showing the usb logo. Also fixes do_menu() not returning to root_menu after usb disconnect. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12972 a1c6a512-1295-4272-9138-f99709370657
* Set CONFIG_RTC to 0 for non-RTC targets, and check with #if to profit from ↵Jens Arnold2007-03-16
| | | | | | -Wundef. No code change. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12811 a1c6a512-1295-4272-9138-f99709370657
* Get rid of the 'center' parameter for splashes. There were only 2 of almost ↵Jens Arnold2007-03-16
| | | | | | 500 splashes which were not centered. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12807 a1c6a512-1295-4272-9138-f99709370657
* remove runtime detection of h1x0 series RTC MOD, but leave driver codeRobert Kukla2007-03-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12554 a1c6a512-1295-4272-9138-f99709370657
* FS#6419 - driver for H1x0 series RTC Mod with runtime detectionRobert Kukla2007-02-28
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12520 a1c6a512-1295-4272-9138-f99709370657
* Introduced LCD_FBHEIGHT in addition to the already existing LCD_FBWIDTH to ↵Jens Arnold2007-02-20
| | | | | | 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
* CONFIG_CHARGINGJonathan Gordon2007-02-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12384 a1c6a512-1295-4272-9138-f99709370657
* A few more bookmark code tweaks. Also improves how the bookmark selection ↵Magnus Holmgren2007-02-17
| | | | | | screen is displayed on Archos players. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12350 a1c6a512-1295-4272-9138-f99709370657
* Removed 'mode' parameter from creat(). It wasn't pure posix anyway, it was ↵Jens Arnold2007-02-01
| | | | | | 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
* Use the svn revision number for version information too, version string is ↵Dominik Riebeling2007-01-22
| | | | | | 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
* Added fade to car adapter mode pauseBjörn Stenberg2007-01-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11951 a1c6a512-1295-4272-9138-f99709370657
* update the runtime screen and move it to the inf menu instead of debugJonathan Gordon2006-12-19
| | | | | | | menu git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11817 a1c6a512-1295-4272-9138-f99709370657
* revert my previous commit, Save your settings manually to a .cfg if youJonathan Gordon2006-12-19
| | | | | | | are worried about settings not taking effect. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11816 a1c6a512-1295-4272-9138-f99709370657
* Force saving settings to disk on shutdown. Better an extra disk writeJonathan Gordon2006-12-19
| | | | | | | | 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
* More static'ing, and a few fixes resulting from that.Jens Arnold2006-12-12
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11737 a1c6a512-1295-4272-9138-f99709370657
* Fix dircache not saving the last size (Caused the Scanning disk splashJonathan Gordon2006-12-12
| | | | | | | to show every bot). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11734 a1c6a512-1295-4272-9138-f99709370657
* SWCODEC Recording: 1) Fix minor bug of not subtracting line aligment ↵Michael Sevakis2006-12-07
| | | | | | 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
* dont allow the ata callbacks to be run less than once every 30s unlessJonathan Gordon2006-11-26
| | | | | | | | | 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
* Make the updated %rg tag match playback behaviour (fall back to track gain ↵Magnus Holmgren2006-11-15
| | | | | | 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
* Improved power management (FS#3001). Shutdown rockbox when the battery gets ↵Barry Wardell2006-11-11
| | | | | | 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
* call call_ata_idle_notifys on clean shutdown, this should work, butJonathan Gordon2006-11-09
| | | | | | | | 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
* Big Patch adds primarily: Samplerate and format selection to recording for ↵Michael Sevakis2006-11-06
| | | | | | 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
* ifdef all the tagcache code, allows rombox to be compiled again, Thanks ↵Jonathan Gordon2006-10-25
| | | | | | Austin Appel git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11338 a1c6a512-1295-4272-9138-f99709370657
* Implement fast_readline as a function and use it for tagtree also.Miika Pekkarinen2006-10-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11301 a1c6a512-1295-4272-9138-f99709370657
* Patch #5166 by Robert Keevil - Last.fm loggingLinus Nielsen Feltzing2006-10-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11269 a1c6a512-1295-4272-9138-f99709370657
* Don't try to fade unless audio is playing.Miika Pekkarinen2006-10-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11257 a1c6a512-1295-4272-9138-f99709370657
* Fade out audio on shutdown if enabled.Miika Pekkarinen2006-10-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11256 a1c6a512-1295-4272-9138-f99709370657
* Fixed screendump for iPod Mini.Jens Arnold2006-09-29
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11088 a1c6a512-1295-4272-9138-f99709370657
* Patch #4899 by Robert Keevil - Automatic pause on iPod when removing the ↵Linus Nielsen Feltzing2006-09-26
| | | | | | headphones git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11057 a1c6a512-1295-4272-9138-f99709370657
* Properly shutdown audio playback early and flush system, including notMiika Pekkarinen2006-09-23
| | | | | | | | 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
* eeprom driver for the h3x0 series, cleaned up the h1x0 series driver a bit, ↵Peter D'Hoye2006-08-15
| | | | | | 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
* Accepted FS #5772 by Michael SevakisRani Hod2006-08-08
| | | | | | | | | | | | 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
* Initial support and use for EEPROM memory on H120 & H140 players whenMiika Pekkarinen2006-08-05
| | | | | | | | | 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
* Rockbox logo adjusted to the correct iriver remote LCD size, and rockbox ↵Jens Arnold2006-07-26
| | | | | | 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
* Work-in-progress rework of charging status reading & display: * Changed ↵Jens Arnold2006-06-06
| | | | | | 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
* Greyscale ipods: Fixed screendump for the (not-so-) new framebuffer format.Jens Arnold2006-05-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9873 a1c6a512-1295-4272-9138-f99709370657