Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2014-03-16 | python/progress.cc: Remove invalid checks for mixedCase methods | Julian Andres Klode | 1 | -6/+3 | |
They are not working, because they set an exception if the mixedCase name is missing. | |||||
2014-03-16 | python/progress.cc: Fix InstallProgress to set child_pid (LP: #1177720) | Julian Andres Klode | 1 | -0/+3 | |
We do not wait for a child at all otherwise. | |||||
2013-10-23 | python/progress.cc: (scan-build): Fix some uninitialized values | Julian Andres Klode | 1 | -3/+3 | |
We need to set those pointers to NULL, as the functions that may write to them do not always write to them and we would read garbage in such a case. | |||||
2013-09-11 | Remove old API compatibility C++ support code | Julian Andres Klode | 1 | -117/+0 | |
2012-10-10 | python/progress.cc: check result of Py_BuildValue() too | Michael Vogt | 1 | -0/+2 | |
2011-11-10 | fix build against apt in experimental | Michael Vogt | 1 | -7/+7 | |
2011-04-12 | apt_pkg: Fix unsigned/long-vs-int issues (LP: #610820) | Julian Andres Klode | 1 | -30/+30 | |
This fix is large, but simple in concept. Instead of relying on Py_BuildValue and type signatures, or type-specific conversion functions, create a new set of overloaded MkPyNumber() functions that automatically do the right thing for each numerical type. | |||||
2011-03-29 | PyFetchProgress::Pulse(): When ignoring a false return value from | Michael Vogt | 1 | -1/+3 | |
PyArg_Parse() after running the simple callback pulse(), there can be an exception on the stack, which must be cleared. (LP: #711225) | |||||
2010-07-06 | * python/progress.cc: | Michael Vogt | 1 | -1/+4 | |
- deal with missing return value from the acquire progress in pulse() | |||||
2010-04-30 | * python/progress.cc: | Julian Andres Klode | 1 | -3/+1 | |
- Do not pass arguments to InstallProgress.wait_child(). | |||||
2010-02-17 | python/progress.cc: more compat fixes | Michael Vogt | 1 | -8/+8 | |
2010-02-17 | * python/progress.cc: | Michael Vogt | 1 | -23/+22 | |
- try to call compatibility functions first, then new functions | |||||
2010-02-02 | python: Update PyAcquire_FromCpp to the new API rules (add Owner parameter). | Julian Andres Klode | 1 | -2/+2 | |
2010-01-27 | Drop the segfault prevention measures from the Acquire code, as they fail | Julian Andres Klode | 1 | -21/+26 | |
to work. A replacement will be added once destruction callbacks are added in APT. | |||||
2010-01-23 | * python/progress.cc: | Julian Andres Klode | 1 | -2/+9 | |
- Fix some threading issues (add some missing PyCbObj_BEGIN_ALLOW_THREADS) | |||||
2010-01-23 | Fix reference counting for old progress classes (Closes: #566370). | Julian Andres Klode | 1 | -7/+15 | |
2010-01-20 | python/progress.cc: Always set 'percent' in OpProgress objects. | Julian Andres Klode | 1 | -2/+1 | |
2010-01-15 | python/lock.cc,python/progress.cc: Include Python.h first to avoid warning. | Julian Andres Klode | 1 | -1/+1 | |
2010-01-15 | Merge 0.7.13.5 pre. | Julian Andres Klode | 1 | -5/+4 | |
2009-10-28 | * python/progress.cc: | Michael Vogt | 1 | -5/+4 | |
- if the mediaChange() does not return anything or is not implemented send "false" to libapt | |||||
2009-07-31 | python/progress.cc: Do not special case apt_pkg.*Progress anymore. | Julian Andres Klode | 1 | -72/+51 | |
2009-07-27 | add better commet in update | Michael Vogt | 1 | -2/+4 | |
2009-07-22 | python: 2nd part of the acquire fixes (one PyObject per C++ object). | Julian Andres Klode | 1 | -5/+5 | |
2009-07-22 | python: First step of fixing acquire stuff. | Julian Andres Klode | 1 | -2/+10 | |
Basically, we only want to have on PyAcquireItem per pkgAcquire::Item, and one PyAcquireItemDesc per pkgAcquire::ItemDesc. Therefore, we store them so we can return them at a later time. | |||||
2009-07-21 | python/progress.cc: Introduce setattr to reduce code duplication. | Julian Andres Klode | 1 | -82/+53 | |
This way, we can replace stuff like PyObject *o = PyBuildValue("i", 0); PyObject_SetAttrString(callbackInst, "attribute", o); Py_DECREF(o) with setattr(callbackInst,"attribute","i",0); | |||||
2009-07-21 | python/progress.cc: Fix problems with threads. | Julian Andres Klode | 1 | -3/+11 | |
2009-07-20 | Merge from debian-sid | Julian Andres Klode | 1 | -14/+53 | |
2009-07-19 | python/progress.cc: Use PyObject_CallObject instead of PyEval_CallObject. | Julian Andres Klode | 1 | -4/+3 | |
2009-07-19 | python/progress.cc: CdromProgress.ask_cdrom_name() shall return None on failure. | Julian Andres Klode | 1 | -12/+20 | |
2009-07-19 | python/cdromprogress.cc: Add apt_pkg.CdromProgress. | Julian Andres Klode | 1 | -4/+8 | |
2009-07-16 | python/progress.cc: Set members directly, without using Python. | Julian Andres Klode | 1 | -23/+25 | |
2009-07-16 | python/progress.cc: Call fail() on AcquireProgress objects. | Julian Andres Klode | 1 | -0/+5 | |
2009-07-16 | python/progress.h: Add Py{Acquire,Op}ProgressObject. | Julian Andres Klode | 1 | -37/+48 | |
2009-07-16 | python/acquire.cc, python/progress.cc: More fixes. | Julian Andres Klode | 1 | -0/+5 | |
2009-07-16 | python/acquire.cc: Introduce PyAcquireWorker_Type, make ↵ | Julian Andres Klode | 1 | -4/+4 | |
PyAcquireItemDesc_Type contain a pointer. | |||||
2009-07-16 | python/progress.cc: Make PyOpProgress::Update() behave more like OpTextProgress. | Julian Andres Klode | 1 | -16/+19 | |
2009-07-16 | python/progress.cc: Fix the types of the attributes. | Julian Andres Klode | 1 | -10/+10 | |
2009-07-15 | python/progress.cc: Add support for PyAcquireProgress. | Julian Andres Klode | 1 | -4/+34 | |
2009-07-15 | Introduce new progress (base) classes in apt_pkg: | Julian Andres Klode | 1 | -2/+12 | |
- apt_pkg.AcquireProgress - apt_pkg.OpProgress | |||||
2009-07-07 | Removed separate way of defining Py_ssize_t in progress.h. Now using | Stephan Peijnik | 1 | -0/+1 | |
method present in generic.h in progress.cc. | |||||
2009-07-03 | Further work on threading support. | Stephan Peijnik | 1 | -3/+12 | |
Fixed bug that prevented building with Python 2.4. | |||||
2009-07-02 | Removed debug print statement. | Stephan Peijnik | 1 | -1/+0 | |
2009-07-02 | C code must allow other python threads to work every now and then in ↵ | Stephan Peijnik | 1 | -0/+20 | |
progress.cc (take one). | |||||
2009-06-25 | python: Fix some build warnings. | Julian Andres Klode | 1 | -2/+0 | |
2009-06-21 | python/progress.cc: Just try to call a function and fallback. | Julian Andres Klode | 1 | -21/+7 | |
2009-06-21 | python/progress.cc: Fix segfault related to pulse_items. | Julian Andres Klode | 1 | -5/+5 | |
2009-06-15 | * python/progress.cc: | Michael Vogt | 1 | -1/+4 | |
- fix crash in RunSimpleCallback() * apt/cache.py: - when the cache is run with a alternative rootdir, create required dirs/files automatically | |||||
2009-06-08 | python/progress.cc: #include "generic.h" to fix build failure with python2.4 | Julian Andres Klode | 1 | -0/+1 | |
2009-06-08 | merge with mvo | jak@debian.org | 1 | -6/+118 | |
2009-06-05 | python/progress.cc, apt/progress/*.py: Use PEP 8 naming conventions for progress | Julian Andres Klode | 1 | -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. |