Commit graph

24680 commits

Author SHA1 Message Date
Alexander Levin
9c3dc70af5 Add the guard where it should be used. The net effect is zero now but it might be not in the future if the definitions are changed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25669 a1c6a512-1295-4272-9138-f99709370657
2010-04-18 14:59:09 +00:00
Jeffrey Goode
c837243161 Revert r25665 - ipod keymap. More trouble than its worth
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25668 a1c6a512-1295-4272-9138-f99709370657
2010-04-18 13:22:43 +00:00
Michael Sevakis
2f02d62234 Fix red from r25666 (forgot to use macro to not use core variable on single core), update a comment and remove core check for setting THREAD_SWITCH upon wakeup which is irrelevant to the idea behind the change.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25667 a1c6a512-1295-4272-9138-f99709370657
2010-04-18 10:03:25 +00:00
Michael Sevakis
d6cd1bc58e Threads of PRIORITY_REALTIME and above are no longer subject to being switched away based upon aging of lower priority threads. Now, recommend a thread switch in wakeup_thread of any thread of higher priority is ready to run.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25666 a1c6a512-1295-4272-9138-f99709370657
2010-04-18 09:43:59 +00:00
Jeffrey Goode
1a10c75c03 Fix hotkey keymap on ipods
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25665 a1c6a512-1295-4272-9138-f99709370657
2010-04-17 18:07:33 +00:00
Alexander Levin
3ed8630870 Use a more natural guard for the callback definition
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25664 a1c6a512-1295-4272-9138-f99709370657
2010-04-17 14:22:06 +00:00
Jonathan Gordon
69710e54f1 fix escaped chars being displayed twice in the playlist viewer (i.e %> showing as >> )
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25663 a1c6a512-1295-4272-9138-f99709370657
2010-04-17 12:45:52 +00:00
Rafaël Carré
fdf8e2d1e4 mkamsboot: accept Clip+ OF v01.02.13
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25662 a1c6a512-1295-4272-9138-f99709370657
2010-04-17 12:17:01 +00:00
Jonathan Gordon
6c175effc5 drop the playlist viewer stack usage by reading straiught off the buffer instead of copying it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25661 a1c6a512-1295-4272-9138-f99709370657
2010-04-17 12:02:02 +00:00
Jonathan Gordon
bc18c89434 use strlcat() instead of snprintf in the playlist viewer, and fix it so it will show the whole playlist if it would fit in the viewport (instead of missing the last item)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25660 a1c6a512-1295-4272-9138-f99709370657
2010-04-17 11:41:01 +00:00
Thomas Martitz
c7815abb52 Cleanup thread_entry definition a bit. Reorder members so that related ones are next to each other and move a pretty hidden define into config.h.
Doesn't make a binsize difference (the comment says the order should be optimized for size).

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25659 a1c6a512-1295-4272-9138-f99709370657
2010-04-16 22:21:09 +00:00
Thomas Martitz
c31fdeffdc Convert macro to inline function and move it into .c file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25658 a1c6a512-1295-4272-9138-f99709370657
2010-04-16 22:11:40 +00:00
Thomas Martitz
d9af87c40b Use API call instead of accessing a global variable for receiving the current thread.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25657 a1c6a512-1295-4272-9138-f99709370657
2010-04-16 22:01:59 +00:00
Alexander Levin
da018391e0 Fix typo and correct punctuation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25656 a1c6a512-1295-4272-9138-f99709370657
2010-04-16 20:04:50 +00:00
Tobias Diedrich
0a3d50b88f workaround DBOP noise issue on C200v2 cause it's really annoying if your buttons don't work in the debug menu...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25655 a1c6a512-1295-4272-9138-f99709370657
2010-04-16 06:01:24 +00:00
Marianne Arnold
eee235f0b4 Correct word order in the 'puzzle mode' explanation in jewels.tex.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25654 a1c6a512-1295-4272-9138-f99709370657
2010-04-16 05:55:45 +00:00
Marianne Arnold
8a142fe9cb Minor corrections or updates to descriptions in the manual: 'study mode' is called 'skip length', and talk clips are not MP3 files on all targets anymore.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25653 a1c6a512-1295-4272-9138-f99709370657
2010-04-16 05:50:15 +00:00
Szymon Dziok
a09152b128 Packard Bell Vibe 500: Add a part of the manual (no plugin keymaps yet).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25652 a1c6a512-1295-4272-9138-f99709370657
2010-04-15 18:35:41 +00:00
Szymon Dziok
8f5af57a83 Packard Bell Vibe 500: Update the images for the manual.
Author: Marko Pahlke (perfectdrug).


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25651 a1c6a512-1295-4272-9138-f99709370657
2010-04-15 18:22:01 +00:00
Szymon Dziok
0082fa6acf Packard Bell Vibe 500: change a not so lucky keymap for the bookmark delete.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25650 a1c6a512-1295-4272-9138-f99709370657
2010-04-14 21:39:11 +00:00
Andree Buschmann
1248e9c6de More work on consistent usage of units in the manual. Use non-breaking spaces if applicable.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25649 a1c6a512-1295-4272-9138-f99709370657
2010-04-14 20:38:21 +00:00
Andree Buschmann
53cf63fbbc Consistent use of Hz, kHz, dB, dbFS, ms, s and min. Add spaces between number and unit -- e.g. '5 dB'.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25648 a1c6a512-1295-4272-9138-f99709370657
2010-04-14 19:44:07 +00:00
Jeffrey Goode
d5caa1b2e6 Empty folder cleanup
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25647 a1c6a512-1295-4272-9138-f99709370657
2010-04-14 14:52:51 +00:00
Torne Wuff
99cd7f8c19 Make builds with MAX_PHYS_SECTOR_SIZE defined (ipod video) work with larger sizes if the drive is sane.
The ipod video build has a MAX_PHYS_SECTOR_SIZE of 1024. This meant it would refuse to boot on drives with sectors larger than 1024 bytes, even if those drives don't actually require the workaround originally intended for the 80GB 5.5G's drive.

