summaryrefslogtreecommitdiff
path: root/python
AgeCommit message (Expand)AuthorFilesLines
2009-07-22python/python-apt.h: Don't use Py_TYPE(op), but op->op_type.Julian Andres Klode1-31/+31
2009-07-21python/progress.cc: Introduce setattr to reduce code duplication.Julian Andres Klode2-83/+55
2009-07-21python/progress.cc: Fix problems with threads.Julian Andres Klode1-3/+11
2009-07-21python/acquire.cc: Hack support for Acquire object created by PyAcquire_FromCpp.Julian Andres Klode1-3/+10
2009-07-21python/acquire.cc: Replace items vector with item_map.Julian Andres Klode1-47/+54
2009-07-21python/python-apt.h: Export PyAcquireWorker and fix some problems.Julian Andres Klode2-3/+10
2009-07-21python/lock.cc: Implement apt_pkg.FileLock().Julian Andres Klode4-0/+135
2009-07-21python/lock.cc: Fix refcount in systemlock_enter and behavior of systemlock_e...Julian Andres Klode1-2/+12
2009-07-20python/lock.cc: Introduce apt_pkg.SystemLock context manager.Julian Andres Klode3-0/+125
2009-07-20Merge from debian-sidJulian Andres Klode2-14/+70
2009-07-19python/progress.cc: Use PyObject_CallObject instead of PyEval_CallObject.Julian Andres Klode1-4/+3
2009-07-19python/cdrom.cc: New style ident returns None on failure.Julian Andres Klode1-10/+24
2009-07-19python/progress.cc: CdromProgress.ask_cdrom_name() shall return None on failure.Julian Andres Klode2-15/+23
2009-07-19python/apt_pkgmodule.cc: Fix apt_pkg.gettext to not ignore second parameter.Julian Andres Klode1-2/+1
2009-07-19python/cdromprogress.cc: Add apt_pkg.CdromProgress.Julian Andres Klode6-4/+133
2009-07-17python/cache.cc: Only support new OpProgress() objects in apt_pkg.Cache().Julian Andres Klode1-1/+9
2009-07-17python/apt_pkgmodule.cc: Introduce apt_pkg.gettext().Julian Andres Klode1-0/+25
2009-07-17python: Use PyString_FromFormat instead of snprintf.Julian Andres Klode6-54/+40
2009-07-16python/progress.cc: Set members directly, without using Python.Julian Andres Klode3-24/+36
2009-07-16python/progress.cc: Call fail() on AcquireProgress objects.Julian Andres Klode1-0/+5
2009-07-16python/progress.h: Add Py{Acquire,Op}ProgressObject.Julian Andres Klode4-55/+71
2009-07-16python/acquire.cc, python/progress.cc: More fixes.Julian Andres Klode2-5/+43
2009-07-16python/acquire.cc: Add AcquireItem.modeJulian Andres Klode1-1/+14
2009-07-16python/acquire.cc: Introduce PyAcquireWorker_Type, make PyAcquireItemDesc_Typ...Julian Andres Klode5-22/+112
2009-07-16python/python-apt: PyAcquireItem_Type, not PyAcquireItemType.Julian Andres Klode1-1/+1
2009-07-16python/progress.cc: Make PyOpProgress::Update() behave more like OpTextProgress.Julian Andres Klode1-16/+19
2009-07-16python/opprogress.cc: Increase the reference count before returning values.Julian Andres Klode1-0/+2
2009-07-16python/progress.cc: Fix the types of the attributes.Julian Andres Klode1-10/+10
2009-07-16python/acquireprogress.cc: Check the arguments.Julian Andres Klode1-15/+35
2009-07-15python/progress.cc: Add support for PyAcquireProgress.Julian Andres Klode1-4/+34
2009-07-15python/acquire.cc: Add AcquireItemDesc.Julian Andres Klode4-1/+81
2009-07-15Introduce new progress (base) classes in apt_pkg:Julian Andres Klode5-2/+387
2009-07-15python/python-apt.h: Do not include apt-pkg/hashes.h.Julian Andres Klode1-1/+0
2009-07-15Simplify the whole building, build all Python versions with setup.pyJulian Andres Klode1-27/+0
2009-07-15python/python-apt.h: Introduce the C++ APIJulian Andres Klode4-7/+299
2009-07-15python/hashstring.cc: Do not use const char*, but use char* with default to N...Julian Andres Klode1-2/+2
2009-07-14python/tag.cc: TagFileData is now subclassed from CppOwnedPyObject<pkgTagFile>.Julian Andres Klode1-7/+8
2009-07-14python/configuration.cc: Unify all Configuration,ConfigurationPtr,Configurati...Julian Andres Klode3-118/+13
2009-07-14python/generic.h: Use Py_XINCREF instead of Py_INCREF in CppOwnedPyObject_NEW.Julian Andres Klode1-3/+2
2009-07-14python/acquire.cc: Replace PyAcquireItem_ToCpp with acquireitem_tocpp.Julian Andres Klode1-3/+3
2009-07-14python/acquire.cc: Check that an owner exists in AcquireItemDealloc.Julian Andres Klode1-0/+6
2009-07-13python: No zero-size arrays for char *kwlist[].Julian Andres Klode6-9/+9
2009-07-13python/hashes.cc: Adapt to style guidelines.Julian Andres Klode1-2/+2
2009-07-13python/apt_pkgmodule.cc: Remove all dependendy type constants, and cleanup.Julian Andres Klode1-87/+41
2009-07-13python/apt_pkgmodule.cc: Fix build on Python 2.4Julian Andres Klode1-1/+1
2009-07-13python/apt_pkgmodule.cc: Add function name to ParseDepends and friends.Julian Andres Klode1-6/+7
2009-07-13python/generic.h: Use PyBytes_AS_STRING instead of PyBytes_AsString in PyUnic...Julian Andres Klode1-1/+2
2009-07-13python/apt_pkgmodule.cc, python/apt_instmodule.cc: Remove useless state.Julian Andres Klode2-43/+13
2009-07-13python/apt_pkgmodule.cc: ParseDepends_old only needed in COMPAT_0_7.Julian Andres Klode1-0/+2
2009-07-13python: Rename all PyTypeObject's to conform to PEP 7.Julian Andres Klode15-177/+177