Commit graph

16635 commits

Author SHA1 Message Date
Dave Chapman
1644404fdd Convert Cabbiev2.160x128x16 to bitmap strips
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16773 a1c6a512-1295-4272-9138-f99709370657
2008-03-23 23:09:47 +00:00
Dave Chapman
20d32264fe Clean up some wps files that had a mixture of CRLF and LF line-endings in the same file - no other changes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16772 a1c6a512-1295-4272-9138-f99709370657
2008-03-23 22:42:15 +00:00
Nils Wallménius
fd200091bc Change line endings to unix and set svn props
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16771 a1c6a512-1295-4272-9138-f99709370657
2008-03-23 22:24:56 +00:00
Dave Chapman
22fbe5f83f Start using bitmap strips in cabbiev2 - this commits converts 220x176x16 and 320x240x16, reducing the number of bitmaps to 8 for each WPS. If you want to keep your installation tidy, remove the .rockbox/wps/cabbiev2/ directory before updating to ensure unused bitmaps are deleted.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16770 a1c6a512-1295-4272-9138-f99709370657
2008-03-23 22:20:36 +00:00
Dave Chapman
7c5722ad78 Remove a trailing space that prevented the font being copied for the 138x110x2 cabbiev2 theme
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16766 a1c6a512-1295-4272-9138-f99709370657
2008-03-23 22:08:06 +00:00
Nils Wallménius
12eb058bb0 Make more use of the 'features' system in the manuals (committed in r16304), less stuff to keep in sync manually but keep in mind that changes in config-*.h can now affect the manual
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16765 a1c6a512-1295-4272-9138-f99709370657
2008-03-23 22:07:09 +00:00
Dave Chapman
15ddd7a7ec Add the ability to use bitmap strips (a single .bmp file containing many images of the same dimensions, tiled vertically - similar to icon strips) in the WPS. The %xl tag now has an optional "number of subimages" parameter, and the %xd tag has an optional "subimage to display" parameter (a-z,A-Z - allowing up to 52 sub-images). So for example, a bitmap with 10 subimages is loaded with %xl|M|volume.bmp|134|153|10| and then this can be used in a conditional as %?pv<%xdMa|%xdMb|%xdMc|%xdMd|%xdMe|%xdMf|%xdMg|%xdMh|%xdMi|%xdMj>.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16764 a1c6a512-1295-4272-9138-f99709370657
2008-03-23 20:31:00 +00:00
Rob Purchase
b8b03370e4 D2: Implement LCD driver framebuffer as per E200/Gigabeat F. Kill a few warnings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16763 a1c6a512-1295-4272-9138-f99709370657
2008-03-23 19:56:11 +00:00
Dave Chapman
65d50de5b7 Oops - correctly reset the bmp filenames
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16762 a1c6a512-1295-4272-9138-f99709370657
2008-03-23 12:15:52 +00:00
Jens Arnold
408613ca22 Sliding puzzle: Fix graphics size and help text for M3. * Bubbles: Better (larger) emblems for M3.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16759 a1c6a512-1295-4272-9138-f99709370657
2008-03-23 09:21:49 +00:00
Jens Arnold
00094511f4 Oooops, fix yellow.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16758 a1c6a512-1295-4272-9138-f99709370657
2008-03-23 08:42:32 +00:00
Jens Arnold
8bfefe9ce1 VU_meter: Fix help texts for most targets. * Blackjack: Add help text for M3. * Bubbles: Adjust a text and fix hold behaviour for M3.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16757 a1c6a512-1295-4272-9138-f99709370657
2008-03-23 08:26:42 +00:00
Rob Purchase
df4e4f5921 Re-instate the double newline in CREDITS.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16756 a1c6a512-1295-4272-9138-f99709370657
2008-03-23 01:42:42 +00:00
Jens Arnold
ac5e4acea6 Enable plugin building for M3.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16755 a1c6a512-1295-4272-9138-f99709370657
2008-03-23 01:01:21 +00:00
Jens Arnold
e03ef1ec23 LCd extension lib: Implement proper scrolling for 2 bit vertical interleaved LCD. Stops oscilloscope from crashing on M3. * A few small simplifications.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16754 a1c6a512-1295-4272-9138-f99709370657
2008-03-23 00:28:16 +00:00
Rob Purchase
ad6cbbdd3c Squash that yellow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16753 a1c6a512-1295-4272-9138-f99709370657
2008-03-22 23:24:20 +00:00
Frank Gevaerts
7e56df03bf Set usb_state to USB_POWERED on plugin for software usb device. Otherwise, the state would remain USB_EXTRACTED when connected to a charger
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16752 a1c6a512-1295-4272-9138-f99709370657
2008-03-22 22:37:26 +00:00
Rob Purchase
554d7ed902 D2: Enable plugin building (using initial keymaps from FS#8708 by Andreas Mueller, with some tweaks).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16751 a1c6a512-1295-4272-9138-f99709370657
2008-03-22 22:03:34 +00:00
Frank Gevaerts
ecde125fa7 Sending an empty data block before sending the FAIL CSW seems to make Windows happier if a device is not present (e.g. an empty sd card slot) (fix proposed by Martin Ritter)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16750 a1c6a512-1295-4272-9138-f99709370657
2008-03-22 21:21:37 +00:00
Rob Purchase
4dc2d8ddba Enable tick IRQs on TCC780x. The main menu is now working on the D2.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16749 a1c6a512-1295-4272-9138-f99709370657
2008-03-22 19:41:51 +00:00
Rob Purchase
f061ba4ebb D2: Implement HAS_BUTTON_HOLD.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16748 a1c6a512-1295-4272-9138-f99709370657
2008-03-22 15:55:19 +00:00
Nils Wallménius
b659c0c14c FS#8740 by Marc Guay correct option names since the changes to english.lang, add some missing menu items, small tweaks by me. I also added descriptions for 'Say File Type' and 'Announce Battery Level'.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16747 a1c6a512-1295-4272-9138-f99709370657
2008-03-22 15:26:45 +00:00
Rob Purchase
58b5ce2275 D2: Fix inverted USB detection.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16746 a1c6a512-1295-4272-9138-f99709370657
2008-03-22 14:51:09 +00:00
Marianne Arnold
eae6641bdb Oops, vhanged one thing too many - the m:robe100's monochrome version doesn't use the wps backdrop tag (%X) at all, so revert this change.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16745 a1c6a512-1295-4272-9138-f99709370657
2008-03-22 14:30:06 +00:00
Jens Arnold
106ac75ad8 Adapted most multi-source plugins to the iAudio M3 keypad and screen. Doom and mpegplayer are disabled because of the not yet implemented greyscale library, and zxbox used 2-bit greyscale for now. * Slight optimisation for the (currently unused except on M3) 2-bit greyscale code in zxbox. * Simplified button definitions in chessbox.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16744 a1c6a512-1295-4272-9138-f99709370657
2008-03-22 14:20:04 +00:00
Nils Wallménius
95d8590659 FS#8741 fix two text/voice inconsistencies in English
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16743 a1c6a512-1295-4272-9138-f99709370657
2008-03-22 14:18:07 +00:00
Marianne Arnold
48f7d7d057 Cabbiev2 cleanup and a few corrections: (1) Get rid of two completely unused bitmaps. (2) Combine the two bitmaps used as background on the Iriver remote into one, name it consistently and change the .wps file accordingly. (3) Add the missing '0dB' volume image to the greyscale versions, including .wps file changes. Rename those greyscale volume images while at it, so that they are consistent with the rest - the 'vol08' one is now 'vol-9', because it is used for above line level. (4) Use the %X tag correctly, currently there were coordinates specified with it in most .wps files. (5) Set the bitmap's mime-type correctly for conformity.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16742 a1c6a512-1295-4272-9138-f99709370657
2008-03-22 14:17:28 +00:00
Nils Wallménius
6f78a1b919 FS#8775 - Reboot/Reset clean up
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16741 a1c6a512-1295-4272-9138-f99709370657
2008-03-22 14:11:48 +00:00
Rob Purchase
1836971d51 Implement core_sleep() for TCC780x (single core).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16740 a1c6a512-1295-4272-9138-f99709370657
2008-03-22 13:18:47 +00:00
Dave Chapman
bc227c0aa2 Fix the display of peakmeters and progress bars (without a custom y position) inside a viewport (broken by r16735).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16739 a1c6a512-1295-4272-9138-f99709370657
2008-03-22 10:56:03 +00:00
Jens Arnold
036d8cc7e7 Properly disable unused bitmap in SOURCES.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16738 a1c6a512-1295-4272-9138-f99709370657
2008-03-22 10:37:04 +00:00
Jens Arnold
29361abf74 Adapt most single-file plugins to the M3 keypad and screen. It's still preliminary, as many plugins now can't be left without the remote. The plugins need to be converted to use the action API (but not pluginlib actions). Plugins are not enabled yet. * Simplify the bitmap handling in the source of some plugins.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16737 a1c6a512-1295-4272-9138-f99709370657
2008-03-22 10:24:28 +00:00
Dave Chapman
bca8edd856 Small simplification - take advantage of the fact that x/y/width/height are non-negative integers when validating the viewport bounds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16736 a1c6a512-1295-4272-9138-f99709370657
2008-03-22 09:28:15 +00:00
Dave Chapman
45b2d8802d Reduce the shocking amount of RAM my viewports implementation was using. The first version stored an array of lines for each of the 16 possible viewports (MAX_VIEWPORTS * the number of lines on the LCD with a 5-pixel high font). This version reverts back to a single global array of lines, with each viewport specifying the first and last lines as indexes into that array. This also turns out to be simpler, reducing binsize a little as well.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16735 a1c6a512-1295-4272-9138-f99709370657
2008-03-22 00:31:22 +00:00
Frank Gevaerts
7ee63e22c5 fix H10 not rebooting on usb connect. Apologies to H10 users who enjoyed their free but unintended USB stack.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16734 a1c6a512-1295-4272-9138-f99709370657
2008-03-21 20:22:04 +00:00
Dave Chapman
d02c79c03f Commit viewports-in-WPS patch (FS#8385). This adds the %V tag - see the CustomWPS page for details (shortly...). There is still some work to do - decide how to handle font references, decide how to handle conditionals. Plus checkwps is broken - I'll fix that in a separate commit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16733 a1c6a512-1295-4272-9138-f99709370657
2008-03-21 19:38:00 +00:00
Frank Gevaerts
1544b36966 move an #endif to its proper place. This should not actually change anything
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16732 a1c6a512-1295-4272-9138-f99709370657
2008-03-21 19:34:46 +00:00
Michael Sevakis
f65cf301fb Modification to scale_suspend_core to prevent a potential permanent freezing of the other core. Just unfreeze it unconditionally after freezing it since it really makes no difference to do so right now. Don't bother with freezing/unfreezing if compiling as single.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16731 a1c6a512-1295-4272-9138-f99709370657
2008-03-21 17:20:57 +00:00
Jens Arnold
5af25c46e3 Fix bug in 2 bit vertical interleaved LCD driver: Native partial bitmaps weren't drawn when the total bitshift (depending on source and destination clipping) was > 7 Bit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16730 a1c6a512-1295-4272-9138-f99709370657
2008-03-21 14:21:29 +00:00
Dave Chapman
a96a733c7a Another small optimisation/simplification to the hex_to_rgb() function.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16729 a1c6a512-1295-4272-9138-f99709370657
2008-03-21 14:04:19 +00:00
Dave Chapman
e92d2c51ed Add a general-purpose parse_list function to parse a string containing a delimited list of items and adapt the parse_image_load() function in the WPS parser to use it. This function will also be used to parse the upcoming WPS %V viewport tag, but I'm committing it separately as these changes are unrelated to the viewport implementation itself.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16728 a1c6a512-1295-4272-9138-f99709370657
2008-03-21 13:41:35 +00:00
Frank Gevaerts
bb026334c0 Mostly revert r16723, since it causes problems on ipod (i.e. it doesn't seem to detect a connection anymore)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16727 a1c6a512-1295-4272-9138-f99709370657
2008-03-21 00:04:17 +00:00
Frank Gevaerts
ea5903dbf1 move boosting for usb around a bit, so the cpu is boosted for the entire duration of actual use of storage. On some setups just boosting for the actual transfers doesn't seem to work
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16726 a1c6a512-1295-4272-9138-f99709370657
2008-03-20 22:05:11 +00:00
Antoine Cellerier
7e1a22e5be CODEC_IDX_{AUDIO,VOICE} are already defined in apps/dsp.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16725 a1c6a512-1295-4272-9138-f99709370657
2008-03-20 21:44:04 +00:00
Dominik Riebeling
7b2982ac62 On windows check for iPod_Control folder to allow resolving the drive letter for Ipods.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16724 a1c6a512-1295-4272-9138-f99709370657
2008-03-20 20:29:17 +00:00
Frank Gevaerts
a6108b9097 differentiate between connected and powered in usb_detect()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16723 a1c6a512-1295-4272-9138-f99709370657
2008-03-20 20:01:28 +00:00
Jens Arnold
8113717da9 Fix BMP loader for the iAudio M3 display.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16722 a1c6a512-1295-4272-9138-f99709370657
2008-03-20 17:40:58 +00:00
Michael Sevakis
d3ecbbf988 Turnaround time must be included in dsp yielding to throttle against other threads. Do at least one per buffer full as well (or things can stick a bit on initial input triggers).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16721 a1c6a512-1295-4272-9138-f99709370657
2008-03-20 17:03:57 +00:00
Jens Arnold
0b3f241187 Don't slow down I2C more than necessary when clock-stretching (rather old bug...)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16720 a1c6a512-1295-4272-9138-f99709370657
2008-03-20 16:45:44 +00:00
Michael Sevakis
ed8445f205 Change files to use the public function sleep() and not the intenal kernel function sleep_thread().
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16719 a1c6a512-1295-4272-9138-f99709370657
2008-03-20 15:20:06 +00:00