summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/gui/selectiveinstallwidget.cpp
AgeCommit message (Collapse)AuthorFilesLines
2020-11-19rbutil: Convert ServerInfo to singleton.Dominik Riebeling1-8/+8
Change-Id: I29d94eb6bae084754e5e3f337c41de8354ba123c
2020-11-15rbutil: Rework server info data handling.Dominik Riebeling1-1/+1
Return status as int, not as string, and provide a separate function for converting to string. This allows to filter based on the actual status, not a (localized) status string, which is more robust. Fix a regression that made players with missing status value show up as retired. Change-Id: I15f83ae0df484199b1b3b5b95069db8b4d425987
2020-11-14rbutil: Rework player configuration.Dominik Riebeling1-6/+6
Rename config entries and remove now unnecessary default value handling. Change-Id: I5c60ef9769fc01f45f45290dafffb80c1962e674
2020-11-14rbutil: Rework player configuration.Dominik Riebeling1-18/+18
- Split internal configuration into player specific and common parts. Always require passing the player for player specific data instead of implicitly assuming the currently selected one; only use the currently selected one if the player name is explicitly passed as empty. - Similarly adjust handling of server info data; prepare for splitting into build type specific values so the naming becomes cleaner. Change-Id: I894e694f83bd9fe2d22ad46b3f8f7df3e2c68033
2020-07-14rbutil: Handle the new Retired target status.Solomon Peachy1-2/+5
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
2019-10-31rbutil: extend game file installationFranklin Wei1-6/+34
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
2016-08-15rbutil: add abort signal for bootloader install/uninstallCástor Muñoz1-0/+2
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
2013-11-04Use cutelogger for Rockbox Utility internal trace.Dominik Riebeling1-17/+18
Change tracing from qDebug() to use cutelogger, which is available under the LGPL2.1. This allows to automatically add filename and line number to the log, and also provides multiple log levels. Change-Id: I5dbdaf902ba54ea99f07ae10a07467c52fdac910
2013-03-09Don't delete ZipInstaller instances directly.Dominik Riebeling1-3/+3
Schedule them for deletion instead of deleting them. That way pending events can still be handled before the main loop deletes them. Fixes crashes on the second download during installation. Change-Id: I7c718dbb0200a64d1aa3bbb6c2839282fb965dec
2013-01-27Update Qt includes for compatibility with Qt5.Dominik Riebeling1-1/+3
Change-Id: Ibe400700f6bce0335a2975c6d635e10ae940f932
2012-09-02Fix bootloader installation always being enable for Archos devices.Dominik Riebeling1-8/+11
Archos devices don't need a bootloader, but the automatic enabling of the bootloader installation didn't handle this case, making a first time installation impossible. Fix this by respecting the "none" bootloader case separately. Change-Id: I9b06348401f525c5447cf4ce061f2463083c0e61
2012-08-19Check environment before starting installation.Dominik Riebeling1-15/+14
The environment needs to be correct for other installations than main Rockbox as well. Change-Id: Icf626de63b58ba40f600fd095a254b6e7e9e46ee
2012-07-01Do some minor cleanup.Dominik Riebeling1-6/+6
- Move a GUI-only implementation class around. - Make some strings non-translatable which don't make sense translating. - Rename internal state in installation class. There is no current build anymore. Change-Id: I7384c5601de36bc48f858fe5c7b009653d439d94
2012-07-01Handle no selected themes properly.Dominik Riebeling1-1/+1
When installing themes without any themes selected show a notice in the log and continue instead of stopping. Change-Id: Ieeb03e4656b041ce1dda25b2c44b6b6f0aa0ca80
2012-07-01Install widget: fallback to development build.Dominik Riebeling1-47/+5
If neither an old selected build nor a release is available fallback to selecting the development build. Remove some old code that was not supposed to be be kept. Change-Id: I883535bd8e7981e68bc3fac3bcd5f375e1237242
2012-06-30Handle language change events in widgets.Dominik Riebeling1-0/+9
Change-Id: I54265e8c5da03e7d13217118f233effa8837f007
2012-06-26Rework Installation and remove Quick Start tab.Dominik Riebeling1-0/+552
The Quick Start tab turned out to be used a lot but not explaining what its functionality actually does, leading to various amount of confusion. The Quick Start tab and its functionality have been completely removed. As replacement the reworked Installation tab now includes both the entries from the old Installation tab (Bootloader and Rockbox) and the Extras tab (Fonts, Themes, Game files). Each of the items can be enabled or disabled individually, and the selection is saved in the configuration. The only exception is the bootloader option, since installing the bootloader is only needed once. To help with this the bootloader checkbox is automatically enabled if no Rockbox installation is found, and disabled if one is found. While it would be nicer to check if the bootloader is actually installed this is not possible for various players so the implementation simply relies on a Rockbox installation. This should also make it much easier to update an existing installation. Current limitations: - the selected themes are not saved. - it is not possible to detect if the target has the plugins that require additional game files prior to installation. Thus the "Game files" option is available for all targets but simply skipped if the plugins are not found. Change-Id: I1929bb7045e382fcbba431cca057d3121607d3a9