Commit graph

21483 commits

Author SHA1 Message Date
Dominik Riebeling
e2f5086916 Clean up and rename Detect class.
Move check() function out of the Detect class and place it into utils.cpp for now. Rename Detect class to System, as it now only retrieves data about the underlying system and doesn't detect anything anymore. Cleans up with the confusion between Detect and Autodetection.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22238 a1c6a512-1295-4272-9138-f99709370657
2009-08-10 19:46:51 +00:00
Dominik Riebeling
84ced00bbd Simplify and cleanup rockbox-info.txt handling.
Simplify RockboxInfo file handling. Remove Detect::installedVersion() and Detect::installedTarget(), as those became wrappers around RockboxInfo without functionality.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22237 a1c6a512-1295-4272-9138-f99709370657
2009-08-10 19:20:53 +00:00
Dominik Riebeling
ad7dab615f Add missing multiple inclusion protection.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22236 a1c6a512-1295-4272-9138-f99709370657
2009-08-10 18:08:06 +00:00
Mohamed Tarek
519adfbaae Import libatrac from ffmpeg and modify librm to support ATRAC3.
The decoder is still in floating point.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22235 a1c6a512-1295-4272-9138-f99709370657
2009-08-10 14:46:31 +00:00
Jonathan Gordon
1c0aeb18ca r22135 overwrote mcuelenaere's changes in r22068 to add slider-type regions for the touchscreen... so bring them back (spotted by kkurbjun)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22234 a1c6a512-1295-4272-9138-f99709370657
2009-08-10 03:48:27 +00:00
Karl Kurbjun
e1a83b9e99 M:Robe 500: Get MPEGPlayer running at 320x240. Screen is zoomed so larger videos than 320x240 will only show center.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22233 a1c6a512-1295-4272-9138-f99709370657
2009-08-10 02:57:13 +00:00
Bertrik Sikken
9e0663c6fe FS#10496: remove function read_image_file_offset, it had a bug and is not used anyway.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22232 a1c6a512-1295-4272-9138-f99709370657
2009-08-09 22:20:14 +00:00
Dominik Riebeling
15ff26d3ba Add (untested) support for Samsung YH-820, YH-920 and YH-925. Based on FS#10373 with adjustments to match the recent changes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22231 a1c6a512-1295-4272-9138-f99709370657
2009-08-09 19:38:34 +00:00
Dominik Riebeling
a77b17cb33 Remove underscore from YH modelnames as discussed on IRC.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22229 a1c6a512-1295-4272-9138-f99709370657
2009-08-09 19:15:08 +00:00
Thomas Martitz
5e1b9cd4a6 Accept FS#9400 - "tools/configure more improvements" by Rosso Maltese.
This completes the command line capabilities of configure. You can now pass advanced build options (type=aXXX, where X are the shortcuts for the advanced options) as well as voice options. See configure --help.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22228 a1c6a512-1295-4272-9138-f99709370657
2009-08-09 19:02:22 +00:00
Thomas Martitz
a1b0e165cc Don't set the drawmode twice and simplify two cases in viewport_parse_viewport.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22227 a1c6a512-1295-4272-9138-f99709370657
2009-08-09 18:44:49 +00:00
Thomas Martitz
f909428321 Fix the yellows.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22225 a1c6a512-1295-4272-9138-f99709370657
2009-08-09 17:47:12 +00:00
Thomas Martitz
9f3fc27be4 Fix player and greyscale reds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22224 a1c6a512-1295-4272-9138-f99709370657
2009-08-09 17:39:39 +00:00
Jonathan Gordon
dc4e90341c r22135 overwrote mcuelenaere's changes in r22068 to add slider-type regions for the touchscreen... so bring them back (spotted by kkurbjun)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22223 a1c6a512-1295-4272-9138-f99709370657
2009-08-09 17:30:05 +00:00
Thomas Martitz
9bd7b23e99 Factor out WPS' %V parsing function into viewport.c, in preperation of customlist. No functional change.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22222 a1c6a512-1295-4272-9138-f99709370657
2009-08-09 16:16:55 +00:00
Bertrik Sikken
5aeaa84cab Samsung YP-S3: add beginning of a low-level NAND driver and update bootloader demo program to display the NAND ids.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22221 a1c6a512-1295-4272-9138-f99709370657
2009-08-09 16:12:36 +00:00
Dominik Riebeling
0b7bfb6270 Extend bootloader installation to accept alternatives for the destination filename.
Remove the hardcoded special case for the H10 bootloader installation and uninstallation. Allow multiple bootloader filenames to be present and pick the existing one on (un)installation. This is also needed for easily adding support for the Samsung YH players (to make FS#10373 actually work).

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22220 a1c6a512-1295-4272-9138-f99709370657
2009-08-09 10:57:39 +00:00
Dominik Riebeling
63ba647ee0 Clean up bootloader installation debug output a bit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22219 a1c6a512-1295-4272-9138-f99709370657
2009-08-09 10:57:33 +00:00
Karl Kurbjun
7aaa544f09 Fix ZVM
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22218 a1c6a512-1295-4272-9138-f99709370657
2009-08-09 05:30:16 +00:00
Karl Kurbjun
463d0664c8 M:Robe 500: Add missing files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22217 a1c6a512-1295-4272-9138-f99709370657
2009-08-09 05:26:25 +00:00
Karl Kurbjun
5a2e19db64 M:Robe 500: Start Building at 640x480 by default.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22216 a1c6a512-1295-4272-9138-f99709370657
2009-08-09 05:17:10 +00:00
Karl Kurbjun
729ff6f503 Rockboy: Cleanup red
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22215 a1c6a512-1295-4272-9138-f99709370657
2009-08-09 03:35:53 +00:00
Karl Kurbjun
4cded9c7b9 Rockboy: Significantly reduce the number of palette updates, add support for hardware palette mode, screen can now be rotated left or right.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22214 a1c6a512-1295-4272-9138-f99709370657
2009-08-09 03:20:55 +00:00
Boris Gjenero
7f971e0176 Fix FS#10476. Prevent FLAC bitrate calculation overflow with large files. The watermark depends on the bitrate, and so this also fixes playback pauses on large FLAC files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22211 a1c6a512-1295-4272-9138-f99709370657
2009-08-08 20:27:03 +00:00
Bertrik Sikken
978f3798a9 Apply FS#10447 - e200v2 lcd driver cleanup by Michael Chicoine
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22210 a1c6a512-1295-4272-9138-f99709370657
2009-08-08 14:37:42 +00:00
Teruaki Kawashima
367d8148a7 fix red: add a define accidentally removed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22209 a1c6a512-1295-4272-9138-f99709370657
2009-08-08 13:44:06 +00:00
Teruaki Kawashima
6e4c3b7ebe snake2: add standard start menu. use pluginlib highscore for highscores.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22208 a1c6a512-1295-4272-9138-f99709370657
2009-08-08 13:33:27 +00:00
Dominik Wenger
de460fe783 rbutil: try to fix voicefile creation for releases. (genlang.cgi still needs fixing).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22207 a1c6a512-1295-4272-9138-f99709370657
2009-08-08 13:06:01 +00:00
Teruaki Kawashima
dc993a62c9 snake:go back to menu when game is over. save highscores using pluginlib highscore.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22206 a1c6a512-1295-4272-9138-f99709370657
2009-08-08 12:50:26 +00:00
Dominik Riebeling
363cbc22b5 Support libusb-1.0.
Use "qmake -config libusb1" to use libusb-1.0 instead of libusb-0.1.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22205 a1c6a512-1295-4272-9138-f99709370657
2009-08-08 12:28:47 +00:00
Dominik Riebeling
bd5b744a6d Clean up some debug output, kill some trailing spaces and break some overly long lines.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22204 a1c6a512-1295-4272-9138-f99709370657
2009-08-08 12:12:49 +00:00
Bertrik Sikken
c8e39403f4 Samsung yp-s3: clean up the lcd and button driver (making things static, rename variables etc.)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22203 a1c6a512-1295-4272-9138-f99709370657
2009-08-08 09:24:42 +00:00
Nils Wallménius
236a0582c3 Remove old fixme, the 'working with playlists' seems to be in pretty good shape
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22202 a1c6a512-1295-4272-9138-f99709370657
2009-08-08 08:08:36 +00:00
Karl Kurbjun
4caf3b3aa0 M:Robe 500: Make yes/no screen work better and add appropriate strings for some screens. Rockboy: Improve m:robe 500 default keymap.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22201 a1c6a512-1295-4272-9138-f99709370657
2009-08-08 07:21:37 +00:00
Dominik Riebeling
89e5333bc1 Move download link pattern description to rbutil.ini.
Don't hard code the creation of the download links anymore but use pattern replacement and define the basic structure in rbutil.ini.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22200 a1c6a512-1295-4272-9138-f99709370657
2009-08-08 00:02:33 +00:00
Dominik Riebeling
059255705b Fix SCSI inquiry on W32.
W32 returns additional bytes containing garbage on pages returning the maximum amount (i.e. 255) of bytes. Ignoring those bytes makes the output being correct. Someone needs to find out why those additional bytes are indicated at all.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22199 a1c6a512-1295-4272-9138-f99709370657
2009-08-07 22:58:20 +00:00
Dominik Riebeling
8b77ce2d61 Fix rbutil build on w32.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22197 a1c6a512-1295-4272-9138-f99709370657
2009-08-07 22:19:59 +00:00
Thomas Martitz
703773aab5 Samsung YH925: Battery calibration for charging and dischharging.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22195 a1c6a512-1295-4272-9138-f99709370657
2009-08-07 13:32:48 +00:00
Thomas Martitz
0f50302b1d Samsung YH925: Support for battery monitoring and charging. Discharge curve not yet calibrated.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22194 a1c6a512-1295-4272-9138-f99709370657
2009-08-07 13:32:35 +00:00
Thomas Martitz
6e5448da22 Quick, fix red, before the new build system shows it!
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22193 a1c6a512-1295-4272-9138-f99709370657
2009-08-07 00:59:22 +00:00
Thomas Martitz
40b09205fc Change a few defines to enums to match the other code around and argument bits #defines for settings_load to make clear it's bitwise.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22192 a1c6a512-1295-4272-9138-f99709370657
2009-08-07 00:56:39 +00:00
Nils Wallménius
c80f6dad30 Fix out of bounds accesses in keybox and matrix
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22191 a1c6a512-1295-4272-9138-f99709370657
2009-08-06 19:02:59 +00:00
Nils Wallménius
2cab311635 Fix crash in the database utility, turns out passing too few arguments for stat() isn't the best idea :)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22190 a1c6a512-1295-4272-9138-f99709370657
2009-08-06 18:28:38 +00:00
Teruaki Kawashima
dbce22dc68 use set_option instead of menu api for some settings of plugins to make it clear it's a setting.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22189 a1c6a512-1295-4272-9138-f99709370657
2009-08-06 14:01:47 +00:00
Teruaki Kawashima
357f1f454c small fixes for mazezam.
* enable repeating direction key for the targets using PLA.
* clear the check point after user clear the last level.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22188 a1c6a512-1295-4272-9138-f99709370657
2009-08-06 13:21:08 +00:00
Teruaki Kawashima
c4dc61a2a6 a bit of code polish for rockpaint and disktidy.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22187 a1c6a512-1295-4272-9138-f99709370657
2009-08-06 12:44:12 +00:00
Teruaki Kawashima
c3aec89bec fix for r22171 for pacbox. make "Quit" item quit the plugin again.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22186 a1c6a512-1295-4272-9138-f99709370657
2009-08-06 11:20:55 +00:00
Bertrik Sikken
a26ea3f67a Revert static-ing of iim_prod_rev, this function is never used so it causes a compiler warning.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22185 a1c6a512-1295-4272-9138-f99709370657
2009-08-06 09:44:09 +00:00
Bertrik Sikken
d767883a41 Various files: make functions static if they're local or make sure there is a proper #include if not
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22184 a1c6a512-1295-4272-9138-f99709370657
2009-08-06 09:28:25 +00:00
Bertrik Sikken
0307cd16a0 Remove some unused #includes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22183 a1c6a512-1295-4272-9138-f99709370657
2009-08-06 08:20:06 +00:00