| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2010-02-02 | Fix typo seperated => separated in multiple files (reported by lintian). | Julian Andres Klode | 1 | -1/+1 | |
| 2010-01-27 | Merge the CppOwnedPyObject C++ class into CppPyObject. | Julian Andres Klode | 1 | -1/+1 | |
| 2009-07-24 | python/hashstring.cc: Make hashtype a descriptor, adjust coding style. | Julian Andres Klode | 1 | -26/+28 | |
| 2009-07-17 | python: Use PyString_FromFormat instead of snprintf. | Julian Andres Klode | 1 | -3/+2 | |
| 2009-07-15 | python/python-apt.h: Introduce the C++ API | Julian Andres Klode | 1 | -5/+0 | |
| 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-15 | python/hashstring.cc: Do not use const char*, but use char* with default to ↵ | Julian Andres Klode | 1 | -2/+2 | |
| NULL. | |||||
| 2009-06-25 | python: Use PyVarObject_HEAD_INIT() instead of PyObject_HEAD_INIT(). | Julian Andres Klode | 1 | -4/+1 | |
| This is related to PEP 3123 and fixes some compiler warnings. | |||||
| 2009-06-12 | Bugfix: Delete pointers correctly, fixing memory leaks. (LP: #370149) | Julian Andres Klode | 1 | -1/+1 | |
| We previously called the destructor of the pointer. This resulted in no object using pointers being deallocated. This patch introduces CppDeallocPtr() and CppOwnedDeallocPtr() which do the same as the other CppDealloc() and CppOwnedDealloc(), but use 'delete' on the pointer instead of the deconstructor. Furthermore, this patch also changes AcquireFile to be a CppOwnedPyObject, owned by the Acquire object. Without this change, deleting the Acquire object would cause a crash when AcquireFile is deallocated. | |||||
| 2009-06-09 | Allow types providing __new__() to be subclassed. | Julian Andres Klode | 1 | -1/+2 | |
| 2009-06-08 | Fix build failures with python2.4-dbg (const) | Julian Andres Klode | 1 | -2/+2 | |
| 2009-06-08 | Add apt_pkg.HashString and apt_pkg.IndexRecords (Closes: #456141) | Julian Andres Klode | 1 | -0/+140 | |
