Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2015-06-10 | python/arfile.cc: LFS: Use long long instead of long for file sizes | Julian Andres Klode | 1 | -3/+3 | |
This should make large files in ar archives work. See Bug: #742885 | |||||
2015-06-10 | python/arfile.cc: Do not allow files larger than SIZE_MAX to be mapped | Julian Andres Klode | 1 | -1/+13 | |
Also catch failed allocations, in case size is still too large. This prepares for large file support, see Bug#742885 | |||||
2014-03-17 | Support all compressors for data.tar/control.tar (Closes: #718330) | Julian Andres Klode | 1 | -27/+45 | |
This makes our support very flexible, and open for future additions of new compression algorithms. debfile_extract_tar() is almost identical to ExtractTarMember() of apt's debDebFile. | |||||
2013-10-23 | python/arfile.cc: (C++11) Explicitly cast unsigned long to time_t in {} | Julian Andres Klode | 1 | -1/+2 | |
According to gcc, the expression would be ill-formed in C++11 otherwise. | |||||
2013-10-08 | apt_inst: Support paths supplied as bytes objects (Closes: #680971) | Julian Andres Klode | 1 | -19/+22 | |
2013-08-26 | python/arfile.cc: Fixup the formatting | Julian Andres Klode | 1 | -16/+15 | |
2011-11-10 | fix build against apt in experimental | Michael Vogt | 1 | -4/+4 | |
2011-07-13 | * python/arfile.cc: | Michael Vogt | 1 | -20/+32 | |
- use APT::Configuration::getCompressionTypes() instead of duplicating the supported methods here * tests/test_debfile.py: - add test for raise on unknown data.tar.xxx | |||||
2011-04-12 | apt_pkg: Fix unsigned/long-vs-int issues (LP: #610820) | Julian Andres Klode | 1 | -6/+6 | |
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-21 | * python/arfile.cc, apt/debfile.py: | Michael Vogt | 1 | -5/+9 | |
- add support for .xz archives * tests/test_debfile.py: - add test for xz compression | |||||
2010-04-21 | python: Commit documentation changes suggested by debian-l10n-english. | Julian Andres Klode | 1 | -14/+14 | |
2010-04-01 | python: Document every class, function, property. | Julian Andres Klode | 1 | -10/+9 | |
Finally, a complete reference to apt_pkg available via pydoc and __doc__ attributes. | |||||
2010-01-31 | python/arfile.cc: Handle the case where ararchive_new returns NULL in ↵ | Julian Andres Klode | 1 | -0/+2 | |
debfile_new. | |||||
2010-01-27 | Merge the CppOwnedPyObject C++ class into CppPyObject. | Julian Andres Klode | 1 | -16/+16 | |
2009-08-17 | python/arfile.cc: Introduce DebFile. | Julian Andres Klode | 1 | -0/+171 | |
This is the final commit which Closes: #536096, as everything doable with the functions can now be done using the classes. | |||||
2009-08-08 | python/arfile.cc: Make functions static where possible. | Julian Andres Klode | 1 | -14/+15 | |
2009-08-08 | python/arfile.cc: Rewrite extraction code and add ArArchive.extractall(). | Julian Andres Klode | 1 | -21/+76 | |
The extraction code now reads smaller parts and does not use FileFd anymore, so we can raise OSError with errno and filename if an error occurs. Also add extractall() to ArArchive to make our interface more like tarfile.TarFile's one. | |||||
2009-08-08 | python/arfile.cc: Rename getdata() to extractdata(). | Julian Andres Klode | 1 | -6/+6 | |
This makes it more consistent with the interface of tarfile.TarFile, which provides a extractfile() function. Since producing a file-like object is a bit to complicated here, we simply return the string and thus name the method extractdata(). | |||||
2009-08-08 | python/arfile.cc: Make ArArchive iterable. | Julian Andres Klode | 1 | -1/+9 | |
2009-08-08 | python/arfile.cc: Add ArArchive.getmembers(),getnames() and gettar(). | Julian Andres Klode | 1 | -19/+107 | |
A small hack made it possible to get the list of members from the ARArchive. | |||||
2009-08-07 | python/arfile.cc: Introduce apt_inst.ArArchive and apt_inst.ArMember. | Julian Andres Klode | 1 | -0/+323 | |
This is part one of wishlist Bug#536096, introducing classes in apt_inst. |