Commit graph

16903 commits

Author SHA1 Message Date
Michael Sevakis
27cf677339 Add a complete priority inheritance implementation to the scheduler (all mutex ownership and queue_send calls are inheritable). Priorities are differential so that dispatch depends on the runnable range of priorities. Codec priority can therefore be raised in small steps (pcmbuf updated to enable). Simplify the kernel functions to ease implementation and use the same kernel.c for both sim and target (I'm tired of maintaining two ;_). 1) Not sure if a minor audio break at first buffering issue will exist on large-sector disks (the main mutex speed issue was genuinely resolved earlier). At this point it's best dealt with at the buffering level. It seems a larger filechunk could be used again. 2) Perhaps 64-bit sims will have some minor issues (finicky) but a backroll of the code of concern there is a 5-minute job. All kernel objects become incompatible so a full rebuild and update is needed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16791 a1c6a512-1295-4272-9138-f99709370657
2008-03-25 02:34:12 +00:00
Marianne Arnold
bc2f8fd8f3 Sorry for the copy and paste mistake, didn't mean to delete the info at the top of the .wps file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16790 a1c6a512-1295-4272-9138-f99709370657
2008-03-25 01:22:26 +00:00
Marianne Arnold
1fcfebebb3 New cabbiev2 for the Iaudio remote. This is a 'full' WPS now with icons (same as on the other greyscale screens) and more info because it's used as main WPS on the Iaudio M3. First use of viewports in SVN to position the text a little bit higher so that the status icons have a bit more breathing room.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16789 a1c6a512-1295-4272-9138-f99709370657
2008-03-25 01:15:36 +00:00
Marianne Arnold
ef8e89c71f Cabbiev2 theme: new menu backdrops for the 138x110x2 and the 160x128x2 screens - lighter and cleaner so reading text which goes across the logo is more readable.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16788 a1c6a512-1295-4272-9138-f99709370657
2008-03-25 00:27:46 +00:00
Dave Chapman
60413d898e D'oh - fix a silly #ifdef mistake that caused problems with remote WPSs using viewports.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16787 a1c6a512-1295-4272-9138-f99709370657
2008-03-25 00:20:59 +00:00
Marianne Arnold
a0e4549717 Cabbiev2 greyscale versions (138x110 and 160x128): new icons which are a bit more like the colour ones (size-wise and looking 3D) and already using the new bitmap strip feature. Also convert the line endings of the two .wps files to unix style.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16786 a1c6a512-1295-4272-9138-f99709370657
2008-03-25 00:17:34 +00:00
Dave Chapman
9dfb597a61 Oops, fix a typo which broke this wps
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16785 a1c6a512-1295-4272-9138-f99709370657
2008-03-24 23:17:53 +00:00
Dave Chapman
0bb2e05aef Stricter syntax checking of the %V tag - pay attention to the return-code from parse_list, and check for the tailing | symbol.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16784 a1c6a512-1295-4272-9138-f99709370657
2008-03-24 18:40:13 +00:00
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