Commit graph

67 commits

Author SHA1 Message Date
Dominik Wenger
7feb639938 rbutil: add a option to ignore specific files for .talk file generation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22478 a1c6a512-1295-4272-9138-f99709370657
2009-08-23 18:57:50 +00:00
Dominik Wenger
139127217a rbutil: fix festival tts handling.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22477 a1c6a512-1295-4272-9138-f99709370657
2009-08-23 18:02:44 +00:00
Dominik Wenger
da358058cb rbutil: use target-id from rockbox-info.txt and remove it from rbutil.ini
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22463 a1c6a512-1295-4272-9138-f99709370657
2009-08-22 14:05:20 +00:00
Maurus Cuelenaere
11826e9040 Rockbox Utility: make chinachippatch translateable + update Dutch translation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22450 a1c6a512-1295-4272-9138-f99709370657
2009-08-21 15:46:15 +00:00
Maurus Cuelenaere
e8c71aa40c Rockbox Utility: add preliminary support for installing the bootloader (+ dual boot) on ChinaChip targets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22356 a1c6a512-1295-4272-9138-f99709370657
2009-08-16 20:39:00 +00:00
Dominik Riebeling
76100783af Improve notification about unsupported players.
- Display the name of a detected unsupported player when running autodetection from the configuration window.
- Extend the list of known-unsupported players.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22334 a1c6a512-1295-4272-9138-f99709370657
2009-08-15 21:29:31 +00:00
Dominik Riebeling
de247bfd91 Remove resolution from system configuration as it isn't used anymore.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22331 a1c6a512-1295-4272-9138-f99709370657
2009-08-15 19:04:45 +00:00
Dominik Wenger
cb55d5c65f rbutil: move extern "C" declaration into mkamsboot.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22319 a1c6a512-1295-4272-9138-f99709370657
2009-08-15 14:09:05 +00:00
Dominik Wenger
a66dfa4ab7 rbutil: add ams sansa targets. (FS#10185)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22317 a1c6a512-1295-4272-9138-f99709370657
2009-08-15 13:04:21 +00:00
Dominik Riebeling
e9d81ba089 Fix Rockbox Utility build on W32.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22260 a1c6a512-1295-4272-9138-f99709370657
2009-08-11 20:40:02 +00:00
Dominik Riebeling
6cea3308d0 Clean up accessing system setting values for a specific player.
Remove the ugly "save, change and restore platform" accesses and extend the settings class to allow accessing player specific system values.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22254 a1c6a512-1295-4272-9138-f99709370657
2009-08-11 17:02:35 +00:00
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
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 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
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
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
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
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
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
Dominik Riebeling
132176e120 RFC2616 requires requests made to proxies to use the absoluteURI form while HTTP/1.1 clients shall only create it when sending a request to a proxy. Fixes proxy support not working correctly (most noticably on theme installation).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20992 a1c6a512-1295-4272-9138-f99709370657
2009-05-19 22:46:57 +00:00
Bertrik Sikken
a7970d32e8 rbutil: fix spelling, enginge -> engine
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20895 a1c6a512-1295-4272-9138-f99709370657
2009-05-09 19:07:01 +00:00
Dominik Wenger
9ca29354e1 rbutil: enforce parents for bootloader install classes. and rework OF handling a bit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20892 a1c6a512-1295-4272-9138-f99709370657
2009-05-09 18:17:05 +00:00
Dominik Wenger
33d9cf091a rbutil: make RbSettings a static class. (FS#10183 with improvements)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20890 a1c6a512-1295-4272-9138-f99709370657
2009-05-09 16:59:14 +00:00
Dominik Riebeling
d5f7dab230 Cleanup and un-gui ZipInstaller class:
- Use signals for updating the progress logger from  ZipInstaller class.
- Move ZipInstaller class to base folder as it doesn't rely on QtGui anymore.
- cleanup debugging output a bit.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20845 a1c6a512-1295-4272-9138-f99709370657
2009-05-02 18:50:31 +00:00
Dominik Riebeling
7cfdd47587 Clean up ProgressLogger state handling:
- use better names for member functions
- don't emit aborted() when exiting a successful log


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20844 a1c6a512-1295-4272-9138-f99709370657
2009-05-02 18:40:04 +00:00
Dominik Riebeling
b22516f995 Make sure the global buffers for ipodpatcher and sansapatcher get allocated and freed only once. Fixes segfaults when the bootloader install class was instanciated multiple times.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20835 a1c6a512-1295-4272-9138-f99709370657
2009-05-01 21:35:06 +00:00
Dominik Wenger
3c15e78349 rbutil: correct use of parent ptr in constructor.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20833 a1c6a512-1295-4272-9138-f99709370657
2009-04-30 19:52:34 +00:00
Dominik Riebeling
f679cf91cf Bootloader installation for ipod and sansa: override the scanning with the device pointed to by the mountpoint. This allows selecting the correct player if two of the same brand are connected (FS#10096).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20832 a1c6a512-1295-4272-9138-f99709370657
2009-04-30 19:14:24 +00:00
Dominik Riebeling
19c2588471 Move Settings class to base.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20827 a1c6a512-1295-4272-9138-f99709370657
2009-04-29 21:36:05 +00:00
Dominik Wenger
357d35c20e rbutil: move the tts and encoders and its settings interface to base/
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20825 a1c6a512-1295-4272-9138-f99709370657
2009-04-29 21:29:35 +00:00
Dominik Wenger
5b85ef6006 rbutil: completely rework how tts and encoders are configured. (FS#10070)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20824 a1c6a512-1295-4272-9138-f99709370657
2009-04-29 21:27:01 +00:00
Dominik Riebeling
3d2e42ab4c Completely rework RbSettings class.
- use a single member function for accessing a settings value.
- use an enum to figure the correct value in the settings file instead of functions.
- return the settings value as QVariant instead and leave converting to the caller.
- accept QVariant as value when setting values.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20823 a1c6a512-1295-4272-9138-f99709370657
2009-04-29 20:58:47 +00:00
Dominik Riebeling
a357c202a2 Fix missing include.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20816 a1c6a512-1295-4272-9138-f99709370657
2009-04-27 21:20:09 +00:00
Dominik Riebeling
b388200519 Simplify a debug output case and fix a gcc warning (as reported in FS#10124, only appears on new gcc versions).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20725 a1c6a512-1295-4272-9138-f99709370657
2009-04-17 22:09:39 +00:00
Dominik Riebeling
e82aedd451 Fix overflow on free space calculation (Linux / OS X).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20717 a1c6a512-1295-4272-9138-f99709370657
2009-04-16 20:56:52 +00:00
Dominik Riebeling
bfce7eea5c Refactor USB ID map retrieval from device settings file and minimize duplicated code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20716 a1c6a512-1295-4272-9138-f99709370657
2009-04-16 20:49:43 +00:00
Dominik Riebeling
9def6b2345 Fix a potentially dangerous bug with bootloader installation for Sansas:
check the downloaded bootloader file against the target reported by sansapatcher as otherwise one could install an e200 bootloader to a c200 (and vice versa).


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20630 a1c6a512-1295-4272-9138-f99709370657
2009-04-05 19:19:27 +00:00
Dominik Riebeling
a61e63cb41 Fix a wrong debug message.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20620 a1c6a512-1295-4272-9138-f99709370657
2009-04-05 09:22:22 +00:00
Dominik Riebeling
76e2ce3a44 Code police and remove trailing whitespaces.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20590 a1c6a512-1295-4272-9138-f99709370657
2009-03-30 22:05:21 +00:00
Dominik Wenger
75a5b9321b rbutil:
1. Make Themesite integration work again
2. Fix FS#10055 (Theme sizes are 0) and FS#10061 (Incorrect Target missmatch detected)
3. Rename platform and voicename in rbutil.ini to reflect better what they are. (modelnames from either configure or the buildserver)
4. Fix a few places where they were used incorrectly

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20558 a1c6a512-1295-4272-9138-f99709370657
2009-03-27 18:09:01 +00:00
Dominik Riebeling
ba830e4cfe Don't connect the headerFinished slot during each get. Fixes the header result getting evaluated more than once if a HttpGet object is reused.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20447 a1c6a512-1295-4272-9138-f99709370657
2009-03-22 08:50:55 +00:00
Dominik Riebeling
6a76ebbab1 Cleanup HttpGet debugging output: make it somewhat more silent and streamline the messages in general.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20438 a1c6a512-1295-4272-9138-f99709370657
2009-03-21 23:18:57 +00:00
Dominik Riebeling
e8f25d91e8 Don't ignore errors when finishing a HTTP request for cached request as that is already done. Fixes a wrong status reported when an error occured.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20435 a1c6a512-1295-4272-9138-f99709370657
2009-03-21 21:04:24 +00:00