summaryrefslogtreecommitdiff
path: root/apt-pkg/deb/dpkgpm.cc
AgeCommit message (Collapse)Author
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
2007-07-15apt-pkg/deb/dpkgpm.cc:Michael Vogt
- use select() to check for new data
2007-07-03* first (raw and ineffient) implementationMichael Vogt
2007-06-09* merged the remaining bits from the apt--no-pragma branchMichael Vogt
2007-06-08* remove all the remaining #pragma implementationMichael Vogt
2006-12-14* merged with apt--mvoMichael Vogt
2006-11-27* apt-pkg/deb/dpkgpm.cc: Michael Vogt
- added "Dpkg::StopOnError" variable that controls if apt will abort on errors from dpkg
2006-10-31* apt-pkg/deb/dpkgpm.cc:Michael Vogt
- reset the line if a invalid line was read
2006-10-30* apt-pkg/deb/dpkgpm.cc:Michael Vogt
- fix segfault if dpkg sends multiline error messages
2006-09-30* apt-pkg/deb/dpkgpm.cc:Michael Vogt
- translate the dpkg progress strings when they are used, not in the struct (thanks to Steinar Gunderson) * debian/changelog: - updated
2006-08-15* apt-pkg/deb/dpkgpm.cc:Michael Vogt
- pass --auto-deconfigure to dpkg (-B) * debian/control: - depend on a dpkg with support for breaks
2006-07-25* apt-pkg/deb/dpkgpm.cc:Michael Vogt
- ignore lines that can't be split properly from dpkg (DpkgPM::Go) * doc/examples/configure-index: - documentation updates
2006-04-25* apt-pkg/deb/dpkgpm.cc: wording fixes (thanks to mdz)Michael Vogt
* debian/changelog: updated * debian/rules: invoke tar with --no-recursion to avoid cruft in the tarbal * po/apt-all.pot: updated
2006-04-18* wording (thanks to mdz)Michael Vogt
2005-08-09* merged from mainMichael Vogt
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
2005-01-19Merge michael.vogt@canonical.com--2004/apt--status-fd--0Matt Zimmerman
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
2004-11-13Increase Dpkg::MaxArgs and Dpkg::MaxArgBytesMatt Zimmerman
* Set default Dpkg::MaxArgs to 1024, and Dpkg::MaxArgBytes to 32k. Needed to work around ordering bugs when installing a large number of packages
2004-09-20* Restore SIGINT/SIGQUIT handlers to their old values (...Arch Librarian
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)
2004-09-20* Only try to clear stdin if it is a tty, to avoid loop...Arch Librarian
Author: mdz Date: 2003-07-26 00:25:44 GMT * Only try to clear stdin if it is a tty, to avoid looping if there is lots of stuff (perhaps an infinite amount) to read (Closes: #192228)
2004-09-20When building the dpkg command line, allow for 8192 cha...Arch Librarian
Author: doogie Date: 2003-04-27 03:02:40 GMT When building the dpkg command line, allow for 8192 chars to be used, instead of only 1024.
2004-09-20Configurable max values to use with dpkgArch Librarian
Author: jgg Date: 2002-04-24 05:40:47 GMT Configurable max values to use with dpkg
2004-09-20Ignore pipe failured for package list sub process. Clos...Arch Librarian
Author: jgg Date: 2002-04-02 06:42:39 GMT Ignore pipe failured for package list sub process. Closes: #89830
2004-09-20Fixed typoArch Librarian
Author: jgg Date: 2001-05-27 04:42:19 GMT Fixed typo
2004-09-20Fixed c_str handlingArch Librarian
Author: jgg Date: 2001-05-27 04:40:57 GMT Fixed c_str handling
2004-09-20Moved using aroundArch Librarian
Author: jgg Date: 2001-05-07 05:35:46 GMT Moved using around
2004-09-20G++3 fixes from RandolphArch Librarian
Author: jgg Date: 2001-05-07 05:05:13 GMT G++3 fixes from Randolph
2004-09-20Two small bug fixesArch Librarian
Author: jgg Date: 2001-02-22 06:26:27 GMT Two small bug fixes
2004-09-20Join with aliencodeArch Librarian
Author: jgg Date: 2001-02-20 07:03:16 GMT Join with aliencode
2004-09-20* Added DPkg::FlushSTDIN to control the flushing of std...Arch Librarian
Author: jgg Date: 2000-05-13 01:52:38 GMT * Added DPkg::FlushSTDIN to control the flushing of stdin before forking dpkg. Closes: #63991
2004-09-20Added subprocess to segfault errorArch Librarian
Author: jgg Date: 1999-12-12 03:48:36 GMT Added subprocess to segfault error
2004-09-20More Solaris fixesArch Librarian
Author: jgg Date: 1999-12-10 06:30:42 GMT More Solaris fixes
2004-09-20Fixed calling of pre-dpkg scriptArch Librarian
Author: jgg Date: 1999-09-10 02:40:31 GMT Fixed calling of pre-dpkg script
2004-09-20Joey Hess's patchArch Librarian
Author: jgg Date: 1999-07-30 06:15:14 GMT Joey Hess's patch
2004-09-20Minor cleanups, fix for checksum lowercase bugArch Librarian
Author: jgg Date: 1999-07-26 17:46:07 GMT Minor cleanups, fix for checksum lowercase bug
2004-09-20g++- worksArch Librarian
Author: jgg Date: 1999-07-09 04:11:33 GMT g++- works
2004-09-20CD swapping supportArch Librarian
Author: jgg Date: 1999-07-03 03:10:35 GMT CD swapping support
2004-09-20Working apt-get source build stuffArch Librarian
Author: jgg Date: 1999-04-20 05:02:09 GMT Working apt-get source build stuff
2004-09-20Better dpkg error reportingArch Librarian
Author: jgg Date: 1999-03-05 19:36:49 GMT Better dpkg error reporting
2004-09-20Fixed a few minor dpkg settingsArch Librarian
Author: jgg Date: 1999-01-31 08:55:53 GMT Fixed a few minor dpkg settings
2004-09-20Added some control over how dpkg is invokedArch Librarian
Author: jgg Date: 1999-01-31 08:49:39 GMT Added some control over how dpkg is invoked
2004-09-20Havocs _exitArch Librarian
Author: jgg Date: 1998-12-14 06:54:41 GMT Havocs _exit
2004-09-20Item done countersArch Librarian
Author: jgg Date: 1998-11-23 07:32:19 GMT Item done counters
2004-09-20Needs Unpack fixesArch Librarian
Author: jgg Date: 1998-11-23 07:02:58 GMT Needs Unpack fixes
2004-09-20By gosh, I think it worksArch Librarian
Author: jgg Date: 1998-11-22 03:20:30 GMT By gosh, I think it works