summaryrefslogtreecommitdiff
path: root/python/cdrom.cc
AgeCommit message (Collapse)AuthorFilesLines
2013-09-11Remove old API compatibility C++ support codeJulian Andres Klode1-36/+0
2011-11-10fix build against apt in experimentalMichael Vogt1-2/+2
2011-05-27Fix spelling errors reported by Lintian (sep[a->e]rated, overrid[d]en)Julian Andres Klode1-1/+1
2010-04-21python: Commit documentation changes suggested by debian-l10n-english.Julian Andres Klode1-3/+6
2010-04-01python: Return bool instead of int to Python where possible, looks better.Julian Andres Klode1-1/+2
2010-02-27* python:Julian Andres Klode1-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-27Merge the CppOwnedPyObject C++ class into CppPyObject.Julian Andres Klode1-1/+1
2009-07-31python: Remove the progress classes in apt_pkg.Julian Andres Klode1-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-30python/cdrom.cc: Fix build failure with COMPAT_0_7.Julian Andres Klode1-1/+1
This was introduced during the partial rewrite of this file.
2009-07-24python/cdrom.cc: Adjust to new coding style and add docstrings.Julian Andres Klode1-115/+128
2009-07-23python/cdrom.cc: Do not check arguments in PkgCdromNew.Julian Andres Klode1-4/+0
2009-07-19python/cdrom.cc: New style ident returns None on failure.Julian Andres Klode1-10/+24
Returning a tuple (bool, str) is useless when one can just return a string or None.
2009-07-19python/cdromprogress.cc: Add apt_pkg.CdromProgress.Julian Andres Klode1-0/+11
2009-07-13python: No zero-size arrays for char *kwlist[].Julian Andres Klode1-1/+1
2009-07-13python: Rename all PyTypeObject's to conform to PEP 7.Julian Andres Klode1-2/+2
This is the first step towards implementing coding guidelines for the C++ code and providing an usable C++ API.
2009-07-12python/cdrom.cc: Remove PkgCdromStruct, use pkgCdrom directly.Julian Andres Klode1-12/+6
2009-06-25python: Use PyVarObject_HEAD_INIT() instead of PyObject_HEAD_INIT().Julian Andres Klode1-4/+1
This is related to PEP 3123 and fixes some compiler warnings.
2009-06-21python: Add DeprecationWarning to functions which were replaced by classes.Julian Andres Klode1-0/+2
2009-06-09Allow types providing __new__() to be subclassed.Julian Andres Klode1-1/+2
2009-06-05python/: Put all deprecated Get*() functions into #ifdef COMPAT_0_7.Julian Andres Klode1-0/+2
2009-06-03python/: Convert most names to PEP8 naming conventions (except ↵Julian Andres Klode1-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 Klode1-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 Klode1-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 whitespaceJulian Andres Klode1-3/+3
2009-04-13* python/cdrom.cc, python/depcache.cc: Use tp_methods for Cdrom, ↵Julian Andres Klode1-14/+18
ProblemResolver, ActionGroup
2008-05-16Remove trailing whitespace.Ben Finney1-6/+6
2005-12-09* CdromProgress.totalSteps added Michael Vogt1-4/+2
2005-04-11* added Cdrom.Ident(), improved the examplesMichael Vogt1-4/+11
2005-04-11* cdrom interface addedMichael Vogt1-0/+105