summaryrefslogtreecommitdiff
path: root/apt-pkg/install-progress.cc
AgeCommit message (Collapse)AuthorFilesLines
2014-04-14force fancy progressbar redraw on window size changeDavid Kalnischkies1-12/+23
We always reacted on the size change, but the bar is only redraw if the precentage changes, which can take quiet a while in big upgrades, so with a bit of refactoring we can now call for a redraw immediate to fix this. This refactor also helps in avoiding obscure pitfalls clangs static analyser was complaining about (namely failure of ioctl resulting in garbage values in the struct).
2014-03-27Add progressbar to "Dpkg::Progress-Fancy"Michael Vogt1-11/+52
A text progressbar is now displayed in the Dpkg::Progress-Fancy mode. It can be turned off via the apt option Dpkg::Progress-Fancy::Progress-Bar=false
2014-03-27make fancy-progress fg/bg color configurableMichael Vogt1-2/+6
Add two new options: Dpkg::Progress-Fancy::Progress-{fg,bg} that allows customizing the colors in the dpkg fancy progress output.
2014-03-13follow method attribute suggestions by gccDavid Kalnischkies1-2/+2
Git-Dch: Ignore Reported-By: gcc -Wsuggest-attribute={pure,const,noreturn}
2014-03-13cleanup headers and especially #includes everywhereDavid Kalnischkies1-12/+18
Beside being a bit cleaner it hopefully also resolves oddball problems I have with high levels of parallel jobs. Git-Dch: Ignore Reported-By: iwyu (include-what-you-use)
2014-03-13warning: unused parameter ‘foo’ [-Wunused-parameter]David Kalnischkies1-2/+2
Reported-By: gcc -Wunused-parameter Git-Dch: Ignore
2014-03-13warning: extra ‘;’ [-Wpedantic]David Kalnischkies1-2/+2
Git-Dch: Ignore Reported-By: gcc -Wpedantic
2014-01-16correct some style/performance/warnings from cppcheckDavid Kalnischkies1-1/+1
The most "visible" change is from utime to utimensat/futimens as the first one isn't part of POSIX anymore. Reported-By: cppcheck Git-Dch: Ignore
2013-12-28Merge branch 'debian/sid' into bugfix/bts731738-fancy-progessMichael Vogt1-0/+1
Conflicts: apt-pkg/install-progress.cc
2013-12-28Merge remote-tracking branch 'origin/bugfix/bts731738-fancy-progess' into ↵Michael Vogt1-2/+0
bugfix/bts731738-fancy-progess Conflicts: apt-pkg/install-progress.cc
2013-12-28properly handle SIGWINCH in PackageManagerFancy againMichael Vogt1-23/+42
2013-12-22first proof-of-concept for a fix for #731738Michael Vogt1-1/+8
2013-12-22first proof-of-concept for a fix for #731738Michael Vogt1-1/+8
2013-12-12Fix conffile prompt regression (LP: #1260297)Michael Vogt1-1/+1
This fixes a regression in the conffile prompt for the progress-fd and adds a testcase to ensure this does not regress again.
2013-12-06Handle SIGWINCH in APT::Progress-Fancy=1Michael Vogt1-7/+25
2013-11-01small documentation updates0.9.13_exp1Michael Vogt1-0/+4
2013-10-31setup LINES in apt-pkg/install-progress.ccMichael Vogt1-0/+5
2013-10-31use StartDpkg() in PackageManagerProgressDeb822Fd as wellMichael Vogt1-1/+1
2013-10-31add new pid_t ExecFork(std::set<int> KeepFDs) to get rid of the super ugly ↵Michael Vogt1-5/+1
APT::Keep-Fds hack and also add a new PackageManagerProgressFd::StartDpkg() progress state
2013-10-31restore ABI and prepare next ABI via #if (APT_PKG_MAJOR >= 4 && ↵Michael Vogt1-0/+22
APT_PKG_MINOR >= 13)
2013-10-22fix install-progress locationMichael Vogt1-2/+1
2013-10-22move install-progress.{cc,h} to apt-pkgMichael Vogt1-0/+306