summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt
AgeCommit message (Collapse)AuthorFilesLines
2020-07-26rbutil: Always use Qt Multimedia to play TTS preview.Dominik Riebeling2-18/+1
We're using it on Windows and macOS, there's no reason to not do so on Linux. Change-Id: I6e4d9006eff22fd4bf6b882407a5497b2f8cdd2f
2020-07-26rbutil: Call QLocale::setDefault() with QLocale.Dominik Riebeling2-2/+2
QLocale::setDefault() shouldn't be called with a QString but a QLocale instead. Calling it with a string doesn't work with Qt6 anymore. Change-Id: I08826095cda8563e4ae9b83d08144da2d0d7f3c7
2020-07-26rbutil: Merge Troubleshoot submenu with Help menu.Dominik Riebeling1-8/+3
Since people seem to have problems finding the troubleshoot items in a submenu move them one level up. The submenu isn't too useful anyway. Change-Id: Ic047f3913a8a13b038580d497260de55fe2e1298
2020-07-26rbutil: Remove unnecessary (and implicit) type conversion.Dominik Riebeling1-1/+1
2020-07-26rbutil: Update translation stats script.Dominik Riebeling1-25/+17
- Update to Python3. - Change Qt tools to Qt5. - Cleanup. Change-Id: Icc9d9335518e8fba4a0c7a619527c8cdc087d59f
2020-07-20rbutil: Fix the X3ii's USB VID/PIDSolomon Peachy1-1/+1
Change-Id: I009b19b922874b9cce04da3d2cdd7bd142510dc2
2020-07-20rbutil: Add support for the xDuoo X3, X3ii, X20, and AGPTek Rocker.Solomon Peachy5-2/+296
* All include full bootloader installation! * X20 lack USB VID/PIDs so cannot be autodetected. * Benjie T6 (variant/OEM of the Rocker) USB VID/PID unknown. Change-Id: Ia823de072c83506d36410ec436be15a0caf97151
2020-07-19rbutil: Add in missing voicefile languagesSolomon Peachy1-4/+8
Change-Id: I6b38bc7ba1c9dc6f399297142d007fcd7736eb36
2020-07-19rbutil: Support 'espeak-ng' and 'mimic' TTS enginesSolomon Peachy4-0/+92
Change-Id: Ibf6e46254f42b28800351fdb303539b2ec13d422
2020-07-14rbutil: Handle the new Retired target status.Solomon Peachy2-3/+8
It's considerd stable, but does not have dev builds any more So don't display download options to get RC or dev builds. Change-Id: I68ed6adc2dd72d54464d3ff8d8e8df28088f8020
2020-06-30rbutil: Fix filename for additional rule to create dmg image on macOS.Dominik Riebeling1-1/+1
2020-06-21rbutil: Fix compiling 32bit Rockbox Utility on 64bit Linux.Dominik Riebeling2-1/+3
Pass the machine options for libs to the c++ compiler as well. Change-Id: I56bfbbe4aca4b3a7b86bb0d5323a1f7d78d4f60c
2020-06-20rbutil: Add extra build rule on Linux to create AppImage.Dominik Riebeling1-0/+27
Build the "appimage" target to create an AppImage file from the binary. The needed linuxdeploy tools will be downloaded first. Change-Id: Ia1e8977ea7689fb547c5d1a6abe6448a94f1b1af
2020-06-20rbutil: Add simple desktop file for Linux.Dominik Riebeling1-0/+12
To be used by packagers, and eventually AppImage. The logo file referenced is docs/logo/rockbox-clef.svg. Change-Id: Id2606f6c699d0ef612caaf125aa2a5d0e88bdecc
2020-04-09rbutil: Add bspatch and libbzip2Solomon Peachy2-2/+8
This is to enable binary patching of Hiby-based firmware files Note that noting in rbutil uses this yet. Change-Id: I03ac824dd7402d508eb4e857ad78f184eb0d0243
2020-03-29Rockbox Utility: updated Czech translationpavel1-23/+194
fixed wrongly set writing direction and translated missing strings Change-Id: I4d0fd8430f334317c05b9e827ba2b547017ed2cd
2019-11-14Correctly update game file download URLs.Franklin Wei1-5/+5
Change-Id: I04a967a6a88d2e1440203401ca3022a8ca985177
2019-11-10rbutil: fix windows release buildFranklin Wei1-1/+4
This fixes two of them: not finding the lrelease binary and not compiling for C++11 (which is required by some Qt headers now). Change-Id: I3c0eb3c2002c3ce7a2eeea877db5fa6942c9b2ba
2019-11-09rbutil: fix windows cross compile (via M cross environment)Franklin Wei3-11/+22
This fixes a couple of issues when cross-compiling for windows: - lib builds (i.e. mks5lboot) were overriding the cross CC/CXX with the native CC, producing incompatible binaries. - Qt made the accessibility plugin part of the core library, so we no longer need to import it. Change-Id: I9d884aee62dfa51d3624a3fa9b99c23b3b375f20
2019-10-31rbutil: update game data URLs to official download serverFranklin Wei1-5/+5
Do not merge until files are in place. Change-Id: I8e0564f2cfdae0fecde1a56f98cb22f59a4bf9e2
2019-10-31rbutil: extend game file installationFranklin Wei4-6/+49
RbUtil will now install freely distributable data files for Duke Nukem 3D, Quake, SGT-Puzzles (fonts), Wolfenstein 3-D, and Another World. Currently the urls point to my personal server, pending upload to the main download server. Change-Id: I2806fd1ad7e9bb0fcb7aee5444840708e6e63032
2019-10-28Bump RockboxUtility version to 1.4.1rbutil_1.4.1Franklin Wei2-2/+2
Needed to get ipod6g bootloader support in place for upcoming 3.15 release. Change-Id: I22ab3f97224577b148baf7197fa57486ee015174
2019-10-28rbutil: enable ipod6gFranklin Wei1-1/+0
Change-Id: Ice8f7fa682c75ccabb52f8d9ef27fa48af4c0689
2019-10-28rbutil: add support for iPod Classic 6G bootloaderCástor Muñoz9-5/+519
Change-Id: I0e237a81098a2d4df8d9f5d6deaaab3863a84fc6
2019-10-28rbutil: add function to suspend/resume processesCástor Muñoz2-0/+123
Change-Id: I99cfaaa4f853930cea88184496e91589b42859f3
2019-01-25Fix host build of mkimxboot, mknwzboot, nwztools, and rbutil with crypto++Solomon Peachy1-1/+3
Necessary to get working builds on my Fedora 29 system. Change-Id: Ia6232427c959629ade9a85fc412738f688facedb
2017-09-23Rockbox Utility: updated Czech translationPavel Rzehák1-520/+537
translated missing strings and revised existing Change-Id: I1814b31b18cda700fb34f23f818ccbe031b4251f
2016-12-16Create local file URL using QUrl.Dominik Riebeling1-1/+1
Don't construct the local file URL from string. On Windows the URL needs to start with file:/// instead of file://. QUrl handles this. Change-Id: I3dea29a8d368ebdc20eeff6b1f1cf5058d1b5d05
2016-12-16Fix various unit test compilation.Dominik Riebeling3-3/+3
There's now a dependency on Logger.h, add stub folder to includes to stub it. Change-Id: I1afdc6bd878182b03cb3c1f3538779eaa9f83f28
2016-08-15rbutil: add abort signal for bootloader install/uninstallCástor Muñoz4-0/+13
During the bootloader install/uninstall process, a signal is emitted when "Abort" button is pressed, the installers can attach this signal and cancel the process. Change-Id: I7f297b8031d7a2d93da0022081aaef03ef041baf
2016-08-15rbutil: show progress bar during bootloader uninstallCástor Muñoz5-1/+4
Useful for targets that needs multi-stage uninstall. On current targets (with Uninstall capability) the progress is updated to 100% when bootloader uninstall is successfully finished. Change-Id: I61be1c4f5cfc2d2f35fa5005962be9703888447d
2016-08-15rbutil: enable "done" signal on bootloader uninstallCástor Muñoz7-2/+8
This allows to implement multi-stage uninstallers. Should not affect the behaviour on current targets. Change-Id: Idf8aec5caf76cf9317798890d094a7cebdbcabec
2016-03-27Fix wrong typecast in test.Dominik Riebeling1-1/+1
Change-Id: I01acae450bcbb9c9e2b45d3ee62817b9256540c3
2016-03-27Improve handling of Qt5 subversions on OS X.Dominik Riebeling1-2/+10
Qt 5.6 on OS X requires targeting at least OS X 10.7, while for earlier versions we can still target 10.6. Handle this case and inform the user about the used target version. Change-Id: I78e426037e2966241ab9a63105e04e7366b469ed
2016-03-27Use Gestalt to get number of CPUs on OS X.Dominik Riebeling1-17/+17
MPProcessors has been deprecated with 10.7. When targeting 10.7 (required when building with Qt 5.6 on OS X) this causes a warning. Use Gestalt instead (Gestalt has been deprecated with 10.8, but when targeting 10.7 this doesn't cause a warning, and Gestalt is used for other values as well). Change-Id: Iaf82147ad47115e228f5c08f8198a6a7e92102a3
2016-03-27Fix compile warning on OS X.Dominik Riebeling1-1/+1
Current clang on OS X suggests placing parens so add them (-Wbitwise-op-parentheses enabled by default). Change-Id: I31b49386aa184fe27f72f7f58909b97524d96f44
2016-03-27Fix C++11 compile error with version strings.Dominik Riebeling2-2/+2
C++11 requires a space between literal and identifier. When compiling with Qt 5.6 on OS X C++11 support is automatically enabled, causing an error due to this. Change-Id: Ifbedc894a3cef23fc67ed1da75558e92e44d1077
2016-01-17Fix building with Qt 4.7.Dominik Riebeling1-1/+1
QUrl::isLocalFile() is available starting with Qt 4.8. We can safely check for a file:// url instead. Qt 4.8 dropped support for OS X 10.4 / 10.5. Since we're still supporting those we need to keep using Qt 4.7 on OS X. We might want to consider requiring at least 10.6 on OS X with the next major release of Rockbox Utility. Change-Id: I18998fe3c7a38773479bc7a1c32ca6e4966359e9
2016-01-17Fix uninstallation for mi4 based bootloader installs.Dominik Riebeling1-1/+1
On case sensitive systems (i.e. Linux) uninstalling the bootloader could fail when renaming the original bootloader file back. Fix this by using the case-resolved filename. Change-Id: I504656f70e7ccc7c0752f5252ddb14a625131f5b
2016-01-17Return process IDs in Utils::findRunningProcess().Dominik Riebeling2-22/+34
Rework to return mapping between (filtered) process names and their pid values (if running). Note that this functionality is not implemented for Linux (but as it's mostly intended to detect Itunes currently not needed on that platform). Change-Id: Ie348bfed46bda390f469c37635a96c75e5782616
2016-01-17Add color to trace debug output.Dominik Riebeling1-0/+2
Change-Id: Id2c90220ab695a8195af50cdea8437b49744f720
2016-01-17rbutil: fix writing to rbutil.log after bootloader uninstallCástor Muñoz1-0/+2
Change-Id: I722d4d5a83fc57bd8df33bfb23a0ab16e5ac4861
2016-01-17rbutil: fix resolveDevicename() on WindowsCástor Muñoz1-5/+6
Solves some eject issues (FSCTL_LOCK_VOLUMEN ioctl failures) ocurring when resolveDevicename() is ejecuted prior to ejectDevice(), tested with Qt5. Change-Id: Iff9240abd9d2f71bec1a1070f4ef194916e13b65
2015-12-20Handle mixed case in Windows USB ID detection.Cástor Muñoz1-3/+4
Windows XP might use mixed case in hardware ID (VID / PID) string. Cherry-picked from G#1221. Change-Id: I86fa63e050cd9b9de5a1beac65b81028e0f86a9d Signed-off-by: Dominik Riebeling <Dominik.Riebeling@gmail.com>
2015-12-20Fix and extend HttpGet unit test again.Dominik Riebeling1-2/+8
Fix wrong initialization (why did that compile?) and add check for progress signal. Change-Id: I83a193252afcf66acaa333750b0ac2ef83e38478
2015-12-18Fix compiling HttpGet unit test.Dominik Riebeling2-1/+12
Provide a stub for Logger class to make the test compile. Change-Id: I142eaf443c1f9026506100b82c9341e83b619ab6
2015-12-18Use random port for HttpGet unit tests.Dominik Riebeling1-24/+31
Make local HttpDaemon for testing use a random unused port instead of a fixed one. Avoids possible issues with the port chosen already being used on the local machine. Change-Id: I1ca10b7e5ce198350e14321afc50c36d78b1c0b4
2015-12-18Add documentation to HttpGet and remove unnecessary return value.Dominik Riebeling2-6/+33
HttpGet::getFile() always returns the same value. Remove the return value since it isn't necessary. Add some missing function documentation comments. Change-Id: I1cee242211272a996437b10dbc8de791b3fc3d67
2015-12-18Add support file:// URLs in HttpGet.Dominik Riebeling2-2/+26
QNetworkAccessManager can handle file:// URLs without additional work. Make HttpGet aware of that so you can now also use it to retrieve file:// URLs. Add a unit test for it as well. Change-Id: If64b57453460b70bca9e5b0c725bb78344617bcd
2015-12-18Fix static compilation with Qt5.Cástor Muñoz1-0/+4
Qt5 uses a different name for the accessibility plugin. Cherry-picked from G#1221. Change-Id: If32eafa053a176ba24b4595826593023ed808164 Signed-off-by: Dominik Riebeling <Dominik.Riebeling@gmail.com>