Commit graph

9889 commits

Author SHA1 Message Date
Thomas Martitz
4ae7415503 Fix insert/queue next, last and replace to update the last insert position too,
giving well defined behavior and useful interaction with insert,
and making things like insert next followed by many inserts work.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20247 a1c6a512-1295-4272-9138-f99709370657
2009-03-08 19:03:53 +00:00
Frank Gevaerts
1a09bf2f9b Make the USB disconnect feature dependent on HAVE_USB_POWER. This may not
be that useful, but (a) it fixes compile errors on ZVM, and (b) if you don't
have USB power, why leave the device plugged in anyway? (a.k.a. fix red)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20246 a1c6a512-1295-4272-9138-f99709370657
2009-03-08 19:00:21 +00:00
Frank Gevaerts
871db6f5d9 Allow the user to leave MSC mode by pressing the USB POWER button (the one that's used to go to usb power mode on plugin) when the host OS hasn't locked the device.
This only works for devices that expose a removable device, so for now the gigabeat S is out of luck.
(slightly modified from FS#9993)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20244 a1c6a512-1295-4272-9138-f99709370657
2009-03-08 18:45:19 +00:00
Bertrik Sikken
30a2713b6e Clean up some more #includes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20243 a1c6a512-1295-4272-9138-f99709370657
2009-03-08 18:37:32 +00:00
Jens Arnold
9eeead922a Optimize hline, fillrect and mono bitmap drawing for chunky displays (16 bit colour and greylib). Speeds up text rendering by 20..45% on colour coldfire, by 30..50% on colour ARM, and is noticeable in archos pictureflow.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20242 a1c6a512-1295-4272-9138-f99709370657
2009-03-08 17:22:17 +00:00
Thomas Martitz
87d1744e91 Fix playlist "Insert" a bit.
If insert was used to create a new playlist (e.g. inserting without audio playing), the insert position wasn't updated. Thus, the playlist created was in reversed order (except for the first song).
This was the reason "Insert last" was actually used as Insert in this case. BUT, this one doesn't update the insert position eiterh, but the order of the songs is fine, at least (due to appending).
Now, insert always updates the insert position properly, so that the aforementioned bugs are fixed. Insert is always used now.
Other impact: If you create a playlist using insert, every subsequent insert will append songs at the end of the playlist,if you start playback pressing select on songs, every subsequent insert will insert after the current track.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20241 a1c6a512-1295-4272-9138-f99709370657
2009-03-08 17:18:18 +00:00
Bertrik Sikken
66cf3a3329 Clean up some #includes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20238 a1c6a512-1295-4272-9138-f99709370657
2009-03-08 16:10:40 +00:00
Magnus Holmgren
30f3855078 Fix FS#9980: Bookmarking didn't work in the root of a volume (e.g., an SD card).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20236 a1c6a512-1295-4272-9138-f99709370657
2009-03-08 13:57:10 +00:00
Magnus Holmgren
f4515c3082 Add setjmp/longjmp for ARM and ColdFire to the codec lib, and use it in the Vorbis codec to better handle out of memory conditions (to exit rather than crash; the AAC codec could use it too). setjmp/longjmp comes from newlib 1.17.0 with a few minor changes (combine parts of some files, remove support for some architectures, change some ifdef's).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20235 a1c6a512-1295-4272-9138-f99709370657
2009-03-08 12:48:58 +00:00
Jens Arnold
3f69bb2b1d Bugfix: Text styles are not drawmodes, so stop storing them in the vieport's drawmode field. They're only used locally anyway.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20234 a1c6a512-1295-4272-9138-f99709370657
2009-03-08 12:42:33 +00:00
Alexander Levin
03dcedbbea Changed the comment to more accurately reflect how it works
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20233 a1c6a512-1295-4272-9138-f99709370657
2009-03-08 11:32:02 +00:00
Jens Arnold
87a22b2930 Revert the static'ing, as it causes crashes/freezes. Needs investigation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20229 a1c6a512-1295-4272-9138-f99709370657
2009-03-07 13:22:28 +00:00
Jens Arnold
c99446dd89 Made all local functions static, saving ~500 bytes of binsize on coldfire and SH1, and ~150 bytes on ARM. * Removed an unused static inline function.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20228 a1c6a512-1295-4272-9138-f99709370657
2009-03-07 13:00:09 +00:00
Jens Arnold
9a6d91940c Mono targets: Make sure the splash screen uses white on black and the logo doesn't look inverted.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20224 a1c6a512-1295-4272-9138-f99709370657
2009-03-07 01:22:49 +00:00
Jens Arnold
5e313256b2 Performance tweaks for SH1. No changes for coldfire and ARM, apart from changing a bunch of signed shifts to unsigned shifts.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20223 a1c6a512-1295-4272-9138-f99709370657
2009-03-07 00:16:27 +00:00
Thomas Martitz
2b6e4adbd2 Fix FS#9977 - Thanks to Brian Sutherland for intensive testing and effort
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20214 a1c6a512-1295-4272-9138-f99709370657
2009-03-06 15:21:58 +00:00
Andrew Mahone
6f030a01c9 add the needed plugin API exports for pictureflow to hwcodec, use the audio buffer if plugin buffer is too small, build on any target with bitmap + tagcache
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20213 a1c6a512-1295-4272-9138-f99709370657
2009-03-06 01:08:02 +00:00
Andrew Mahone
cc5689c153 pictureflow: use correct priority to free slides when extending cache on right, catch and handle failure to find a slide to free
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20212 a1c6a512-1295-4272-9138-f99709370657
2009-03-06 00:38:50 +00:00
Jens Arnold
0c69a83253 Remove no longer used stuff.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20206 a1c6a512-1295-4272-9138-f99709370657
2009-03-05 07:40:10 +00:00
Jens Arnold
f82c944912 Use a static pattern rule to restrict the dependency on [pluginname].o to single-file plugins. This allows the pattern rule for %.rock (with all dependencies defined elsewhere) to pick up multi-file plugins with no [pluginname].o file, and get rid of the duplication in (doom|midi|reversi).make.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20205 a1c6a512-1295-4272-9138-f99709370657
2009-03-04 23:41:58 +00:00
Andrew Mahone
d8b6a950c6 FS#9919 pictureflow cache rework, footprint reduction, buflib use
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20203 a1c6a512-1295-4272-9138-f99709370657
2009-03-04 21:23:49 +00:00
Andrew Mahone
b727de604d FS#9916 buflib plugin memory allocator
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20202 a1c6a512-1295-4272-9138-f99709370657
2009-03-04 21:11:12 +00:00
Bertrik Sikken
e54c1cc9a2 Revert r20200, it was incorrect. The feature 'serial_port' refers to serial ports that can be configured. Possibly the feature should be renamed instead.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20201 a1c6a512-1295-4272-9138-f99709370657
2009-03-04 21:01:14 +00:00
Bertrik Sikken
5322258061 Make the 'serial_port' feature depend on HAVE_SERIAL instead of IPOD_ACCESSORY_PROTOCOL
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20200 a1c6a512-1295-4272-9138-f99709370657
2009-03-04 19:44:58 +00:00
Bertrik Sikken
4f87abf90a Cosmetic fix: remove duplicate semicolons
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20198 a1c6a512-1295-4272-9138-f99709370657
2009-03-04 18:15:06 +00:00
Jens Arnold
23e28f2b0c Overlooked one place where the 'archive created' warning needs to be suppressed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20197 a1c6a512-1295-4272-9138-f99709370657
2009-03-04 07:38:42 +00:00
Tom Ross
273c035f80 FS #9978: Walon.lang update by Stéphane Quertinmont
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20196 a1c6a512-1295-4272-9138-f99709370657
2009-03-03 20:21:38 +00:00
Alessio Lenzi
527b2dd270 Updated italian translation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20192 a1c6a512-1295-4272-9138-f99709370657
2009-03-03 10:33:26 +00:00
Jens Arnold
f42b93480e Bring back -fdata-sections that got lost in the make system overhaul (r19146).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20191 a1c6a512-1295-4272-9138-f99709370657
2009-03-03 08:28:50 +00:00
Tom Ross
dcf751e86d FS #9974: Update Walon.lang by Stéphane Quertinmont.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20190 a1c6a512-1295-4272-9138-f99709370657
2009-03-03 05:39:48 +00:00
Tom Ross
8a1f2cef0f Add missing user fields aka fix yellow.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20189 a1c6a512-1295-4272-9138-f99709370657
2009-03-03 02:33:29 +00:00
Tom Ross
104fb378ec More GSoC related work. Have genlang parse the user field of the lang files. For now, all user strings are core. In the future more users will be added. Add missing user fields to a few phrases in some languages. Genlang will also warn if a phrase is missing the user field or it is unknown. The output format is unchanged.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20187 a1c6a512-1295-4272-9138-f99709370657
2009-03-03 01:38:26 +00:00
Alexander Levin
831e390657 Improve grammar and key map in reversi (FS#9960 and FS#9961)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20179 a1c6a512-1295-4272-9138-f99709370657
2009-03-02 20:32:33 +00:00
Mustapha Senhaji
1c64486f34 Update the french translation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20178 a1c6a512-1295-4272-9138-f99709370657
2009-03-02 19:53:32 +00:00
Thomas Martitz
fd14cac7c2 Split HAVE_SCROLLWHEEL into HAVE_SCROLLWHEEL and HAVE_WHEEL_ACCELERATION, where the latter now activates the wheel acceleration code.
HAVE_SCROLLWHEEL plainly indicates the existence of a scrollwheel, thus all ipods define it now (in addition to the ones and some 
sansas which did before). Same applies to the manual.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20177 a1c6a512-1295-4272-9138-f99709370657
2009-03-02 19:25:50 +00:00
Maurus Cuelenaere
09f012a64f Only enable LANG_ENABLE_SPEAKER if HAVE_SPEAKER is defined
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20176 a1c6a512-1295-4272-9138-f99709370657
2009-03-02 18:40:11 +00:00
Maurus Cuelenaere
6c252a6751 Onda VX747:
* Add speaker en-/disable driver
  * Add apps/ setting to en-/disable the speaker


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20174 a1c6a512-1295-4272-9138-f99709370657
2009-03-02 18:18:24 +00:00
Jens Arnold
6436b39d4c Fix some slight inconsistencies.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20172 a1c6a512-1295-4272-9138-f99709370657
2009-03-02 08:16:36 +00:00
Tom Ross
4fb5864a6c Move generated lang-related files to their own directory in preparation of localizable plugins.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20170 a1c6a512-1295-4272-9138-f99709370657
2009-03-02 06:13:18 +00:00
Tom Ross
aaf3f5fd01 Another small change from my GSoC work: get rid of some old printf code in language.c and replace it with DEBUGF.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20168 a1c6a512-1295-4272-9138-f99709370657
2009-03-02 04:48:53 +00:00
Tom Ross
c645752314 Fix some memset calls that use the wrong order for arguments.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20165 a1c6a512-1295-4272-9138-f99709370657
2009-03-02 01:40:41 +00:00
Jens Arnold
c21e2e686f Calculate the optimal memory location for overlay plugins, and use plugin.lds for linking them. This gets rid of hand-adjusted archos.lds, making it easy to use overlay plugins on other lowmem targets. * Fix some duplicate and incorrect dependencies. * Change the way libs are filtered, so that a lib can be specified more than once. This allows to get rid of explicitly linking gcc-support.o, fixing empty plugins on some simulator platforms.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20163 a1c6a512-1295-4272-9138-f99709370657
2009-03-02 00:16:44 +00:00
Jens Arnold
90666941f2 Fix rockboy on the recorders.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20160 a1c6a512-1295-4272-9138-f99709370657
2009-03-01 23:52:23 +00:00
Michael Giacomelli
912b24f078 Make tremor check for very long ogg tags and truncate them if they're larger then 10000 characters rather then seg faulting. Fixes FS#9866.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20156 a1c6a512-1295-4272-9138-f99709370657
2009-03-01 21:36:13 +00:00
Thomas Martitz
d13f1a485f Commit FS#8314. This adds strnat[case]cmp written by Martin Pool, which respects numbers within strings, and gives a more intuitive
sorting. This also adds a setting, so that the sorting can be used in the file browser. The implementation is very generic, and can possibly 
be used in other places.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20155 a1c6a512-1295-4272-9138-f99709370657
2009-03-01 17:55:59 +00:00
Alexander Levin
a4837027c5 Make clock menu capitalizing consistent (FS#9939). There is an ongoing
discussion about using sentence case (FS#9948) but for now consistence 
is better.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20153 a1c6a512-1295-4272-9138-f99709370657
2009-03-01 10:39:02 +00:00
Jens Arnold
6421f94c0d Silence warning from 'ar' if the archive had to be created.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20151 a1c6a512-1295-4272-9138-f99709370657
2009-03-01 09:04:15 +00:00
Antonius Hellmann
76be948199 Correct comment and log message for failed AlbumArt bitmap loading.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20150 a1c6a512-1295-4272-9138-f99709370657
2009-03-01 07:46:08 +00:00
Antonius Hellmann
5355f34c55 Bugfix: If AlbumArt bitmap loading fails, dont try loading it over and over again, but simply ignore AlbumArt in this case.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20149 a1c6a512-1295-4272-9138-f99709370657
2009-03-01 07:39:57 +00:00
Thomas Martitz
6a67539780 Remove some unused code. bufopen for TYPE_ID3 can only return ERR_BUFFER_FULL (or a valid id of course) and no other error anyway.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20143 a1c6a512-1295-4272-9138-f99709370657
2009-02-28 20:08:30 +00:00