summaryrefslogtreecommitdiff
path: root/apt-pkg
AgeCommit message (Collapse)Author
2010-07-08* apt-pkg/pkgcachegen.{cc,h}:David Kalnischkies
- make the used MMap moveable (and therefore dynamic resizeable) by applying (some) mad pointer magic (Closes: #195018)
2010-07-08use references instead of copies in the Cache generation methodsDavid Kalnischkies
2010-07-06wrap the mmap actions in the CacheGenerator in their own methods toDavid Kalnischkies
be able to react on condition changes later then we can move mmap
2010-07-05merge with debian-experimental-maDavid Kalnischkies
2010-07-05Try to use NotEquals for the MultiArch Breaks dependencies instead ofDavid Kalnischkies
Less and Greater -> half the dependencies :)
2010-07-04clean deblistparser a bit by get the Architectures at one placeDavid Kalnischkies
instead of distributed in a few methods
2010-07-04* apt-pkg/policy.h:David Kalnischkies
- add another round of const& madness as the previous round accidently NOT override the virtual GetCandidateVer() method (Closes: #587725)
2010-06-29Fix the atomic replace.Julian Andres Klode
2010-06-29* apt-pkg/contrib/fileutl.cc:Julian Andres Klode
- Make FileFd replace files atomically in WriteTemp mode (for cache, etc).
2010-06-28Also free regular expressions.Julian Andres Klode
2010-06-28Use _error->Warning() instead of writing to std::cerr.Julian Andres Klode
2010-06-28Remove debugging stuff, this was not meant to be here.Julian Andres Klode
2010-06-28Also support regular expressions and glob() patterns in "Pin: version".Julian Andres Klode
2010-06-28* apt-pkg/versionmatch.cc:Julian Andres Klode
- Support matching pins by regular expressions or glob() like patterns, regular expressions have to be put between to slashes; for example, /.*/.
2010-06-27deblistparser: Special-case *-armel, lpia and powerpcspe architectures.Julian Andres Klode
2010-06-26apt-pkg/deb/deblistparser.cc: Fix bug in architecture wildcard support.Julian Andres Klode
Previously, linux-any was always matched, because the code simply appended linux- to the APT::Architecture value. Now, it does this only if the APT::Architecture value does not contain "-".
2010-06-26* apt-pkg/deb/deblistparser.cc:Julian Andres Klode
- Handle architecture wildcards (Closes: #547724).
2010-06-26always mark the all package if a pseudo package is marked for installDavid Kalnischkies
2010-06-26make the MMap Grow Error a fatal one as while in theory the code shouldDavid Kalnischkies
never segfault it still tend to do it so better show it directly
2010-06-26* apt-pkg/contrib/fileutl.cc:David Kalnischkies
- show notice about ignored file instead of being always silent - add a Dir::Ignore-Files-Silently list option to control the notice *
2010-06-26 - use the new MatchAgainstConfig for the DefaultRootSetFuncDavid Kalnischkies
* apt-pkg/contrib/configuration.{cc,h}: - add a wrapper to match strings against configurable regex patterns
2010-06-26* apt-pkg/aptconfiguration.cc:David Kalnischkies
- show a deprecation notice for APT::Acquire::Translation
2010-06-25add a simple stack handling to be able to delay error handlingDavid Kalnischkies
2010-06-25* apt-pkg/contrib/error.{cc,h}:David Kalnischkies
- complete rewrite but use the same API - add NOTICE and DEBUG as new types of a message
2010-06-19fix the gcc warning about the initialisation order of variables causedDavid Kalnischkies
by moving Policy to public again (and therefore after SrcList)
2010-06-16* apt-pkg/depcache.cc:David Kalnischkies
- SetCandidateVer for all pseudo packages - SetReInstall for the "all" package of a pseudo package
2010-06-16add a simple method to VerIterator to check if two Versions are similarDavid Kalnischkies
2010-06-15* cmdline/cacheset.cc:David Kalnischkies
- doesn't include it in the library for now as it is too volatile
2010-06-15Add a GroupedFromCommandLine for the VersionSet similar to theDavid Kalnischkies
one for PackageSet and refactor the existing VersionSet methods to simplify that.
2010-06-10merge with debian-experimental-ma to get the public policy backDavid Kalnischkies
2010-06-10* apt-pkg/cachefile.h:Michael Vogt
- make pkgPolicy public again, libapt-pkg-perl (and probably others) get unhappy without that
2010-06-10* apt-pkg/orderlist.cc:David Kalnischkies
- untouched packages are never missing * apt-pkg/packagemanager.cc: - packages that are not touched doesn't need to be unpacked
2010-06-10* apt-pkg/cacheset.cc:David Kalnischkies
- get the candidate either from an already built depcache or use the policy which is a bit faster than depcache generation
2010-06-09enhance the split out of the gpgv commandline mangling by splitting outDavid Kalnischkies
the call completely
2010-06-09sent Last-Modified header also for Translation filesDavid Kalnischkies
2010-06-09be sure that the RFC1123StrToTime method is run in a LANG=C environmentDavid Kalnischkies
2010-06-09* apt-pkg/indexcopy.cc:David Kalnischkies
- move the gpg codecopy to a new method and use it also in methods/gpgv.cc
2010-06-09* apt-pkg/policy.cc:David Kalnischkies
- get the candidate right for a not-installed pseudo package if his non-pseudo friend is installed
2010-06-09remove the "typename" from the const_iterators as gcc-4.4 doesn't likeDavid Kalnischkies
them and gcc-4.5 does the right thing (TM) with and without them
2010-06-09merged from lp:~donkult/apt/sidMichael Vogt
2010-06-09merge lp:~mvo/apt/ubuntu-mirror-method-improvementsMichael Vogt
2010-06-09* merge the remaining Ubuntu change:Michael Vogt
- on gpg verification failure warn and restore the last known good state - on failure display the IP of the server (useful for servers that use round robin DNS) - support Original-Maintainer in RewritePackageOrder - enable cdrom autodetection via libudev by default - show messsage about Vcs in use when apt-get source is run for packages maintained in a Vcs - better support transitional packages with mark auto-installed. when the transitional package is in "oldlibs" the new package is not marked auto installed (same is true for section metapackages) - provide new "deb mirror://archive.foo/mirrors.list sid main" method expects a list of mirrors (generated on the server e.g. via geoip) and will use that, including cycle on failure - write apport crash file on package failure (disabled by default on debian until apport is available) - support mirror failure reporting (disabled by default on debian)
2010-06-09 - backport forgotten Valid-Until patch from the obsolete experimentalDavid Kalnischkies
branch to prevent replay attacks better, thanks to Thomas Viehmann for the initial patch! (Closes: #499897) * doc/apt.conf.5.xml: - document the new Valid-Until related options * apt-pkg/contrib/strutl.cc: - split StrToTime() into HTTP1.1 and FTP date parser methods and use strptime() instead of some self-made scanf mangling - use the portable timegm shown in his manpage instead of a strange looking code copycat from wget * ftparchive/writer.cc: - add ValidTime option to generate a Valid-Until header in Release file
2010-06-09* apt-pkg/pkgcache.h:David Kalnischkies
- switch {,Install-}Size to unsigned long long - deal with long long, not with int to remove 2GB Limit (LP: #250909) - deprecate AddSize with Multiplier as it is unused and switch to boolean instead to handle the sizes more gracefully. - switch i{Download,Usr}Size from double to (un)signed long long * cmdline/apt-get.cc: - use unsigned long long instead of double to store values it gets
2010-06-09rename the options, document them and reorder the changelog a bitDavid Kalnischkies
2010-06-09move the users away from the deprecated StrToTime() methodDavid Kalnischkies
2010-06-09use the portable timegm shown in his manpage instead of a strangeDavid Kalnischkies
looking code copycat from wget
2010-06-08use the Valid-Until header from the Release file but if the userDavid Kalnischkies
provides a setting in the configuration prefer the date which is earlier.
2010-06-08enhance the Valid-Until code a bit by using the correct RFC1123StrToTimeDavid Kalnischkies
method and allow for better translations of the error messages
2010-06-08* apt-pkg/contrib/strutl.cc:David Kalnischkies
- split StrToTime() into HTTP1.1 and FTP date parser methods and use strptime() instead of some selfmade scanf mangling