summaryrefslogtreecommitdiff
path: root/apt-pkg/deb/dpkgpm.cc
AgeCommit message (Collapse)Author
2009-12-10* merge lp:~mvo/apt/netrc branch, this adds support for aMichael Vogt
/etc/apt/auth.conf that can be used to store username/passwords in a "netrc" style file (with the extension that it supports "/" in a machine definition). Based on the maemo git branch. * apt-pkg/deb/dpkgpm.cc: - add "purge" to list of known actions
2009-12-09* apt-pkg/deb/dpkgpm.cc:Michael Vogt
- add "purge" to list of known actions
2009-09-24merged from davidMichael Vogt
2009-09-24Ignore TriggerPendings between multiple --configure callsDavid Kalnischkies
2009-09-24* apt-pkg/deb/dpkgpm.cc:Michael Vogt
- when tcgetattr() returns non-zero skip all pty magic (thanks to Simon Richter, closes: #509866) * apt-inst/contrib/arfile.cc: - show propper error message for Invalid archive members
2009-09-24* apt-pkg/deb/dpkgpm.cc:Michael Vogt
- when tcgetattr() returns non-zero skip all pty magic (thanks to Simon Richter, closes: #509866)
2009-09-18cleanup commit for trigger processing:David Kalnischkies
- remove the DPkg::NoConfTriggers - absolutely useless as we need TriggersPending already so we can use --no-triggers. - remove the Immediate-option from the example, it doesn't help much. - UnpackCritical uses DepUnPackPre with a D (on simple letter...) - the "smart" optimisation to skip A was not so smart - revert.
2009-09-15Add even more config options and try to handle configuration problemsDavid Kalnischkies
arising if we upgrade essential or predependencies which need to be configured before even unpacking packages depending on them.
2009-09-13add and document experimental options to make aggressiveDavid Kalnischkies
use of dpkg's trigger and configuration handling (Closes: #473461) Add NoTriggers option to add --no-triggers to all dpkg calls, NoConfiguration to prevent apt from trying to configure packages - dpkg should handle this in the last ConfigurePending call. This options are for now deactivated as they require more testing in real world situations, but the plan is to enable them in the near future if anything works well.
2009-09-11apt-pkg/deb/dpkgpm.cc: make some variables constant and add foldmarkersDavid Kalnischkies
2009-07-21* apt-pkg/deb/dpkgpm.cc:Michael Vogt
- provide DPkg::Chroot-Directory config option (useful for testing)
2009-07-10apt-pkg/deb/dpkgpm.cc: remove dead code, add comment on problematic argument ↵Michael Vogt
list split
2009-06-17send "dpkg-exec" message on the status fd when dpkg is runMichael Vogt
2009-06-17* apt-pkg/deb/dpkgpm.cc:Michael Vogt
- add Dpkg::UseIoNice boolean option to run dpkg with ionice -c3 (off by default)
2009-03-06* apt-pkg/deb/dpkgpm.cc:Michael Vogt
- revert the change by Kees again for the amd64 ALL-CAPS problem
2008-11-12fix another typoMichael Vogt
2008-11-12merge from debian-sidMichael Vogt
2008-11-12fix SIGHUP handling (closes: #463030)Michael Vogt
2008-10-28* apt-pkg/deb/dpkgpm.cc:Michael Vogt
- fix potential hang when in a backgroud process group
2008-10-28* apt-ftparchive might write corrupt Release files (LP: #46439)Michael Vogt
* Apply --important option to apt-cache depends (LP: #16947) * apt-pkg/acquire-item.cc: - Added fallback to uncompressed 'Packages' if neither 'bz2' nor 'gz' available. (Closes: #409284) * apt-pkg/algorithm.cc: - Strip username and password from source URL in error message. (Closes: #425150) * Fix typos: - apt-pkg/depcache.cc * Fix compilation warnings: - apt-pkg/acquire.cc - apt-pkg/versionmatch.cc * Compilation fixes and portability improvement for compiling APT against non-GNU libc (thanks to Martin Koeppe, closes: #392063): - buildlib/apti18n.h.in: + textdomain() and bindtextdomain() must not be visible when --disable-nls - buildlib/inttypes.h.in: undefine standard int*_t types - Append INTLLIBS to SLIBS: + cmdline/makefile + ftparchive/makefile + methods/makefile * doc/apt.conf.5.xml: - clarify whether configuration items of apt.conf are case-sensitive (thanks to Vincent McIntyre, closes: #345901) * doc/apt-cache.8.xml: - search command uses POSIX regex, and searches for virtual packages too (closes: #277536) * doc/offline.sgml: clarify remote and target hosts (thanks to Nikolaus Schulz, closes: #175940) * Fix several typos in docs, translations and debian/changelog (thanks to timeless, Nicolas Bonifas and Josh Triplett, closes: #368665, #298821, #411532, #431636, #461458) * Document apt-key finger and adv commands (thanks to Stefan Schmidt, closes: #350575) * Better documentation for apt-get --option (thanks to Tomas Pospisek, closes: #386579) * Retitle the apt-mark.8 manpage (thanks to Justin Pryzby, closes: #471276) * Better documentation on using both APT::Default-Release and /etc/apt/preferences (thanks to Ingo Saitz, closes: #145575) * doc/apt-cache.8.xml: - add missing citerefentry * Upload to unstable * apt-pkg/deb/dpkgpm.cc: - Store the trigger state descriptions in a way that does not break the ABI. The approach taken makes the search for a string O(n) rather than O(lg(n)), but since n == 4, I do not consider this a major concern. If it becomes a concern, we can sort the static array and use std::equal_range(). (Closes: #499322) * apt-pkg/pkgcachegen.cc: - do not add multiple identical descriptions for the same language (closes: #400768) * Catalan updated. Closes: #499462 * Fix typo in cron.daily script. Closes: #486179 * Traditional Chinese updated. Closes: #488526 * German corrected and completed. Closes: #490532, #480002, #498018 * French completed * Bulgarian updated. Closes: #492473 * Slovak updated. Closes: #492475 * Galician updated. Closes: #492794 * Japanese updated. Closes: #492975 * Fix missing space in Greek translation. Closes: #493922 * Greek updated. * Brazilian Portuguese updated. * Basque updated. Closes: #496754 * Romanian updated. Closes: #492773, #488361 * Portuguese updated. Closes: #491790 * Simplified Chinese updated. Closes: #489344 * Norwegian Bokmål updated. Closes: #480022 * Czech updated. Closes: #479628, #497277 * Korean updated. Closes: #464515 * Spanish updated. Closes: #457706 * Lithuanian added. Closes: #493328 * Swedish updated. Closes: #497496 * Vietnamese updated. Closes: #497893 * Portuguese updated. Closes: #498411 * Greek updated. Closes: #498687 * Polish updated. * merge patch that enforces stricter https server certificate checking (thanks to Arnaud Ebalard, closes: #485960) * allow per-mirror specific https settings (thanks to Arnaud Ebalard, closes: #485965) * add doc/examples/apt-https-method-example.cof (thanks to Arnaud Ebalard, closes: #485964) * apt-pkg/depcache.cc: - when checking for new important deps, skip critical ones (closes: #485943) * improve apt progress reporting, display trigger actions * add DPkg::NoTriggers option so that applications that call apt/aptitude (like the installer) defer trigger processing (thanks to Joey Hess) * doc/makefile: - add examples/apt-https-method-example.conf * Russian updated. Closes: #479777, #499029 * fix FTBFS by changing build-depends to * ABI library name change because it's built against * Package that contains all the new features * Branch that contains all the new features:
2008-10-01* apt-pkg/packagemanager.cc, apt-pkg/deb/dpkgpm.cc:Michael Vogt
- move the state file writting into the Go() implementation of dpkgpm (closes: #498799) * apt-pkg/algorithms.cc: - fix simulation performance drop (thanks to Ferenc Wagner for reporting the issue)
2008-10-01* apt-pkg/packagemanager.cc, apt-pkg/deb/dpkgpm.cc:Michael Vogt
- move the state file writting into the Go() implementation of dpkgpm (closes: #498799)
2008-09-25Restore the apt ABI.Daniel Burrows
The problem was that the size of pkgDpkgPM and its member offsets changed because a map giving the names of the trigger states was inserted into the middle of the structure. I fixed it by using a statically allocated array instead. This changes the procedure for looking up a string to a linear search, which should be fine (or even faster than before) since there are only 4 state strings. If it becomes a problem, sorting the array by key will allow us to use std::equal_range(), but I would advise against this unless it's really necessary, since sooner or later someone will forget to maintain the sort order.
2008-08-05fix various -Wall warningsMichael Vogt
2008-07-25* add DPkg::NoTriggers option so that applications that callMichael Vogt
apt/aptitude (like the installer) defer trigger processing (thanks to Joey Hess)
2008-07-25* add DPkg::NoTriggers option so that applications that callMichael Vogt
apt/aptitude (like the installer) defer trigger processing (thanks to Joey Hess)
2008-07-25* improve apt progress reporting, display trigger actionsMichael Vogt
2008-07-17apt-pkg/deb/dpkgpm.cc: improve the trigger textMichael Vogt
2008-05-23* improve apt progress reporting, display trigger actionsMichael Vogt
2008-01-31* apt-pkg/deb/dpkgpm.cc:Michael Vogt
- merged patch from Kees Cook to fix anoying upper-case display on amd64 in sbuild
2008-01-04* merged the apt--DoListUpdate branch, this provides a common interfaceMichael Vogt
for apt-get update like operations for the frontends and also provides hooks to run stuff in APT::Update::{Pre,Post}-Invoke
2007-12-17apt-pkg/deb/dpkgpm.cc: fix typesMichael Vogt
2007-11-26* Applied patch from Aurelien Jarno <aurel32@debian.org> to avoid CPUOtavio Salvador
getting crazy when /dev/null is redirected to stdin (which breaks buildds), closes: #452858.
2007-10-31Minor fixes on racy_pselectOtavio Salvador
2007-10-29* Applied patch from Brian M. Carlson <sandals@crustytoothpaste.ath.cx>Otavio Salvador
to add backward support for arches that lacks pselect support, closes: #448406.
2007-10-20merged with apt--mvoMichael Vogt
2007-10-20apt-pkg/deb/dpkgpm.cc:Michael Vogt
- use pselect() instead of select() - on EIO error on pty master read, usleep(0.5s) to give up timeslice so that the child can properly exit
2007-10-15* merge from apt--mvo (fix resource leak, run apt.cron.daily only ifMichael Vogt
apt-get check is successfull)
2007-10-15apt-pkg/deb/dpkgpm.cc:Michael Vogt
- fix resource leak
2007-10-03merged from the dpkg-log branchMichael Vogt
2007-10-02 - apt-pkg/deb/dpkgpm.cc: initialization order and conversion fromOtavio Salvador
string constant to 'char*';
2007-09-18apt-pkg/deb/dpkgpm.cc:Michael Vogt
- make it compileable
2007-09-18 - fix parse error when dpkg sends unexpected dataMichael Vogt
2007-09-10apt-pkg/deb/dpkgpm.cc:Michael Vogt
- ignore EINTR on select()
2007-09-10apt-pkg/deb/dpkgpm.cc:Michael Vogt
- comment out dpkg trigger messages, those seem to be not generated by dpkg over the status fd
2007-09-06* dpkg-triggers: Deal properly with new package states.Michael Vogt
2007-09-05apt-pkg/deb/dpkgpm.cc:Michael Vogt
- remove leading "\n"
2007-09-05* write start/end log tagsMichael Vogt
2007-08-28* merged from dpkg-log branchMichael Vogt
2007-08-27* apt-pkg/deb/dpkgpm.cc:Michael Vogt
- on error in select() continue