path: root/rbutil/rbutilqt/base/systeminfo.h
AgeCommit message (Collapse)AuthorFilesLines
2020-12-05rbutil: Merge finding player by USB ID with PlayerBuildInfo.Dominik Riebeling1-51/+0
Remaining rework of player info data handling. Change-Id: I0e10cdff43e0c9fef43b3b9a30af81f1cd7c4853
2020-12-05rbutil: Rework handling of available voice languages.Dominik Riebeling1-3/+0
- 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 Riebeling1-12/+0
Also remove the unused cases. Change-Id: Ic53c12c68f9d62d9c3e4406641355893e137bcf7
2020-12-03rbutil: Rework and merge player and build server info handling.Dominik Riebeling1-44/+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-12-03rbutil: Get rid of configure_modelname in rbutil.ini.Dominik Riebeling1-1/+0
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: Remove buildserver modelname string.Dominik Riebeling1-1/+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-26rbutil: Remove duplicated enum entry.Dominik Riebeling1-1/+0
SystemInfo::PlatformName and Name actually retrieve the same value. That's not usefule, so remove one of both. Change-Id: I8ee429f099588e0e1e8129302542cd0f6f836203
2020-11-22rbutil: Add voice installation to main widget.Dominik Riebeling1-2/+3
Add checkbox for installing the prerendered voice file to the main install widget. Current limitations: - only english for now. The available languages are available from the build server but are not yet taken into account. - only for releases. This is the same limitations we had before. We do have voices for daily builds, but that requires adding daily builds again (those have been removed some time back.) - Old voice installation dialog still present. Change-Id: Ia6443b0f15365196df86cc1b64d5e043dff70c4c
2020-11-22rbutil: Use pattern replacement for SystemInfo build type.Dominik Riebeling1-8/+11
Use pattern replacement for lookup instead of expanded values. Will allow simplifying things later for better handling of different build types. Change-Id: Iaad67a6c8654d27c3206cf95a379acab169565bc
2020-11-15rbutil: Rework server info data handling.Dominik Riebeling1-0/+1
Allow constructing release candidate URL from configuration the same way we construct the URL for releases. Note that the server path used does not exist, taken from old release candidate builds not available anymore. Change-Id: I7332f08df05ed39724b4900556aaa1f5e0ba463b
2020-11-14rbutil: Rework player configuration.Dominik Riebeling1-12/+12
Rename config entries and remove now unnecessary default value handling. Change-Id: I5c60ef9769fc01f45f45290dafffb80c1962e674
2020-11-14rbutil: Rework player configuration.Dominik Riebeling1-1/+4
- 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
2019-10-31rbutil: extend game file installationFranklin Wei1-0/+5
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
2012-10-06Allow USB IDs to be non-unique.Dominik Riebeling1-1/+1
When retrieving USB IDs create a list of players matching to a USB ID instead of assuming only one player. This prevents non-unique IDs overwriting each other and will be used for improved autodetection later. Currently only the first ID is used during detection, and no additional IDs have been added yet. Change-Id: Ieac5594108bae708e364bd2c8df88f61fcdcbdcd
2012-06-26Show player picture left of device configuration.Dominik Riebeling1-0/+1
After shrinking the size of the Rockbox logo shown and making the selected device display two lines there is now enough room to also show an icon of the player. The icon is scaled depending on the application font size, so for setups configured with a larger font it still should show up in a reasonable size. Change-Id: I8f62f3292c62f820309157db73741b57fd6371ef
2012-06-03Update for single build-info file.Dominik Riebeling1-2/+1
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-19Show nicer language names in voice creation dialog.Dominik Riebeling1-1/+1
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-01Bootloader installation: set file filter.Dominik Riebeling1-0/+1
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
2011-10-19Remove svn keyword lines from sources.Dominik Riebeling1-1/+0
git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2011-02-04Replace list of languages with map.Dominik Riebeling1-4/+4
- Use ISO codes as keys for voice languages instead of enumeration. - Instead of trying to select a suitable voicefile language from the UI language use the ISO codes stored as UI language and match against the mapping. - Always store the selected UI language. Fixes the voicefile creation language lookup to fail if the language used is the system language. git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2010-06-07Distinguish between release and current build when installing fonts.Dominik Riebeling1-2/+3
As with the voice file installation changed in r26637 the same issue exists for fonts. While the fonts package rarely changes and therefore this shouldn't have had a negative impact in the past use the correct font package anyway. git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2010-06-06Sort rbutil.ini general section and rename voice_url for clarity.Dominik Riebeling1-1/+1
git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2010-06-06Distinguish between release and current build when installing voice files.Dominik Riebeling1-0/+1
Check the installed Rockbox and install release voice file if a release is found. Fixes wrong voice file getting installed for releases, which especially showed up with the recent lang file cleanup. This is likely to be the cause for FS#11362. git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2010-06-02Move constructing the themes info download link to rbutil.ini.Dominik Riebeling1-0/+1
Instead of constructing the download link with fixed script name put a template into the system info file. That way changing the download link doesn't require changing the code anymore. git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2010-03-01Refactor device tree setup a bit.Dominik Riebeling1-4/+0
- reorder value retrieval (display names etc) to cut down the number of necessary accesses. While this is not critical it cuts down the noise generated in the trace noticably. - match the old target by its internal name instead of the display name. - remove two access functions in SystemInfo that are not really needed anymore. Accessing the values via platformValue() is much more logical and in line with the rest of the value accesses. - try to scroll to the selected item in the device list after setup and detection. git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2010-02-12Fix problems with platform retrieval.Dominik Riebeling1-1/+3
- handle disabled platforms also for for variant and base groups. - make variant detection more strict to prevent variants that are a substring of other variants to match. Happened e.g. for iriverh10 and iriverh100. git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2010-02-04Add option to show disabled targets in the configuration dialog.Dominik Riebeling1-0/+1
Note that disabled targets support is not intended for use by end users. This is to make development (and testing of svn) easier and should get disabled for releases. git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2010-01-31Extend SystemInfo to allow distinguishing between platforms and variants.Dominik Riebeling1-3/+10
Doing so removes the need to loop over all targets to fill in values for target variants in ServerInfo. git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2010-01-24rbutil: split RbSettings. use Stable/unstable status from server.Dominik Wenger1-0/+91
git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657