1. 03 Nov, 2015 1 commit
  2. 11 Sep, 2013 1 commit
  3. 01 Jun, 2010 1 commit
  4. 01 Apr, 2010 2 commits
  5. 29 Mar, 2010 1 commit
  6. 27 Feb, 2010 1 commit
    • Julian Andres Klode's avatar
      * python: · a169fd15
      Julian Andres Klode authored
        - Handle deprecated attributes and methods in the tp_gettattro slot, this
          allows us to easily warn if a deprecated function is used.
      a169fd15
  7. 27 Jan, 2010 1 commit
  8. 20 Jan, 2010 1 commit
  9. 13 Jul, 2009 1 commit
  10. 12 Jul, 2009 2 commits
  11. 25 Jun, 2009 1 commit
  12. 21 Jun, 2009 1 commit
  13. 12 Jun, 2009 1 commit
    • Julian Andres Klode's avatar
      Bugfix: Delete pointers correctly, fixing memory leaks. (LP: #370149) · 395b33f9
      Julian Andres Klode authored
      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.
      395b33f9
  14. 09 Jun, 2009 1 commit
  15. 05 Jun, 2009 1 commit
  16. 03 Jun, 2009 1 commit
    • Julian Andres Klode's avatar
      python/: Convert most names to PEP8 naming conventions (except Version,PackageFile,MetaIndex). · 7051066c
      Julian Andres Klode authored
      On our way to close Bug#481061, this converts almost all names to PEP 8 naming
      conventions. Missing are now apt_pkg.Version, apt_pkg.PackageFile, apt_pkg.MetaIndex
      and apt.progress.*.
      
      In case of the missing apt_pkg classes, they are not converted yet because they
      do not use getset descriptors yet.
      
      apt.progress.* has not been converted yet because the extension interacts with it,
      and we first need to modify the extension to recognize the new names, as well as
      the old names (old applications shouldn't break).
      7051066c
  17. 19 Apr, 2009 1 commit
  18. 15 Apr, 2009 1 commit
    • Julian Andres Klode's avatar
      * Introduce support for Python 3 (Closes: #523645) · c876c509
      Julian Andres Klode authored
      This is the first initial port to Python 3. The API is almost completely
      identical to the one found in Python 2, except that functions working with
      binary data require bytes (md5sum,sha1sum,sha256sum,Base64Encode).
      
      Using setup3.py to install the modules will not work, because the apt package
      still has to be converted to Python 3. For the package, we call 2to3-3.1 in
      debian/rules to do this automatically.
      c876c509
  19. 14 Apr, 2009 1 commit
  20. 16 May, 2008 1 commit
  21. 14 Feb, 2008 1 commit
  22. 04 Sep, 2007 1 commit
    • Michael Vogt's avatar
      * python/metaindex.cc: · 8ad58480
      Michael Vogt authored
        - added support for the metaIndex objects
      * python/sourceslist.cc:
        - support new "List" attribute that returns the list of
          metaIndex source entries
      8ad58480
  23. 04 Jan, 2006 1 commit
  24. 05 Dec, 2005 1 commit
  25. 22 Nov, 2005 2 commits
  26. 18 Nov, 2005 1 commit
  27. 03 May, 2005 1 commit
    • Michael Vogt's avatar
      * merged with Greek0@gmx.net--2005-main, native apt interface added, fixed a... · 52ecc815
      Michael Vogt authored
      * merged with Greek0@gmx.net--2005-main, native apt interface added, fixed a refcount problem, added tests/ directory
      * apt/package.py, apt/__init__.py:
        - started a native python interface that will wrap the uglier
          bits of python-apt in the future
      * tests/pkgsrcrecords.py:
        - started a test directory
      * python/pkgsrcrecords.cc:
        - fixed a refcount problem
        - merged with Greek0s tree
      
      Patches applied:
      
       * Greek0@gmx.net--2005-main/python-apt--debian--0.6--base-0
         tag of apt@packages.debian.org/python-apt--main--0--patch-8
      
       * Greek0@gmx.net--2005-main/python-apt--debian--0.6--patch-1
         Minor typo fix in debian/rules
      
       * Greek0@gmx.net--2005-main/python-apt--debian--0.6--patch-2
         Typo fix in depcache.cc which caused wrong function to be called
      
       * Greek0@gmx.net--2005-main/python-apt--debian--0.6--patch-3
         Improved CppPyObject, leading to a better PkgDepCacheStruct
      
       * Greek0@gmx.net--2005-main/python-apt--debian--0.6--patch-4
         Improved build system
      
       * Greek0@gmx.net--2005-main/python-apt--debian--0.6--patch-5
         Restored the old tar.cc to work with the older apt in debian again
      
       * Greek0@gmx.net--2005-main/python-apt--debian--0.6--patch-6
         Fix for Debian #304296 (Segfault in CppOwnedDealloc)
      
       * Greek0@gmx.net--2005-main/python-apt--debian--0.6--patch-7
         Fix for Debian #304903 (FD leak)
      
       * Greek0@gmx.net--2005-main/python-apt--debian--0.6--patch-8
         Fixed the compilation error introduced in patch-6
      
       * Greek0@gmx.net--2005-main/python-apt--debian--0.6--patch-9
         New debian/changelog from Debians python-apt 0.6.10
      
       * Greek0@gmx.net--2005-main/python-apt--debian--0.6--patch-10
         Minor changes to make the packages lintian/linda clean
      
       * apt@packages.debian.org/python-apt--main--0--patch-8
         Merge michael.vogt@ubuntu.com--2005/python-apt--pkgDepCache--0
      
      52ecc815
  28. 24 Nov, 2004 2 commits