summaryrefslogtreecommitdiff
path: root/apt-pkg
AgeCommit message (Collapse)Author
2009-07-23[apt-pkg] yet another bit of mmap and pkgcachegen housekeepingDavid Kalnischkies
* add mmap error message also to the dynamic mmap * remove some more {Ver,Desc} == 0 checks in for loops * try to respect the given flags to the dynamic mmap * open cached caches not as ReadOnly and not as Shared, so we always have a copy of the cache in the memory we can modify (e.g. set the hold state on-the-fly)
2009-07-21[apt-pkg/pkgcachegen.cc] remove the Ver == 0 and Desc == 0 from the lastDavid Kalnischkies
changeset as they are useless after the checks for LastVer & co work correctly.
2009-07-21eliminate (hopefully all) segfaults in pkgcachegen.cc and mmap.ccDavid Kalnischkies
which can arise if cache doesn't fit into the mmap (Closes: #535218) This removes also the previously introduced SegfaultSignalHandler: The handler works, but is ugly by design...
2009-07-15display warnings instead of errors if the parts dirs doesn't existDavid Kalnischkies
Parts dirs are /etc/apt/{sources.list,apt.conf,preferences}.d (in the default setup)
2009-07-15[contrib/error.cc] place a colon between errno and error text in outputDavid Kalnischkies
of GlobalError::Errno and WarningE (as it described in the comments of these methods)
2009-07-15merge with lp:~mvo/apt/debian-sidDavid Kalnischkies
2009-07-08add a segfault handler to MMap to show the Cache-Limit message, whichDavid Kalnischkies
can be deactivated with MMap::SegfaultHandler=false (Closes: 535218)
2009-07-08[contrib/mmap] implements a theoretical dynamic growing mmapDavid Kalnischkies
based on Michael Vogts patch in #195018 this commit implements the use of mmap (as preferred) instead of a static char array. In theory this made it possible to grow the mmap as needed, but as it is currently impossible to move the mmap around in the memory the grow is likely to fail but it improve the memory usage a bit, so it is not totally useless for now - and maybe we can adjust the pointers in the future...
2009-07-07* remove the MarkKeep calls if Is{Delete,Install}Ok false, becauseDavid Kalnischkies
they have no effect anyway (thanks Daniel Burrows for noticing) * improve documentation of the Is{Delete,Install}Ok methods a bit * add the FromUser boolean to the debug output of the markers
2009-07-06Support /etc/apt/preferences.d (Closes: #535512)Julian Andres Klode
2009-07-01versions with a pin of -1 shouldn't be a candidate (Closes: #355237)David Kalnischkies
2009-06-30* add hook for MarkInstall and MarkDelete (closes: #470035)David Kalnischkies
* honor the dpkg hold state in new Marker hooks (closes: #64141) Combine the proposed AutoInstOk and IsAutoInstallOk to more general hooks for MarkInstall (and another one for MarkDelete) with the same parameters as the call these hooks should check.
2009-06-30add the various foldmarkers in apt-pkg & cmdline (no code change)David Kalnischkies
2009-06-30fix typo in apt-pkg/acquire.cc which prevents Dl-Limit to workMichael Vogt
correctly when downloading from multiple sites (Closes: #534752)
2009-06-30merged r1811..1815 from lp:~donkult/apt/experimentalMichael Vogt
2009-06-30merge the AutoInstOk patch from debian-experimentalMichael Vogt
2009-06-29* support IsAutoInstallOk in the resolver tooMichael Vogt
* honor the dpkg hold state in IsAutoInstallOk (closes: #64141)
2009-06-29merge r1797 from lp:~donkult/apt/experimentalMichael Vogt
2009-06-29add hook for auto-install (closes: #470035)Michael Vogt
2009-06-29* add Debug::pkgDepCache::Marker with more detailed debug output Michael Vogt
* add Debug::pkgProblemResolver::ShowScores and make the scores adjustable
2009-06-29* add depth information to the debug output and show what dependsMichael Vogt
type triggers a autoinst (closes: #458389) * add debug::pkgDepCache::Marker with more detailed debug output (closes: #87520)
2009-06-29[ABI break] Allow pinning by codename (closes: #97564)Michael Vogt
2009-06-15Introduce support for the Enhances field. (Closes: #137583) jak@debian.org
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-05-07[apt-pkg] allow also codenames for specifying a releaseDavid Kalnischkies
* 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
2009-04-14build fixes, change version 0.7.21Michael Vogt
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-09Fix an infinite loop in pkgAcquire::UriIterator::operator++() (Closes: #335615).Daniel Burrows
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.
2009-01-19* apt-pkg/pkgcachegen.cc:Michael Vogt
- 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. Lyubimkin
2008-11-12merge from the mvo branchMichael Vogt
2008-11-12apt-pkg/deb/dpkgpm.cc: fix typo (thanks to jackyf)Michael Vogt
2008-11-12fix SIGHUP handling (closes: #463030)Michael Vogt
2008-10-29add fixme for the future flJustExtensionMichael Vogt
2008-10-29* apt-pkg/acquire-item.cc:Michael Vogt
- 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 Vogt
(generic) acquire-item.cc code
2008-10-29apt-pkg/acquire-item.cc: fixed my incorrect use of flExtensionMichael Vogt
2008-10-28fix various -Wall warningsMichael Vogt
2008-10-28* apt-pkg/acquire-item.cc:Michael Vogt
- 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 Vogt
- 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. Lyubimkin
2008-10-26Switched from regexp to using existing URI class to strip user/password.Eugene V. Lyubimkin
2008-10-25Corrected determining if regexp matched.Eugene V. Lyubimkin
2008-10-25Fixed error output when fallback'ed to uncompressed Packages/Sources.Eugene V. Lyubimkin
2008-10-25Strip user/password from URL in error message.Eugene V. Lyubimkin
2008-10-25Added fallback to uncompressed files while acquiring index files (Sources ↵Eugene V. Lyubimkin
and Packages)
2008-10-11Fix typo in apt-pkg/depcache.ccLuca Bruno
2008-10-11Fix another compilation warning in apt-pkg/versionmatch.ccLuca Bruno