Commit graph

30317 commits

Author SHA1 Message Date
Dominik Riebeling
3e0f2b3e1c Use relative paths to quazip includes.
Shorten the include list a bit by using relative paths.

Change-Id: I91fa7b292179c9f8cd0c257ef9b8d26bca34963b
2012-01-29 22:55:18 +01:00
Dominik Riebeling
7d8db0a6ff findExecutable(): cleanup log output a bit.
Change-Id: I217bddc91ff9ea43a5cfc018818f5a19b1555dd9
2012-01-29 22:55:18 +01:00
Dominik Riebeling
4105c82e6b Centralize settings for executable based TTS systems.
The configuration values for executable based TTS systems is stored in member
variables. Instead of reading them multiple times provide a function for that
and move searching the executable to the loading function.

Previously the executable was only searched in the path when opening the TTS
configuration. Having this in the loading function removes that unnecessary
step in case the TTS is in the path (and doesn't require additional
configuration).

Change-Id: I06799b55545dcb719ee3c916795b20e01c248a15
2012-01-29 22:55:18 +01:00
Dominik Riebeling
0ae49c2719 Separate default quality setting for encoders.
Instead of having a global quality setting for the encoder make the encoder
provide its default value by itself. Fixes the libmp3lame encoder using an
unsuitable value since the range differs greatly between the encoders.

Centralize reading the configuration values for rbspeex. The values are stored
in member variables, so it's not necessary to read them multiple times.

Change-Id: Ia26cb1fc3bb4f927d13212fe7883bdfe2571a711
2012-01-29 22:55:18 +01:00
Dominik Riebeling
933a674891 libmp3lame: add quality and volume settings.
Change-Id: I220526f071dadc69791e5bf6d23cfce2bf9ba045
2012-01-29 22:55:18 +01:00
Thomas Martitz
a489a6be8a stopwatch.lua: Improve button layout. Enable on touchscreen RaaA.
Change-Id: Iae3b9e80cbec60856689b1c12aabfd26c85e3d96
2012-01-29 22:35:49 +01:00
Thomas Martitz
7728ff5912 Export runtime detected paths to lua scripts. Adapt stopwatch to not use
hardcoded path.

Change-Id: I5b843002d63a332b3fad02973d00b9863d283062
2012-01-29 22:35:49 +01:00
Thomas Martitz
112bc71a0c Fix building test plugins on non-touch targets, for real.
Change-Id: I8f2105fe3357f00d9e085444cd867bec0e2a7143
2012-01-29 22:35:49 +01:00
Thomas Martitz
476fcfa538 Revert "Fix building test plugins on non-touch targets."
This reverts commit 84c77d40f5.

The commit used an unrelated define which doesn't actually work.
2012-01-29 22:35:49 +01:00
Bertrik Sikken
f57e5a2ae3 AMSv1/AMSv2: show CCU_IO in debug menu
Change-Id: I8ee9d464a6a3aebc21b60ac88e1b3833dca48885
2012-01-29 15:05:05 +01:00
Frank Gevaerts
dbcf173fdf YP-R0 is supposed to be unstable these days, so add it to tools/builds.pm
Change-Id: Ia3cf9370c38d1593fe156806d12eec3da438beac
2012-01-29 13:54:46 +01:00
Wieland Hoffmann
c5f772caad correct a typo
Change-Id: I45b72364ec660c96368837b543b0f6d556f9f66a
Reviewed-on: http://gerrit.rockbox.org/72
Reviewed-by: Frank Gevaerts <frank@gevaerts.be>
2012-01-28 16:18:32 +01:00
Wieland Hoffmann
94177e6c3b Use is_keys_locked when possible
Change-Id: Ib0ae0f31a8b040aba5dca4e11df934c89aaca232
Reviewed-on: http://gerrit.rockbox.org/73
Reviewed-by: Jonathan Gordon <rockbox@jdgordon.info>
2012-01-28 14:17:52 +01:00
Magnus Holmgren
3019a80307 Update Swedish translation.
Change-Id: I3524708059d0de04581cdcefe337f9d6ae09f891
2012-01-28 13:41:16 +01:00
Magnus Holmgren
84c77d40f5 Fix building test plugins on non-touch targets.
Change-Id: I6d058099ebb4c9d0aa5b21cb8b2e01bb4a5965d4
2012-01-28 13:41:15 +01:00
Jonathan Gordon
a65d241dd0 skin touchregions: change the rwd/ffwd region actions to make it less buggy in the sbs
Change-Id: Ib823860e65909ac227910a16f6caac207b7e22c3
2012-01-28 23:38:16 +11:00
Asier Arsuaga
bebfd7f261 FS#12567 - Update Basque Language File
Signed-off-by: Bertrik Sikken <bertrik@sikken.nl>

