| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2010-01-15 | Make all class-level constants have uppercase names. | Julian Andres Klode | 2 | -2/+2 | |
| 2009-09-16 | Merge 0.7.13.0 - 0.7.13.3 from unstable. | Julian Andres Klode | 1 | -3/+15 | |
| * apt/cache.py: - add actiongroup() method (backport from 0.7.92) - re-work the logic in commit() to fail if installArchives() returns a unexpected result * apt/progress/__init__.py: - catch exceptions in pm.DoInstall() * apt/package.py: - Export if a package is an essential one (Closes: #543428) * python/depcache.cc: - Make ActionGroups context managers so apt.Cache.actiongroup() has the same behavior as in 0.7.92 * apt/cache.py: - Add raiseOnError option to Cache.update() (Closes: #545474) * apt/package.py: - Use the source version instead of the binary version in fetch_source(). * apt/progress/__init__.py: - Correctly ignore ECHILD by checking before EINTR (Closes: #546007) * apt/cache.py: - Convert argument to str in __getitem__() (Closes: #542965). | |||||
| 2009-09-15 | merge from mvo | Julian Andres Klode | 1 | -4/+19 | |
| * apt/cache.py: - re-work the logic in commit() to fail if installArchives() returns a unexpected result * apt/progress/__init__.py: - catch exceptions in pm.DoInstall() | |||||
| 2009-09-10 | apt/progress/__init__.py: Correctly ignore ECHILD by checking before EINTR ↵ | Julian Andres Klode | 1 | -2/+2 | |
| (Closes: #546007) As the check for != EINTR will re-raise the error, we have to check ECHILD before it. | |||||
| 2009-09-03 | apt/progress/__init__.py: doc string update for run() | Michael Vogt | 1 | -1/+5 | |
| 2009-09-03 | * apt/progress/__init__.py: | Michael Vogt | 1 | -2/+9 | |
| - catch exceptions in pm.DoInstall() | |||||
| 2009-09-03 | apt/progress/__init__.py: doc update | Michael Vogt | 1 | -1/+5 | |
| 2009-07-31 | apt/progress: Large update, introducing apt.progress.base.InstallProgress. | Julian Andres Klode | 5 | -303/+223 | |
| This contains many updates including the introduction of a new InstallProgress class which replaces the old InstallProgress and DpkgInstallProgress classes. | |||||
| 2009-07-31 | apt/progress/gtk2.py: Cleanup. | Julian Andres Klode | 1 | -15/+21 | |
| 2009-07-31 | apt/progress/old.py: Derive some more old classes from new classes. | Julian Andres Klode | 1 | -33/+10 | |
| OpTextProgress is now derived from text.OpProgress and DumbInstallProgress is derived from base.InstallProgress. | |||||
| 2009-07-31 | python: Remove the progress classes in apt_pkg. | Julian Andres Klode | 2 | -34/+30 | |
| They have been replaced with apt.progress.base, so stuff like GTK+ or Qt progress classes can be written using subclassing. | |||||
| 2009-07-31 | apt/progress/base.py: Introduce new base progress classes. | Julian Andres Klode | 2 | -20/+183 | |
| Also adjust the class in apt/progress/text.py to derive from this instead of the classes in apt_pkg (which will be dropped). | |||||
| 2009-07-30 | Merge 0.7.11.1-0.7.12.0 from unstable. | Julian Andres Klode | 1 | -5/+11 | |
| 2009-07-30 | apt/progress/__init__.py: Fix InstallProgress.waitChild() | Julian Andres Klode | 1 | -2/+3 | |
| - Do not break out of InstallProgress.waitChild()'s loop just because it is hitting EINTR, but only on child exit or on ECHILD. | |||||
| 2009-07-30 | apt/progress.py: Extract the package name from the status message | Julian Andres Klode | 1 | -2/+3 | |
| (Closes: #532660) | |||||
| 2009-07-25 | Exception handling fixes in InstallProgress class. | Stephan Peijnik | 1 | -4/+13 | |
| 2009-07-23 | python/cdrom.cc: Do not check arguments in PkgCdromNew. | Julian Andres Klode | 1 | -1/+1 | |
| 2009-07-21 | apt/progress/old.py: Replace OpProgress.sub_op with OpProgress.subop. | Julian Andres Klode | 1 | -3/+3 | |
| 2009-07-19 | apt/progress/text.py: Always call methods of the parent class. | Julian Andres Klode | 1 | -1/+10 | |
| 2009-07-19 | apt/progress/text.py: Add some docstrings. | Julian Andres Klode | 1 | -0/+5 | |
| 2009-07-19 | apt/progress/text.py: Introduce CdromProgress. | Julian Andres Klode | 1 | -4/+27 | |
| 2009-07-19 | python/cdromprogress.cc: Add apt_pkg.CdromProgress. | Julian Andres Klode | 1 | -18/+4 | |
| 2009-07-17 | apt: Use apt_pkg.gettext instead of Python's gettext. | Julian Andres Klode | 2 | -5/+3 | |
| 2009-07-17 | apt/progress/text.py: Improve final summary. | Julian Andres Klode | 1 | -14/+22 | |
| 2009-07-17 | apt/progress/text.py: Cleanup, add i18n (and try apt translation if we have ↵ | Julian Andres Klode | 1 | -40/+52 | |
| none). | |||||
| 2009-07-17 | apt/progress: Fix apt.progress with COMPAT_0_7 | Julian Andres Klode | 2 | -13/+6 | |
| 2009-07-17 | apt/progress/text.py: Don't display complete items in AcquireProgress.fetch | Julian Andres Klode | 1 | -0/+3 | |
| 2009-07-16 | apt/progress/text.py: Limit number of displayed items by display size. | Julian Andres Klode | 1 | -2/+8 | |
| 2009-07-16 | apt/progress/text.py: Print status messages. | Julian Andres Klode | 1 | -7/+6 | |
| 2009-07-16 | apt/progress/gtk2.py: Replace apt.progress with apt.progress.old. | Julian Andres Klode | 1 | -12/+13 | |
| 2009-07-16 | apt/progress: Move apt.progress to apt.progress.old | Julian Andres Klode | 2 | -418/+447 | |
| 2009-07-16 | apt/progress/text.py: 'Sync' AcquireProgress with the one used for apt-get. | Julian Andres Klode | 1 | -18/+93 | |
| 2009-07-16 | apt/progress/text.py: Introduce new progress classes for text. | Julian Andres Klode | 1 | -0/+122 | |
| These are based on the new classes in apt_pkg and work better, because they correctly clear the screen. | |||||
| 2009-06-15 | apt/progress/__init__.py: Check for EINTR in select (Closes: #499296) | Julian Andres Klode | 1 | -1/+7 | |
| 2009-06-12 | apt/progress.py: Extract the package name from the status message (Closes: ↵ | Julian Andres Klode | 1 | -4/+7 | |
| #532660) | |||||
| 2009-06-08 | merge with mvo | jak@debian.org | 1 | -0/+20 | |
| 2009-06-05 | python/progress.cc, apt/progress/*.py: Use PEP 8 naming conventions for progress | Julian Andres Klode | 2 | -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-04 | apt, aptsources, doc: Update to use the new names. | Julian Andres Klode | 2 | -5/+5 | |
| 2009-05-31 | Do not store the the Deb path and package name as an attribute of the ↵ | Sebastian Heinlein | 1 | -3/+1 | |
| progress class. Furthermore allow to specify more than one file. | |||||
| 2009-05-31 | Extract the package name from the status message | Sebastian Heinlein | 1 | -1/+2 | |
| 2009-05-05 | * apt/progress/__init__.py: | Michael Vogt | 1 | -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#481061 | Julian Andres Klode | 1 | -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 Klode | 2 | -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.gtk | Julian Andres Klode | 2 | -0/+799 | |
| - apt/progress/gtk2.py: Moved here from apt/gtk/widgets.py - apt/progress/__init__.py: Move here from apt/progress.py | |||||
