summaryrefslogtreecommitdiff
path: root/apt-pkg/contrib
AgeCommit message (Collapse)Author
2009-07-16* apt-pkg/contrib/hashes.cc, apt-pkg/contrib/md5.cc:Julian Andres Klode
- Support reading until EOF if Size=0 to match behaviour of SHA1Summation and SHA256Summation
2009-06-29merge r1797 from lp:~donkult/apt/experimentalMichael Vogt
2009-06-12apt-pkg/contrib/configuration.cc: Fix a small memory leak inJulian Andres Klode
ReadConfigFile.
2009-06-09[ABI break] support '#' in apt.conf and /etc/apt/preferencesMichael Vogt
(closes: #189866)
2009-04-09* apt-pkg/contrib/strutl.cc:Michael Vogt
- fix TimeToStr i18n (LP: #289807) * [ABI break] merge support for http redirects, thanks to Jeff Licquia and Anthony Towns * [ABI break] use int for the package IDs (thanks to Steve Cotton) * apt-pkg/pkgcache.cc: - do not run "dpkg --configure pkg" if pkg is in trigger-awaited state (LP: #322955) * methods/https.cc: - add Acquire::https::AllowRedirect support * Clarify the --help for 'purge' (LP: #243948) * cmdline/apt-get.cc - fix "apt-get source pkg" if there is a binary package and a source package of the same name but from different packages (LP: #330103) * cmdline/acqprogress.cc: - Call pkgAcquireStatus::Pulse even if quiet, so that we still get dlstatus messages on the status-fd (LP: #290234).
2009-03-06Fix FindFile (and FindDir) so that the value of RootDir is applied to the ↵Daniel Burrows
default if no value is found. Previously FindFile("Dir::etc", "/etc") would use RootDir if a value existed for "Dir::etc"; otherwise it would go ahead and use "/etc", ignoring RootDir. Of course, this made RootDir fairly useless; it has now been fixed.
2008-11-26Added instruction how to work around MMap error in MMap error message.Eugene V. Lyubimkin
2008-10-28fix various -Wall warningsMichael Vogt
2008-10-03Applying #298821 patch for further arbitary typosLuca Bruno
2008-10-03Fix some typos in docs and translations (thanks to timeless, closes: 368665)Luca Bruno
2008-05-23Apply patch to avoid truncating of arbitrary files. Thanks to BryanOtavio Salvador
Donlan <bdonlan@fushizen.net> for the patch. Closes: #482476
2008-04-02Fix ReadMessages to handle messages that are longer than 64000 bytes.Daniel Burrows
There's a bug in this code that needs to be fixed, but it existed prior to this change.
2008-04-01Improve the names used for the non-whitespace iterators.Daniel Burrows
2008-04-01Remove a debugging message that I left in by accident (if it ever triggers ↵Daniel Burrows
the program is about to crash anyway).
2008-04-01Improve some comments in the configuration parser.Daniel Burrows
2008-04-01Lift the 1024-character limit on configuration file lines.Daniel Burrows
To do this, I changed the configuration parser so that instead of reading the line into a buffer and munging it in-place, it builds a string containing the current line (via successive getline() calls) and then walks down that string. Instead of skipping comments and whitespace by erasing them from the buffer, the new code just skips over them.
2008-03-31When a line in a config file is too long, say which config file it is.Daniel Burrows
2008-01-07* apt-pkg/packagemanager.{cc,h}:Michael Vogt
- propergate the Immediate flag to make hitting the "E: Internal Error, Could not perform immediate configuration (2)" harder * debian/control: - build against libdb-dev (instead of libdb4.4-dev) * merged the apt--DoListUpdate branch, this provides a common interface for "apt-get update" like operations for the frontends and also provides hooks to run stuff in APT::Update::{Pre,Post}-Invoke
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-27* Fix compilation warnings in apt-pkg/cdrom.cc andOtavio Salvador
apt-pkg/contrib/configuration.cc.
2007-12-16* apt-pkg/contrib/configuration.cc:Otavio Salvador
- if RootDir is set, then FindFile and FindDir will return paths relative to the directory stored in RootDir, closes: #456457.
2007-12-08* Applied patch from Alexander Winston <alexander.winston@comcast.net>Otavio Salvador
to use 'min' as symbol for minute, closes: #219034.
2007-10-02 - fix parse error when dpkg sends unexpected dataMichael Vogt
* fix missing SetExecClose() call when the status-fd is used * debian/apt.cron.daily: - move unattended-upgrade before apt-get autoclean * fix "purge" commandline argument, closes: #133421 (thanks to Julien Danjou for the patch) * cmdline/apt-get.cc: - do not change the auto-installed information if a package is reinstalled * apt-pkg/acquire-item.cc: - fix crash in diff acquire code * cmdline/apt-mark: - Fix chmoding after have renamed the extended-states file (LP: #140019) (thanks to Laurent Bigonville) * apt-pkg/contrib/mmap.cc: - don't fail if msync() returns > 0
2007-09-27* apt-pkg/acquire-item.cc:Michael Vogt
- fix crash in diff acquire code * apt-pkg/contrib/mmap.cc: - don't fail if msync() returns > 0
2007-09-10* apt-pkg/contrib/hashes.h:Michael Vogt
- fix anohter missing cstring include
2007-09-10* make apt build with g++ 4.3Michael Vogt
2007-09-10* make apt build with g++ 4.3Michael Vogt
2007-08-03* make apt -Wall cleanMichael Vogt
2007-07-30* apt-pkg/acquire-item.{cc,h}:Michael Vogt
- rename "hash" into ExpectedHash in pkgAcqFile, pkgAcqIndex - add missing HashSum() call to class pkgAcqIndex - use the data provided by acquire-method (and send via the {SHA256,SHA1,MD5Sum}-Hash tag when comparing the hash, this avoids calculating the hash twice (just like old libapt) * apt-pkg/acquire-method.cc: - send MD5Sum-Hash tag to libapt to be consistant with HashString::SupportedHashes() * apt-pkg/acquire-worker.cc: - check with "Owner->HashSum().HashType()" what hash the frontend is expecting and pass it to pkgAcquireItem::Done() in the new HashString format - add some debugging output * apt-pkg/contrib/hashes.cc: - fix off-by-one error when constructing a HashString from a single input string * apt-pkg/contrib/hashes.h: - add "HashType()" method * apt-pkg/init.h, apt-pkg/makefile, methods/makefile: - break ABI
2007-07-26* implement sha256/sha1/md5 checking with proper backward compatibilityMichael Vogt
and fallback
2007-07-10 * Fix compilation warnings:Otavio Salvador
- apt-pkg/contrib/configuration.cc: wrong argument type; - apt-pkg/deb/dpkgpm.cc: wrong signess; - apt-pkg-acquire-item.cc: wrong signess and orderned initializers; - methods/https.cc: - type conversion; - unused variable; - changed SetupProxy() method to void;
2007-06-19* fix some warningsMichael Vogt
2007-06-19* fixed compile errors with g++ 7.3 (thanks to Michael Vogt
Daniel Burrows, closes: #429378) * fix FTFBFS by changing build-depends to libcurl4-gnutls-dev (closes: #428363)
2007-06-09* merged the remaining bits from the apt--no-pragma branchMichael Vogt
2007-06-09* huge merge to bring the apt debian-sid and ubuntu branches as closeMichael Vogt
as possible to apt--mvo again
2007-06-08* remove all the remaining #pragma implementationMichael Vogt
2007-06-08* fix FTBFS with gcc 4.3, closes: #417090Michael Vogt
(thanks to Martin Michlmayr for the patch)
2007-05-02* merged with the apt--mvo branchMichael Vogt
2007-03-07* apt-pkg/cdrom.cc:Michael Vogt
- only unmount if APT::CDROM::NoMount is false * methods/cdrom.cc: - only umount if it was mounted by the method before
2006-12-14* merged the no-pragma branchMichael Vogt
2006-12-14* merged with apt--debian-sidMichael Vogt
2006-12-07* apt-pkg/contrib/progress.ccMichael Vogt
- only check time on precent boundaries (seems to make a real difference on ARM, see debian #398381) * apt-pkg/contrib/sha256.cc: - added #pragma interface * apt-pkg/contrib/sha256.h: - remove unneeded stdint.h include * apt-pkg/vendorlist.cc: - fix qualifier to make it build with -O0 * po/: - make update-po
2006-10-02* removed the remaining #ifdef __GNUG__ that are no longer requiredMichael Vogt
2006-10-02* remove the remaining #ifdef __GNUG__ bitsMichael Vogt
2006-10-02* removed the pragma messMichael Vogt
2006-07-26* merged with mainlineMichael Vogt
2006-07-24* apt-pkg/contrib/sha256.cc:Michael Vogt
- fix the sha256 code (thanks to Jakob Bohm, closes: #378183)
2006-06-07* apt-pkg/deb/dpkgpm.cc, apt-pkg/contrib/fileutl.{cc,h}:Michael Vogt
- move the RunScripts() code into fileutl.{cc,h} * apt-pkg/cachefile.cc: - add support for "APT::Update::{Pre,Post}-Invoke" scripts
2006-05-17merged with the debian-sid branchMichael Vogt
2006-05-16* apt-pkg/contrib/sha256.cc:Michael Vogt
The patch below fixes the problem by open-coding the ntohl() call and combining it with a byte-by-byte load of the 32-bit word.