path: root/rbutil/rbutilqt/base/bootloaderinstallfile.cpp
AgeCommit message (Collapse)AuthorFilesLines
2016-08-15rbutil: show progress bar during bootloader uninstallCástor Muñoz1-0/+1
Useful for targets that needs multi-stage uninstall. On current targets (with Uninstall capability) the progress is updated to 100% when bootloader uninstall is successfully finished. Change-Id: I61be1c4f5cfc2d2f35fa5005962be9703888447d
2013-11-04Use cutelogger for Rockbox Utility internal trace.Dominik Riebeling1-7/+8
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
2012-04-26Check for bootloader file on device before copying.Dominik Riebeling1-3/+16
QFile::copy() doesn't overwrite an already existing file. This can lead to bootloader installation trying to place a new file on the player but failing to do the actual copy if the file already exists. Since overwriting an already existing file might be unexpected by the user error out in this case and notify the user. Change-Id: I5ffaf2f1344271ea2bad9e3232234826552385ec
2011-12-20Remove duplicate include. Thanks to Jean-Louis Biasini for spottin this.Frank Gevaerts1-1/+0
git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2011-10-19Remove svn keyword lines from sources.Dominik Riebeling1-1/+0
git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2011-06-25Fix bootloader uninstallation on Gigabeat F / X.Dominik Riebeling1-1/+1
The "file" bootloader installation method usually can uninstall the bootloader. Some upgrade methods (like the Iaudio players) remove the bootloader file placed on the player after upgrading so those can't uninstall the bootloader. Instead of rejecting uninstallation for all players using this method check the current bootloader and only display an error if no suitable bootloader is found (which would happen in the Iaudio case). git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2010-04-02Move utils.cpp functions into separate class and split it up.Dominik Riebeling1-10/+10
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-03-15Fix bootloader files vanishing after installation (FS#11086).Dominik Riebeling1-1/+1
QTemporaryFile creates temporary files, so they might get removed even if they are renamed. Copy the downloaded temporary file instead. git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2009-08-09Clean up bootloader installation debug output a bit.Dominik Riebeling1-6/+6
git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2009-01-08Add some more bootloader install progress messages and call processEvents() ↵Dominik Riebeling1-0/+1
more often before performing player disk accesses. git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2008-10-12Separate basic functionality from GUI parts by moving it into a separate ↵Dominik Riebeling1-0/+145
folder. Some files still need to get cleaned up prior moving them too. git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657