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