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
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
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
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 Martitz
6538326ef2
Android: Fix black display after unzipping libmisc.so.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29527 a1c6a512-1295-4272-9138-f99709370657
2011-03-05 20:47:49 +00:00
Thomas Martitz
edea12b21e
Add viewport clipping to lcd_alpha_bitmap_part as lcd_mono_bitmap_part also has.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29526 a1c6a512-1295-4272-9138-f99709370657
2011-03-05 20:09:41 +00:00
Thomas Martitz
222e1ad845
Add lcd_alpha_bitmap_part suitable for vertical stride 16bit lcd.
...
Possibly not the fastest solution but it will do.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29525 a1c6a512-1295-4272-9138-f99709370657
2011-03-05 19:57:56 +00:00
Thomas Martitz
9edd6d4ee9
Anti-Aliased Fonts support.
...
This enables Rockbox to render anti-aliased fonts using an alpha blending method.
The input font bitmaps are 4bit, i.e. 4x larger, but the metadata size stays the same.
A tool, convttf, for converting ttf fonts directly to the Rockbox fnt format is provided.
It has a useful help output, but the parameter that works best is -c1 or -c2 (2 for larger font sizes).
Flyspray: FS#8961
Author: Initial work by Jonas Hurrelmann, further work by Fred Bauer, Andrew Mahone, Teruaki Kawashima and myself.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29523 a1c6a512-1295-4272-9138-f99709370657
2011-03-05 18:36:51 +00:00
Thomas Martitz
cc889e9d60
Change the thread api a bit.
...
* Remove THREAD_ID_CURRENT macro in favor of a thread_self() function, this allows thread functions to be simpler.
* thread_self_entry() shortcut for kernel.c.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29521 a1c6a512-1295-4272-9138-f99709370657
2011-03-05 17:48:06 +00:00
Thomas Jarosch
cc54487bdd
Add rockbox copyright header with proper credits for kugel
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29517 a1c6a512-1295-4272-9138-f99709370657
2011-03-05 15:38:10 +00:00
Thomas Jarosch
af43d08003
Add svn:keywords to firmware/target/hosted source files
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29516 a1c6a512-1295-4272-9138-f99709370657
2011-03-05 15:31:52 +00:00
Andree Buschmann
57bf8058e5
Fix FS#11973. iPod nano1G needed reboot after entering record mode to have audio again.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29513 a1c6a512-1295-4272-9138-f99709370657
2011-03-03 20:53:30 +00:00
Frank Gevaerts
5664d8412d
Fix compilation issues for sdl when HAVE_BUTTON_DATA is not defined
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29511 a1c6a512-1295-4272-9138-f99709370657
2011-03-03 17:37:08 +00:00
Thomas Jarosch
f96c254b76
Fix red in bootloader
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29508 a1c6a512-1295-4272-9138-f99709370657
2011-03-03 00:33:58 +00:00
Thomas Jarosch
84926583cf
Fix bookmark creation on sleep timer. Fixes FS#11493
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29507 a1c6a512-1295-4272-9138-f99709370657
2011-03-03 00:25:03 +00:00
Thomas Jarosch
f9f89cf5cb
RaaA: Fix write locations of plugins
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29506 a1c6a512-1295-4272-9138-f99709370657
2011-03-02 23:43:54 +00:00
Thomas Jarosch
a25153be6b
Remove redundant function prototype
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29505 a1c6a512-1295-4272-9138-f99709370657
2011-03-02 20:21:17 +00:00
Thomas Jarosch
b00c8caf2a
Fix red on Archos Recorder
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29504 a1c6a512-1295-4272-9138-f99709370657
2011-03-02 20:15:51 +00:00
Thomas Jarosch
281efd7180
Fix red
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29502 a1c6a512-1295-4272-9138-f99709370657
2011-03-02 19:43:12 +00:00
Thomas Jarosch
15a358099c
Introduce "power" thread for RaaA
...
I tried to move the #ifdefs and the code
in firmware/powermgmt.c around and it was still
a big mess for hosted applications (RaaA/sim builds).
Create our own "power" thread as recently discussed on IRC.
Fixes the sleep timer for RaaA.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29501 a1c6a512-1295-4272-9138-f99709370657
2011-03-02 19:12:55 +00:00
Jonathan Gordon
a43fb47ed6
Enable hotkey on all the touchscreen targets
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29497 a1c6a512-1295-4272-9138-f99709370657
2011-03-02 10:45:41 +00:00
Michael Sevakis
74b7b3f1b0
Fix pretty colors from r29492 - PP5002 need sems too.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29493 a1c6a512-1295-4272-9138-f99709370657
2011-03-02 09:07:30 +00:00
Michael Sevakis
12375d1d3a
Merge functionality of wakeups and semaphores-- fewer APIs and object types. semaphore_wait takes a timeout now so codecs and plugins have to be made incompatible. Don't make semaphores for targets not using them.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29492 a1c6a512-1295-4272-9138-f99709370657
2011-03-02 08:49:38 +00:00
Thomas Jarosch
c9e00806d4
Fix red - 2nd try. Use same ifdef style as in firmware/drivers/pcf50606.c
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29487 a1c6a512-1295-4272-9138-f99709370657
2011-03-01 21:19:30 +00:00
Thomas Jarosch
ef99e33bc5
Fix red
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29486 a1c6a512-1295-4272-9138-f99709370657
2011-03-01 21:06:46 +00:00
Thomas Jarosch
acd8bffb95
Expose sys_poweroff() and cancel_shutdown() to RaaA. Hopefully fixes android build
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29485 a1c6a512-1295-4272-9138-f99709370657
2011-03-01 20:31:20 +00:00
Marcin Bukat
735ea2fd1f
Move drivers/i2c.c into target tree as it contains SH specific bits. Leave associated header file intact as it is used in many places for historical reasons.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29480 a1c6a512-1295-4272-9138-f99709370657
2011-03-01 09:13:48 +00:00
Marcin Bukat
fec3193f8a
Move ata_mmc.c into target tree as it is SH (ondio) specific. Associated header file is left intact as it seems to be used in many places for historical reasons
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29478 a1c6a512-1295-4272-9138-f99709370657
2011-03-01 07:53:46 +00:00
Andree Buschmann
55fab772b7
Switch off ATA DMA for all PP targets. There is sufficient evidence that ATA DMA causes sporadic lockups and static noise on several PP based players. This change is expected to fix FS#11746, FS#11764, FS#11775, FS#11846 and FS#11863.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29476 a1c6a512-1295-4272-9138-f99709370657
2011-03-01 07:05:18 +00:00
Michael Sparmann
7a7c8f071d
iPod Classic: Use DMA (and double buffering) for LCD updates
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29474 a1c6a512-1295-4272-9138-f99709370657
2011-03-01 01:52:12 +00:00
Michael Sparmann
24a6f93aa8
iPod Classic: Disable boosting, it seems to cause random lockups
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29473 a1c6a512-1295-4272-9138-f99709370657
2011-03-01 01:51:27 +00:00
Thomas Jarosch
3db9fd199f
Fix red
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29468 a1c6a512-1295-4272-9138-f99709370657
2011-02-28 23:14:18 +00:00
Thomas Jarosch
2647d11354
Move sleep timer code outside of PLATFORM_NATIVE ifdef so RaaA can access it
...
Also remove redundant RaaA stubs for it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29467 a1c6a512-1295-4272-9138-f99709370657
2011-02-28 23:05:00 +00:00
Michael Sparmann
3bcfd5c106
iPod Classic: Enable RGB LCD update assembler code
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29466 a1c6a512-1295-4272-9138-f99709370657
2011-02-28 18:30:19 +00:00
Michael Sparmann
06c1757138
iPod Classic: Fix YUV blitting. Mpegplayer works now.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29460 a1c6a512-1295-4272-9138-f99709370657
2011-02-28 11:54:28 +00:00
Jonathan Gordon
a7fb7366b5
brackets are important! fix the mouse being hidden in sims
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29458 a1c6a512-1295-4272-9138-f99709370657
2011-02-28 10:55:02 +00:00
Björn Stenberg
c01b91e758
Added dummy autoconf.h for fat test.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29457 a1c6a512-1295-4272-9138-f99709370657
2011-02-28 10:51:45 +00:00
Björn Stenberg
3a5eaa8fa9
Made the fat test code compile again.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29456 a1c6a512-1295-4272-9138-f99709370657
2011-02-28 10:48:58 +00:00
Thomas Martitz
d8f6c75ab9
Hopefully get shutdown/exit handling on SDL/maemo right.
...
Make shutdown_hw() not return as it's supposed to, ensure sim_do_exit() is called from main thread and move sim_kernel_shutdown() into it to simplify things.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29455 a1c6a512-1295-4272-9138-f99709370657
2011-02-28 03:24:48 +00:00
Thomas Jarosch
613a26d507
Pandora port: Exit rockbox by pressing the SELECT button
...
Might get remapped to another button later on, for example
if we map the START button to the main menu, then those two
buttons are too close together.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29453 a1c6a512-1295-4272-9138-f99709370657
2011-02-28 00:03:42 +00:00
Thomas Jarosch
389fa27e41
Fix typo in comment
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29452 a1c6a512-1295-4272-9138-f99709370657
2011-02-27 23:58:39 +00:00
Thomas Jarosch
6e9e6a7571
RaaA: Add initial Pandora support
...
More information: www.openpandora.org
Possible things to implement:
- Special button mappings
- Battery monitoring
- ALSA audio backend
- Automate creation of "pnd" (=binary) file
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29451 a1c6a512-1295-4272-9138-f99709370657
2011-02-27 23:42:37 +00:00
Michael Sparmann
87f7dcf38e
Fix misspelled define that was commented out anyway
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29450 a1c6a512-1295-4272-9138-f99709370657
2011-02-27 23:40:55 +00:00
Michael Sparmann
a5034bd244
Fix yellow
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29449 a1c6a512-1295-4272-9138-f99709370657
2011-02-27 23:22:09 +00:00
Michael Sparmann
30fb680a4d
iPod Classic CE-ATA Support (Part 4 of 4: S5L8702 ATA driver)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29448 a1c6a512-1295-4272-9138-f99709370657
2011-02-27 22:47:55 +00:00