Commit graph

8518 commits

Author SHA1 Message Date
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
Michael Sparmann
59c5e791a1 iPod Classic CE-ATA Support (Part 3 of 4: Introduce STORAGE_NEEDS_ALIGN, which ensures that no unaligned storage accesses are performed through file.c)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29447 a1c6a512-1295-4272-9138-f99709370657
2011-02-27 22:47:33 +00:00
Michael Sparmann
1b5e31ed43 iPod Classic CE-ATA Support (Part 2 of 4: Remove on-stack sector buffers, and replace them with a single statically allocated sector buffer that's arbitrated amongst users)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29445 a1c6a512-1295-4272-9138-f99709370657
2011-02-27 22:44:54 +00:00
Michael Sparmann
751303c2ac iPod Classic CE-ATA Support (Part 1 of 4: Cacheline align some statically allocated sector buffers)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29444 a1c6a512-1295-4272-9138-f99709370657
2011-02-27 22:44:30 +00:00
Dave Chapman
128793fbbf Remove some unnecessary includes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29430 a1c6a512-1295-4272-9138-f99709370657
2011-02-27 18:58:29 +00:00
Thomas Jarosch
928aaf3cae Fix comment about LCD size
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29427 a1c6a512-1295-4272-9138-f99709370657
2011-02-27 16:16:04 +00:00
Dave Chapman
376c9f3ad0 FS#11966 - use separate modelnames and config files for RaaA. This adds an APPLICATION define that can be used in Makefiles, and target-name defines (-DSDLAPP, -DANDROID, -DNOKIAN8XX and -DNOKIAN900) for use elsewhere. LCD size is now hard-coded for the Nokia builds in their config files. A new --app parameter is passed to buildzip.pl to explicitly state that this is an application build - it was previously derived from the model name.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29418 a1c6a512-1295-4272-9138-f99709370657
2011-02-27 11:37:39 +00:00
Thomas Jarosch
70e48bf66d RaaA: Create full config directory tree during initialization
Also robustify against unset HOME environment var.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29397 a1c6a512-1295-4272-9138-f99709370657
2011-02-25 14:31:26 +00:00
Michael Sevakis
9f0bad0efe Byteswap routines don't really need 'asm volatile', just 'asm' since it should be safe to move them for optimizing. Clean up the line endings for ARM.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29394 a1c6a512-1295-4272-9138-f99709370657
2011-02-25 00:46:39 +00:00
Thomas Jarosch
e3a3e2c9c2 RaaA: Enable plugins for application builds
Use own plugins/SOURCES and plugins/SUBDIRS file to avoid
ifdef hell for disabled plugins without a keymap.

This finally brings the credits screen to RaaA.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29392 a1c6a512-1295-4272-9138-f99709370657
2011-02-24 23:35:16 +00:00
Michael Sevakis
00e5a9c088 Use thumb-compatible byte swap routines when building with -mthumb.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29391 a1c6a512-1295-4272-9138-f99709370657
2011-02-24 23:12:00 +00:00
Thomas Martitz
95e24dd7a5 Android:
* Re-create RockboxFramebuffer instance with every time there's a new Activity.
* Also, allow Rockbox to be started via multimedia buttons, immediately starting playback if wanted.

We don't need to keep the fb instance around when it backround, and it makes us less depending on it and the activity (less race conditions). And this is how you usually do it in Android apps.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29384 a1c6a512-1295-4272-9138-f99709370657
2011-02-23 01:10:54 +00:00
Michael Sevakis
da3417706d Gigabeat S: Smoother bootup. Don't do full drive reset at boot since it's not really a coldstart. Seems to work alright in both the bootloader and firmware.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29383 a1c6a512-1295-4272-9138-f99709370657
2011-02-23 00:34:56 +00:00
Michael Chicoine
f9b05adc91 Return valid tuner ID even when tuner is not detected properly. Fixes FS#11791
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29378 a1c6a512-1295-4272-9138-f99709370657
2011-02-22 13:58:06 +00:00
Michael Sparmann
a18e131282 Calibrate iPod Classic battery gauge a bit better
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29365 a1c6a512-1295-4272-9138-f99709370657
2011-02-20 22:58:45 +00:00
Thomas Martitz
144df92bfb Android: Rewrite lcd subsystem to use the SurfaceView API.
That enables drawing from outside the apps UI thread, i.e. from within the Rockbox native thread, without needing synchronization means, and adds determinism as to when the draw happens.
It simplifies the drawing routines and adds a convinient way of detecting whether drawing should happen or not (surfaceCreated/Destroyed).
It also restores max. fps on my phone which went down drastically with the gingerbread(CM7) update.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29333 a1c6a512-1295-4272-9138-f99709370657
2011-02-19 01:13:38 +00:00
Thomas Jarosch
e80bd1df2a N900: Prevent stuck up/down keys on systems with shared up/down cursor mapping
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29331 a1c6a512-1295-4272-9138-f99709370657
2011-02-19 00:32:05 +00:00
Thomas Martitz
70bb128ae9 Cleanup preprocessor around corelock usage and move its definition outside #ifdef ASSEMBLER_THREADS
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29330 a1c6a512-1295-4272-9138-f99709370657
2011-02-19 00:09:08 +00:00