Commit graph

107 commits

Author SHA1 Message Date
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
Dominik Wenger
2016ab4c96 rbutil: let rbutil use the new voice.zip files. Also make the download cache working again. (make sure to connect signals before calling getFile() ).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16917 a1c6a512-1295-4272-9138-f99709370657
2008-04-01 18:02:56 +00:00
Dominik Riebeling
c7052c341c When unsetting the proxy in the settings dialog unset the global proxy too. Update settings in prior to re-downloading the info files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16596 a1c6a512-1295-4272-9138-f99709370657
2008-03-09 23:33:53 +00:00
Dominik Riebeling
5a75184c4a add global proxy / cache settings to httpget class. This removes the need of passing proxy / cache values around all the time. Each object can still override the global values.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16530 a1c6a512-1295-4272-9138-f99709370657
2008-03-05 21:12:24 +00:00
Dominik Wenger
4e1f2d3da3 rbutil: fix FS#8661 (Log Windows showed OK button instead of abort while complete installation).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16447 a1c6a512-1295-4272-9138-f99709370657
2008-02-28 20:28:15 +00:00
Dominik Riebeling
d03514a8dc When applying the system proxy values really use the values.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16395 a1c6a512-1295-4272-9138-f99709370657
2008-02-23 21:18:30 +00:00
Dominik Riebeling
cd31193948 display paths using the native delimiters on the main widget.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16232 a1c6a512-1295-4272-9138-f99709370657
2008-02-06 21:06:24 +00:00
Dominik Wenger
3a54c9b58d rbtutil: introduce a RbSettings class help code reuse, and minimises duplicated code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16159 a1c6a512-1295-4272-9138-f99709370657
2008-01-25 00:12:25 +00:00
Dominik Riebeling
3d63b23382 add missing include
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16157 a1c6a512-1295-4272-9138-f99709370657
2008-01-24 20:02:40 +00:00
Dominik Wenger
df6c5f414f rbutil: introduce a util function to get the systemproxy, for better reuse.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16150 a1c6a512-1295-4272-9138-f99709370657
2008-01-23 21:54:40 +00:00
Dominik Wenger
6b5780dae3 rbutilqt: made the sapi TTS more configurable, you can now select a specific voice in the config dialog. Also reworked some setSetting functions, to remove depencies.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16111 a1c6a512-1295-4272-9138-f99709370657
2008-01-19 18:33:33 +00:00
Dominik Wenger
9f686700d4 rbutil: added creation of voice files with rbutil.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16059 a1c6a512-1295-4272-9138-f99709370657
2008-01-11 23:59:12 +00:00
Dominik Riebeling
9d482ebb6c w32: when utilizing IE values for system proxy also honor the ProxyEnable value. In the configuration dialog, display a note when system proxy is disabled.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15962 a1c6a512-1295-4272-9138-f99709370657
2007-12-23 10:11:51 +00:00
Nicolas Pennequin
646d39ec4e Accept two rbutil patches by Clemens Werther:
* FS#8336: make rbutil compile on non-windows machines
* FS#8337: change target link for the "help" menu item


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15945 a1c6a512-1295-4272-9138-f99709370657
2007-12-16 18:56:45 +00:00
Dominik Wenger
bebddd42c2 rbutil: reworked configuration of TTS engines to the new Style.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15932 a1c6a512-1295-4272-9138-f99709370657
2007-12-15 13:13:57 +00:00