Commit graph

121 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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 Wenger
f6ba4cbe0d rbutil: show logger windows earlier in bootloader install, to catch all errors.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20894 a1c6a512-1295-4272-9138-f99709370657
2009-05-09 18:49:49 +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
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
4e747f1c5c If downloading the build information didn't work don't try to populate the version information.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20817 a1c6a512-1295-4272-9138-f99709370657
2009-04-27 21:33:51 +00:00
Dominik Riebeling
270106d151 Rename ThemeInstall class files to actually match the class name.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20594 a1c6a512-1295-4272-9138-f99709370657
2009-03-31 19:50:43 +00:00
Dominik Wenger
d1af8f879a rbutil: correct another instance of incorrect modelname.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20569 a1c6a512-1295-4272-9138-f99709370657
2009-03-29 18:23:47 +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
a5394727a0 Simplify platform name retrieval call.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20431 a1c6a512-1295-4272-9138-f99709370657
2009-03-21 17:28:27 +00:00
Dominik Riebeling
3822126de8 Use target string instead of target id when checking the target selection against an existing Rockbox installation. Removes the need to resolve id -> name.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20325 a1c6a512-1295-4272-9138-f99709370657
2009-03-14 23:34:40 +00:00
Dominik Riebeling
b9d8ae49d9 The credits file is utf-8 but QTextStream defaults to the system locale codec. Explicitly use utf-8 when reading the credits. Fixes names containing non-ASCII characters getting displayed wrong.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20245 a1c6a512-1295-4272-9138-f99709370657
2009-03-08 18:53:32 +00:00
Dominik Riebeling
a4cd1d9dab Fix automated install using the wrong release information.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20148 a1c6a512-1295-4272-9138-f99709370657
2009-02-28 23:24:00 +00:00
Dominik Riebeling
10c1fef096 Fix automated install not aborting when bootloader installation was canceled during prerequisite confirmation. Add info to the log window when cancelled or skipped.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20147 a1c6a512-1295-4272-9138-f99709370657
2009-02-28 23:11:26 +00:00
Dominik Riebeling
6343111e00 Remove "needsbootloader" configuration value as it is implicitly available from "bootloadermethod". Explicitly use bootloadermethod "none" if no bootloader is needed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19855 a1c6a512-1295-4272-9138-f99709370657
2009-01-25 17:48:38 +00:00
Dominik Riebeling
07894de36d Remove hard-coded release version numbers.
- get the target specific version number from the build-info file
- disable Quick Start buttons until version info is available
- only enable Quick Start buttons if a release is available.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19854 a1c6a512-1295-4272-9138-f99709370657
2009-01-25 17:22:06 +00:00
Dominik Riebeling
9b2fdb7953 Cleanly update the version map upon server info update.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19842 a1c6a512-1295-4272-9138-f99709370657
2009-01-24 10:02:23 +00:00
Dominik Riebeling
19b6fbfd1e Default automatic install to the latest release instead of the most recent build.
Rename small install to minimal install.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19490 a1c6a512-1295-4272-9138-f99709370657
2008-12-19 21:43:22 +00:00
Dominik Riebeling
3e1168fa8a Keep logger open after user aborted bootloader reinstall during automated install. Do some code police.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19475 a1c6a512-1295-4272-9138-f99709370657
2008-12-18 22:42:24 +00:00
Dominik Riebeling
b208000c36 Make Detect::check() return an error string instead of a boolean result and move the handling of an occurred error to the application to make detection Gui-clean. Move detect class to base folder.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18873 a1c6a512-1295-4272-9138-f99709370657
2008-10-24 22:31:07 +00:00
Dominik Wenger
71e7209028 rbutil: make release versions local to devices. To allow different releases on different devices.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18825 a1c6a512-1295-4272-9138-f99709370657
2008-10-18 16:19:07 +00:00
Dominik Riebeling
197c24c5d3 Completely rework the bootloader installation class:
- create a base class and make derived classes for each installation type.
- sort installations by type, not by player model.
- remove duplicated code for iriver (de)scrambling functionality and use the functions inside of the tools folder directly -- we already do the same for rbspeex.
- make bootloader file backup optional and allow choosing a target location.
- clean up some wording and add some more guiding messages.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18657 a1c6a512-1295-4272-9138-f99709370657
2008-09-28 17:02:36 +00:00
Dominik Riebeling
28643263b7 Small and Complete Installations always install the most bleeding edge build. Put a note about this in the confirmation dialog.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18646 a1c6a512-1295-4272-9138-f99709370657
2008-09-25 20:42:46 +00:00
Dominik Wenger
9fd4f872c2 rbutil: fix h10_5gbmtp download issue.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18634 a1c6a512-1295-4272-9138-f99709370657
2008-09-24 21:18:37 +00:00
Dominik Riebeling
90f92b216b Add setting the User-Agent for http requests to HttpGet class. Make rbutil set its own user agent string.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18366 a1c6a512-1295-4272-9138-f99709370657
2008-08-30 20:51:50 +00:00
Bertrik Sikken
43b11af169 Fix spelling error: successfull -> successful
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18119 a1c6a512-1295-4272-9138-f99709370657
2008-07-25 22:29:59 +00:00
Frank Gevaerts
ee3ed8a163 handle new installations (or upgrades) differently from invalid configurations
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17983 a1c6a512-1295-4272-9138-f99709370657
2008-07-07 21:40:44 +00:00
Frank Gevaerts
e6553f8218 fixed a string
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17982 a1c6a512-1295-4272-9138-f99709370657
2008-07-07 20:28:11 +00:00
Dominik Wenger
7fb11a82a1 rbutil: move some detecting code, to make detecing things nicer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17813 a1c6a512-1295-4272-9138-f99709370657
2008-06-27 21:53:22 +00:00
Dominik Riebeling
9f0ea77d22 connect progress signal directly to the logger.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17811 a1c6a512-1295-4272-9138-f99709370657
2008-06-27 20:36:41 +00:00
Dominik Wenger
6b0a1ec2a1 rbutil: warn when you install a build for a different target then already installed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17769 a1c6a512-1295-4272-9138-f99709370657
2008-06-23 20:31:44 +00:00
Dominik Riebeling
1876a0bcf2 Add System Info screen showing some values that could be helpful in case of problems using rbutil. Most noteable is showing the permission level of the user on windows.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17736 a1c6a512-1295-4272-9138-f99709370657
2008-06-21 10:28:10 +00:00
Dominik Wenger
ae4b677736 rbutil: improve talkfile generation. remove the options to keep and overwrite the wavfiles.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17637 a1c6a512-1295-4272-9138-f99709370657
2008-05-27 20:02:25 +00:00
Dominik Riebeling
c769cf586f make offline mode work again.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17561 a1c6a512-1295-4272-9138-f99709370657
2008-05-17 20:21:55 +00:00
Dominik Wenger
76e6ad9069 rbutil: more improvements for the backup mechanism.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17465 a1c6a512-1295-4272-9138-f99709370657
2008-05-11 18:53:24 +00:00
Dominik Wenger
d24eb9e461 rbutil: improve the backup function.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17463 a1c6a512-1295-4272-9138-f99709370657
2008-05-11 18:22:42 +00:00
Dominik Wenger
acccee479a rbutil: Detect if Rockbox is already installed, and allow Backup bevor installing a new build.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17440 a1c6a512-1295-4272-9138-f99709370657
2008-05-10 17:53:15 +00:00
Dominik Wenger
86a5d62f7b rbutil: ups moved a connect to the wrong place.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16998 a1c6a512-1295-4272-9138-f99709370657
2008-04-06 19:59:53 +00:00
Dominik Wenger
b235b1306e rbutil: move many more connect calls, mainly for safety.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16997 a1c6a512-1295-4272-9138-f99709370657
2008-04-06 19:50:38 +00:00
Dominik Wenger
1b637754fa rbutil: fix complete install: make sure signals are connected before calling the function emiting the signal.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16995 a1c6a512-1295-4272-9138-f99709370657
2008-04-06 19:39:41 +00:00