Commit graph

27780 commits

Author SHA1 Message Date
Fred Bauer
e541c98a7e revert r28834 because it causes problems with uSD
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28925 a1c6a512-1295-4272-9138-f99709370657
2010-12-29 16:07:15 +00:00
Michael Sevakis
7f31e38ac1 interrupt_level should've been volatile as well when I changed this file. Obtuseness FTW.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28924 a1c6a512-1295-4272-9138-f99709370657
2010-12-29 14:10:00 +00:00
Michael Sevakis
a24b140c0b Just a technical matter even though all is well anyway: struct blocker::thread should be volatile for > 1 core and the change should make no difference to anything for 1 core.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28923 a1c6a512-1295-4272-9138-f99709370657
2010-12-29 13:53:30 +00:00
Mustapha Senhaji
df3c3aeee9 manual: update stats plugin entry.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28922 a1c6a512-1295-4272-9138-f99709370657
2010-12-28 17:02:29 +00:00
Mustapha Senhaji
afd855b598 stats plugin: Add new things to count. Playlist and video files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28921 a1c6a512-1295-4272-9138-f99709370657
2010-12-28 14:42:30 +00:00
Mustapha Senhaji
c53069c41c Use the filetype_get_attr function just added, to replace a const to count for audio files.
(We have filetype attribute for it)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28920 a1c6a512-1295-4272-9138-f99709370657
2010-12-28 14:34:38 +00:00
Mustapha Senhaji
3e3684032e git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28919 a1c6a512-1295-4272-9138-f99709370657 2010-12-28 14:29:44 +00:00
Michael Sevakis
5ea9bf39b8 Comment about thread_id_entry missleading and wrong. Fix the dumb.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28918 a1c6a512-1295-4272-9138-f99709370657
2010-12-28 14:24:13 +00:00
Mustapha Senhaji
39b3c9a612 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28917 a1c6a512-1295-4272-9138-f99709370657 2010-12-28 14:18:37 +00:00
Michael Sevakis
4d39c9fb2e UISimulator: Need a 'while' not an 'if' in sim_enter_irq_handler. Add comments explaining things.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28916 a1c6a512-1295-4272-9138-f99709370657
2010-12-28 11:33:55 +00:00
Michael Stummvoll
1f06ca41e8 Added the symlinkinstall make target. See #11825
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28915 a1c6a512-1295-4272-9138-f99709370657
2010-12-28 10:30:46 +00:00
Thomas Martitz
3c43503283 Vastly increase speed of SDL screen updates for RGB565.
Flyspray: FS#11834 (with minor changes by me).
Author: Thomas Jarosch

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28914 a1c6a512-1295-4272-9138-f99709370657
2010-12-27 22:08:34 +00:00
Thomas Martitz
0bf1bd1d51 Redo r28026 so that all .S files get the __ASSEMBLER__ define.
Patch by Thomas Jarosch.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28913 a1c6a512-1295-4272-9138-f99709370657
2010-12-27 17:27:59 +00:00
Thomas Martitz
6cbacb1b3e Return interval in the SDL timer callback as it should happen in periodic timers.
If the SDL timer resolution was higher than 10ms it would have restarted the timer after 1ms, but it made no difference.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28912 a1c6a512-1295-4272-9138-f99709370657
2010-12-27 12:49:28 +00:00
Nils Wallménius
0ba13e45f0 Fix warning about using static vars in non static inline functions with gcc 4.5.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28911 a1c6a512-1295-4272-9138-f99709370657
2010-12-27 10:46:29 +00:00
Nils Wallménius
b8bf7cb5ed Move codfire inline asm into cpu specific file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28910 a1c6a512-1295-4272-9138-f99709370657
2010-12-27 10:22:39 +00:00
Michael Sevakis
7b4eb44395 Certain data accesses in the kernel should have volatile semantics to be correct and not rely on the whims of the compiler. Change queue clearing to simply catch read up to write rather than reset both to 0 to ensure sane results for queue_count and queue_empty with concurrency. Binsize may or may not increase a bit depending upon whether the output was as intended in all places; wrong stuff was already unlikely to cause any issue.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28909 a1c6a512-1295-4272-9138-f99709370657
2010-12-27 10:05:09 +00:00
Nils Wallménius
479414facc Fix profiling on coldfire with newer Gcc.
In switch_thread, make the call to profile_thread_stopped from an inline asm block to make sure the sp is pointing to the right place before storing the context. This apparently worked by luck with the old Gcc.
The workaround used for coldfire in the codeclib's __cyg_profile_func_enter does not work with newer gcc, however the workaround isn't needed for those so enable it only for coldfire gcc version < 4.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28908 a1c6a512-1295-4272-9138-f99709370657
2010-12-27 09:49:33 +00:00
Nils Wallménius
bf897793d7 Fix FS#11838. Escape special char that broke manual builds and generated incomplete output.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28907 a1c6a512-1295-4272-9138-f99709370657
2010-12-27 08:37:38 +00:00
Marcin Bukat
d008003285 change MPIO HD300 status in builds.pm
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28905 a1c6a512-1295-4272-9138-f99709370657
2010-12-26 22:31:42 +00:00
Bertrik Sikken
92b849d3bf Apply FS#11798 (Files in MicroSD card aren't being shown in File Browser or Database on Clip+) by Will Sowerbutts
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28903 a1c6a512-1295-4272-9138-f99709370657
2010-12-26 12:55:28 +00:00
Robert Menes
70dcb6aa05 Remove a line in the iPod video manual that refers to two
separate builds to download. The iPod video build has been
available as a unified build for some time now.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28902 a1c6a512-1295-4272-9138-f99709370657
2010-12-26 12:48:23 +00:00
Michael Sevakis
f387cdef21 Make mutexes a tiny bit leaner. There is no need for a separate locked semaphore since having an owning thread also indicates that it is locked. Rename member 'count' to 'recursion' since it counts reentry, not locks. Change presents no compatibility issues for plugins or codecs because the structure size goes down.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28901 a1c6a512-1295-4272-9138-f99709370657
2010-12-26 05:59:39 +00:00
Alexander Levin
1d460b603f disktidy: Fix deleting of directories specified by a pattern (FS#11827)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28900 a1c6a512-1295-4272-9138-f99709370657
2010-12-25 22:22:50 +00:00
Andree Buschmann
992f897440 Make sim build compilable under Cygwin. Fixes FS#11832.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28899 a1c6a512-1295-4272-9138-f99709370657
2010-12-25 22:17:02 +00:00
Alexander Levin
5c48232e45 disktidy: add a debug message if a file cannot be deleted
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28898 a1c6a512-1295-4272-9138-f99709370657
2010-12-25 21:54:24 +00:00
Alexander Levin
a0516f036f disktidy: fix the situation where specifying that a dir should be deleted could lead to removing a file with that name
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28897 a1c6a512-1295-4272-9138-f99709370657
2010-12-25 21:38:42 +00:00
Alexander Levin
de317d46dc disktidy: add a comment to the function
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28896 a1c6a512-1295-4272-9138-f99709370657
2010-12-25 21:31:54 +00:00
Alexander Levin
82daaae455 Disktidy: introduce a local variable to avoid repeated use of the indexed expression
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28895 a1c6a512-1295-4272-9138-f99709370657
2010-12-25 21:11:40 +00:00
Alexander Levin
fb7c0df483 Extract config file saving code to a function; Do not write the NUL character to the text config file
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28894 a1c6a512-1295-4272-9138-f99709370657
2010-12-25 21:01:07 +00:00
Alexander Levin
a69d2c1de7 Minor fixes in the disktidy description in the manual
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28893 a1c6a512-1295-4272-9138-f99709370657
2010-12-25 20:32:36 +00:00
Thomas Martitz
6a9a8197b3 Add stdio.h include for SEEK_SET define to various files.
Patch by Thomas Jarosch.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28892 a1c6a512-1295-4272-9138-f99709370657
2010-12-25 18:43:34 +00:00
Michael Sevakis
c332bba905 mc13783 RTC: Handle years in a better way for the use of struct tm. Make the code less general because all years evenly divisible by 4 in the day range are leap years.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28891 a1c6a512-1295-4272-9138-f99709370657
2010-12-24 17:06:35 +00:00
Jonathan Gordon
78a11cf648 Fix FS#11829 - %?xx<....> Crashes on targets where the %xx feature tag isnt avilable. rather hacky fix though better than crashing.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28890 a1c6a512-1295-4272-9138-f99709370657
2010-12-24 07:58:26 +00:00
Mustapha Senhaji
99732ca57b Adjust a string translation in french, no more pure tag viewer since a while now. That's more a track information viewer.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28889 a1c6a512-1295-4272-9138-f99709370657
2010-12-24 04:26:17 +00:00
Mustapha Senhaji
fda95a164b Fix yellow, english.lang string was deprecated.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28888 a1c6a512-1295-4272-9138-f99709370657
2010-12-24 03:53:08 +00:00
Mustapha Senhaji
8a2583da93 Update translations reusing the translation of the previously deprecated string.
Translators, please check if adjustements isn't needed!


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28887 a1c6a512-1295-4272-9138-f99709370657
2010-12-24 03:44:00 +00:00
Mustapha Senhaji
5e1e05f616 Add "file size" to the track information screen of WPS.
Reuse "LANG_FILE_SIZE" from recording settings, with now a unified "LANG_FILESIZE" string. 


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28886 a1c6a512-1295-4272-9138-f99709370657
2010-12-24 03:31:40 +00:00
Alexander Levin
aac5916954 Add the new default dir to clean to the manual
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28885 a1c6a512-1295-4272-9138-f99709370657
2010-12-23 19:09:44 +00:00
Thomas Martitz
87c8be4a08 RaaA: Improve tagcache search to make the database built.
First, it add the ability to tagcache to walk through multiple search roots.
Second, it adds symlinks targets to the search roots if they're are not inside any of the current search roots, otherwise the symlink is ignored (unless it's a file).