Change-Id: I7a8a3b08ff73f8ea6c33ab5721a53e89aca44f91
2012-01-28 12:00:53 +01:00
Amaury Pouly
d6848584f7 fuze+: mark as unstable
Change-Id: I4a21e220e16b567eb3e7afe5e7d1a3293dd13bb2
2012-01-27 20:19:07 +01:00
Amaury Pouly
28a10ec490 sbloader: always send packets of size xfer_size (even the first). Also maintain a table of known transfer sizes. In particular stmp3770 uses 48 instead of 1024.
Change-Id: I08dddc76c251aeeaaa3b46c9466f9be54c3d4a45
2012-01-27 20:08:33 +01:00
Amaury Pouly
d32891fa59 fuze+: change rendering scheme, do not rely on generic framebuffer and implement rect updating and yuv blitting correctly.
Now lcd_framebuffer is the only framebuffer in the system. We still use a ARM-buffered buffer
which serve as an intermediate buffer for copying, to accomodate the requirement of the controller.
We implement lcd_update_rect() properly using this new scheme (this requires two little quirks),
this allows to implement lcd_blit_yuv with the right semantic (bypasses the framebuffer). YUV to RGB
conversion is still done in software but the DCP CSC should be able to do that but the hardware rotation
scheme is not the same as our software so it will require some tricks.

Change-Id: I0752e9c2f1a705d2e6a6010084e1f150965d8370
2012-01-27 20:08:33 +01:00
Amaury Pouly
05ba5c1971 imx233: update arbiter to get more debug information, update debug screen accordingly
Change-Id: Ia229e5303692712295f1dbd37a76f865a3eef4ea
2012-01-27 20:08:33 +01:00
Amaury Pouly
bf47e577aa imx233: implement dcp blitting, simplify code and make it work even in context interrupt by busy waiting
Change-Id: Ife949e13e3e04a56a2b5bc554eb46c726e719712
2012-01-27 20:08:33 +01:00
Amaury Pouly
900b494a27 imx233: fix PHYISCAL_ADDR to handle the buffered region (hard to debug if misused)
Change-Id: Ibbe9d42ecb91aa04925d557f8231f8a9140dd60a
2012-01-27 20:08:33 +01:00
Michael Sevakis
74736fcfc9 find_first_set_bit tweaks
Correct sizing in m68k asm.
Make the gerneric version far more generic.

Change-Id: I32945f7431771979b3fe0da5472bdb110fd054ae
2012-01-27 11:51:25 -05:00
Thomas Martitz
c6d69ae8fc Bump plugin api and abi version needed for b8439f2. Sort too.
Change-Id: Idcff29c9b89e7dbe7e9c7d2413737e0d598b7831
2012-01-27 09:31:34 +01:00
Thomas Martitz
93a4b32d03 test_codec/test_fps: Use pluginlib_touchscreen API to make them fit for touchscreen including point mode.
Enable test_fps on RaaA also.

Change-Id: Ifeb60d5ad30bde1f8a645cd9e9d5d5ae34f4425d
2012-01-27 09:15:05 +01:00
Thomas Martitz
049f3c782a test_touchscreen.rock: Add keymap for sdl and android.
Change-Id: Ie56414c1a025bd786bf9e6edce1c09e6626f9f4a
2012-01-27 09:15:05 +01:00
Thomas Martitz
aba5c47dd6 pluginlib_touchscreen: Rework API to offer wait-for-button APIs.
The old touchscreen_get() needed an external button_get() call. Now two APIs are
added that do this call internally. This way they behave similar to get_action.

