summaryrefslogtreecommitdiff
path: root/apps/misc.c (follow)
Commit message (Collapse)AuthorAge
* First attempt at generating and using .h files from bitmaps using bmp2rb. ↵Dave Chapman2006-02-21
| | | | | | 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
* Proper screendump for greyscale iPods.Jens Arnold2006-02-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8735 a1c6a512-1295-4272-9138-f99709370657
* Initial attempt at using bmp2rb in the build system. Don't forget to re-run ↵Dave Chapman2006-01-22
| | | | | | configure git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8418 a1c6a512-1295-4272-9138-f99709370657
* Fix red builds moreBrandon Low2006-01-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8394 a1c6a512-1295-4272-9138-f99709370657
* kill gcc4 warningsDaniel Stenberg2005-12-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8162 a1c6a512-1295-4272-9138-f99709370657
* Replace references to HAVE_RTC with CONFIG_RTC and remove the HAVE_RTC ↵Dave Chapman2005-12-04
| | | | | | defines from config-*.h git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8147 a1c6a512-1295-4272-9138-f99709370657
* Cleanup of the screendump routine. More similar operation for the various ↵Jens Arnold2005-11-26
| | | | | | LCD depths, and a bit smaller code. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8074 a1c6a512-1295-4272-9138-f99709370657
* Win32 simulator now supports iPod Color. Fixed screendump() to correctly ↵Jens Arnold2005-11-22
| | | | | | 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
* Use LCD_PIXELFORMAT instead of CONFIG_LCD in screen_dump()Dave Chapman2005-11-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7978 a1c6a512-1295-4272-9138-f99709370657
* Fixed the 16bit screendump to work with either endianess and use the 16 bit ↵Jens Arnold2005-11-17
| | | | | | BMP format. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7920 a1c6a512-1295-4272-9138-f99709370657
* replaced all the splash calls by gui_sync_splash, added some missing remote ↵Kevin Ferrare2005-11-16
| | | | | | key in the playlist viewer git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7909 a1c6a512-1295-4272-9138-f99709370657
* Add logos for iPod color and NanoDave Chapman2005-11-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7889 a1c6a512-1295-4272-9138-f99709370657
* H300 logoLinus Nielsen Feltzing2005-11-14
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7878 a1c6a512-1295-4272-9138-f99709370657
* Implement screen_dump() function for 16-bit colour displaysDave Chapman2005-11-13
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7847 a1c6a512-1295-4272-9138-f99709370657
* Core: A graphics framework can now register a hook function to extend the ↵Jens Arnold2005-10-01
| | | | | | 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
* The database is now always synched when entering USB mode or shutting down, ↵Linus Nielsen Feltzing2005-09-14
| | | | | | and not only in the tree browser git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7516 a1c6a512-1295-4272-9138-f99709370657
* Patch #1272052 by Henrik Backe - Move credits to a pluginLinus Nielsen Feltzing2005-09-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7450 a1c6a512-1295-4272-9138-f99709370657
* Added universal functions for creation of numbered filenames and date+time ↵Jens Arnold2005-09-02
| | | | | | 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
* Fixed sim warningLinus Nielsen Feltzing2005-08-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7352 a1c6a512-1295-4272-9138-f99709370657
* The shutdown message is now displayed before saving the database, giving ↵Linus Nielsen Feltzing2005-08-18
| | | | | | better user feedback when whutting off the player git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7351 a1c6a512-1295-4272-9138-f99709370657
* 4-shades greyscale graphics core for iriver H1x0. 4-grey rockbox logo and ↵Jens Arnold2005-07-06
| | | | | | 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
* Check for features, not for models.Jens Arnold2005-07-01
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6966 a1c6a512-1295-4272-9138-f99709370657
* (1) Early USB detection on boot, before trying to mount the partitions. ↵Jens Arnold2005-05-17
| | | | | | 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
* Moved the car adapter mode handling to apps/, now every thread gets ↵Linus Nielsen Feltzing2005-04-06
| | | | | | SYS_CHARGER_CONNECTED and SYS_CHARGER_DISCONNECTED events git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6255 a1c6a512-1295-4272-9138-f99709370657
* Change the colour of screendumps to blue on irivers.Thom Johansen2005-03-05
| | | | | | | Patch from rasher. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6140 a1c6a512-1295-4272-9138-f99709370657
* iRiver: Fixed screendump() functionLinus Nielsen Feltzing2005-02-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5913 a1c6a512-1295-4272-9138-f99709370657
* iRiver: Allow shutdown when chargingLinus Nielsen Feltzing2005-02-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5887 a1c6a512-1295-4272-9138-f99709370657
* oops again, incomplete long policyJean-Philippe Bernardy2005-02-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5843 a1c6a512-1295-4272-9138-f99709370657
* long policyJean-Philippe Bernardy2005-02-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5839 a1c6a512-1295-4272-9138-f99709370657
* clean shutdown for idle timer and sleep timerChristi Scarborough2005-02-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5814 a1c6a512-1295-4272-9138-f99709370657
* Slightly more compact code; cleanup.Jens Arnold2005-01-31
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5726 a1c6a512-1295-4272-9138-f99709370657
* Made total/free disk space info fit on the player lcd.Jens Arnold2005-01-31
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5724 a1c6a512-1295-4272-9138-f99709370657
* Ooops.Jens Arnold2005-01-31
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5722 a1c6a512-1295-4272-9138-f99709370657
* New function for formatting large-range values for output, both printed and ↵Jens Arnold2005-01-31
| | | | | | 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
* Reverted conditional shutdown config flushBjörn Stenberg2004-10-23
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5334 a1c6a512-1295-4272-9138-f99709370657
* Don't spin up disk to flush config sector on shutdownBjörn Stenberg2004-10-23
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5331 a1c6a512-1295-4272-9138-f99709370657
* Fake power off in clean_shutdown() on Ondio players, to make the user ↵Linus Nielsen Feltzing2004-10-13
| | | | | | releases the OFF button git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5267 a1c6a512-1295-4272-9138-f99709370657
* Extended default_event_handler() that calls a callback function prior to ↵Jens Arnold2004-10-12
| | | | | | actually handling the event. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5263 a1c6a512-1295-4272-9138-f99709370657
* Now the FM, V2 and Ondio players use the new SYS_POWEROFF event. Now you can ↵Linus Nielsen Feltzing2004-10-12
| | | | | | safely turn off the player by holding OFF. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5259 a1c6a512-1295-4272-9138-f99709370657
* Request to remove MMC before acknowledging USB (Ondio)Jens Arnold2004-10-12
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5254 a1c6a512-1295-4272-9138-f99709370657
* Redesigned the button handling. The code now uses symbolic function defines ↵Björn Stenberg2004-09-19
| | | | | | 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
* Faster & smaller screen_dump() function, saving almost 1.8 KB of ramJens Arnold2004-09-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5037 a1c6a512-1295-4272-9138-f99709370657
* More const policeing step 1Jens Arnold2004-08-01
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4978 a1c6a512-1295-4272-9138-f99709370657
* No need to save the settings in clean_shutdown(), it is always saved, and ↵Linus Nielsen Feltzing2004-07-27
| | | | | | will be written in the ata_flush() call. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4961 a1c6a512-1295-4272-9138-f99709370657
* Cosmetic changesLinus Nielsen Feltzing2004-07-26
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4954 a1c6a512-1295-4272-9138-f99709370657
* First step in revamping the USB event handling, paving the way for the ↵Linus Nielsen Feltzing2004-07-26
| | | | | | upcoming SYS_POWER_OFF event git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4951 a1c6a512-1295-4272-9138-f99709370657
* Don't display the shutting down message when the charger is attachedLinus Nielsen Feltzing2004-07-26
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4947 a1c6a512-1295-4272-9138-f99709370657
* New feature: clean shutdown if you press OFF twice in the file browser, or ↵Linus Nielsen Feltzing2004-07-24
| | | | | | | | | 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
* Changed the screenshot color mapLinus Nielsen Feltzing2004-07-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4844 a1c6a512-1295-4272-9138-f99709370657
* Moved settings_parseline() to misc.cLinus Nielsen Feltzing2004-07-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4824 a1c6a512-1295-4272-9138-f99709370657