| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2010-06-01 | revert commit 346 (this re-enable the deprecation warnings) | Michael Vogt | 13 | -65/+46 | |
| 2010-06-01 | * merge from debian bzr, remaining changes: | Michael Vogt | 23 | -442/+1091 | |
| - different mirror list * data/templates/gNewSense.info.in, data/templates/gNewSense.mirrors: - add gNewSense template and mirrors, thanks to Karl Goetz * apt/cache.py: - Make Cache.get_changes() much (~35x) faster (Closes: #578074). - Make Cache.req_reinstall_pkgs much faster as well. - Make Cache.get_providing_packages() about 1000 times faster. - Use has_versions and has_provides from apt_pkg.Package where possible. * apt/package.py: - Decode using utf-8 in installed_files (LP: #407953). - Fix fetch_source() to work when source name = binary name (LP: #552400). - Merge a patch from Sebastian Heinlein to make get_changelog() only check sources where source version >= binary version (Closes: #581831). - Add Version.source_version and enhance Sebastian's patch to make use of it, in order to find the best changelog for the package. * python: - Return bool instead of int to Python where possible, looks better. - Document every class, function, property. * python/cache.cc: - Check that 2nd argument to Cache.update() really is a SourceList object. - Fix PackageFile.not_automatic to use NotAutomatic instead of NotSource. - Add Package.has_versions to see which packages have at least one version, and Package.has_provides for provides. - Add rich compare methods to the Version object. * python/generic.cc: - Fix a memory leak when using old attribute names. - Map ArchiveURI property to archive_uri * python/progress.cc: - Do not pass arguments to InstallProgress.wait_child(). * doc: - Update the long documentation. * debian/control: - Change priority to standard, keep -doc and -dev on optional. * utils/migrate-0.8.py: - Open files in universal newline support and pass filename to ast.parse. - Add has_key to the list of deprecated functions. - Don't abort if parsing failed. - do not require files to end in .py if they are passed on the command line or if they contain python somewhere in the shebang line. * apt/cache.py: - make cache open silent by default (use apt.progress.base.OpProgress) * tests/data/aptsources_ports/sources.list: - fix ports test-data * tests/test_apt_cache.py: - add simple test for basic cache/dependency iteration | |||||
| 2010-04-30 | * python/progress.cc: | Julian Andres Klode | 1 | -3/+1 | |
| - Do not pass arguments to InstallProgress.wait_child(). | |||||
| 2010-04-21 | python: Commit documentation changes suggested by debian-l10n-english. | Julian Andres Klode | 18 | -174/+223 | |
| 2010-04-21 | python/cache.cc: Add Package.has_provides to see which packages are provided ↵ | Julian Andres Klode | 1 | -0/+8 | |
| at least once. | |||||
| 2010-04-21 | Add rich compare methods to the Version object. | Julian Andres Klode | 1 | -1/+20 | |
| 2010-04-21 | Add Package.has_versions to see which packages have at least one version. | Julian Andres Klode | 1 | -0/+9 | |
| 2010-04-14 | merged -r 396..397 from the debian-sid branch | Michael Vogt | 1 | -1/+1 | |
| 2010-04-01 | python: Document every class, function, property. | Julian Andres Klode | 16 | -325/+892 | |
| 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 | 15 | -60/+59 | |
| 2010-04-01 | Fix PackageFile.not_automatic to use NotAutomatic instead of NotSource. | Julian Andres Klode | 1 | -1/+1 | |
| 2010-03-31 | merged from http://bzr.debian.org/apt/python-apt/debian-sid/ | Michael Vogt | 4 | -6/+6 | |
| 2010-03-31 | * python/cache.cc: | Julian Andres Klode | 1 | -1/+2 | |
| - Check that 2nd argument to Cache.update() really is a SourceList object. | |||||
| 2010-03-29 | If PYTHON_APT_DEPRECATION_WARNINGS is unset, also disable the | Julian Andres Klode | 13 | -46/+65 | |
| deprecation warnings in apt_pkg directly; and don't just disable any deprecation warning in apt/__init__.py (LP: #548623) | |||||
| 2010-03-26 | Merge with mvo, with the following changes: | Julian Andres Klode | 1 | -0/+1 | |
| * python/generic.cc is changed instead of python/indexfile.cc to add the ArchiveURI property * tests/test_apt_cache.py is changed to assert the properties of the Dependency object instead of assigning them to a variable. The additions to the changelog are: [ Julian Andres Klode ] - Map ArchiveURI property to archive_uri [ Michael Vogt ] * apt/cache.py: - make cache open silent by default (use apt.progress.base.OpProgress) * tests/data/aptsources_ports/sources.list: - fix ports test-data * tests/test_apt_cache.py: - add simple test for basic cache/dependency iteration | |||||
| 2010-03-25 | * apt/__init__.py: | Michael Vogt | 1 | -0/+3 | |
| - only show deprecation warnings if PYTHON_APT_DEPRECATION_WARNINGS is set in the environment * python/indexfile.cc: - add missing 0.7 compat indexfile.ArchiveURI method | |||||
| 2010-03-23 | merge from debian-sid | Michael Vogt | 1 | -0/+6 | |
| 2010-03-15 | Correctly fix the last one, PyErr_Restore takes a reference. | Julian Andres Klode | 1 | -0/+3 | |
| 2010-03-15 | * python/generic.cc: | Julian Andres Klode | 1 | -0/+3 | |
| - Fix a memory leak when using old attribute names. | |||||
| 2010-03-12 | merged from debian-sid | Michael Vogt | 16 | -257/+179 | |
| 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-09 | python/generic.cc: use std::string instead of string | Michael Vogt | 2 | -3/+2 | |
| 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 | |
