summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2012-03-03Revise the PCM callback system after adding multichannel audio.Michael Sevakis48-718/+765
Additional status callback is added to pcm_play/rec_data instead of using a special function to set it. Status includes DMA error reporting to the status callback. Playback and recording callback become more alike except playback uses "const void **addr" (because the data should not be altered) and recording uses "void **addr". "const" is put in place throughout where appropriate. Most changes are fairly trivial. One that should be checked in particular because it isn't so much is telechips, if anyone cares to bother. PP5002 is not so trivial either but that tested as working. Change-Id: I4928d69b3b3be7fb93e259f81635232df9bd1df2 Reviewed-on: http://gerrit.rockbox.org/166 Reviewed-by: Michael Sevakis <jethead71@rockbox.org> Tested-by: Michael Sevakis <jethead71@rockbox.org>
2012-03-03Sansa Clip Zip: Bubble now shows a proper background imageDimitar Dimitrov3-3/+25
Change-Id: If595378d58a4602bdc6b101c062c6974f6debf62 Reviewed-on: http://gerrit.rockbox.org/167 Reviewed-by: Dimitar Dimitrov <mitakas@gmail.com> Tested-by: Dimitar Dimitrov <mitakas@gmail.com> Tested-by: Bertrik Sikken <bertrik@sikken.nl> Reviewed-by: Bertrik Sikken <bertrik@sikken.nl> Reviewed-by: Rafaël Carré <rafael.carre@gmail.com>
2012-03-02Pandora port: Add support for the L/R shoulder buttonsThomas Jarosch1-0/+6
Change-Id: I18d5998dbcf7347549008fb9e52679b65fbf7e4f
2012-03-02Updated some missing items for Simplified-Chinese translation (FS#12584)Jean-Louis Biasini1-5/+121
Thanks to Gan Lu for the translation Change-Id: If3577c35e35eaa3940b0d820315e2a7b6c10d7d0 Reviewed-on: http://gerrit.rockbox.org/159 Reviewed-by: Alex Parker <rockbox@aeparker.com>
2012-03-02Manual: Describe more generally how to customise the main menu.Alexander Levin1-12/+20
Change-Id: I1eda6d8b7785d1e2888860c8e461eb54b4f9abb7 Reviewed-on: http://gerrit.rockbox.org/164 Reviewed-by: Alex Parker <rockbox@aeparker.com> Tested-by: Alex Parker <rockbox@aeparker.com>
2012-03-02Manual: Fix the WPS tags tableAlexander Levin1-1/+1
Change-Id: Idee12d56940a7a547a965bd78c5344448f29e566 Reviewed-on: http://gerrit.rockbox.org/163 Reviewed-by: Alex Parker <rockbox@aeparker.com>
2012-03-02Fix sanity check in UnwStartThumb() using the wrong registerThomas Jarosch1-1/+1
cppcheck reported: [lib/unwarminder/unwarm_thumb.c:399] -> [lib/unwarminder/unwarm_thumb.c:399]: (style) Same expression on both sides of '&&'. Patch will also be sent to the upstream project. Change-Id: I57033f290135f4dc09ac7e9b07c31461bc5b471a Reviewed-on: http://gerrit.rockbox.org/157 Reviewed-by: Thomas Jarosch <tomj@simonv.com>
2012-03-02Fuze+: All games plugins keymapsJean-Louis Biasini18-55/+98
revert all games plugins keymaps that had mysteriouly disapeared Change-Id: I648ea4c13ddacc49995254fbb79a0dbb75b2fcbc Reviewed-on: http://gerrit.rockbox.org/160 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
2012-03-02Bulgarian translation for the remaining strings.Dimitar Dimitrov2-0/+91
Change-Id: If1c7cde9ba3196f99dcce80b8eaaf46ec6b84b46 Reviewed-on: http://gerrit.rockbox.org/161 Reviewed-by: Jonathan Gordon <rockbox@jdgordon.info>
2012-03-01Make %LC and %LR always have predictable and usable values.Frank Gevaerts1-0/+5
%LC is now 1 for non-tiled list items (instead of undefined) %LC and %LR are now -1 in non-list contexts. Change-Id: Ib7090429fa95528bd141d3d7ca95fd917b25b96e
2012-03-01configure: fix $(LD) which was incorrectly set as $(AR)Amaury Pouly1-1/+1
Change-Id: I76db28bf0d583840bc00e96b73370316ad7d8b73
2012-02-29Fix mismatching C++ new[] / delete callsThomas Jarosch1-9/+9
cppcheck report: [rbutil/rbutilqt/base/encoderlame.cpp:273]: (error) Mismatching allocation and deallocation: mp3buf [rbutil/rbutilqt/base/encoderlame.cpp:282]: (error) Mismatching allocation and deallocation: mp3buf [rbutil/rbutilqt/base/encoderlame.cpp:289]: (error) Mismatching allocation and deallocation: mp3buf [rbutil/rbutilqt/base/encoderlame.cpp:274]: (error) Mismatching allocation and deallocation: wavbuf [rbutil/rbutilqt/base/encoderlame.cpp:283]: (error) Mismatching allocation and deallocation: wavbuf [rbutil/rbutilqt/base/encoderlame.cpp:290]: (error) Mismatching allocation and deallocation: wavbuf [rbutil/rbutilqt/base/encoderlame.cpp:184]: (error) Mismatching allocation and deallocation: buf Change-Id: I9fd54b6e02817eb900ec6e24d967da6d4beaeb27
2012-02-29imx233: correctly stop charging on topoff (fix battery discharging)Amaury Pouly1-1/+1
Change-Id: Ied7ea0a882e532bcf673a96d224dd55fdaae05d4
2012-02-29Call skinlist_set_cfg() unconditionally, i.e. also if do_refresh==falseFrank Gevaerts2-4/+3
This call is cheap (except if the list config changes, but then it should be called anyway), and do_refresh isn't always set appropriately, e.g. when the screen has just changed, which could cause the list config to be null at bad times, which caused the standard list to be shown instead of the desired skinned list. Change-Id: I47dd2552d6d1062456ede4529c4891e80a8159ea Reviewed-on: http://gerrit.rockbox.org/113 Reviewed-by: Frank Gevaerts <frank@gevaerts.be>
2012-03-01lcd drivers: split lcd_gradient_rect so it is actually usefulJonathan Gordon2-14/+48
lcd_gradient_rect() was only usable to draw list lines, so split it up and make a generic gradient draw function available to apps/ Change-Id: I665911a90fef239b5e06592ea2763cbeeb74c83f
2012-02-29Fix ucl-related makefilesFrank Gevaerts2-2/+2
Change-Id: I5f2f896d34c242c9b365bd8ea823fa89647a366d
2012-02-29Fix bugs in lcd drivers after b37e6bcAndrew Ryabinin3-3/+3
Change-Id: I9dc262b8453abab62e792beebe4f96415e58b380
2012-02-29root menu ordering: Remove underscores from the config setting.Thomas Martitz2-4/+4
The very vast majority doesn't have an underscore. There are a few exceptions but there shouldn't be introduced even more. Change-Id: I18d9bf86b5588f8a22a7a96d2dbea61fde4aba61
2012-02-29imx233: always boot when powered up from 5vAmaury Pouly3-11/+22
Change-Id: I3adb901d293c801f0a8493ae4f0b23af4fa535e8
2012-02-28imx233: user __FIELD_SET to set the clock divisorsAmaury Pouly1-20/+8
The clock divisors must *NEVER* be 0, first clearing then setting is thus undefined. Change-Id: Iba8e6ba1e668bf746e3f7387f0175f63d81f6b2b
2012-02-28imx233: print power up source in the bootloaderAmaury Pouly2-0/+4
Change-Id: I9ff4738b7efdb25ab57b0061f60c7fde58b9a0b5
2012-02-28mkimxboot/fuze+: fix booting to the OFAmaury Pouly2-3/+3
Change-Id: I51db192d9c88952173acac6558941ba6421a31dd
2012-02-29fix warningJonathan Gordon1-1/+1
Change-Id: Iccadc7558b9ffb2d87e5bc7697080dd567f4775f
2012-02-29skin_engine: ease the restrictions on %x/%xlJonathan Gordon3-24/+27
%x and %xl only require the id and filename now. If you leave off the x,y it will default to 0,0. If you want to use the default x,y you can still put in the num_subimages param on the end (e.g %xl(a, file, 3) ) Change-Id: I8eff793dfdd037e302ace8deec9dc16dcea264a7
2012-02-28skin_engine: Clean up %x() handling - beware theme issuesJonathan Gordon7-15/+12
Internally remove some hacks around how %x() is handled. %x() inside the default viewport will no longer work if other viewports are used, so if you are using viewports and %x() make sure it is in a viewport! Change-Id: I8ecab805d55fc0f8476ff0516cba38e23400aa20
2012-02-28Fix build errorsJonathan Gordon1-1/+6
Change-Id: Ie46e807799034af2a025c607a76e17c50c5b613e
2012-02-28lcd/skin_engine: Add the ability to draw onto the backdrop layerJonathan Gordon13-10/+87
The framebuffer the lcd driver uses can now be changed on the fly which means that regular lcd_* drawing functions can draw onto the "backdrop" buffer. The skin engine can use this to create layered effects. Add the tag %VB to a viewport to draw that viewport onto the backdrop layer. If you want to draw an image onto the backdrop framebuffer use %x(backdrop filename) instead of %X() inside a viewport with %VB. Change-Id: I741498e2af6d4f2d78932cabe8942317893e7cfc
2012-02-28rk27xx: Make sure SD module clock is not gatedMarcin Bukat1-0/+1
Change-Id: Iafc9af6cf4762f16f367705b8c9a3e441420905b
2012-02-28Fix build errors and warningsJonathan Gordon3-3/+3
Change-Id: Ie80bc4328d4f89a5a7b77c93f2b445d0e30fb019
2012-02-28lcd drivers: Convert lcd_[remote_]framebuffer to a pointerJonathan Gordon65-181/+193
Change all lcd drivers to using a pointer to the static framebuffer instead of directly accessing the static array. This will let us later do fun things like dynamic framebuffer sizes (RaaA) or ability to use different buffers for different layers (dynamic skin backdrops!) Change-Id: I0a4d58a9d7b55e6c932131b929e5d4c9f9414b06
2012-02-28mkximxboot/fuze+: add power button delay to power onAmaury Pouly3-7/+34
Only boot to rockbox if the power button is hold sufficiently long. For consistency, use the same mechanism as the OF: - read PSWITCH 550000 times - boot if PSWITCH=1 at least 400000 out of 550000 times Only apply the delay if Volume Down is not hold, so that the OF and RB delay don't cumulate. Change-Id: I1e8a4cd108c56bf784fcf1c320f7a001ef161701
2012-02-27root menu: Use - to reset the root menu order from a configJonathan Gordon2-0/+7
use root_menu_order: - to reset the order Change-Id: I10c38926d79b10c88e5f1e0acdd85ca1a1489edf
2012-02-26Append "64bit" only on 64bit binary.Dominik Riebeling1-3/+12
Don't rely on the build host having the same bitsize as the created binary. Fixes building a 32bit binary getting a "64bit" postfix when built on a 64bit Linux. Change-Id: I2aa61dee82beddd60ebfc8e227551ea49d769664
2012-02-26Rockbox Utility: update french translationJean-Louis Biasini1-26/+28
- change some strings that were not really nice - update empty strings Change-Id: Iab816bdbcd09bc254320c50d5eab424648b9a832 Reviewed-on: http://gerrit.rockbox.org/124 Reviewed-by: Dominik Riebeling <Dominik.Riebeling@gmail.com>
2012-02-25Clean up some variables.Frank Gevaerts1-14/+9
Renames origional_* variables to original_* Removes original_(width,height) variables that weren't actually used Change-Id: I604c2ef9ce9d806551e8c52080a5c895415e088c
2012-02-25Commit FS#12288 - Sansa Clip+: "Home" in the main menu to WPS/Radio.Michael Giacomelli1-1/+8
Author: Akio Idehara Change the keymap for all Sandisk Clip series players so that pressing home in the main menu will return to the last viewed of either the WPS or the radio screen. Change-Id: Id890bf3593a9e6313304c9f7bb3ceb9a36ea6f33
2012-02-25Add %LR and %LC to get at the current row and columm in skinned lists.Frank Gevaerts5-5/+36
This allows list items to be rendered differently depending on their on-screen position, allowing things like gradients or nonlinear alignment Change-Id: I1d9c080f97e83707f0e80f57abc762cb2b94f6ed
2012-02-25radio: include power.h in drivers for tuner_power()Amaury Pouly3-0/+3
Change-Id: I1ef8917b28b6d955e456c0b3737d41d356f34ec3
2012-02-25Move radio power handling from apps/ to drivers.Amaury Pouly8-41/+39
Remove direct calls to tuner_power(...) in apps/ and let the driver manage tuner power with the RADIO_SLEEP setting. Change-Id: I37cd0472e60db5d666dae1b9fe4755dd65c03edd Reviewed-on: http://gerrit.rockbox.org/84 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
2012-02-25Add "allbuilds" to builds.pm, similar to "stablebuilds" and "usablebuilds"Frank Gevaerts1-0/+10
Change-Id: Ia81a090e0c5ad53b09c38861b17e14674b1087d4
2012-02-25FS#12519 - iPod Classic/6G: swap L-R audio channels by Cástor MuñozCástor Muñoz1-5/+4
Fixes swapped left and right channels on ipod 6g and changes the i2s config to send samples as 16 bits instead of 16 zero padded to 24 bits to the dac. Change-Id: Icfecfdf0f6868bdb01c11dced604ebfceb874aa1 Signed-off-by: Nils Wallménius <nils@rockbox.org>
2012-02-26FS#12586 - Modify %ss to be able to use numbers for conditionalsJonathan Gordon5-1/+24
i.e %?ss(1,1,%cM)<|one|two|three|...|> or %xd(numbers, %ss(1,1%cM) Change-Id: I74ecb3f253f3be1fd270f75c0ef79addd364a7de
2012-02-25Add unwarminder author to CREDITSMarcin Bukat1-0/+1
Change-Id: Ida502b717783085d8d6e56342d050f6f9e81cde3
2012-02-25Make some arrays const.Nils Wallménius1-5/+5
Change-Id: I371435b2943a19f4b33bbedb116800b483621a4d
2012-02-25IPod Classic/6G: LCD sleep (FS#12523) by Cástor MuñozCástor Muñoz3-46/+235
Change-Id: I7bea9f61fa315339c1f41efb27d13a4aa30cb4c3 Signed-off-by: Nils Wallménius <nils@rockbox.org>
2012-02-25Add Fukuda Takafumi to the creditsNils Wallménius1-0/+1
Change-Id: I636b865b7588cc22d107d943fc5b8c3ebc2883b2
2012-02-25Japanese translation update by Fukuda Takafumi (FS#12375)Fukuda Takafumi1-14/+256
Change-Id: I27b669adbe0837ebb4aad11346a533c4075a110b Signed-off-by: Nils Wallménius <nils@rockbox.org>
2012-02-25main menu: Add the ability to hide and reorder the main menu items.Jonathan Gordon5-13/+142
To change the shown menu items add the line "root_menu_order:<items>" into your config.cfg <items> can be any of: bookmarks, files, database, wps, settings, recording, radio, playlists, plugins, system_menu, shortcuts Manual entry by Alexander Levin Change-Id: Ie7f4bfb0f795184de094d05fc341a6cedd1c0cde Reviewed-on: http://gerrit.rockbox.org/104 Reviewed-by: Jonathan Gordon <rockbox@jdgordon.info>
2012-02-24Enable leaving the quickscreen with Select as the manual currently states ↵Michael Giacomelli1-0/+1
should be possible. Change-Id: I7cb8be9e913722cdf4ffff3db70b11c9f17f8385
2012-02-24Update the manual to include Home as a way of quitting the quicksreen on the ↵Michael Giacomelli1-1/+1
Clip players. Leave Select in place since we'll add that next. Change-Id: I2a5632cbad8b88a9f7ec92c790ba6c0e272115f7