summaryrefslogtreecommitdiff
path: root/apt-pkg
AgeCommit message (Collapse)AuthorFilesLines
2009-04-14build fixes, change version 0.7.21Michael Vogt1-0/+1
2009-04-09* apt-pkg/contrib/strutl.cc:Michael Vogt9-16/+70
- 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-09Fix an infinite loop in pkgAcquire::UriIterator::operator++() (Closes: #335615).Daniel Burrows1-1/+1
2009-03-06Fix FindFile (and FindDir) so that the value of RootDir is applied to the ↵Daniel Burrows1-2/+2
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.
2009-01-19* apt-pkg/pkgcachegen.cc:Michael Vogt1-1/+1
- fix apt-cache search for localized description (closes: #512110)
2008-11-26Added instruction how to work around MMap error in MMap error message.Eugene V. Lyubimkin1-2/+4
2008-11-12merge from the mvo branchMichael Vogt1-1/+1
2008-11-12apt-pkg/deb/dpkgpm.cc: fix typo (thanks to jackyf)Michael Vogt1-1/+1
2008-11-12fix SIGHUP handling (closes: #463030)Michael Vogt1-0/+5
2008-10-29add fixme for the future flJustExtensionMichael Vogt1-0/+4
2008-10-29* apt-pkg/acquire-item.cc:Michael Vogt1-3/+4
- fix a merge modification (done by me) that prevents the fallback to the uncompressed 'Packages' to work correctly
2008-10-29apt-pkg/acquire-item.cc: do not hardcode "Packages" or "Sources" in the ↵Michael Vogt1-1/+2
(generic) acquire-item.cc code
2008-10-29apt-pkg/acquire-item.cc: fixed my incorrect use of flExtensionMichael Vogt1-3/+3
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.