Commit graph

16645 commits

Author SHA1 Message Date
Dave Chapman
10e1acc7ad Use bitmap strips for the remaining five colour versions of Cabbiev2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16783 a1c6a512-1295-4272-9138-f99709370657
2008-03-24 15:36:05 +00:00
Dave Chapman
2a34943d7f Hopefully get the viewport position/dimensions validation correct this time.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16782 a1c6a512-1295-4272-9138-f99709370657
2008-03-24 14:58:30 +00:00
Dave Chapman
196899ebfd Fix some typos - the volume indicator was wrong. Thanks to Marianne for spotting.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16781 a1c6a512-1295-4272-9138-f99709370657
2008-03-24 14:00:45 +00:00
Jens Arnold
cf65ccb4f3 Fix the dreaded FILES files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16780 a1c6a512-1295-4272-9138-f99709370657
2008-03-24 12:18:02 +00:00
Dave Chapman
6d9c353f2e Add another safety-check in the bitmap strips parsing - don't allow the num_subimages parameter to %xl to be <= 0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16779 a1c6a512-1295-4272-9138-f99709370657
2008-03-24 10:13:47 +00:00
Jens Arnold
395b785a79 The iAudio remote LCD internal scan direction is horizontal. Make test_scanrate usable on the M3 by adjusting to that.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16778 a1c6a512-1295-4272-9138-f99709370657
2008-03-24 01:03:02 +00:00
Jens Arnold
b88c7d076d The blit functions shouldn't exist for the simulator.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16777 a1c6a512-1295-4272-9138-f99709370657
2008-03-24 01:00:42 +00:00
Jens Arnold
c84e345e6e Oops, fix red.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16776 a1c6a512-1295-4272-9138-f99709370657
2008-03-24 00:45:03 +00:00
Jens Arnold
68a21689ae Consistent naming scheme the various blit functions. * Removed lcd_blit_mono() for colour targets. Plugin API became incompatible, so sort, clean up & bump. * Implemented lcd_blit_mono() for M3.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16775 a1c6a512-1295-4272-9138-f99709370657
2008-03-24 00:35:53 +00:00
Dave Chapman
99c0978faa Add a sanity-check to ensure only in-range subimages are referenced in %xd tags. Plus some tab policing.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16774 a1c6a512-1295-4272-9138-f99709370657
2008-03-24 00:03:05 +00:00
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