summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-07-17factor regex package name matches into newly created cachefilter classesDavid Kalnischkies
2010-07-16* cmdline/apt-cache.cc:David Kalnischkies
- be able to omit dependency types in (r)depends (Closes: #319006)
2010-07-14* apt-pkg/depcache.cc:David Kalnischkies
- handle "circular" conflicts for "all" packages correctly
2010-07-12merged from lp:~donkult/apt/sidMichael Vogt
2010-07-11accidently prefilling the vectors results in segfaultsDavid Kalnischkies
2010-07-11* methods/bzip2.cc:David Kalnischkies
- add a copycat of the old gzip.cc as we need it for bzip2 and lzma
2010-07-11mark all "Hash Sum mismatch" strings as translateableDavid Kalnischkies
2010-07-11rename ReOwn to ReMap in the cacheiteratorsDavid Kalnischkies
2010-07-11fix typo preventing display of architecture in Info()David Kalnischkies
2010-07-11* apt-pkg/deb/debmetaindex.cc:David Kalnischkies
- do not query each architecture for flat file archives
2010-07-11[ Martin Pitt ]David Kalnischkies
* debian/rules: - Make DEB_BUILD_OPTIONS=noopt actually work by passing the right CXXFLAGS. * apt-pkg/contrib/fileutl.{h,cc}: - Add support for reading of gzipped files with the new "ReadOnlyGzip" OpenMode. (Closes: #188407) - Link against zlib (in apt-pkg/makefile) and add zlib build dependency. - [ABI BREAK] This adds a new private member to FileFd, but its initialization is in the public header file. * configure.in: - Check for zlib library and headers. * apt-pkg/acquire-item.cc, apt-pkg/deb/debindexfile.cc, apt-pkg/deb/debrecords.cc, apt-pkg/deb/debsrcrecords.h, cmdline/apt-cache.cc: - Open Packages, Sources, and Translations indexes in "ReadOnlyGzip" mode. * apt-pkg/deb/debindexfile.cc: - If we do not find uncompressed package/source/translation indexes, look for gzip compressed ones. * apt-pkg/acquire-item.cc: - If the Acquire::GzipIndexes option is true and we download a gzipped index file, keep it as it is (and rename to .gz) instead of uncompressing it. * doc/apt.conf.5.xml: - Document the new Acquire::GzipIndexes option. * doc/po/apt-doc.pot, doc/po/de.po: - German translation of new Acquire::GzipIndexes option. * Add test/test-indexes.sh: - Test behaviour of index retrieval and usage, in particular with uncompressed and gzip compressed indexes. * methods/gzip.cc: With FileFd now being able to read gzipped files, there is no need for the gzip method any more to spawn an external gzip process. Rewrite it to use FileFd directly, which makes the code a lot simpler, and also using less memory and overhead.
2010-07-10* apt-pkg/contrib/error.{cc,h}:David Kalnischkies
- remove constness of va_list parameter to fix build on amd64 and co Thanks Eric Valette! (Closes: #588610)
2010-07-09releasing version 0.7.26~exp9Michael Vogt
2010-07-09* doc/apt.conf.5.xml:Michael Vogt
- add and document APT::Cache-{Start,Grow,Limit} options for mmap control
2010-07-09check the state of the FileFd before renaming as otherwise the renameDavid Kalnischkies
will be tried twice e.g. in an "apt-get update" run and every other piece of code closing the FileFd manual before the destructor will do it again.
2010-07-09releasing version 0.7.26~exp8Michael Vogt
2010-07-09switch from std::set to std::vector as it is way more simple, a bitDavid Kalnischkies
faster and still provides everything we need for the Cache generator
2010-07-09* apt-pkg/deb/dpkgpm.cc:Michael Vogt
- make the apt/term.log output unbuffered (thanks to Matt Zimmerman)
2010-07-09merged from donkultMichael Vogt
2010-07-09* doc/apt.conf.5.xml:David Kalnischkies
- add and document APT::Cache-{Start,Grow,Limit} options for mmap control
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-07* apt-pkg/deb/dpkgpm.cc:Michael Vogt
- make the apt/term.log output unbuffered (thanks to Matt Zimmerman)
2010-07-06methods/gzip.cc: With FileFd now being able to read gzipped files, theremartin@piware.de
is no need for the gzip method any more to spawn an external gzip process. Rewrite it to use FileFd directly, which makes the code a lot simpler, and also using less memory and overhead.
2010-07-06FileFd(): Drop file name extension check in ReadOnlyGzip modemartin@piware.de
Drop the ".gz" extension check in FileFd::Open() in ReadOnlyGzip mode, to not depend on a particular file extension. This allows rewriting the gzip method using internal decompression (on ".decomp" files). This requires a zlib bug workaround in FileFd::Close(): When opening an empty file with gzdopen(), gzclose() fails with Z_BUF_ERROR. Do not count this as a failure.
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-05extends the ParseDepends testcase to have a look also at the WildcardsDavid Kalnischkies
2010-07-05merge with debian-experimental-maDavid Kalnischkies
2010-07-05fix typos and add a proper Closes tag after the unmerge in debbugsDavid Kalnischkies
2010-07-05Try to use NotEquals for the MultiArch Breaks dependencies instead ofDavid Kalnischkies
Less and Greater -> half the dependencies :)
2010-07-05make the specify order of packages irrelevant (half-close #196021)David Kalnischkies
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-07-04prefer the Policy if it is built instead of the DepCache andDavid Kalnischkies
if DepCache is not available as fallback built the Policy
2010-07-03reorder classes a bit and make TryToInstallBuildDep use themDavid Kalnischkies
2010-07-03Refactor TryToInstall to look a bit saner by splitting the RemoveDavid Kalnischkies
and the Virtual packages part out of the loop. The function still exists unchanged as TryToInstallBuildDep through for the BuildDep installation method
2010-07-02add a ConstructedBy member to the PackageSet which can be used by theDavid Kalnischkies
e.g. FromString to tell the caller if the string was an exact match or found by regex or task. The two later ones can match packages for which we want to ignore failures in the VersionSet
2010-06-29if the package has no installed & candidate but is virtual see if onlyDavid Kalnischkies
one package provides it - if it is only one use this package instead
2010-06-29rename AddSelectedVersion() to a better public FromPackage()David Kalnischkies
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-29for install, do all installs first and then the removes and vice versaDavid Kalnischkies
2010-06-29debian/control: Set Standards-Version to 3.9.0Julian Andres Klode
2010-06-28 - factor out code to get a single package FromName()David Kalnischkies
- check in Grouped* first without modifier interpretation
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