summaryrefslogtreecommitdiffstats
path: root/tarWrite.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2016-03-31Improve progress bar handling for backup / restore / image flashEthan Yonker1-1/+18
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-06-01Fix double free crash during encrypted backupsEthan Yonker1-1/+2
Calling flush_libtar_buffer would inadvertantly set buffer_status when no buffer is currently allocated. Later when we called free_libtar_buffer, this would attempt to free the write_buffer and cause a crash. This patch checks the value of buffer_status in flush_libtar_buffer to prevent us from freeing the buffer when it is not necessary. Change-Id: Ic5b462fe5881be6e9c6fcc355b369bc90477f737
2013-10-24Update licenses to all matchDees Troy1-17/+12
Change-Id: I3be70a897e563658736b2dec3a9ea2697b69b225
2013-10-22Update licenses to all matchDees Troy1-17/+12
2013-06-22Support encrypted backup filesDees_Troy1-1/+6
Also includes features merged from: Update twrpTar by kokotas Revised function entryExists(). Added function to get archive's uncompressed size. Added option to exclude item(s) from the archive. Revised forks() http://review.teamw.in/#/c/590/ Change-Id: I01fa2c81643161984eff2625247af75990684bd9
2013-04-04Move all AOSP code out of recovery binaryDees_Troy1-2/+2
Improves license compatibility between GPL and Apache Change-Id: I2b165aa575bb6213af6b07936f99610c113443f0
2013-02-07Add write buffer for tar writesDees_Troy1-0/+92
update fuse to 2.9.2 catch return from unlink so that we don't print error messages when things work Change-Id: I1115039a0fa5d9d73f78ef1abd79755d7ffd9d96