Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | fix some more ABI issues, abicheck is happy now | 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 | |
2013-10-11 | first iteration of install progress refactor | Michael Vogt | |
2013-10-08 | apt-pkg/deb/dpkgpm.cc: fix off-by-one in SetupTerminalScrollArea reset | Michael Vogt | |
2013-10-08 | Merge remote-tracking branch 'mvo/feature/dpkg-progress-fancy' into debian/sid | Michael Vogt | |
2013-10-07 | fix off-by-one error in pkgDPkgPM::SetupTerminalScrollArea() | Michael Vogt | |
2013-10-07 | use Dpkg::Progress-Fancy to be consitent with Dpkg::Progress | Michael Vogt | |
2013-10-07 | add -o DpkgPM::Progress-Fancy for better dpkg progress output on vt100+ ↵ | Michael Vogt | |
terminals | |||
2013-10-05 | Merge remote-tracking branch 'mvo/bugfix/dpkg-progress-multiarch' into ↵ | Michael Vogt | |
debian/sid | |||
2013-10-02 | make dpkg progress slightly nicer | Michael Vogt | |
2013-09-26 | don't strip :any from dependencies in single-arch | David Kalnischkies | |
The parser goes a bit to far by stripping :any from dependencies in a single architecture environment. the flag "Multi-Arch: allowed" doesn't care any architecture restrictions in that case (as in single arch everything is native), but it still limits the possible versions statisfying the dependency so stripping :any over-simplifies in upgrade situations from "Multi-Arch: none" to "Multi-Arch: allowed". Closes: 723586 | |||
2013-09-07 | fix multiarch status-fd progress calculation | Michael Vogt | |
2013-08-28 | Merge remote-tracking branch 'mvo/feature/install-progress' into debian/sid | Michael Vogt | |
2013-08-16 | allow Pre-Install-Pkgs hooks to get info over an FD != stdin | David Kalnischkies | |
This adds ::InfoFD option alongside the ::Version one to request sending the information to the specified FD, by default it is STDIN as it was the case before. The environment variable APT_HOOK_INFO_FD contains the FD the data is on as a confirmation that the APT version used understood the request. Allowing the hook to choose the FD is needed/helpful e.g. for shellscripts which have a hard time accessing FDs above 9 (as >= 10 are usually used internally by them) Closes: #671728 | |||
2013-08-15 | init the pkgTagFile with the size of the Release file | David Kalnischkies | |
Release files are basically one big Section, so we might safe some Resize circles by starting with the filesize. Git-Dch: Ignore | |||
2013-08-12 | use our _error stack to generate openpty errors | David Kalnischkies | |
While we don't want these error messages on our usual stack, we can use our usual infrastructure to generate an error message with all the usual bells like errno and strerror attached. Git-Dch: Ignore | |||
2013-08-12 | do not try to chown if not run as root | David Kalnischkies | |
If this code is run as non-root we are in a special situation (e.g. in our testcases) where it is obvious that we can't enforce user/group on any file, so skip this code altogether instead of bugging users with an error message – which we also switch to a warning as a failure to open the file is "just" a warning, so the 'wrong' owner shouldn't be that much of an issue. The file is still handled with chmod, so all the security we can enforce is still enforced of course, which also gets a warning if it fails. Git-Dch: Ignore | |||
2013-08-08 | fix -Wall errors | Michael Vogt | |
2013-08-08 | use pkgTagFile to parse "header" of Release files | David Kalnischkies | |
The handwritten parsing here was mostly done as we couldn't trust the Release file we got, but nowadays we are sure that the Release file is valid and contains just a single section we want it to include. Beside reducing code it also fixes a bug: Fieldnames in deb822 formatted files are case-insensitive and pkgTagFile does it correctly, but this selfbuilt stuff here didn't. |