summaryrefslogtreecommitdiff
path: root/apt-pkg
Commit message (Collapse)AuthorAgeFilesLines
* * aptconfiguration.cc:David Kalnischkies2010-02-152-7/+76
| | | | | | | | | | - include all existing Translation files in the Cache (Closes: 564137) Previously if APT was executed with a different LC_* all these invocations needed to rebuild the Cache as too many files were included or missing: Now the lists-directory is checked for Translation-files and all these included in getLanguages() regardless of the environment setting (after a "none" so APT will not use them for displaying information).
* Add support for the LANGUAGE environment variableDavid Kalnischkies2010-02-143-34/+61
|
* 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.
* * apt-pkg/deb/dpkgpm.cc:David Kalnischkies2010-02-131-1/+1
| | | | | - stdin redirected to /dev/null takes all CPU (Closes: #569488) Thanks to Aurelien Jarno for providing (again) a patch!
* [BREAK] merge MultiArch-ABI. We don't support MultiArch,David Kalnischkies2010-02-1328-770/+1455
|\ | | | | | | | | | | | | | | | | 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-123-4/+10
| | | | | | | | | | 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-1210-17/+124
| | | | | | | | | | | | | | | | | | | | 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.
| * Arch() on a MultiArch:all version should return "all" to be compatibleDavid Kalnischkies2010-02-111-1/+10
| | | | | | | | | | with previous usecases. You now need to requested with Arch(true) the return of the architecture this version (and pseudo package) was created for.
| * Add Multi-Arch: allowed support by creating an implicit provide ofDavid Kalnischkies2010-02-112-1/+10
| | | | | | | | | | 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-103-24/+42
| |
| * Create implicit dependencies needed for Multi-Arch handlingDavid Kalnischkies2010-02-101-7/+24
| |
| * Pre-MultiArch a package which depends on a package with architecture "all"David Kalnischkies2010-02-103-11/+110
| | | | | | | | | | | | | | | | | | | | can be sure that a package comeing in as a dependency of this package will be of the same architecture as itself (or all). We don't want to break this, so internal an arch all package is represented as many arch depending packages. The only problem we have now is that we only know that a arch all package is installed or not - we don't know for which architecture it was installed: So we will look at all these broken arch all pseudo packages and "remove" them.
| * Drop the Arch information from the Version structure as we can getDavid Kalnischkies2010-02-076-7/+12
| | | | | | | | the information from the parent package now
| * Split ListParser::NewDepends into two methods to use these new methodDavid Kalnischkies2009-12-276-40/+176
| | | | | | | | | | | | | | | | | | for creating the dependencies needed for our groups: For now for all groups only one package can be installed at the same time which conflicts with each other packages in the group. The exceptions are architecture all package. Also, the Multi-Arch field is now parsed, but not used for now.
| * merge Goswin Brederlow "support download of index files for different archs"David Kalnischkies2009-12-2318-214/+394
| | | | | | | | | | | | | | | | | | | | | | | | | | | | patch which includes the following big changes: - Declare the unused [vendor] field in sources.list as option field, e.g. deb [arch=amd64,i386 lang=en_GB have=fun] http://example.org - When fetching index files download them for all APT::Architectures (overrideable with the options field above) - Allow all architectures of APT::Architectures to be in the Cache - Add the architecture to status and progress informations - Add b= (Binary architecture) to policy This commit doesn't incude the "pin-hack" as the Group structure will take care of this (and does it already to some extend).
| * Implement the first step toward Multi-Arch by setting up a GroupDavid Kalnischkies2009-12-197-70/+267
| | | | | | | | | | | | | | | | | | | | | | | | infrastructor for packages. APT is now aware of the fact that a package A in architecture X can't satisfy a dependency on package A in architecture Y - to handle these packages are now identified by name and architecture, so different architectures of the same package are handled internally as completly different packages. This is great for pinning, dependency checking and in many other situations, but sometimes we need to know which archs are available for a given package: Here Groups come to our rescue!
| * mark the Error/Warning method as __coldDavid Kalnischkies2009-12-191-4/+5
| |
| * add optional gcc features as deprecated, unused and (un)likelyDavid Kalnischkies2009-12-191-0/+22
| |
| * Refactor the cache iterators by using a common base classDavid Kalnischkies2009-12-093-418/+320
| | | | | | | | | | This should not change the public interface, but it removes the friend connection between the iterators and pkgcache as it is unused.
* | merge with debian-sidDavid Kalnischkies2010-02-133-25/+34
|\ \
| * | merge r1966..1967 from lp:~donkult/apt/sidMichael Vogt2010-01-318-17/+11
| | |
| * | * cmdline/acqprogress.cc:Michael Vogt2010-01-312-23/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | - Set Mode to Medium so that the correct prefix is used. Thanks Stefan Haller for the patch! (Closes: #567304 LP: #275243) * ftparchive/writer.cc: - generate sha1 and sha256 checksums for dsc (Closes: #567343) * cmdline/apt-get.cc: - don't mark as manually if in download only (Closes: #468180)
| * | merge 1695..1701 from the lp:~mvo/apt/mvo branchMichael Vogt2010-01-272-4/+4
| | |
| * | * apt-pkg/contrib/fileutl.cc:Michael Vogt2010-01-238-30/+151
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Fix the newly introduced method GetListOfFilesInDir to not accept every file if no extension is enforced (= restore old behaviour). (Closes: #565213) * apt-pkg/policy.cc: - accept also partfiles with "pref" file extension as valid * apt-pkg/contrib/configuration.cc: - accept also partfiles with "conf" file extension as valid * doc/apt.conf.5.xml: - reorder description and split out syntax - add partfile name convention (Closes: #558348) * doc/apt_preferences.conf.5.xml: - describe partfile name convention also here * apt-pkg/deb/dpkgpm.cc: - don't segfault if term.log file can't be opened. Thanks Sam Brightman for the patch! (Closes: #475770) * doc/*: - replace the per language addendum with a global addendum - add a explanation why translations include (maybe) english parts to the new global addendum (Closes: #561636) * apt-pkg/contrib/strutl.cc: - fix malloc asseration fail with ja_JP.eucJP locale in apt-cache search. Thanks Kusanagi Kouichi! (Closes: #548884)
| * | * apt-pkg/contrib/cdromutl.cc:Michael Vogt2010-01-221-21/+30
| | | | | | | | | | | | - fix UnmountCdrom() fails, give it a bit more time and try the umount again
* | | fix progress reporting while reading extended_states fileDavid Kalnischkies2010-02-071-3/+3
| | |
* | | cleanup the error header a bit by moving the printf-macros outDavid Kalnischkies2010-01-302-23/+16
| | | | | | | | | | | | and remove the using std::string
* | | * apt-pkg/contrib/macros.h:David Kalnischkies2010-01-309-18/+13
| | | | | | | | | | | | | | | - move the header system.h with a new name to the public domain, to be able to use it in other headers (Closes: #567662)
* | | mark the Error methods as __coldDavid Kalnischkies2010-01-221-4/+6
| | |
* | | add a few gcc helpers, including [un]likely() and __deprecatedDavid Kalnischkies2010-01-221-0/+22
| | |
* | | * apt-pkg/contrib/strutl.cc:David Kalnischkies2010-01-201-16/+33
| | | | | | | | | | | | | | | - fix malloc asseration fail with ja_JP.eucJP locale in apt-cache search. Thanks Kusanagi Kouichi! (Closes: #548884)
* | | * apt-pkg/deb/dpkgpm.cc:David Kalnischkies2010-01-191-3/+4
| | | | | | | | | | | | | | | - don't segfault if term.log file can't be opened. Thanks Sam Brightman for the patch! (Closes: #475770)
* | | Fix the newly introduced method GetListOfFilesInDir to not accept everyDavid Kalnischkies2010-01-164-7/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | file if no extension is enforced (= restore old behaviour). (Closes: #565213) This commit includes also: * apt-pkg/policy.cc: - accept also partfiles with "pref" file extension as valid * apt-pkg/contrib/configuration.cc: - accept also partfiles with "conf" file extension as valid * doc/apt.conf.5.xml: - reorder description and split out syntax - add partfile name convention (Closes: #558348) * doc/apt_preferences.conf.5.xml: - describe partfile name convention also here And a lovely test application of course.
* | | merge with lp:~mvo/apt/debian-sid to get 0.7.25.1 and my changes backDavid Kalnischkies2010-01-135-43/+123
|\| |
| * | * apt-pkg/deb/debindexfile.cc, apt-pkg/pkgcachegen.cc:Michael Vogt2010-01-092-9/+86
| | | | | | | | | | | | | | | - add debug option Debug::pkgCacheGen - merge fix for apt-get source pkg=version regression (closes: #561971)
| * | fix merge errorMichael Vogt2010-01-081-0/+2
| | |
| * | * French manpage translation updateMichael Vogt2010-01-088-131/+111
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * spot & fix various typos in all manpages * German manpage translation update * cmdline/apt-cache.cc: - remove translatable marker from the "%4i %s\n" string * buildlib/po4a_manpage.mak: - instruct debiandoc to build files with utf-8 encoding * buildlib/tools.m4: - fix some warning from the buildtools * apt-pkg/acquire-item.cc: - add configuration PDiffs::Limit-options to not download too many or too big patches (Closes: #554349) * debian/control: - let all packages depend on ${misc:Depends} * share/*-archive.gpg: - remove the horrible outdated files. We already depend on the keyring so we don't need to ship our own version * cmdline/apt-key: - errors out if wget is not installed (Closes: #545754) - add --keyring option as we have now possibly many * methods/gpgv.cc: - pass all keyrings (TrustedParts) to gpgv instead of using only one trusted.gpg keyring (Closes: #304846) * methods/https.cc: - finally merge the rest of the patchset from Arnaud Ebalard with the CRL and Issuers options, thanks! (Closes: #485963)
* | | Add a GetListOfFilesInDir() helper method which replaces the oldDavid Kalnischkies2010-01-035-113/+56
| | | | | | | | | | | | code copies used to load the various parts-files
* | | fix another mistake spotted by lintian:David Kalnischkies2010-01-021-2/+2
| | | | | | | | | | | | I: apt: spelling-error-in-binary ./usr/lib/libapt-pkg-libc6.9-6.so.4.8.0 Alot A lot
* | | Fix the following gcc-4.5 buildfailure in pkgcache.cc by following the ↵David Kalnischkies2010-01-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | suggestion: pkgcache.cc: In member function ‘const char* pkgCache::PkgIterator::CandVersion() const’: pkgcache.cc:301:51: error: cannot call constructor ‘pkgPolicy::pkgPolicy’ directly pkgcache.cc:301:51: note: for a function-style cast, remove the redundant ‘::pkgPolicy’
* | | add configuration PDiffs::Limit-options (FileLimit and SizeLimit) toDavid Kalnischkies2010-01-021-13/+49
| | | | | | | | | | | | not download too many or too big patches (Closes: #554349)
* | | merge with lp:~mvo/apt/sid to get the finale 0.7.25 stateDavid Kalnischkies2009-12-222-4/+3
|\| |
| * | merge segfault fix from Mario Sanchez Prada, many thanksMichael Vogt2009-12-141-1/+2
| | | | | | | | | (closes: #561109)
| * | merged patches from david (many thanks)Michael Vogt2009-12-141-3/+1
| |\ \
| | * | revert this commit as fast as possible (aka next ABI break)David Kalnischkies2009-12-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | This commit sets up our faked library extension to trick the build system into building the packages with libc6.9-6 while we are actually already at libc6.10-6. Oh dear...
| * | | * apt-pkg/init.h:Michael Vogt2009-12-101-1/+3
| | | | | | | | | | | | - add compatibilty with old ABI name until the next ABI break
* | | | merge Michaels wonderful "fix" for the currently unwanted ABI BreakDavid Kalnischkies2009-12-101-1/+3
|\ \ \ \ | | |/ / | |/| |
| * | | * apt-pkg/init.h:Michael Vogt2009-12-101-1/+3
| |/ / | | | | | | - add compatibilty with old ABI name until the next ABI break
* | / merge with lp:~mvo/apt/debian-sid : move all my ABI break changesDavid Kalnischkies2009-12-109-8/+260
|\| | | |/ |/| | | to the "new" 0.7.26 version
| * merged from the mvo branch (and contains all non-abi break changes from donkult)Michael Vogt2009-12-105-23/+31
| |\