summaryrefslogtreecommitdiff
path: root/apt-pkg
Commit message (Collapse)AuthorAgeFilesLines
* add check when sources.list changedMichael Vogt2013-11-262-5/+29
|
* small documentation updatesMichael Vogt2013-11-013-2/+7
|
* setup LINES in apt-pkg/install-progress.ccMichael Vogt2013-10-311-0/+5
|
* use StartDpkg() in PackageManagerProgressDeb822Fd as wellMichael Vogt2013-10-312-2/+2
|
* add new pid_t ExecFork(std::set<int> KeepFDs) to get rid of the super ugly ↵Michael Vogt2013-10-315-32/+43
| | | | APT::Keep-Fds hack and also add a new PackageManagerProgressFd::StartDpkg() progress state
* move pty magic into its own functionsMichael Vogt2013-10-312-88/+97
|\
| * move pty stuff into its own functionMichael Vogt2013-10-312-79/+97
| |
* | fix some more ABI issues, abicheck is happy nowMichael Vogt2013-10-312-1/+10
| |
* | restore ABI and prepare next ABI via #if (APT_PKG_MAJOR >= 4 && ↵Michael Vogt2013-10-316-7/+93
| | | | | | | | APT_PKG_MINOR >= 13)
* | extract getDpkgExecutable() and DPkgPM::BuildPackagesProgressMap() out of ↵Michael Vogt2013-10-252-62/+77
| | | | | | | | the monster long pkgDPkgPM::Go()
* | make the main loop a while() instead of a for() as I find this (much) easier ↵Michael Vogt2013-10-241-2/+3
| | | | | | | | to read this way)
* | Merge remote-tracking branch 'upstream/debian/sid' into ↵Michael Vogt2013-10-227-323/+450
|\ \ | | | | | | | | | | | | | | | | | | | | | feature/install-progress-refactor Conflicts: apt-pkg/deb/dpkgpm.cc apt-pkg/makefile
| * | fix failing ./test/integration/test-disappearing-packages (thanks Donkult) - ↵Michael Vogt2013-10-221-14/+5
| | | | | | | | | | | | ported from the mvo/feature/install-progress-refactor branch
| * | Merge remote-tracking branch 'mvo/feature/upgrade-api' into debian/sidMichael Vogt2013-10-227-323/+450
| |\ \ | | |/ | |/|
| | * rename FORBID_NEW_INSTALL_PACKAGES to FORBID_INSTALL_NEW_PACKAGESMichael Vogt2013-10-059-57/+89
| | |\
| | * | Move ListUpdate/AquireUpdate into update.{cc,h}Michael Vogt2013-10-055-106/+150
| | | | | | | | | | | | | | | | | | | | This moves the ListUpdate/AquireUpdate out of the "catch-all" algorithm.{cc,h} file into its own update.{cc,h}
| | * | * move upgrade releated code into upgrade.{cc,h}Michael Vogt2013-10-055-255/+300
| | | | | | | | | | | | | | | | | | | | | | | | The upgrade releated code is moved into upgrade.{cc,h} and all pkg*Upgrade* prototypes are included in algorihms.h to avoid breaking API (unless build with APT_9_CLEANER_HEADERS).
| | * | cleanup upgrade API some more (thanks for the feedback from David)Michael Vogt2013-10-052-14/+21
| | | |
| | * | improve the API for Upgrade()Michael Vogt2013-09-182-10/+40
| | | |
| * | | use std::string instead of char* in pkgDPkgPM::ProcessDpkgStatusLine()Michael Vogt2013-10-181-24/+24
| | | |
| * | | reshuffle the pkgDPkgPM::ProcessDpkgStatusLine() some more to make it more ↵Michael Vogt2013-10-181-77/+91
| | | | | | | | | | | | | | | | robust
| * | | reshuffle dpkgpm.cc code a bit moreMichael Vogt2013-10-181-28/+40
| | | |
| * | | add APT::String::Strip(), start cleanup of ProcessDpkgStatusLineMichael Vogt2013-10-183-6/+51
| | | |
* | | | fix failing ./test/integration/test-disappearing-packages (thanks Donkult!)Michael Vogt2013-10-221-4/+4
| | | |
* | | | use Pkg.FullName() in disappearedPkgs and remove duplicated checkMichael Vogt2013-10-221-11/+2
| | | |
* | | | fix install-progress locationMichael Vogt2013-10-223-6/+3
| | | |
* | | | move install-progress.{cc,h} to apt-pkgMichael Vogt2013-10-223-2/+446
| | | |
* | | | restore binary compatiblity with the pkgPackageManager interfaceMichael Vogt2013-10-213-11/+35
| | | |
* | | | fix apt output ordering and update test to match the new human friendly ↵Michael Vogt2013-10-211-5/+5
| | | | | | | | | | | | | | | | messages that include the architecture
* | | | move iprogress.{cc,h} to private-progress.{cc,h} until its fully stableMichael Vogt2013-10-213-332/+2
| | | |
* | | | re-add missing APT::String::StripMichael Vogt2013-10-185-5/+36
| | | |
* | | | merged debian/sidMichael Vogt2013-10-181-130/+127
| | | |
* | | | cleanupMichael Vogt2013-10-183-35/+74
| | | |
* | | | ensure that short-name -> long-name detection for dpkg-status works for ↵Michael Vogt2013-10-171-1/+4
| | | | | | | | | | | | | | | | reinstalls too
* | | | Merge branch 'debian/sid' into feature/install-progress-refactorMichael Vogt2013-10-172-10/+37
|\| | | | | | | | | | | | | | | | | | | Conflicts: apt-pkg/deb/dpkgpm.cc
| * | | fix broken clean when apt was finished and ensure that terminal progress is ↵Michael Vogt2013-10-172-9/+20
| | | | | | | | | | | | | | | | updated when a new dpkg-loop is entered in dpkgpm.cc
| * | | tests, do not send pkgname with arch via the status-fdMichael Vogt2013-10-151-1/+1
| | | |
| * | | Merge remote-tracking branch 'upstream/debian/sid' into bugfix/bts-726156-2Michael Vogt2013-10-151-3/+3
| |\ \ \
| | * | | fix progress-segfault in case of dpkg errors/promptsDavid Kalnischkies2013-10-141-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Errors and conffile prompts have a fourth information piece, which the "old" code access which isn't provided by the "new" one. This isn't checking if the messages are really well-formed, so it could still segfault on misformed messages, but this code needs more work anyway, so one step at a time. Closes: 726047
| | * | | add missing _() around the new "Progress" stringMichael Vogt2013-10-111-1/+1
| | | | |
| * | | | fix logic for finding what package dpkg means in the --status-fd and only ↵Michael Vogt2013-10-151-4/+19
| |/ / / | | | | | | | | | | | | send out short packagenames
* | | | re-add APT::Keep-Fds:: for the dpkg status-fd in dpkgpm.cc as we always need ↵Michael Vogt2013-10-143-15/+18
| | | | | | | | | | | | | | | | this
* | | | rename APT::Progress::Packagemanager Started->Start, Finished->Stop to match ↵Michael Vogt2013-10-143-17/+14
| | | | | | | | | | | | | | | | pkgAcquireStatus
* | | | refactor writing to WriteToStatusFd()Michael Vogt2013-10-142-14/+19
| | | |
* | | | add APT::Progress::PackageManager::Pulse()Michael Vogt2013-10-132-3/+9
| | | |
* | | | move the status-fd progress reporting out of the pkgDPkgPM class, at this ↵Michael Vogt2013-10-136-100/+189
| | | | | | | | | | | | | | | | point, breaks ABI/API, lets see what we can do about this
* | | | move common code into PackageManager::StatusChanged()Michael Vogt2013-10-113-29/+38
| | | |
* | | | deal with nr_terminal_rows unavailableMichael Vogt2013-10-112-6/+13
| | | |
* | | | first iteration of install progress refactorMichael Vogt2013-10-116-93/+194
|/ / /
* | | Merge remote-tracking branch 'mvo/feature/limit-default-pdiffs' into debian/sidMichael Vogt2013-10-091-1/+1
|\ \ \