summaryrefslogtreecommitdiff
path: root/apt-pkg
Commit message (Collapse)AuthorAgeFilesLines
* * apt-pkg/cdrom.cc:Michael Vogt2010-08-021-1/+1
| | | - fix off-by-one error in DropBinaryArch
* * apt-pkg/pkgcache.cc:Michael Vogt2010-07-301-1/+4
| | | - re-evaluate the architectures cache when the cache is (re)opened
* - [ABI BREAK] add an ErrorType option to CacheSetHelperDavid Kalnischkies2010-07-304-10/+56
| | | | | * cmdline/apt-cache.cc: - use Notice instead of Error in the CacheSetHelper messages for compat reasons. Otherwise tools like sbuild blow up
* * apt-pkg/cacheset.cc:Michael Vogt2010-07-301-1/+1
| | | | | - make CacheSetHelper::canNotFindAllVer display a notice only (for compat reasons). Otherwise tools like sbuild blow up
* apt-pkg/init.h: update MAPT_PKG_MINOR because 9 was used in experimental for ↵Michael Vogt2010-07-291-1/+1
| | | | some time and there was quite a bit of churn
* add inline DumpError() to avoid subtle API breakMichael Vogt2010-07-291-1/+13
|
* * apt-pkg/contrib/error.{cc,h}Michael Vogt2010-07-292-7/+8
| | | - docstring cleanup
* * apt-pkg/orderlist.cc:Michael Vogt2010-07-291-1/+78
|\ | | | | | | | | - try to install another or-group member in DepRemove before breaking the or group (Closes: #590438) - configure also the replacement before remove by adding Immediate flag
| * configure also the replacement before remove by adding Immediate flagDavid Kalnischkies2010-07-291-0/+2
| |
| * * apt-pkg/orderlist.cc:David Kalnischkies2010-07-281-1/+76
| | | | | | | | - try to install another or-group member in DepRemove before breaking the or group (Closes: #590438)
* | merged lp:~donkult/apt/sidMichael Vogt2010-07-298-11/+986
|\|
| * - add a 'newest' pseudo target release as in pkg/newestDavid Kalnischkies2010-07-261-1/+6
| | | | | | *
| * * apt-pkg/pkgcache.cc:David Kalnischkies2010-07-252-5/+10
| | | | | | - prefer non-virtual packages in FindPreferredPkg
| * * apt-pkg/cacheset.cc:David Kalnischkies2010-07-173-2/+883
| | | | | | - move them back to the library as they look stable now
| * factor regex package name matches into newly created cachefilter classesDavid Kalnischkies2010-07-173-2/+86
| |
| * * apt-pkg/depcache.cc:David Kalnischkies2010-07-141-4/+4
| | | | | | - handle "circular" conflicts for "all" packages correctly
* | * apt-pkg/cdrom.cc:Julian Andres Klode2010-07-271-1/+1
| | | | | | | | - Use link() instead of rename() for creating the CD database backup; otherwise there would be a short time without any database.
* | * apt-pkg/contrib/fileutl.cc:Julian Andres Klode2010-07-232-0/+22
| | | | | | - Add FileFd::OpenDescriptor() (needed for python-apt's #383617).
* | Add to history whether a change was automatic or not.Julian Andres Klode2010-07-211-1/+6
| |
* | * apt-pkg/deb/dpkgpm.cc:Julian Andres Klode2010-07-211-5/+5
|/ | | - Write architecture information to history file.
* accidently prefilling the vectors results in segfaultsDavid Kalnischkies2010-07-111-1/+1
|
* mark all "Hash Sum mismatch" strings as translateableDavid Kalnischkies2010-07-111-1/+1
|
* rename ReOwn to ReMap in the cacheiteratorsDavid Kalnischkies2010-07-112-9/+9
|
* fix typo preventing display of architecture in Info()David Kalnischkies2010-07-111-1/+1
|
* * apt-pkg/deb/debmetaindex.cc:David Kalnischkies2010-07-114-7/+19
| | | - do not query each architecture for flat file archives
* [ Martin Pitt ]David Kalnischkies2010-07-117-28/+119
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
| * FileFd(): Drop file name extension check in ReadOnlyGzip modemartin@piware.de2010-07-061-3/+11
| | | | | | | | | | | | | | | | | | | | 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.
| * apt-pkg/acquire-item.cc: Fix handling of local (file:/) sourcesmartin@piware.de2010-06-241-1/+1
| |
| * Switch FileFd to not transparently gunzip, since that breaks code which ↵martin@piware.de2010-06-246-13/+17
| | | | | | | | expects the compressed contents to stay (such as the copy backend, or when using file:// repositories. Instead, introduce a new ReadOnlyGzip mode and use that where needed
| * pkgAcqIndex::Done(): If we have an IMS-Hit, also rename the destination file ↵martin@piware.de2010-06-171-2/+7
| | | | | | | | in GzipIndexes mode, to avoid it being cleaned
| * apt-pkg/deb/debindexfile.cc: Fix one more place to check for gzipped ↵martin@piware.de2010-06-111-3/+7
| | | | | | | | indexes, to work with apt-get source as well
| * * apt-pkg/acquire-item.cc:martin@piware.de2010-06-111-0/+2
| | | | | | | | | | - Fix return value of pkgAcqFile::Custom600Headers() in the non-index case, to avoid returning NULL and causing crashers in callers. This also fixes a compiler warning.
| * Fix compressed index retrieval for current timestampsmartin@piware.de2010-06-111-17/+16
| | | | | | | | | | Fix a thinko in r1973, which did the Acquire::GzipIndexes test ealier than the IMS-Hit test. This led to rename errors.
| * * apt-pkg/acquire-item.cc:martin@piware.de2010-06-101-1/+19
| | | | | | | | | | - 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.
| * * apt-pkg/deb/debindexfile.cc:martin@piware.de2010-06-091-3/+19
| | | | | | | | - If we do not find uncompressed package/source/translation indexes, look for gzip compressed ones.
| * * apt-pkg/contrib/fileutl.{h,cc}:martin@piware.de2010-06-093-10/+48
| | | | | | | | - Add support for transparent reading of gzipped files. - Link against zlib (in apt-pkg/makefile) and add zlib build dependency.
* | * apt-pkg/contrib/error.{cc,h}:David Kalnischkies2010-07-102-7/+6
| | | | | | | | - remove constness of va_list parameter to fix build on amd64 and co Thanks Eric Valette! (Closes: #588610)
* | * doc/apt.conf.5.xml:Michael Vogt2010-07-094-27/+40
|\ \ | | | | | | - add and document APT::Cache-{Start,Grow,Limit} options for mmap control
| * | check the state of the FileFd before renaming as otherwise the renameDavid Kalnischkies2010-07-091-6/+8
| | | | | | | | | | | | | | | 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.
| * | switch from std::set to std::vector as it is way more simple, a bitDavid Kalnischkies2010-07-092-15/+13
| | | | | | | | | | | | faster and still provides everything we need for the Cache generator
| * | * doc/apt.conf.5.xml:David Kalnischkies2010-07-093-6/+19
| | | | | | | | | - add and document APT::Cache-{Start,Grow,Limit} options for mmap control
* | | * apt-pkg/deb/dpkgpm.cc:Michael Vogt2010-07-091-1/+1
|\ \ \ | |/ / |/| | - make the apt/term.log output unbuffered (thanks to Matt Zimmerman)
| * | * apt-pkg/deb/dpkgpm.cc:Michael Vogt2010-07-071-1/+2
| | | | | | | | | - make the apt/term.log output unbuffered (thanks to Matt Zimmerman)
* | | * apt-pkg/pkgcachegen.{cc,h}:David Kalnischkies2010-07-087-77/+223
| | | | | | | | | | | | - make the used MMap moveable (and therefore dynamic resizeable) by applying (some) mad pointer magic (Closes: #195018)
* | | use references instead of copies in the Cache generation methodsDavid Kalnischkies2010-07-084-25/+26
| | |
* | | wrap the mmap actions in the CacheGenerator in their own methods toDavid Kalnischkies2010-07-062-23/+42
| | | | | | | | | | | | be able to react on condition changes later then we can move mmap
* | | merge with debian-experimental-maDavid Kalnischkies2010-07-055-19/+89
|\ \ \
| * | | Fix the atomic replace.Julian Andres Klode2010-06-291-1/+1
| | | |
| * | | * 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
| | | |