path: root/rbutil/rbutilqt/themesinstallwindow.cpp
AgeCommit message (Collapse)AuthorFilesLines
2020-11-14rbutil: Rework player configuration.Dominik Riebeling1-1/+1
Rename config entries and remove now unnecessary default value handling. Change-Id: I5c60ef9769fc01f45f45290dafffb80c1962e674
2020-11-14rbutil: Rework player configuration.Dominik Riebeling1-1/+1
- 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-10-29rbutil: More Qt6 compatibility.Dominik Riebeling1-0/+1
Qt6 doesn't contain QTextCodec anymore but instead provides it in the optional core5compat module. Change-Id: Ia45985a32df3826faf041981b8935c839946e5c9
2013-11-04Use cutelogger for Rockbox Utility internal trace.Dominik Riebeling1-17/+17
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-01-27Update Qt includes for compatibility with Qt5.Dominik Riebeling1-1/+2
Change-Id: Ibe400700f6bce0335a2975c6d635e10ae940f932
2013-01-27Themes Window: don't set cache folder on each request.Dominik Riebeling1-16/+15
The Themes Window reuses the download object for getting preview images. Since the object is reused it isn't necessary to set the cache path on each network request. Change-Id: Ibc531e09ad19ede3cab7326d9230bd5188710d98
2013-01-13Remove Rockbox Utility Offline Mode.Dominik Riebeling1-2/+0
Offline Mode was intended to allow performing an installation without network access. However, to get the required files cached the same installation has to be performed with network access, which is a rather strange prerequisite. A better way would be a way to direct Rockbox Utility to some local "repository" that holds the required files. Furthermore, Offline Mode hasn't been tested since long and is likely to be broken since the caching mechanism has been extended. For now remove this functionality. As far as I know it's been rarely used (if at all) anyway. Change-Id: Ib2af4892708e0440bd0a7940c131f04182ddb39a
2012-08-19Themes Window: do not download themes information multiple times.Dominik Riebeling1-5/+9
Change-Id: Ic8011ec3f45d4313436a5a49a3a0f604f8931840
2012-07-01Handle no selected themes properly.Dominik Riebeling1-1/+2
When installing themes without any themes selected show a notice in the log and continue instead of stopping. Change-Id: Ieeb03e4656b041ce1dda25b2c44b6b6f0aa0ca80
2012-06-26Separate select and install parts in themes install window.Dominik Riebeling1-5/+22
Allow using the themes installation dialog as selection dialog separately from installing themes. For this the installation is now triggered separately and can be told to not to do the installation on Ok button. In this case the dialog is selection only, and the Ok button is changed to Select. The installation itself is still done in the class but started by calling the install() method separately. Change-Id: I856db8204788302b2b539e6d8283f73cb354f033
2012-04-28Remove useless operation.Dominik Riebeling1-1/+0
Change-Id: I378be5202d96cf6b44fb448cb7e620465ff36961
2011-10-19Remove svn keyword lines from sources.Dominik Riebeling1-1/+0
git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2011-10-02Rockbox Utility: listen to translation change events.Dominik Riebeling1-0/+10
When changing the language don't require a restart anymore. Instead listen to the appropriate changeEvent and retranslate the UI. Designer generated UI files already provide such a function. git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2010-06-06Move retrieval of revision and release numbers to RockboxInfo class.Dominik Riebeling1-12/+2
This allows reusing retrieval for upcoming distinguishing between release and current voice files. git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2010-06-06Transmit installed build revision and release version to theme site.Dominik Riebeling1-0/+17
To allow the theme site handling different versions of the theme syntax transmit the revision number and release number (whatever applies) to the server. A later update to the theme site can then return a theme list with themes compatible, and include the correct download links. git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2010-06-02Move constructing the themes info download link to rbutil.ini.Dominik Riebeling1-4/+4
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-04-02Move utils.cpp functions into separate class and split it up.Dominik Riebeling1-1/+1
Move class-less functions in utils.cpp into a new Utils class and make the old functions static. This prevents clashes with system C functions. Rename some functions to avoid macro problems (check() is a macro on OS X). Split out the RockboxInfo class into a separate file. git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2010-01-24rbutil: split RbSettings. use Stable/unstable status from server.Dominik Wenger1-5/+6
git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2010-01-10Revert r24174 following the discussion on mailing-listTomer Shalev1-3/+3
git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2010-01-03rbutil: Fix some messagesTomer Shalev1-3/+3
git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2010-01-03rbutil: Explicitly set some widgets layout direction to LTRTomer Shalev1-0/+1
git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2009-10-31FS#10748 - rbutil: Explicitly override GUI layout direction setting for some ↵Tomer Shalev1-0/+1
widgets git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2009-05-19Clean up and improve themes install window debug messages.Dominik Riebeling1-16/+17
git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2009-05-09rbutil: make RbSettings a static class. (FS#10183 with improvements)Dominik Wenger1-10/+11
git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2009-05-02Cleanup and un-gui ZipInstaller class:Dominik Riebeling1-1/+5
- Use signals for updating the progress logger from ZipInstaller class. - Move ZipInstaller class to base folder as it doesn't rely on QtGui anymore. - cleanup debugging output a bit. git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2009-05-02Clean up ProgressLogger state handling:Dominik Riebeling1-5/+5
- use better names for member functions - don't emit aborted() when exiting a successful log git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2009-04-29Completely rework RbSettings class.Dominik Riebeling1-10/+10
- use a single member function for accessing a settings value. - use an enum to figure the correct value in the settings file instead of functions. - return the settings value as QVariant instead and leave converting to the caller. - accept QVariant as value when setting values. git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2009-04-27Fix the includes I forgot when renaming the ZipInstaller class file.Dominik Riebeling1-1/+1
git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2009-04-27Qt always assumes ini files to use Latin1 encoding but the theme site uses ↵Dominik Riebeling1-7/+14
utf-8. Explicitly convert texts displayed to the user. Fixes non-ascii characters showing up incorrectly. Replace some HTML entities for the themes list as that isn't parsed as HTML. git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2009-04-27Trim description text before displaying and display newlines as line breaks.Dominik Riebeling1-1/+3
Trim themes titles before displaying in the list to remove stray whitespace. git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2009-04-21Invalidate preview image cache when updating to prevent a resize event ↵Dominik Riebeling1-0/+1
repainting the old image before the new image is downloaded. git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2009-03-31Rename ThemeInstall class files to actually match the class name.Dominik Riebeling1-0/+335
git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657