The default search root is still /, so no search root will be actually added.
But the tagcache now isn't trapped by recursive symlinks anymore and successfully builds, and it's prepared for a future music directory setting.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28884 a1c6a512-1295-4272-9138-f99709370657
2010-12-23 19:02:18 +00:00
Dominik Riebeling
e1b1183f40 Tweak Makefiles a bit to allow cross compiling Rockbox Utility.
- pass AR to the lib Makefiles to make sure the correct one gets used.
- create an archive index for archives.
- simplify ucl Makefile a bit.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28883 a1c6a512-1295-4272-9138-f99709370657
2010-12-23 18:59:58 +00:00
Dominik Riebeling
7f6c271bad Set APPVERSION for libmkamsboot and libmkmpioboot.
This avoids an ugly "file not found" error for version.sh when building with
deploy.py since the latter doesn't retrieve version.sh. Doing so would be
pointless since the export doesn't know about the version, and the svn version
string isn't used when building with Rockbox Utility.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28882 a1c6a512-1295-4272-9138-f99709370657
2010-12-23 18:59:41 +00:00
Alexander Levin
c3d230ba0e Fix a typo in comment
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28881 a1c6a512-1295-4272-9138-f99709370657
2010-12-23 18:02:04 +00:00
Michael Sevakis
6e4e5ea757 SPC Codec: Was broken on ARMv6 since EABI switch and somehow I failed to notice in the first place (and so did eveyone else it seems :). Some early-clobber constraints were needed on inline assemebly operands. In some places, they aren't necessary where they were used, so remove those.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28880 a1c6a512-1295-4272-9138-f99709370657
2010-12-23 07:36:21 +00:00
Robert Menes
d9e5c4159a Disktidy plugin: add .Spotlight-V100 directories
(created by Mac OS X) to the list of default files
and directories to be cleaned.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28879 a1c6a512-1295-4272-9138-f99709370657
2010-12-23 02:33:51 +00:00
Thomas Martitz
a341646f2d Fix yellow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28878 a1c6a512-1295-4272-9138-f99709370657
2010-12-22 16:05:22 +00:00
Thomas Martitz
9afb55ad95 Redo raising the priority of the codec (and voice) thread to fix audio dropouts under heavy UI load, such as during kinetic scrolling or pictureflow.
Now it'll raise the priority gradually when under 70% and gradually decrease again in the same way.
Previously it raised gradually when under 17% (way too late) and went straight back to default priority above 17% again.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28877 a1c6a512-1295-4272-9138-f99709370657
2010-12-22 16:03:15 +00:00
Nils Wallménius
fcb9ea4002 parse_testcodec.rb: add new 'pegase' filenames so they get a heading and fix printing of the MHz needed for realtime values.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28876 a1c6a512-1295-4272-9138-f99709370657
2010-12-22 13:27:55 +00:00
Michael Sevakis
9b4522bace MPEGPlayer: Some UI tweaking and bugfixing
* Allow skip-to-beginning in single-play mode; there is no 3-second delay in that case.
* Properly handle and keep track of pauses caused by headphone removal.
* Improve skipping over bad files - search in skip direction and allow it to be ended with the stop key.
* Add the system message processing done elsewhere to all button queue waits.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28875 a1c6a512-1295-4272-9138-f99709370657
2010-12-22 11:20:07 +00:00
Frank Gevaerts
303aefc406 Make usb_detect() return USB_UNPOWERED instead of USB_EXTRACTED. Without that, not all needed disconnect handling is done in usb.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28874 a1c6a512-1295-4272-9138-f99709370657
2010-12-21 17:24:00 +00:00