Commit graph

797 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
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
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
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
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
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
Dave Chapman
1eca02d863 Add support (on Linux and win32 only - I couldn't figure this out on OS X) for reading the XML device information from ipods. This information includes the RAM size, which is potentially useful for rbutil to distinguish between the two ipod video builds. This is implemented as both a new --dump-xml option (to dump the entire XML to a file) and a new 'ramsize' field in struct ipod_t.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22165 a1c6a512-1295-4272-9138-f99709370657
2009-08-04 20:32:30 +00:00
Dave Chapman
71f0814e52 Make ipodpatcher compile on *BSD and recent Linux distributions - htole16/htole32 are standard BSD functions, and they now also appear in glibc 2.9 or later on Linux. As the functions are so simple, we just rename to avoid a clash instead of attempting to use the library versions on some platforms. Same as fix provided in FS#10428 by Alyssa Milburn.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22164 a1c6a512-1295-4272-9138-f99709370657
2009-08-04 20:03:17 +00:00
Rafaël Carré
b5f9f6152b mkamsboot: remove runtime copyright notice
add a cast to remove a warning in printf()

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21925 a1c6a512-1295-4272-9138-f99709370657
2009-07-17 17:51:01 +00:00
Dominik Riebeling
844b2147ee FS#10439: Português Brasileiro Translation for Rockbox Utility by Adilson Xavier.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21902 a1c6a512-1295-4272-9138-f99709370657
2009-07-16 08:32:56 +00:00
Dave Chapman
34213c388b Small tweaks to r21778/r21779 - use -p for both mkdir and cp commands in dmg creation rule
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21793 a1c6a512-1295-4272-9138-f99709370657
2009-07-11 22:50:22 +00:00
Rafaël Carré
b9bcadf19c e200rpatcher: new e200rpatcher.dmg creation rule for OSX
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21779 a1c6a512-1295-4272-9138-f99709370657
2009-07-11 15:23:56 +00:00
Rafaël Carré
06cd53bc40 sansapatcher: new sansapatcher.dmg creation rule for OSX
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21778 a1c6a512-1295-4272-9138-f99709370657
2009-07-11 14:46:09 +00:00
Frank Gevaerts
99edc7b075 Also bump version in trunk
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21747 a1c6a512-1295-4272-9138-f99709370657
2009-07-10 16:52:02 +00:00
Frank Gevaerts
1b752474a6 fix bin2c.c path
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21670 a1c6a512-1295-4272-9138-f99709370657
2009-07-05 18:45:12 +00:00
Thomas Martitz
ff2f839c39 Change to versioning for mkamsboot to <rXXXXX>-<DATE> for svn builds. A fixed number like 1.1 can (and should) be used for releases.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21652 a1c6a512-1295-4272-9138-f99709370657
2009-07-05 10:35:47 +00:00
Rafaël Carré
ef7ad19d37 mkamsboot: change version string to 1.1, move devices list in the header
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21650 a1c6a512-1295-4272-9138-f99709370657
2009-07-05 08:25:44 +00:00
Thomas Martitz
f9eeab2b6c Slightly rewrite some parts of mkamsboot for better output and some sanity in the early array declarations. No functional change.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21648 a1c6a512-1295-4272-9138-f99709370657
2009-07-05 02:30:33 +00:00
Dominik Riebeling
5de08ea834 When changing TTS settings from the talkfile dialog make sure to not reset the currently selected folder if its valid. Fixes FS#10409.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21637 a1c6a512-1295-4272-9138-f99709370657
2009-07-04 18:00:13 +00:00
Dominik Wenger
13d0b526c3 rbutil: move ProgressloggerInterface to base/
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21531 a1c6a512-1295-4272-9138-f99709370657
2009-06-27 15:21:42 +00:00
Dominik Wenger
b6143b053f rbutil: make the test TTS Function use aplay or play on Linux.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21530 a1c6a512-1295-4272-9138-f99709370657
2009-06-27 15:04:53 +00:00
Dominik Wenger
07a55a747d rbutil: add a Button to test a TTS Engine. Remove a old .ui file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21525 a1c6a512-1295-4272-9138-f99709370657
2009-06-26 21:52:08 +00:00
Dominik Wenger
20bf8aaf18 rbutil: improve voice and talk generation.
- introduce a talkgenerator to better share code between voice and talk generation.
- name intermediate .talkfiles after the md5sum of the text. (prevents naming problems).
- do not directly use the logger, instead emit signals.
- move talkfile and voicefile generation to base/

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21524 a1c6a512-1295-4272-9138-f99709370657
2009-06-26 20:40:51 +00:00
Dave Chapman
28a2b4514f Add an explicit rule to compile bin2c - r21272 broke compilation of sansapatcher on at least Linux because Make's implicit rule for compiling bin2c was being used, which uses CC, which was set to i586-mingw32msvc-gcc.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21476 a1c6a512-1295-4272-9138-f99709370657
2009-06-22 23:06:56 +00:00
Dominik Riebeling
01363eca7d Update japanese translation for Rockbox Utility (FS#10349 by Yoshihisa Uchida).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21363 a1c6a512-1295-4272-9138-f99709370657
2009-06-20 07:52:08 +00:00
Dominik Riebeling
efb9343bc6 Initial script to automate rbutil release builds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21339 a1c6a512-1295-4272-9138-f99709370657
2009-06-18 22:17:17 +00:00
Dominik Riebeling
bc1fd05dc1 Bump Rockbox Utility version number.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21319 a1c6a512-1295-4272-9138-f99709370657
2009-06-17 19:42:06 +00:00
Dominik Riebeling
f2a8dd3ce5 Clean up several debug messages.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21314 a1c6a512-1295-4272-9138-f99709370657
2009-06-16 18:45:20 +00:00
Dominik Riebeling
c038ab4710 Set the maximum first when updating the progresslogger progress bar as otherwise the new value will get dropped if outside of the valid range. Fixes the progress showing 0% after downloading the manual.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21302 a1c6a512-1295-4272-9138-f99709370657
2009-06-15 20:37:55 +00:00
Dominik Riebeling
9c19e39a40 Fix default filename for manual downloads.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21301 a1c6a512-1295-4272-9138-f99709370657
2009-06-15 20:10:32 +00:00
Dominik Wenger
18e74c9d81 rbutil: improve accessibility a little bit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21300 a1c6a512-1295-4272-9138-f99709370657
2009-06-15 19:41:16 +00:00
Dominik Wenger
b386406707 rbutil: fix voice download for some targets. (again naming issues)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21298 a1c6a512-1295-4272-9138-f99709370657
2009-06-15 19:18:13 +00:00
Dominik Riebeling
7533dcb6eb Fix manual download using the wrong filename if the manual name differs from the target name.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21296 a1c6a512-1295-4272-9138-f99709370657
2009-06-15 19:06:03 +00:00
Dominik Riebeling
73f9bde908 Make bin2c compile with VS2005 and move it to a separate folder as its getting used by different tools now.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21272 a1c6a512-1295-4272-9138-f99709370657
2009-06-13 14:15:50 +00:00
Maurus Cuelenaere
cb08ef2420 Update Dutch RBUtility translation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21240 a1c6a512-1295-4272-9138-f99709370657
2009-06-09 22:14:31 +00:00
Dominik Riebeling
86b39ccd90 Update rbutil translations:
- japanese by Yoshihisa Uchida (FS#10302)
- german by myself
- lupdate all other languages and drop obsolete messages.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21239 a1c6a512-1295-4272-9138-f99709370657
2009-06-09 21:59:43 +00:00
Dominik Riebeling
11cd9e4464 Set svn:eol-style on several files missing it and dos2unix them.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21238 a1c6a512-1295-4272-9138-f99709370657
2009-06-09 21:49:34 +00:00
Dominik Riebeling
86041b1d33 Make labels in generated TTS / Encoder setting dialogs translatable.
Code police: break some long lines, remove trailing spaces.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21237 a1c6a512-1295-4272-9138-f99709370657
2009-06-09 21:46:05 +00:00
Maurus Cuelenaere
72e7b99f78 Update Dutch translation of RBUtility
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21226 a1c6a512-1295-4272-9138-f99709370657
2009-06-08 19:59:06 +00:00
Dominik Riebeling
41b8ffc9d1 Add Lithuanian to rbutil voice language options.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21215 a1c6a512-1295-4272-9138-f99709370657
2009-06-08 10:38:03 +00:00
Dominik Riebeling
7f17fce424 Clean up configuration dialog debug output.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21201 a1c6a512-1295-4272-9138-f99709370657
2009-06-07 10:17:03 +00:00
Dominik Riebeling
fe72c890a7 Show Qt version number in Sysinfo dialog and in startup debug output.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21194 a1c6a512-1295-4272-9138-f99709370657
2009-06-05 21:49:53 +00:00
Rafaël Carré
8bb5e430e5 mkamsboot: refuse to patch an untested OF, and provide a list of tested OF versions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21189 a1c6a512-1295-4272-9138-f99709370657
2009-06-04 16:31:11 +00:00
Nils Wallménius
4746cde685 Add usb ids for third and fourth gen nanos to the list of unsupported targets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21156 a1c6a512-1295-4272-9138-f99709370657
2009-06-01 15:41:23 +00:00