summaryrefslogtreecommitdiff
path: root/apt-pkg/deb
Commit message (Collapse)AuthorAgeFilesLines
* warning: unused parameter ‘foo’ [-Wunused-parameter]David Kalnischkies2014-03-133-4/+4
| | | | | Reported-By: gcc -Wunused-parameter Git-Dch: Ignore
* warning: useless cast to type A [-Wuseless-cast]David Kalnischkies2014-03-131-1/+1
| | | | | Git-Dch: Ignore Reported-By: gcc -Wuseless-cast
* fix -Wmissing-field-initializers warningsDavid Kalnischkies2014-03-131-4/+4
| | | | | Reported-By: gcc Git-Dch: Ignore
* support DEB_BUILD_PROFILES and -P for build profilesDavid Kalnischkies2014-03-131-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.2Johannes Schauer2014-03-133-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 Vogt2014-02-223-4/+4
|
* restart debSrcRecordParsers only if neededDavid Kalnischkies2014-01-301-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/sidMichael Vogt2014-01-261-6/+3
|\ | | | | | | | | | | | | Conflicts: apt-private/private-list.cc doc/po/de.po test/integration/framework
| * correct some style/performance/warnings from cppcheckDavid Kalnischkies2014-01-161-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) errorsMichael Vogt2014-01-181-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-progessMichael Vogt2013-12-281-3/+7
|\ | | | | | | | | Conflicts: apt-pkg/install-progress.cc
| * Fix conffile prompt regression (LP: #1260297)Michael Vogt2013-12-121-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 #731738Michael Vogt2013-12-221-1/+1
|/
* Handle SIGWINCH in APT::Progress-Fancy=1Michael Vogt2013-12-061-1/+0
|
* * enable release based selection for deb-src (closes: 731102)Michael Vogt2013-12-052-1/+23
|
* merge ubuntus apport reporting changes to reduce diffDavid Kalnischkies2013-11-301-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 Vogt2013-11-291-1/+1
|
* reset terminal on error (closes: #730795)Michael Vogt2013-11-291-0/+1
|
* fix regression that APT::Keep-Fds is not honored (closes: #730490)Michael Vogt2013-11-281-0/+2
|
* add new pid_t ExecFork(std::set<int> KeepFDs) to get rid of the super ugly ↵Michael Vogt2013-10-311-12/+14
| | | | 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
| |
| * 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-181-5/+28
| |
* | fix some more ABI issues, abicheck is happy nowMichael Vogt2013-10-311-0/+9
| |
* | restore ABI and prepare next ABI via #if (APT_PKG_MAJOR >= 4 && ↵Michael Vogt2013-10-312-0/+24
| | | | | | | | 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)
* | 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-221-2/+1
| |
* | restore binary compatiblity with the pkgPackageManager interfaceMichael Vogt2013-10-211-1/+2
| |
* | fix apt output ordering and update test to match the new human friendly ↵Michael Vogt2013-10-211-5/+5
| | | | | | | | messages that include the architecture
* | re-add missing APT::String::StripMichael Vogt2013-10-181-3/+4
| |
* | merged debian/sidMichael Vogt2013-10-181-130/+127
| |
* | cleanupMichael Vogt2013-10-182-34/+73
| |
* | 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-141-0/+6
| | | | | | | | this
* | rename APT::Progress::Packagemanager Started->Start, Finished->Stop to match ↵Michael Vogt2013-10-141-6/+4
| | | | | | | | pkgAcquireStatus
* | add APT::Progress::PackageManager::Pulse()Michael Vogt2013-10-131-2/+3
| |
* | move the status-fd progress reporting out of the pkgDPkgPM class, at this ↵Michael Vogt2013-10-132-78/+28
| | | | | | | | point, breaks ABI/API, lets see what we can do about this