summaryrefslogtreecommitdiff
path: root/apt-pkg
Commit message (Collapse)AuthorAgeFilesLines
* * 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
| |
* | 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-051-2/+2
| | | | | | | | application to be really generic.
* | 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-042-13/+60
| |
* | * apt-pkg/cachefile.{cc,h}:David Kalnischkies2010-06-047-52/+100
| | | | | | | | - 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-313-6/+49
| | | | | | - add simple wrapper around std::set for cache structures
* | rename packageset into cacheset while it is not too lateDavid Kalnischkies2010-05-313-12/+16
| |
* | * apt-pkg/pkgcache.cc:David Kalnischkies2010-05-312-0/+24
| | | | | | - get the best matching arch package from a group with FindPreferredPkg
* | * apt-pkg/contrib/cmdline.cc:David Kalnischkies2010-05-311-2/+2
| | | | | | - 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
| |
* | move cmdline parsing from apt-cache to new FromCommandLine methodDavid Kalnischkies2010-05-312-22/+73
| |
* | move regex magic from apt-get to new FromRegEx methodDavid Kalnischkies2010-05-304-3/+87
| |
* | * apt-pkg/packageset.h:David Kalnischkies2010-05-302-1/+55
| | | | | | - add a simple wrapper around std::set for packages with it
* | * apt-pkg/depcache.cc:David Kalnischkies2010-05-291-3/+3
| | | | | | - correct "Dangerous iterator usage." pointed out by cppcheck
* | * apt-pkg/cacheiterator.h:David Kalnischkies2010-05-291-1/+3
| | | | | | - let pkgCache::Iterator inherent std::iterator
* | * apt-pkg/indexrecords.{cc,h}:David Kalnischkies2010-05-293-5/+15
| | | | | | | | | | - 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
* | * apt-pkg/aptconfiguration.cc:David Kalnischkies2010-05-281-1/+14
| | | | | | - remove duplicate architectures in getArchitectures()
* | try harder to find the other pseudo versions for autoremove multiarchDavid Kalnischkies2010-05-281-5/+2
| |
* | * apt-pkg/depcache.cc:David Kalnischkies2010-05-281-2/+5
| | | | | | | | - 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-282-3/+3
| | | | | | - add better config item for extended_states file
* | forward manual-installed bit on package disappearanceDavid Kalnischkies2010-05-272-1/+61
| |
* | * apt-pkg/deb/dpkgpm.cc:David Kalnischkies2010-05-272-10/+25
|/ | | - write Disappeared also to the history.log
* - show at the end of the install process a list of disappeared packagesDavid Kalnischkies2010-05-242-2/+19
| | | | * apt-pkg/packagemanager.h: - export info about disappeared packages with GetDisappearedPackages()
* * apt-pkg/deb/dpkgpm.cc:David Kalnischkies2010-05-241-1/+3
| | | - add 'disappear' to the known processing states, thanks Jonathan Nieder
* * contrib/mmap.cc:David Kalnischkies2010-05-131-2/+2
| | | | - clarify "MMap reached size limit" error message, thanks Ivan Masár!
* * apt-pkg/depcache.cc:David Kalnischkies2010-05-111-10/+11
| | | - be doublesure that the killer query is empty before starting reinstall
* merge with debian-experimental-maDavid Kalnischkies2010-05-066-5/+71
|\
| * * apt-pkg/deb/debrecords.cc:Michael Vogt2010-05-051-1/+2
| |\ | | | | | | - fix max tag buffer size (LP: #545336, closes: #578959)
| | * * apt-pkg/deb/debrecords.cc:Michael Vogt2010-05-051-1/+2
| | |\ | | | | | | | | - fix max tag buffer size (LP: #545336, closes: #578959)
| | | * * apt-pkg/deb/debrecords.cc:Michael Vogt2010-05-051-1/+2
| | | | | | | | | | | | - fix max tag buffer size (LP: #545336, closes: #578959)
| * | | * doc/files.sgml:Michael Vogt2010-05-044-87/+394
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - sync documentation with status quo, regarding files/directories in use, extended_states and uri schemes. * doc/cache.sgml: - drop the file in favor of inplace documentation with doxygen * apt-pkg/pkgcache.h: - enhance the Groups ABI by providing a ID as the other structs does - check also the size of the Group struct then checking for the others
| * | | | * apt-pkg/pkgcache.cc:Julian Andres Klode2010-05-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | - Merge fix from David to correct handling in single-arch environments. This makes apt-get showauto working.
| * | | | * apt-pkg/contrib/weakptr.h:Julian Andres Klode2010-05-045-4/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - add a class WeakPointable which allows one to register weak pointers to an object which will be set to NULL when the object is deallocated. * [ABI break] apt-pkg/acquire{-worker,-item,}.h: - subclass pkgAcquire::{Worker,Item,ItemDesc} from WeakPointable.
| * | | | merged from davids branchMichael Vogt2010-05-0413-86/+315
| |\ \ \ \
| * \ \ \ \ merged from the debian-sid branchMichael Vogt2010-05-044-6/+23
| |\ \ \ \ \ | | | |_|/ / | | |/| | |
* | | | | | convert FileExists to DirectoryExists to check if the path is really aDavid Kalnischkies2010-05-063-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | directory (and to have a better method name in the error message if not)
* | | | | | return in SingleArch a package also for "any"David Kalnischkies2010-05-041-1/+1
| | | | | |
* | | | | | fix compiler warning: reaching end of non-void methodDavid Kalnischkies2010-05-041-0/+1
| | | | | |
* | | | | | merge from the debian-sid branchDavid Kalnischkies2010-05-044-6/+23
|\ \ \ \ \ \ | | |/ / / / | |/| | / / | |_|_|/ / |/| | | |
| * | | | merge from the mvo branchMichael Vogt2010-05-044-6/+23
| |\ \ \ \ | | | |_|/ | | |/| |
| | * | | * apt-pkg/indexfile.cc:Michael Vogt2010-05-031-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - If no "_" is found in the language code, try to find a "." This is required for languages like Esperanto that have no county associated with them (LP: #560956) Thanks to "Aisano" for the fix
| | * | | apt-pkg/policy.cc: yet another cout -> clog fixMichael Vogt2010-04-281-1/+1
| | | | |
| | * | | * apt-pkg/depcache.cc:Michael Vogt2010-04-281-2/+2
| | | | | | | | | | | | | | | - fix incorrect std::cout usage for debug output