summaryrefslogtreecommitdiff
path: root/doc
AgeCommit message (Collapse)AuthorFilesLines
2010-01-15Rewrite apt.progress.gtk2 documentation by hand and drop python-gtk2Julian Andres Klode1-13/+115
build-time dependency.
2010-01-15doc/source/conf.py: Fix documentation in debugging variants of Python.Julian Andres Klode1-1/+1
2010-01-15fix typoJulian Andres Klode1-1/+1
2010-01-15Change version from 0.8 to 0.7.100 to indicate compatibility.Julian Andres Klode5-29/+48
2010-01-15doc/source/library/apt_inst.rst: Update to the new API.Julian Andres Klode1-74/+306
2010-01-15Make all class-level constants have uppercase names.Julian Andres Klode1-8/+8
2010-01-15Merge 0.7.13.5 pre.Julian Andres Klode1-0/+45
2010-01-13doc/source/apt_pkg/cache.rst: fix cross-reference to _DependencyTypesMichael Vogt2-2/+2
2010-01-13* python/cache.cc:Michael Vogt2-0/+12
- 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-25Add a tutorial on how to do things which are possible with apt-get,Julian Andres Klode2-0/+67
like apt-get --print-uris update (cf. #551164).
2009-08-21Merge 0.7.13.0 from unstable.Julian Andres Klode2-1/+9
2009-08-21doc/source/apt_pkg/cache.rst: Document pulseInterval in Cache.Update().Julian Andres Klode1-1/+4
2009-08-21* apt/cache.py: Introduce ProblemResolver class (Closes: #542705)Julian Andres Klode2-0/+8
2009-08-18doc/source/c++/: Add C++ API documentation (no content yet).Julian Andres Klode3-0/+12
2009-07-24doc/source/library: Add new classes, fix some issues.Julian Andres Klode2-229/+386
2009-07-23doc/source: Big documentation reorganisation.Julian Andres Klode26-177/+440
Due to the new C++ API and because I wanted to include some tutorials, the documentation is now seperated into 4 sections: library => Documentation of modules. tutorials => Tutorials for using python-apt and contributing whatsnew => Release notes c++ => Documentation,Tutorials for the C++ API This commit also includes a new overview page, like the Python documentation.
2009-07-21python/lock.cc: Implement apt_pkg.FileLock().Julian Andres Klode1-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-20doc/source/whatsnew/0.8.0.rst: Document apt_pkg.SystemLock.Julian Andres Klode1-2/+7
2009-07-17doc/source/conf.py: Ignore failures to import apt_pkg.Julian Andres Klode1-6/+15
2009-07-15doc/client-example.cc: Make it a module AND an application.Julian Andres Klode1-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-15python/python-apt.h: Introduce the C++ APIJulian Andres Klode1-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-13doc/source/contributing.rst: List debian-experimental, fix highlighting.Julian Andres Klode1-9/+19
2009-07-13doc/source/contributing.rst: Add C++ Coding style guidelines.Julian Andres Klode1-26/+164
These are the new C++ coding style guidelines, which are derived from PEP 7.
2009-07-12python/hashes.cc: Introduce the Hashes class.Julian Andres Klode1-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-08doc/source/apt_pkg.rst: Update the documentation to reflect the latest changes.Julian Andres Klode1-10/+34
2009-07-08doc/source/whatsnew/0.8.0.rst: Document the changes to the dependency handling.Julian Andres Klode1-0/+61
2009-06-08merge with mvojak@debian.org1-1/+17
2009-06-05apt/cache.py: Introduce Cache.actiongroup()Julian Andres Klode1-1/+1
This is a short function which creates an actiongroup on the current depcache.
2009-06-05doc/source/conf.py: Force compatibility to be off when creating documentation.Julian Andres Klode1-0/+4
2009-06-05Introduce the rename rules formally, and add some exceptions.Julian Andres Klode3-21/+99
2009-06-04apt, aptsources, doc: Update to use the new names.Julian Andres Klode7-339/+339
2009-05-05* apt/progress/__init__.py:Michael Vogt1-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 Klode6-961/+968
2009-04-19* Update the code to use the new classes.Julian Andres Klode19-42/+42
2009-04-17* doc: Update the documentation to use the new names.Julian Andres Klode3-8/+8
2009-04-15* Upload as 0.7.90 to experimentalJulian Andres Klode3-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 whitespaceJulian Andres Klode1-1/+1
2009-04-13* doc: Documentation updatesJulian Andres Klode5-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 Klode1-0/+4
documentation
2009-04-13* python/configuration.cc: Support the 'in' operator for ConfigurationJulian Andres Klode1-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 TagSectionsJulian Andres Klode1-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 anymoreJulian Andres Klode1-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 buildingJulian Andres Klode1-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-29Build-Depend on python-debian, use it to get version number from changelogJulian Andres Klode1-2/+5
2009-03-08* doc/examples/*.py: Fix some examples, cleanupJulian Andres Klode8-18/+6
2009-03-08apt/cache.py: If no progress is given for cache open, use OpProgress.Julian Andres Klode1-3/+3
Also fix doc/examples/records.py to use Package.candidate.*
2009-03-08* setup.py: Remove apt.gtk, add apt.progressJulian Andres Klode1-0/+1
2009-03-08* Merge with mvoJulian Andres Klode6-0/+7
2009-03-08* doc/source/*: Improve the documentationJulian Andres Klode3-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.gtkJulian Andres Klode3-7/+7
- apt/progress/gtk2.py: Moved here from apt/gtk/widgets.py - apt/progress/__init__.py: Move here from apt/progress.py