Commit graph

26666 commits

Author SHA1 Message Date
Thomas Martitz
f704ca415f Add default font for LCD_HEIGHT <= 480
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27723 a1c6a512-1295-4272-9138-f99709370657
2010-08-05 17:57:36 +00:00
Thomas Martitz
af708fd544 Cabbiev2 for 320x480.
TODO: Touch regions, battery and hold button icons

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27722 a1c6a512-1295-4272-9138-f99709370657
2010-08-05 17:54:36 +00:00
Thomas Martitz
c112b7897e Fix leading slash regex in wpsbuild.pl
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27721 a1c6a512-1295-4272-9138-f99709370657
2010-08-05 14:31:07 +00:00
Thomas Martitz
458b55dac6 One more get_user_file_path() fix. Don't store the user dir in config.cfg and
pretent the file (fonts, wps, etc.)was in the installation dir (it'll still be loaded from the user dir).
This way the behavior is the same for files in the installation dir and in the user config dir.

This is needed because we historically only store the basename of the file at runtime and don't
support writing these to config.cfg if they're outside of the rockbox dir.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27720 a1c6a512-1295-4272-9138-f99709370657
2010-08-05 14:31:00 +00:00
Jonathan Gordon
f3a6d2476a Dont redraw the AA every single update, only when needed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27719 a1c6a512-1295-4272-9138-f99709370657
2010-08-05 12:45:46 +00:00
Thomas Martitz
e8542efdb1 Update README a bit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27718 a1c6a512-1295-4272-9138-f99709370657
2010-08-05 12:15:30 +00:00
Jonathan Gordon
3f8e7fc26f New feature for the %xd() (display a preloaded image) skin tag.
It can now automatically load the correct subimage from a strip (assuming the strip is in the correct order)  by giving a tag for the 2nd param.
example: %xd(F, %mp) which is equivilant to %?mp<%xd(Fa)|%xd(Fb)|%xd(Fc)|%xd(Fd)|%xd(Fe)>
You can also set the subimage offset.. i.e %xd(E, %mm, -1) which means "show nothing for the first value of %mm and use the bitmap strip for the remaining values"

if a tag+offset is <0 or greater than the number of subimages in a strip he image is cleared (I'm open to changing this if someone has a better idea)

cabbiev2.176x220x16.wps is an example of how to use this

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27717 a1c6a512-1295-4272-9138-f99709370657
2010-08-05 11:28:48 +00:00
Jonathan Gordon
145571d9b5 Add a T type to the tag table which allows parameters to be a single tag
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27716 a1c6a512-1295-4272-9138-f99709370657
2010-08-05 11:28:35 +00:00
Nils Wallménius
a0dd4cd057 libwmapro: remove coldfire fixmul24 as it is both incorrect and unused, fix fixmul 31 comment.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27715 a1c6a512-1295-4272-9138-f99709370657
2010-08-05 10:35:06 +00:00
Robert Bieber
f657e49103 Theme Editor: Fixed bug that crashed conditionals nested in sublines, began work on making progress bars implement RBMovable
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27714 a1c6a512-1295-4272-9138-f99709370657
2010-08-05 08:49:34 +00:00
Robert Bieber
265ee156f2 Theme Editor: Implemented saveGeometry() in RBAlbumArt
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27713 a1c6a512-1295-4272-9138-f99709370657
2010-08-05 08:03:32 +00:00
Robert Bieber
2ea1a34f98 Theme Editor: Stopped bug that caused segfault if SBS element was moved from within a WPS preview
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27712 a1c6a512-1295-4272-9138-f99709370657
2010-08-05 07:38:02 +00:00
Robert Bieber
bfc20975b0 Theme Editor: Fixed image positioning bug, implemented saveGeometry() in RBImage
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27711 a1c6a512-1295-4272-9138-f99709370657
2010-08-05 07:28:01 +00:00
Mohamed Tarek
430eb651a2 update wmapro's README.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27710 a1c6a512-1295-4272-9138-f99709370657
2010-08-05 06:37:53 +00:00
Robert Bieber
0b2174098d Theme Editor: Fixed ParseTreeModel's paramChanged function to emit the correct dataChanged range
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27709 a1c6a512-1295-4272-9138-f99709370657
2010-08-05 06:35:04 +00:00
Robert Bieber
5d4b8e0b3f Theme Editor: Removed empty lines after comments in generated code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27708 a1c6a512-1295-4272-9138-f99709370657
2010-08-05 06:25:53 +00:00
Mohamed Tarek
9176f35f77 Fix reds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27707 a1c6a512-1295-4272-9138-f99709370657
2010-08-05 06:17:18 +00:00
Mohamed Tarek
9dddfa78e6 oops ! shouldn't have removed mdct_tables.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27706 a1c6a512-1295-4272-9138-f99709370657
2010-08-05 06:10:14 +00:00
Mohamed Tarek
12ecbf82fc Drop the the mdct files from libwmapro since they are no longer needed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27705 a1c6a512-1295-4272-9138-f99709370657
2010-08-05 06:02:26 +00:00
Robert Bieber
054a85fdca Theme Editor: Added code generate/undo functionality to SkinViewer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27704 a1c6a512-1295-4272-9138-f99709370657
2010-08-05 00:43:33 +00:00
Mohamed Tarek
4674518787 Increase wmapro decoder output sample depth to 24 bits, makes the mean error between our output and the original floating point decoder ~5e-8. (FS#11498 by Buschel)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27703 a1c6a512-1295-4272-9138-f99709370657
2010-08-04 23:21:35 +00:00
Mohamed Tarek
2054ca8b98 Fix red by removing sine_512 from iram (2KB). minor slowdown for PP5024 (~0.05MHz) on a 320kbps sample, and ~0.03MHz slowdown for Coldfire on a 55kbps sample.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27702 a1c6a512-1295-4272-9138-f99709370657
2010-08-04 23:14:31 +00:00
Mohamed Tarek
3bbbb96395 Use codeclib's mdct in wmapro. Input coeffs to the transform needed to be scaled down first by (log2(frame_size) - 3). Increases decoding speed by 1.3MHz on PP5022 and saves ~32KB that were previously needed by the mdct tables. (FS#11511 by Buschel and myself)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27701 a1c6a512-1295-4272-9138-f99709370657
2010-08-04 22:29:50 +00:00
Thomas Martitz
83be40f7d3 Delete now unused icons.
Also, I of course meant Dominik Riebeling in my previous commit, sorry.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27700 a1c6a512-1295-4272-9138-f99709370657
2010-08-04 20:38:25 +00:00
Thomas Martitz
5aa402315e Prettier icons for app launcher and notification bar.
Thanks to Rominik Riebeling for creating/converting them.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27699 a1c6a512-1295-4272-9138-f99709370657
2010-08-04 20:34:16 +00:00
Thomas Martitz
bd9c0b21d6 A bit of work in the pcm driver. Should be a bit more efficient, but more importantly more dependable. Stopping playback now properly recovers if playback crashed for some reason (shouldn't happen of course).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27698 a1c6a512-1295-4272-9138-f99709370657
2010-08-04 18:34:32 +00:00
Robert Bieber
c216100f84 Theme Editor: Overhauled main window toolbar
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27697 a1c6a512-1295-4272-9138-f99709370657
2010-08-04 17:56:00 +00:00
Robert Bieber
bcf51beee7 Theme Editor: Replaced zoom icons with modified Tango icons
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27696 a1c6a512-1295-4272-9138-f99709370657
2010-08-04 17:37:28 +00:00
Robert Bieber
d57d702e42 Theme Editor: Switched playback icons to tango icons
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27695 a1c6a512-1295-4272-9138-f99709370657
2010-08-04 17:28:29 +00:00
Thomas Martitz
546cd48504 Show/hide notification area icon when starting/stopping playback.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27694 a1c6a512-1295-4272-9138-f99709370657
2010-08-04 14:34:26 +00:00
Thomas Martitz
04dc00b7ca Add a few forgotten files, Fix potential startup problem. Fix absolute touchscreen mode.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27693 a1c6a512-1295-4272-9138-f99709370657
2010-08-04 12:25:25 +00:00
Jonathan Gordon
f0611f8781 Force touchscreen targets into 3x3 grid mode when entering the wps/radio if the skin hasnt set any regions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27692 a1c6a512-1295-4272-9138-f99709370657
2010-08-04 12:00:18 +00:00
Robert Bieber
49865b23f6 Theme Editor: Began implementing code generation for movable viewports
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27691 a1c6a512-1295-4272-9138-f99709370657
2010-08-04 09:16:52 +00:00
Jonathan Gordon
2db08d4153 remove old test code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27690 a1c6a512-1295-4272-9138-f99709370657
2010-08-04 07:42:23 +00:00
Thomas Martitz
594110e962 Implement HAVE_LCD_ENABLE and lcd_update_rect(). When Rockbox runs in the background
this greatly reduces CPU load. lcd_update_rect shoves a bit as well.

CPU usage with Rockbox in background is between 3% (with a 200kbps vbr mp3) and 12% (320kbps cbr mp3), so it's low but still dependent on codecs and even particular files.
Driving a WPS with peakmeter, e.g. the builtin one, adds about 30% cpu usage.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27689 a1c6a512-1295-4272-9138-f99709370657
2010-08-04 01:03:25 +00:00
Thomas Martitz
f66a233bdb Ignore screen orentiation changes and force portrait mode. We cannot handle it any time soon anyway.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27688 a1c6a512-1295-4272-9138-f99709370657
2010-08-03 23:23:33 +00:00
Mohamed Tarek
5da2304f85 Fix the sample count in wma pro.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27687 a1c6a512-1295-4272-9138-f99709370657
2010-08-03 22:59:03 +00:00
Thomas Martitz
9dd0158ffb Run Rockbox as a service, which allows for music decoding&playback in the background,
the activity only attaches to the framebuffer for displaying it. An icon
in the notification area is displayed (it could be prettier I guess).

Note: Some HTC phones won't, includng mine, get enough CPU time to do background decoding
fluently, see: http://code.google.com/p/android/issues/detail?id=9663

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27686 a1c6a512-1295-4272-9138-f99709370657
2010-08-03 22:56:24 +00:00
Robert Bieber
83c60a1012 Theme Editor: Created the RBMovable abstract class for screen elements that can be moved around, began implementing it and making images, viewports, and album art children of it
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27685 a1c6a512-1295-4272-9138-f99709370657
2010-08-03 22:29:26 +00:00
Rafaël Carré
851be21f67 system-arm.c/__div0 are for ARM native builds only
Android can now be built with CPU_ARM defined
Needs investigation (and test_codec) to see if/how this helps

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27684 a1c6a512-1295-4272-9138-f99709370657
2010-08-03 19:00:29 +00:00
Rafaël Carré
29b2a049de faad: move inline function in header
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27683 a1c6a512-1295-4272-9138-f99709370657
2010-08-03 17:59:59 +00:00
Rafaël Carré
40e3b09678 system-android: cast void* to uintptr_t*
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27682 a1c6a512-1295-4272-9138-f99709370657
2010-08-03 17:53:43 +00:00
Rafaël Carré
82e1332db9 android: declare audiohw_set_volume()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27681 a1c6a512-1295-4272-9138-f99709370657
2010-08-03 17:53:38 +00:00
Rafaël Carré
3b0521a4f4 Typo
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27680 a1c6a512-1295-4272-9138-f99709370657
2010-08-03 17:44:41 +00:00
Rafaël Carré
2c00cb5e83 wma: move inline functions into .h file
use 'static inline' instead of GCC extension 'inline'
some GCC don't support this (android NDK for example)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27679 a1c6a512-1295-4272-9138-f99709370657
2010-08-03 17:41:34 +00:00
Rafaël Carré
79d5c0702b configure: fix LCD width/height dialog for android
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27678 a1c6a512-1295-4272-9138-f99709370657
2010-08-03 17:41:29 +00:00
Jonathan Gordon
1e0a01063d make -vvv display the parse tree in checkwps. Fix a potential bug in the parser where recursive tags (the playlist viewier) would share params with its parant which meant bad things
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27677 a1c6a512-1295-4272-9138-f99709370657
2010-08-03 12:14:50 +00:00
Nils Wallménius
d42fd744e6 flac: error out if max blocksize is larger than we can handle.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27676 a1c6a512-1295-4272-9138-f99709370657
2010-08-03 09:48:57 +00:00
Robert Bieber
a83adc7d6d Theme Editor: Removed markup comments from CodeEditor files (it was originally a Nokia example, so it was marked up with comments for their documentation), implemented the beginnings of drag and drop editing. Viewports are now movable, but don't invoke code generation yet
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27675 a1c6a512-1295-4272-9138-f99709370657
2010-08-03 08:42:30 +00:00
Robert Bieber
dad9810fe5 Theme Editor: Implemented Sx tag in renderer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27674 a1c6a512-1295-4272-9138-f99709370657
2010-08-03 05:47:59 +00:00