summaryrefslogtreecommitdiff
path: root/apt-pkg
AgeCommit message (Collapse)AuthorFilesLines
2008-10-28fix various -Wall warningsMichael Vogt6-8/+11
2008-10-28* apt-pkg/acquire-item.cc:Michael Vogt2-9/+26
- 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)
2008-10-28* apt-pkg/acquire-item.cc:Michael Vogt2-9/+26
- 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)
2008-10-26Forgot to remove regex.h include in previous commit. Now doneEugene V. Lyubimkin1-1/+0
2008-10-26Switched from regexp to using existing URI class to strip user/password.Eugene V. Lyubimkin1-15/+4
2008-10-25Corrected determining if regexp matched.Eugene V. Lyubimkin1-2/+3
2008-10-25Fixed error output when fallback'ed to uncompressed Packages/Sources.Eugene V. Lyubimkin1-2/+2
2008-10-25Strip user/password from URL in error message.Eugene V. Lyubimkin1-1/+17
2008-10-25Added fallback to uncompressed files while acquiring index files (Sources ↵Eugene V. Lyubimkin1-6/+19
and Packages)
2008-10-11Fix typo in apt-pkg/depcache.ccLuca Bruno1-1/+1
2008-10-11Fix another compilation warning in apt-pkg/versionmatch.ccLuca Bruno1-1/+1
2008-10-11Fix compilation warning in apt-pkg/acquire.cc. New experimental releaseLuca Bruno1-1/+1
2008-10-03Applying #298821 patch for further arbitary typosLuca Bruno2-3/+3
2008-10-03Fix some typos in docs and translations (thanks to timeless, closes: 368665)Luca Bruno4-4/+4
2008-10-01* apt-pkg/packagemanager.cc, apt-pkg/deb/dpkgpm.cc:Michael Vogt4-5/+5
- 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 Burrows2-13/+40
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-09-23* apt-pkg/pkgcachegen.cc:egon2-5/+18
- do not add multiple identical descriptions for the same language (closes: #400768)
2008-07-25* add DPkg::NoTriggers option so that applications that callMichael Vogt1-0/+3
apt/aptitude (like the installer) defer trigger processing (thanks to Joey Hess)
2008-07-25* improve apt progress reporting, display trigger actionsMichael Vogt2-1/+43
2008-07-25* apt-pkg/depcache.cc:Michael Vogt1-2/+3
- when checking for new important deps, skip critical ones (closes: #485943)
2008-05-23Apply patch to avoid truncating of arbitrary files. Thanks to BryanOtavio Salvador1-1/+3
Donlan <bdonlan@fushizen.net> for the patch. Closes: #482476
2008-04-27Improve the debugging of the auto-remove code.Daniel Burrows1-2/+43
2008-04-02Fix ReadMessages to handle messages that are longer than 64000 bytes.Daniel Burrows1-4/+40
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 Burrows1-6/+6
2008-04-01Remove a debugging message that I left in by accident (if it ever triggers ↵Daniel Burrows1-5/+0
the program is about to crash anyway).
2008-04-01Improve some comments in the configuration parser.Daniel Burrows1-4/+8
2008-04-01Lift the 1024-character limit on configuration file lines.Daniel Burrows1-49/+117
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 Burrows1-1/+2
2008-03-18Patch MarkInstall to follow currently satisfied Recommends even if they ↵Daniel Burrows1-7/+29
aren't "new". (Closes: #470115) This handles situations where a recommendation's version requirement has been tightened. Instead of breaking the Recommends, the recommendee will be upgraded.
2008-03-11typo fixesMichael Vogt1-2/+2
2008-02-21* Fix typos in manpages. Thanks to Daniel Leidert for the fixesMichael Vogt2-3/+3
Closes: #444922 [ Raise urgency to critical since it fixes a critical but for Debian Installer Lenny Beta1 release ] - Vietnamese updated. Closes: #460825 - Basque updated. Closes: #461166 - Galician updated. Closes: #461468 - Portuguese updated. Closes: #464575 - Korean updated. Closes: #448430 - Simplified Chinese updated. Closes: #465866 * Applied patch from Robert Millan <rmh@aybabtu.com> to fix the error message when gpgv isn't installed, closes: #452640. * Fix regression about APT::Get::List-Cleanup setting being ignored, closes: #466052. * Fix compilation warnings in apt-pkg/cdrom.cc and apt-pkg/contrib/configuration.cc. * Fix typo in debian/copyright file ("licened" instead of "licensed"), closes: #458966. - Vietnamese updated. Closes: #453774, #459013 - Simplified Chinese updated. Closes: #458039 - Norwegian Bokmål updated. Closes: #457917 * Fix wording for "After unpacking...". Thanks to Michael Gilbert
2008-02-16* Fix regression about APT::Get::List-Cleanup setting being ignored,Otavio Salvador1-1/+1
closes: #466052.
2008-02-06 - Make the breaks handling use the kill list. This means, that aMichael Vogt1-6/+7
Breaks: Pkg (<< version) may put Pkg onto the remove list.
2008-02-04* apt-pkg/deb/debmetaindex.cc:Michael Vogt1-0/+9
- add missing "Release" file uri when apt-get update --print-uris is run
2008-02-01* apt-pkg/algorithms.cc: Michael Vogt1-1/+5
- add APT::Update::Post-Invoke-Success script slot
2008-01-31* apt-pkg/deb/dpkgpm.cc:Michael Vogt1-1/+3
- merged patch from Kees Cook to fix anoying upper-case display on amd64 in sbuild
2008-01-10* apt-pkg/algorithms.cc:Michael Vogt1-1/+1
- Since APT::Get::List-Cleanup and APT::List-Cleanup both default to true, the effect of the compatibility code was to require both of them to be set to false in order to disable list cleanup; this broke the installer. Instead, disable list cleanup if either of them is set to false.
2008-01-07* apt-pkg/packagemanager.{cc,h}:Michael Vogt11-81/+198
- 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-07* apt-pkg/acquire-worker.cc, methods/connect.cc:Michael Vogt1-0/+1
- consider a ResolveError a transient-network problem
2008-01-07* move the ListUpdate() code from cachefile.h into algorithms.{cc,h}Michael Vogt4-76/+78
as it does not require a cachefile at all
2008-01-04support optional PulseInterval in ListUpdateMichael Vogt2-4/+12
2008-01-04* merged the apt--DoListUpdate branch, this provides a common interfaceMichael Vogt6-64/+140
for apt-get update like operations for the frontends and also provides hooks to run stuff in APT::Update::{Pre,Post}-Invoke
2008-01-03* apt-pkg/packagemanager.{cc,h}:Michael Vogt2-12/+42
- propergate the Immediate flag to make hitting the "E: Internal Error, Could not perform immediate configuration (2)" harder
2007-12-27* Fix compilation warnings in apt-pkg/cdrom.cc andOtavio Salvador2-3/+3
apt-pkg/contrib/configuration.cc.
2007-12-19merged from bzr.debian.netMichael Vogt2-3/+8
2007-12-17apt-pkg/deb/dpkgpm.cc: fix typesMichael Vogt1-4/+4
2007-12-16* apt-pkg/contrib/configuration.cc:Otavio Salvador1-1/+6
- if RootDir is set, then FindFile and FindDir will return paths relative to the directory stored in RootDir, closes: #456457.
2007-12-16* Applied patch from Peter Eisentraut <peter_e@gmx.net> to fix aOtavio Salvador1-2/+2
grammatical error ("manual installed" -> "manually installed"), closes: #438136. *
2007-12-13merged from debian-sidMichael Vogt1-3/+3
2007-12-08* Applied patch from Alexander Winston <alexander.winston@comcast.net>Otavio Salvador1-3/+3
to use 'min' as symbol for minute, closes: #219034.