Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-09-02 | * apt-pkg/deb/dpkgpm.cc: | Michael Vogt | |
- update string matching for dpkg I/O errors. (LP: #1363257) - properly parse the dpkg status line so that package name is properly set and an apport report is created. Thanks to Anders Kaseorg for the patch. (LP: #1353171) | |||
2014-05-28 | Fix warning about uninitialized variable | Michael Vogt | |
Reported-By: clang++ -Werror | |||
2014-04-30 | Only do openpty() if both stdin/stdout are terminals | Michael Vogt | |
Closes: 746434 | |||
2014-04-25 | reduce delta from ubuntu | Michael Vogt | |
2014-04-01 | do not crash on SIGPIPE in pkgDPkgPM::RunScriptsWithPkgs() | Michael Vogt | |
If a external command closes the PIPE unexpectedly, do not crash in pkgDPkgPM::RunScriptsWithPkgs but ignore the SIGPIPE. | |||
2014-04-01 | Add new Debug::RunScripts option | Michael Vogt | |
This debug option will display all scripts that are run by apts RunScripts and RunScriptsWithPkgs helpers. | |||
2014-03-22 | ensure proper teardown in dpkg error cases | David Kalnischkies | |
We have to properly close our pseudo terminals even in error cases before we call post-invoke scripts. This is done now by breaking from the dpkg calling loop instead of copying the handling, which did it in the wrong order before. This also ensures that our state file is written in error cases to record autobit and co as this was forgotten before. Closes: 738969 | |||
2014-03-13 | cleanup headers and especially #includes everywhere | David Kalnischkies | |
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-13 | warning: unused parameter ‘foo’ [-Wunused-parameter] | David Kalnischkies | |
Reported-By: gcc -Wunused-parameter Git-Dch: Ignore | |||
2014-01-26 | Merge remote-tracking branch 'donkult/debian/sid' into debian/sid | Michael Vogt | |
Conflicts: apt-private/private-list.cc doc/po/de.po test/integration/framework | |||
2014-01-18 | do not ignore ioctl(TIOCSCTTY) errors | Michael Vogt | |
Show a proper error message when a ioctl() in dpkgpm.cc fails. Also simply StartPtyMagic() a bit. | |||
2014-01-16 | correct some style/performance/warnings from cppcheck | David Kalnischkies | |
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-28 | Merge branch 'debian/sid' into bugfix/bts731738-fancy-progess | Michael Vogt | |
Conflicts: apt-pkg/install-progress.cc | |||
2013-12-22 | first proof-of-concept for a fix for #731738 | Michael Vogt | |
2013-12-12 | Fix conffile prompt regression (LP: #1260297) | Michael Vogt | |
This fixes a regression in the conffile prompt for the progress-fd and adds a testcase to ensure this does not regress again. | |||
2013-11-30 | merge ubuntus apport reporting changes to reduce diff | David Kalnischkies | |
apport reporting is still disabled by default, but it is available in Debian/experimental at the moment and a diff is not a good idea anyway. | |||
2013-11-29 | fix apport report writing (LP: #1254499) | Michael Vogt | |
2013-11-29 | reset terminal on error (closes: #730795) | Michael Vogt | |
2013-11-28 | fix regression that APT::Keep-Fds is not honored (closes: #730490) | Michael Vogt | |
2013-10-31 | add new pid_t ExecFork(std::set<int> KeepFDs) to get rid of the super ugly ↵ | Michael Vogt | |
APT::Keep-Fds hack and also add a new PackageManagerProgressFd::StartDpkg() progress state | |||
2013-10-31 | move pty magic into its own functions | Michael Vogt | |
2013-10-31 | restore ABI and prepare next ABI via #if (APT_PKG_MAJOR >= 4 && ↵ | Michael Vogt | |
APT_PKG_MINOR >= 13) | |||
2013-10-31 | move pty stuff into its own function | Michael Vogt | |
2013-10-25 | extract getDpkgExecutable() and DPkgPM::BuildPackagesProgressMap() out of ↵ | Michael Vogt | |
the monster long pkgDPkgPM::Go() | |||
2013-10-24 | make the main loop a while() instead of a for() as I find this (much) easier ↵ | Michael Vogt | |
to read this way) | |||
2013-10-22 | fix failing ./test/integration/test-disappearing-packages (thanks Donkult!) | Michael Vogt | |
2013-10-22 | use Pkg.FullName() in disappearedPkgs and remove duplicated check | Michael Vogt | |
2013-10-22 | fix install-progress location | Michael Vogt | |
2013-10-21 | restore binary compatiblity with the pkgPackageManager interface | Michael Vogt | |
2013-10-21 | fix apt output ordering and update test to match the new human friendly ↵ | Michael Vogt | |
messages that include the architecture | |||
2013-10-18 | re-add missing APT::String::Strip | Michael Vogt | |
2013-10-18 | merged debian/sid | Michael Vogt | |
2013-10-18 | use std::string instead of char* in pkgDPkgPM::ProcessDpkgStatusLine() | Michael Vogt | |
2013-10-18 | reshuffle the pkgDPkgPM::ProcessDpkgStatusLine() some more to make it more ↵ | Michael Vogt | |
robust | |||
2013-10-18 | reshuffle dpkgpm.cc code a bit more | Michael Vogt | |
2013-10-18 | add APT::String::Strip(), start cleanup of ProcessDpkgStatusLine | Michael Vogt | |
2013-10-18 | cleanup | Michael Vogt | |
2013-10-17 | ensure that short-name -> long-name detection for dpkg-status works for ↵ | Michael Vogt | |
reinstalls too | |||
2013-10-17 | Merge branch 'debian/sid' into feature/install-progress-refactor | Michael Vogt | |
Conflicts: apt-pkg/deb/dpkgpm.cc | |||
2013-10-17 | fix broken clean when apt was finished and ensure that terminal progress is ↵ | Michael Vogt | |
updated when a new dpkg-loop is entered in dpkgpm.cc | |||
2013-10-15 | tests, do not send pkgname with arch via the status-fd | Michael Vogt | |
2013-10-15 | Merge remote-tracking branch 'upstream/debian/sid' into bugfix/bts-726156-2 | Michael Vogt | |
2013-10-15 | fix logic for finding what package dpkg means in the --status-fd and only ↵ | Michael Vogt | |
send out short packagenames | |||
2013-10-14 | fix progress-segfault in case of dpkg errors/prompts | David Kalnischkies | |
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 | |||
2013-10-14 | re-add APT::Keep-Fds:: for the dpkg status-fd in dpkgpm.cc as we always need ↵ | Michael Vogt | |
this | |||
2013-10-14 | rename APT::Progress::Packagemanager Started->Start, Finished->Stop to match ↵ | Michael Vogt | |
pkgAcquireStatus | |||
2013-10-13 | add APT::Progress::PackageManager::Pulse() | Michael Vogt | |
2013-10-13 | move the status-fd progress reporting out of the pkgDPkgPM class, at this ↵ | Michael Vogt | |
point, breaks ABI/API, lets see what we can do about this | |||
2013-10-11 | move common code into PackageManager::StatusChanged() | Michael Vogt | |
2013-10-11 | add missing _() around the new "Progress" string | Michael Vogt | |