summaryrefslogtreecommitdiff
path: root/rbutil/rbutilqt
AgeCommit message (Collapse)Author
2012-06-26Create dedicated backup dialog.Dominik Riebeling
The "Installation" dialog allows backing up the current installation by creating a zip file from the .rockbox folder since quite a while. However, this has the drawback that you need to update your build to create a backup, but creating a backup might be desireable in other cases as well (before updating themes, or just for backup reasons). Since the functionality is somewhat hidden it's also not obvious to users such a functionality exists (most users are likely to use the "Quick Start" instead). Implement backup functionality as dedicated dialog placed on the Uninstall tab. Rename the Uninstall tab to accommodate this. Change-Id: I1d2c6c8f646672d1b66bb442408fbfc2eeec700d
2012-06-26Add Ipod Classic (6G) as disabled target.Dominik Riebeling
Change-Id: I35dbe8333c38b200e9b1e6e056f0382538ee91a1
2012-06-26Make Info widget update independent from tab index.Dominik Riebeling
Since the Info widget is now a separate widget ask the tab widget about its index instead of hard coding it. Rename a variable to avoid shadowing while at it. Change-Id: I40c18387aacc780ac2051bb894db36247171c268
2012-06-25Add missing class name to System Trace log.Dominik Riebeling
To identify the source for System Trace entries qDebug() calls usually add the class name at the beginning. Add some missing ones and remove some trailing spaces. Change-Id: I3179bb206e96de8b5a1c05c0fc0958936e4513f3
2012-06-23Fix bootloader zip extraction filename case sensitivity.Dominik Riebeling
When searching for the bootloader file in a zip archive the filename in the archive might use a different casing than the one we're looking after. Make the search case-insensitive to not fail to find the file in this case. Change-Id: I05ffc67421e67fae045eabb7851cd99a3757b6d7
2012-06-23c200v2: add missing Europe FM / no FM firmware filenames.Dominik Riebeling
Change-Id: Idfed4bcf6d89d9f24b6aad352a411ece3086bb2a
2012-06-18Set size policy for build details group.Dominik Riebeling
The contents of the build details group change and might become larger than the current size of the group box. Set its size policy to expanding, so it resizes automatically instead of text being cut off at the bottom. Change-Id: Iab7947046a9676ac76115766872daad3ac6763e4
2012-06-18Simplify manual installer setup a bit.Dominik Riebeling
Change-Id: Idbef76cee2ddc6537696b5d234d9e33c4a3bd621
2012-06-18Extend ServerInfo unit test for manual URL.Dominik Riebeling
Change-Id: I599adf7d692e95310fe12bca8fe0c69695aa4784
2012-06-18Move constructing manual URL to ServerInfo class.Dominik Riebeling
Change-Id: I4d2605b2389b4378e8311fc82057974e0eb238e6
2012-06-17Add support for installing release candidate builds.Dominik Riebeling
Release candidates are now a third option in the installation window. Quick start will still install the latest release. Change-Id: I64e05160817263c5c4cb40cbdb4942149983e0ff
2012-06-17Make ServerInfo parsing slightly more robust.Dominik Riebeling
- Don't assume the list of release targets to be the same as the list of release-candidate targets. - Don't try to construct a download URL for releases with an empty release version. Change-Id: Icc3098a9db9e3d00261c32f4b9c2999ecc716380
2012-06-17Implement unit test for ServerInfo input parsing.Dominik Riebeling
Change-Id: I9e28c94ca72c7644a154e40a258d9f00df5f5edd
2012-06-17Support release-candidate entry format for releases.Dominik Riebeling
The release-candiate entries provide both version and URL instead of only a version entry and requiring the URL to be constructed separately. Since it's easy to identify the format support both for release entries for improved flexibility -- if the server URLs ever change the server only needs to get updated to use the extended format. Change-Id: If5c669b72d7acd6ac648c5f42dd844ae36904df6
2012-06-17Read release candidate information from build-info.Dominik Riebeling
Change-Id: I73ac0922f25dd247588f945eba1e78f4026d747d
2012-06-17Move download URL construction to ServerInfo.Dominik Riebeling
Centralize creating the URLs so it's not duplicated in two places. This also allows to change the representation on the server more easily, since it only requires changes in one place. Currently only changes URLs for Rockbox builds. Change-Id: I87277cd61f8b164bdbcd914c9873d674661a786c
2012-06-15Clarify Quick Start tab descriptions.Dominik Riebeling
Make it more clear that the Quick Start buttons will install a release version. Fixes FS#12612. Change-Id: I4c649cd43a0e10f326af62bcd6b6adc0dd7e8cd5
2012-06-14Remove mountpoint when storing folders to talk.Dominik Riebeling
When using Rockbox Utility some later time the mountpoint might have changed. This would invalidate the list of folders to voice even if the folders are still present on the player. Remove the mountpoint part before storing the folders, and add it when loading the settings. Change-Id: Ic4ed98b205d20f6a0b3a1e1da396bbdcd02c255e
2012-06-14Save all settings in talkfile dialog.Dominik Riebeling
Save settings that haven't been and rename the configuration file value for the talked folder. Since the folder was replaced with a list we can't use the old value anymore so there's no need to keep a name that's not really suitable anymore. Solves FS#12634. Change-Id: I8db2a536409b94c45f28db9418a11f11f57dfacb
2012-06-13Update "sidebar" image in Rockbox Utility dialogs.Dominik Riebeling
Replace the old image shown on the left side in various dialogs with a more recent one. For the curious, this image has been taken at DevCon2012 and shows the collected players to be used for building a tower. Change-Id: If4303cc69bed3ac12bba04988427065926f1043c
2012-06-13Rework talkfile creation window.Dominik Riebeling
Support selecting multiple folders by replacing the provided path with a tree view that allows selecting multiple entries. The view is limited to the selected mountpoint (i.e. the player) so this removes the possibility of generating talk files for files that are not on the player. However, since Rockbox Utility disables most functionality without an attached player this isn't too much of a problem. Creating a standalone application for talkfile creation that is not limited to the player is possible as well. Change-Id: Ic68e7556f2e2e5b9c121aaba759a42a4d1d9d53a
2012-06-13Talkfile: show folder to talk.Dominik Riebeling
Currently it's not possible to pass multiple folders for talking. Show the folder to talk to give a useful feedback when calling it multiple times. Change-Id: I0f3d1014ee3867cc81122e485fc36353ec0f55ff
2012-06-13Improve voice creation window a bit.Dominik Riebeling
- Make the window slightly smaller. There isn't too much information to be displayed, and Qt will enlarge the window if necessary anyway. - Rename the "wavtrim threshold" field, since "wavtrim" is not really descriptive for non-developers. Change-Id: I89622b3f1bca8bcd7326b447d28859412107287f
2012-06-12Remove encoder display from voice / talk dialogs.Dominik Riebeling
The encoder is fixed depending on the selected target, so there is no real benefit in displaying it in voice and talkfile generation dialogs. Change-Id: I1389800d04fcdac558b243368acfee6b1b64afc9
2012-06-12Move include to proper place and do some code police.Dominik Riebeling
Change-Id: I74a32e44ead18651a22a3a5038415808cbde6c39
2012-06-10flite: indicate end of options on command line.Dominik Riebeling
As with espeak, a string starting with - is wrongly interpreted as command line option. Explicitly end options using -- to fix this. Change-Id: I47b2f1c4ba236638b1f625e5bcf3262f47071c9c
2012-06-09Rockbox Utility: support reading voice strings from target.Dominik Riebeling
If the Rockbox installation has voice strings included use them when generating voice files. Fall back to querying the server if no voice strings are found or the found strings are incompatible. Change-Id: I9883829ab1757e55b1da9a434221a8dbfc702dd4
2012-06-09espeak: indicate end of options.Dominik Riebeling
When calling espeak via command line explicitly indicate the end of options. Fixes the voice string "-inf" getting recognized as unrecognized command line option, breaking speaking. Change-Id: I4d1be2e6c8ae23a72028919593c5a94990333a9c
2012-06-09Fix crash in mkimxboot bootloader installation.Dominik Riebeling
mkimxboot requires passing a structure which got extended with another field. This wasn't adjusted in Rockbox Utility, causing an out of bound access to an array, which results in a segfault. Change-Id: I0252849ed0b41f1d8804537c053debc9b0ecd08d
2012-06-05voicefont: make format version a parameter.Dominik Riebeling
Make hardcoded format version a parameter to allow adjusting depending on the installed Rockbox version. Rockbox Utility will read the version from the installed version. Since the command line voicefont tool is only intended for use in the current tree it uses a fixed version. Change-Id: I1ec935d47c71961e93b3c6bc6c5d816cd9fc83ff
2012-06-03Bump version to 1.2.14.Dominik Riebeling
Change-Id: I5f8d8ee9f72e6ab1e68fbb227db1e2565d048468
2012-06-03Update for single build-info file.Dominik Riebeling
The server now provides a single build-info file (instead of two separate ones for development builds and stable releases). Update to use the new file, since it simplifies things. Change-Id: If3b949f4d78eecb54e47622da887f51005f6d155
2012-06-03Fix a comment and improve message box title.Dominik Riebeling
Change-Id: I10a37be97b1000fcee5a47f13dc8ba7ee6b31b36
2012-06-02Only support pregenerated voice file for releases.Dominik Riebeling
The voice file installed needs to match the Rockbox version installed. If not the voice might not match the actual entries. Rockbox Utility always was sloppy on this and installed the latest archived (previously "daily") builds voice file for the latest development (previously "current") build. Archived builds aren't supported anymore in Rockbox Utility, so remove support for installing archived voice files as well. There are no pregenerated voice files for development versions provided, and Rockbox Utility can generate voice files anyway. Also, those files are only provided and most users seem to prefer to use the voices they have installed on their PC. Change-Id: I17817da8a14dc5f8b0ef208579d8d75fa86ab610
2012-06-02Use server timestamp for development build fonts.Dominik Riebeling
The server timestamp is more meaningful as version identification than using the revision of the currently installed build. Change-Id: Ib57766f8e0f57ea9a4f805929acb589c2560fbd5
2012-05-31ZipUtil: check zip file external attributes for folder.Dominik Riebeling
Folders in a zip file usually but not necessarily have their filename ending with a slash. In these cases recognizing a folder entry by the last character fails. Check the external attributes as well, which also contain the FAT file attributes. Change-Id: I81b039b3774b803b2b528bc83846aafd208e5571
2012-05-27VoiceCreator: Factor out creation to separate function.Dominik Riebeling
Change-Id: I83d1a08745acc88aa673d07e469a0a854ef97050
2012-05-27Add missing USB ID for H10 5GB MTP.Dominik Riebeling
Change-Id: I8eedd925bc83fc52beb8f4e1e680ab2567de2920
2012-05-25Remove leftover debugging output.Dominik Riebeling
Change-Id: Ifcc34224e7ee7703d8b7290e308dc4b116050a2a
2012-05-23Use full version string for voicefile version.Dominik Riebeling
Change-Id: If9a179b0fcb707efb32590c8914eccdb81ee27df
2012-05-23Use Rockbox version for created voicefile version.Dominik Riebeling
Instead of using the date the voice file was created use the version of Rockbox the voice file was created for. That way it is possible to see from the installation log if the installed voice matches the current Rockbox version. Change-Id: I9fd7d40d718febafbc20579f049b9b94cfa5d573
2012-05-23ZipIntaller: use file timestamp if version string is missing.Dominik Riebeling
Instead of using some arbitrary and not really useful string use the timestamp of the downloaded file if version string is provided by the caller. This also makes it possible to check if the downloaded file is actually a different one. Use it for manual and game file downloads, as this gives more reasonable values than using the date transmitted for daily (archived) build and as support for archived builds will be removed shortly. Change-Id: I0c751fabe7bb516edca93a5f73f077a611d4ef87
2012-05-19Show nicer language names in voice creation dialog.Dominik Riebeling
Instead of showing the internal language names show some more human friendly string. Currently only applies to the voice creation dialog, the language configuration dialog needs further adjustments to support display strings differing from values. Change-Id: Ic94838f1079c1d09a666d7dbd9682c577f686b3f
2012-05-19Remove "daily builds" from Rockbox Utility.Dominik Riebeling
Since Rockbox Utility could only install the most recent "daily build" there is not much difference to the most recent development build so the option was not really useful. Additionally update naming. Former "daily" builds are now "archived builds" and can get installed manually (if necessary), and "current" builds are renamed to "development build". Change-Id: I748688d544b6d9868f7495f30933637bf9ff5e50
2012-05-14Windows: always define UNICODE.Dominik Riebeling
Change-Id: Id188cc03118d7dd769d838f8481e44ba31406dbf
2012-05-11Don't try to resolve an empty path.Dominik Riebeling
An empty path is not resolvable, so immediately return an empty result. Fixes an empty path resolve to "/" on Linux / OS X. Change-Id: I22c26a7716becbf46850a04e18ee581084546263
2012-05-01Bootloader installation: set file filter.Dominik Riebeling
When requesting an original firmware file from the user set the filter for the file chooser dialog to only show files with matching file extension to simplify selection. Allow the user to select "all files" in case the file for whatever reason has the wrong extension. Change-Id: Ic3643c3601f6d849e6563f8753ae80a168ec0a45
2012-05-01Move bootloader class initialiation into helper.Dominik Riebeling
Create a BootloaderInstallHelper class for handling post installation hints and creating the installation instance depending on the player model. This removes the base class handling its derived classes which always has been weird, and removes the need to change the base class when adding a new installation method, since the base shouldn't be affected. Change-Id: I2a156d70fd1cff6c48bdd46d10c33d75c953ea90
2012-04-30Only update mountpoint on Accept when empty.Dominik Riebeling
Always updating the mountpoint overwrites a manually entered mountpoint (only available in debug builds). Change-Id: I6298cb873496d66f4836f219e89ca8ae17261de9
2012-04-29langstat: update for git.Dominik Riebeling
Use gitscraper for retrieving files from the repository and update output a bit. Fix some pep8 errors while at it. Change-Id: Iff05bc916decb28bed99b83d9a32ce344d5c613b