summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-09* ftparchive/writer.cc:David Kalnischkies
- add ValidTime option to generate a Valid-Until header in Release file
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
2010-06-08* apt-pkg/indexrecords.cc:David Kalnischkies
- 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)
2010-06-06use the GroupedFromCommandLine() method in the dotty and xvcg commandDavid Kalnischkies
to get all the funky features in less lines
2010-06-06add a GroupedFromCommandLine method to the PackageSet to split theDavid Kalnischkies
packages on the commandline into groups based on modifiers
2010-06-05do not fail if an unrelated error is pending in DisplayRecord()David Kalnischkies
2010-06-05support special release-modifier 'installed' and 'candidate'David Kalnischkies
2010-06-05accept package versions in the unmet commandDavid Kalnischkies
2010-06-05enhance the changelog a bitDavid Kalnischkies
2010-06-05handle :arch modifier in PackageSet::FromString correctlyDavid Kalnischkies
2010-06-05apt-cache show --no-all-versions should issues the CandidateDavid Kalnischkies
2010-06-05do not insert end() Iterators into the CacheSet even if requestedDavid Kalnischkies
2010-06-05Don't increase the commandline parameter in the library but in theDavid Kalnischkies
application to be really generic.
2010-06-05add --target-release option (Closes: #115520)David Kalnischkies
2010-06-05Add a option to apt-cache policy to additionally init the DepCache beforeDavid Kalnischkies
starting to get the package informations. This is useful e.g. for debugging the MultiArchKiller.
2010-06-05use pkgCacheFile and the new CacheSets all over the placeDavid Kalnischkies
2010-06-05Add a method to get a VersionSet from the Commandline and refactorDavid Kalnischkies
the existing methods a bit to reuse them easier intern
2010-06-04store also the SourceList we use internally for exportDavid Kalnischkies
2010-06-04Switch away from the now deprecated methods for Cache buildingDavid Kalnischkies
2010-06-04* apt-pkg/cachefile.{cc,h}:David Kalnischkies
- split Open() into submethods to be able to build only parts - make the OpProgress optional in the Cache buildprocess
2010-06-03* cmdline/apt-get.cc:David Kalnischkies
- use unsigned long long instead of double to store values it gets
2010-06-03* apt-pkg/depcache.cc:David Kalnischkies
- 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.
2010-06-03deprecate AddSize with Multiplier as it is unused and switch toDavid Kalnischkies
boolean instead to handle the sizes more gracefully.
2010-06-03* apt-pkg/pkgcache.h:David Kalnischkies
- switch {,Install-}Size to unsigned long long * apt-pkg/depcache.cc: - deal with long long, not with int to remove 2GB Limit (LP: #250909)
2010-05-31* apt-pkg/cacheset.{cc,h}:David Kalnischkies
- add simple wrapper around std::set for cache structures
2010-05-31rename packageset into cacheset while it is not too lateDavid Kalnischkies
2010-05-31* cmdline/apt-cache.cc:David Kalnischkies
- make the search multiarch compatible by using GrpIterator instead
2010-05-31* apt-pkg/pkgcache.cc:David Kalnischkies
- get the best matching arch package from a group with FindPreferredPkg
2010-05-31* apt-pkg/contrib/cmdline.cc:David Kalnischkies
- fix segfault in SaveInConfig caused by writing over char[] sizes
2010-05-31improve the handling of regex together with the architecture modifierDavid Kalnischkies
2010-05-31i managed to commit broken code… which (at least in my mind) workedDavid Kalnischkies
yesterday. Strange… anyway only small fixes.
2010-05-31move cmdline parsing from apt-cache to new FromCommandLine methodDavid Kalnischkies
2010-05-30move regex magic from apt-get to new FromRegEx methodDavid Kalnischkies
2010-05-30* apt-pkg/packageset.h:David Kalnischkies
- add a simple wrapper around std::set for packages with it
2010-05-29* ftparchive/writer.h:David Kalnischkies
- add a virtual destructor to FTWScanner class (for cppcheck)
2010-05-29* apt-pkg/depcache.cc:David Kalnischkies
- correct "Dangerous iterator usage." pointed out by cppcheck
2010-05-29* apt-pkg/cacheiterator.h:David Kalnischkies
- let pkgCache::Iterator inherent std::iterator
2010-05-29* apt-pkg/indexrecords.{cc,h}:David Kalnischkies
- add a constant Exists check for MetaKeys * apt-pkg/acquire-item.cc: - do not try PDiff if it is not listed in the Meta file
2010-05-28create the bin-test directory automatic in the runnerDavid Kalnischkies
2010-05-28* apt-pkg/aptconfiguration.cc:David Kalnischkies
- remove duplicate architectures in getArchitectures()
2010-05-28try harder to find the other pseudo versions for autoremove multiarchDavid Kalnischkies
2010-05-28* apt-pkg/depcache.cc:David Kalnischkies
- do the autoremove mark process also for required packages to handle these illegally depending on lower priority packages (Closes: #583517)
2010-05-28* apt-pkg/deb/debsystem.cc:David Kalnischkies
- add better config item for extended_states file