Commit graph

152 commits

Author SHA1 Message Date
Brandon Low
3249f3eb87 Fix red builds more
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8394 a1c6a512-1295-4272-9138-f99709370657
2006-01-19 20:44:57 +00:00
Daniel Stenberg
f981ea93fb kill gcc4 warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8162 a1c6a512-1295-4272-9138-f99709370657
2005-12-05 22:44:42 +00:00
Dave Chapman
8c800cf59a Replace references to HAVE_RTC with CONFIG_RTC and remove the HAVE_RTC defines from config-*.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8147 a1c6a512-1295-4272-9138-f99709370657
2005-12-04 15:23:47 +00:00
Jens Arnold
4205407b8a Cleanup of the screendump routine. More similar operation for the various LCD depths, and a bit smaller code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8074 a1c6a512-1295-4272-9138-f99709370657
2005-11-26 23:50:24 +00:00
Jens Arnold
49a0a945ac Win32 simulator now supports iPod Color. Fixed screendump() to correctly 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-22 01:15:31 +00:00
Dave Chapman
664a4189b2 Use LCD_PIXELFORMAT instead of CONFIG_LCD in screen_dump()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7978 a1c6a512-1295-4272-9138-f99709370657
2005-11-19 02:14:16 +00:00
Jens Arnold
b0a4b3e2b0 Fixed the 16bit screendump to work with either endianess and use the 16 bit BMP format.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7920 a1c6a512-1295-4272-9138-f99709370657
2005-11-17 00:13:07 +00:00
Kevin Ferrare
e991beed6d replaced all the splash calls by gui_sync_splash, added some missing remote key in the playlist viewer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7909 a1c6a512-1295-4272-9138-f99709370657
2005-11-16 15:12:15 +00:00
Dave Chapman
07480a7c9d Add logos for iPod color and Nano
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7889 a1c6a512-1295-4272-9138-f99709370657
2005-11-15 02:19:02 +00:00
Linus Nielsen Feltzing
2dd518a59b H300 logo
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7878 a1c6a512-1295-4272-9138-f99709370657
2005-11-14 20:46:48 +00:00
Dave Chapman
b27ecbd629 Implement screen_dump() function for 16-bit colour displays
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7847 a1c6a512-1295-4272-9138-f99709370657
2005-11-13 16:13:00 +00:00
Jens Arnold
05042affc7 Core: A graphics framework can now register a hook function to extend the 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-10-01 10:20:55 +00:00
Linus Nielsen Feltzing
74353a7fe4 The database is now always synched when entering USB mode or shutting down, and not only in the tree browser
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7516 a1c6a512-1295-4272-9138-f99709370657
2005-09-14 09:07:05 +00:00
Linus Nielsen Feltzing
60895bc107 Patch #1272052 by Henrik Backe - Move credits to a plugin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7450 a1c6a512-1295-4272-9138-f99709370657
2005-09-02 05:39:09 +00:00
Jens Arnold
58e9412bff Added universal functions for creation of numbered filenames and date+time 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-09-02 01:15:35 +00:00
Linus Nielsen Feltzing
49483bc488 Fixed sim warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7352 a1c6a512-1295-4272-9138-f99709370657
2005-08-18 14:46:35 +00:00
Linus Nielsen Feltzing
670abf99ae The shutdown message is now displayed before saving the database, giving better user feedback when whutting off the player
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7351 a1c6a512-1295-4272-9138-f99709370657
2005-08-18 14:23:18 +00:00
Jens Arnold
f894a4c269 4-shades greyscale graphics core for iriver H1x0. 4-grey rockbox logo and 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-06 22:58:02 +00:00
Jens Arnold
0ec97339ae Check for features, not for models.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6966 a1c6a512-1295-4272-9138-f99709370657
2005-07-01 16:22:56 +00:00
Jens Arnold
27abc2a641 (1) Early USB detection on boot, before trying to mount the partitions. 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-05-17 22:10:51 +00:00
Linus Nielsen Feltzing
3d2178148b Moved the car adapter mode handling to apps/, now every thread gets SYS_CHARGER_CONNECTED and SYS_CHARGER_DISCONNECTED events
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6255 a1c6a512-1295-4272-9138-f99709370657
2005-04-06 11:12:22 +00:00
Thom Johansen
fd01ca38f6 Change the colour of screendumps to blue on irivers.
Patch from rasher.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6140 a1c6a512-1295-4272-9138-f99709370657
2005-03-05 15:39:00 +00:00
Linus Nielsen Feltzing
6dca87e60c iRiver: Fixed screendump() function
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5913 a1c6a512-1295-4272-9138-f99709370657
2005-02-11 14:38:44 +00:00
Linus Nielsen Feltzing
6da68019b5 iRiver: Allow shutdown when charging
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5887 a1c6a512-1295-4272-9138-f99709370657
2005-02-10 21:53:41 +00:00
Jean-Philippe Bernardy
f64939eeda oops again, incomplete long policy
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5843 a1c6a512-1295-4272-9138-f99709370657
2005-02-07 22:56:37 +00:00
Jean-Philippe Bernardy
947dceb205 long policy
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5839 a1c6a512-1295-4272-9138-f99709370657
2005-02-07 21:54:31 +00:00
Christi Scarborough
247fe6d698 clean shutdown for idle timer and sleep timer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5814 a1c6a512-1295-4272-9138-f99709370657
2005-02-06 09:57:57 +00:00
Jens Arnold
c8e1d578d2 Slightly more compact code; cleanup.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5726 a1c6a512-1295-4272-9138-f99709370657
2005-01-31 02:25:36 +00:00
Jens Arnold
f098b15c79 Made total/free disk space info fit on the player lcd.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5724 a1c6a512-1295-4272-9138-f99709370657
2005-01-31 01:27:48 +00:00
Jens Arnold
a8f8c8ae36 Ooops.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5722 a1c6a512-1295-4272-9138-f99709370657
2005-01-31 00:50:20 +00:00
Jens Arnold
2116bba296 New function for formatting large-range values for output, both printed and 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
2005-01-31 00:39:20 +00:00
Björn Stenberg
6edfcbf1d6 Reverted conditional shutdown config flush
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5334 a1c6a512-1295-4272-9138-f99709370657
2004-10-23 23:12:48 +00:00
Björn Stenberg
e9f7c1ade4 Don't spin up disk to flush config sector on shutdown
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5331 a1c6a512-1295-4272-9138-f99709370657
2004-10-23 14:52:59 +00:00
Linus Nielsen Feltzing
b03ff1e172 Fake power off in clean_shutdown() on Ondio players, to make the user releases the OFF button
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5267 a1c6a512-1295-4272-9138-f99709370657
2004-10-13 09:08:32 +00:00
Jens Arnold
0dc52d5c36 Extended default_event_handler() that calls a callback function prior to actually handling the event.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5263 a1c6a512-1295-4272-9138-f99709370657
2004-10-12 22:45:01 +00:00
Linus Nielsen Feltzing
0b3ea1bfcb Now the FM, V2 and Ondio players use the new SYS_POWEROFF event. Now you can 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-12 11:00:19 +00:00
Jens Arnold
7f6b640b1e Request to remove MMC before acknowledging USB (Ondio)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5254 a1c6a512-1295-4272-9138-f99709370657
2004-10-12 00:02:51 +00:00
Björn Stenberg
6c33c51a4c Redesigned the button handling. The code now uses symbolic function defines 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-19 21:58:37 +00:00
Jens Arnold
0f04656325 Faster & smaller screen_dump() function, saving almost 1.8 KB of ram
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5037 a1c6a512-1295-4272-9138-f99709370657
2004-09-03 22:24:29 +00:00
Jens Arnold
abe77a1a2a More const policeing step 1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4978 a1c6a512-1295-4272-9138-f99709370657
2004-08-01 21:50:57 +00:00
Linus Nielsen Feltzing
de0100fafb No need to save the settings in clean_shutdown(), it is always saved, and 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-27 08:57:00 +00:00
Linus Nielsen Feltzing
f749093c26 Cosmetic changes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4954 a1c6a512-1295-4272-9138-f99709370657
2004-07-26 23:31:40 +00:00
Linus Nielsen Feltzing
ade5d7b848 First step in revamping the USB event handling, paving the way for the upcoming SYS_POWER_OFF event
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4951 a1c6a512-1295-4272-9138-f99709370657
2004-07-26 16:06:59 +00:00
Linus Nielsen Feltzing
0aeed7d148 Don't display the shutting down message when the charger is attached
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4947 a1c6a512-1295-4272-9138-f99709370657
2004-07-26 07:37:26 +00:00
Linus Nielsen Feltzing
5b5003dcb1 New feature: clean shutdown if you press OFF twice in the file browser, or 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-24 21:26:41 +00:00
Linus Nielsen Feltzing
81f0b58e46 Changed the screenshot color map
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4844 a1c6a512-1295-4272-9138-f99709370657
2004-07-07 07:47:32 +00:00
Linus Nielsen Feltzing
26440c9fd6 Moved settings_parseline() to misc.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4824 a1c6a512-1295-4272-9138-f99709370657
2004-07-05 11:15:50 +00:00
Linus Nielsen Feltzing
a8dab4c08a New screen dump feature for recorders
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4817 a1c6a512-1295-4272-9138-f99709370657
2004-06-30 13:31:14 +00:00
Jörg Hohensohn
5040cc53ec Screen buffer transposed, such that bytes in X-direction are consecutive. This enables my turbocharged lcd_write_data() for regular screen updates. Please check the X11 sim, Win32 works.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4177 a1c6a512-1295-4272-9138-f99709370657
2003-12-23 23:41:45 +00:00
Linus Nielsen Feltzing
75b41a88f6 Moved read_line() to misc.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3647 a1c6a512-1295-4272-9138-f99709370657
2003-05-04 02:04:31 +00:00
Linus Nielsen Feltzing
a97de95ed9 Added screen_dump() for future use
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3554 a1c6a512-1295-4272-9138-f99709370657
2003-04-14 15:58:51 +00:00
Daniel Stenberg
9963c4570b renamed string.c to misc.c and added a misc.h for the num2max5() function,
and included that header file in recording.c


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3403 a1c6a512-1295-4272-9138-f99709370657
2003-03-10 12:19:49 +00:00
Renamed from apps/string.c (Browse further)