summaryrefslogtreecommitdiff
path: root/python/progress.cc
AgeCommit message (Collapse)AuthorFilesLines
2009-06-25python: Fix some build warnings.Julian Andres Klode1-2/+0
2009-06-21python/progress.cc: Just try to call a function and fallback.Julian Andres Klode1-21/+7
2009-06-21python/progress.cc: Fix segfault related to pulse_items.Julian Andres Klode1-5/+5
2009-06-08python/progress.cc: #include "generic.h" to fix build failure with python2.4Julian Andres Klode1-0/+1
2009-06-08merge with mvojak@debian.org1-6/+118
2009-06-05python/progress.cc, apt/progress/*.py: Use PEP 8 naming conventions for progressJulian Andres Klode1-17/+64
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-05-05* apt/progress/__init__.py:Michael Vogt1-7/+119
- 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-14* Remove any trailing whitespaceJulian Andres Klode1-1/+1
2009-01-11Merge Ben Finney's whitespace changes (Closes: #481563)Julian Andres Klode1-17/+17
2008-08-15* python/progress.cc:Michael Vogt1-2/+4
- when pulse() does not return a boolean assume "true" (thanks to Martin Pitt for telling me about the problem)
2008-05-16Remove trailing whitespace.Ben Finney1-17/+17
2007-11-23* python/progress.cc:Michael Vogt1-2/+9
- fix refcount problem in OpProgress - fix refcount problem in FetchProgress - fix refcount problem in CdromProgress
2006-10-02* progress.cc:Michael Vogt1-3/+7
- fix memleak in progress.cc * tests/memleak.py: - uncomment the mem-leak code * doc/examples/sources.py: - improved the example
2005-12-09* CdromProgress.totalSteps added Michael Vogt1-0/+4
2005-11-22* less debug messagesMichael Vogt1-5/+6
2005-10-24* custom waitChild() added in installProgressMichael Vogt1-7/+32
2005-10-21* fix a crasher in the install interfaceMichael Vogt1-3/+7
2005-10-20* progress interface fully working now, commit interface tooMichael Vogt1-3/+10
2005-10-20* merged with the progress reporting codeMichael Vogt1-2/+7
Patches applied: * michael.vogt@ubuntu.com--2005/python-apt--progress-reporting--0--base-0 tag of michael.vogt@ubuntu.com--2005/python-apt--mvo--0--patch-43 * michael.vogt@ubuntu.com--2005/python-apt--progress-reporting--0--patch-1 * support the apt--progress-reporting--0 branch (using "InstallProgress.statusfd) * michael.vogt@ubuntu.com--2005/python-apt--progress-reporting--0--patch-2 * support for update reporting via vte/progress bars added, including a evil "pass-me-my-file-descriptor" hack * michael.vogt@ubuntu.com--2005/python-apt--progress-reporting--0--patch-3 * merged with python-apt--mvo * michael.vogt@ubuntu.com--2005/python-apt--progress-reporting--0--patch-4 * merged from python-apt--mvo * michael.vogt@ubuntu.com--2005/python-apt--progress-reporting--0--patch-5 * better support new python-apt, added example for gui-inst with support for VTE_PTY_KEEP_FD * michael.vogt@ubuntu.com--2005/python-apt--progress-reporting--0--patch-6 * removed the fdsend stuff again, libvte will be patched instead
2005-08-05* improved the examples, added README tooMichael Vogt1-2/+5
2005-08-04* downloads can be canceld now (in FetchProgress::Pulse)Michael Vogt1-7/+10
2005-08-03* API BREAK: follow PEP08 now Michael Vogt1-21/+21
2005-05-11* support Op and SubOp in the progress wrapperMichael Vogt1-2/+12
2005-04-11* cdrom interface addedMichael Vogt1-8/+61
2005-04-08* InstallProgress has overridable fork interface now, added example for the ↵Michael Vogt1-5/+26
use of a vte terminal
2005-04-08* simple InstallProgress interface addedMichael Vogt1-0/+58
2005-04-07* code cleanups, simple MediaChanged implementedMichael Vogt1-59/+59
2005-04-07* added Current{CPS,Bytes,Items}, Total{Bytes,Items} to the fetch objectMichael Vogt1-4/+17
2005-03-14* basic fetch interface, mostly stubs right nowMichael Vogt1-0/+78
2005-03-09* Implemented OpProgress supportMichael Vogt1-0/+55