summaryrefslogtreecommitdiff
path: root/python/acquire.cc
AgeCommit message (Collapse)AuthorFilesLines
2009-06-03python/: Convert most names to PEP8 naming conventions (except ↵Julian Andres Klode1-0/+29
Version,PackageFile,MetaIndex). On our way to close Bug#481061, this converts almost all names to PEP 8 naming conventions. Missing are now apt_pkg.Version, apt_pkg.PackageFile, apt_pkg.MetaIndex and apt.progress.*. In case of the missing apt_pkg classes, they are not converted yet because they do not use getset descriptors yet. apt.progress.* has not been converted yet because the extension interacts with it, and we first need to modify the extension to recognize the new names, as well as the old names (old applications shouldn't break).
2009-04-24* python/*.cc: Fix build failures with python2.4-dbg.Julian Andres Klode1-2/+2
2009-04-19* python/*.cc: Export all types and add a __new__() method to them.Julian Andres Klode1-21/+98
Some names may be changed before the release, but this is a good draft.
2009-04-15* python: Port AcquireItem,Package,Description to GetSetJulian Andres Klode1-41/+61
2009-04-15* Introduce support for Python 3 (Closes: #523645)Julian Andres Klode1-0/+6
This is the first initial port to Python 3. The API is almost completely identical to the one found in Python 2, except that functions working with binary data require bytes (md5sum,sha1sum,sha256sum,Base64Encode). Using setup3.py to install the modules will not work, because the apt package still has to be converted to Python 3. For the package, we call 2to3-3.1 in debian/rules to do this automatically.
2009-04-14* python/acquire.cc: Use tp_methods and tp_getset for PkgAcquireTypeJulian Andres Klode1-35/+61
2009-04-14* python/acquire.cc, python/sourcelist.cc: Type cleanupJulian Andres Klode1-18/+1
Use GetSet for PkgSourceListType and remove tp_getattr from PkgAcquireFileType.
2009-01-11Merge Ben Finney's whitespace changes (Closes: #481563)Julian Andres Klode1-19/+19
2008-11-07python/acquire.cc (GetPkgAcqFile): Support DestDir and DestFilename.Michael Vogt1-4/+8
2008-05-16Remove trailing whitespace.Ben Finney1-19/+19
2005-12-07* make pkgAcqFile use the old interface so that we don't depend on a new apt ↵Michael Vogt1-8/+4
and still work with breezys apt
2005-12-06* bugfix in the acquire.FetchNeeded codeMichael Vogt1-3/+3
2005-12-01* fix uninitialized size member in pkgAcqFileMichael Vogt1-1/+1
2005-12-01* pkgAcqFile wrapper addedMichael Vogt1-0/+67
2005-11-28* rewrote the cache.commit() code to make use of the new ↵Michael Vogt1-3/+4
pkgAcquire/pkgPackageManager interface
2005-11-22* fixes in the acquire interface code (use CppPyObject with pkgAcquire* ↵Michael Vogt1-15/+14
directly instead of using a PkgAcquireStruct)
2005-11-22* fix in the pkgmanager.cc code (/me needs to be hit with a clue-stick)Michael Vogt1-2/+6
2005-11-18* added stat constants to the acquire-item interfaceMichael Vogt1-0/+12
2005-11-18* support for the pkgAcquire::ItemIterator added Michael Vogt1-0/+75
2005-11-18* acquire interface works with progress reporting nowMichael Vogt1-1/+15
2005-11-18* basic pkgAcquire + pkgPackageManager support addedMichael Vogt1-0/+106