summaryrefslogtreecommitdiff
path: root/python/apt_pkgmodule.h
AgeCommit message (Collapse)AuthorFilesLines
2013-08-31Use HAVE_OPEN_MEMSTREAMIgor Pashev1-0/+2
2011-11-10fix build against apt in experimentalMichael Vogt1-0/+1
2011-04-29apt_pkg: Add subclassing fun to PackageManager, for #623485 as wellJulian Andres Klode1-0/+1
2011-04-27apt_pkg: Add OrderList, wanted for mancoosi (Closes: #623485)Julian Andres Klode1-0/+3
2011-04-05Introduce apt_pkg.Cache.groups and apt_pkg.Cache.group_countJulian Andres Klode1-0/+1
2011-04-05Add apt_pkg.Group class, wrapping pkgCache::GrpIteratorJulian Andres Klode1-0/+3
2010-02-02python: Update PyAcquire_FromCpp to the new API rules (add Owner parameter).Julian Andres Klode1-1/+2
2010-02-02Remove inline functions from the C++ API, export them instead (part 2).Julian Andres Klode1-1/+41
2010-01-27Remove inline functions from the C++ API, export them instead (part 1)Julian Andres Klode1-1/+35
2010-01-27Drop the segfault prevention measures from the Acquire code, as they failJulian Andres Klode1-0/+1
to work. A replacement will be added once destruction callbacks are added in APT.
2010-01-23python: Export a PyAcquire_FromCpp which sets up a correct PyAcquireObject.Julian Andres Klode1-0/+2
2010-01-20Rename apt_pkg.PackageIndexFile to apt_pkg.IndexFile.Julian Andres Klode1-1/+1
2009-07-31python: Remove the progress classes in apt_pkg.Julian Andres Klode1-3/+0
They have been replaced with apt.progress.base, so stuff like GTK+ or Qt progress classes can be written using subclassing.
2009-07-22python: 2nd part of the acquire fixes (one PyObject per C++ object).Julian Andres Klode1-0/+5
2009-07-21python/lock.cc: Implement apt_pkg.FileLock().Julian Andres Klode1-0/+1
This is yet another context manager, this time for locking files. It can be used multiple times and features an internal counter.
2009-07-20python/lock.cc: Introduce apt_pkg.SystemLock context manager.Julian Andres Klode1-0/+1
This is the new alternative to pkgsystem_lock() and pkgsystem_unlock(), and is the recommended one.
2009-07-19python/cdromprogress.cc: Add apt_pkg.CdromProgress.Julian Andres Klode1-0/+1
2009-07-16python/acquire.cc: Introduce PyAcquireWorker_Type, make ↵Julian Andres Klode1-0/+1
PyAcquireItemDesc_Type contain a pointer.
2009-07-15python/acquire.cc: Add AcquireItemDesc.Julian Andres Klode1-0/+1
2009-07-15Introduce new progress (base) classes in apt_pkg:Julian Andres Klode1-0/+2
- apt_pkg.AcquireProgress - apt_pkg.OpProgress
2009-07-15python/python-apt.h: Introduce the C++ APIJulian Andres Klode1-2/+2
The C++ API provides support for creating Python objects from C++ objects given by pointer or reference (depending on the implementation of the Python object) and for retrieving the underlying C++ object from the Python object and for checking the type of the Python object.
2009-07-14python/configuration.cc: Unify all ↵Julian Andres Klode1-5/+1
Configuration,ConfigurationPtr,ConfigurationSub into one type. This makes the whole API easier. The disadvantage is that we require 8 bytes (??) more per object for the owner object pointer, which is NULL for most cases (the only exception being objects created by Configuration.sub_tree).
2009-07-13python: Rename all PyTypeObject's to conform to PEP 7.Julian Andres Klode1-30/+30
This is the first step towards implementing coding guidelines for the C++ code and providing an usable C++ API.
2009-07-12python/hashes.cc: Introduce the Hashes class.Julian Andres Klode1-0/+1
The Hashes class is a function which calculates all supported hashes for one input. DebImg will use this for calculating the hashes of files.
2009-06-09Add apt_pkg.Policy class (Closes: #382725)Julian Andres Klode1-0/+3
2009-06-08Add apt_pkg.HashString and apt_pkg.IndexRecords (Closes: #456141)Julian Andres Klode1-0/+7
2009-04-19* python/*.cc: Export all types and add a __new__() method to them.Julian Andres Klode1-0/+1
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-0/+2
2009-04-14* python/pkgsrcrecords.cc: Use GetSet properties for PkgSrcRecordsTypeJulian Andres Klode1-0/+1
This time, it is a bit more complicated because we have to raise an AttributeError when no package has been looked up.
2009-04-13* python/cdrom.cc, python/depcache.cc: Use tp_methods for Cdrom, ↵Julian Andres Klode1-0/+1
ProblemResolver, ActionGroup
2009-01-29* apt/cache.py:Michael Vogt1-0/+2
- when setting a alternative rootdir, read the config from it as well * python/configuration.cc, python/apt_pkgmodule.cc: - add apt_pkg.ReadConfigDir()
2009-01-11Merge Ben Finney's whitespace changes (Closes: #481563)Julian Andres Klode1-2/+2
2008-11-07python/acquire.cc (GetPkgAcqFile): Support DestDir and DestFilename.Michael Vogt1-0/+1
2008-05-16Remove trailing whitespace.Ben Finney1-2/+2
2007-09-04* python/metaindex.cc:Michael Vogt1-0/+3
- added support for the metaIndex objects * python/sourceslist.cc: - support new "List" attribute that returns the list of metaIndex source entries
2006-10-06* python/apt_pkgmodule.h:Michael Vogt1-0/+1
- do export PkgGetActionGroup
2006-01-04* added support for pkgIndexFileMichael Vogt1-0/+4
2005-12-01* pkgAcqFile wrapper addedMichael Vogt1-0/+1
2005-11-18* basic pkgAcquire + pkgPackageManager support addedMichael Vogt1-0/+11
2005-06-20* added support for the pkgProblemResolver()Michael Vogt1-0/+4
2005-05-27* make better use of the cachefile in the depcache, avoid a stupid double ↵Michael Vogt1-0/+1
depcache building
2005-04-13* build-depends added to PkgSrcRecords, example for build-depends addedMichael Vogt1-0/+1
2005-04-11* cdrom interface addedMichael Vogt1-0/+4
2005-03-02* merged with matts tree, resolved lots of conflictsMichael Vogt1-4/+0
Patches applied: * apt@packages.debian.org/python-apt--main--0--base-0 tag of apt@arch.ubuntu.com/python-apt--MAIN--0--patch-44 * apt@packages.debian.org/python-apt--main--0--patch-1 Merge michael.vogt@ubuntu.com--2005/python-apt--pkgDepCache--0 * apt@packages.debian.org/python-apt--main--0--patch-2 0.5.33 * apt@packages.debian.org/python-apt--main--0--patch-3 Add arch-build target to rules * apt@packages.debian.org/python-apt--main--0--patch-4 Fix typo (fund->find) * apt@packages.debian.org/python-apt--main--0--patch-5 Restore Ubuntu changes * apt@packages.debian.org/python-apt--main--0--patch-6 0.5.35 -> hoary * apt@packages.debian.org/python-apt--main--0--patch-7 Fix build-depends, somehow lost in merge * michael.vogt@ubuntu.com--2005/python-apt--pkgDepCache--0--base-0 tag of apt@arch.ubuntu.com/python-apt--MAIN--0--patch-44 * michael.vogt@ubuntu.com--2005/python-apt--pkgDepCache--0--patch-1 * merged from my mvo tree, removed all non-pkgDepCache releated stuff and cleaned up the code * michael.vogt@ubuntu.com--2005/python-apt--pkgDepCache--0--patch-2 * beefed up the example code, added DepCache.Upgrade() * michael.vogt@ubuntu.com--2005/python-apt--pkgDepCache--0--patch-3 * implemented the marking interface * michael.vogt@ubuntu.com--2005/python-apt--pkgDepCache--0--patch-4 * state information and marking interface * michael.vogt@ubuntu.com--2005/python-apt--pkgDepCache--0--patch-5 * fixed wrong types for "UsrSize" and "DebSize" * michael.vogt@ubuntu.com--2005/python-apt--pkgDepCache--0--patch-6 * added DepCache.FixBroken() * michael.vogt@ubuntu.com--2005/python-apt--pkgDepCache--0--patch-7 * example code how a overview about the changes can be computed
2005-02-23* progress callback support addedMichael Vogt1-0/+8
2004-11-24Initial support for accessing source package dataArch Librarian1-1/+3
Author: mdz Date: 2003-07-23 02:20:24 GMT Initial support for accessing source package data
2004-11-24Changed include pathsArch Librarian1-2/+2
Author: jgg Date: 2002-01-08 06:53:04 GMT Changed include paths
2004-11-24Alfredo's no_proxy patchArch Librarian1-2/+3
Author: jgg Date: 2001-02-23 05:46:02 GMT Alfredo's no_proxy patch
2004-11-24Initial revisionArch Librarian1-0/+65
Author: jgg Date: 2001-02-20 06:32:01 GMT Initial revision