summaryrefslogtreecommitdiff
path: root/apt-pkg
Commit message (Collapse)AuthorAgeFilesLines
* apt-pkg/acquire-item.cc: Fix handling of local (file:/) sourcesmartin@piware.de2010-06-241-1/+1
|
* Switch FileFd to not transparently gunzip, since that breaks code which ↵martin@piware.de2010-06-246-13/+17
| | | | expects the compressed contents to stay (such as the copy backend, or when using file:// repositories. Instead, introduce a new ReadOnlyGzip mode and use that where needed
* pkgAcqIndex::Done(): If we have an IMS-Hit, also rename the destination file ↵martin@piware.de2010-06-171-2/+7
| | | | in GzipIndexes mode, to avoid it being cleaned
* apt-pkg/deb/debindexfile.cc: Fix one more place to check for gzipped ↵martin@piware.de2010-06-111-3/+7
| | | | indexes, to work with apt-get source as well
* * apt-pkg/acquire-item.cc:martin@piware.de2010-06-111-0/+2
| | | | | - Fix return value of pkgAcqFile::Custom600Headers() in the non-index case, to avoid returning NULL and causing crashers in callers. This also fixes a compiler warning.
* Fix compressed index retrieval for current timestampsmartin@piware.de2010-06-111-17/+16
| | | | | Fix a thinko in r1973, which did the Acquire::GzipIndexes test ealier than the IMS-Hit test. This led to rename errors.
* * apt-pkg/acquire-item.cc:martin@piware.de2010-06-101-1/+19
| | | | | - If the Acquire::GzipIndexes option is true and we download a gzipped index file, keep it as it is (and rename to .gz) instead of uncompressing it.
* * apt-pkg/deb/debindexfile.cc:martin@piware.de2010-06-091-3/+19
| | | | - If we do not find uncompressed package/source/translation indexes, look for gzip compressed ones.
* * apt-pkg/contrib/fileutl.{h,cc}:martin@piware.de2010-06-093-10/+48
| | | | - Add support for transparent reading of gzipped files. - Link against zlib (in apt-pkg/makefile) and add zlib build dependency.
* * apt-pkg/deb/debrecords.cc:Michael Vogt2010-05-051-1/+2
|\ | | | | - fix max tag buffer size (LP: #545336, closes: #578959)
| * * apt-pkg/deb/debrecords.cc:Michael Vogt2010-05-051-1/+2
| | | | | | - fix max tag buffer size (LP: #545336, closes: #578959)
* | merge from the mvo branchMichael Vogt2010-05-044-6/+23
|\|
| * * apt-pkg/indexfile.cc:Michael Vogt2010-05-031-0/+2
| | | | | | | | | | | | - If no "_" is found in the language code, try to find a "." This is required for languages like Esperanto that have no county associated with them (LP: #560956) Thanks to "Aisano" for the fix
| * apt-pkg/policy.cc: yet another cout -> clog fixMichael Vogt2010-04-281-1/+1
| |
| * * apt-pkg/depcache.cc:Michael Vogt2010-04-281-2/+2
| | | | | | - fix incorrect std::cout usage for debug output
| * * [ Abi break ] apt-pkg/acquire-item.{cc,h}:Michael Vogt2010-04-282-3/+20
| | | | | | | | - add "IsIndexFile" to constructor of pkgAcqFile so that it sends the right cache control headers
* | * apt-pkg/deb/dpkgpm.cc:Michael Vogt2010-03-262-0/+6
|\| | | | | | | | | | | | | | | | | | | | | | | | | - fix backgrounding when dpkg runs (closes: #486222) * cmdline/apt-mark: - show error on incorrect aguments (LP: #517917), thanks to Torsten Spindler * cmdline/apt-get.cc: - if apt-get source foo=version or foo/distro can not be found, error out (LP: #502641) * apt-pkg/packagemanager.cc: - better debug output * doc/examples/configure-index: - add missing Debug::pkgPackageManager option
| * apt-pkg/packagemanager.cc: more debug output for debug::pkgPackageManagerMichael Vogt2010-03-161-0/+5
| |
| * * apt-pkg/indexfile.cc:Michael Vogt2010-03-121-5/+13
| | | | | | - deal correctly with three letter langcodes (LP: #391409)
| * * apt-pkg/deb/dpkgpm.cc:Michael Vogt2010-02-251-0/+1
| | | | | | - fix backgrounding when dpkg runs (closes: #486222)
* | * apt-pkg/policy.cc:Julian Andres Klode2010-03-211-0/+14
| | | | | | | | - Always return a candidate if there is at least one version pinned > 0 (Closes: #512318)
* | fix crash when LANGUAGE is not setMichael Vogt2010-02-181-1/+2
| |
* | merge from the lp:~donkult/apt/sid branchMichael Vogt2010-02-187-42/+158
|\ \
| * | we break the ABI, so let use increase the ABI number :)David Kalnischkies2010-02-181-1/+1
| | | | | | | | | | | | (This is the revert of the glibc-abi-compatibility-hack)
| * | * aptconfiguration.cc:David Kalnischkies2010-02-182-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 will be included in getLanguages() regardless of the environment setting (after a "none" so APT will not use them for displaying information).
| * | dd support for the LANGUAGE environment variableDavid Kalnischkies2010-02-184-33/+80
| | |
| * | * apt-pkg/deb/dpkgpm.cc:David Kalnischkies2010-02-181-1/+1
| | | | | | | | | | | | | | | - stdin redirected to /dev/null takes all CPU (Closes: #569488) Thanks to Aurelien Jarno for providing (again) a patch!
* | | * [BREAK] merged lp:~mvo/apt/historyMichael Vogt2010-02-186-21/+99
|\ \ \ | |/ / |/| / | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | - this writes a /var/log/apt/history tagfile that contains details from the transaction (complements term.log) * methods/http.cc: - add cache-control headers even if no cache is given to allow adding options for intercepting proxies - add Acquire::http::ProxyAutoDetect configuration that can be used to call a external helper to figure out the proxy configuration and return it to apt via stdout (this is a step towards WPAD and zeroconf/avahi support) * abicheck/ - add new abitest tester using the ABI Compliance Checker from http://ispras.linuxfoundation.org/index.php/ABI_compliance_checker * Change the package index Info methods to allow apt-cache policy to be useful when using several different archives on the same host. (Closes: #329814, LP: #22354)
| * Change the package index Info methods to allow apt-cache policy to beMichael Vogt2010-02-183-6/+19
| | | | | | | | useful when using several different archives on the same host. (Closes: #329814, LP: #22354)
| * merged from debian-sidMichael Vogt2010-02-1719-197/+364
| |\
| * | add Dir::Media::MountPath config optionMichael Vogt2010-01-261-1/+2
| | |
| * | * cmdline/apt-cdrom.cc:Michael Vogt2010-01-261-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | - fixed signed/unsigned warning - create /media mount point if needed - fix initialization for res in DoAdd() * methods/cdrom.cc: - make AptMountPoint a variable
| * | cmdline/apt-cdrom.cc: add --auto-detectMichael Vogt2010-01-261-1/+2
| | |
| * | * 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
| * | * merged lp:~mvo/apt/historyMichael Vogt2009-12-183-16/+81
| |\ \ | | | | | | | | | | | | - this writes a /var/log/apt/history tagfile that contains details from the transaction (complements term.log)
| | * | apt-pkg/deb/dpkgpm.{cc,h}: refactor writing of the history tag, add ","Michael Vogt2009-12-182-17/+24
| | | |
| | * | apt-pkg/deb/dpkgpm.cc: fflush earlyMichael Vogt2009-12-181-0/+1
| | | |
| | * | fix order of upgrade, install check because for a upgrade "Install()" ↵Michael Vogt2009-12-181-5/+5
| | | | | | | | | | | | | | | | returns True as well
| | * | add /var/log/apt/history.log fileMichael Vogt2009-12-183-16/+73
| | | |
* | | | 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
| | | |