Commit graph

142 commits

Author SHA1 Message Date
Dominik Riebeling
239976ebfa Rename Rockbox Utility output binary to RockboxUtility.
This will also cause the archives created by deploy-release.py to use the new
binary name, so also update the update checking code to accept any base
filename when retrieving version numbers from the download server.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24980 a1c6a512-1295-4272-9138-f99709370657
2010-02-28 20:28:45 +00:00
Dominik Wenger
963fdc340b rbutil: fix voice downloads.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24758 a1c6a512-1295-4272-9138-f99709370657
2010-02-18 19:47:09 +00:00
Dominik Riebeling
7e91332e39 Use QFileDialog::getExistingDirectory() for path selection.
This makes it possible for native dialogs to get used on Windows and OS X. The
mountpoint selection dialog needs special handling and still uses the
BrowseDirtree class for now.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24703 a1c6a512-1295-4272-9138-f99709370657
2010-02-16 21:34:39 +00:00
Dominik Riebeling
446eda80c9 Restore the default message handler on application shutdown. Fixes sporadic segfaults on exit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24599 a1c6a512-1295-4272-9138-f99709370657
2010-02-11 19:51:50 +00:00
Dominik Wenger
cbc549def7 rbutil: fix doubled configure dialog.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24332 a1c6a512-1295-4272-9138-f99709370657
2010-01-24 21:15:42 +00:00
Dominik Wenger
6128bd14e9 rbutil: split RbSettings. use Stable/unstable status from server.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24331 a1c6a512-1295-4272-9138-f99709370657
2010-01-24 21:12:11 +00:00
Dominik Riebeling
0f6bfdb4c3 Merge rbutil CREDITS file with main one and use that.
Similar to removing the separate CREDITS file for the manual remove the
rbutil one as discussed on IRC.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24329 a1c6a512-1295-4272-9138-f99709370657
2010-01-24 20:48:38 +00:00
Dominik Wenger
8363619e66 rbutil: store the info from the server centrally in RbSetttings. Dont download build-info multiple times. Rename install.cpp
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24301 a1c6a512-1295-4272-9138-f99709370657
2010-01-20 22:18:36 +00:00
Dominik Wenger
052812d575 rbutil: remove some unneeded accesses to the raw build-info file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24299 a1c6a512-1295-4272-9138-f99709370657
2010-01-20 20:22:34 +00:00
Tomer Shalev
294b017cd1 Revert r24174 following the discussion on mailing-list
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24213 a1c6a512-1295-4272-9138-f99709370657
2010-01-10 17:13:32 +00:00
Tomer Shalev
86c1360169 rbutil: Fix some messages
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24174 a1c6a512-1295-4272-9138-f99709370657
2010-01-03 20:17:36 +00:00
Tomer Shalev
04f84cf1e8 FS#10747 - Disable actions if rbutil is not configured properly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23466 a1c6a512-1295-4272-9138-f99709370657
2009-11-01 17:16:02 +00:00
Tomer Shalev
d011eecad4 FS#10748 - rbutil: Explicitly override GUI layout direction setting for some widgets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23441 a1c6a512-1295-4272-9138-f99709370657
2009-10-31 17:16:34 +00:00
Tomer Shalev
ad78551811 FS#10728 - Cowon D2: Add support for D2 in rbutil
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23410 a1c6a512-1295-4272-9138-f99709370657
2009-10-29 21:31:50 +00:00
Dominik Riebeling
6f9724706f Show status about downloading build information in the status bar.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23369 a1c6a512-1295-4272-9138-f99709370657
2009-10-27 19:28:51 +00:00
Dominik Riebeling
10305ea887 When cancelling the bootloader installation delete the bootloader install object.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23222 a1c6a512-1295-4272-9138-f99709370657
2009-10-17 09:19:09 +00:00
Dominik Riebeling
205231caf7 Don't put the complete HTML source in the trace when checking for a new version. The recognized filenames is enough.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23071 a1c6a512-1295-4272-9138-f99709370657
2009-10-10 15:31:18 +00:00
Dominik Wenger
293a4b62d7 rbutil: check for new Versions at startup.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22734 a1c6a512-1295-4272-9138-f99709370657
2009-09-18 22:28:09 +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
9db05403bd Add Save icon and add a note to the about dialog about the origin of the icons. Should have been there much earlier ...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22353 a1c6a512-1295-4272-9138-f99709370657
2009-08-16 19:46:41 +00:00
Dominik Wenger
426bfa8d03 rbutil: add a errorlog function into rbutil and the possibility to save a log if a error happens. (thanks to bluebrother for the trace functionality)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22329 a1c6a512-1295-4272-9138-f99709370657
2009-08-15 17:02:25 +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
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