summaryrefslogtreecommitdiff
path: root/apt-pkg/deb/dpkgpm.cc
Commit message (Collapse)AuthorAgeFilesLines
...
* | apt-pkg/deb/dpkgpm.cc: fix typesMichael Vogt2007-12-171-4/+4
| |
* | * Applied patch from Aurelien Jarno <aurel32@debian.org> to avoid CPUOtavio Salvador2007-11-261-2/+8
| | | | | | | | getting crazy when /dev/null is redirected to stdin (which breaks buildds), closes: #452858.
* | Minor fixes on racy_pselectOtavio Salvador2007-10-311-3/+3
| |
* | * Applied patch from Brian M. Carlson <sandals@crustytoothpaste.ath.cx>Otavio Salvador2007-10-291-0/+24
| | | | | | | | to add backward support for arches that lacks pselect support, closes: #448406.
* | merged with apt--mvoMichael Vogt2007-10-201-14/+28
|\ \
| * | apt-pkg/deb/dpkgpm.cc:Michael Vogt2007-10-201-4/+18
| | | | | | | | | | | | | | | | | | - 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
* | | * merge from apt--mvo (fix resource leak, run apt.cron.daily only ifMichael Vogt2007-10-151-1/+4
|\| | | | | | | | | | | apt-get check is successfull)
| * | apt-pkg/deb/dpkgpm.cc:Michael Vogt2007-10-151-1/+4
| | | | | | | | | | | | - fix resource leak
* | | merged from the dpkg-log branchMichael Vogt2007-10-031-32/+53
|\ \ \ | |/ / |/| |
| * | apt-pkg/deb/dpkgpm.cc:Michael Vogt2007-09-051-1/+1
| | | | | | | | | | | | - remove leading "\n"
| * | * write start/end log tagsMichael Vogt2007-09-051-27/+53
| | |
* | | - apt-pkg/deb/dpkgpm.cc: initialization order and conversion fromOtavio Salvador2007-10-021-3/+3
| | | | | | | | | string constant to 'char*';
* | | apt-pkg/deb/dpkgpm.cc:Michael Vogt2007-09-181-1/+0
| | | | | | | | | | | | - make it compileable
* | | - fix parse error when dpkg sends unexpected dataMichael Vogt2007-09-181-3/+4
| | |
* | | apt-pkg/deb/dpkgpm.cc:Michael Vogt2007-09-101-6/+10
| | | | | | | | | | | | - ignore EINTR on select()
* | | apt-pkg/deb/dpkgpm.cc:Michael Vogt2007-09-101-1/+4
| | | | | | | | | | | | | | | - comment out dpkg trigger messages, those seem to be not generated by dpkg over the status fd
* | | * dpkg-triggers: Deal properly with new package states.Michael Vogt2007-09-061-1/+6
|/ /
* | * merged from dpkg-log branchMichael Vogt2007-08-281-2/+3
|\ \
| * | * apt-pkg/deb/dpkgpm.cc:Michael Vogt2007-08-271-2/+3
| | | | | | | | | | | | - on error in select() continue
* | | * apt-pkg/deb/dpkgpm.{cc,h}:Michael Vogt2007-08-061-4/+4
| | | | | | | | | | | | move term_out into DPkgPM class
* | | * merged with dpkg-log branchMichael Vogt2007-08-061-19/+30
|\| |
| * | * apt-pkg/deb/dpkgpm.cc:Michael Vogt2007-08-061-19/+30
| | | | | | | | | | | | - do not fail if openpty() fails
* | | * make apt -Wall cleanMichael Vogt2007-08-031-4/+1
|/ /
* | * apt-pkg/init.cc: Michael Vogt2007-08-031-2/+4
| | | | | | | | | | | | - init Dir::Log::Terminal * apt-pkg/deb/dpkgpm.cc: - only work with term_out if it is not NULL
* | * doc/examples/configure-index:Michael Vogt2007-08-031-12/+17
| | | | | | | | | | | | | | - updated Dir::Log::Terminal * apt-pkg/deb/dpkgpm.cc: - make the terminal log optional - rename Dir::Log::Name to Dir::Log::Terminal
* | apt-pkg/deb/dpkgpm.{cc,h}Michael Vogt2007-07-191-20/+28
| | | | | | | | | | | | | | | | | | | | | | | | - 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
* | apt-pkg/deb/dpkgpm.{cc,h}:Michael Vogt2007-07-191-131/+93
| | | | | | | | | | - move output processing ProcessDpkgStatusLine() and out of the Go() method (yeah!) - things start to look more tidy now
* | apt-pkg/deb/dpkgpm.{cc,h}:Michael Vogt2007-07-191-12/+50
| | | | | | | | | | - move make dpkgstatus processing into DoDpkgStatusFd() and ProcessDpkgStatusLine() [the later is a stub for now]
* | apt-pkg/deb/dpkgpm.{cc,h}:Michael Vogt2007-07-161-131/+173
|\ \ | | | | | | | | | - merge select() based terminal log
| * | apt-pkg/deb/dpkgpm.cc:Michael Vogt2007-07-161-18/+20
| | | | | | | | | | | | | | | - run DoStdin(), DoTerminalPty() calls only if their FD is in the returned set after select()
| * | apt-pkg/deb/dpkgpm.cc:Michael Vogt2007-07-151-3/+13
| | | | | | | | | | | | - write current time to log
| * | apt-pkg/deb/dpkgpm.cc:Michael Vogt2007-07-151-107/+104
| | | | | | | | | | | | - unbreak progress reporting, make code nicer
| * | apt-pkg/deb/dpkgpm.{cc,h}:Michael Vogt2007-07-151-23/+38
| | | | | | | | | | | | - move the terminal and stdin reading into its own functions
| * | apt-pkg/deb/dpkgpm.cc:Michael Vogt2007-07-151-5/+20
|/ / | | | | | | - use select() to check for new data
* | * first (raw and ineffient) implementationMichael Vogt2007-07-031-6/+71
| |
* | * merged the remaining bits from the apt--no-pragma branchMichael Vogt2007-06-091-3/+0
|\ \
| * | * remove all the remaining #pragma implementationMichael Vogt2007-06-081-3/+0
| | |
* | | * merged with apt--mvoMichael Vogt2006-12-141-25/+41
|\ \ \
| * | | * apt-pkg/deb/dpkgpm.cc: Michael Vogt2006-11-271-7/+16
| | | | | | | | | | | | | | | | | | | | - added "Dpkg::StopOnError" variable that controls if apt will abort on errors from dpkg
| * | | * apt-pkg/deb/dpkgpm.cc:Michael Vogt2006-10-311-0/+2
| | | | | | | | | | | | | | | | - reset the line if a invalid line was read
| * | | * apt-pkg/deb/dpkgpm.cc:Michael Vogt2006-10-301-7/+12
| |/ / | | | | | | | | | - fix segfault if dpkg sends multiline error messages
| * | * apt-pkg/deb/dpkgpm.cc:Michael Vogt2006-09-301-11/+11
| | | | | | | | | | | | | | | | | | | | | - translate the dpkg progress strings when they are used, not in the struct (thanks to Steinar Gunderson) * debian/changelog: - updated
* | | * apt-pkg/deb/dpkgpm.cc:Michael Vogt2006-08-151-0/+2
|/ / | | | | | | | | | | - pass --auto-deconfigure to dpkg (-B) * debian/control: - depend on a dpkg with support for breaks
* / * apt-pkg/deb/dpkgpm.cc:Michael Vogt2006-07-251-1/+7
|/ | | | | | - ignore lines that can't be split properly from dpkg (DpkgPM::Go) * doc/examples/configure-index: - documentation updates
* * apt-pkg/deb/dpkgpm.cc: wording fixes (thanks to mdz)Michael Vogt2006-04-251-2/+2
| | | | | | * debian/changelog: updated * debian/rules: invoke tar with --no-recursion to avoid cruft in the tarbal * po/apt-all.pot: updated
* * wording (thanks to mdz)Michael Vogt2006-04-181-2/+2
|
* * merged from mainMichael Vogt2005-08-091-26/+216
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patches applied: * apt@packages.debian.org/apt--main--0--patch-106 Restore lost changelog entries * apt@packages.debian.org/apt--main--0--patch-107 Merge michael.vogt@ubuntu.com--2005/apt--progress-reporting--0 * apt@packages.debian.org/apt--main--0--patch-108 Merge michael.vogt@ubuntu.com--2005/apt--progress-reporting--0 * apt@packages.debian.org/apt--main--0--patch-109 Merge michael.vogt@ubuntu.com--2005/apt--progress-reporting--0 * apt@packages.debian.org/apt--main--0--patch-110 Merge michael.vogt@ubuntu.com--2005/apt--progress-reporting--0 * michael.vogt@ubuntu.com--2005/apt--fixes--0--patch-5 * merged with apt--main--0 * michael.vogt@ubuntu.com--2005/apt--progress-reporting--0--base-0 tag of apt@packages.debian.org/apt--main--0--patch-85 * michael.vogt@ubuntu.com--2005/apt--progress-reporting--0--patch-1 * inital proof of concept code, understands what dpkg tells it already * michael.vogt@ubuntu.com--2005/apt--progress-reporting--0--patch-2 * progress reporting works now * michael.vogt@ubuntu.com--2005/apt--progress-reporting--0--patch-3 * added "APT::Status-Fd" variable * michael.vogt@ubuntu.com--2005/apt--progress-reporting--0--patch-4 * do i18n now too * michael.vogt@ubuntu.com--2005/apt--progress-reporting--0--patch-5 * define N_(x) if it is not defined already * michael.vogt@ubuntu.com--2005/apt--progress-reporting--0--patch-6 * PackageManager::DoInstall(int status_fd) added (does not break the ABI) * michael.vogt@ubuntu.com--2005/apt--progress-reporting--0--patch-7 * merged with apt--fixes--0 to make it build again * michael.vogt@ubuntu.com--2005/apt--progress-reporting--0--patch-8 * added support for "error" and "conffile-prompt" messages from dpkg * michael.vogt@ubuntu.com--2005/apt--progress-reporting--0--patch-9 merge with main * michael.vogt@ubuntu.com--2005/apt--progress-reporting--0--patch-10 * use sizeof() for all snprintf() uses; fix a potential line break problem in the status reading code; changed the N_() to _() calls * michael.vogt@ubuntu.com--2005/apt--progress-reporting--0--patch-11 * added APT::KeepFDs configuration list for file descriptors that apt should leave open (needed for various frontends like debconf, synaptic) * michael.vogt@ubuntu.com--2005/apt--progress-reporting--0--patch-12 * fixed a API breakage * michael.vogt@ubuntu.com--2005/apt--progress-reporting--0--patch-13 * doc added, should be releasable now * michael.vogt@ubuntu.com--2005/apt--progress-reporting--0--patch-14 * merged with apt--main--0 * michael.vogt@ubuntu.com--2005/apt--progress-reporting--0--patch-15 * more source comments, added Debug::DpkgPM debug code to inspect the dpkg<->apt communication, broke the abi (ok with matt) * michael.vogt@ubuntu.com--2005/apt--progress-reporting--0--patch-16 * the progress reporting has it's own "Debug::pkgDPkgProgressReporting" debug variable now * michael.vogt@ubuntu.com--2005/apt--progress-reporting--0--patch-17 * merged PackageOps and TranslatedPackageOps into a single Map with the new DpkgState struct * michael.vogt@ubuntu.com--2005/apt--progress-reporting--0--patch-18 * clear the APT::Keep-Fds configuration when it's no longer needed * michael.vogt@ubuntu.com--2005/apt--progress-reporting--0--patch-19 * rewrote the reading from dpkg so that it never blocks * michael.vogt@ubuntu.com--2005/apt--progress-reporting--0--patch-20 * merged the two status arrays into one * michael.vogt@ubuntu.com--2005/apt--progress-reporting--0--patch-21 * added support for download progress reporting too (for Kamion and base-config) * michael.vogt@ubuntu.com--2005/apt--progress-reporting--0--patch-22 * ABI break; added Configuration::Clear(string List, {int,string} value) added (to remove a single Value from a list); test/conf_clear.cc added * michael.vogt@ubuntu.com--2005/apt--progress-reporting--0--patch-23 * remvoed a debug string * michael.vogt@ubuntu.com--2005/apt--progress-reporting--0--patch-24 * soname changed, fixed a bug in the parsing code when dpkg send the same state more than once (at the end) * michael.vogt@ubuntu.com--2005/apt--progress-reporting--0--patch-25 * merged with apt@packages.debian.org/apt--main--0, added changelog entry for the 0.6.40.1 upload * michael.vogt@ubuntu.com--2005/apt--progress-reporting--0--patch-26 * fix a bug when out-of-order states are send from dpkg * michael.vogt@ubuntu.com--2005/apt--progress-reporting--0--patch-27 * changelog update * michael.vogt@ubuntu.com--2005/apt--progress-reporting--0--patch-28 * a real changelog entry now * michael.vogt@ubuntu.com--2005/apt--progress-reporting--0--patch-29 * changelog finalized * michael.vogt@ubuntu.com--2005/apt--progress-reporting--0--patch-30 * propper (and sane) support for pmerror and pmconffile added
* Merge michael.vogt@canonical.com--2004/apt--status-fd--0Matt Zimmerman2005-01-191-2/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patches applied: * michael.vogt@canonical.com--2004--laptop/apt--status-fd--0--base-0 tag of apt@packages.debian.org/apt--main--0--patch-32 * michael.vogt@canonical.com--2004--laptop/apt--status-fd--0--patch-1 * michael.vogt@canonical.com--2004--laptop/apt--status-fd--0--patch-2 * changed version of the library * michael.vogt@canonical.com--2004--laptop/apt--status-fd--0--patch-3 * merged with matt again * michael.vogt@canonical.com--2004--laptop/apt--status-fd--0--patch-4 * merged with apt--main--0 and fixed permissions in po/ * michael.vogt@canonical.com--2004/apt--status-fd--0--patch-1 tag of michael.vogt@canonical.com--2004--laptop/apt--status-fd--0--patch-4 * michael.vogt@canonical.com--2004/apt--status-fd--0--patch-2 * merged with matt's tree * michael.vogt@canonical.com--2004/apt--status-fd--0--patch-3 * removed a stupid "<<<" merge in the changelog * michael.vogt@canonical.com--2004/apt--status-fd--0--patch-4 * star-merged with apt@packages.debian.org/apt--main--0 * michael.vogt@canonical.com--2004/apt--status-fd--0--patch-5 * removed the "pre-fork/post-fork" change and put it into it's own branch, star-merged with matt so that it applies cleanly * michael.vogt@canonical.com--2004/apt--status-fd--0--patch-6 * cleaned a incorrect log-file merge * michael.vogt@canonical.com--2004/apt--status-fd--0--patch-7 * removed a conflict in =tagging-method * michael.vogt@canonical.com--2004/apt--status-fd--0--patch-8 * cleaned up the delta so that it no longer contains unreleated whitespace changes
* Increase Dpkg::MaxArgs and Dpkg::MaxArgBytesMatt Zimmerman2004-11-131-2/+2
| | | | | * Set default Dpkg::MaxArgs to 1024, and Dpkg::MaxArgBytes to 32k. Needed to work around ordering bugs when installing a large number of packages
* * Restore SIGINT/SIGQUIT handlers to their old values (...Arch Librarian2004-09-201-5/+9
| | | | | | | Author: mdz Date: 2004-01-27 02:25:01 GMT * Restore SIGINT/SIGQUIT handlers to their old values (rather than SIG_DFL) after invoking dpkg (Closes: #229854)