Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2013-09-11 | Remove old API compatibility C++ support code | Julian Andres Klode | 1 | -36/+0 | |
2011-11-10 | fix build against apt in experimental | Michael Vogt | 1 | -2/+2 | |
2011-05-27 | Fix spelling errors reported by Lintian (sep[a->e]rated, overrid[d]en) | Julian Andres Klode | 1 | -1/+1 | |
2010-04-21 | python: Commit documentation changes suggested by debian-l10n-english. | Julian Andres Klode | 1 | -3/+6 | |
2010-04-01 | python: Return bool instead of int to Python where possible, looks better. | Julian Andres Klode | 1 | -1/+2 | |
2010-02-27 | * python: | Julian Andres Klode | 1 | -3/+5 | |
- Handle deprecated attributes and methods in the tp_gettattro slot, this allows us to easily warn if a deprecated function is used. | |||||
2010-01-27 | Merge the CppOwnedPyObject C++ class into CppPyObject. | Julian Andres Klode | 1 | -1/+1 | |
2009-07-31 | python: Remove the progress classes in apt_pkg. | Julian Andres Klode | 1 | -2/+1 | |
They have been replaced with apt.progress.base, so stuff like GTK+ or Qt progress classes can be written using subclassing. | |||||
2009-07-30 | python/cdrom.cc: Fix build failure with COMPAT_0_7. | Julian Andres Klode | 1 | -1/+1 | |
This was introduced during the partial rewrite of this file. | |||||
2009-07-24 | python/cdrom.cc: Adjust to new coding style and add docstrings. | Julian Andres Klode | 1 | -115/+128 | |
2009-07-23 | python/cdrom.cc: Do not check arguments in PkgCdromNew. | Julian Andres Klode | 1 | -4/+0 | |
2009-07-19 | python/cdrom.cc: New style ident returns None on failure. | Julian Andres Klode | 1 | -10/+24 | |
Returning a tuple (bool, str) is useless when one can just return a string or None. | |||||
2009-07-19 | python/cdromprogress.cc: Add apt_pkg.CdromProgress. | Julian Andres Klode | 1 | -0/+11 | |
2009-07-13 | python: No zero-size arrays for char *kwlist[]. | Julian Andres Klode | 1 | -1/+1 | |
2009-07-13 | python: Rename all PyTypeObject's to conform to PEP 7. | Julian Andres Klode | 1 | -2/+2 | |
This is the first step towards implementing coding guidelines for the C++ code and providing an usable C++ API. | |||||
2009-07-12 | python/cdrom.cc: Remove PkgCdromStruct, use pkgCdrom directly. | Julian Andres Klode | 1 | -12/+6 | |
2009-06-25 | python: Use PyVarObject_HEAD_INIT() instead of PyObject_HEAD_INIT(). | Julian Andres Klode | 1 | -4/+1 | |
This is related to PEP 3123 and fixes some compiler warnings. | |||||
2009-06-21 | python: Add DeprecationWarning to functions which were replaced by classes. | Julian Andres Klode | 1 | -0/+2 | |
2009-06-09 | Allow types providing __new__() to be subclassed. | Julian Andres Klode | 1 | -1/+2 | |
2009-06-05 | python/: Put all deprecated Get*() functions into #ifdef COMPAT_0_7. | Julian Andres Klode | 1 | -0/+2 | |
2009-06-03 | python/: Convert most names to PEP8 naming conventions (except ↵ | Julian Andres Klode | 1 | -0/+4 | |
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-19 | * python/*.cc: Export all types and add a __new__() method to them. | Julian Andres Klode | 1 | -9/+29 | |
Some names may be changed before the release, but this is a good draft. | |||||
2009-04-15 | * Introduce support for Python 3 (Closes: #523645) | Julian Andres Klode | 1 | -0/+2 | |
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 | * Remove any trailing whitespace | Julian Andres Klode | 1 | -3/+3 | |
2009-04-13 | * python/cdrom.cc, python/depcache.cc: Use tp_methods for Cdrom, ↵ | Julian Andres Klode | 1 | -14/+18 | |
ProblemResolver, ActionGroup | |||||
2008-05-16 | Remove trailing whitespace. | Ben Finney | 1 | -6/+6 | |
2005-12-09 | * CdromProgress.totalSteps added | Michael Vogt | 1 | -4/+2 | |
2005-04-11 | * added Cdrom.Ident(), improved the examples | Michael Vogt | 1 | -4/+11 | |
2005-04-11 | * cdrom interface added | Michael Vogt | 1 | -0/+105 | |