summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/base/serverinfo.h
AgeCommit message (Collapse)AuthorFilesLines
2020-12-03rbutil: Rework and merge player and build server info handling.Dominik Riebeling1-71/+0
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-11-22rbutil: Add support for installing daily builds.Dominik Riebeling1-0/+2
Change-Id: If2bb23adcbd4a441f18846515c609118da8c5b5e
2020-11-22rbutil: Move Manual installation to main tab.Dominik Riebeling1-3/+0
The manual tab didn't show the manual, so it's clearer to have that as part of the main tab. Also fixes the wrong manual getting downloaded for releases. Change-Id: I5d4a287102af037f94f0de8464e025d9ff5f76ed
2020-11-19rbutil: Convert ServerInfo to singleton.Dominik Riebeling1-7/+14
Change-Id: I29d94eb6bae084754e5e3f337c41de8354ba123c
2020-11-19rbutil: Rework server info data handling.Dominik Riebeling1-2/+0
Remove map that isn't used anymore. Change-Id: I771a98c9b64f3dac36e71041c566b89fbea51e06
2020-11-15rbutil: Rework server info data handling.Dominik Riebeling1-2/+6
Don't create our own in-memory map with server data. Instead use the configuration file retrieved from the download server, and do the resolve / replacement on the fly. Simplifies things, and prepares for cleaner handling for different build types. Change-Id: Ifd027b21486e402fda3df9c2f7a30264651f733d
2020-11-14rbutil: Rework player configuration.Dominik Riebeling1-2/+0
Rename config entries and remove now unnecessary default value handling. Change-Id: I5c60ef9769fc01f45f45290dafffb80c1962e674
2020-11-14rbutil: Rework player configuration.Dominik Riebeling1-4/+2
- 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
2012-06-18Move constructing manual URL to ServerInfo class.Dominik Riebeling1-0/+3
Change-Id: I4d2605b2389b4378e8311fc82057974e0eb238e6
2012-06-17Make ServerInfo parsing slightly more robust.Dominik Riebeling1-1/+1
- Don't assume the list of release targets to be the same as the list of release-candidate targets. - Don't try to construct a download URL for releases with an empty release version. Change-Id: Icc3098a9db9e3d00261c32f4b9c2999ecc716380
2012-06-17Read release candidate information from build-info.Dominik Riebeling1-0/+2
Change-Id: I73ac0922f25dd247588f945eba1e78f4026d747d
2012-06-17Move download URL construction to ServerInfo.Dominik Riebeling1-0/+2
Centralize creating the URLs so it's not duplicated in two places. This also allows to change the representation on the server more easily, since it only requires changes in one place. Currently only changes URLs for Rockbox builds. Change-Id: I87277cd61f8b164bdbcd914c9873d674661a786c
2012-06-03Update for single build-info file.Dominik Riebeling1-6/+3
The server now provides a single build-info file (instead of two separate ones for development builds and stable releases). Update to use the new file, since it simplifies things. Change-Id: If3b949f4d78eecb54e47622da887f51005f6d155
2012-05-19Remove "daily builds" from Rockbox Utility.Dominik Riebeling1-1/+0
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
2011-10-19Remove svn keyword lines from sources.Dominik Riebeling1-1/+0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30806 a1c6a512-1295-4272-9138-f99709370657
2010-01-31Extend SystemInfo to allow distinguishing between platforms and variants.Dominik Riebeling1-2/+0
Doing so removes the need to loop over all targets to fill in values for target variants in ServerInfo. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24427 a1c6a512-1295-4272-9138-f99709370657
2010-01-24rbutil: split RbSettings. use Stable/unstable status from server.Dominik Wenger1-0/+67
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24331 a1c6a512-1295-4272-9138-f99709370657