ata_init() will now, if the drive claims to have >512 byte sectors, try and read sector 1 to determine if the drive is capable of emulating 512-byte sector accesses. If this succeeds, we assume the drive is better at it than us (this is very likely to be true) and set phys_sector_mult to 1, disabling the workaround and ensuring the drive will work regardless of sector size.

Making use of this change requires that you build and install an updated bootloader as well as the main build; a new iPod bootloader will be released soon, so if you can't do this yourself, be patient.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25646 a1c6a512-1295-4272-9138-f99709370657
2010-04-14 14:40:03 +00:00
Yoshihisa Uchida
4157a31924 rvert r25644
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25645 a1c6a512-1295-4272-9138-f99709370657
2010-04-14 11:19:30 +00:00
Yoshihisa Uchida
2ca2684ede new text viewer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25644 a1c6a512-1295-4272-9138-f99709370657
2010-04-14 10:16:00 +00:00
Torne Wuff
0d24df8b95 FS#11199: ipod bootloader: reboot to disk mode on cable insert, following a fatal error
If the ipod bootloader dies with a fatal error it prompts you to press buttons to reset and enter disk mode. With this change it now also polls for USB/firewire insertion and if the cable is detected, it reboots to disk mode directly for you, avoiding user problems with rebooting correctly by hand.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25643 a1c6a512-1295-4272-9138-f99709370657
2010-04-13 22:17:42 +00:00
Rafaël Carré
bab1558900 s3c2440: fix a typo, 4|1 == 5, not 0x41
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25642 a1c6a512-1295-4272-9138-f99709370657
2010-04-13 22:01:17 +00:00
Torne Wuff
d48d3d467d Enable SW tone control on gigabeat S, since HW tone controls for its DAC are not implemented yet
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25641 a1c6a512-1295-4272-9138-f99709370657
2010-04-13 21:47:09 +00:00
Torne Wuff
17a4c0715d Fix minor mistake in tone control code: UDA1341 was added to the wrong part of the conditional (it has hw bass/treble but not prescaling, like the other wm codecs listed) and TSC2100 has no hw tone controls at all so is already covered by HAVE_SW_TONE_CONTROLS.
Comment has been clarified to make this less likely to happen again :)

