Commit graph

13167 commits

Author SHA1 Message Date
Linus Nielsen Feltzing
7c4b786851 Some quick and dirty MIDI player optimizations, now it works on the X5 and M5 too
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13108 a1c6a512-1295-4272-9138-f99709370657
2007-04-11 10:48:50 +00:00
Jonathan Gordon
08e633c25c Hide the list title if only one line would fit under it
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13107 a1c6a512-1295-4272-9138-f99709370657
2007-04-11 10:34:44 +00:00
Dan Everton
fc47f14242 Move iPod Video hardware equalizer init to audio_init() after the hardware is enabled. Should fix the issue where the hardware equalizer settings would not be reapplied after a restart.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13106 a1c6a512-1295-4272-9138-f99709370657
2007-04-11 09:13:13 +00:00
Jonathan Gordon
b368f4158a /me fail english? thats unpossible
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13105 a1c6a512-1295-4272-9138-f99709370657
2007-04-11 05:40:43 +00:00
Jonathan Gordon
42c46dad58 Fix the comment, read_bmp_file() returns >=0 for success, not 0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13104 a1c6a512-1295-4272-9138-f99709370657
2007-04-11 05:35:58 +00:00
Karl Kurbjun
60fed9aeb6 Gigabeat: Pin initialization for the USB and ATA interface. This also adds proper coldstart detection for the ATA interface.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13103 a1c6a512-1295-4272-9138-f99709370657
2007-04-11 05:30:15 +00:00
Peter D'Hoye
f8f05860a2 wav viewer plugin changes: speedup file reading, allow abort while reading, better keyhandling, small helpscreen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13102 a1c6a512-1295-4272-9138-f99709370657
2007-04-10 22:02:58 +00:00
Dominik Riebeling
a3f1e9f3cb Oops. Shouldn't forget the default handler.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13101 a1c6a512-1295-4272-9138-f99709370657
2007-04-10 21:40:44 +00:00
Dominik Riebeling
339d812062 make the runtime view nicer.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13100 a1c6a512-1295-4272-9138-f99709370657
2007-04-10 20:56:15 +00:00
Dominik Riebeling
851ffe5528 Ooops. Forgot to add Philippe Latulippe to the credits file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13099 a1c6a512-1295-4272-9138-f99709370657
2007-04-10 20:02:30 +00:00
Dominik Riebeling
f177af4271 Document the RTC wps tags. FS#6986 by Philippe Latulippe.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13098 a1c6a512-1295-4272-9138-f99709370657
2007-04-10 17:38:40 +00:00
Michael Sevakis
7d677d953f Add .mpeg extension to viewers.cfg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13097 a1c6a512-1295-4272-9138-f99709370657
2007-04-10 16:08:38 +00:00
Nicolas Pennequin
5cac46164a Use valid_time() instead of using individual checks which amount to the same thing, and add RTC tokens beginning and end values that are used to check if a token is an RTC one.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13096 a1c6a512-1295-4272-9138-f99709370657
2007-04-10 15:27:52 +00:00
Michael Sevakis
69588c3934 mpegplayer: do a little post commit cleanup.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13095 a1c6a512-1295-4272-9138-f99709370657
2007-04-10 15:22:17 +00:00
Michael Sevakis
6689cb0f9b mpegplayer: Get A-V synchronized. Improve frame sync and dropping logic and take advantage of decoder's ability to assist. Straighten out some threading problems. Clean it up a bit. Added some plugin API functions and decided it was a good time to do a good sorting on them so your next update from this build should be a full replacement.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13094 a1c6a512-1295-4272-9138-f99709370657
2007-04-10 14:18:30 +00:00
Nicolas Pennequin
536c5d9e74 RTC tags for the WPS: Accept FS#6998 and FS#7001 by Alexander Levin with changes by me. CUSTOM WPS FILES NEED TO BE UPDATED !
The RTC tags are now atomic, i.e. instead of using one tag with the format (e.g. %cd m yc), we use several separate tags, one for each value (e.g. %cd %cm %cy).
Also, %cP produces an uppercase AM/PM indicator and %cp a lowercase one, which is the opposite from what they did before.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13093 a1c6a512-1295-4272-9138-f99709370657
2007-04-10 13:37:08 +00:00
Michael Sevakis
af7780e0b3 More complete sized integer definitions.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13092 a1c6a512-1295-4272-9138-f99709370657
2007-04-10 09:43:06 +00:00
Barry Wardell
13c111aaec Remove unused code (already moved to target tree).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13091 a1c6a512-1295-4272-9138-f99709370657
2007-04-10 01:22:52 +00:00
Nicolas Pennequin
ad07c23a83 Accept FS#7004 by Michal Jevjak: Fix new sublines not being displayed after scrolling lines. This bug was introduced in the previous WPS commit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13090 a1c6a512-1295-4272-9138-f99709370657
2007-04-10 01:14:04 +00:00
Peter D'Hoye
81e0c9ce80 Better endianness handling, removed some leftovers
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13089 a1c6a512-1295-4272-9138-f99709370657
2007-04-09 23:04:43 +00:00
Peter D'Hoye
3e6ec54716 Fix yellow from 64bit platform sim
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13088 a1c6a512-1295-4272-9138-f99709370657
2007-04-09 22:41:01 +00:00
Peter D'Hoye
09877aa4a8 New plugin: wavview. Shows info about a wav file and allows you to look at the complete waveform, zoom and pan. Only tested in sims and on h3x0. First version so has room for improvements.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13087 a1c6a512-1295-4272-9138-f99709370657
2007-04-09 22:23:25 +00:00
Jens Arnold
d2a23eee50 Player: Fix screen update in Rockbox Info and Runtime display,
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13086 a1c6a512-1295-4272-9138-f99709370657
2007-04-09 22:08:28 +00:00
Daniel Stenberg
7c385642ad updated to modern times
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13085 a1c6a512-1295-4272-9138-f99709370657
2007-04-09 21:07:12 +00:00
Jens Arnold
87ac614ccd Enable rockboy for M5.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13084 a1c6a512-1295-4272-9138-f99709370657
2007-04-09 17:47:32 +00:00
Jens Arnold
61e798ff27 Oscilloscope: Make orientation switching usable on X5, M5 and H10.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13083 a1c6a512-1295-4272-9138-f99709370657
2007-04-09 17:03:48 +00:00
Magnus Holmgren
9a535274b8 Revert change 13001, since it causes the metadata to be re-read for partially buffered files. This breaks ID3V2 parsing, which expects the mp3entry struct to be zeroed. A better fix for the old tag data problem is needed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13082 a1c6a512-1295-4272-9138-f99709370657
2007-04-09 14:50:22 +00:00
Nicolas Pennequin
cda89411b0 Accept FS#7000 by Dave Hooper: Fix scrolling line behaviour for dynamic tags (e.g. when a line with info about the next track didn't scroll) and fix some incorrect refreshing flags.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13081 a1c6a512-1295-4272-9138-f99709370657
2007-04-09 14:06:38 +00:00
Jens Arnold
5764ff571a Fix yellow player build. Sims have no charging...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13080 a1c6a512-1295-4272-9138-f99709370657
2007-04-09 13:54:38 +00:00
Jens Arnold
178c565beb Stop/shutdown logic rework in browsers and menus. Recorder V1: Double-Off shutdown is now possible from menus and sub-browsers as well. Player, other targets which are always powered during charging: Attempted shutdown from menu with charger plugged now displays the charging splash.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13079 a1c6a512-1295-4272-9138-f99709370657
2007-04-09 13:39:37 +00:00
Miika Pekkarinen
dcb4aa242b FS#6997 DB/tree Cleanup - remove unused field "currextra2".
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13078 a1c6a512-1295-4272-9138-f99709370657
2007-04-09 10:30:11 +00:00
Karl Kurbjun
84789c6f6d RTC alarm for Gigabeat. Will be useful one the OF bootloader is no longer required.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13077 a1c6a512-1295-4272-9138-f99709370657
2007-04-09 06:27:35 +00:00
Robert Kukla
5b7d21f092 sims have no MAS, hence no mas_codec_readreg()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13076 a1c6a512-1295-4272-9138-f99709370657
2007-04-08 16:19:28 +00:00
Robert Kukla
357a4182a7 FS#6604 - Starfield Pulses To Music
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13075 a1c6a512-1295-4272-9138-f99709370657
2007-04-08 15:10:51 +00:00
Nicolas Pennequin
9ce77aa554 Skip leading UTF8 BOM if present. Fixes the first line of the WPS not being understood as a comment when it is one.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13074 a1c6a512-1295-4272-9138-f99709370657
2007-04-08 15:02:26 +00:00
Nicolas Pennequin
fd19b8dba4 * Improve conditional evaluation to allow using enums with only two cases (problem reported by roolku). This happens to simplify the code.
* Rename get_tag() to get_token_value() and make it get a token pointer instead of the index of a token. This also simplifies the code a bit.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13073 a1c6a512-1295-4272-9138-f99709370657
2007-04-08 14:00:00 +00:00
Marianne Arnold
d2688c860d Refinements to the M5's manual plugin chapter: 1) add the proper bounce screenshot with clock in the background, 2) change main.tex so that pacbox and sudoku are also included.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13072 a1c6a512-1295-4272-9138-f99709370657
2007-04-08 13:43:42 +00:00
Jens Arnold
349345db39 Enabled pacbox for M5.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13071 a1c6a512-1295-4272-9138-f99709370657
2007-04-08 13:34:48 +00:00
Dan Everton
1322ae02f9 FS #6759: Support tan function in calculator plugin. Patch by Luke Blaney.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13070 a1c6a512-1295-4272-9138-f99709370657
2007-04-08 11:22:12 +00:00
Jonathan Gordon
9e95e306cd fix yellow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13069 a1c6a512-1295-4272-9138-f99709370657
2007-04-08 06:15:34 +00:00
Jonathan Gordon
21b415df56 Give all menus using the old API a nice title and icons (except plugins)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13068 a1c6a512-1295-4272-9138-f99709370657
2007-04-08 05:52:47 +00:00
Jonathan Gordon
1e0ae1be63 Remove dead code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13067 a1c6a512-1295-4272-9138-f99709370657
2007-04-08 05:30:03 +00:00
Nicolas Pennequin
ef5cfb4e58 Oops, this shouldn't have been removed (fix red).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13066 a1c6a512-1295-4272-9138-f99709370657
2007-04-08 04:12:55 +00:00
Nicolas Pennequin
07696c10b1 FS#6991. Patch by Alexander Levin, modified by me:
* Reorganisation of the WPS data structure with line and subline structs. This allows us to use sublines more sparingly, so it should save some memory. Also it removes the need for the "End Of Line" token. Overall, the data structure and the code are simplified and gain in clarity.
* Some code improvements and added comments.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13065 a1c6a512-1295-4272-9138-f99709370657
2007-04-08 04:01:06 +00:00
Jonathan Gordon
fad3ad6894 fix FS#6883 — Follow playlist override where the WPS leaves you when a playlist ends
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13064 a1c6a512-1295-4272-9138-f99709370657
2007-04-08 02:11:33 +00:00
Jonathan Gordon
981f6c9aee action_signalscreenchange(); was missing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13063 a1c6a512-1295-4272-9138-f99709370657
2007-04-08 02:08:54 +00:00
Jonathan Gordon
a053e58894 minor actions cleanup:
- CONTEXT_MAINMENU is not actually needed, use CONTEXT_TREE which does the same actions
- (gigabeat) use vol+/- in the lists to control volume (every list!) (FS#6982 in a better way)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13062 a1c6a512-1295-4272-9138-f99709370657
2007-04-08 01:33:01 +00:00
Dominik Riebeling
eef96946e1 WPS tags: The player doesn't have peak meters. Fix a glitch in \nopt which introduced a stray protected space.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13061 a1c6a512-1295-4272-9138-f99709370657
2007-04-07 22:48:11 +00:00
Miika Pekkarinen
7b1e827f0c Dircache fixes: Stop scanning properly if shutdown is initiated. Require user to re-enable dircache if initialization fails. Don't create statefile unless eeprom settings have been initialized.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13060 a1c6a512-1295-4272-9138-f99709370657
2007-04-07 17:48:51 +00:00
Jens Arnold
8e6e25c353 Fix NULL pointer access (crashes the sim on windows) in directories with no displayed entries.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13059 a1c6a512-1295-4272-9138-f99709370657
2007-04-07 15:31:22 +00:00