summaryrefslogtreecommitdiff
path: root/apt-pkg/deb
AgeCommit message (Collapse)Author
2008-11-12fix SIGHUP handling (closes: #463030)Michael Vogt
2008-10-28fix various -Wall warningsMichael Vogt
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-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-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-02-04* apt-pkg/deb/debmetaindex.cc:Michael Vogt
- add missing "Release" file uri when apt-get update --print-uris is run
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-25* Applied patch from Daniel Burrows <dburrows@debian.org> to add supportOtavio Salvador
for the Homepage field, closes: #447970.
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/debmetaindex.cc: comparison with string literal resultsOtavio Salvador
in unspecified behaviour;
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
2007-08-06* apt-pkg/deb/dpkgpm.{cc,h}:Michael Vogt
move term_out into DPkgPM class
2007-08-06* merged with dpkg-log branchMichael Vogt
2007-08-06* apt-pkg/deb/dpkgpm.cc:Michael Vogt
- do not fail if openpty() fails
2007-08-03* make apt -Wall cleanMichael Vogt
2007-08-03* merged from dpkg-log branchMichael Vogt
2007-08-03* apt-pkg/init.cc: Michael Vogt
- init Dir::Log::Terminal * apt-pkg/deb/dpkgpm.cc: - only work with term_out if it is not NULL
2007-08-03 (ABI break)Michael Vogt
* merged apt--sha256 branch to fully support the new sha256 checksums in the Packages and Release files (ABI break)
2007-08-03* merged from dpkg-log branchMichael Vogt
2007-08-03* doc/examples/configure-index:Michael Vogt
- updated Dir::Log::Terminal * apt-pkg/deb/dpkgpm.cc: - make the terminal log optional - rename Dir::Log::Name to Dir::Log::Terminal
2007-08-03* apt-pkg/deb/dpkgpm.{cc,h}:Michael Vogt
- merged dpkg-log branch, this lets you specify a Dir::Log::Terminal file to log dpkg output to ABI break
2007-07-28* Applied patch from Guillem Jover <guillem.jover@nokia.com> to addOtavio Salvador
support to add lzma support (closes: #408201)
2007-07-26* implement sha256/sha1/md5 checking with proper backward compatibilityMichael Vogt
and fallback
2007-07-19apt-pkg/deb/dpkgpm.{cc,h}Michael Vogt
- a bit cleanup - move the log date to the right place - write log to dir::log::name apt-pkg/init.cc: - init dir::log::name "/var/log/apt/term.log" debian/apt.dirs: - create /var/log/apt/ doc/examples/configure-index: - add new dir::log::name to the index
2007-07-19apt-pkg/deb/dpkgpm.{cc,h}:Michael Vogt
- move output processing ProcessDpkgStatusLine() and out of the Go() method (yeah!) - things start to look more tidy now
2007-07-19apt-pkg/deb/dpkgpm.{cc,h}:Michael Vogt
- move make dpkgstatus processing into DoDpkgStatusFd() and ProcessDpkgStatusLine() [the later is a stub for now]
2007-07-16apt-pkg/deb/dpkgpm.{cc,h}:Michael Vogt
- merge select() based terminal log
2007-07-16apt-pkg/deb/dpkgpm.cc:Michael Vogt
- run DoStdin(), DoTerminalPty() calls only if their FD is in the returned set after select()
2007-07-15apt-pkg/deb/dpkgpm.cc:Michael Vogt
- write current time to log
2007-07-15apt-pkg/deb/dpkgpm.cc:Michael Vogt
- unbreak progress reporting, make code nicer
2007-07-15apt-pkg/deb/dpkgpm.{cc,h}:Michael Vogt
- move the terminal and stdin reading into its own functions