The old API is preserved (but renamed) since it's used in reversi.

Change-Id: I24902c64a357f2fdd7d0c2f5371cbfd20f34f1c8
2012-01-27 09:15:05 +01:00
Thomas Martitz
7c623d577b Use PLA in boomshine.lua instead of the awkward kbd_input context. This enables it on RaaA.
Change-Id: I616bb39c1e785e39e9369d2ccef45477911bb5a3
2012-01-27 09:15:05 +01:00
Thomas Martitz
c406f94592 Lua: Add pluginlib_actions wrapper for lua scripts.
Scripts can now make use of PLA_* actions to be more target independant.

Change-Id: I1b9f69e07f41b2187ecc1bad25a2c20eaaef92b4
2012-01-27 09:15:05 +01:00
Thomas Martitz
6eeca7096d PLA: Add map for android. Directional keys not available in point mode due to
touchscreen.

Fix cowond2 select repeat at the same time.

Change-Id: I3ee0c2a3fdc74978c159335949c183d36d5d29af
2012-01-27 09:15:05 +01:00
Thomas Martitz
7013d0c48d application: Enable chipper and fft plugins.
They force grid mode but don't need graphics so good enough for now.

Change-Id: I711a1a22f1866ed25196614f343ab51967bf3a4b
2012-01-27 09:15:05 +01:00
Thomas Martitz
fab7264b3b Force settings touchscreen mode in menus.
Plugins revert to grid mode currently. If they create a list the list ends
up in grid mode as well even if they use point mode due to settings in the core.
The expectation is that the lists use whatever mode they also use in the core.

Force setting in menu to have them behave the same in core and plugins.

Change-Id: I9534b2f21ccfa920eb2e48f66b04ecbda7a59011
2012-01-27 09:15:05 +01:00
Thomas Martitz
b8439f2aea Add touchscreen_get_mode() to plugin and lua.
Change-Id: I44b8693c689da00f57c14622f4ba3dc554dbbfc9
2012-01-27 09:15:05 +01:00
Boris Gjenero
f4954c4a9b Fix FS#12559: sigaltstack threads fortify failure
Ubuntu defines _FORTIFY_SOURCE=2, which causes glibc longjmp() to check sp
when gcc optimization is enabled. The check does not allow longjmp() to be
used for switching threads and results in a "longjmp causes uninitialized
stack frame" error. This disables the check.

Change-Id: Idb8877b43ce711df880ca88875ba5477445a577a
2012-01-26 20:33:28 -05:00
Joshua Simmons
1230a45a65 goban plugin: hoshi locations for more board sizes
Hoshi locations were hardcoded and only for board sizes 9, 13 and 19.

This new way has identical results for those board sizes, but
also places hoshi on other size boards.

There are no real standards for where hoshi should go on boards other
than 9, 13 and 19, but I think the results obtained are aesthetically
pleasing (and certainly better than not having any hoshi at all).

