Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | warning: unused parameter ‘foo’ [-Wunused-parameter] | David Kalnischkies | 2014-03-13 | 3 | -4/+4 |
| | | | | | Reported-By: gcc -Wunused-parameter Git-Dch: Ignore | ||||
* | warning: useless cast to type A [-Wuseless-cast] | David Kalnischkies | 2014-03-13 | 1 | -1/+1 |
| | | | | | Git-Dch: Ignore Reported-By: gcc -Wuseless-cast | ||||
* | fix -Wmissing-field-initializers warnings | David Kalnischkies | 2014-03-13 | 1 | -4/+4 |
| | | | | | Reported-By: gcc Git-Dch: Ignore | ||||
* | support DEB_BUILD_PROFILES and -P for build profiles | David Kalnischkies | 2014-03-13 | 1 | -1/+1 |
| | | | | | | | | | | Inspired by the rest of the patch in 661537, but abstract the parsing of various ways of setting the build profiles more so it can potentially be reused and all apt parts have the same behaviour. Especially config options, cmdline options and environment will not be combined as proposed as this isn't APTs usual behaviour and dpkg doesn't do it either, so one overrides the other as it normally does. | ||||
* | implement BuildProfileSpec support as dpkg has in 1.17.2 | Johannes Schauer | 2014-03-13 | 3 | -9/+101 |
| | | | | | | | | Build-dependencies are now able to include a <profile.foo …> specification limiting usage similar to already supported [arch …]. More details: https://wiki.debian.org/BuildProfileSpec Closes: 661537 | ||||
* | Fix typos in documentation (codespell) | Michael Vogt | 2014-02-22 | 3 | -4/+4 |
| | |||||
* | restart debSrcRecordParsers only if needed | David Kalnischkies | 2014-01-30 | 1 | -3/+3 |
| | | | | | | | | | | The offset variable in DebSrcRecordParser was not initialized which we now do and based on it do not trigger a restart if the parser was not used yet avoiding a needless rescan of the section. Detected while working on the previous commit e62aa1dd. Both commits act as a "fix" for the bug shown in the testcase of the commit – this one here would only hide it through. | ||||
* | Merge remote-tracking branch 'donkult/debian/sid' into debian/sid | Michael Vogt | 2014-01-26 | 1 | -6/+3 |
|\ | | | | | | | | | | | | | Conflicts: apt-private/private-list.cc doc/po/de.po test/integration/framework | ||||
| * | correct some style/performance/warnings from cppcheck | David Kalnischkies | 2014-01-16 | 1 | -6/+3 |
| | | | | | | | | | | | | | | | | 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 | ||||
* | | do not ignore ioctl(TIOCSCTTY) errors | Michael Vogt | 2014-01-18 | 1 | -9/+19 |
|/ | | | | | Show a proper error message when a ioctl() in dpkgpm.cc fails. Also simply StartPtyMagic() a bit. | ||||
* | Merge branch 'debian/sid' into bugfix/bts731738-fancy-progess | Michael Vogt | 2013-12-28 | 1 | -3/+7 |
|\ | | | | | | | | | Conflicts: apt-pkg/install-progress.cc | ||||
| * | Fix conffile prompt regression (LP: #1260297) | Michael Vogt | 2013-12-12 | 1 | -3/+7 |
| | | | | | | | | | | This fixes a regression in the conffile prompt for the progress-fd and adds a testcase to ensure this does not regress again. | ||||
* | | first proof-of-concept for a fix for #731738 | Michael Vogt | 2013-12-22 | 1 | -1/+1 |
|/ | |||||
* | Handle SIGWINCH in APT::Progress-Fancy=1 | Michael Vogt | 2013-12-06 | 1 | -1/+0 |
| | |||||
* | * enable release based selection for deb-src (closes: 731102) | Michael Vogt | 2013-12-05 | 2 | -1/+23 |
| | |||||
* | merge ubuntus apport reporting changes to reduce diff | David Kalnischkies | 2013-11-30 | 1 | -5/+54 |
| | | | | | 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. | ||||
* | fix apport report writing (LP: #1254499) | Michael Vogt | 2013-11-29 | 1 | -1/+1 |
| | |||||
* | reset terminal on error (closes: #730795) | Michael Vogt | 2013-11-29 | 1 | -0/+1 |
| | |||||
* | fix regression that APT::Keep-Fds is not honored (closes: #730490) | Michael Vogt | 2013-11-28 | 1 | -0/+2 |
| | |||||
* | add new pid_t ExecFork(std::set<int> KeepFDs) to get rid of the super ugly ↵ | Michael Vogt | 2013-10-31 | 1 | -12/+14 |
| | | | | APT::Keep-Fds hack and also add a new PackageManagerProgressFd::StartDpkg() progress state | ||||
* | move pty magic into its own functions | Michael Vogt | 2013-10-31 | 2 | -88/+97 |
|\ | |||||
| * | move pty stuff into its own function | Michael Vogt | 2013-10-31 | 2 | -79/+97 |
| | | |||||
| * | use std::string instead of char* in pkgDPkgPM::ProcessDpkgStatusLine() | Michael Vogt | 2013-10-18 | 1 | -24/+24 |
| | | |||||
| * | reshuffle the pkgDPkgPM::ProcessDpkgStatusLine() some more to make it more ↵ | Michael Vogt | 2013-10-18 | 1 | -77/+91 |
| | | | | | | | | robust | ||||
| * | reshuffle dpkgpm.cc code a bit more | Michael Vogt | 2013-10-18 | 1 | -28/+40 |
| | | |||||
| * | add APT::String::Strip(), start cleanup of ProcessDpkgStatusLine | Michael Vogt | 2013-10-18 | 1 | -5/+28 |
| | | |||||
* | | fix some more ABI issues, abicheck is happy now | Michael Vogt | 2013-10-31 | 1 | -0/+9 |
| | | |||||
* | | restore ABI and prepare next ABI via #if (APT_PKG_MAJOR >= 4 && ↵ | Michael Vogt | 2013-10-31 | 2 | -0/+24 |
| | | | | | | | | APT_PKG_MINOR >= 13) | ||||
* | | extract getDpkgExecutable() and DPkgPM::BuildPackagesProgressMap() out of ↵ | Michael Vogt | 2013-10-25 | 2 | -62/+77 |
| | | | | | | | | the monster long pkgDPkgPM::Go() | ||||
* | | make the main loop a while() instead of a for() as I find this (much) easier ↵ | Michael Vogt | 2013-10-24 | 1 | -2/+3 |
| | | | | | | | | to read this way) | ||||
* | | fix failing ./test/integration/test-disappearing-packages (thanks Donkult!) | Michael Vogt | 2013-10-22 | 1 | -4/+4 |
| | | |||||
* | | use Pkg.FullName() in disappearedPkgs and remove duplicated check | Michael Vogt | 2013-10-22 | 1 | -11/+2 |
| | | |||||
* | | fix install-progress location | Michael Vogt | 2013-10-22 | 1 | -2/+1 |
| | | |||||
* | | restore binary compatiblity with the pkgPackageManager interface | Michael Vogt | 2013-10-21 | 1 | -1/+2 |
| | | |||||
* | | fix apt output ordering and update test to match the new human friendly ↵ | Michael Vogt | 2013-10-21 | 1 | -5/+5 |
| | | | | | | | | messages that include the architecture | ||||
* | | re-add missing APT::String::Strip | Michael Vogt | 2013-10-18 | 1 | -3/+4 |
| | | |||||
* | | merged debian/sid | Michael Vogt | 2013-10-18 | 1 | -130/+127 |
| | | |||||
* | | cleanup | Michael Vogt | 2013-10-18 | 2 | -34/+73 |
| | | |||||
* | | ensure that short-name -> long-name detection for dpkg-status works for ↵ | Michael Vogt | 2013-10-17 | 1 | -1/+4 |
| | | | | | | | | reinstalls too | ||||
* | | Merge branch 'debian/sid' into feature/install-progress-refactor | Michael Vogt | 2013-10-17 | 2 | -10/+37 |
|\| | | | | | | | | | Conflicts: apt-pkg/deb/dpkgpm.cc | ||||
| * | fix broken clean when apt was finished and ensure that terminal progress is ↵ | Michael Vogt | 2013-10-17 | 2 | -9/+20 |
| | | | | | | | | updated when a new dpkg-loop is entered in dpkgpm.cc | ||||
| * | tests, do not send pkgname with arch via the status-fd | Michael Vogt | 2013-10-15 | 1 | -1/+1 |
| | | |||||
| * | Merge remote-tracking branch 'upstream/debian/sid' into bugfix/bts-726156-2 | Michael Vogt | 2013-10-15 | 1 | -3/+3 |
| |\ | |||||
| | * | fix progress-segfault in case of dpkg errors/prompts | David Kalnischkies | 2013-10-14 | 1 | -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" string | Michael Vogt | 2013-10-11 | 1 | -1/+1 |
| | | | |||||
| * | | fix logic for finding what package dpkg means in the --status-fd and only ↵ | Michael Vogt | 2013-10-15 | 1 | -4/+19 |
| |/ | | | | | | | send out short packagenames | ||||
* | | re-add APT::Keep-Fds:: for the dpkg status-fd in dpkgpm.cc as we always need ↵ | Michael Vogt | 2013-10-14 | 1 | -0/+6 |
| | | | | | | | | this | ||||
* | | rename APT::Progress::Packagemanager Started->Start, Finished->Stop to match ↵ | Michael Vogt | 2013-10-14 | 1 | -6/+4 |
| | | | | | | | | pkgAcquireStatus | ||||
* | | add APT::Progress::PackageManager::Pulse() | Michael Vogt | 2013-10-13 | 1 | -2/+3 |
| | | |||||
* | | move the status-fd progress reporting out of the pkgDPkgPM class, at this ↵ | Michael Vogt | 2013-10-13 | 2 | -78/+28 |
| | | | | | | | | point, breaks ABI/API, lets see what we can do about this |