summaryrefslogtreecommitdiffstats
path: root/twrpTarMain/twrpTarMain.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2016-03-31Improve progress bar handling for backup / restore / image flashEthan Yonker1-4/+46
The progress bar will now be updated during image backups, restores and during image flashing (except for sparse images which will require significant changes to libsparse, and except for mtd nand using flash_utils). The progress bar will now be updated mid-file for file systems (tar) so the user will see changes even during large file backup / restore. Add a new progress tracking class to simplify handling of progress bar updates. The class will only update the progress bar 5 times a second to reduce the CPU load from updating the GUI frequently which does affect backup times. Change-Id: Iff382faef3df1f86604af336c1a8ce8993cd12c5
2015-10-15Fix up twrpTarEthan Yonker1-1/+2
Change-Id: I11a8f77b39a6f12aca6157c9aa76c34ef48c4b9f
2014-07-09Track backup and restore progressEthan Yonker1-2/+3
Track backup and restore progress based on the sizes of the files as they are being added to the tar backup file. Update the progress bar based on the sizes of the files. Change-Id: Idf649efa1db3e91830b4b2add86203a3f30042ff
2014-03-31Remove deprecated tar exclude functionalityMatt Mower1-4/+0
twrpDU::check_skip_dirs() handles skipped folders now. Everywhere twrpTar::setexcl() is being used to exclude files eventually calls createTarFork(), which in turn calls Generate_TarList(), which checks check_skip_dirs(). Change-Id: Ibbc4eb2eb89863ccb2a15f5a3b5092fb10fcbcc0
2014-02-12Add twrpTar binaryEthan Yonker1-0/+164
Change-Id: I9db1aac350cd2ca02cceccc249ebd2f0b3c3c671