| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2011-04-05 | Introduce apt_pkg.Cache.groups and apt_pkg.Cache.group_count | Julian Andres Klode | 1 | -0/+1 | |
| 2011-04-05 | Add apt_pkg.Group class, wrapping pkgCache::GrpIterator | Julian Andres Klode | 1 | -0/+4 | |
| 2011-03-21 | - add optional parameter to allow parse_depends() to keep the | Michael Vogt | 1 | -3/+4 | |
| multiarch parameter * tests/test_deps.py: - add test forapt_pkg.parse_depends(strip_multiarch=True) | |||||
| 2011-03-21 | * python/apt_pkgmodule.cc: | Michael Vogt | 1 | -2/+3 | |
| - strip multiarch by default in RealParseDepends | |||||
| 2010-07-23 | * python/apt_pkgmodule.cc: | Julian Andres Klode | 1 | -0/+2 | |
| - Bind pkgAcquire::Item::StatTransientNetworkError (Closes: #589010) | |||||
| 2010-04-21 | python: Commit documentation changes suggested by debian-l10n-english. | Julian Andres Klode | 1 | -25/+27 | |
| 2010-04-01 | python: Document every class, function, property. | Julian Andres Klode | 1 | -43/+123 | |
| Finally, a complete reference to apt_pkg available via pydoc and __doc__ attributes. | |||||
| 2010-04-01 | python: Return bool instead of int to Python where possible, looks better. | Julian Andres Klode | 1 | -2/+2 | |
| 2010-03-10 | python/apt_pkgmodule.cc: Fix apt_pkg.CompType to use CompTypeOld. | Julian Andres Klode | 1 | -7/+13 | |
| 2010-03-10 | * python/apt_pkgmodule.cc: | Julian Andres Klode | 1 | -0/+30 | |
| - Treat '>>' and '>', '<<' and '<' as identical in check_dep (LP: #535667). * tests: - test_deps: Add tests for apt_pkg.CheckDep, apt_pkg.check_dep, apt_pkg.parse_depends and apt_pkg.parse_src_depends. | |||||
| 2010-02-02 | Remove inline functions from the C++ API, export them instead (part 2). | Julian Andres Klode | 1 | -3/+33 | |
| 2010-01-27 | Remove inline functions from the C++ API, export them instead (part 1) | Julian Andres Klode | 1 | -2/+33 | |
| 2010-01-27 | Merge the CppOwnedPyObject C++ class into CppPyObject. | Julian Andres Klode | 1 | -2/+2 | |
| 2010-01-23 | python: Export a PyAcquire_FromCpp which sets up a correct PyAcquireObject. | Julian Andres Klode | 1 | -0/+1 | |
| 2010-01-20 | Rename apt_pkg.PackageIndexFile to apt_pkg.IndexFile. | Julian Andres Klode | 1 | -2/+2 | |
| 2010-01-15 | python/apt_pkgmodule.cc: Rename remaining Acquire.result_* to Acquire.RESULT_*. | Julian Andres Klode | 1 | -2/+2 | |
| 2010-01-15 | Make all class-level constants have uppercase names. | Julian Andres Klode | 1 | -9/+9 | |
| 2010-01-15 | Merge 0.7.13.5 pre. | Julian Andres Klode | 1 | -0/+20 | |
| 2010-01-13 | * python/cache.cc: | Michael Vogt | 1 | -0/+2 | |
| - add UntranslatedDepType attribute to DependencyType - add DepTypeEnum that returns a value from {DepDepends, DepPreDepends, ...} * python/apt_pkgmodule.cc: - add DepDpkgBreaks, DepEnhances constants * doc/source/apt_pkg/{cache.rst, index.rst}: - update documentation as well | |||||
| 2009-07-31 | python: Remove the progress classes in apt_pkg. | Julian Andres Klode | 1 | -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-31 | python/configuration.cc, apt_pkgmodule.cc: Fix Configuration segfaults. | Julian Andres Klode | 1 | -1/+1 | |
| In apt_pkgmodule, change the type to Configuration*. In configuration.cc, check that GetSelf(Self).Tree(0) != 0 before doing GetSelf(Self).Tree(0)->Parent. | |||||
| 2009-07-24 | python/apt_pkgmodule.cc: Move all constants here. | Julian Andres Klode | 1 | -1/+34 | |
| Now the constants are accessible from the types, and not only from instances. | |||||
| 2009-07-22 | python: First step of fixing acquire stuff. | Julian Andres Klode | 1 | -0/+32 | |
| Basically, we only want to have on PyAcquireItem per pkgAcquire::Item, and one PyAcquireItemDesc per pkgAcquire::ItemDesc. Therefore, we store them so we can return them at a later time. | |||||
| 2009-07-21 | python/python-apt.h: Export PyAcquireWorker and fix some problems. | Julian Andres Klode | 1 | -0/+1 | |
| 2009-07-21 | python/lock.cc: Implement apt_pkg.FileLock(). | Julian Andres Klode | 1 | -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-20 | python/lock.cc: Introduce apt_pkg.SystemLock context manager. | Julian Andres Klode | 1 | -0/+1 | |
| This is the new alternative to pkgsystem_lock() and pkgsystem_unlock(), and is the recommended one. | |||||
| 2009-07-19 | python/apt_pkgmodule.cc: Fix apt_pkg.gettext to not ignore second parameter. | Julian Andres Klode | 1 | -2/+1 | |
| 2009-07-19 | python/cdromprogress.cc: Add apt_pkg.CdromProgress. | Julian Andres Klode | 1 | -0/+1 | |
| 2009-07-17 | python/apt_pkgmodule.cc: Introduce apt_pkg.gettext(). | Julian Andres Klode | 1 | -0/+25 | |
| Python's gettext() ignores setlocale() which causes a strange behavior because the values received from apt-pkg respect setlocale(). We circumvent this problem by calling the C version of gettext(). This is also much faster. | |||||
| 2009-07-16 | python/acquire.cc: Introduce PyAcquireWorker_Type, make ↵ | Julian Andres Klode | 1 | -6/+7 | |
| PyAcquireItemDesc_Type contain a pointer. | |||||
| 2009-07-15 | python/acquire.cc: Add AcquireItemDesc. | Julian Andres Klode | 1 | -0/+2 | |
| 2009-07-15 | Introduce new progress (base) classes in apt_pkg: | Julian Andres Klode | 1 | -0/+2 | |
| - apt_pkg.AcquireProgress - apt_pkg.OpProgress | |||||
| 2009-07-15 | python/python-apt.h: Introduce the C++ API | Julian Andres Klode | 1 | -0/+38 | |
| 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-14 | python/configuration.cc: Unify all ↵ | Julian Andres Klode | 1 | -5/+4 | |
| 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-13 | python/apt_pkgmodule.cc: Remove all dependendy type constants, and cleanup. | Julian Andres Klode | 1 | -87/+41 | |
| The dependency type constants have no use, because we do not export values anywhere. The cleanup moves all #ifdef COMPAT_0_7 together into one section. | |||||
| 2009-07-13 | python/apt_pkgmodule.cc: Fix build on Python 2.4 | Julian Andres Klode | 1 | -1/+1 | |
| 2009-07-13 | python/apt_pkgmodule.cc: Add function name to ParseDepends and friends. | Julian Andres Klode | 1 | -6/+7 | |
| 2009-07-13 | python/apt_pkgmodule.cc, python/apt_instmodule.cc: Remove useless state. | Julian Andres Klode | 1 | -22/+7 | |
| This was copied over from "Porting Extension Modules to 3.0", and is not really needed. | |||||
| 2009-07-13 | python/apt_pkgmodule.cc: ParseDepends_old only needed in COMPAT_0_7. | Julian Andres Klode | 1 | -0/+2 | |
| 2009-07-13 | python: Rename all PyTypeObject's to conform to PEP 7. | Julian Andres Klode | 1 | -31/+31 | |
| This is the first step towards implementing coding guidelines for the C++ code and providing an usable C++ API. | |||||
| 2009-07-12 | python/hashes.cc: Introduce the Hashes class. | Julian Andres Klode | 1 | -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-07-08 | python/apt_pkgmodule.cc: Unify dep handling -- part 1: parse_depends() | Julian Andres Klode | 1 | -5/+14 | |
| apt_pkg.parse_[src_]depends() now use CompType instead of CompTypeDeb (i.e. < instead of <<) to match the interface of Version.depends_list_str. | |||||
| 2009-06-21 | python/apt_pkgmodule.cc: Delete apt_pkg.Version constant [API break] | Julian Andres Klode | 1 | -1/+1 | |
| We can not keep the old apt_pkg.Version constant, because the name Version is already used by the Version class. | |||||
| 2009-06-21 | python: Add DeprecationWarning to functions which were replaced by classes. | Julian Andres Klode | 1 | -0/+2 | |
| 2009-06-09 | python/apt_pkgmodule.cc: Fix the modulename. | Julian Andres Klode | 1 | -1/+1 | |
| 2009-06-09 | Add apt_pkg.Policy class (Closes: #382725) | Julian Andres Klode | 1 | -0/+1 | |
| 2009-06-09 | python/cache.cc: Fix segfaults using the new allocation methods. | Julian Andres Klode | 1 | -2/+3 | |
| We switched to using tp_alloc() to create new objects. Some types had no tp_flags set and were not initialized using PyType_Ready, causing tp_alloc (PyType_GenericAlloc) to crash. | |||||
| 2009-06-08 | Add apt_pkg.HashString and apt_pkg.IndexRecords (Closes: #456141) | Julian Andres Klode | 1 | -0/+2 | |
| 2009-06-05 | python/: Put all deprecated Get*() functions into #ifdef COMPAT_0_7. | Julian Andres Klode | 1 | -0/+2 | |
| 2009-06-05 | python/apt_pkgmodule.cc: Fix refcount problem. | Julian Andres Klode | 1 | -1/+3 | |
