summaryrefslogtreecommitdiff
path: root/apt-pkg
Commit message (Collapse)AuthorAgeFilesLines
* * add Debug::pkgDepCache::Marker with more detailed debug output Michael Vogt2009-06-291-26/+65
| | | | * add Debug::pkgProblemResolver::ShowScores and make the scores adjustable
* * add depth information to the debug output and show what dependsMichael Vogt2009-06-294-18/+103
| | | | | type triggers a autoinst (closes: #458389) * add debug::pkgDepCache::Marker with more detailed debug output (closes: #87520)
* [ABI break] Allow pinning by codename (closes: #97564)Michael Vogt2009-06-296-21/+43
|\
| * [apt-pkg] allow also codenames for specifying a releaseDavid Kalnischkies2009-05-076-21/+43
| | | | | | | | | | * MatchType::Release checks first for archive than for codename equality * new n= option in apt_preference to be able to pin based on a codeName
* | Introduce support for the Enhances field. (Closes: #137583) jak@debian.org2009-06-153-3/+5
| |
* | apt-pkg/contrib/configuration.cc: Fix a small memory leak inJulian Andres Klode2009-06-121-0/+1
| | | | | | ReadConfigFile.
* | [ABI break] support '#' in apt.conf and /etc/apt/preferencesMichael Vogt2009-06-096-11/+39
|/ | | (closes: #189866)
* build fixes, change version 0.7.21Michael Vogt2009-04-141-0/+1
|
* * apt-pkg/contrib/strutl.cc:Michael Vogt2009-04-099-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).
* Fix an infinite loop in pkgAcquire::UriIterator::operator++() (Closes: #335615).Daniel Burrows2009-03-091-1/+1
|
* Fix FindFile (and FindDir) so that the value of RootDir is applied to the ↵Daniel Burrows2009-03-061-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.
* * apt-pkg/pkgcachegen.cc:Michael Vogt2009-01-191-1/+1
| | | | | - fix apt-cache search for localized description (closes: #512110)
* Added instruction how to work around MMap error in MMap error message.Eugene V. Lyubimkin2008-11-261-2/+4
|
* merge from the mvo branchMichael Vogt2008-11-121-1/+1
|
* apt-pkg/deb/dpkgpm.cc: fix typo (thanks to jackyf)Michael Vogt2008-11-121-1/+1
|
* fix SIGHUP handling (closes: #463030)Michael Vogt2008-11-121-0/+5
|
* add fixme for the future flJustExtensionMichael Vogt2008-10-291-0/+4
|
* * apt-pkg/acquire-item.cc:Michael Vogt2008-10-291-3/+4
|\ | | | | | | - fix a merge modification (done by me) that prevents the fallback to the uncompressed 'Packages' to work correctly
| * apt-pkg/acquire-item.cc: do not hardcode "Packages" or "Sources" in the ↵Michael Vogt2008-10-291-1/+2
| | | | | | | | (generic) acquire-item.cc code
| * apt-pkg/acquire-item.cc: fixed my incorrect use of flExtensionMichael Vogt2008-10-291-3/+3
| |
* | fix various -Wall warningsMichael Vogt2008-10-286-8/+11
| |
* | * apt-pkg/acquire-item.cc:Michael Vogt2008-10-282-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)
| * * apt-pkg/acquire-item.cc:Michael Vogt2008-10-282-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)
| | * Forgot to remove regex.h include in previous commit. Now doneEugene V. Lyubimkin2008-10-261-1/+0
| | |
| | * Switched from regexp to using existing URI class to strip user/password.Eugene V. Lyubimkin2008-10-261-15/+4
| | |
| | * Corrected determining if regexp matched.Eugene V. Lyubimkin2008-10-251-2/+3
| | |
| | * Fixed error output when fallback'ed to uncompressed Packages/Sources.Eugene V. Lyubimkin2008-10-251-2/+2
| | |
| | * Strip user/password from URL in error message.Eugene V. Lyubimkin2008-10-251-1/+17
| | |
| | * Added fallback to uncompressed files while acquiring index files (Sources ↵Eugene V. Lyubimkin2008-10-251-6/+19
| |/ | | | | | | and Packages)
* | Fix typo in apt-pkg/depcache.ccLuca Bruno2008-10-111-1/+1
| |
* | Fix another compilation warning in apt-pkg/versionmatch.ccLuca Bruno2008-10-111-1/+1
| |
* | Fix compilation warning in apt-pkg/acquire.cc. New experimental releaseLuca Bruno2008-10-111-1/+1
|/
* Applying #298821 patch for further arbitary typosLuca Bruno2008-10-032-3/+3
|
* Fix some typos in docs and translations (thanks to timeless, closes: 368665)Luca Bruno2008-10-034-4/+4
|
* * apt-pkg/packagemanager.cc, apt-pkg/deb/dpkgpm.cc:Michael Vogt2008-10-014-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)
* Restore the apt ABI.Daniel Burrows2008-09-252-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.
* * apt-pkg/pkgcachegen.cc:egon2008-09-232-5/+18
| | | | - do not add multiple identical descriptions for the same language (closes: #400768)
* * add DPkg::NoTriggers option so that applications that callMichael Vogt2008-07-251-0/+3
| | | | | apt/aptitude (like the installer) defer trigger processing (thanks to Joey Hess)
* * improve apt progress reporting, display trigger actionsMichael Vogt2008-07-252-1/+43
|
* * apt-pkg/depcache.cc:Michael Vogt2008-07-251-2/+3
| | | | | - when checking for new important deps, skip critical ones (closes: #485943)
* Apply patch to avoid truncating of arbitrary files. Thanks to BryanOtavio Salvador2008-05-231-1/+3
| | | Donlan <bdonlan@fushizen.net> for the patch. Closes: #482476
* Improve the debugging of the auto-remove code.Daniel Burrows2008-04-271-2/+43
|
* Fix ReadMessages to handle messages that are longer than 64000 bytes.Daniel Burrows2008-04-021-4/+40
| | | | | There's a bug in this code that needs to be fixed, but it existed prior to this change.
* Improve the names used for the non-whitespace iterators.Daniel Burrows2008-04-011-6/+6
|
* Remove a debugging message that I left in by accident (if it ever triggers ↵Daniel Burrows2008-04-011-5/+0
| | | | the program is about to crash anyway).
* Improve some comments in the configuration parser.Daniel Burrows2008-04-011-4/+8
|
* Lift the 1024-character limit on configuration file lines.Daniel Burrows2008-04-011-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.
* When a line in a config file is too long, say which config file it is.Daniel Burrows2008-03-311-1/+2
|
* Patch MarkInstall to follow currently satisfied Recommends even if they ↵Daniel Burrows2008-03-181-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.
* typo fixesMichael Vogt2008-03-111-2/+2
|