summaryrefslogtreecommitdiff
path: root/apps/misc.c (follow)
Commit message (Collapse)AuthorAge
...
* fix red 1Robert Kukla2008-03-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16489 a1c6a512-1295-4272-9138-f99709370657
* simulator: Robert Kukla2008-03-02
| | | | | | | - correct colours for m:robe 100 display & screendump - labelled button on background git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16488 a1c6a512-1295-4272-9138-f99709370657
* Prevent possible buffer overflow when locating album art.Magnus Holmgren2008-02-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16231 a1c6a512-1295-4272-9138-f99709370657
* Accept FS#8469 by Bryan Childs with a few adjustments: Remove duplicate ↵Nicolas Pennequin2008-01-18
| | | | | | strip_extension() function from albumart.c. The other one is moved from tree.c to misc.c. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16103 a1c6a512-1295-4272-9138-f99709370657
* make check_dir use dir_exists and slightly optimise the latter Robert Kukla2007-11-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15744 a1c6a512-1295-4272-9138-f99709370657
* consolidate the 3 file_exists() functions into one; use the version that ↵Robert Kukla2007-11-21
| | | | | | explicitly uses dircache; give dir_exists() the same treatment for consistency git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15742 a1c6a512-1295-4272-9138-f99709370657
* Use the strrsplt function in one more placeNils Wallménius2007-11-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15662 a1c6a512-1295-4272-9138-f99709370657
* Accept FS#7910: spontaneously speak out the battery level when it fallsStéphane Doyon2007-11-03
| | | | | | | under 50%, 30% and 15%. Guarded by an option under voice settings. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15422 a1c6a512-1295-4272-9138-f99709370657
* FS#7994 - Rename talk.c API, make talk_disable() affect all talking (not ↵Steve Bavin2007-10-19
| | | | | | just menus), hopefully save some space. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15206 a1c6a512-1295-4272-9138-f99709370657
* Make sure that audio_resume() is not called in interrupt context when car ↵Linus Nielsen Feltzing2007-10-08
| | | | | | adapter mode is enabled. Fixes FS#7304. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15034 a1c6a512-1295-4272-9138-f99709370657
* Implement FS #2976: Clip Counter for recording screen. If enabled in peak ↵Peter D'Hoye2007-08-25
| | | | | | meter settings, it shows the number of times clipping occurred (clip indicator going on). Count is reset on recording start and only counts during actual recording. Stays on screen when stopping or pauzing. Also fix a drawing bug when peakmeters start at a non-zero x offset. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14455 a1c6a512-1295-4272-9138-f99709370657
* Apply fix from FS#6341, with some changes by me.Magnus Holmgren2007-08-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14430 a1c6a512-1295-4272-9138-f99709370657
* Removed special X5 backlight handling, and replaced it with a generic system ↵Jens Arnold2007-08-12
| | | | | | that makes the backlight light up on shutdown and not time out unless it's completely disabled in the current player state. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14292 a1c6a512-1295-4272-9138-f99709370657
* Accept FS#6159 'Add voice to roughly 100 splash screens and yes-no menus' by ↵Nils Wallménius2007-08-06
| | | | | | Stephane Doyon with some minor tweaks by me. Rerun 'configure' and do a 'make clean' before rebuilding your voice files. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14213 a1c6a512-1295-4272-9138-f99709370657
* Redraw the menu when stopping playback, in case the bookmarking code left ↵Magnus Holmgren2007-08-05
| | | | | | something on screen. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14196 a1c6a512-1295-4272-9138-f99709370657
* Fix some places for USB_NONE. Still some more complex cases left though.Jens Arnold2007-08-01
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14122 a1c6a512-1295-4272-9138-f99709370657
* 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