summaryrefslogtreecommitdiff
path: root/apt-pkg/deb/deblistparser.cc
Commit message (Collapse)AuthorAgeFilesLines
* * apt-pkg/deb/deblistparser.cc:Julian Andres Klode2012-03-051-1/+1
| | | - Set the Essential flag on APT instead of only Important
* Allow the FileFd to use an external Compressor to uncompress a given fileDavid Kalnischkies2011-12-131-0/+1
| | | | | | | | | | | internally so that it is exported and can be used like a "normal" uncompressed file with FileFd This allows us to hide th zlib usage in the implementation and use gzip instead if we don't have zlib builtin (the same for other compressors). The code includes quiet a few FIXME's so while all tests are working it shouldn't be used just yet outside of libapt as it might break.
* * apt-pkg/deb/deblistparser.cc:David Kalnischkies2011-11-031-0/+3
| | | - M-A: foreign packages provide for other archs, too
* merge with my debian-sid branchDavid Kalnischkies2011-10-301-13/+8
|\
| * convert a few for-loop char finds to proper strchr and memchrDavid Kalnischkies2011-09-211-13/+8
| |
* | * apt-pkg/pkgcachegen.cc:David Kalnischkies2011-10-111-4/+1
| | | | | | - refactor MergeList by creating -Group, -Package and -Version specialist
* | merge with current debian apt/experimentalDavid Kalnischkies2011-10-051-12/+20
|\ \
| * \ * apt-pkg/contrib/configuration.cc:Michael Vogt2011-10-051-12/+20
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - fix double delete (LP: #848907) - ignore only the invalid regexp instead of all options * apt-pkg/acquire-item.h, apt-pkg/deb/debmetaindex.cc: - fix fetching language information by adding OptionalSubIndexTarget * methods/https.cc: - cleanup broken downloads properly * ftparchive/cachedb.cc: - fix buffersize in bytes2hex * apt-pkg/deb/deblistparser.cc: - fix crash when the dynamic mmap needs to be grown in LoadReleaseInfo (LP: #854090)
| | * | merged fix from donkultMichael Vogt2011-09-261-12/+20
| | | |
* | | | use forward declaration in headers if possible instead of includesDavid Kalnischkies2011-09-191-0/+1
| | | |
* | | | do not pollute namespace in the headers with using (Closes: #500198)David Kalnischkies2011-09-191-0/+2
|/ / /
* | | merge with debian/experimentalDavid Kalnischkies2011-09-131-9/+26
|\ \ \
| * \ \ merged from the debian-sid branchMichael Vogt2011-08-151-1/+1
| |\ \ \ | | |/ / | |/| / | | |/
| | * cppcheck complains about some possible speed improvements which could beDavid Kalnischkies2011-08-111-1/+1
| | | | | | | | | | | | | | | | | | done on the mirco-optimazation level, so lets fix them: (performance) Possible inefficient checking for emptiness. (performance) Prefer prefix ++/-- operators for non-primitive types.
| * | 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-281-3/+6
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
| | * * 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
* | | reorder includes: add <config.h> if needed and include it at firstDavid Kalnischkies2011-09-131-0/+2
|/ /
* | merge lp:~mvo/apt/abi-breakMichael Vogt2011-06-291-8/+3
|\ \ | |/ |/|
| * * apt-pkg/pkgcache.h:David Kalnischkies2011-05-171-8/+3
| | | | | | | | - clean up mess with the "all" handling in MultiArch to fix LP: #733741 cleanly for everyone now
* | merged from lp:~mvo/apt/mvoMichael Vogt2011-06-281-1/+1
|\ \ | |/ |/|
| * * apt-pkg/deb/deblistparser.cc:Michael Vogt2011-06-091-1/+1
| | | | | | | | - include all known languages when building the apt cache (LP: #794907)
* | rename I to J to avoid redefining a variable (clang warning)David Kalnischkies2011-05-171-5/+5
|/
* * apt-pkg/deb/deblistparser.cc:Julian Andres Klode2011-04-141-1/+1
| | | - Handle no space before "[" in build-dependencies (LP: #72344)
* * apt-pkg/deb/deblistparser.cc:David Kalnischkies2011-03-281-12/+13
| | | - create foo:any provides for all architectures for an allowed package
* * apt-pkg/cacheiterator.h:David Kalnischkies2011-03-251-3/+11
| | | | | | - return "all" instead of native architecture without breaking the abi (too much) by extending enum instead of using bitflags (LP: #733741) With the next abi break that enum should be a char bitflag instead
* Remove the "pseudopackage" handling of Architecture: all packages forDavid Kalnischkies2011-03-081-55/+29
| | | | | | | | | Multi-Arch; instead, Arch: all packages only satisfy dependencies for the native arch, except where the Arch: all package is declared Multi-Arch: foreign. (Closes: #613584) This has the sideeffect that arch:all packages internally show up as coming from the native arch - so packages with the architecture "all" doesn't exist any longer in the pkgcache
* - try downloading clearsigned InRelease before trying Release.gpgDavid Kalnischkies2011-01-201-35/+79
| | | | * apt-pkg/deb/deblistparser.cc: - rewrite LoadReleaseInfo to cope with clearsigned Releasefiles
* * apt-pkg/deb/deblistparser.cc:Sebastian Andrzej Siewior2010-10-071-0/+1
| | | | | - support ArmHardFloat port in CompleteArch, thanks to Sebastian Andrzej Siewior for the patch!
* * apt-pkg/policy.cc:David Kalnischkies2010-09-141-0/+6
| | | | | | - support 100-pinning in Release file with ButAutomaticUpgrades as requested by the backports crew (Closes: #596097) * apt-pkg/deb/deblistparser.cc: - overrule NotAutomatic in case of ButAutomaticUpgrades
* * apt-pkg/deb/debmetaindex.cc:David Kalnischkies2010-07-111-1/+1
| | | - do not query each architecture for flat file archives
* use references instead of copies in the Cache generation methodsDavid Kalnischkies2010-07-081-8/+8
|
* merge with debian-experimental-maDavid Kalnischkies2010-07-051-1/+22
|\
| * deblistparser: Special-case *-armel, lpia and powerpcspe architectures.Julian Andres Klode2010-06-271-0/+6
| |
| * apt-pkg/deb/deblistparser.cc: Fix bug in architecture wildcard support.Julian Andres Klode2010-06-261-3/+10
| | | | | | | | | | | | Previously, linux-any was always matched, because the code simply appended linux- to the APT::Architecture value. Now, it does this only if the APT::Architecture value does not contain "-".
| * * apt-pkg/deb/deblistparser.cc:Julian Andres Klode2010-06-261-1/+9
| | | | | | - Handle architecture wildcards (Closes: #547724).
* | clean deblistparser a bit by get the Architectures at one placeDavid Kalnischkies2010-07-041-13/+10
|/ | | | instead of distributed in a few methods
* * apt-pkg/pkgcache.h:David Kalnischkies2010-06-031-3/+2
| | | | | - switch {,Install-}Size to unsigned long long * apt-pkg/depcache.cc: - deal with long long, not with int to remove 2GB Limit (LP: #250909)
* convert some tabs to spaces to respect the style guideDavid Kalnischkies2010-03-301-19/+20
|
* Add with pkgCacheGen::Essential a way to control which packages get theDavid Kalnischkies2010-03-211-3/+13
| | | | | | | | | | | | essential flag: * native is the default and will only mark packages of the main arch * all will mark all packages which have these flag in Packages * none will obviously do the opposite * installed will only mark packages which are installed as essential, so it will behave in the same way as dpkg does it. It is mostly needed sometimes for debugging but some users with special needs might like to switch the mode as well under the expense to be on their own…
* generate "negative" dependencies against all architectures of a packageDavid Kalnischkies2010-03-181-3/+16
| | | | | Negative means here Conflicts, Replaces and Breaks - this adds again a whole lot of dependencies.
* Pseudo() doesn't work in the Cache generation step as the check if onlyDavid Kalnischkies2010-02-141-1/+2
| | | | | one package is in the group will generate false positives - as the others will (maybe) added a little time later in the process.
* [BREAK] merge MultiArch-ABI. We don't support MultiArch,David Kalnischkies2010-02-131-43/+149
|\ | | | | | | | | | | | | | | | | but we support the usage of the new ABI so libapt users can start to prepare for MultiArch (Closes: #536029) MultiArch isn't ready for Primetime usage for now, but the branch has managed to be a NOP if used in SingleArch-mode so we can start to promote the use of the new MultiArchable API-extensions.
| * In SingleArch environments we don't need the arch "all" pseudo packageDavid Kalnischkies2010-02-121-1/+1
| | | | | | | | | | for handling arch:all packages, so we create only one package and stop calling it a pseudo package.
| * Add yet another pseudo package which isn't as pseudo as the others:David Kalnischkies2010-02-121-2/+20
| | | | | | | | | | | | | | | | | | | | Arch all packages are now represented by arch depending packages which all depend on a package with the same name and the special arch "all". This packages has NO dependencies, but beside this the same information. It is the only package which has a size, the arch depending ones all have a zero size. While the arch depending pseudo packages are used for dependency resolution the arch "all" package is used for downloading and ordering of the package.
| * Add Multi-Arch: allowed support by creating an implicit provide ofDavid Kalnischkies2010-02-111-0/+6
| | | | | | | | | | name:any for such packages, so dependencies in this style can be easily resolved.
| * Foreign Versions add an implicit Provides to the other packages in the groupDavid Kalnischkies2010-02-101-19/+36
| |
| * Drop the Arch information from the Version structure as we can getDavid Kalnischkies2010-02-071-3/+7
| | | | | | | | the information from the parent package now