summaryrefslogtreecommitdiff
path: root/rbutil
AgeCommit message (Collapse)Author
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-31imxtools: move tools to a new sbtools/ subdirectoryAmaury Pouly
Change-Id: I0d8d6831b35037725486f61fc363de87bc8ba92e
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-19mkimxboot: add support for more target and variantsAmaury Pouly
Add creative zen x-fi 2/3 and add a variant mechanism Change-Id: Ic2ee82a4238a87c2eb5d72b8309650d9a280325f
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
2012-04-28Fix a typo and remove line splicing.Dominik Riebeling
Change-Id: Ifce9224e352b2a3efef92aff4bbdde9fc8714587
2012-04-28Don't assume the compiler to be gcc / g++.Dominik Riebeling
When setting up qmake to use ccache keep using the compiler as defined in the qmakespec instead of assuming it always to be gcc / g++. Change-Id: I00ce32158ca4a5d67517347cae2e86b77051b3c9
2012-04-28Remove useless operation.Dominik Riebeling
Change-Id: I378be5202d96cf6b44fb448cb7e620465ff36961
2012-04-28ipodpatcher: replace ipod2c with bin2c.Dominik Riebeling
Change-Id: I3b339e05c9a5f4a8a60bd7581ec402b4784542e2
2012-04-28Move bin2c handling to libtools.makeDominik Riebeling
Change-Id: I60353bb9f9fd2658d66ba7f352e04f7489c7bf5d
2012-04-28Add "ipod" mode to bin2c.Dominik Riebeling
ipod2c is identical to bin2c except it skipping the header of the input files. Add this behaviour as option to bin2c to be able of using bin2c instead of ipod2c. Change-Id: I71afcaca6f2f6b0fce4c6aa3dff6be5bb205f384
2012-04-26MI4 bootloader: check for copy result.Dominik Riebeling
As for BootloaderInstallFile check if copying the bootloader file to the player did actually work or if an already present file caused the copy operation to fail. Change-Id: I2e889610b4cb9f57f73cffc473c6230be0d11e24
2012-04-26Check for bootloader file on device before copying.Dominik Riebeling
QFile::copy() doesn't overwrite an already existing file. This can lead to bootloader installation trying to place a new file on the player but failing to do the actual copy if the file already exists. Since overwriting an already existing file might be unexpected by the user error out in this case and notify the user. Change-Id: I5ffaf2f1344271ea2bad9e3232234826552385ec
2012-04-26Add missing basque and english-us languages.Dominik Riebeling
Change-Id: I99767adb9231b25092bee976921a42a8e309599b
2012-04-26Voicefile: remove < and > from voice strings before speaking.Dominik Riebeling
Some language files have the < and > characters the original string (like "<All tracks>") has included in the voice strings. These characters cause the generated wave file to not contain any samples with SAPI, causing an error when Rockbox Utility tries to encode the file. Since those characters don't make much sense in the voice string remove them prior to speaking. Currently affected languages are basque, chinese-simp, and russian, for which this fixes voicefile creation. Change-Id: Iac7ccd7921ccfb5ddc33645239a1f8f7e639e5aa
2012-04-25Add codecs to librbcodec.Sean Bartell
Change-Id: Id7f4717d51ed02d67cb9f9cb3c0ada4a81843f97 Reviewed-on: http://gerrit.rockbox.org/137 Reviewed-by: Nils Wallménius <nils@rockbox.org> Tested-by: Nils Wallménius <nils@rockbox.org>
2012-04-24Refresh mountpoint from UI before checking for existence.Dominik Riebeling
Fixes "invalid mountpoint" errors that could happen if the preselected mountpoint was never changed and no previous configuration available. Change-Id: Ief5f1b7a0b24267a03028f5d402e8763a5a3fc70
2012-04-10Check for existing firmware file on H100 / H300.Dominik Riebeling
Show an error if copying the firmware file to the player failed. Also, check if there is already a firmware file present on the player. If so abort and tell the user about it, since QFile::copy() doesn't overwrite existing files and the user might not expect the file to get overwritten. Change-Id: Ie63963289965900a4ab519ddf128246f89d81c6c
2012-04-08mkamsboot: add support for clip zip original firmware 01.01.20 (tested by me)Bertrik Sikken
Change-Id: I1d071539d496c63f47d305375e244f9fbe107ced
2012-04-06libmp3lame encoder: don't retrieve settings for each run.Dominik Riebeling
Retrieve the encoder settings only when creating the object or when saving. Avoids unnecessary overhead by accessing the settings object on each encoder call, which also clutters the system trace log. Change-Id: If64e5d1d5ac8f1d4b0afd1bc4851e455fc7e64c2
2012-04-06Drop empty voice strings when building list of strings.Dominik Riebeling
Instead of skipping empty voice strings when trying to voice the list of strings drop them immediately when building the list of strings. Change-Id: Ib2627fb4b5061916cf04d67b6b78f457122ed2cd
2012-04-02Remove espeak from TTS list on Windows.Dominik Riebeling
On Windows espeak installs itself as command line program as well as as SAPI voice. Using the SAPI voice is simpler, so there is no need to keep the command line option for it. Change-Id: I44fbd806572d5c14b976aa5d58a91935f04c6338
2012-03-28Fix HTML manual download link (FS#12620).Dominik Riebeling
Change-Id: I1bccf62b7770ad7a73ffc1578cbdf5034951c216
2012-03-28Prefix compareversion test files.Dominik Riebeling
Change-Id: Ic67b4a1519456cbb2d85078a80ac605eb65f8020
2012-03-12Enable MPIO HD200 and HD300 installation.Dominik Riebeling
HD300 has been promoted to stable. The state of a port is retrieved from the download server anyway, so there is no reason to keep the HD200 disabled. Change-Id: Ic28c663c8999558dda5b10f4fa584e2f6732264a
2012-03-12Fix false positive in version detection.Dominik Riebeling
Some git revisions are falsely detected as release version. Extend test and fix the wrong regexp. Corrects font download trying to get the wrong file for some current builds. Change-Id: Ia779896c927385ec0d7ba68ee3d953f3c6e4494c
2012-03-12Test: check retrieved version string as well.Dominik Riebeling
As originally intended check if the retrieved version string is correct instead of ignoring it. Change-Id: If4dad224e999a90607dee3eb723400c12f5b7362
2012-03-06Bump version to 1.2.13.Dominik Riebeling
Change-Id: Ib4efdef98db92824f798f830f8c8c1b094dc4f02
2012-03-06Rockbox Utility: add "revision" information back.Dominik Riebeling
Add a revision-like information and make deploy.py replace it with the git hash. Change-Id: Ic88ad0b2af255e76a7129a6a5cf52663b868fd32
2012-02-29Fix mismatching C++ new[] / delete callsThomas Jarosch
cppcheck report: [rbutil/rbutilqt/base/encoderlame.cpp:273]: (error) Mismatching allocation and deallocation: mp3buf [rbutil/rbutilqt/base/encoderlame.cpp:282]: (error) Mismatching allocation and deallocation: mp3buf [rbutil/rbutilqt/base/encoderlame.cpp:289]: (error) Mismatching allocation and deallocation: mp3buf [rbutil/rbutilqt/base/encoderlame.cpp:274]: (error) Mismatching allocation and deallocation: wavbuf [rbutil/rbutilqt/base/encoderlame.cpp:283]: (error) Mismatching allocation and deallocation: wavbuf [rbutil/rbutilqt/base/encoderlame.cpp:290]: (error) Mismatching allocation and deallocation: wavbuf [rbutil/rbutilqt/base/encoderlame.cpp:184]: (error) Mismatching allocation and deallocation: buf Change-Id: I9fd54b6e02817eb900ec6e24d967da6d4beaeb27
2012-02-29imx233: always boot when powered up from 5vAmaury Pouly
Change-Id: I3adb901d293c801f0a8493ae4f0b23af4fa535e8
2012-02-28mkimxboot/fuze+: fix booting to the OFAmaury Pouly
Change-Id: I51db192d9c88952173acac6558941ba6421a31dd
2012-02-28mkximxboot/fuze+: add power button delay to power onAmaury Pouly
Only boot to rockbox if the power button is hold sufficiently long. For consistency, use the same mechanism as the OF: - read PSWITCH 550000 times - boot if PSWITCH=1 at least 400000 out of 550000 times Only apply the delay if Volume Down is not hold, so that the OF and RB delay don't cumulate. Change-Id: I1e8a4cd108c56bf784fcf1c320f7a001ef161701
2012-02-26Rockbox Utility: update french translationJean-Louis Biasini
- change some strings that were not really nice - update empty strings Change-Id: Iab816bdbcd09bc254320c50d5eab424648b9a832 Reviewed-on: http://gerrit.rockbox.org/124 Reviewed-by: Dominik Riebeling <Dominik.Riebeling@gmail.com>
2012-02-23Rockbox Utility: update german translation.Dominik Riebeling
Change-Id: I6f514c79f23ea8aed341dd46c6f332aab57a1b0d