Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-05-28 | Fix more warnings from clang | Michael Vogt | |
Reported-By: clang++ -Werror | |||
2014-05-28 | Fix warning about uninitialized variable | Michael Vogt | |
Reported-By: clang++ -Werror | |||
2014-05-27 | use free() instead of delete[] in debSrcRecordParser::~debSrcRecordParser | Michael Vogt | |
The Buffer was allocated using strndup() so we need to free it using free() instead of delete[] | |||
2014-05-15 | Never parse Version/Architecture tags in a Translation-$lang file | Michael Vogt | |
Version/Architecture information in a Translation-$lang file is not allowed, so don't try to parse it. This is a fix for a bugreport where a Translation-en file contained the content of the regular Packages file (probably due to local FS corruption). This lead to strange error messages on file download. Thanks to Thomas Reusch for the report. | |||
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-21 | mark optional (private) symbols as hidden | David Kalnischkies | |
This methods should not be used by anyone expect the library itself as they are helpers for the specific class and therefore perfect candidates for hidding. Git-Dch: Ignore | |||
2014-03-13 | abstract version hash comparison a bit | David Kalnischkies | |
In #737085 we see that apt can be confused if informations about versions only differ slightly. This commit adds a way of at least adding a few more data points with the next abi break to help a bit with it. Git-Dch: Ignore | |||
2014-03-13 | factor out parsing of MultiArch flag | David Kalnischkies | |
Git-Dch: Ignore | |||
2014-03-13 | follow method attribute suggestions by gcc | David Kalnischkies | |
Git-Dch: Ignore Reported-By: gcc -Wsuggest-attribute={pure,const,noreturn} | |||
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-03-13 | warning: useless cast to type A [-Wuseless-cast] | David Kalnischkies | |
Git-Dch: Ignore Reported-By: gcc -Wuseless-cast | |||
2014-03-13 | fix -Wmissing-field-initializers warnings | David Kalnischkies | |
Reported-By: gcc Git-Dch: Ignore | |||
2014-03-13 | support DEB_BUILD_PROFILES and -P for build profiles | David Kalnischkies | |
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. | |||
2014-03-13 | implement BuildProfileSpec support as dpkg has in 1.17.2 | Johannes Schauer | |
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 | |||
2014-02-22 | Fix typos in documentation (codespell) | Michael Vogt | |
2014-01-30 | restart debSrcRecordParsers only if needed | David Kalnischkies | |
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. | |||
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-12-06 | Handle SIGWINCH in APT::Progress-Fancy=1 | Michael Vogt | |
2013-12-05 | * enable release based selection for deb-src (closes: 731102) | Michael Vogt | |
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 | 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 | |