summaryrefslogtreecommitdiff
path: root/apt-pkg
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | * apt-pkg/contrib/fileutl.cc:Julian Andres Klode2010-06-292-6/+17
| | | | | | | | | | | | - Make FileFd replace files atomically in WriteTemp mode (for cache, etc).
| * | | Also free regular expressions.Julian Andres Klode2010-06-281-0/+1
| | | |
| * | | Use _error->Warning() instead of writing to std::cerr.Julian Andres Klode2010-06-281-1/+1
| | | |
| * | | Remove debugging stuff, this was not meant to be here.Julian Andres Klode2010-06-281-1/+0
| | | |
| * | | Also support regular expressions and glob() patterns in "Pin: version".Julian Andres Klode2010-06-281-0/+2
| | | |
| * | | * apt-pkg/versionmatch.cc:Julian Andres Klode2010-06-282-12/+48
| | | | | | | | | | | | | | | | | | | | - Support matching pins by regular expressions or glob() like patterns, regular expressions have to be put between to slashes; for example, /.*/.
| * | | deblistparser: Special-case *-armel, lpia and powerpcspe architectures.Julian Andres Klode2010-06-271-0/+6
| | | |
| * | | apt-pkg/deb/deblistparser.cc: Fix bug in architecture wildcard support.Julian Andres Klode2010-06-261-3/+10
| | | | | | | | | | | | | | | | | | | | | | | | 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 "-".
| * | | * apt-pkg/deb/deblistparser.cc:Julian Andres Klode2010-06-261-1/+9
| | | | | | | | | | | | - Handle architecture wildcards (Closes: #547724).
* | | | Try to use NotEquals for the MultiArch Breaks dependencies instead ofDavid Kalnischkies2010-07-051-4/+1
| | | | | | | | | | | | | | | | Less and Greater -> half the dependencies :)
* | | | clean deblistparser a bit by get the Architectures at one placeDavid Kalnischkies2010-07-042-14/+13
| | | | | | | | | | | | | | | | instead of distributed in a few methods
* | | | * apt-pkg/policy.h:David Kalnischkies2010-07-046-29/+29
| | | | | | | | | | | | | | | | - add another round of const& madness as the previous round accidently NOT override the virtual GetCandidateVer() method (Closes: #587725)
* | | | always mark the all package if a pseudo package is marked for installDavid Kalnischkies2010-06-261-0/+4
| | | |
* | | | make the MMap Grow Error a fatal one as while in theory the code shouldDavid Kalnischkies2010-06-261-1/+1
| | | | | | | | | | | | | | | | never segfault it still tend to do it so better show it directly
* | | | * apt-pkg/contrib/fileutl.cc:David Kalnischkies2010-06-262-0/+9
| | | | | | | | | | | | | | | | | | | | - show notice about ignored file instead of being always silent - add a Dir::Ignore-Files-Silently list option to control the notice *
* | | | - use the new MatchAgainstConfig for the DefaultRootSetFuncDavid Kalnischkies2010-06-264-65/+67
| | | | | | | | | | | | | | | | * apt-pkg/contrib/configuration.{cc,h}: - add a wrapper to match strings against configurable regex patterns
* | | | * apt-pkg/aptconfiguration.cc:David Kalnischkies2010-06-261-0/+4
| | | | | | | | | | | | - show a deprecation notice for APT::Acquire::Translation
* | | | add a simple stack handling to be able to delay error handlingDavid Kalnischkies2010-06-252-2/+65
| | | |
* | | | * apt-pkg/contrib/error.{cc,h}:David Kalnischkies2010-06-252-207/+356
| | | | | | | | | | | | | | | | - complete rewrite but use the same API - add NOTICE and DEBUG as new types of a message
* | | | fix the gcc warning about the initialisation order of variables causedDavid Kalnischkies2010-06-191-1/+1
| | | | | | | | | | | | | | | | by moving Policy to public again (and therefore after SrcList)
* | | | * apt-pkg/depcache.cc:David Kalnischkies2010-06-162-2/+32
| | | | | | | | | | | | | | | | - SetCandidateVer for all pseudo packages - SetReInstall for the "all" package of a pseudo package
* | | | add a simple method to VerIterator to check if two Versions are similarDavid Kalnischkies2010-06-161-0/+9
| | | |
* | | | * cmdline/cacheset.cc:David Kalnischkies2010-06-153-607/+2
| | | | | | | | | | | | - doesn't include it in the library for now as it is too volatile
* | | | Add a GroupedFromCommandLine for the VersionSet similar to theDavid Kalnischkies2010-06-152-39/+119
| | | | | | | | | | | | | | | | | | | | one for PackageSet and refactor the existing VersionSet methods to simplify that.
* | | | merge with debian-experimental-ma to get the public policy backDavid Kalnischkies2010-06-101-1/+1
|\| | |
| * | | * apt-pkg/cachefile.h:Michael Vogt2010-06-101-1/+1
| | | | | | | | | | | | | | | | - make pkgPolicy public again, libapt-pkg-perl (and probably others) get unhappy without that
* | | | * apt-pkg/orderlist.cc:David Kalnischkies2010-06-102-2/+4
| | | | | | | | | | | | | | | | | | | | - untouched packages are never missing * apt-pkg/packagemanager.cc: - packages that are not touched doesn't need to be unpacked
* | | | * apt-pkg/cacheset.cc:David Kalnischkies2010-06-102-5/+14
|/ / / | | | | | | | | | - get the candidate either from an already built depcache or use the policy which is a bit faster than depcache generation
* | | enhance the split out of the gpgv commandline mangling by splitting outDavid Kalnischkies2010-06-092-15/+57
| | | | | | | | | | | | the call completely
* | | sent Last-Modified header also for Translation filesDavid Kalnischkies2010-06-091-3/+10
| | |
* | | be sure that the RFC1123StrToTime method is run in a LANG=C environmentDavid Kalnischkies2010-06-091-2/+6
| | |
* | | * apt-pkg/indexcopy.cc:David Kalnischkies2010-06-092-39/+73
| | | | | | | | | - move the gpg codecopy to a new method and use it also in methods/gpgv.cc
* | | * apt-pkg/policy.cc:David Kalnischkies2010-06-092-13/+23
| | | | | | | | | | | | - get the candidate right for a not-installed pseudo package if his non-pseudo friend is installed
* | | remove the "typename" from the const_iterators as gcc-4.4 doesn't likeDavid Kalnischkies2010-06-091-2/+2
| | | | | | | | | | | | them and gcc-4.5 does the right thing (TM) with and without them
* | | merged from lp:~donkult/apt/sidMichael Vogt2010-06-0932-161/+1085
|\ \ \
| * \ \ - backport forgotten Valid-Until patch from the obsolete experimentalDavid Kalnischkies2010-06-096-26/+115
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| | * | | rename the options, document them and reorder the changelog a bitDavid Kalnischkies2010-06-091-2/+2
| | | | |
| | * | | move the users away from the deprecated StrToTime() methodDavid Kalnischkies2010-06-092-3/+3
| | | | |
| | * | | use the portable timegm shown in his manpage instead of a strangeDavid Kalnischkies2010-06-091-20/+16
| | | | | | | | | | | | | | | looking code copycat from wget
| | * | | use the Valid-Until header from the Release file but if the userDavid Kalnischkies2010-06-081-14/+19
| | | | | | | | | | | | | | | | | | | | | | | | | provides a setting in the configuration prefer the date which is earlier.
| | * | | enhance the Valid-Until code a bit by using the correct RFC1123StrToTimeDavid Kalnischkies2010-06-082-19/+21
| | | | | | | | | | | | | | | | | | | | method and allow for better translations of the error messages
| | * | | * apt-pkg/contrib/strutl.cc:David Kalnischkies2010-06-082-1/+39
| | | | | | | | | | | | | | | | | | | | - split StrToTime() into HTTP1.1 and FTP date parser methods and use strptime() instead of some selfmade scanf mangling
| | * | | * apt-pkg/indexrecords.cc:David Kalnischkies2010-06-083-3/+51
| | | | | | | | | | | | | | | | | | | | | | | | | - backport forgotten Valid-Until patch from the obsolete experimental branch to prevent replay attacks better, thanks to Thomas Viehmann for the initial patch! (Closes: #499897)
| * | | | * apt-pkg/pkgcache.h:David Kalnischkies2010-06-099-32/+128
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
| | * | | | * apt-pkg/depcache.cc:David Kalnischkies2010-06-033-14/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - switch i{Download,Usr}Size from double to (un)signed long long The biggest reason is that this saves a lot of float point operations we do in AddSizes() on integers. The only reason i see that this was a double is that it was 64bit long and can therefore store bigger values than int/long, but with the availablity of (un)signed long long we are now also at 64bit and can store sizes more than 8 Exabytes big - by the time this will be a limit the C/C++ Standard will have bigger types, hopefully.
| | * | | | deprecate AddSize with Multiplier as it is unused and switch toDavid Kalnischkies2010-06-032-4/+74
| | | | | | | | | | | | | | | | | | boolean instead to handle the sizes more gracefully.
| | * | | | * apt-pkg/pkgcache.h:David Kalnischkies2010-06-036-14/+38
| | |/ / / | | | | | | | | | | | | | | | | | | | | - switch {,Install-}Size to unsigned long long * apt-pkg/depcache.cc: - deal with long long, not with int to remove 2GB Limit (LP: #250909)
| * | | | add a GroupedFromCommandLine method to the PackageSet to split theDavid Kalnischkies2010-06-062-0/+56
| | | | | | | | | | | | | | | | | | | | packages on the commandline into groups based on modifiers
| * | | | support special release-modifier 'installed' and 'candidate'David Kalnischkies2010-06-052-49/+82
| | | | |
| * | | | handle :arch modifier in PackageSet::FromString correctlyDavid Kalnischkies2010-06-052-8/+22
| | | | |