summaryrefslogtreecommitdiffstats
path: root/rbutil
AgeCommit message (Collapse)AuthorFilesLines
2011-07-26Take cluster size into account when calculating zip extracted size.Dominik Riebeling5-10/+51
Allow passing an (optional) cluster size to round up all file sizes when calculating the total size of an extracted zip archive. This allows to check if the space on disk is actually sufficient without relying on an arbitrary headroom value which might be wrong. Addresses FS#12195. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30214 a1c6a512-1295-4272-9138-f99709370657
2011-07-17Change System Info filesystem details to table.Dominik Riebeling1-4/+6
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30152 a1c6a512-1295-4272-9138-f99709370657
2011-07-17Implement reading the volume label on OS X.Dominik Riebeling1-1/+42
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30151 a1c6a512-1295-4272-9138-f99709370657
2011-07-17OS X: remove translation for menu entries handled separately.Dominik Riebeling1-1/+6
On OS X Configure and Quit menu entries are not placed in the File menu. Qt handles that for us if they are not translated, and translations are then handled automatically (as well as setting the OS X specific accelerator keys). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30147 a1c6a512-1295-4272-9138-f99709370657
2011-07-17Move some helper functions out of Autodetection.Dominik Riebeling8-240/+230
Those functions are rather general, so put them into the Utils class instead. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30146 a1c6a512-1295-4272-9138-f99709370657
2011-07-17The mountpoint is stored with normalized separators.Dominik Riebeling2-3/+3
Make sure to convert it on reading to avoid not finding it even if stored with native separators in the configuration. Fix a warning on Windows. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30145 a1c6a512-1295-4272-9138-f99709370657
2011-07-16Add custom delegate for showing the mountpoint combo box entries.Dominik Riebeling5-11/+106
The delegate will be used for the dropdown list and show both mountpoint (left aligned) and label / size information (right aligned). This improves readability compared to the previous implementation. Also, the mountpoint itself is now the text of the combo box and the additional information is in the Qt::UserRole to avoid having to handle a user entered mountpoint separately (since previously the mountpoint was stored in Qt::UserRole, but an edited item would have the value in Qt::TextRole). Disable editing the combo box entry for release builds, it shouldn't be needed by users. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30144 a1c6a512-1295-4272-9138-f99709370657
2011-07-16Show drive label in main dialog.Dominik Riebeling1-5/+11
When its possible to retrieve the label of the selected mountpoint display it in the main window too. Right now this only affects Windows. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30143 a1c6a512-1295-4272-9138-f99709370657
2011-07-16Remove BrowseDirTree.Dominik Riebeling7-258/+0
With the rework of the mountpoint selection the tree browser isn't used anymore. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30142 a1c6a512-1295-4272-9138-f99709370657
2011-07-15Show volume labels on Windows.Dominik Riebeling4-5/+25
In mountpoint selection and system info dialog show the volume name to make it easier to identify a specific device. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30141 a1c6a512-1295-4272-9138-f99709370657
2011-07-15Replace mountpoint selection with combo box.Dominik Riebeling3-64/+114
Instead of entering the mountpoint via a tree browser or manually use a combo box that lists all available drives / mountpoints. This also allows to easily add more information like the free and total size for each mountpoint. For development this can still be overriden by editing the dropdown value manually. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30140 a1c6a512-1295-4272-9138-f99709370657
2011-07-15Show the total size of the volume along with the free space.Dominik Riebeling3-7/+41
This should help identifying the correct player by size, since the free space is only useful to figure if there is enough space to install Rockbox. Change units to GiB since that is more useful given the size of current devices. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30139 a1c6a512-1295-4272-9138-f99709370657
2011-07-10Add USB ID for Ipod Nano 5G to list of incompatible devices.Dominik Riebeling1-0/+3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30136 a1c6a512-1295-4272-9138-f99709370657
2011-07-02mkamsboot: remove useless castsRafaël Carré1-3/+3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30115 a1c6a512-1295-4272-9138-f99709370657
2011-07-02mkamsboot: correct old commentsRafaël Carré2-5/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30114 a1c6a512-1295-4272-9138-f99709370657
2011-06-25Rockbox Utility: fix proxy password getting lost (FS#12166).Dominik Riebeling2-5/+16
The proxy settings are stored as string representation in the configuration file. If username / password contains characters used as separators parsing the string again will cause wrong results. Percent-encode them before storing, and parse it as percent-encoded string when reading it back. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30071 a1c6a512-1295-4272-9138-f99709370657
2011-06-25Fix bootloader uninstallation on Gigabeat F / X.Dominik Riebeling2-10/+13
The "file" bootloader installation method usually can uninstall the bootloader. Some upgrade methods (like the Iaudio players) remove the bootloader file placed on the player after upgrading so those can't uninstall the bootloader. Instead of rejecting uninstallation for all players using this method check the current bootloader and only display an error if no suitable bootloader is found (which would happen in the Iaudio case). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30070 a1c6a512-1295-4272-9138-f99709370657
2011-06-25Fix a source string whitespace error.Dominik Riebeling17-19/+19
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30069 a1c6a512-1295-4272-9138-f99709370657
2011-06-19Optional dual-boot support in iAudio X5 and M5 bootloader, based on FS#5289.Jens Arnold1-1/+1
In order to enable it, #define HAVE_DUALBOOT when building the bootloader. Do not use the automatically created x5_fw.bin or m5_fw.bin, but use mkboot to create a new firmware file from an OF x5_fw.bin resp. m5_fw.bin and bootloader.bin. The dual-boot bootloader boots the OF when pressing Play (main or remote) for more than 3 seconds. Hold it a bit longer because the OF also checks buttons. Short press boots rockbox. As a bonus, the Play button read (for hold check) is done a bit earlier for single-boot mode as well. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30018 a1c6a512-1295-4272-9138-f99709370657
2011-06-04Move various logo files to a single location.Dominik Riebeling2-79/+1
Introduce a new folder that will hold the original files for various variants of the Rockbox logo. The "Rb" variant of the icon (used in the Rockbox Utility icon on Windows) has been missing from svn. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29960 a1c6a512-1295-4272-9138-f99709370657
2011-05-29Fix some gcc 4.6 warnings.Dominik Riebeling2-5/+9
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29933 a1c6a512-1295-4272-9138-f99709370657
2011-05-13Make the AMS bootloader prompt slightly more specific.Michael Giacomelli1-1/+3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29870 a1c6a512-1295-4272-9138-f99709370657
2011-05-08Rockbox Utility: bump version to 1.2.10.rbutil_1.2.10Dominik Riebeling2-2/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29834 a1c6a512-1295-4272-9138-f99709370657
2011-05-07SAPI voice creating: add slovak to languages.Dominik Riebeling1-1/+2
Extend sapi_voice.vbs with slovak (FS#10904). Additionally add it to the list of supported languages in Rockbox Utility and fix the country code used for slovenscina (by myself). Author: Peter Lecky Flyspray: FS#10904 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29830 a1c6a512-1295-4272-9138-f99709370657
2011-05-07Rockbox Utility: Add some more cases to version check test.Dominik Riebeling1-0/+4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29829 a1c6a512-1295-4272-9138-f99709370657
2011-05-05deploy.py: support adding a build id.Dominik Riebeling1-3/+3
Add support for passing and injecting a build ID to the souces prior to compiling. Allows to easily create rebuilds of Rockbox Utility without creating false positives on update detection. Fix a typo in version.h. Thanks to sideral for noting. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29825 a1c6a512-1295-4272-9138-f99709370657
2011-05-04Rockbox Utility: add build id to version string.Dominik Riebeling1-1/+5
The purpose of this is to allow versioning of builds. This is useful when a new build is made to fix problems with the build itself that haven't been noticed earlier (like the accessibility issue reported as FS#12089) as it will avoid false positives for the update check. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29824 a1c6a512-1295-4272-9138-f99709370657
2011-04-30Rockbox Utility: fix some names missing from the CREDITS.Dominik Riebeling1-1/+1
The regexp used when displaying the names didn't take into account that names could start with non-ASCII letters. Use a different approach when filtering the header to make them not disappear. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29803 a1c6a512-1295-4272-9138-f99709370657
2011-04-30Rockbox Utility: bump version to 1.2.9.rbutil_1.2.9Dominik Riebeling2-2/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29801 a1c6a512-1295-4272-9138-f99709370657
2011-04-29Add missing strings to German Rockbox Utility translation.Dominik Riebeling16-4839/+3688
Run lupdate on all other translation files as well and drop obsolete strings. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29795 a1c6a512-1295-4272-9138-f99709370657
2011-04-22Fix SAPI default speed being way too fast.Dominik Riebeling1-2/+5
The settings currently can't differentiate between default values for different subitems (i.e. different TTS systems). As a result the default value returned for SAPI speed was way out of bounds, leading to the upper limit getting used. Work around this limitation by checking the value for bounds and use a sensible value in that case. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29763 a1c6a512-1295-4272-9138-f99709370657
2011-04-22Implement simple run for non-multithreaded TTS.Dominik Riebeling2-27/+49
Since setting the maximum number of threads to use to 1 causes sporadically files missing add a simple alternative implementation that doesn't use futures. This is a stop-gap solution to fix voice files not creating (reported on Windows with SAPI voices, see FS#11994). Encoding doesn't seem to be affected by the problem and is unchanged. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29762 a1c6a512-1295-4272-9138-f99709370657
2011-04-22Better hilight detected item after autodetection.Dominik Riebeling1-0/+6
To have a better indication what player has been detected and to keep this information in view make the entry for the detected player bold. This also (partly) addresses FS#10694. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29761 a1c6a512-1295-4272-9138-f99709370657
2011-04-22Fix "Test TTS" button not working.Dominik Riebeling1-2/+3
Make sure the temporary file doesn't get destroyed before it has been played. Fixes the "Test TTS" button not giving a test playback anymore for TTS systems that cannot do the playback themselves. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29760 a1c6a512-1295-4272-9138-f99709370657
2011-04-22Make TTS names translatable and change Sapi to SAPI.Dominik Riebeling1-6/+6
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29759 a1c6a512-1295-4272-9138-f99709370657
2011-04-22Use System TTS if none is set.Dominik Riebeling1-1/+7
If no TTS has been selected previously default to the system one if any. Otherwise use espeak. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29758 a1c6a512-1295-4272-9138-f99709370657
2011-04-05Fix a warning.Dominik Riebeling1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29681 a1c6a512-1295-4272-9138-f99709370657
2011-04-03Properly remove the configuration dialog.Dominik Riebeling1-0/+3
The configuration dialog isn't needed anymore once the finished() signal is emitted. In that case schedule it for deletion by the event loop. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29674 a1c6a512-1295-4272-9138-f99709370657
2011-04-03OS X TTS: add pitch setting.Dominik Riebeling4-1/+20
The current TTS configuration doesn't allow querying the system values so it currently can't be displayed. A value of 0 will use the system default. The default pitch is dependent on the voice; most voices should have a default pitch of 45 - 55. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29673 a1c6a512-1295-4272-9138-f99709370657
2011-04-03Add capability to speak directly from the TTS engine.Dominik Riebeling3-36/+48
The OS X TTS engine (and likely others) allows outputting its speech directly to the sound system. This avoids the extra step of creating a temporary file to play for TTS preview. Currently implemented as TTS capability reported. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29672 a1c6a512-1295-4272-9138-f99709370657
2011-04-02Update build instructions for Rockbox Utility.Dominik Riebeling1-6/+9
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29671 a1c6a512-1295-4272-9138-f99709370657
2011-04-02Fix a warning.Dominik Riebeling1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29670 a1c6a512-1295-4272-9138-f99709370657
2011-04-02Use template pattern for genlang url.Dominik Riebeling2-4/+7
Instead of hard coding the query part of the genlang url store the full url as template and replace parts as done for other urls as well. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29669 a1c6a512-1295-4272-9138-f99709370657
2011-03-25Rockbox Utility: Replace OSDaB Zip with QuaZip.Dominik Riebeling36-3485/+5880
This change fixes problems with zip files created with newer zip utilities (a known issue is the iLike theme). QuaZip also allows better feedback during operations without changing the imported code. Additionally Rockbox Utility and the Theme Editor are now both using QuaZip; currently Rockbox Utility uses a copy of the sources, merging them later is planned. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29645 a1c6a512-1295-4272-9138-f99709370657
2011-03-20Fix MTP detection only working on e200v1.Dominik Riebeling2-9/+11
Autodetection only showed an MTP device error for e200v1 and an unspecified error for all other players (except if the detected player is an Ipod, in which case the error indicates a WinPod). Consider all non-Ipod errors as MTP error. Fix wrong MTP USB ID for e200v1 which made that detection fail even for e200v1. Should fix FS#11563. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29621 a1c6a512-1295-4272-9138-f99709370657
2011-03-20Update copyright information in about box. We're still working on this.Dominik Riebeling17-25/+25
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29620 a1c6a512-1295-4272-9138-f99709370657
2011-03-19Fix Rockbox Utility update detection on Linux 64bit.Dominik Riebeling1-17/+23
Remove the "64bit" part of the filename before comparing. We're checking for that in the filename explicitly but the version number doesn't contain it, so the comparison will otherwise misinterpret it as additional version information. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29617 a1c6a512-1295-4272-9138-f99709370657
2011-03-13Improve visual feedback when testing TTS.Dominik Riebeling1-8/+14
Disable the "Test TTS" button during a running test and on invalid TTS configuration. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29581 a1c6a512-1295-4272-9138-f99709370657
2011-03-03Don't link libz explicitly on Windows.Dominik Riebeling1-1/+4
On Windows Qt already includes libz. Since the Qt SDK comes without a separate libz linking it explicitly fails. Also, if libz is installed via MinGW linking it explicitly will clash with the libz functions in Qt. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29512 a1c6a512-1295-4272-9138-f99709370657
2011-02-27Rockbox Utility voicefile generation: add Latvian to supported languages.Dominik Riebeling1-0/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29436 a1c6a512-1295-4272-9138-f99709370657