Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2015-06-10 | python/cache.cc: Handle deprecation of pkgCache::PkgIterator::Section() | Julian Andres Klode | 1 | -6/+12 | |
Ignore the deprecation from the C++ compiler and generate a warning for the Python interpreter. Also, remove the section from the representation of the package. | |||||
2015-05-22 | rename "md5" keyword argument in AcquireFile() to "hash" and add backward ↵ | Michael Vogt | 1 | -9/+26 | |
compatiblity | |||||
2015-05-07 | Add MULTI_ARCH_NO constant and deprecate MULTI_ARCH_NONE | Michael Vogt | 1 | -1/+3 | |
Thanks to Johannes Schauer closes: #782802 | |||||
2014-11-06 | Add binding for apt_pkg.maybe_open_clear_signed_file() | Michael Vogt | 1 | -0/+23 | |
2014-11-06 | add apt_pkg.sha512sum() | Michael Vogt | 1 | -2/+48 | |
2014-10-14 | python/tarfile.cc: use long long in Process() for APT >= 4.14 | Michael Vogt | 1 | -1/+10 | |
The pkgDirStream::Process() signature has changed in apt and is using a long long now for Size and Pos. | |||||
2014-09-30 | Embed changelog entry date and time instead of build date and time | Julian Andres Klode | 1 | -2/+7 | |
This makes reproducible builds possible. For non-package builds, simply use the start of the Unix time. Also make sure that all time values are in the UTC timezone. Closes: #762674 | |||||
2014-09-03 | fix tests | Michael Vogt | 1 | -1/+1 | |
2014-09-02 | python/tag.cc: ensure that the final \n is there when duplicating section data | Michael Vogt | 1 | -4/+7 | |
2014-06-10 | libapt uses pkgSourceRecords::Step() too | Michael Vogt | 1 | -2/+2 | |
2014-06-10 | add apt_pkg.SourceRecords.step() to all steping through all SrcRecords | Michael Vogt | 1 | -0/+24 | |
2014-06-10 | Revert "Merge remote-tracking branch 'mvo/feature/srcrec-enum' into debian/sid" | Michael Vogt | 2 | -26/+1 | |
This reverts commit 1b6b123a052ca2d53e90b62da09ce300d701265a, reversing changes made to 9de6a183f09f0d0adbcc5817872c5a0024f5ef47. | |||||
2014-06-10 | Merge remote-tracking branch 'mvo/feature/srcrec-enum' into debian/sid | Michael Vogt | 2 | -1/+26 | |
Conflicts: debian/control | |||||
2014-06-09 | rename apt_pkg.SourceRecords.next() to apt_pkg.SourceRecords.step() to avoid ↵ | Michael Vogt | 1 | -5/+5 | |
confusion with python iterators | |||||
2014-06-09 | Add apt_pkg.SourceRecords.next() to step through all SrcRecords | Michael Vogt | 1 | -0/+24 | |
2014-04-25 | Add support for build profiles | Johannes Schauer | 1 | -5/+6 | |
Closes: 744243 | |||||
2014-03-22 | python/tag.cc: Ignore missing 'encoding' attribute in file objects | Julian Andres Klode | 1 | -0/+2 | |
In case the encoding attribute does not exist, Python sets an exception. We must thus clear the exception, otherwise it might be raised at some later point in the code. | |||||
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. | |||||
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. | |||||
2014-01-27 | python/generic.h: Fix MkPyNumber to work if char is unsigned. | Julian Andres Klode | 1 | -1/+1 | |
We currently consider two cases "unsigned char" and "char". This works as long as "char" is signed, but this is not guaranteed. Change "char" to "signed char" instead. | |||||
2014-01-14 | python/pkgmanager.cc: Do not create temporary CppPyRef | Julian Andres Klode | 1 | -1/+1 | |
Instead of creating a CppPyRef with the only purpose of destroying it, just decrement the reference count. Reported-by: cppcheck | |||||
2014-01-06 | Unify list of comparison type values everywhere | Julian Andres Klode | 1 | -1/+2 | |
They are now ordered and include the != and < operators in all cases. | |||||
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-10-23 | python/policy.cc: (scan-build): Fix a dead assignment | Julian Andres Klode | 1 | -2/+2 | |
We need to use else if, otherwise the first cases are not handled at all. | |||||
2013-10-23 | python/apt_instmodule.cc: Make RETURN(x) be return on Python 2 | Julian Andres Klode | 1 | -1/+1 | |
This fixes a small compiler notice. | |||||
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-23 | python/cache.cc: Remove a check for an unsigned long value < 0 | Julian Andres Klode | 1 | -1/+1 | |
This is impossible. | |||||
2013-10-23 | python/depcache.cc: Add more error handling to PkgDepCacheCommit | Julian Andres Klode | 1 | -1/+1 | |
It returned false, but should have returned NULL after handling errors. | |||||
2013-10-23 | python/{depcache.cc,string.cc}: Ignore deprecation warnings for some calls | Julian Andres Klode | 3 | -0/+9 | |
Those functions are deprecated in APT, but we still need to provide them for backwards compatibility. | |||||
2013-10-23 | python/*.cc: Get rid of the easy-to-replace deprecated APT functions | Julian Andres Klode | 3 | -5/+7 | |
We cannot get rid of the InstallProtect and StrToTime calls for backwards compatibility, but let's drop the others. | |||||
2013-10-21 | python/cache.cc: Set NoDelete=true when creating Policy, fixes segfault in ↵ | Julian Andres Klode | 1 | -2/+6 | |
destructor | |||||
2013-10-15 | python/apt_pkgmodule.cc: Document second parameter of parse_{,src_}depends | Julian Andres Klode | 1 | -4/+8 | |
The functions apt_pkg.parse_depends and apt_pkg.parse_src_depends take a second positional argument telling it whether to strip multi-arch strings or not. | |||||
2013-10-14 | python/indexrecords.cc: IndexRecords.load() needs to accept bytes as well | Julian Andres Klode | 1 | -2/+2 | |
2013-10-08 | python/generic.cc: Move PyApt_Filename::init here | Julian Andres Klode | 2 | -21/+24 | |
2013-10-08 | python/apt_pkgmodule.cc: Fix documentation of version_compare (Closes: #680891) | Julian Andres Klode | 1 | -2/+3 | |
This was supposed to be fixed some time ago in mvo's bzr branch but it seems that it did not survive the git migration. | |||||
2013-10-08 | apt_pkg: Support paths supplied as bytes objects (See: #680971) | Julian Andres Klode | 9 | -26/+31 | |
We should be done now. DO NOT MERGE | |||||
2013-10-08 | PyApt_Filename: Add return value to assignment operator | Julian Andres Klode | 1 | -2/+2 | |
2013-10-08 | apt_inst: Support paths supplied as bytes objects (Closes: #680971) | Julian Andres Klode | 2 | -30/+33 | |
2013-10-08 | python/generic.h: Introduce a PyApt_Filename class | Julian Andres Klode | 1 | -0/+60 | |
On Python 3, we need to encode filenames. We could use PyUnicode_FSConverter but this introduces unneeded complexity in all callees, and is only available in Python 3.1 anyway. | |||||
2013-09-11 | Completely remove deprecated stuff | Julian Andres Klode | 1 | -2/+0 | |
2013-09-11 | Remove old API compatibility C++ support code | Julian Andres Klode | 17 | -945/+0 | |
2013-08-26 | python/arfile.cc: Fixup the formatting | Julian Andres Klode | 1 | -16/+15 | |
2013-08-05 | coverity fixes | Michael Vogt | 4 | -4/+4 | |
2012-10-23 | build fixes for python3.3 | Michael Vogt | 1 | -0/+4 | |
2012-10-15 | merge from the debian-sid branch | Michael Vogt | 4 | -11/+25 | |
2012-10-15 | * python/tag.cc: | Michael Vogt | 1 | -2/+2 | |
- make TagSecString_FromStringAndSize, TagSecString_FromString static, thanks to jcristau | |||||
2012-10-10 | python/progress.cc: check result of Py_BuildValue() too | Michael Vogt | 1 | -0/+2 | |
2012-10-02 | merge patch from Barry to fix #1030278 | Michael Vogt | 1 | -8/+20 | |
2012-10-01 | python/cache.cc: PkgCacheGetIsMultiArch(): Return calculated | James Hunt | 1 | -1/+1 | |
value rather than a random one. |