| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2009-04-14 | * python/indexfile.cc: Use tp_methods and tp_getset for PackageIndexFileType | Julian Andres Klode | 1 | -0/+1 | |
| 2009-04-14 | * python/acquire.cc: Use tp_methods and tp_getset for PkgAcquireType | Julian Andres Klode | 1 | -0/+1 | |
| 2009-04-14 | * python/depcache.cc: Use tp_methods and tp_getset for PkgDepCacheType | Julian Andres Klode | 1 | -0/+1 | |
| 2009-04-14 | * python/cache.cc: Add tp_getset and tp_methods to DependencyType. | Julian Andres Klode | 1 | -0/+1 | |
| 2009-04-14 | * python/cache.cc: Use tp_methods and tp_getset for PkgCacheType | Julian Andres Klode | 1 | -0/+1 | |
| 2009-04-14 | * python/acquire.cc, python/sourcelist.cc: Type cleanup | Julian Andres Klode | 1 | -0/+1 | |
| Use GetSet for PkgSourceListType and remove tp_getattr from PkgAcquireFileType. | |||||
| 2009-04-14 | * Remove any trailing whitespace | Julian Andres Klode | 1 | -1/+1 | |
| 2009-04-13 | * python/cdrom.cc, python/depcache.cc: Use tp_methods for Cdrom, ↵ | Julian Andres Klode | 1 | -0/+4 | |
| ProblemResolver, ActionGroup | |||||
| 2009-04-13 | * python/configuration.cc: Support the 'in' operator for Configuration | Julian Andres Klode | 1 | -0/+3 | |
| Support the replacement of mapping.has_key() for Configuration,ConfigurationPtr and ConfigurationSub objects. This is implemented by extending the various types with the tp_as_sequence slot, which refers to a PySequenceMethods containing only this method. The CnfGetAttr() function has been removed and replaced by the use of the tp_method slot. This helps the py3k port because the previously used Py_FindMethod() is not avilable anymore. This completes the support of the 'in' operator in all python-apt objects, which makes it even easier to convert python-apt-using applications to py3k once python-apt supports it, as 2to3 converts 'm.has_key(k)' to 'k in m'. Also finalize the types in apt_pkgmodule.cc and add the new 'key in conf' description to the documentation. | |||||
| 2009-04-13 | * python/*.cc: Use PyObject_AsFileDescriptor instead of fileno(PyFile_AsFile) | Julian Andres Klode | 1 | -6/+6 | |
| Replace support for file objects with a more generic support for any object providing a fileno() method and for file descriptors (integers). This also helps us to port to Python 3, where the previously used PyFile_ functions are not available anymore. | |||||
| 2009-04-13 | * apt/tag.cc: Rework TagFile using tp_methods and tp_getset | Julian Andres Klode | 1 | -0/+1 | |
| By using tp_methods and tp_getset instead of a function for tp_getattr, the resulting object is easier to understand and access to attributes and methods is faster. It also helps the port to Python 3, where Py_FindMethod does not exist anymore. | |||||
| 2009-04-13 | * python/tag.cc: Support 'key in mapping' for TagSections | Julian Andres Klode | 1 | -0/+4 | |
| Support the replacement of mapping.has_key() for sections, and update the usage in apt/package.py and apt/debfile accordingly. This is implemented by extending the TagSecType with sequence methods, but only settings the contains method there. The TagSecGetAttr() function has been removed and replaced by the use of the tp_methods slot. | |||||
| 2009-01-29 | * apt/cache.py: | Michael Vogt | 1 | -0/+1 | |
| - 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-11 | Merge Ben Finney's whitespace changes (Closes: #481563) | Julian Andres Klode | 1 | -53/+53 | |
| 2008-11-07 | python/acquire.cc (GetPkgAcqFile): Support DestDir and DestFilename. | Michael Vogt | 1 | -1/+1 | |
| 2008-09-18 | add "SelState{Unknown,Install,Hold,DeInstall,Purge}" constant | Michael Vogt | 1 | -0/+6 | |
| 2008-08-08 | Fix whitespace in changes from 0.7.7. | Ben Finney | 1 | -3/+12 | |
| 2008-07-04 | * tests/test_hashsums.py: | Michael Vogt | 1 | -0/+1 | |
| - add tests for the hashsum code | |||||
| 2008-07-04 | * python/apt_pkgmodule.cc: | Michael Vogt | 1 | -3/+11 | |
| - fix bug in hashsum calculation when the original string contains \0 charackters (thanks to Celso Providelo and Ryan Hass for the test-case) LP: #243630 | |||||
| 2008-05-16 | Remove trailing whitespace. | Ben Finney | 1 | -53/+53 | |
| 2008-02-18 | * python/apt_pkgmodule.cc: | Michael Vogt | 1 | -0/+5 | |
| - add InstState{Ok,ReInstReq,Hold,HoldReInstReq} constants * apt/cache.py: - add reqReinstallPkgs property that lists all packages in ReInstReq or HoldReInstReq | |||||
| 2007-08-03 | * aptsources/distro.py: | Michael Vogt | 1 | -2/+0 | |
| - throw NoDistroTemplateException if not distribution template can be found * NMU * Fix version to not use CPU and OS since it's not available on APT anymore (closes: #435653, #435674) | |||||
| 2007-06-10 | * merged automaitc removal of unused dependencies | Michael Vogt | 1 | -0/+1 | |
| branch * update build-depends | |||||
| 2007-04-25 | * python/apt_pkgmodule.cc: | Michael Vogt | 1 | -0/+6 | |
| - added pkgCache::State::PkgCurrentState enums | |||||
| 2006-10-06 | * python/apt_pkgmodule.cc: | Michael Vogt | 1 | -0/+1 | |
| - *cough* expose the new PkgActionGroup stuff | |||||
| 2006-09-12 | * fix missing docstring | Michael Vogt | 1 | -1/+1 | |
| 2006-07-26 | * #cough# - actually use sha256 | Michael Vogt | 1 | -1/+1 | |
| 2006-07-26 | * support sha256 as well | Michael Vogt | 1 | -0/+39 | |
| 2005-12-01 | * pkgAcqFile wrapper added | Michael Vogt | 1 | -0/+1 | |
| 2005-11-18 | * basic pkgAcquire + pkgPackageManager support added | Michael Vogt | 1 | -0/+6 | |
| 2005-10-20 | * progress interface fully working now, commit interface too | Michael Vogt | 1 | -2/+1 | |
| 2005-09-12 | * export locking | Michael Vogt | 1 | -3/+57 | |
| 2005-06-20 | * added support for the pkgProblemResolver() | Michael Vogt | 1 | -0/+3 | |
| 2005-04-11 | * cdrom interface added | Michael Vogt | 1 | -0/+3 | |
| 2005-02-23 | * progress callback support added | Michael Vogt | 1 | -0/+3 | |
| 2004-11-24 | Initial support for accessing source package data | Arch Librarian | 1 | -2/+4 | |
| Author: mdz Date: 2003-07-23 02:20:24 GMT Initial support for accessing source package data | |||||
| 2004-11-24 | Changed include paths | Arch Librarian | 1 | -2/+2 | |
| Author: jgg Date: 2002-01-08 06:53:04 GMT Changed include paths | |||||
| 2004-11-24 | It makes packages, sort of | Arch Librarian | 1 | -1/+40 | |
| Author: jgg Date: 2001-04-06 05:30:09 GMT It makes packages, sort of | |||||
| 2004-11-24 | Alfredo's no_proxy patch | Arch Librarian | 1 | -1/+2 | |
| Author: jgg Date: 2001-02-23 05:46:02 GMT Alfredo's no_proxy patch | |||||
| 2004-11-24 | Initial revision | Arch Librarian | 1 | -0/+357 | |
| Author: jgg Date: 2001-02-20 06:32:01 GMT Initial revision | |||||
