Commit graph

2419 commits

Author SHA1 Message Date
Jens Arnold
d8ff94121f Get rid of a useless copy instruction in the SH1 32*32->64bit multiply routines (signed and unsigned).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20013 a1c6a512-1295-4272-9138-f99709370657
2009-02-15 23:13:26 +00:00
Andrew Mahone
d70902feb8 fix greylib scaler output on sh, output_row_grey was not using SC_MUL macro
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20011 a1c6a512-1295-4272-9138-f99709370657
2009-02-15 15:54:46 +00:00
Jens Arnold
c2ba5b4c07 Define a specific exit button. Stops the plugin from exiting prematurely, e.g. due to a button release event.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20010 a1c6a512-1295-4272-9138-f99709370657
2009-02-15 14:22:55 +00:00
Frank Gevaerts
281227321e Spelling fixes (UK English) by Alex Parker
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20009 a1c6a512-1295-4272-9138-f99709370657
2009-02-15 12:56:25 +00:00
Mustapha Senhaji
8c2dc67fed Goban plugin: Fixes a display issue with comments containing '\r' by Joshua Simmons.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20001 a1c6a512-1295-4272-9138-f99709370657
2009-02-13 13:24:12 +00:00
Mark Arigo
8e5c4ce097 Philips HDD1630 - add LCD YUV functions so mpegplayer works.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19997 a1c6a512-1295-4272-9138-f99709370657
2009-02-13 04:10:57 +00:00
Andrew Mahone
375d329308 fix test_greylib_bitmap_scale.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19994 a1c6a512-1295-4272-9138-f99709370657
2009-02-13 01:34:21 +00:00
Jonathan Gordon
c16e563aef revert r19656 for lamp which is no longer needed. should fix FS#9877
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19992 a1c6a512-1295-4272-9138-f99709370657
2009-02-13 00:14:59 +00:00
Mustapha Senhaji
281fc2e708 Goban plugin: FS#9897 by Joshua Simmons
Initial button maps for still unsuported targets (Sansa Fuze, Sansa Clip, Sansa m200, Creative ZV(M) and the Phillips HDD1630).
Low targets like archos are still short in memory to be suported.
Update the manual for the Sansa players.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19988 a1c6a512-1295-4272-9138-f99709370657
2009-02-12 13:47:34 +00:00
Andree Buschmann
a0516b7060 Make test_codec.c compilable again.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19984 a1c6a512-1295-4272-9138-f99709370657
2009-02-12 05:30:12 +00:00
Mustapha Senhaji
cdecd9dfa8 Exclude the philips build too for now, to fix building.
Coming soon: more suported targets like archos or those new ports... Once the keymaps for those targets will be done, and the memory usage issue worked out.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19977 a1c6a512-1295-4272-9138-f99709370657
2009-02-11 19:09:09 +00:00
Mustapha Senhaji
42db6f261b Attempt #2 to fix compilations, let's hope this is the last one :)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19976 a1c6a512-1295-4272-9138-f99709370657
2009-02-11 18:04:56 +00:00
Mustapha Senhaji
2e49f65487 Hopefully fix the red builds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19975 a1c6a512-1295-4272-9138-f99709370657
2009-02-11 17:32:35 +00:00
Mustapha Senhaji
8198a6c266 Oops, missed some files in my previous commit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19974 a1c6a512-1295-4272-9138-f99709370657
2009-02-11 16:42:50 +00:00
Mustapha Senhaji
f2d5c3532f New game plugin by Joshua Simmons FS#7369: Goban plugin, Go/Igo/Weiqi/Baduk game recorder and viewer.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19972 a1c6a512-1295-4272-9138-f99709370657
2009-02-11 16:03:17 +00:00
Michael Sevakis
21f0c9a282 Make basic cache functions into calls, and get rid of CACHE_FUNCTION_WRAPPERS and CACHE_FUNCTIONS_AS_CALL macros. Rename flush/invalidate_icache to cpucache_flush/invalidate. They're inlined only if an implementation isn't provided by defining HAVE_CPUCACHE_FLUSH/INVALIDATE.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19971 a1c6a512-1295-4272-9138-f99709370657
2009-02-11 12:55:51 +00:00
Jens Arnold
11ad7b4bc8 Move screendump from apps to firmware, solving two nasty firmware-to-apps calls. This required to move the filename creation functions as well. * Fix bug in the BMP header of Clip screendumps. * Add remote screendump for targets with an LCD remote. * Simplify some ifdefs and rename a macro in the sim.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19967 a1c6a512-1295-4272-9138-f99709370657
2009-02-10 23:43:37 +00:00
Jens Arnold
309a3c4590 More compact screendump routines for core and greylib. The core routine might be a little slower for vertically packed mono and greyscale displays, the greylib one should be faster in all cases. * Reduce stack usage of greyscale screendump on the Clip* Rename a macro in the bitmap LCD simulation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19959 a1c6a512-1295-4272-9138-f99709370657
2009-02-09 23:34:44 +00:00
Marianne Arnold
a12c2d59ad Xobox - clear display for all. Fixes problem on colour screens with one or both dimensions not being a multiple of 8 (e.g. the Nano's screen height) where parts of the statusbar or background image stayed on screen.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19958 a1c6a512-1295-4272-9138-f99709370657
2009-02-09 23:21:35 +00:00
Daniel Stenberg
dca7d391f1 make sure plugin.lds is not processed when building sims since it isn't used for anything then!
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19957 a1c6a512-1295-4272-9138-f99709370657
2009-02-09 18:31:56 +00:00
Daniel Stenberg
1f3d667b1a do the #error for unknown CPU in the cases we're not building a sim
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19956 a1c6a512-1295-4272-9138-f99709370657
2009-02-09 16:18:07 +00:00
Daniel Stenberg
293ca3eaad don't do #error if no CPU define was found since we don't set it on simulator
builds!


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19955 a1c6a512-1295-4272-9138-f99709370657
2009-02-09 15:56:01 +00:00
Maurus Cuelenaere
04c7379ac5 Onda VX747: commit some parts to get apps/ to compile (more will follow)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19954 a1c6a512-1295-4272-9138-f99709370657
2009-02-09 10:02:38 +00:00
Jens Arnold
0d935ce75e Put the display colours for monochrome and greyscale targets into the target config files, and use them both for the simulator UI and screendumps. The Clip now shows the split display properly in screendumps and simulator. A side effect is that screendumps of ordinary monochrome targets are now 4-bit BMP files (saves an alternate code path, and might be more compatible with some gfx programs). * Simplify the simulation of split display, and also simplify greylib simulation. The simulator now always calculates 129 shades (2*128 for a Clip sim), and just uses 2 (or 4) of those for native display simulation. * Centralised the simulator LCD dimension definition.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19950 a1c6a512-1295-4272-9138-f99709370657
2009-02-09 00:32:59 +00:00
Andrew Mahone
0222d0a5eb align frontmost edge of slides with plane of display
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19948 a1c6a512-1295-4272-9138-f99709370657
2009-02-08 22:17:21 +00:00
Andrew Mahone
c02e469bbb simplify zo calculation a bit, "zoom" the center margin value and add term for zo to offset calculation, so that margins are still correct when zooming
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19947 a1c6a512-1295-4272-9138-f99709370657
2009-02-08 22:17:15 +00:00
Andrew Mahone
eda5ed0624 rewrite of pictureflow renderer with 3D projection, this will allow many possible tweaks in the future, such as moving only the center slide "closer", changing the angle of side slides, etc, while
keeping the same meaning for the center margin and spacing settings

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19942 a1c6a512-1295-4272-9138-f99709370657
2009-02-07 22:18:26 +00:00
Andrew Mahone
79c25649b7 use a table-free clz on coldfire, where it benchmarks a bit faster
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19933 a1c6a512-1295-4272-9138-f99709370657
2009-02-06 05:43:00 +00:00
Thomas Martitz
d8662489dc Fix FS#2533, apple appearing late in the snake plugin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19926 a1c6a512-1295-4272-9138-f99709370657
2009-02-05 14:22:04 +00:00
Jonathan Gordon
6db3aace59 Fix a wrong check in lamp, spotted by DerPapst
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19925 a1c6a512-1295-4272-9138-f99709370657
2009-02-05 02:47:15 +00:00
Michael Sevakis
e2a169bce5 Gigabeat S: Get remote keymaps up to snuff and working. Do a couple tweaks on main unit ones. Cleanup keymap file a bit. Fix main button scanner to not clobber remote button. Fix a bug in actions.c where 'LAST_ITEM_IN_LIST' didn't really terminate scanning immediately. It would do an additional call into get_context_map and silently pick up ACTION_STD.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19909 a1c6a512-1295-4272-9138-f99709370657
2009-02-03 10:55:30 +00:00
Marianne Arnold
eab9afd977 Use LCD_HEIGHT to exclude pacbox from c200 builds instead of target name so that it also applies to the v2 c200s.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19898 a1c6a512-1295-4272-9138-f99709370657
2009-02-01 14:20:26 +00:00
Jonathan Gordon
036fb05dfd Accept a quick patch from Alexander Levin to neaten up the #defines and comments from my earlier commit
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19897 a1c6a512-1295-4272-9138-f99709370657
2009-02-01 13:43:08 +00:00
Jonathan Gordon
80cb3551eb Statusbar handling fixes.
Fixes FS#9845 - %we/%wd wasnt working
WPS no longer resets the viewportmanger more than needed (was doing it twice/draw before)
screens can now enable/disable the statusbar easily ignoring the setting instead of needing special handling (fix for the radio screen coming soon)

minor glitch introduced in this commit... the statusbar in the WPS might disappear for a fraction of a second when it is entered, I need to track this down...


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19894 a1c6a512-1295-4272-9138-f99709370657
2009-02-01 11:34:16 +00:00
Andrew Mahone
ba4be51571 per Jens Arnold's suggestion:
use platform clz instruction only on ARMv5+, where we know it returns 32 for a 0 input, and remove the special case for 0

use binary search only to find most significant four bits, then use lookup table to add number of leading zeroes within those bits

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19888 a1c6a512-1295-4272-9138-f99709370657
2009-01-30 10:52:30 +00:00
Andrew Mahone
b081a38131 correct clz in pictureflow.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19887 a1c6a512-1295-4272-9138-f99709370657
2009-01-30 07:22:59 +00:00
Andrew Mahone
78409ff50c remove 64-bit math from fdiv in pictureflow.c, replacing it with limited pre-shifting of input values
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19886 a1c6a512-1295-4272-9138-f99709370657
2009-01-30 03:40:16 +00:00
Andrew Mahone
8f1d8be7a7 pictureflow tweaks:
allow wider covers on landscape, bringing square covers closer to suggested size from pre-scaling pictureflow

tweak defaults for center margin and cover spacing a little bit

change default title display to bottom if LCD_HEIGHT <= 100

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19877 a1c6a512-1295-4272-9138-f99709370657
2009-01-29 03:30:41 +00:00
Andrew Mahone
83350f2fed fix divide-by-zero error in pictureflow when selecting album
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19876 a1c6a512-1295-4272-9138-f99709370657
2009-01-29 03:30:33 +00:00
Michael Sevakis
34b3fd9f61 MPEGPlayer: If valid start AND end timestamps for a stream are not found then neither are considered to be valid which marks the stream as invalid. Also, we do program streams, not transport streams-- use correct terminology in MPEG parser.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19875 a1c6a512-1295-4272-9138-f99709370657
2009-01-29 02:57:09 +00:00
Andrew Mahone
04b7cefd63 fix mem* wrappers in UI on cygwin, by not building certain plugins on sim, rather than building empty ones
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19856 a1c6a512-1295-4272-9138-f99709370657
2009-01-25 18:27:17 +00:00
Mark Arigo
755ab3bff3 Philips HDD1630: fix yellow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19849 a1c6a512-1295-4272-9138-f99709370657
2009-01-24 23:52:40 +00:00
Andrew Mahone
499426caf9 remove MEM_FUNCTION_WRAPPERS, and private mem* implementations from plugins, and replace with pluginlib implementations in plugins/lib/gcc-support.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19847 a1c6a512-1295-4272-9138-f99709370657
2009-01-24 22:57:57 +00:00
Mark Arigo
2490262eee Plugins for the Philips HDD1630. The keymaps are largely untested on the device (patches welcome).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19846 a1c6a512-1295-4272-9138-f99709370657
2009-01-24 22:41:55 +00:00
Jens Arnold
74b97fa139 Add button map for the Clip.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19844 a1c6a512-1295-4272-9138-f99709370657
2009-01-24 10:41:42 +00:00
Andrew Mahone
9b0b6584f8 fix yellow - don't build pluginlib_albumart.c on non-bitmap targets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19840 a1c6a512-1295-4272-9138-f99709370657
2009-01-24 09:53:18 +00:00
Andrew Mahone
d08d015766 fix red on mono hardware - add mem function wrappers to pictureflow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19839 a1c6a512-1295-4272-9138-f99709370657
2009-01-24 09:53:12 +00:00
Andrew Mahone
6fc558b2db plugins/lib/feature_wrappers.h to provide easy access to some feature that may be in either API or pluginlib depending on target
pictureflow modified to use feature wrappers, and built on all targets that have tagcache and are swcodec


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19837 a1c6a512-1295-4272-9138-f99709370657
2009-01-24 09:29:22 +00:00
Andrew Mahone
3f7d137725 fix for targets using greylib in pictureflow, they need to set drawmode for both normal and greylib drawing, so using MYLCD for that was inappropriate
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19836 a1c6a512-1295-4272-9138-f99709370657
2009-01-24 08:15:37 +00:00
Andrew Mahone
7215a67e64 albumart search in pluginlib when building without HAVE_ALBUMART (for later use by pictureflow)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19835 a1c6a512-1295-4272-9138-f99709370657
2009-01-24 04:09:29 +00:00