Commit graph

4929 commits

Author SHA1 Message Date
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
3d91885718 Removed dead code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4950 a1c6a512-1295-4272-9138-f99709370657
2004-07-26 14:54:57 +00:00
Linus Nielsen Feltzing
b73caf745f Ignore repeat button events in the shutdown confirmation screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4949 a1c6a512-1295-4272-9138-f99709370657
2004-07-26 07:39:57 +00:00
Linus Nielsen Feltzing
0c01305eb9 Act on the button-down event for the clean shutdown, and show the charging splash if the charger is attached
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4948 a1c6a512-1295-4272-9138-f99709370657
2004-07-26 07:39:23 +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
Jens Arnold
61b36341b0 Synced
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4946 a1c6a512-1295-4272-9138-f99709370657
2004-07-25 23:04:27 +00:00
Linus Nielsen Feltzing
550e55ffb5 The call to shutdown_screen() is only for recorder models
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4945 a1c6a512-1295-4272-9138-f99709370657
2004-07-25 17:08:17 +00:00
Linus Nielsen Feltzing
320ef3e4d8 ask_resume() now only reacts on button release events
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4944 a1c6a512-1295-4272-9138-f99709370657
2004-07-25 16:22:38 +00:00
Linus Nielsen Feltzing
da7177749a Removed annoying debug output
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4943 a1c6a512-1295-4272-9138-f99709370657
2004-07-24 23:54:59 +00:00
Linus Nielsen Feltzing
ae5bf599a6 Added shutdown confirmation text
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4942 a1c6a512-1295-4272-9138-f99709370657
2004-07-24 21:36:00 +00:00
Linus Nielsen Feltzing
bdbb0ef470 Replaced the poweroff confirmation string with a language ID, and removed the shutdown_screen() function for players
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4941 a1c6a512-1295-4272-9138-f99709370657
2004-07-24 21:35:38 +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
6b8d020876 Now doesn't generate extraneous key-down events when releasing one key in a combo
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4939 a1c6a512-1295-4272-9138-f99709370657
2004-07-24 20:38:56 +00:00
Linus Nielsen Feltzing
f209eb9a83 Prepared for ROM builds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4938 a1c6a512-1295-4272-9138-f99709370657
2004-07-24 19:04:49 +00:00
Linus Nielsen Feltzing
d659282f6d Removed some obsolete stuff
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4937 a1c6a512-1295-4272-9138-f99709370657
2004-07-24 17:57:02 +00:00
Linus Nielsen Feltzing
8aa84f4a64 Major fixes to please newer versions of the linker
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4936 a1c6a512-1295-4272-9138-f99709370657
2004-07-24 17:56:38 +00:00
Linus Nielsen Feltzing
4b9cb9b5b4 Don't copy the data section if src and dest are the same
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4935 a1c6a512-1295-4272-9138-f99709370657
2004-07-24 17:53:56 +00:00
Linus Nielsen Feltzing
0185ee7e4c Removed nasty lvalue cast
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4934 a1c6a512-1295-4272-9138-f99709370657
2004-07-24 17:20:21 +00:00
Linus Nielsen Feltzing
9da3385a50 gcc 3.4 has a different constraint syntax
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4933 a1c6a512-1295-4272-9138-f99709370657
2004-07-24 11:39:17 +00:00
Linus Nielsen Feltzing
3d2c829c69 Fixes for the new virtual pointer concept
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4932 a1c6a512-1295-4272-9138-f99709370657
2004-07-23 23:31:58 +00:00
Jörg Hohensohn
b1403ee024 New way of defining menus and options allows to declare them static const, which saves the code to runtime-assemble them. Rockbox just got 6 KB smaller.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4931 a1c6a512-1295-4272-9138-f99709370657
2004-07-23 23:01:20 +00:00
Linus Nielsen Feltzing
15d04fdb00 Somewhat better key combination handling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4930 a1c6a512-1295-4272-9138-f99709370657
2004-07-23 21:38:43 +00:00
Linus Nielsen Feltzing
0e067bbe55 Removed the simulator build option
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4929 a1c6a512-1295-4272-9138-f99709370657
2004-07-23 21:10:13 +00:00
Linus Nielsen Feltzing
865effac7e Brushed up, made it more like the win32 makefile
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4928 a1c6a512-1295-4272-9138-f99709370657
2004-07-23 21:06:03 +00:00
Linus Nielsen Feltzing
f215562afd Now you can exit the clock plugin again
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4927 a1c6a512-1295-4272-9138-f99709370657
2004-07-23 21:02:56 +00:00
Linus Nielsen Feltzing
0112fc8b0b Case insensitive sorting
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4926 a1c6a512-1295-4272-9138-f99709370657
2004-07-23 15:13:18 +00:00
Linus Nielsen Feltzing
c051eda028 Added strcasecmp() to the plugin API
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4925 a1c6a512-1295-4272-9138-f99709370657
2004-07-23 15:12:43 +00:00
Linus Nielsen Feltzing
a17df38de7 New viewer plugin, sorts a text (or playlist) file
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4924 a1c6a512-1295-4272-9138-f99709370657
2004-07-23 14:54:04 +00:00
Linus Nielsen Feltzing
80c31c9ea0 The simulator has to use the sim_ versions of remove() and rename()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4923 a1c6a512-1295-4272-9138-f99709370657
2004-07-23 14:51:49 +00:00
Linus Nielsen Feltzing
12bf7f39b1 Slightly better randomness when shuffling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4922 a1c6a512-1295-4272-9138-f99709370657
2004-07-23 10:45:16 +00:00
Linus Nielsen Feltzing
dd0b12c9ac Added RAND_MAX
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4921 a1c6a512-1295-4272-9138-f99709370657
2004-07-23 10:38:16 +00:00
Linus Nielsen Feltzing
e2e06a7c41 Removed the sound debugging screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4920 a1c6a512-1295-4272-9138-f99709370657
2004-07-23 08:58:06 +00:00
Linus Nielsen Feltzing
25a60a54e7 Brushed it up a little
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4919 a1c6a512-1295-4272-9138-f99709370657
2004-07-23 08:45:34 +00:00
Linus Nielsen Feltzing
6c7011415b It turns out that the backlight port pin on the player can be set to an input (and pulled up externally) to shut off the backlight. That may save us a few picoamps :-)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4918 a1c6a512-1295-4272-9138-f99709370657
2004-07-22 09:09:26 +00:00
Linus Nielsen Feltzing
e4fc3d471c Updated for the new configfile functions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4917 a1c6a512-1295-4272-9138-f99709370657
2004-07-22 07:51:49 +00:00
Linus Nielsen Feltzing
e93aa4b09c Now keeps integers within range, and saves a version number in the cfg file, refusing to load too old versions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4916 a1c6a512-1295-4272-9138-f99709370657
2004-07-22 07:51:02 +00:00
Linus Nielsen Feltzing
1f019981e4 The win32 simulator window is now shown in the task bar, and the tick resolution is more correct, thanks to BlueChip
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4915 a1c6a512-1295-4272-9138-f99709370657
2004-07-22 07:47:56 +00:00
Linus Nielsen Feltzing
d0877aff89 splash(): Avoid negative x coordinates if the text doesn't fit
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4914 a1c6a512-1295-4272-9138-f99709370657
2004-07-21 13:58:18 +00:00
Linus Nielsen Feltzing
8057d79202 Now uses the new config file framework
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4913 a1c6a512-1295-4272-9138-f99709370657
2004-07-21 13:47:12 +00:00
Linus Nielsen Feltzing
897fb63ec8 New plugin library framework for loading and saving .cfg files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4912 a1c6a512-1295-4272-9138-f99709370657
2004-07-21 13:46:42 +00:00
Linus Nielsen Feltzing
d1df184f0f Added strncpy to the plugin API
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4911 a1c6a512-1295-4272-9138-f99709370657
2004-07-21 13:15:05 +00:00
Linus Nielsen Feltzing
b7aeed9d57 Added dependency on the plugin library
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4910 a1c6a512-1295-4272-9138-f99709370657
2004-07-21 13:13:59 +00:00
Linus Nielsen Feltzing
ad5c0ed245 Forgot to remove all traces of the obsolete repeat mask functions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4909 a1c6a512-1295-4272-9138-f99709370657
2004-07-21 08:29:22 +00:00
Linus Nielsen Feltzing
3ea8dd2d98 Bumped the API version
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4908 a1c6a512-1295-4272-9138-f99709370657
2004-07-21 08:11:52 +00:00
Linus Nielsen Feltzing
a754dd84b8 Added raw button reading functionality
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4907 a1c6a512-1295-4272-9138-f99709370657
2004-07-21 08:02:23 +00:00
Jörg Hohensohn
69697aefe8 Added a check to prevent the flash plugins being used (and crashing) if Rockbox runs directly in flash ROM. (You need to RoLo a .ajz before re-flashing.)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4906 a1c6a512-1295-4272-9138-f99709370657
2004-07-20 22:54:04 +00:00
Jens Arnold
0258287e57 Made the char property lookup table constant
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4905 a1c6a512-1295-4272-9138-f99709370657
2004-07-20 22:32:17 +00:00
Jens Arnold
d0bb88a766 Const'ed the various setting lookup tables
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4904 a1c6a512-1295-4272-9138-f99709370657
2004-07-20 22:13:24 +00:00
Jens Arnold
11888059a8 Const'ed the usb logo
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4903 a1c6a512-1295-4272-9138-f99709370657
2004-07-20 21:49:17 +00:00
Jens Arnold
398e40184e Next round of const policeing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4902 a1c6a512-1295-4272-9138-f99709370657
2004-07-20 21:37:36 +00:00