summaryrefslogtreecommitdiff
path: root/apt-pkg/aptconfiguration.cc
AgeCommit message (Collapse)Author
2011-08-11cppcheck complains about some possible speed improvements which could beDavid Kalnischkies
done on the mirco-optimazation level, so lets fix them: (performance) Possible inefficient checking for emptiness. (performance) Prefer prefix ++/-- operators for non-primitive types.
2011-07-25* apt-pkg/aptconfiguration.cc:David Kalnischkies
- ensure that native architecture is if not specified otherwise the first architecture in the Architectures vector
2011-05-28use the correct option name in comment for Acquire::LanguagesJörg Sommer
2011-04-05* apt-pkg/aptconfiguration.cc:Michael Vogt
- fix comparing for a empty string
2011-03-26* apt-pkg/aptconfiguration.cc:David Kalnischkies
- use dpkg --print-foreign-architectures to get multiarch configuration if non is specified with APT::Architectures (Closes: #612958)
2011-02-27support every compression we have a compressor configuredDavid Kalnischkies
2011-02-27 - load the supported compressors from configurationDavid Kalnischkies
- support adding new compressors by configuration
2011-02-22* apt-pkg/aptconfiguration.cc:David Kalnischkies
- support download of xz-compressed indexes files
2011-01-28 - download and use i18n/Index to choose which Translations to downloadDavid Kalnischkies
* apt-pkg/aptconfiguration.cc: - remove the inbuilt Translation files whitelist
2011-01-26 - change the internal handling of Extensions in pkgAcqIndexDavid Kalnischkies
- add a special uncompressed compression type to prefer those files * methods/{gzip,bzip}.cc: - print a good error message if FileSize() is zero
2010-11-09evaluate Acquire::Languages= before LANG= (Closes: #602573)David Kalnischkies
2010-11-06* apt-pkg/aptconfiguration.cc:David Kalnischkies
- respect the none-force even in LANG=C (Closes: #602573)
2010-06-26* apt-pkg/aptconfiguration.cc:David Kalnischkies
- show a deprecation notice for APT::Acquire::Translation
2010-05-28* apt-pkg/aptconfiguration.cc:David Kalnischkies
- remove duplicate architectures in getArchitectures()
2010-03-30rename ExplodeString to VectorizeStringDavid Kalnischkies
2010-03-18merge MultiArch-ABI. We don't support MultiArch yet (as most other tools),David Kalnischkies
but we support the usage of the new ABI so libapt users can start to prepare for MultiArch (Closes: #536029)
2010-03-03fix memory leak in getLanguages() by closing the directory after checkingDavid Kalnischkies
2010-02-18fix crash when LANGUAGE is not setMichael Vogt
2010-02-18* aptconfiguration.cc:David Kalnischkies
- 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).
2010-02-18dd support for the LANGUAGE environment variableDavid Kalnischkies
2010-02-15* aptconfiguration.cc:David Kalnischkies
- 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).
2010-02-14Add support for the LANGUAGE environment variableDavid Kalnischkies
2010-02-13[BREAK] merge MultiArch-ABI. We don't support MultiArch,David Kalnischkies
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.
2009-12-23merge Goswin Brederlow "support download of index files for different archs"David Kalnischkies
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).
2009-11-26[BREAK] add possibility to download and use multiplyDavid Kalnischkies
Translation files, configurable with Acquire::Languages accessable with APT::Configuration::getLanguages() and as always with documentation in apt.conf. The commit also includes a very very simple testapp.
2009-09-08Rework the CompressionTypes system by adding an Order subgroup toDavid Kalnischkies
simplify customisation of the order and improve the documentation about this setting group.
2009-08-25"backport" the APT::Configuration class to apt-sidDavid Kalnischkies
We can use it to simplify the internal code to operate with Acquire::CompressionTypes group. This also made it possible to set this setting with the -o flag.