summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| | * move the users away from the deprecated StrToTime() methodDavid Kalnischkies2010-06-095-8/+6
| | |
| | * use the portable timegm shown in his manpage instead of a strangeDavid Kalnischkies2010-06-092-20/+18
| | | | | | | | | looking code copycat from wget
| | * * ftparchive/writer.cc:David Kalnischkies2010-06-093-1/+14
| | | | | | | | | - add ValidTime option to generate a Valid-Until header in Release file
| | * 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-083-1/+42
| | | | | | | | | | | | - 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-086-3/+70
| | | | | | | | | | | | | | | - 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-0911-39/+143
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
| | * | * cmdline/apt-get.cc:David Kalnischkies2010-06-032-7/+9
| | | | | | | | | | | | - use unsigned long long instead of double to store values it gets
| | * | * apt-pkg/depcache.cc:David Kalnischkies2010-06-034-14/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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-033-4/+76
| | | | | | | | | | | | boolean instead to handle the sizes more gracefully.
| | * | * apt-pkg/pkgcache.h:David Kalnischkies2010-06-037-14/+48
| | |/ | | | | | | | | | | | | - switch {,Install-}Size to unsigned long long * apt-pkg/depcache.cc: - deal with long long, not with int to remove 2GB Limit (LP: #250909)
| * | use the GroupedFromCommandLine() method in the dotty and xvcg commandDavid Kalnischkies2010-06-061-56/+28
| | | | | | | | | | | | to get all the funky features in less lines
| * | add a GroupedFromCommandLine method to the PackageSet to split theDavid Kalnischkies2010-06-062-0/+56
| | | | | | | | | | | | packages on the commandline into groups based on modifiers
| * | do not fail if an unrelated error is pending in DisplayRecord()David Kalnischkies2010-06-051-4/+4
| | |
| * | support special release-modifier 'installed' and 'candidate'David Kalnischkies2010-06-053-49/+83
| | |
| * | accept package versions in the unmet commandDavid Kalnischkies2010-06-052-23/+35
| | |
| * | enhance the changelog a bitDavid Kalnischkies2010-06-051-3/+3
| | |
| * | handle :arch modifier in PackageSet::FromString correctlyDavid Kalnischkies2010-06-052-8/+22
| | |
| * | apt-cache show --no-all-versions should issues the CandidateDavid Kalnischkies2010-06-051-1/+1
| | |
| * | do not insert end() Iterators into the CacheSet even if requestedDavid Kalnischkies2010-06-051-0/+6
| | |
| * | Don't increase the commandline parameter in the library but in theDavid Kalnischkies2010-06-052-8/+8
| | | | | | | | | | | | application to be really generic.
| * | add --target-release option (Closes: #115520)David Kalnischkies2010-06-052-0/+3
| | |
| * | Add a option to apt-cache policy to additionally init the DepCache beforeDavid Kalnischkies2010-06-051-0/+6
| | | | | | | | | | | | | | | starting to get the package informations. This is useful e.g. for debugging the MultiArchKiller.
| * | use pkgCacheFile and the new CacheSets all over the placeDavid Kalnischkies2010-06-052-205/+195
| | |
| * | Add a method to get a VersionSet from the Commandline and refactorDavid Kalnischkies2010-06-052-23/+191
| | | | | | | | | | | | the existing methods a bit to reuse them easier intern
| * | store also the SourceList we use internally for exportDavid Kalnischkies2010-06-043-13/+61
| | |
| * | Switch away from the now deprecated methods for Cache buildingDavid Kalnischkies2010-06-043-5/+4
| | |
| * | * apt-pkg/cachefile.{cc,h}:David Kalnischkies2010-06-048-52/+103
| | | | | | | | | | | | - split Open() into submethods to be able to build only parts - make the OpProgress optional in the Cache buildprocess
| * | * apt-pkg/cacheset.{cc,h}:David Kalnischkies2010-05-314-9/+52
| | | | | | | | | - add simple wrapper around std::set for cache structures
| * | rename packageset into cacheset while it is not too lateDavid Kalnischkies2010-05-316-15/+19
| | |
| * | * cmdline/apt-cache.cc:David Kalnischkies2010-05-312-38/+43
| | | | | | | | | - make the search multiarch compatible by using GrpIterator instead
| * | * apt-pkg/pkgcache.cc:David Kalnischkies2010-05-313-1/+27
| | | | | | | | | - get the best matching arch package from a group with FindPreferredPkg
| * | * apt-pkg/contrib/cmdline.cc:David Kalnischkies2010-05-312-3/+5
| | | | | | | | | - fix segfault in SaveInConfig caused by writing over char[] sizes
| * | improve the handling of regex together with the architecture modifierDavid Kalnischkies2010-05-312-16/+23
| | |
| * | i managed to commit broken code… which (at least in my mind) workedDavid Kalnischkies2010-05-312-2/+2
| | | | | | | | | | | | yesterday. Strange… anyway only small fixes.
| * | move cmdline parsing from apt-cache to new FromCommandLine methodDavid Kalnischkies2010-05-314-81/+95
| | |
| * | move regex magic from apt-get to new FromRegEx methodDavid Kalnischkies2010-05-306-37/+96
| | |
| * | * apt-pkg/packageset.h:David Kalnischkies2010-05-303-1/+57
| | | | | | | | | - add a simple wrapper around std::set for packages with it
| * | * ftparchive/writer.h:David Kalnischkies2010-05-292-1/+4
| | | | | | | | | - add a virtual destructor to FTWScanner class (for cppcheck)
| * | * apt-pkg/depcache.cc:David Kalnischkies2010-05-292-4/+6
| | | | | | | | | - correct "Dangerous iterator usage." pointed out by cppcheck
| * | * apt-pkg/cacheiterator.h:David Kalnischkies2010-05-292-2/+6
| | | | | | | | | - let pkgCache::Iterator inherent std::iterator
| * | * apt-pkg/indexrecords.{cc,h}:David Kalnischkies2010-05-294-6/+20
| | | | | | | | | | | | | | | - 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
| * | create the bin-test directory automatic in the runnerDavid Kalnischkies2010-05-281-0/+1
| | |
| * | * apt-pkg/aptconfiguration.cc:David Kalnischkies2010-05-284-1/+82
| | | | | | | | | - remove duplicate architectures in getArchitectures()
| * | try harder to find the other pseudo versions for autoremove multiarchDavid Kalnischkies2010-05-282-5/+3
| | |
| * | * apt-pkg/depcache.cc:David Kalnischkies2010-05-282-3/+9
| | | | | | | | | | | | - do the autoremove mark process also for required packages to handle these illegally depending on lower priority packages (Closes: #583517)
| * | * apt-pkg/deb/debsystem.cc:David Kalnischkies2010-05-286-11/+15
| | | | | | | | | - add better config item for extended_states file
| * | forward manual-installed bit on package disappearanceDavid Kalnischkies2010-05-273-2/+63
| | |
| * | * apt-pkg/deb/dpkgpm.cc:David Kalnischkies2010-05-273-10/+33
| |/ | | | | - write Disappeared also to the history.log