summaryrefslogtreecommitdiffstats
path: root/rbutil
AgeCommit message (Collapse)AuthorFilesLines
2021-12-24rbutil: Merge rbutil with utils folder.Dominik Riebeling494-154361/+0
rbutil uses several components from the utils folder, and can be considered part of utils too. Having it in a separate folder is an arbitrary split that doesn't help anymore these days, so merge them. This also allows other utils to easily use libtools.make without the need to navigate to a different folder. Change-Id: I3fc2f4de19e3e776553efb5dea5f779dfec0dc21
2021-11-27Update microtar users to new library APIAidan MacDonald1-6/+7
Change-Id: I8e74efb53b8a8c9a4d69b2a20024434e2868e4e0
2021-08-04Revert "rbutil: Remove done() signal from Themes Install window."Dominik Riebeling2-0/+4
The done() signal is acutally needed to indicate the installation being finished. Fixes installation being stuck after themes install. This reverts commit fb6840e57260b1da35924914d47731e06597afea. Change-Id: I9c1791e3ecfec992da40ff72b6969d80bbb0cd7f
2021-07-20jztool: add support for Shanling Q1 and Eros Qbootloader_shanlingq1_v1Aidan MacDonald9-225/+408
Change-Id: I8e93162d1a9d82e9d132219f2803b1856d24ae6c
2021-06-06jztool: add correct compiler flags for building on MacAidan MacDonald1-7/+15
Change-Id: Ic89b5a2e65754891fedd63fec1e7235ed424e5f9
2021-05-12jztool: Support new M3K bootloaderAidan MacDonald12-768/+433
Change-Id: Ia2d96893a9a5c77deb71c1fe32ae5a0585093f5b
2021-04-29jztool: portability fixes for MacAidan MacDonald2-8/+26
Change-Id: Id01ee4ff0222ebcd56764c90c9a211792aa0f69f
2021-04-23ipodpatcher: fix warning for apple stop sign constantJames Buren1-16/+16
Convert both instances of the apple stop sign constant to char array instances. This ensures sizeof will work as expected when applied to the constant. Change-Id: I8599f7b0a00031e944e654b12a0bc59309926807
2021-04-17jztool: New utility for installing a bootloader on FiiO M3KAidan MacDonald13-0/+1960
At present, this is just a command line tool for Linux only. Integrating this with the Rockbox utility and porting to other platforms should be straightforward; the README contains more information. Change-Id: Ie66fc837a02ab13c878925360cabc9805597548a
2021-02-05rbutil: Add a new entry for the Hifiwalker H2 v1.3 variantSolomon Peachy1-1/+14
Change-Id: I936aacd7c748be85a583a62b3026301ce0796041
2021-01-02rbutil: Update german translation.Dominik Riebeling1-630/+710
Change-Id: I032c25d4794786c417dc75d91f2cf05591c14579
2021-01-02rbutil: Rework action texts for ipod6g bootloader installation.Dominik Riebeling1-24/+24
The logging entries do word wrapping, so no need to add hard line breaks. Those will become problematic for translations and in some cases on UI scaling. Instead add an empty line after the header to make things clearer. Change-Id: Ib774b1ad77abcfa2f5955988f7756e3a510cd1be
2021-01-02rbutil: Remove unused function.Dominik Riebeling3-7/+0
Change-Id: I0ea5094610bcf5ccd9ef6c71a643867a0954dc96
2021-01-02rbutil: Fix some texts.Dominik Riebeling1-6/+6
Change-Id: Ia94dbcfb79d823863792637953f578a82ccdf4bb
2021-01-02rbutil: Modernize connect() to new pointer-to-member syntax.Dominik Riebeling5-30/+31
Change-Id: If737fe5a8f4ab9f83560511839fdc4ad8b187786
2021-01-02rbutil: Fix cleaning cache.Dominik Riebeling1-7/+1
As with calculating the size cleaning the cache folder needs to be recursive. Change-Id: I05a8e2287bcdf6ed53acde320cb5071e8ed04b91
2021-01-02rbutil: Fix cache size calculation.Dominik Riebeling3-6/+16
We're using Qt's caching mechanism since long, which uses subfolders, so we need to recursively traverse that to get the size of the cache folder. Change-Id: I8425016f60d0575013110e708b539833a8098246
2021-01-02rbutil: Add option to langstat to pass git hash.Dominik Riebeling1-5/+6
Don't always operate on the remote head, instead default to the local HEAD, and allow passing a hash to use for calculating statistics. Change-Id: I420308e66769689c1dfac56e19058b097a0533a2
2021-01-02rbutil: Add missing Q_OBJECT macro to PlayerBuildInfo.Dominik Riebeling1-0/+2
Needed to make translated strings actually get translated. Change-Id: I6ab6266c4444b6032a8b976b8219ace30907398d
2020-12-31bspatch: Fix the standalone buildSolomon Peachy1-1/+1
(broken by 1e12990) Change-Id: Ia572fe27f382fd3e00dfbf100b9f9bc34cdb9911
2020-12-14rbutil: Remove logo that isn't used anymore.Dominik Riebeling1-0/+0
Change-Id: I9a448c7ad71dfee6043e76794024c1b0c946b52f
2020-12-14rbutil: Always use svg icon for Window icon.Dominik Riebeling8-19/+0
Since we now have svg support enabled (and used) for all platforms we can simply use the svg one, and bring it in line with the rest of the icon. Change-Id: If99f1be0205de1a87eb727c33400811620d9876d
2020-12-14rbutil: Change style to Fusion on Windows.Dominik Riebeling1-0/+4
The default UI style has some issues with HiDPI support. Use the Qt built-in Fusion instead. This looks somewhat different to the native Windows UI, but works better on HiDPI displays. Change-Id: I25f1b038047a11da7492dfbfa1425874f070ab0b
2020-12-14rbutil: Improve HiDPI support.Dominik Riebeling1-1/+7
Since we embed a manifest file on Windows we also need to indicate HiDPI support in it. Otherwise it will only work partially. Change-Id: Ie330950a476047982a8f63ec764e5cd352411294
2020-12-10rbutil: Fix encoding for themes info data.Dominik Riebeling1-0/+3
The themes info data uses utf-8 encoding, while QSettings defaults to ASCII and uses escape sequences, resulting in non-ASCII characters being garbled. Use the correct encoding. Change-Id: Ibee58b51926f6d7c3885dead0b42579e21bfb1db
2020-12-08rbutil: Fix log strings in s5l bootloader installation.Dominik Riebeling1-8/+16
We can't use a ternary expression within the tr() function. While this initially might work as expected it completely breaks translating the actual string -- we need to use separate strings here, and replacing a single word in a sentence will also not work for translations. Change-Id: I556ff2a3bd0dc476b312a59c47d4e0dcd3b743e1
2020-12-08rbutil: Improve HiDPI support.Dominik Riebeling1-14/+23
Replace the Rockbox logo with an svg version. Since the file size (i.e. the page size in the svg) that isn't intended for use as icon we need to enable scaling, and since scaling the label content doesn't keep the aspect ratio we need to explicitly set the desired values. Notably improves representation on HiDPI monitors. Now only the player icons are still raster images. Change-Id: I03216391a4b0ac982b16f5bec2b48c073369a3f6
2020-12-05rbutil: Update changelog.Dominik Riebeling1-0/+14
Add changes that haven't been added yet. Change-Id: I90e1326e62bb121c7a1242ee76610faae745505c
2020-12-05rbutil: Fix autodetection messing up with multiple players.Dominik Riebeling1-10/+7
When multiple players are connected, and at least one of them has a USB ID that is shared between multiple targets the resulting list would be off. Fix that by avoiding to modify a list while iterating over it, that's usually not a good idea. Change-Id: I0c1fc5e1a3264f269de2d71c3a7f2b82877636ba
2020-12-05rbutil: Merge finding player by USB ID with PlayerBuildInfo.Dominik Riebeling10-160/+60
Remaining rework of player info data handling. Change-Id: I0e10cdff43e0c9fef43b3b9a30af81f1cd7c4853
2020-12-05rbutil: Rework handling of available voice languages.Dominik Riebeling9-74/+86
- Move Rockbox voice language names handling to PlayerBuildInfo, and handle it similarly to the rest of the device specific values. Rework internal handling to simplify things. - Enable language list from build server for installing prerendered voice files other than english. - Extend unit tests. Change-Id: I1a1a717fa4409fa965dabc86f52d52a4fc516315
2020-12-05rbutil: Make target list part of new player info.Dominik Riebeling5-66/+59
Also remove the unused cases. Change-Id: Ic53c12c68f9d62d9c3e4406641355893e137bcf7
2020-12-04rbutil: Add MIDI patchset to plugin data installation.Dominik Riebeling5-28/+29
Add installing the MIDI patchset, and subsequently rename from Game Files to Plugin Data Files. Change-Id: Ib71ce4c8992ffc9185d961a60296c9671ebc9709
2020-12-03rbutil: Convert RockboxInfo unit test to data driven QTest.Dominik Riebeling2-68/+100
Change-Id: Ic566f9be3532d327af4916605f0215da636ee7d6
2020-12-03rbutil: Update and fix unit tests.Dominik Riebeling3-24/+75
- Fix changed dependencies and provide real stubs. - Update to use QTest global data for test table, so individual test vector entries show up as individual tests. That way a single comparison failing doesn't make all appear as failed and provide better indication what went wrong. Change-Id: I69681c3acd5ceceb4c8ceb1feb341e90a65dd603
2020-12-03rbutil: Rework and merge player and build server info handling.Dominik Riebeling24-773/+791
Handling the data for players from rbutil.ini and the build-info data from the server is closely related. Splitting things up into different classes only creates tightly coupling, which is unnecessary, and the need to differentiate between them in the application. Merge both classes into a single one and rework handling so the application doesn't have to deal with two separate classes anymore. Furthermore, change URL templates to use new values from build-info instead of hard coding them. Change-Id: Ica550973ce23d1559110782add52bc214eba552d
2020-12-03rbutil: Get rid of configure_modelname in rbutil.ini.Dominik Riebeling5-68/+2
The target selection string used for configure is the same as the internally used player string, minus the (optional) variant suffix. Don't duplicate things, simply strip the suffix. Change-Id: Ic34bd5f933fab0d837adce0d0ae9c403868d720d
2020-11-27rbutil: Treat Aigo Eros clones as variant of it.Dominik Riebeling1-13/+19
Fixes installing those builds, since they relied on the broken buildserver_modelname. Also simplifies internal handling. Change-Id: I5b67b7d65ee2299e01ea4e009e47f93c3343911a
2020-11-27rbutil: Remove buildserver modelname string.Dominik Riebeling3-68/+0
This isn't needed anymore, and the only player it was actually used for were the 8MB modded Archos ones, for which the usage was broken. Change-Id: I2aa235113be2e6ae88973711bd8ee4734cbc266a
2020-11-27rbutil: Remove Archos 8MB modded players.Dominik Riebeling1-27/+2
The Archos Recorder has 2MB RAM and can be modded to 8MB. While we previously had separate builds for those the last release which it was built for is 3.4; installing for 8MB modded players was broken and installed the normal 2MB build. Since we never provided builds for other hardware mods (like Ondio backlight mod, h100 series RTC mod) there isn't much reason to do so for the 8MB mod. Furthermore, given that the current state is broken and nobody complained the number of users of the mod can be assumed to be very low, and people with a modded player also building Rockbox on their own. Change-Id: Ia200651773a2f5b58321299bad30d539fe1a5ada
2020-11-26rbutil: Remove duplicated enum entry.Dominik Riebeling5-6/+4
SystemInfo::PlatformName and Name actually retrieve the same value. That's not usefule, so remove one of both. Change-Id: I8ee429f099588e0e1e8129302542cd0f6f836203
2020-11-23rbutil: Fix wrong format string.Dominik Riebeling1-1/+1
Only caused a warning, but no need to pass format parameters if there is no format string. Change-Id: Ifed38d8af3881c40e8609ccda3786cea23a3bc2f
2020-11-23rbutil: Add support for installing daily builds.Dominik Riebeling1-0/+5
Change-Id: If6618a4b2b1b0a718374ed8bac6976c4775947e1
2020-11-23rbutil: Modernize connect() to new pointer-to-member syntax.Dominik Riebeling2-6/+6
Change-Id: I19f179907742092c970c27dd1bbf70f7e00fed76
2020-11-23rbutil: Fix selecting the previously selected build type.Dominik Riebeling1-11/+10
When starting Rockbox Utility select the same build type that was used during the previous run. This broke during refactoring, fix it. Change-Id: Ibbca3431cbfe65daedd3e5783e0940d83d1594a6
2020-11-22rbutil: Add support for installing daily builds.Dominik Riebeling4-1/+16
Change-Id: If2bb23adcbd4a441f18846515c609118da8c5b5e
2020-11-22rbutil: Remove Install Voice button from Accessibility tab.Dominik Riebeling3-112/+6
Installing the voice file is now done via the main installation. Change-Id: I431744467faaf1720b3c82d339a424d67c84e6e6
2020-11-22rbutil: Fix wrong section name in installation log.Dominik Riebeling1-2/+2
Change-Id: I7e65d5486298253add0a4a0b5f07d4c979bb2098
2020-11-22rbutil: Update Iriver h100 / h300 series bootloader paths.Dominik Riebeling1-3/+3
The patching code now requires the new version 8.0 bootloaders. Change-Id: I7bf26db2e0858523740c43e57863eb9480a93548
2020-11-22rbutil: Update Windows application icon.Dominik Riebeling1-0/+0
Bring it in line with the other icons and always show the same image, regardless of size. Change-Id: I93f562fad168975f58064fdd64c42874f496cce6