summaryrefslogtreecommitdiff
path: root/apps/main.c
AgeCommit message (Collapse)Author
2008-03-05FS#8457 - convert the list drawing code to use viewports. This does not ↵Jonathan Gordon
include any of the customizability which was in the patch, so unless any bugs show up users should not notice any difference. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16527 a1c6a512-1295-4272-9138-f99709370657
2008-02-27move the usb_core thread functionality to the main usb threadFrank Gevaerts
fix button-detection so screenshots and charge-only mode work without enabling UMS firewire detection is now handled separately from usb detection increase the usb thread priority while an UMS connection is active git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16435 a1c6a512-1295-4272-9138-f99709370657
2008-02-10Commit FS#8379 by Andree Buschmann. Disables much of the remaining unneeded ↵Michael Giacomelli
hardware on PP50xx targets (Ipods, Sansa, H10s, etc) resulting in a large savings in power and consequent increase in battery life. Results vary from target to target and from codec to codec, but we now approach the OF runtime on several PP devices. For now, leave base CPU clock at 30MHz, although further savings is possible with some codecs if clock is reduced. Additionally, fix battery capacity on c200 and use my measurements to improve runtime estimation for Sandisk targets. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16259 a1c6a512-1295-4272-9138-f99709370657
2007-11-22New USB stackBjörn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15758 a1c6a512-1295-4272-9138-f99709370657
2007-10-26Implement as genuine a set_irq_level function for the sim as possible. The ↵Michael Sevakis
yield added earlier is still nescessary since other threads won't run anyway while viewing the database screen on either sim or target. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15321 a1c6a512-1295-4272-9138-f99709370657
2007-10-19FS#7994 - Rename talk.c API, make talk_disable() affect all talking (not ↵Steve Bavin
just menus), hopefully save some space. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15206 a1c6a512-1295-4272-9138-f99709370657
2007-10-06Unify PCM interface just above the hardware driver level for all targets ↵Michael Sevakis
including the sims. Perform lockout of audio callback when changing states. Weird new playback or recording trouble? Check before and after this revision first though things seem quite sound. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15006 a1c6a512-1295-4272-9138-f99709370657
2007-09-28Commit a subset of the dual core changes that have to do with cache ↵Michael Sevakis
handling, stacks, firmware startup and thread startup. Tested on e200, H10-20GB, iPod Color and 5.5G. Thread function return implemented for all targets. Some changes to plugins to follow shortly. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14879 a1c6a512-1295-4272-9138-f99709370657
2007-09-10UISIMULATOR: Do a graceful shutdown of all threads and avoid (mostly lockup) ↵Michael Sevakis
problems caused by not worrying about states. Have rockbox objects initialized only by rockbox threads save for the main 'gui' thread which is a needed exception. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14660 a1c6a512-1295-4272-9138-f99709370657
2007-09-04FS #7691 - improved USB detection on PP devices. This patch modifies the ↵Dave Chapman
target-tree function usb_detect() on all targets from bool to int, returning USB_INSERTED or USB_EXTRACTED instead of true or false. This was done to enable the PP usb_detect() to check for USB_POWER (either a connection to a USB wall charger, or the user holding "charge mode" button) and return that as a third value. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14600 a1c6a512-1295-4272-9138-f99709370657
2007-08-28Disable voicing of the database commit splash on hwcodec. It doesn't work ↵Jens Arnold
anyway as the database commit takes the audio buffer, and trying it breaks voice afterwards until reboot. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14490 a1c6a512-1295-4272-9138-f99709370657
2007-08-27Usb Stack: only setup packet handling, and not enabled by default as there ↵Christian Gmeiner
is a lot to do. * settings code is not fully ready -> changing device driver has no effect * clean ups * check copyriths * find a way to detect IN transfers * support for full and highspeed * ... git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14470 a1c6a512-1295-4272-9138-f99709370657
2007-08-10It is bad to try to speak before we call talk_init()Nils Wallménius
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14265 a1c6a512-1295-4272-9138-f99709370657
2007-08-07If autorock is enabled, look for autostart.rock in /.rockbox/rocks/apps/ ↵Antoine Cellerier
instead of /.rockbox/rocks/. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14237 a1c6a512-1295-4272-9138-f99709370657
2007-08-06Accept FS#6159 'Add voice to roughly 100 splash screens and yes-no menus' by ↵Nils Wallménius
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
2007-08-05*** Lang v2 cleanup (FS#6574) ***Nils Wallménius
1) Introduces apps/features.txt that controls which strings are included for each target based on defines. 2) .lng and .voice files are now target specific and the format versions of both these file types have been bumped, which means that new voice files are needed. 3) Use the 'features' mechanism to exclude strings for targets that didn't use them. 4) Delete unused and deprecated and duplicated strings, sort strings in english.lang Some string IDs were changed so translations will be slightly worse than before. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14198 a1c6a512-1295-4272-9138-f99709370657
2007-07-05Oops...that wasn't suppose to get left there. :PMichael Sevakis
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13793 a1c6a512-1295-4272-9138-f99709370657
2007-07-05Gigabeat: Use vectored IRQ mode interrupts and add a trap for unhandled ones.Michael Sevakis
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13792 a1c6a512-1295-4272-9138-f99709370657
2007-06-30Accept FS#7134 - Sansa: external sd card support by Antonius Hellmann with ↵Michael Sevakis
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
2007-06-10Move the root_menu() call out of tree.c.Jonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13609 a1c6a512-1295-4272-9138-f99709370657
2007-05-17Player: Fix database commit step display on boot.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13400 a1c6a512-1295-4272-9138-f99709370657
2007-04-27make A the new 'clear settings' button for the Gigabeat as it was easy to ↵Marcoen Hirschberg
accidentally trigger it with HOLD git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13279 a1c6a512-1295-4272-9138-f99709370657
2007-04-21Commit FS#6929 - Gigabeat bootloader improvements by Barry Wardell and ↵Karl Kurbjun
myself. This build fixes the problems seen with the latest builds on the Gigabeat X. Added View IO Ports under the Debug menu for the Gigabeat. Make sure you grab the latest bootloader from the Wiki as the old bootloader will not work properly with new builds. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13225 a1c6a512-1295-4272-9138-f99709370657
2007-04-19Make the simulator work with unicode filenames on windows. This includes ↵Jens Arnold
both file operations and console (debug) output. Note that the console window _must_ be configured to use a truetype font for proper unicode display. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13211 a1c6a512-1295-4272-9138-f99709370657
2007-04-17explicitly set *loaded_ok = false; when given "" for a filename.Jonathan Gordon
remove icon_init from the startup sequence, its not dependant on filetypes_init anymore,settings_apply calls the icons_init (causes the bmp's to only be read once on boot instead of twice) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13191 a1c6a512-1295-4272-9138-f99709370657
2007-04-16Customizable icons for all bitmap targets. (FS#7013)Jonathan Gordon
http://www.rockbox.org/twiki/bin/view/Main/CustomIcons for info on format and how to load them git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13177 a1c6a512-1295-4272-9138-f99709370657
2007-04-07Dircache fixes: Stop scanning properly if shutdown is initiated. Require ↵Miika Pekkarinen
user to re-enable dircache if initialization fails. Don't create statefile unless eeprom settings have been initialized. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13060 a1c6a512-1295-4272-9138-f99709370657
2007-04-06Now charcell displays require lcd_update() for updating the main lcd content ↵Jens Arnold
like bitmap displays. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13050 a1c6a512-1295-4272-9138-f99709370657
2007-04-02This is called database for quite a while now...Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13004 a1c6a512-1295-4272-9138-f99709370657
2007-03-29Recode filetypes.c to remove its need for a static string buffer.Jonathan Gordon
Functional changes: - filetypes.c handles the open with menu now instead of onplay.c - automatic plugin registration no longer works (did anyone know about you could do this?) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12959 a1c6a512-1295-4272-9138-f99709370657
2007-03-16Set CONFIG_RTC to 0 for non-RTC targets, and check with #if to profit from ↵Jens Arnold
-Wundef. No code change. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12811 a1c6a512-1295-4272-9138-f99709370657
2007-03-16Get rid of the 'center' parameter for splashes. There were only 2 of almost ↵Jens Arnold
500 splashes which were not centered. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12807 a1c6a512-1295-4272-9138-f99709370657
2007-03-09Install the single stage synchronous audio initialization I cooked up awhile ↵Michael Sevakis
back. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12693 a1c6a512-1295-4272-9138-f99709370657
2007-03-07Lead user through database initialisationSteve Bavin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12678 a1c6a512-1295-4272-9138-f99709370657
2007-03-07Removed the LCD/backlight glitch when starting Rockbox on mainly the color ↵Linus Nielsen Feltzing
LCD targets git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12672 a1c6a512-1295-4272-9138-f99709370657
2007-03-04Dual core support for PP502x players (iPod G4 and later, iriver h10, Sansa - ↵Daniel Ankers
iPod G3 will be coming soon.) This allows threads to be run on either core provided that all communications between the cores is done using uncached memory. There should be no significant change in battery life from doing this. Documentation (on the RockboxKernel wiki page) will follow shortly. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12601 a1c6a512-1295-4272-9138-f99709370657
2007-02-28Character-encoding policingDave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12516 a1c6a512-1295-4272-9138-f99709370657
2007-02-27Oops: G3 doesn't support RoLoDaniel Ankers
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12512 a1c6a512-1295-4272-9138-f99709370657
2007-02-27Improved RoLo support for PortalPlayer - handles the COP correctlyDaniel Ankers
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12511 a1c6a512-1295-4272-9138-f99709370657
2007-02-18CONFIG_CHARGINGJonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12384 a1c6a512-1295-4272-9138-f99709370657
2007-02-18Do the CONFIG_LED defineJonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12383 a1c6a512-1295-4272-9138-f99709370657
2007-02-18Do the CONFIG_USBOTG define correctlyJonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12382 a1c6a512-1295-4272-9138-f99709370657
2007-02-18Explicilty set CONFIG_ defines to 0 which are not used.. because doing Jonathan Gordon
#if defined(BLAA) && BLAA == something defeats the point of Wundef git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12378 a1c6a512-1295-4272-9138-f99709370657
2007-02-18CONFIG_USBOTG fixesJonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12377 a1c6a512-1295-4272-9138-f99709370657
2007-02-17Fix most (all?) CONFIG_LED warnings.Magnus Holmgren
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12370 a1c6a512-1295-4272-9138-f99709370657
2007-02-14Cuesheet support by Jonathan Gordon and me (FS #6460).Nicolas Pennequin
Everytime an audio file is loaded, a cue file with the same name is searched for. A setting allows to disable this (default is off). Cuesheet files can also be viewed in the file browser. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12304 a1c6a512-1295-4272-9138-f99709370657
2007-01-24Split the system status variables out of global_settings and put them into a ↵Jonathan Gordon
new struct global_status. Use status_save() if these need saving. Added car_adapter_mode to the nvram settings, so nvram settings will be reset. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12101 a1c6a512-1295-4272-9138-f99709370657
2007-01-23Settings are now stored in /.rockbox/config.cfg instead of the hidden ↵Jonathan Gordon
sector. (FS #6557) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12093 a1c6a512-1295-4272-9138-f99709370657
2007-01-17Get rid of // commentGreg White
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12049 a1c6a512-1295-4272-9138-f99709370657
2007-01-17Disable logo for new bootsplashGreg White
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12036 a1c6a512-1295-4272-9138-f99709370657