Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-07-21 | python/lock.cc: Implement apt_pkg.FileLock(). | Julian Andres Klode | 1 | -0/+6 | |
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 | doc/source/whatsnew/0.8.0.rst: Document apt_pkg.SystemLock. | Julian Andres Klode | 1 | -2/+7 | |
2009-07-17 | doc/source/conf.py: Ignore failures to import apt_pkg. | Julian Andres Klode | 1 | -6/+15 | |
2009-07-15 | doc/client-example.cc: Make it a module AND an application. | Julian Andres Klode | 1 | -8/+30 | |
You can now compile this as a module or as an application. The benefit is that the explained process is more like the one required for Python 3. | |||||
2009-07-15 | python/python-apt.h: Introduce the C++ API | Julian Andres Klode | 1 | -0/+46 | |
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-13 | doc/source/contributing.rst: List debian-experimental, fix highlighting. | Julian Andres Klode | 1 | -9/+19 | |
2009-07-13 | doc/source/contributing.rst: Add C++ Coding style guidelines. | Julian Andres Klode | 1 | -26/+164 | |
These are the new C++ coding style guidelines, which are derived from PEP 7. | |||||
2009-07-12 | python/hashes.cc: Introduce the Hashes class. | Julian Andres Klode | 1 | -5/+21 | |
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 | doc/source/apt_pkg.rst: Update the documentation to reflect the latest changes. | Julian Andres Klode | 1 | -10/+34 | |
2009-07-08 | doc/source/whatsnew/0.8.0.rst: Document the changes to the dependency handling. | Julian Andres Klode | 1 | -0/+61 | |
2009-06-08 | merge with mvo | jak@debian.org | 1 | -1/+17 | |
2009-06-05 | apt/cache.py: Introduce Cache.actiongroup() | Julian Andres Klode | 1 | -1/+1 | |
This is a short function which creates an actiongroup on the current depcache. | |||||
2009-06-05 | doc/source/conf.py: Force compatibility to be off when creating documentation. | Julian Andres Klode | 1 | -0/+4 | |
2009-06-05 | Introduce the rename rules formally, and add some exceptions. | Julian Andres Klode | 3 | -21/+99 | |
2009-06-04 | apt, aptsources, doc: Update to use the new names. | Julian Andres Klode | 7 | -339/+339 | |
2009-05-05 | * apt/progress/__init__.py: | Michael Vogt | 1 | -1/+17 | |
- add update_status_full() that takes file_size/partial_size as additional callback arguments - add pulse_items() that takes a addtional "items" tuple that gives the user full access to the individual items that are fetched * python/progress.cc: - low level code for update_status_full and pulse_items() | |||||
2009-04-19 | * doc: Update the documentation to the current state. | Julian Andres Klode | 6 | -961/+968 | |
2009-04-19 | * Update the code to use the new classes. | Julian Andres Klode | 19 | -42/+42 | |
2009-04-17 | * doc: Update the documentation to use the new names. | Julian Andres Klode | 3 | -8/+8 | |
2009-04-15 | * Upload as 0.7.90 to experimental | Julian Andres Klode | 3 | -13/+13 | |
This is the first pre-release of python-apt 0.8. It is completely backward compatible (even on Python 3), API changes will appear in 0.7.91. | |||||
2009-04-14 | * Remove any trailing whitespace | Julian Andres Klode | 1 | -1/+1 | |
2009-04-13 | * doc: Documentation updates | Julian Andres Klode | 5 | -72/+231 | |
Extended the documentation, renamed 'Coding for python-apt' to 'Contributing to python-apt' and other stuff. | |||||
2009-04-13 | * doc/source/apt_pkg/cache.rst: Add .. versionadded:: 0.7.11 to the ↵ | Julian Andres Klode | 1 | -0/+4 | |
documentation | |||||
2009-04-13 | * python/configuration.cc: Support the 'in' operator for Configuration | Julian Andres Klode | 1 | -0/+4 | |
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/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-04-13 | * doc/source/conf.py: Do not require python-debian anymore | Julian Andres Klode | 1 | -6/+9 | |
Try to get the release from the information in the environment variable DEBVER, which is exported in debian/rules. If it is not set, use python-debian to read the release from the changelog. | |||||
2009-04-01 | * Fix documentation building | Julian Andres Klode | 1 | -1/+5 | |
- doc/source/conf.py: Only include directories for current python version. - debian/control: Build-Depend on python-gtk2, python-vte. - setup.py: If pygtk can not be imported, do not build the documentation. | |||||
2009-03-29 | Build-Depend on python-debian, use it to get version number from changelog | Julian Andres Klode | 1 | -2/+5 | |
2009-03-08 | * doc/examples/*.py: Fix some examples, cleanup | Julian Andres Klode | 8 | -18/+6 | |
2009-03-08 | apt/cache.py: If no progress is given for cache open, use OpProgress. | Julian Andres Klode | 1 | -3/+3 | |
Also fix doc/examples/records.py to use Package.candidate.* | |||||
2009-03-08 | * setup.py: Remove apt.gtk, add apt.progress | Julian Andres Klode | 1 | -0/+1 | |
2009-03-08 | * Merge with mvo | Julian Andres Klode | 6 | -0/+7 | |
2009-03-08 | * doc/source/*: Improve the documentation | Julian Andres Klode | 3 | -37/+173 | |
- Document more attributes and functions of apt_pkg (they are all listed) | |||||
2009-03-08 | * apt/progress/: New package, replaces apt.progress and apt.gtk | Julian Andres Klode | 3 | -7/+7 | |
- apt/progress/gtk2.py: Moved here from apt/gtk/widgets.py - apt/progress/__init__.py: Move here from apt/progress.py | |||||
2009-03-08 | * apt/package.py: Introduce the Version class | Julian Andres Klode | 1 | -0/+5 | |
- Deprecate Package.candidate*() and Package.installed*(), except for installedFiles. - Provide Version.get_source() (LP: #118788) | |||||
2009-02-25 | add a bunch of #!/usr/bin/python to the examples | Michael Vogt | 6 | -0/+7 | |
2009-01-12 | doc/source/coding.rst: New python coding guidelines | Julian Andres Klode | 1 | -10/+22 | |
The exception for mixedCase names is now only granted for modules introduced prior to version 0.7.9 and changes thereto. Modules which are listed as deprecated in the documentation of Python 2.6 should be avoided. has_key() may only be used on TagSection objects. | |||||
2009-01-12 | Cleanup: Comparisons to True/False, ==/!= None, deprecated modules | Julian Andres Klode | 10 | -32/+25 | |
2009-01-11 | * doc/source/apt_pkg/cache.rst: Mention the SHA256Hash is new in 0.7.9 | Julian Andres Klode | 1 | -0/+2 | |
2009-01-11 | * Add support for PkgRecords.SHA256Hash (Closes: #456113) | Julian Andres Klode | 1 | -0/+5 | |
2009-01-11 | * Merge Ben Finney's do not use has_key() (Closes: #481878) | Julian Andres Klode | 3 | -4/+4 | |
A little bit adjusted to not remove the has_key() methods, and to use has_key() where needed [the low-level part does not have the needed functionality for 'key in mapping']. | |||||
2009-01-11 | Merge Ben Finney's whitespace changes (Closes: #481563) | Julian Andres Klode | 24 | -296/+314 | |
2009-01-11 | * doc/: Small updates, add PkgSourceList | Julian Andres Klode | 2 | -38/+64 | |
2009-01-11 | doc/source/**.rst: rst Style changes. | Julian Andres Klode | 4 | -113/+103 | |
This changes our style to match the Python documentation. | |||||
2009-01-11 | * doc/source/apt_pkg/cache.rst: Add the last classes | Julian Andres Klode | 1 | -6/+435 | |
There is no description for MetaIndex yet, but this will be added soon. | |||||
2009-01-10 | * doc/source/apt_pkg/cache.rst: Add PkgAcqFile, AcquireItem, and Configuration | Julian Andres Klode | 1 | -0/+175 | |
Not documented: MetaIndex PackageIndexFile PkgManager PkgRecords PkgSourceList PkgSrcRecords ProblemResolver TagFile TagSection (9) | |||||
2009-01-10 | * doc/: Heavily improve documentation | Julian Andres Klode | 7 | -14/+655 | |
Complete the documentation of pkgCache, pkgDepCache, pkgCache::Package. Introduce new documentation for pkgCache::Version, pkgCache::Dependency, pkgCache::PackageFile, pkgcache::Description. There is also an example now which checks for missing dependencies. | |||||
2009-01-09 | * doc/source/coding.rst: Add the jak branch | Julian Andres Klode | 1 | -0/+7 | |
2009-01-09 | * setup.py, doc/source/conf.py: Fix building by adding build/lib* to PYTHONPATH | Julian Andres Klode | 2 | -2/+9 | |
We now build the extension first, and then the documentation. Also add the text docs. | |||||
2009-01-09 | * Introduce the new documentation and add 0.7.9~exp2 to changelog. | Julian Andres Klode | 23 | -13/+1396 | |
The new documentation is built using sphinx (>= 0.5) [other versions may work too, but let's be safe]. |