summaryrefslogtreecommitdiff
path: root/apt-pkg/install-progress.cc
Commit message (Collapse)AuthorAgeFilesLines
* force fancy progressbar redraw on window size changeDavid Kalnischkies2014-04-141-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).
* Add progressbar to "Dpkg::Progress-Fancy"Michael Vogt2014-03-271-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
* make fancy-progress fg/bg color configurableMichael Vogt2014-03-271-2/+6
| | | | | Add two new options: Dpkg::Progress-Fancy::Progress-{fg,bg} that allows customizing the colors in the dpkg fancy progress output.
* follow method attribute suggestions by gccDavid Kalnischkies2014-03-131-2/+2
| | | | | Git-Dch: Ignore Reported-By: gcc -Wsuggest-attribute={pure,const,noreturn}
* cleanup headers and especially #includes everywhereDavid Kalnischkies2014-03-131-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)
* warning: unused parameter ‘foo’ [-Wunused-parameter]David Kalnischkies2014-03-131-2/+2
| | | | | Reported-By: gcc -Wunused-parameter Git-Dch: Ignore
* warning: extra ‘;’ [-Wpedantic]David Kalnischkies2014-03-131-2/+2
| | | | | Git-Dch: Ignore Reported-By: gcc -Wpedantic
* correct some style/performance/warnings from cppcheckDavid Kalnischkies2014-01-161-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
* Merge branch 'debian/sid' into bugfix/bts731738-fancy-progessMichael Vogt2013-12-281-0/+1
|\ | | | | | | | | Conflicts: apt-pkg/install-progress.cc
| * Fix conffile prompt regression (LP: #1260297)Michael Vogt2013-12-121-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.
* | Merge remote-tracking branch 'origin/bugfix/bts731738-fancy-progess' into ↵Michael Vogt2013-12-281-2/+0
|\ \ | | | | | | | | | | | | | | | | | | bugfix/bts731738-fancy-progess Conflicts: apt-pkg/install-progress.cc
| * | first proof-of-concept for a fix for #731738Michael Vogt2013-12-221-1/+8
| |/
* | properly handle SIGWINCH in PackageManagerFancy againMichael Vogt2013-12-281-23/+42
| |
* | first proof-of-concept for a fix for #731738Michael Vogt2013-12-221-1/+8
|/
* Handle SIGWINCH in APT::Progress-Fancy=1Michael Vogt2013-12-061-7/+25
|
* small documentation updatesMichael Vogt2013-11-011-0/+4
|
* setup LINES in apt-pkg/install-progress.ccMichael Vogt2013-10-311-0/+5
|
* use StartDpkg() in PackageManagerProgressDeb822Fd as wellMichael Vogt2013-10-311-1/+1
|
* add new pid_t ExecFork(std::set<int> KeepFDs) to get rid of the super ugly ↵Michael Vogt2013-10-311-5/+1
| | | | APT::Keep-Fds hack and also add a new PackageManagerProgressFd::StartDpkg() progress state
* restore ABI and prepare next ABI via #if (APT_PKG_MAJOR >= 4 && ↵Michael Vogt2013-10-311-0/+22
| | | | APT_PKG_MINOR >= 13)
* fix install-progress locationMichael Vogt2013-10-221-2/+1
|
* move install-progress.{cc,h} to apt-pkgMichael Vogt2013-10-221-0/+306