summaryrefslogtreecommitdiff
path: root/python
AgeCommit message (Expand)AuthorFilesLines
2009-07-12python/sourcelist.cc: Do not delete the pkgIndexFile*, it is managed elsewhere.Julian Andres Klode1-1/+3
2009-07-12python/metaindex.cc: Fix deletion of the IndexFile objects in MetaIndex.index...Julian Andres Klode1-2/+5
2009-07-12python/sourcelist.cc: Fix deletion of MetaIndex objects returned in SourceLis...Julian Andres Klode1-2/+5
2009-07-12python/cache.cc: Set NoDelete for Caches, instead of using the wrong dealloc ...Julian Andres Klode1-1/+3
2009-07-12python/depcache.cc: Set NoDelete for DepCaches, instead of using the wrong de...Julian Andres Klode1-4/+5
2009-07-12python/cache.cc: Py_DECREF the CacheFile, so it can be deleted.Julian Andres Klode1-1/+1
2009-07-11python/depcache.cc: Introduce DepCache.policy property.Julian Andres Klode1-0/+13
2009-07-10python/generic.h: Introduce NoDelete field in CppPyObject.Julian Andres Klode1-4/+13
2009-07-10python/indexrecords.cc: Correctly Decrease refcount for HashString.Julian Andres Klode1-3/+6
2009-07-08python/pkgsrcrecords.cc: Unify dep handling -- part 2: SourceRecords.build_de...Julian Andres Klode1-1/+50
2009-07-08python/apt_pkgmodule.cc: Unify dep handling -- part 1: parse_depends()Julian Andres Klode1-5/+14
2009-07-07python/policy.cc: Add Policy_ReadPinDir() [APT 0.7.22]Julian Andres Klode1-0/+14
2009-06-25python: Use PyVarObject_HEAD_INIT() instead of PyObject_HEAD_INIT().Julian Andres Klode16-121/+34
2009-06-25python: Fix some build warnings.Julian Andres Klode7-14/+11
2009-06-25python/generic.h: Make PyObject_AsString() only accept unicode on Python 3.Julian Andres Klode1-1/+11
2009-06-25python/cache.cc: Support unicode objects and str objects in Python 2.Julian Andres Klode3-9/+34
2009-06-25python/tag.cc: Return False for non-strings in 'TagSection.__contains__()'.Julian Andres Klode1-0/+2
2009-06-25python/tag.cc: Store the return value of PyString_AsString as const char*.Julian Andres Klode1-1/+1
2009-06-25python/policy.cc: Use strcmp() for comparing strings.Julian Andres Klode1-3/+3
2009-06-23python/configuration.cc: Make ConfigurationPtr,ConfigurationSub subclasses of...Julian Andres Klode1-0/+6
2009-06-23python/acquire.cc: Make AcquireFile a subclass of AcquireItemJulian Andres Klode1-18/+32
2009-06-22python/cache.cc: Drop apt_pkg.Cache.open() and apt_pkg.Cache.close().Julian Andres Klode1-2/+5
2009-06-22Add apt_pkg.DepCache.mark_auto() and apt.Package.mark_auto() methods toJulian Andres Klode1-0/+18
2009-06-21python/generic.h: Define a compat macro PyErr_WarnEx for Python 2.4Julian Andres Klode1-0/+5
2009-06-21python/apt_pkgmodule.cc: Delete apt_pkg.Version constant [API break]Julian Andres Klode1-1/+1
2009-06-21python: Make all CppOwnedPyObjects and similar support garbage collection.Julian Andres Klode8-70/+125
2009-06-21python/acquire.cc, python/indexfile.cc: Do not delete the pointers for some o...Julian Andres Klode2-3/+5
2009-06-21python: Add DeprecationWarning to functions which were replaced by classes.Julian Andres Klode10-8/+37
2009-06-21python/cache.cc: Give more information on TypeErrors in CacheMapOpJulian Andres Klode1-1/+3
2009-06-21python/progress.cc: Just try to call a function and fallback.Julian Andres Klode1-21/+7
2009-06-21python/progress.cc: Fix segfault related to pulse_items.Julian Andres Klode1-5/+5
2009-06-15Add support for Enhances as a dependency type (Closes: #416247)Julian Andres Klode1-1/+1
2009-06-14python/cache.cc,depcache.cc: Do not delete the depcache and cache pointers.Julian Andres Klode2-2/+5
2009-06-12Bugfix: Delete pointers correctly, fixing memory leaks. (LP: #370149)Julian Andres Klode11-16/+35
2009-06-09python/apt_pkgmodule.cc: Fix the modulename.Julian Andres Klode1-1/+1
2009-06-09Add apt_pkg.Policy class (Closes: #382725)Julian Andres Klode4-1/+194
2009-06-09Allow types providing __new__() to be subclassed.Julian Andres Klode12-16/+32
2009-06-09python/cache.cc: Fix segfaults using the new allocation methods.Julian Andres Klode2-3/+22
2009-06-08Fix build failures with python2.4-dbg (const)Julian Andres Klode2-3/+3
2009-06-08python/progress.cc: #include "generic.h" to fix build failure with python2.4Julian Andres Klode1-0/+1
2009-06-08python/indexrecords.cc: Swap tuple elements in lookup, and raise KeyError whe...Julian Andres Klode1-3/+8
2009-06-08Add apt_pkg.HashString and apt_pkg.IndexRecords (Closes: #456141)Julian Andres Klode5-1/+271
2009-06-08python/generic.h,tag.cc,configuration.cc: Use tp_alloc/tp_free instead of Py...Julian Andres Klode3-11/+12
2009-06-08merge with mvojak@debian.org1-6/+118
2009-06-05python/progress.cc, apt/progress/*.py: Use PEP 8 naming conventions for progressJulian Andres Klode1-17/+64
2009-06-05python/acquire.cc(AcquireItemType): Use "apt_pkg.AcquireItem" as tp_nameJulian Andres Klode1-1/+1
2009-06-05python/: Put all deprecated Get*() functions into #ifdef COMPAT_0_7.Julian Andres Klode10-9/+29
2009-06-05python/apt_pkgmodule.cc: Fix refcount problem.Julian Andres Klode1-1/+3
2009-06-05Introduce the rename rules formally, and add some exceptions.Julian Andres Klode6-18/+18
2009-06-04python/apt_pkgmodule.cc: Make sure all types are ready.Julian Andres Klode1-18/+1