| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 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-03-05 | * python/tag.cc: | Julian Andres Klode | 1 | -0/+16 | |
| - Hack the TagFile iterator to not use shared storage (Closes: #572596): Scan once, duplicate the section data, and scan again. | |||||
| 2010-03-03 | python/generic.cc: Map UntranslatedDepType to dep_type_untranslated. | Julian Andres Klode | 1 | -0/+1 | |
| 2010-03-01 | * python/acquire-item.cc: | Julian Andres Klode | 1 | -0/+7 | |
| - Add AcquireItem.partialsize member. | |||||
| 2010-02-27 | * python: | Julian Andres Klode | 15 | -248/+93 | |
| - Handle deprecated attributes and methods in the tp_gettattro slot, this allows us to easily warn if a deprecated function is used. | |||||
| 2010-02-27 | * python/cache.cc: | Julian Andres Klode | 1 | -5/+22 | |
| - Implement Cache.__len__() and Cache.__contains__() (Closes: #571443). | |||||
| 2010-02-17 | python/progress.cc: more compat fixes | Michael Vogt | 1 | -8/+8 | |
| 2010-02-17 | * python/progress.cc: | Michael Vogt | 1 | -23/+22 | |
| - try to call compatibility functions first, then new functions | |||||
| 2010-02-13 | python/tagfile.cc: Implement the iterator protocol in TagFile. | Julian Andres Klode | 1 | -5/+31 | |
| 2010-02-02 | python: Update PyAcquire_FromCpp to the new API rules (add Owner parameter). | Julian Andres Klode | 4 | -6/+7 | |
| 2010-02-02 | Fix typo seperated => separated in multiple files (reported by lintian). | Julian Andres Klode | 1 | -1/+1 | |
| 2010-02-02 | Remove inline functions from the C++ API, export them instead (part 2). | Julian Andres Klode | 8 | -68/+216 | |
| 2010-02-02 | python/tarfile.cc: If only one member is requested, extract just that one. | Julian Andres Klode | 1 | -0/+2 | |
| 2010-01-31 | python/generic.h: Fix CppPyObject_NEW with parameter again. | Julian Andres Klode | 1 | -2/+2 | |
| 2010-01-31 | python/arfile.cc: Handle the case where ararchive_new returns NULL in ↵ | Julian Andres Klode | 1 | -0/+2 | |
| debfile_new. | |||||
| 2010-01-27 | Remove inline functions from the C++ API, export them instead (part 1) | Julian Andres Klode | 3 | -103/+244 | |
| 2010-01-27 | Merge the CppOwnedPyObject C++ class into CppPyObject. | Julian Andres Klode | 23 | -278/+218 | |
| 2010-01-27 | Drop the segfault prevention measures from the Acquire code, as they fail | Julian Andres Klode | 5 | -160/+61 | |
| to work. A replacement will be added once destruction callbacks are added in APT. | |||||
| 2010-01-24 | python/progress.h: PyFetchProgress keeps a reference to pyAcquire. | Julian Andres Klode | 1 | -1/+4 | |
| 2010-01-24 | Clone all pkgDirStream::Item's so apt_pkg.TarMember object can be used | Julian Andres Klode | 1 | -30/+43 | |
| outside of the callback function passed to go(). | |||||
| 2010-01-24 | * python/tarfile.cc: | Julian Andres Klode | 1 | -4/+10 | |
| - When extracting, only allocate a new buffer if the old one was too small. - Do not segfault if TarFile.go() is called without a member name. | |||||
| 2010-01-24 | python/acquire-item.cc: Add GC support to AcquireItem. | Julian Andres Klode | 1 | -3/+4 | |
| AcquireItem is owned and owned items need to support the GC in case someone subclasses Acquire and creates a circular reference. | |||||
| 2010-01-23 | python: Export a PyAcquire_FromCpp which sets up a correct PyAcquireObject. | Julian Andres Klode | 4 | -1/+18 | |
| 2010-01-23 | python/acquire-item.cc: Support items without an owner set. | Julian Andres Klode | 1 | -18/+20 | |
| 2010-01-23 | * python/progress.cc: | Julian Andres Klode | 1 | -2/+9 | |
| - Fix some threading issues (add some missing PyCbObj_BEGIN_ALLOW_THREADS) | |||||
| 2010-01-23 | Fix reference counting for old progress classes (Closes: #566370). | Julian Andres Klode | 1 | -7/+15 | |
| 2010-01-20 | Rename apt_pkg.PackageIndexFile to apt_pkg.IndexFile. | Julian Andres Klode | 7 | -41/+41 | |
| 2010-01-20 | python/progress.cc: Always set 'percent' in OpProgress objects. | Julian Andres Klode | 1 | -2/+1 | |
| 2010-01-15 | python/apt_pkgmodule.cc: Rename remaining Acquire.result_* to Acquire.RESULT_*. | Julian Andres Klode | 1 | -2/+2 | |
| 2010-01-15 | python/indexrecords.cc,python/policy.cc: Rename functions. | Julian Andres Klode | 2 | -41/+41 | |
| 2010-01-15 | python/lock.cc,python/progress.cc: Include Python.h first to avoid warning. | Julian Andres Klode | 2 | -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 | 3 | -16/+50 | |
| 2010-01-13 | * python/cache.cc: | Michael Vogt | 2 | -11/+18 | |
| - 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-10-28 | * python/progress.cc: | Michael Vogt | 1 | -5/+4 | |
| - if the mediaChange() does not return anything or is not implemented send "false" to libapt | |||||
| 2009-08-24 | * python/depcache.cc: | Julian Andres Klode | 1 | -0/+15 | |
| - Make ActionGroups context managers so apt.Cache.actiongroup() has the same behavior as in 0.7.92 | |||||
| 2009-08-21 | Merge 0.7.13.0 from unstable. | Julian Andres Klode | 2 | -3/+4 | |
| 2009-08-21 | python/pkgsrcrecords.cc: Fix spelling error (begining should be beginning). | Julian Andres Klode | 1 | -1/+1 | |
| 2009-08-21 | python/cache.cc: Set default pulseInterval to 0 (matches apt-pkg's default). | Julian Andres Klode | 1 | -1/+1 | |
| 2009-08-19 | * apt/cache.py, python/cache.cc: | Michael Vogt | 1 | -2/+3 | |
| - add optional pulseIntevall option to "update()" * po/python-apt.pot: - refreshed | |||||
| 2009-08-18 | python/tarfile.cc: Introduce TarFile.extractdata(). | Julian Andres Klode | 1 | -20/+77 | |
| This works by enhancing PyDirStream to support handling only one member, making the PyObjects for the current member instance variables and after calling TarFile.Go() return the value of 'py_data'. | |||||
| 2009-08-18 | python: Disable the functions in apt_inst if built without COMPAT_0_7. | Julian Andres Klode | 3 | -12/+14 | |
| Developers should use the class-based API instead. | |||||
| 2009-08-17 | python/arfile.cc: Introduce DebFile. | Julian Andres Klode | 3 | -0/+173 | |
| This is the final commit which Closes: #536096, as everything doable with the functions can now be done using the classes. | |||||
| 2009-08-08 | python/arfile.cc: Make functions static where possible. | Julian Andres Klode | 1 | -14/+15 | |
| 2009-08-08 | python/arfile.cc: Rewrite extraction code and add ArArchive.extractall(). | Julian Andres Klode | 1 | -21/+76 | |
| The extraction code now reads smaller parts and does not use FileFd anymore, so we can raise OSError with errno and filename if an error occurs. Also add extractall() to ArArchive to make our interface more like tarfile.TarFile's one. | |||||
| 2009-08-08 | python/arfile.cc: Rename getdata() to extractdata(). | Julian Andres Klode | 1 | -6/+6 | |
| This makes it more consistent with the interface of tarfile.TarFile, which provides a extractfile() function. Since producing a file-like object is a bit to complicated here, we simply return the string and thus name the method extractdata(). | |||||
| 2009-08-08 | python/arfile.cc: Make ArArchive iterable. | Julian Andres Klode | 1 | -1/+9 | |
| 2009-08-08 | python/arfile.cc: Add ArArchive.getmembers(),getnames() and gettar(). | Julian Andres Klode | 1 | -19/+107 | |
| A small hack made it possible to get the list of members from the ARArchive. | |||||
| 2009-08-08 | python/tarfile.cc: Introduce wrapper around ExtractTar. | Julian Andres Klode | 3 | -0/+423 | |