Net effect: tone controls should no longer adjust the overall perceived volume in a weird way on mini2440.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25640 a1c6a512-1295-4272-9138-f99709370657
2010-04-13 20:37:04 +00:00
Rafaël Carré
8bc3dba6e6 Fuzev2: USB detection isn't reliable in fact
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25639 a1c6a512-1295-4272-9138-f99709370657
2010-04-13 20:00:43 +00:00
Rafaël Carré
5521717958 fuzev2: remove some delays from button driver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25638 a1c6a512-1295-4272-9138-f99709370657
2010-04-13 19:34:47 +00:00
Rafaël Carré
e6934b86fd Fuzev2: removed a useless GPIO op, add some whitespace
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25637 a1c6a512-1295-4272-9138-f99709370657
2010-04-13 19:26:06 +00:00
Rafaël Carré
482fefd928 Fuzev2: simplify button_read_device()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25636 a1c6a512-1295-4272-9138-f99709370657
2010-04-13 19:06:21 +00:00
Rafaël Carré
f830fa79e5 s5l870x / ipod nano2g: include common mmu-arm.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25635 a1c6a512-1295-4272-9138-f99709370657
2010-04-13 16:05:11 +00:00
Rafaël Carré
f6ae574ac6 s5l870x : use mmu-arm.S
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25634 a1c6a512-1295-4272-9138-f99709370657
2010-04-13 15:59:49 +00:00
Rafaël Carré
680fcd827d Move CACHEALIGN_BITS to cpu headers
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25633 a1c6a512-1295-4272-9138-f99709370657
2010-04-13 15:50:08 +00:00
Rafaël Carré
d0af7f9601 s3c2440/system-target.h : CRLF -> LF
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25632 a1c6a512-1295-4272-9138-f99709370657
2010-04-13 15:50:03 +00:00
Rafaël Carré
f9c7dc0859 mmu-armv6: comment out invalidate_dcache_range()
It is only used by gigabeat f/x, and is defined in mmu-arm.S already

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25631 a1c6a512-1295-4272-9138-f99709370657
2010-04-13 15:25:11 +00:00
Rafaël Carré
635de60ff3 mmu-arm.S: comment out dump_dcache_range()
It is only used by gigabeats, and is defined in mmu-armv6.S already

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25630 a1c6a512-1295-4272-9138-f99709370657
2010-04-13 15:22:01 +00:00
Rafaël Carré
96e97987d9 mmu-arm.S: disable MMU functions on CPUs which don't use them
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25629 a1c6a512-1295-4272-9138-f99709370657
2010-04-13 15:17:08 +00:00
Rafaël Carré
4205a508d7 mmu-arm.S: Use correct implementations on arm926ej-s CPUs
clean_dcache and invalidate_dcache were incorrect and too tied to the
arm920t/arm922t 64-way set associative caches

Make those functions smaller on as3525, as this CPU has a smaller cache
than the gigabeat F/X

Flyspray: FS#11106
Authors: Jack Halpin and myself

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25628 a1c6a512-1295-4272-9138-f99709370657
2010-04-13 15:04:55 +00:00
Rafaël Carré
2f97effab9 mmu-arm* : cpucache_invalidate() needs to be in IRAM for rolo
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25627 a1c6a512-1295-4272-9138-f99709370657
2010-04-13 14:29:37 +00:00
Rafaël Carré
208dc249e6 mmu-arm (v4/v5) : fix previous commit, clean/invalidate correctly the first segment in each loop
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25626 a1c6a512-1295-4272-9138-f99709370657
2010-04-13 14:15:37 +00:00
Rafaël Carré
a0e1e329f7 mmu-arm (v4/v5) : use one less instruction in invalidate_dcache/clean_dcache
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25625 a1c6a512-1295-4272-9138-f99709370657
2010-04-13 14:12:54 +00:00
Rafaël Carré
88148f39f6 mmu-s5l8700.S: correct a comment about segment position in index format
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25624 a1c6a512-1295-4272-9138-f99709370657
2010-04-13 14:05:59 +00:00
Rafaël Carré
a0d970b6a9 s5l8700 : remove some CRLF line endings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25623 a1c6a512-1295-4272-9138-f99709370657
2010-04-13 14:05:55 +00:00
Rafaël Carré
a24b27972c Clipv2 and Clip+ builds are still unusable
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25622 a1c6a512-1295-4272-9138-f99709370657
2010-04-13 13:52:03 +00:00
Amaury Pouly
f82a99863d rbutil: update french translation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25620 a1c6a512-1295-4272-9138-f99709370657
2010-04-13 12:18:23 +00:00
Amaury Pouly
0104539a5f Enforce the 80-char limit to make everyone happy.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25619 a1c6a512-1295-4272-9138-f99709370657
2010-04-13 10:07:02 +00:00