summaryrefslogtreecommitdiff
path: root/apt-pkg
AgeCommit message (Collapse)Author
2012-05-22* apt-pkg/contrib/fileutl.cc:David Kalnischkies
- dup() given compressed fd in OpenDescriptor if AutoClose is disabled as otherwise gzclose() and co will close it
2012-05-21* apt-pkg/contrib/mmap.cc:David Kalnischkies
- have a dummy SyncToFd around in case of ReadOnly access to a compressed file as we otherwise on Close() do not delete[] the char buffer but munmap() it… (Closes: #673815)
2012-05-20* apt-pkg/aptconfiguration.cc:David Kalnischkies
- longcode Translation files are saved with encoded underscore, so make sure to pick these files up as well for Acquire::Languages
2012-05-19* apt-pkg/packagemanager.cc:David Kalnischkies
- do not run into loop on new-pre-depends-breaks (Closes: #673536)
2012-05-16* cmdline/apt-get.cc:David Kalnischkies
- use the host architecture, not the build architecture for matching of [architecture restrictions] in Build-Depends (Closes: #672927) *
2012-05-16* apt-pkg/contrib/fileutl.cc:David Kalnischkies
- ensure that we close compressed fds, wait for forks and such even if the FileFd itself is set to not autoclose the given Fd
2012-05-15* apt-pkg/algorithms.cc:Marius Vollmer
- fix memory leak of Flags in pkgSimulate by a proper destructor
2012-05-14* apt-pkg/acquire*.cc:Raphael Geissert
- handle redirections in the worker with the right method instead of in the method the redirection occured in (Closes: #668111) * methods/http.cc: - forbid redirects to change protocol
2012-05-14* apt-pkg/acquire-methods.cc:David Kalnischkies
- factor out into private Dequeue() to fix access to deleted pointer
2012-05-12* apt-pkg/pkgcachegen.cc:David Kalnischkies
- make IsDuplicatedDescription static so that it is really private as we don't need a symbol for it as it is not in a header
2012-05-10* apt-pkg/algorithms.cc:David Kalnischkies
- factor out of ListUpdate a AcquireUpdate to be able to provide your own pkgAcquire fetcher to the wrapper
2012-05-10ensure that d is set before accessing itDavid Kalnischkies
2012-05-10fix calling style of FileFd (no functional change)David Kalnischkies
2012-05-10ensure that in error conditions the Fail flag is setDavid Kalnischkies
2012-05-10collect zombie (de)compressor processes on reopenDavid Kalnischkies
2012-05-09ensure that we do init d only once and especially not with its ownDavid Kalnischkies
content as this causes some "interesting" hickups resulting in segfaults as it seems (Closes: #554387, #670979)
2012-05-09* apt-pkg/aptconfiguration.cc:David Kalnischkies
- use NULL instead of "" for no (un)compress parameters
2012-05-09* apt-pkg/contrib/fileutl.cc:David Kalnischkies
- check that the fd which are closed are valid
2012-05-07* apt-pkg/acquire-worker.cc:YOSHINO Yoshihito
- revert the use of FileFd::Write in OutFdReady as we don't want error reports about EAGAIN here as we retry later. Thanks to YOSHINO Yoshihito for the report. (Closes: #671721)
2012-05-05ensure that apti18n.h is included last as advertised (Closes: #671623)David Kalnischkies
2012-05-05check if we work on a valid description in IsDuplicateDescription asDavid Kalnischkies
we end up working on dangling pointers otherwise which segfaults on s390x and ppc64 (Closes: #669427)
2012-05-02* apt-pkg/deb/deblistparser.cc:David Kalnischkies
- check length and containing chars for a given description md5sum
2012-05-02* apt-pkg/pkgcachegen.cc:David Kalnischkies
- check if NewDescription allocation has failed and error out accordingly
2012-04-23provider is only a possible solution if the provides has the rightDavid Kalnischkies
version (or none as we have no versioned provides in debian) and not if the version of the provider matches
2012-04-23/dev/null is a special absolute path as it has no subdirectoriesDavid Kalnischkies
2012-04-23normalize a bit by replacing // and /./ with / in FindFileDavid Kalnischkies
2012-04-23* edsp/edspsystem.cc:David Kalnischkies
- check with RealFileExists for scenario file as otherwise a directory like one provided with RootDir triggers the usage of EDSP
2012-04-23* apt-pkg/depcache.cc:David Kalnischkies
- clearly separate 'positive' and 'negative' dependencies and their upgrade-resolution tries in MarkInstall and especially don't treat Conflicts differently compared to Breaks here
2012-04-22* apt-pkg/cdrom.cc:David Kalnischkies
- use Dump() to generate the configuration output
2012-04-22* apt-pkg/acquire-worker.cc:David Kalnischkies
- use Dump() to generate the configuration message for sending
2012-04-22* apt-pkg/contrib/configuration.cc:David Kalnischkies
- add a more versatile Dump() method
2012-04-21* apt-pkg/contrib/strutl.cc:David Kalnischkies
- remove the message size limit from ioprintf and strprintf
2012-04-20merged from bzr+ssh://bazaar.launchpad.net/~donkult/apt/sid/Michael Vogt
2012-04-20fix a bug uncovered by the previous commit which checks if a CompressorDavid Kalnischkies
preference given by the Order setting is really available before adding it as possible CompressionType.
2012-04-20merged from lp:~donkult/apt/sidMichael Vogt
2012-04-20* apt-pkg/cacheset.cc:David Kalnischkies
- actually return to the fallback modifier if we have detected we should for packagenames which look like modifiers (Closes: #669591)
2012-04-20* apt-pkg/contrib/sha2_internal.cc:David Kalnischkies
- do not use the input data directly but memcpy it instead as it could be unaligned as in the http-transport which causes a sigbus error on sparc (Closes: #669061)
2012-04-20* apt-pkg/aptconfiguration.cc:David Kalnischkies
- if the compressor is not installed, but we link against it's library accept it as a CompressionType (Closes: #669328)
2012-04-20merge from the lp:~mvo/apt/mvo branchMichael Vogt
2012-04-20cherry pick r1975 from lp:~ubuntu-core-dev/apt/ubuntuMichael Vogt
2012-04-19* apt-pkg/packagemanager.cc:Malcolm Scott
- iterate over all pre-depends or-group member instead of looping endlessly over the first member in SmartUnpack (LP: #985852)
2012-04-19* apt-pkg/contrib/fileutl.cc:David Kalnischkies
- redirect stderr from compressors to /dev/null
2012-04-18* apt-pkg/deb/deblistparser.cc:David Kalnischkies
- only treat the native apt as essential by default
2012-04-17newer gcc versions seems to have no problem with that, but while workingDavid Kalnischkies
with g++-4.1 it complains about this so lets be extra clear
2012-04-16* apt-pkg/packagemanager.cc:David Kalnischkies
- init counter in SmartConfigure so that the loop-breaker isn't triggered at random… (Closes: #669060)
2012-04-12apt-pkg/packagemanager.cc: tweak MaxLoopCount to 500 and improve the error ↵Michael Vogt
message
2012-04-11merged from donkults experimental branchMichael Vogt
2012-04-11use a static FileFd::Write overload to reduce duplication of write()-retry codeDavid Kalnischkies
2012-04-11use xz-utils in the testcases instead of lzma and ensure that we reallyDavid Kalnischkies
ignore the presents (or absence) of lzma if we decided to use xz
2012-04-05 - add libbz2-dev as new build-dependencyDavid Kalnischkies
- remove the libz-dev alternative from zlib1g-dev build-dependency - do the same for bz2 builtin if available * apt-pkg/contrib/fileutl.cc: - use libz2 library for (de)compression instead of the bzip2 binary as the first is a dependency of dpkg and the later just priority:optional so we gain 'easier' access to bz2-compressed Translation files this way