Change-Id: I08e449f17d782d212d5b1e16ebd7df52aec9ffb9
Reviewed-on: http://gerrit.rockbox.org/68
Reviewed-by: Björn Stenberg <bjorn@haxx.se>
Reviewed-by: Frank Gevaerts <frank@gevaerts.be>
2012-01-26 13:08:07 +01:00
Thomas Martitz
feef422b7c Improve/unify German translation.
Change-Id: I9603acfe75d694a6533df3b7bdb490fad1a0b4e9
2012-01-25 23:01:00 +01:00
Thomas Martitz
9a4656bfd0 Include stdlib.h for atexit().
Change-Id: I561bdaf0c6a0b806a136909e40cc4fb2805f6aa3
2012-01-25 22:49:19 +01:00
Thomas Martitz
63ddd15fc6 Fix win32 simulator build (FS#12564).
Change-Id: Ia8c805fd63b6d2d05133e6dd0ad257d31b38e2a0
2012-01-25 22:47:59 +01:00
Frank Gevaerts
f1d3ff4564 Remove ata_removable() and ata_present() from multidriver code.
ata_removable() and ata_present() no longer exist (ATA drives are never
removable with our current drivers), so storage.c shouldn't try to call
them from the wrapper functions. This was never noticed because these
wrapper functions are only used for multidriver code, which happens not
to be used with ATA currently.

Change-Id: Icb5e8cb27cdbef3edc0e51c35dc40dadf4f9de29
2012-01-25 20:08:51 +01:00
Michael Sevakis
7ccd2c9d16 Fix power_input_status in sim where target has a battery switch.
Change-Id: Ic00410a5b143d71928dc67c47d94d317b8ecadcd
2012-01-25 12:02:54 -05:00
Marcin Bukat
0499aff9d0 WM8750: Extend recording gain range.
Use two stage amplification (PGA gain and digital stage gain)
combined to extend recgain range to -17.25 +60.0dB.

Change-Id: I4df8af801730b7efb2d35096de077ba31d331222
2012-01-25 09:31:34 +01:00
Jonathan Gordon
c42f19f897 Disable the backdrop in the failsafe theme so the colours acually work
Change-Id: Ib65fa0be50dfa050f1db5c615685bdbd992cea1d
2012-01-25 19:22:23 +11:00
Marcin Bukat
36281c4cc9 MPIO HD300: Fix scrollstip issue at driver level.
Scrollstrip (as well as scrollwheel on ipods/sansas) works like
quadrature encoder. The states of input lines are tracked by the
gpio ISR and when the sequence is correct, appropriate button
event is pushed to the button queue directly. The downside of
this implementation is that scrollstrip doesn't emit _REL
events which has some weird consequences. For the scrollwheels
some hack have been crafted in action system to accomodate for
this. I don't like this approach. IMO the correct fix is to
properly emit _REL event when the user stops interacting with
the device or reverses the direction of the move. This patch
implements timeout which forces to emit _REL when expired.

Change-Id: I588ac5810dd2ab00c68935d23a62979cb1c2a912
2012-01-25 09:07:52 +01:00
Rafaël Carré
76440aa214 mkamsboot: ignore built files / folders 2012-01-24 17:00:26 -05:00
Marcin Bukat
fee6f80fb8 Update CONTRIBUTING to reflect our switch to git on gerrit.
Fixes FS#12536

Change-Id: Iee4700ef01eb23c92a026df5074ffcf0257fe0ec
2012-01-24 13:05:25 +01:00
Marcin Bukat
dc85718bfd MPIO HD300: Use MENU button to go back from debug screens.
Change-Id: I17c0f573de75ab1fd0119d148337e45552eb04b0
2012-01-24 12:27:06 +01:00
Marcin Bukat
e94d1b0ab0 MPIO HD200/HD300: Decrease ADC scanrate.
The adclk is decreased 4x. This solves problems with battery
readout drop during system startup.

Change-Id: I46d7c4b9ffcfdc812a6dd2a932c9e397d33c1168
2012-01-24 12:05:07 +01:00
Torne Wuff
2ab2857b58 Remove svn id.
Another "test" commit :)

Change-Id: I2196ef07724f23dacd47d9ee1a71c3200b4135fc
Reviewed-on: http://gerrit.rockbox.org/64
Reviewed-by: Björn Stenberg <bjorn@haxx.se>
2012-01-23 16:04:47 +01:00
Thomas Martitz
016bc2452f ypr0: Allow dection of multiple button presses at the same time.
Reading from /dev/r0Btn only allowed to read one button at a time. Reading GPIO
directly via ioctl() doesn't have this limitation.

This adds a more complete GPIO list also.

Change-Id: If47b0846472f0817305dbf930731255f875e0269
Author: Lorenzo Miori
2012-01-23 14:50:31 +01:00