summaryrefslogtreecommitdiff
path: root/apt/progress
AgeCommit message (Collapse)AuthorFilesLines
2009-07-21apt/progress/old.py: Replace OpProgress.sub_op with OpProgress.subop.Julian Andres Klode1-3/+3
2009-07-19apt/progress/text.py: Always call methods of the parent class.Julian Andres Klode1-1/+10
2009-07-19apt/progress/text.py: Add some docstrings.Julian Andres Klode1-0/+5
2009-07-19apt/progress/text.py: Introduce CdromProgress.Julian Andres Klode1-4/+27
2009-07-19python/cdromprogress.cc: Add apt_pkg.CdromProgress.Julian Andres Klode1-18/+4
2009-07-17apt: Use apt_pkg.gettext instead of Python's gettext.Julian Andres Klode2-5/+3
2009-07-17apt/progress/text.py: Improve final summary.Julian Andres Klode1-14/+22
2009-07-17apt/progress/text.py: Cleanup, add i18n (and try apt translation if we have ↵Julian Andres Klode1-40/+52
none).
2009-07-17apt/progress: Fix apt.progress with COMPAT_0_7Julian Andres Klode2-13/+6
2009-07-17apt/progress/text.py: Don't display complete items in AcquireProgress.fetchJulian Andres Klode1-0/+3
2009-07-16apt/progress/text.py: Limit number of displayed items by display size.Julian Andres Klode1-2/+8
2009-07-16apt/progress/text.py: Print status messages.Julian Andres Klode1-7/+6
2009-07-16apt/progress/gtk2.py: Replace apt.progress with apt.progress.old.Julian Andres Klode1-12/+13
2009-07-16apt/progress: Move apt.progress to apt.progress.oldJulian Andres Klode2-418/+447
2009-07-16apt/progress/text.py: 'Sync' AcquireProgress with the one used for apt-get.Julian Andres Klode1-18/+93
2009-07-16apt/progress/text.py: Introduce new progress classes for text.Julian Andres Klode1-0/+122
These are based on the new classes in apt_pkg and work better, because they correctly clear the screen.
2009-06-15apt/progress/__init__.py: Check for EINTR in select (Closes: #499296)Julian Andres Klode1-1/+7
2009-06-12apt/progress.py: Extract the package name from the status message (Closes: ↵Julian Andres Klode1-4/+7
#532660)
2009-06-08merge with mvojak@debian.org1-0/+20
2009-06-05python/progress.cc, apt/progress/*.py: Use PEP 8 naming conventions for progressJulian Andres Klode2-66/+119
This changes the progress classes to use PEP 8 names. Due to the concept of the deprecation system, this causes methods of subclasses not to be called at all. If a class implements a command with underscores, it is called. If the class also implements the version in mixedCase, this is ignored. This means that all subclasses will not work correctly, because only the method from the parent class is called.
2009-06-04apt, aptsources, doc: Update to use the new names.Julian Andres Klode2-5/+5
2009-05-31Do not store the the Deb path and package name as an attribute of the ↵Sebastian Heinlein1-3/+1
progress class. Furthermore allow to specify more than one file.
2009-05-31Extract the package name from the status messageSebastian Heinlein1-1/+2
2009-05-05* apt/progress/__init__.py:Michael Vogt1-0/+20
- 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-16* apt/*.py: Initial rename work for Bug#481061Julian Andres Klode1-3/+3
A new module, apt.deprecation, is introduced containing functions and classes which assist in the deprecation. The apt_pkg extension gets a new attribute, _COMPAT_0_7 which can be set by defining COMPAT_0_7 at compile time (-DCOMPAT_0_7). The names are changed, and compatibility functions are enabled if bool(apt_pkg._COMPAT_0_7) == True, i.e. if the package has been built with backward compatibility fixes. This commit changes the apt and aptsources packages, the apt_pkg and apt_inst extensions will be the next renames.
2009-04-01* Copyright updates: debian/copyright, etc.Julian Andres Klode2-3/+3
- debian/copyright: Switch to machine-interpretable copyright - apt/*.py: Fix the copyright years and comments.
2009-03-08* apt/progress/: New package, replaces apt.progress and apt.gtkJulian Andres Klode2-0/+799
- apt/progress/gtk2.py: Moved here from apt/gtk/widgets.py - apt/progress/__init__.py: Move here from apt/progress.py