summaryrefslogtreecommitdiff
path: root/apps/misc.c (unfollow)
Commit message (Collapse)Author
2006-02-21First attempt at generating and using .h files from bitmaps using bmp2rb. ↵Dave Chapman
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-19Proper screendump for greyscale iPods.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8735 a1c6a512-1295-4272-9138-f99709370657
2006-01-22Initial attempt at using bmp2rb in the build system. Don't forget to re-run ↵Dave Chapman
configure git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8418 a1c6a512-1295-4272-9138-f99709370657
2006-01-19Fix red builds moreBrandon Low
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8394 a1c6a512-1295-4272-9138-f99709370657
2005-12-05kill gcc4 warningsDaniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8162 a1c6a512-1295-4272-9138-f99709370657
2005-12-04Replace references to HAVE_RTC with CONFIG_RTC and remove the HAVE_RTC ↵Dave Chapman
defines from config-*.h git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8147 a1c6a512-1295-4272-9138-f99709370657
2005-11-26Cleanup of the screendump routine. More similar operation for the various ↵Jens Arnold
LCD depths, and a bit smaller code. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8074 a1c6a512-1295-4272-9138-f99709370657
2005-11-22Win32 simulator now supports iPod Color. Fixed screendump() to correctly ↵Jens Arnold
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-19Use LCD_PIXELFORMAT instead of CONFIG_LCD in screen_dump()Dave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7978 a1c6a512-1295-4272-9138-f99709370657
2005-11-17Fixed the 16bit screendump to work with either endianess and use the 16 bit ↵Jens Arnold
BMP format. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7920 a1c6a512-1295-4272-9138-f99709370657
2005-11-16replaced all the splash calls by gui_sync_splash, added some missing remote ↵Kevin Ferrare
key in the playlist viewer git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7909 a1c6a512-1295-4272-9138-f99709370657
2005-11-15Add logos for iPod color and NanoDave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7889 a1c6a512-1295-4272-9138-f99709370657
2005-11-14H300 logoLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7878 a1c6a512-1295-4272-9138-f99709370657
2005-11-13Implement screen_dump() function for 16-bit colour displaysDave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7847 a1c6a512-1295-4272-9138-f99709370657
2005-10-01Core: A graphics framework can now register a hook function to extend the ↵Jens Arnold
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-09-14The database is now always synched when entering USB mode or shutting down, ↵Linus Nielsen Feltzing
and not only in the tree browser git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7516 a1c6a512-1295-4272-9138-f99709370657
2005-09-02Patch #1272052 by Henrik Backe - Move credits to a pluginLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7450 a1c6a512-1295-4272-9138-f99709370657
2005-09-02Added universal functions for creation of numbered filenames and date+time ↵Jens Arnold
filenames (units with RTC only). Some size optimisations within code using these new functions. Everything should behave as before, except config saving will always find the highest file number + 1 even if the sequence is non-contiguous. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7449 a1c6a512-1295-4272-9138-f99709370657
2005-08-18Fixed sim warningLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7352 a1c6a512-1295-4272-9138-f99709370657
2005-08-18The shutdown message is now displayed before saving the database, giving ↵Linus Nielsen Feltzing
better user feedback when whutting off the player git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7351 a1c6a512-1295-4272-9138-f99709370657
2005-07-064-shades greyscale graphics core for iriver H1x0. 4-grey rockbox logo and ↵Jens Arnold
light grey background in splash() boxes. Simplified the splash() box creation as the new graphics core does clipping. Adapted screendump feature and added flexible preprocessing to construct the bmp header. Rockboy now uses 4-grey mode as well. 4-grey support for win32 simulator. Fixed win32 player sim to not use double bitmap conversion via a recorder-like framebuffer, and correctly display double-height text. X11 simulator temporarily adapted. The display won't be distorted, but it still shows b&w only. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7046 a1c6a512-1295-4272-9138-f99709370657
2005-07-01Check for features, not for models.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6966 a1c6a512-1295-4272-9138-f99709370657
2005-05-17(1) Early USB detection on boot, before trying to mount the partitions. ↵Jens Arnold
Cleaner & quicker; removes the need for the extra USB check at the top of ask_resume() which caused a deadlock in screenshot mode (see patch #1110332). On Ondio, this allows to leave an MMC in the slot when booting with USB connected for instant access. (2) Ondio: Track MMC status, only ask to remove the card if required. Probe MMC status if unknown. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6488 a1c6a512-1295-4272-9138-f99709370657
2005-04-06Moved the car adapter mode handling to apps/, now every thread gets ↵Linus Nielsen Feltzing
SYS_CHARGER_CONNECTED and SYS_CHARGER_DISCONNECTED events git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6255 a1c6a512-1295-4272-9138-f99709370657
2005-03-05Change the colour of screendumps to blue on irivers.Thom Johansen
Patch from rasher. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6140 a1c6a512-1295-4272-9138-f99709370657
2005-02-11iRiver: Fixed screendump() functionLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5913 a1c6a512-1295-4272-9138-f99709370657
2005-02-10iRiver: Allow shutdown when chargingLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5887 a1c6a512-1295-4272-9138-f99709370657
2005-02-07oops again, incomplete long policyJean-Philippe Bernardy
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5843 a1c6a512-1295-4272-9138-f99709370657
2005-02-07long policyJean-Philippe Bernardy
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5839 a1c6a512-1295-4272-9138-f99709370657
2005-02-06clean shutdown for idle timer and sleep timerChristi Scarborough
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5814 a1c6a512-1295-4272-9138-f99709370657
2005-01-31Slightly more compact code; cleanup.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5726 a1c6a512-1295-4272-9138-f99709370657
2005-01-31Made total/free disk space info fit on the player lcd.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5724 a1c6a512-1295-4272-9138-f99709370657
2005-01-31Ooops.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5722 a1c6a512-1295-4272-9138-f99709370657
2005-01-31New function for formatting large-range values for output, both printed and ↵Jens Arnold
voiced. This replaces num2max5(). It is currently used for the total/free space display in the info menu, for the recorded number of bytes (recorders) and the MMC debug info (Ondios). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5721 a1c6a512-1295-4272-9138-f99709370657
2004-10-23Reverted conditional shutdown config flushBjörn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5334 a1c6a512-1295-4272-9138-f99709370657
2004-10-23Don't spin up disk to flush config sector on shutdownBjörn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5331 a1c6a512-1295-4272-9138-f99709370657
2004-10-13Fake power off in clean_shutdown() on Ondio players, to make the user ↵Linus Nielsen Feltzing
releases the OFF button git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5267 a1c6a512-1295-4272-9138-f99709370657
2004-10-12Extended default_event_handler() that calls a callback function prior to ↵Jens Arnold
actually handling the event. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5263 a1c6a512-1295-4272-9138-f99709370657
2004-10-12Now the FM, V2 and Ondio players use the new SYS_POWEROFF event. Now you can ↵Linus Nielsen Feltzing
safely turn off the player by holding OFF. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5259 a1c6a512-1295-4272-9138-f99709370657
2004-10-12Request to remove MMC before acknowledging USB (Ondio)Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5254 a1c6a512-1295-4272-9138-f99709370657
2004-09-19Redesigned the button handling. The code now uses symbolic function defines ↵Björn Stenberg
instead of checking for specific buttons. This makes it easier to add support for new devices with different button layouts. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5091 a1c6a512-1295-4272-9138-f99709370657
2004-09-03Faster & smaller screen_dump() function, saving almost 1.8 KB of ramJens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5037 a1c6a512-1295-4272-9138-f99709370657
2004-08-01More const policeing step 1Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4978 a1c6a512-1295-4272-9138-f99709370657
2004-07-27No need to save the settings in clean_shutdown(), it is always saved, and ↵Linus Nielsen Feltzing
will be written in the ata_flush() call. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4961 a1c6a512-1295-4272-9138-f99709370657
2004-07-26Cosmetic changesLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4954 a1c6a512-1295-4272-9138-f99709370657
2004-07-26First step in revamping the USB event handling, paving the way for the ↵Linus Nielsen Feltzing
upcoming SYS_POWER_OFF event git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4951 a1c6a512-1295-4272-9138-f99709370657
2004-07-26Don't display the shutting down message when the charger is attachedLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4947 a1c6a512-1295-4272-9138-f99709370657
2004-07-24New feature: clean shutdown if you press OFF twice in the file browser, or ↵Linus Nielsen Feltzing
select "Shut off" in the main menu. Players only have the menu option, due to lack of keys. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4940 a1c6a512-1295-4272-9138-f99709370657
2004-07-07Changed the screenshot color mapLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4844 a1c6a512-1295-4272-9138-f99709370657
2004-07-05Moved settings_parseline() to misc.cLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4824 a1c6a512-1295-4272-9138-f99709370657