Dominik Riebeling
92183d2dd0
Improve visual feedback when testing TTS.
...
Disable the "Test TTS" button during a running test and on invalid TTS
configuration.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29581 a1c6a512-1295-4272-9138-f99709370657
2011-03-13 14:57:58 +00:00
Thomas Jarosch
1177651d56
Prepare new Pandora .pnd build
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29580 a1c6a512-1295-4272-9138-f99709370657
2011-03-13 14:06:50 +00:00
Thomas Jarosch
0f440d108d
Pandora port: Fix SDL detection, pkg-config is not supported
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29579 a1c6a512-1295-4272-9138-f99709370657
2011-03-13 12:46:59 +00:00
Michael Sevakis
7cac18f94b
Use ringbuf_add in buffering when incrementing for initial allocation of non-wrapping data. The result of the shortcut would have been wrong if the handle used space exactly to the end of the buffer since buf_widx wouldn't have been properly wrapped to index 0.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29578 a1c6a512-1295-4272-9138-f99709370657
2011-03-13 11:56:51 +00:00
Bertrik Sikken
e86a7fb77d
Fix FS#11894 - Sansa Clip+ Volume Buttons don't switch when Upside Down is activated
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29577 a1c6a512-1295-4272-9138-f99709370657
2011-03-13 10:24:49 +00:00
Maurus Cuelenaere
8aa90b6b0b
Android: allocate native_buffer locally, which does away with the need to hold
...
a global reference to it (fixes bug).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29576 a1c6a512-1295-4272-9138-f99709370657
2011-03-12 00:35:18 +00:00
Thomas Martitz
204ac257fe
Android: Switch to pthread_cond+SIGEV_THREAD for tick task handling.
...
The implementation wasn't really safe (sem_post from signal handler), and the new one simplifies things a bit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29575 a1c6a512-1295-4272-9138-f99709370657
2011-03-11 23:38:36 +00:00
Thomas Martitz
662ba4868a
Create GlobalRef in surfaceCreated, in accordance to r29572.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29574 a1c6a512-1295-4272-9138-f99709370657
2011-03-11 22:48:10 +00:00
Björn Stenberg
00f75c92bf
Use the pcm volume to add finer steps between every android stream volume step.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29573 a1c6a512-1295-4272-9138-f99709370657
2011-03-11 20:40:19 +00:00
Maurus Cuelenaere
0b18522cd0
Android: delete the global reference in surfaceDestroyed
...
This gets rid of the lcd_deinit() boilerplate.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29572 a1c6a512-1295-4272-9138-f99709370657
2011-03-11 19:38:30 +00:00
Maurus Cuelenaere
80a2c80332
Android: no need to keep RockboxPCM_class around
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29571 a1c6a512-1295-4272-9138-f99709370657
2011-03-11 19:25:05 +00:00
Maurus Cuelenaere
c2ee32b22a
Partly revert "Android: use NewGlobalRef for references that are used globally"
...
The added complexity wasn't needed for most subsystems, as main() never returns
so local references can't be freed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29570 a1c6a512-1295-4272-9138-f99709370657
2011-03-11 19:23:00 +00:00
Maurus Cuelenaere
66f2a08f8a
Android: Don't share the JNI environment across threads, but obtain it the
...
correct way
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29569 a1c6a512-1295-4272-9138-f99709370657
2011-03-11 18:34:35 +00:00
Maurus Cuelenaere
2e5b7aebde
Android: use NewGlobalRef for references that are used globally
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29568 a1c6a512-1295-4272-9138-f99709370657
2011-03-11 18:34:31 +00:00
Maurus Cuelenaere
7228f2fa9f
Android: use APPEXTRA instead of makefile hack
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29567 a1c6a512-1295-4272-9138-f99709370657
2011-03-11 16:08:36 +00:00
Maurus Cuelenaere
78d0fdab9c
Android: get rid of warnings (no functional changes)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29566 a1c6a512-1295-4272-9138-f99709370657
2011-03-11 15:46:02 +00:00
Maurus Cuelenaere
42f69c28c6
Android: replace installApk.sh "launching Rockbox activity"-behaviour with
...
'make launch'
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29565 a1c6a512-1295-4272-9138-f99709370657
2011-03-11 15:45:55 +00:00
Maurus Cuelenaere
0b92c0fa26
Android: remove rockbox.apk when doing 'make clean'
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29564 a1c6a512-1295-4272-9138-f99709370657
2011-03-11 15:45:49 +00:00
Maurus Cuelenaere
d833e78fac
RaaA: move Android apps-code to separate dir under apps/hosted
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29563 a1c6a512-1295-4272-9138-f99709370657
2011-03-11 15:45:44 +00:00
Maurus Cuelenaere
cae7560f32
Android: future-proof the RunForegroundManager code to Honeycomb
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29562 a1c6a512-1295-4272-9138-f99709370657
2011-03-11 15:45:38 +00:00
Maurus Cuelenaere
4364111267
Android: update project to SDKv11
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29561 a1c6a512-1295-4272-9138-f99709370657
2011-03-11 15:45:34 +00:00
Maurus Cuelenaere
fe6faf2e2c
Android port: generate initial config when none is present with dynamically
...
generated values depending on your environment.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29560 a1c6a512-1295-4272-9138-f99709370657
2011-03-11 15:45:22 +00:00
Björn Stenberg
8196f21a94
Enable volume keys in Android.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29559 a1c6a512-1295-4272-9138-f99709370657
2011-03-10 22:53:58 +00:00
Björn Stenberg
b8f29c7eed
Quicker fade_on_stop.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29558 a1c6a512-1295-4272-9138-f99709370657
2011-03-10 22:25:18 +00:00
Frank Gevaerts
4bb24f2921
Enable A-B repeat on nano2g
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29557 a1c6a512-1295-4272-9138-f99709370657
2011-03-10 22:24:56 +00:00
Thomas Jarosch
e303c80533
Don't compile handle_sleep_timer() code for the bootloader
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29556 a1c6a512-1295-4272-9138-f99709370657
2011-03-10 16:13:11 +00:00
Thomas Jarosch
98cf1a14b0
Don't call apps/ code from firmware/
...
Replace audio_stop() with audio_pause() in the sleep timer handler
for the connected charger case and remove recently added bookmarking code.
We don't power down anyway and a paused playback state
is still eligible for automatic bookmark creation if the
user later on removes the charger and waits for idle poweroff.
Hopefully other devs can sleep at night now. Or maybe I should leave
that change in there so they stay awake and hack on rockbox...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29555 a1c6a512-1295-4272-9138-f99709370657
2011-03-10 15:50:15 +00:00
Frank Gevaerts
36d98fa7d0
*really* don't automatically build convttf
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29554 a1c6a512-1295-4272-9138-f99709370657
2011-03-09 21:50:43 +00:00
Antoine Cellerier
fd7375c307
Ask for track information to be resent after creating a new widget.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29553 a1c6a512-1295-4272-9138-f99709370657
2011-03-09 18:46:55 +00:00
Antoine Cellerier
64cf0dd765
Looks like Android 2.3 is more strict when enforcing permissions. Explicitly declare allowed intents under the Service tag in AndroidManifest.xml.
...
Remove useless rockbox intent class.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29552 a1c6a512-1295-4272-9138-f99709370657
2011-03-09 18:04:05 +00:00
Antoine Cellerier
c9190dc188
Add a scrollbar to the android widget's configuration activity.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29551 a1c6a512-1295-4272-9138-f99709370657
2011-03-09 17:24:08 +00:00
Dave Chapman
5b6a849986
Don't automatically build convttf - it isn't (currently) required to build Rockbox.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29550 a1c6a512-1295-4272-9138-f99709370657
2011-03-09 11:25:08 +00:00
Michael Hohmuth
04043fd3ae
autoresume: Manual: Clarify precedence rules for resume positions
...
Resume positions stored in bookmarks take precedence over autoresume.
Technically, the resume position for the "Resume Playback" function
(which is also saved across power-off/power-on) also takes precedence
over autoresume. However, there is no way for a user to tell as it is
identical to the autoresume position for the last-played track, so
don't highlight it in the manual.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29548 a1c6a512-1295-4272-9138-f99709370657
2011-03-08 23:02:20 +00:00
Dave Chapman
bd05c07584
Remove an erroneous tab
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29547 a1c6a512-1295-4272-9138-f99709370657
2011-03-08 22:54:38 +00:00
Thomas Martitz
294d058034
Return -1 for not implemented RTC functions.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29546 a1c6a512-1295-4272-9138-f99709370657
2011-03-08 21:36:47 +00:00
Dominik Riebeling
cc6cc53737
Fix wrong theme base path when loading a wps.
...
When loading a wps in the Theme Editor without having a theme cfg loaded
the base path derived from it would be wrong. Make sure to start from
the wps files folder when deriving it. Still assumes the wps file to be
in the standard layout, i.e. in a folder called wps/.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29545 a1c6a512-1295-4272-9138-f99709370657
2011-03-08 21:05:57 +00:00
Thomas Jarosch
4e42cd712c
RaaA: Add RTC support
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29544 a1c6a512-1295-4272-9138-f99709370657
2011-03-08 20:54:42 +00:00
Thomas Jarosch
5c73e34d2d
Bring idle poweroff to RaaA and the sim
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29543 a1c6a512-1295-4272-9138-f99709370657
2011-03-08 19:33:30 +00:00
Thomas Jarosch
2ebe370ca1
Move handle_auto_poweroff() down so RaaA can call it.
...
Add two ifdefs needed for APPLICATION builds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29542 a1c6a512-1295-4272-9138-f99709370657
2011-03-08 19:33:25 +00:00
Thomas Martitz
cbf889d3e2
Merge lcd_{alpha,mono}_bitmap_part() for both lcd-16bit. Add small loop optimizations too.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29541 a1c6a512-1295-4272-9138-f99709370657
2011-03-08 17:11:56 +00:00
Thomas Jarosch
4594b133b0
Remove major_version define from rpm .spec file, it's not needed
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29540 a1c6a512-1295-4272-9138-f99709370657
2011-03-08 09:52:01 +00:00
Dominik Riebeling
8059347300
Fix cross compiling on Linux: Python uses "linux2" as platform name.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29539 a1c6a512-1295-4272-9138-f99709370657
2011-03-07 21:22:57 +00:00
Thomas Jarosch
77d409dd39
Add rockbox rpm .spec file
...
Supports build from unreleased subversion checkouts.
Tested on Fedora 14.
Might be the base for a MeeGo package later on.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29538 a1c6a512-1295-4272-9138-f99709370657
2011-03-07 20:51:01 +00:00
Jonathan Gordon
8f3feda719
last of the errors... hopefully
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29537 a1c6a512-1295-4272-9138-f99709370657
2011-03-07 13:09:04 +00:00
Jonathan Gordon
e765906d5b
move code around to make checkwps compile
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29536 a1c6a512-1295-4272-9138-f99709370657
2011-03-07 12:56:24 +00:00
Jonathan Gordon
343001b5f8
Merge a bunch of code which is 99% identical so it makes it easier to add more of these later
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29535 a1c6a512-1295-4272-9138-f99709370657
2011-03-07 12:45:45 +00:00
Dominik Riebeling
4cc2cc430c
Fix a potential variable problem. Change some messages a bit.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29534 a1c6a512-1295-4272-9138-f99709370657
2011-03-06 17:37:27 +00:00
Michael Sevakis
7d2ab2df5f
Remove malloc_buf references from playback.c since it's no longer used for anything and align the codec slack space buffer that is now use as the malloc buffer.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29533 a1c6a512-1295-4272-9138-f99709370657
2011-03-06 02:03:37 +00:00
Dominik Riebeling
d5e1faa2d2
Set missing svn:mime-type on png images.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29532 a1c6a512-1295-4272-9138-f99709370657
2011-03-06 00:41:48 +00:00
Dominik Riebeling
43a40caa37
Support cross compiling for Windows target.
...
Restructure deploy.py by moving the platform decisions out of the calling
scripts. This is necessary when cross compiling since this is only decided in
deploy.py. Add support for passing a cross compiler prefix on the command line
and always build targeting Windows if set.
Correct some whitespace errors and long lines while at it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29531 a1c6a512-1295-4272-9138-f99709370657
2011-03-06 00:04:26 +00:00