summaryrefslogtreecommitdiff
path: root/apt-pkg
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | merged from lp:~mvo/apt/mvoMichael Vogt2011-08-151-1/+3
| |\ \ \ \ \ | | | |_|_|/ | | |/| | |
| | * | | | * apt-pkg/acquire.cc:Michael Vogt2011-08-091-1/+3
| | | | | | | | | | | | | | | | | | - fix potential divide-by-zero
| | * | | | merged from the debian-experimental2 branchMichael Vogt2011-08-0970-1161/+3352
| | |\ \ \ \
| * | \ \ \ \ merged from the debian-sid branchMichael Vogt2011-08-1532-236/+236
| |\ \ \ \ \ \ | | |_|/ / / / | |/| | / / / | | | |/ / / | | |/| | |
| | * | | | merged fixes from lp:~mvo/apt/mvoMichael Vogt2011-08-152-1/+2
| | |\| | |
| | | * | | fix crash when P.Arch() was used but the cache got remappedMichael Vogt2011-08-081-1/+1
| | | |\ \ \
| | | * | | | apt-pkg/acquire-item.cc: add more debug outputMichael Vogt2011-08-081-0/+1
| | | | | | |
| | | * | | | apt-pkg/pkgcachegen.cc: fix incorrect test for modification timeMichael Vogt2011-08-081-1/+1
| | | | | | |
| | * | | | | rename the parameter name of MarkDelete from Purge to MarkPurge toDavid Kalnischkies2011-08-111-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fix a cosmetic warning from cppcheck: [apt-pkg/depcache.h:462] -> [apt-pkg/depcache.h:122]: (style) Variable 'Purge' hides enumerator with same name
| | * | | | | fix a few more cppcheck performance and scope warningsDavid Kalnischkies2011-08-114-16/+16
| | | | | | |
| | * | | | | cppcheck complains about some possible speed improvements which could beDavid Kalnischkies2011-08-1127-206/+206
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | done on the mirco-optimazation level, so lets fix them: (performance) Possible inefficient checking for emptiness. (performance) Prefer prefix ++/-- operators for non-primitive types.
| | * | | | | fix some cppcheck: (warning) Member variable is not initialized in the ↵David Kalnischkies2011-08-113-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | constructor.
| | * | | | | cppcheck is right that the check for preventing null deference of QueryDavid Kalnischkies2011-08-111-6/+2
| | | |/ / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | is redundant in Redirect() as we can't reach the code with null anyway [apt-pkg/acquire-method.cc:433]: (error) Possible null pointer dereference: Queue - otherwise it is redundant to check if Queue is null at line 425
| | * | | | * test/integration/test-hashsum-verification:Michael Vogt2011-08-051-2/+3
| | |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - add regression test for hashsum verification * apt-pkg/acquire-item.cc: - if no Release.gpg file is found, still load the hashes for verification (closes: #636314) and add test
| | | * | | * apt-pkg/acquire-item.cc:Michael Vogt2011-08-051-2/+3
| | |/ / / | | | | | | | | | | | | | | | - if no Release.gpg file is found, still load the hashes for verification (closes: #636314) and add test
| * | | | apt-pkg/acquire-item.cc: always init VerifyMichael Vogt2011-08-051-0/+4
| | | | |
| * | | | * apt-pkg/acquire-item.{cc,h}:Michael Vogt2011-08-052-0/+14
| | | | | | | | | | | | | | | | | | | | - do not check for a "Package" tag in optional index targets like the translations index
| * | | | apt-pkg/pkgcachegen.cc: fix compiler errorMichael Vogt2011-08-051-1/+1
| | | | |
| * | | | fix crash when P.Arch() was used but the cache got remappedMichael Vogt2011-08-011-1/+3
| |\| | |
| | * | | apt-pkg/pkgcachegen.cc: copy Arch to avoid segfault on cache remapMichael Vogt2011-08-011-1/+3
| | | | |
| | * | | merged from debian-sidMichael Vogt2011-07-2910-54/+120
| | |\ \ \
| * | | | | apt-pkg/sourcelist.cc: GetListOfFilesInDir() fails if the dir does not ↵Michael Vogt2011-08-011-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | exists, so test before using that
| * | | | | apt-pkg/contrib/sha2_internal.h: remove extern "C" to avoid symbol clash ↵Michael Vogt2011-07-291-9/+0
| | | | | | | | | | | | | | | | | | | | | | | | with libssl
| * | | | | apt-pkg/contrib/sha256.h: use #warning to warn about deprecated headerMichael Vogt2011-07-291-1/+1
| | | | | |
| * | | | | merge from lp:~mvo/apt/mvoMichael Vogt2011-07-292-2/+5
| |\| | | |
| | * | | | * apt-pkg/pkgcachegen.{cc,h}:Michael Vogt2011-07-292-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - use ref-to-ptr semantic in NewDepends() to ensure that the libapt does not segfault if the cache is remapped in between (LP: #812862)
| * | | | | * apt-pkg/makefile:Michael Vogt2011-07-291-1/+1
| | | | | | | | | | | | | | | | | | - install sha256.h compat header
| * | | | | merged from lp:~mvo/apt/mvoMichael Vogt2011-07-285-4/+47
| |\| | | |
| | * | | | * apt-pkg/contrib/fileutl.{cc,h}:Michael Vogt2011-07-285-4/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - add GetModificationTime() helper * apt-pkg/pkgcachegen.cc: - regenerate the cache if the sources.list changes to ensure that changes in the ordering there will be honored by apt * apt-pkg/sourcelist.{cc,h}: - add pkgSourceList::GetLastModifiedTime() helper
| * | | | | [ABI break] merge patch from Jonathan Thomas to speed up theMichael Vogt2011-07-282-3/+11
| | | | | | | | | | | | | | | | | | | | | | | | depcache by caching the install-recommends and install-suggests values
| * | | | | [ABI break] merged patch from Jonathan Thomas to have a newMichael Vogt2011-07-283-1/+16
| | | | | | | | | | | | | | | | | | | | | | | | RecordField() function in the pkgRecorder parser. Many thanks Thomas
| * | | | | * [ABI break] apt-pkg/acquire-item.{cc,h}:Michael Vogt2011-07-282-15/+20
| | | | | | | | | | | | | | | | | | - cleanup around OptionalIndexTarget and SubIndexTarget
| * | | | | * apt-pkg/cdrom.{cc,h}:Michael Vogt2011-07-282-14/+4
| | | | | | | | | | | | | | | | | | - cleanup old ABI break avoidance hacks
| * | | | | merged from debian-aptMichael Vogt2011-07-281-5/+19
| |\ \ \ \ \ | | | |/ / / | | |/| | |
| | * | | | merged from lp:~donkult/apt/sidMichael Vogt2011-07-281-5/+19
| | |\ \ \ \
| | | * | | | * apt-pkg/deb/deblistparser.cc:David Kalnischkies2011-07-271-1/+5
| | |/ / / / | | | | | | | | | | | | - do not assume that the last char on a line is a \n (Closes: #633350)
| * | | | | * merged latest fixes from debian-sidMichael Vogt2011-07-2810-12/+97
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * apt-pkg/contrib/sha1.cc: - fix illegally casts of on-stack buffer to a type requiring more alignment than it has resulting in segfaults on sparc (Closes: #634696) * apt-pkg/contrib/cdromutl.cc: - fix escape problem when looking for the mounted devices * apt-pkg/contrib/strutl.{h,cc}, test/libapt/strutil_test.cc: - add new DeEscapeString() similar to DeQuoteString but unescape character escapes like \0XX and \xXX (plus added test) * refresh po/* * cmdline/apt-get.cc: - fix missing download progress in apt-get download - do not require unused partial dirs in 'source' (Closes: #633510) - buildconflicts effect all architectures - implement MultiarchCross for build-dep and source (Closes: #632221) * cmdline/apt-key: - use a tmpfile instead of /etc/apt/secring.gpg (Closes: #632596) * debian/apt.postinst: - remove /etc/apt/secring.gpg if it is an empty file * doc/apt-cache.8.xml: - apply madison typofix from John Feuerstein, thanks! (Closes: #633455) * apt-pkg/policy.cc: - emit an error on unknown APT::Default-Release value (Closes: #407511) * apt-pkg/aptconfiguration.cc: - ensure that native architecture is if not specified otherwise the first architecture in the Architectures vector * apt-pkg/deb/deblistparser.cc: - Strip only :any and :native if MultiArch should be stripped as it is save to ignore them in non-MultiArch contexts but if the dependency is a specific architecture (and not the native) do not strip
| | * | | | merged from lp:~mvo/apt/mvoMichael Vogt2011-07-263-1/+68
| | |\| | |
| | | * | | fix typos in changelog, make DeEscapeString const, improve descriptionMichael Vogt2011-07-262-4/+4
| | | | | |
| | | * | | add another escape test case, fixup octal one (its \0XX instead of \0XXX)Michael Vogt2011-07-262-6/+5
| | | | | |
| | | * | | apt-pkg/contrib/strutl.cc: kill unneeded debug outputMichael Vogt2011-07-261-1/+0
| | | | | |
| | | * | | * apt-pkg/contrib/strutl.{h,cc}, test/libapt/strutil_test.cc:Michael Vogt2011-07-263-6/+69
| | | | | | | | | | | | | | | | | | | | | | | | - add new DeEscapeString() similar to DeQuoteQuotedWord but unescape charackter escapes like \0XXX and \xXX (plus add test)
| | | * | | * apt-pkg/contrib/cdromutl.cc:Michael Vogt2011-07-251-1/+7
| | | | | | | | | | | | | | | | | | - fix escape problem when looking for the mounted devices
| | * | | | * apt-pkg/contrib/sha1.cc:David Miller2011-07-261-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - fix illegally casts of on-stack buffer to a type requiring more alignment than it has resulting in segfaults on sparc (Closes: #634696) The problem is how sha1.cc codes the SHA1 transform, it illegally casts the on-stack workspace buffer to a type requiring more alignment than 'workspace' is actually declared to have. This only shows up recently because gcc-4.6 now does a really aggressive optimization where it gets rid of the workspace buffer entirely and just accesses 'buffer' directly, and assumes it has the necessary alignment for 32-bit loads (which it doesn't).
| | * | | | * apt-pkg/deb/deblistparser.cc:David Kalnischkies2011-07-251-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Strip only :any and :native if MultiArch should be stripped as it is save to ignore them in non-MultiArch contexts but if the dependency is a specific architecture (and not the native) do not strip
| | * | | | * apt-pkg/aptconfiguration.cc:David Kalnischkies2011-07-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | - ensure that native architecture is if not specified otherwise the first architecture in the Architectures vector
| | * | | | * apt-pkg/policy.cc:David Kalnischkies2011-07-161-2/+16
| | | | | | | | | | | | | | | | | | - emit an error on unknown APT::Default-Release value (Closes: #407511)
| | * | | | do not require unused partial dirs in 'source' (Closes: #633510)David Kalnischkies2011-07-161-0/+2
| | | | | |
| | * | | | apt-pkg/contrib/configuration.cc: revert Configuration::Set() ABI breakMichael Vogt2011-07-152-2/+2
| | | | | |
| * | | | | * apt-pkg/pkgcache.cc:Julian Andres Klode2011-07-201-0/+3
| | | | | | | | | | | | | | | | | | - Check that cache is at least CacheFileSize bytes large (LP: #16467)